@togglhq/cli 1.11.15 → 1.11.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/index.js +1 -1
- package/build/{program-CUaGcD4e.js → program-B7Lcg1Uv.js} +1844 -737
- package/build/program.js +1 -1
- package/package.json +1 -1
|
@@ -9019,11 +9019,7 @@ function pipe(...pipe$1) {
|
|
|
9019
9019
|
}
|
|
9020
9020
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
9021
9021
|
id: /* @__PURE__ */ number(),
|
|
9022
|
-
type: /* @__PURE__ */ picklist([
|
|
9023
|
-
"user",
|
|
9024
|
-
"ghost",
|
|
9025
|
-
"team"
|
|
9026
|
-
])
|
|
9022
|
+
type: /* @__PURE__ */ picklist(["user", "team"])
|
|
9027
9023
|
});
|
|
9028
9024
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
9029
9025
|
id: /* @__PURE__ */ number(),
|
|
@@ -9065,7 +9061,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
9065
9061
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9066
9062
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
9067
9063
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9068
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
9064
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
9065
|
+
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.")))
|
|
9069
9066
|
});
|
|
9070
9067
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
9071
9068
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9138,7 +9135,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
9138
9135
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
9139
9136
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
9140
9137
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9141
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9138
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9142
9139
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
9143
9140
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9144
9141
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -9146,7 +9143,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
9146
9143
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9147
9144
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9148
9145
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9149
|
-
|
|
9146
|
+
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
9150
9147
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9151
9148
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9152
9149
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9156,6 +9153,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
9156
9153
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9157
9154
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9158
9155
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9156
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9159
9157
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9160
9158
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9161
9159
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -9199,7 +9197,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9199
9197
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
9200
9198
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
9201
9199
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9202
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9200
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9203
9201
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
9204
9202
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9205
9203
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -9207,7 +9205,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9207
9205
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9208
9206
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9209
9207
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9210
|
-
|
|
9208
|
+
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
9211
9209
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9212
9210
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9213
9211
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -9218,6 +9216,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9218
9216
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9219
9217
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9220
9218
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9219
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9221
9220
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9222
9221
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9223
9222
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -9372,7 +9371,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
|
|
|
9372
9371
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9373
9372
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9374
9373
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9375
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
9374
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
9376
9375
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9377
9376
|
});
|
|
9378
9377
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
@@ -9389,6 +9388,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
9389
9388
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9390
9389
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9391
9390
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9391
|
+
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
9392
|
+
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
9392
9393
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9393
9394
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9394
9395
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9398,7 +9399,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
9398
9399
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
9399
9400
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9400
9401
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9401
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
9402
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
9402
9403
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9403
9404
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9404
9405
|
});
|
|
@@ -9521,7 +9522,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9521
9522
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9522
9523
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9523
9524
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
9524
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
9525
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
9525
9526
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9526
9527
|
})),
|
|
9527
9528
|
page: /* @__PURE__ */ number(),
|
|
@@ -9553,6 +9554,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9553
9554
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9554
9555
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9555
9556
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9557
|
+
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."))),
|
|
9558
|
+
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."))),
|
|
9556
9559
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9557
9560
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9558
9561
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9564,7 +9567,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9564
9567
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
9565
9568
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9566
9569
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9567
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
9570
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
9568
9571
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9569
9572
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9570
9573
|
})),
|
|
@@ -9576,9 +9579,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
9576
9579
|
id: /* @__PURE__ */ number(),
|
|
9577
9580
|
name: /* @__PURE__ */ string(),
|
|
9578
9581
|
workspace_id: /* @__PURE__ */ number(),
|
|
9582
|
+
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."))),
|
|
9579
9583
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9580
9584
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9581
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9585
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9586
|
+
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
9587
|
+
projects: /* @__PURE__ */ number(),
|
|
9588
|
+
tasks: /* @__PURE__ */ number(),
|
|
9589
|
+
time_entries: /* @__PURE__ */ number()
|
|
9590
|
+
})), /* @__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.")))
|
|
9582
9591
|
});
|
|
9583
9592
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
9584
9593
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -9589,8 +9598,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
9589
9598
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
9590
9599
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
9591
9600
|
account_locked_at: /* @__PURE__ */ string(),
|
|
9601
|
+
accounts_role_id: /* @__PURE__ */ number(),
|
|
9592
9602
|
active: /* @__PURE__ */ boolean(),
|
|
9593
|
-
admin: /* @__PURE__ */ boolean(),
|
|
9594
9603
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
9595
9604
|
created_at: /* @__PURE__ */ string(),
|
|
9596
9605
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -9639,7 +9648,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
9639
9648
|
track_role_id: /* @__PURE__ */ number(),
|
|
9640
9649
|
work_role_id: /* @__PURE__ */ number(),
|
|
9641
9650
|
workspace_user_id: /* @__PURE__ */ number()
|
|
9642
|
-
}))
|
|
9651
|
+
})),
|
|
9652
|
+
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
9653
|
+
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.")))
|
|
9643
9654
|
});
|
|
9644
9655
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9645
9656
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -9716,8 +9727,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9716
9727
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9717
9728
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9718
9729
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
9719
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9720
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9730
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
9721
9731
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9722
9732
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9723
9733
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -9733,6 +9743,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9733
9743
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9734
9744
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9735
9745
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9746
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9736
9747
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9737
9748
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9738
9749
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9742,22 +9753,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9742
9753
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9743
9754
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
9744
9755
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
9745
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
9756
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
|
|
9757
|
+
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.")))
|
|
9746
9758
|
});
|
|
9747
9759
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9748
9760
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9749
9761
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
9762
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9750
9763
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
9751
9764
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9752
9765
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9753
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9766
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9754
9767
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9755
9768
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
9756
9769
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9757
9770
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9758
9771
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
9759
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9760
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9772
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
9761
9773
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9762
9774
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9763
9775
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9774,6 +9786,8 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9774
9786
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9775
9787
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9776
9788
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9789
|
+
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."))),
|
|
9790
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9777
9791
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9778
9792
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9779
9793
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9782,17 +9796,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9782
9796
|
});
|
|
9783
9797
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
9784
9798
|
id: /* @__PURE__ */ number(),
|
|
9799
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9785
9800
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
9786
9801
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9787
9802
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9788
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9803
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9789
9804
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9790
9805
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
9791
9806
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9792
9807
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9793
9808
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
9794
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9795
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9809
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
9796
9810
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9797
9811
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9798
9812
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9809,6 +9823,8 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
9809
9823
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9810
9824
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9811
9825
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9826
|
+
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."))),
|
|
9827
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9812
9828
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9813
9829
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9814
9830
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9971,7 +9987,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9971
9987
|
})
|
|
9972
9988
|
}).json();
|
|
9973
9989
|
}
|
|
9974
|
-
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) {
|
|
9990
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9975
9991
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9976
9992
|
signal,
|
|
9977
9993
|
searchParams: buildSearchParams$2({
|
|
@@ -9991,7 +10007,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9991
10007
|
include_working_hours,
|
|
9992
10008
|
include_rates,
|
|
9993
10009
|
pinned_ids,
|
|
9994
|
-
has_group
|
|
10010
|
+
has_group,
|
|
10011
|
+
cf_filter,
|
|
10012
|
+
include_custom_fields,
|
|
10013
|
+
include_calendar_integration
|
|
9995
10014
|
}, true)
|
|
9996
10015
|
});
|
|
9997
10016
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -10010,7 +10029,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
10010
10029
|
}
|
|
10011
10030
|
//#endregion
|
|
10012
10031
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
10013
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
10032
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
|
|
10014
10033
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
10015
10034
|
signal,
|
|
10016
10035
|
searchParams: buildSearchParams$2({
|
|
@@ -10018,7 +10037,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
10018
10037
|
page,
|
|
10019
10038
|
per_page,
|
|
10020
10039
|
order_by,
|
|
10021
|
-
tag_id
|
|
10040
|
+
tag_id,
|
|
10041
|
+
include_usage,
|
|
10042
|
+
include_archived,
|
|
10043
|
+
archived
|
|
10022
10044
|
})
|
|
10023
10045
|
}).json();
|
|
10024
10046
|
}
|
|
@@ -10028,6 +10050,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
10028
10050
|
json: data
|
|
10029
10051
|
}).json();
|
|
10030
10052
|
}
|
|
10053
|
+
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
10054
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
10055
|
+
signal,
|
|
10056
|
+
json: data
|
|
10057
|
+
}).json();
|
|
10058
|
+
}
|
|
10059
|
+
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
10060
|
+
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
10061
|
+
signal,
|
|
10062
|
+
searchParams: buildSearchParams$2({ ids })
|
|
10063
|
+
}).json();
|
|
10064
|
+
}
|
|
10065
|
+
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
10066
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
10067
|
+
signal,
|
|
10068
|
+
json: data
|
|
10069
|
+
}).json();
|
|
10070
|
+
}
|
|
10071
|
+
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
10072
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
10073
|
+
signal,
|
|
10074
|
+
json: data
|
|
10075
|
+
}).json();
|
|
10076
|
+
}
|
|
10077
|
+
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
10078
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
10079
|
+
signal,
|
|
10080
|
+
json: data
|
|
10081
|
+
}).json();
|
|
10082
|
+
}
|
|
10083
|
+
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
10084
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
10085
|
+
signal,
|
|
10086
|
+
json: data
|
|
10087
|
+
}).json();
|
|
10088
|
+
}
|
|
10031
10089
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
10032
10090
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
10033
10091
|
}
|
|
@@ -10040,12 +10098,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
10040
10098
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
10041
10099
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
10042
10100
|
}
|
|
10101
|
+
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10102
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
10103
|
+
}
|
|
10043
10104
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
10044
10105
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
10045
10106
|
}
|
|
10107
|
+
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10108
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
10109
|
+
}
|
|
10046
10110
|
//#endregion
|
|
10047
10111
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10048
|
-
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) {
|
|
10112
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10049
10113
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10050
10114
|
signal,
|
|
10051
10115
|
searchParams: buildSearchParams$2({
|
|
@@ -10067,6 +10131,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
10067
10131
|
include_rates,
|
|
10068
10132
|
include_rollover,
|
|
10069
10133
|
include_idle_recurring_templates,
|
|
10134
|
+
collapse_recurring,
|
|
10070
10135
|
include_drafts,
|
|
10071
10136
|
include_locked_private,
|
|
10072
10137
|
start_date,
|
|
@@ -10297,7 +10362,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10297
10362
|
}
|
|
10298
10363
|
//#endregion
|
|
10299
10364
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10300
|
-
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,
|
|
10365
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10301
10366
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10302
10367
|
signal,
|
|
10303
10368
|
searchParams: buildSearchParams$2({
|
|
@@ -10345,12 +10410,14 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10345
10410
|
recurring_task_ids,
|
|
10346
10411
|
client_id,
|
|
10347
10412
|
include_rates,
|
|
10348
|
-
include_ghost_assignees,
|
|
10349
10413
|
include_assignees,
|
|
10350
10414
|
include_parent_matches,
|
|
10351
|
-
assignee_ghost_id,
|
|
10352
10415
|
disable_aggregations,
|
|
10353
|
-
cf_filter
|
|
10416
|
+
cf_filter,
|
|
10417
|
+
recurring_occurrences_after,
|
|
10418
|
+
max_recurring_occurrences_after,
|
|
10419
|
+
recurring_task_read,
|
|
10420
|
+
include_projected_occurrences
|
|
10354
10421
|
})
|
|
10355
10422
|
}).json();
|
|
10356
10423
|
}
|
|
@@ -10425,16 +10492,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10425
10492
|
})
|
|
10426
10493
|
}).json();
|
|
10427
10494
|
}
|
|
10428
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10495
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
10429
10496
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10430
10497
|
signal,
|
|
10431
10498
|
searchParams: buildSearchParams$2({
|
|
10432
10499
|
date_from,
|
|
10433
|
-
date_to
|
|
10500
|
+
date_to,
|
|
10501
|
+
skip_provider_refresh
|
|
10434
10502
|
})
|
|
10435
10503
|
}).json();
|
|
10436
10504
|
}
|
|
10437
|
-
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,
|
|
10505
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10438
10506
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10439
10507
|
signal,
|
|
10440
10508
|
searchParams: buildSearchParams$2({
|
|
@@ -10447,14 +10515,18 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10447
10515
|
dates_overlap_end,
|
|
10448
10516
|
recurring_task_ids,
|
|
10449
10517
|
team_id,
|
|
10518
|
+
assignee_team_id,
|
|
10450
10519
|
assignee_user_id,
|
|
10451
10520
|
tag_id,
|
|
10452
|
-
|
|
10453
|
-
|
|
10521
|
+
include_assignees,
|
|
10522
|
+
recurring_occurrences_after,
|
|
10523
|
+
max_recurring_occurrences_after,
|
|
10524
|
+
recurring_task_read,
|
|
10525
|
+
include_projected_occurrences
|
|
10454
10526
|
})
|
|
10455
10527
|
}).json();
|
|
10456
10528
|
}
|
|
10457
|
-
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,
|
|
10529
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10458
10530
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10459
10531
|
signal,
|
|
10460
10532
|
searchParams: buildSearchParams$2({
|
|
@@ -10498,20 +10570,19 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10498
10570
|
recurring,
|
|
10499
10571
|
recurring_task_ids,
|
|
10500
10572
|
client_id,
|
|
10501
|
-
include_ghost_assignees,
|
|
10502
10573
|
include_assignees,
|
|
10503
|
-
|
|
10504
|
-
|
|
10574
|
+
cf_filter,
|
|
10575
|
+
recurring_occurrences_after,
|
|
10576
|
+
max_recurring_occurrences_after,
|
|
10577
|
+
recurring_task_read,
|
|
10578
|
+
include_projected_occurrences
|
|
10505
10579
|
})
|
|
10506
10580
|
}).json();
|
|
10507
10581
|
}
|
|
10508
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, {
|
|
10582
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
10509
10583
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
10510
10584
|
signal,
|
|
10511
|
-
searchParams: buildSearchParams$2({
|
|
10512
|
-
include_ghost_assignees,
|
|
10513
|
-
include_assignees
|
|
10514
|
-
})
|
|
10585
|
+
searchParams: buildSearchParams$2({ include_assignees })
|
|
10515
10586
|
}).json();
|
|
10516
10587
|
}
|
|
10517
10588
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -10542,7 +10613,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
10542
10613
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
10543
10614
|
}).json();
|
|
10544
10615
|
}
|
|
10545
|
-
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,
|
|
10616
|
+
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) {
|
|
10546
10617
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
10547
10618
|
signal,
|
|
10548
10619
|
searchParams: buildSearchParams$2({
|
|
@@ -10555,12 +10626,17 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10555
10626
|
team_id,
|
|
10556
10627
|
assignee_user_id,
|
|
10557
10628
|
tag_id,
|
|
10558
|
-
include_ghost_assignees,
|
|
10559
10629
|
include_assignees
|
|
10560
10630
|
})
|
|
10561
10631
|
}).json();
|
|
10562
10632
|
}
|
|
10563
|
-
async function
|
|
10633
|
+
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10634
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10635
|
+
signal,
|
|
10636
|
+
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10637
|
+
}).json();
|
|
10638
|
+
}
|
|
10639
|
+
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) {
|
|
10564
10640
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10565
10641
|
signal,
|
|
10566
10642
|
searchParams: buildSearchParams$2({
|
|
@@ -10573,7 +10649,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
10573
10649
|
team_id,
|
|
10574
10650
|
assignee_user_id,
|
|
10575
10651
|
tag_id,
|
|
10576
|
-
include_ghost_assignees,
|
|
10577
10652
|
include_assignees
|
|
10578
10653
|
})
|
|
10579
10654
|
}).json();
|
|
@@ -10697,16 +10772,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10697
10772
|
})
|
|
10698
10773
|
}).json();
|
|
10699
10774
|
}
|
|
10700
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10775
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10701
10776
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10702
10777
|
signal,
|
|
10703
|
-
json: data
|
|
10778
|
+
json: data,
|
|
10779
|
+
searchParams: buildSearchParams$2({
|
|
10780
|
+
from_recurring_task_id,
|
|
10781
|
+
return_occurrence
|
|
10782
|
+
})
|
|
10704
10783
|
}).json();
|
|
10705
10784
|
}
|
|
10706
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10785
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10707
10786
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10708
10787
|
signal,
|
|
10709
|
-
json: data
|
|
10788
|
+
json: data,
|
|
10789
|
+
searchParams: buildSearchParams$2({
|
|
10790
|
+
from_recurring_task_id,
|
|
10791
|
+
return_occurrence
|
|
10792
|
+
})
|
|
10710
10793
|
}).json();
|
|
10711
10794
|
}
|
|
10712
10795
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10757,7 +10840,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10757
10840
|
json: data
|
|
10758
10841
|
}).json();
|
|
10759
10842
|
}
|
|
10760
|
-
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) {
|
|
10843
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
10761
10844
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10762
10845
|
signal,
|
|
10763
10846
|
searchParams: buildSearchParams$2({
|
|
@@ -10765,6 +10848,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10765
10848
|
date_to,
|
|
10766
10849
|
task_id,
|
|
10767
10850
|
status_id,
|
|
10851
|
+
project_id,
|
|
10768
10852
|
type,
|
|
10769
10853
|
order_by,
|
|
10770
10854
|
archived,
|
|
@@ -10773,6 +10857,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10773
10857
|
})
|
|
10774
10858
|
}).json();
|
|
10775
10859
|
}
|
|
10860
|
+
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
10861
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
10862
|
+
signal,
|
|
10863
|
+
json: data
|
|
10864
|
+
}).json();
|
|
10865
|
+
}
|
|
10776
10866
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10777
10867
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10778
10868
|
signal,
|
|
@@ -10782,19 +10872,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
10782
10872
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10783
10873
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10784
10874
|
}
|
|
10785
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10875
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10786
10876
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10787
10877
|
signal,
|
|
10788
|
-
json: data
|
|
10878
|
+
json: data,
|
|
10879
|
+
searchParams: buildSearchParams$2({
|
|
10880
|
+
from_recurring_task_id,
|
|
10881
|
+
return_occurrence
|
|
10882
|
+
})
|
|
10789
10883
|
}).json();
|
|
10790
10884
|
}
|
|
10791
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10792
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10885
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
10886
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10887
|
+
signal,
|
|
10888
|
+
searchParams: buildSearchParams$2({
|
|
10889
|
+
from_recurring_task_id,
|
|
10890
|
+
return_occurrence
|
|
10891
|
+
})
|
|
10892
|
+
}).json();
|
|
10793
10893
|
}
|
|
10794
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10894
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10795
10895
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10796
10896
|
signal,
|
|
10797
|
-
json: data
|
|
10897
|
+
json: data,
|
|
10898
|
+
searchParams: buildSearchParams$2({
|
|
10899
|
+
from_recurring_task_id,
|
|
10900
|
+
return_occurrence
|
|
10901
|
+
})
|
|
10798
10902
|
}).json();
|
|
10799
10903
|
}
|
|
10800
10904
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -14640,12 +14744,31 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14640
14744
|
}
|
|
14641
14745
|
//#endregion
|
|
14642
14746
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14643
|
-
async function
|
|
14747
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14748
|
+
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14749
|
+
signal,
|
|
14750
|
+
searchParams: buildSearchParams$2({
|
|
14751
|
+
workspace_id,
|
|
14752
|
+
entity_type,
|
|
14753
|
+
entity_id,
|
|
14754
|
+
project_id,
|
|
14755
|
+
custom_field_id,
|
|
14756
|
+
action,
|
|
14757
|
+
user_id,
|
|
14758
|
+
page_size,
|
|
14759
|
+
page_number,
|
|
14760
|
+
export: export_
|
|
14761
|
+
})
|
|
14762
|
+
}).json();
|
|
14763
|
+
}
|
|
14764
|
+
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) {
|
|
14644
14765
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14645
14766
|
signal,
|
|
14646
14767
|
searchParams: buildSearchParams$2({
|
|
14647
14768
|
entity_type,
|
|
14648
14769
|
entity_id,
|
|
14770
|
+
project_id,
|
|
14771
|
+
custom_field_id,
|
|
14649
14772
|
action,
|
|
14650
14773
|
user_id,
|
|
14651
14774
|
page_size,
|
|
@@ -14798,33 +14921,23 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14798
14921
|
}
|
|
14799
14922
|
//#endregion
|
|
14800
14923
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14801
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
14924
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14802
14925
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14803
14926
|
signal,
|
|
14804
14927
|
searchParams: buildSearchParams$2({
|
|
14805
|
-
user_id,
|
|
14806
14928
|
start_date,
|
|
14807
14929
|
end_date,
|
|
14808
|
-
|
|
14930
|
+
user_id,
|
|
14931
|
+
team_id,
|
|
14809
14932
|
private: private_,
|
|
14810
14933
|
task_source,
|
|
14811
14934
|
unit,
|
|
14812
|
-
include_drafts
|
|
14935
|
+
include_drafts,
|
|
14936
|
+
include_task_estimates
|
|
14813
14937
|
})
|
|
14814
14938
|
}).json();
|
|
14815
14939
|
}
|
|
14816
14940
|
//#endregion
|
|
14817
|
-
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
14818
|
-
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
14819
|
-
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
14820
|
-
}
|
|
14821
|
-
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
14822
|
-
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
14823
|
-
signal,
|
|
14824
|
-
json: data
|
|
14825
|
-
}).json();
|
|
14826
|
-
}
|
|
14827
|
-
//#endregion
|
|
14828
14941
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
14829
14942
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
14830
14943
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -14875,6 +14988,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14875
14988
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14876
14989
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14877
14990
|
}
|
|
14991
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14992
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14993
|
+
}
|
|
14994
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14995
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14996
|
+
signal,
|
|
14997
|
+
json: data
|
|
14998
|
+
}).json();
|
|
14999
|
+
}
|
|
14878
15000
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14879
15001
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14880
15002
|
signal,
|
|
@@ -14907,6 +15029,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
14907
15029
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
14908
15030
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
14909
15031
|
}
|
|
15032
|
+
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
15033
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
15034
|
+
signal,
|
|
15035
|
+
json: data
|
|
15036
|
+
}).json();
|
|
15037
|
+
}
|
|
14910
15038
|
//#endregion
|
|
14911
15039
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14912
15040
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -15132,7 +15260,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15132
15260
|
}
|
|
15133
15261
|
//#endregion
|
|
15134
15262
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15135
|
-
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) {
|
|
15263
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
15136
15264
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15137
15265
|
signal,
|
|
15138
15266
|
searchParams: buildSearchParams$2({
|
|
@@ -15144,6 +15272,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15144
15272
|
include_group_totals,
|
|
15145
15273
|
include_unassigned,
|
|
15146
15274
|
archived,
|
|
15275
|
+
completed,
|
|
15147
15276
|
private: private_,
|
|
15148
15277
|
name,
|
|
15149
15278
|
client_id,
|
|
@@ -15155,6 +15284,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15155
15284
|
start_date,
|
|
15156
15285
|
end_date,
|
|
15157
15286
|
user_id,
|
|
15287
|
+
only_me,
|
|
15158
15288
|
include_drafts,
|
|
15159
15289
|
cf_filter
|
|
15160
15290
|
})
|
|
@@ -15174,9 +15304,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15174
15304
|
json: data
|
|
15175
15305
|
}).json();
|
|
15176
15306
|
}
|
|
15177
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15178
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15179
|
-
}
|
|
15180
15307
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15181
15308
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15182
15309
|
}
|
|
@@ -15270,10 +15397,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
15270
15397
|
}
|
|
15271
15398
|
//#endregion
|
|
15272
15399
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
15273
|
-
async function
|
|
15400
|
+
async function getForecastAvailability(httpClient, workspace_id, signal) {
|
|
15401
|
+
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
15402
|
+
}
|
|
15403
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
15274
15404
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
15275
15405
|
signal,
|
|
15276
15406
|
json: data,
|
|
15407
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
15277
15408
|
searchParams: buildSearchParams$2({
|
|
15278
15409
|
response_format,
|
|
15279
15410
|
include_dicts
|
|
@@ -15297,12 +15428,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
15297
15428
|
json: data
|
|
15298
15429
|
}).json();
|
|
15299
15430
|
}
|
|
15300
|
-
async function
|
|
15431
|
+
async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
|
|
15432
|
+
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
15433
|
+
signal,
|
|
15434
|
+
json: data
|
|
15435
|
+
}).json();
|
|
15436
|
+
}
|
|
15437
|
+
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
15301
15438
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
15439
|
+
signal,
|
|
15440
|
+
json: data,
|
|
15441
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
15442
|
+
}).json();
|
|
15443
|
+
}
|
|
15444
|
+
//#endregion
|
|
15445
|
+
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
15446
|
+
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15447
|
+
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
15448
|
+
signal,
|
|
15449
|
+
json: data
|
|
15450
|
+
}).json();
|
|
15451
|
+
}
|
|
15452
|
+
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15453
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
15302
15454
|
signal,
|
|
15303
15455
|
json: data
|
|
15304
15456
|
}).json();
|
|
15305
15457
|
}
|
|
15458
|
+
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
15459
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
15460
|
+
}
|
|
15306
15461
|
//#endregion
|
|
15307
15462
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
15308
15463
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -15335,7 +15490,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15335
15490
|
}
|
|
15336
15491
|
//#endregion
|
|
15337
15492
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15338
|
-
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) {
|
|
15493
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15339
15494
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15340
15495
|
signal,
|
|
15341
15496
|
searchParams: buildSearchParams$2({
|
|
@@ -15347,11 +15502,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15347
15502
|
task_id,
|
|
15348
15503
|
include_drafts,
|
|
15349
15504
|
exclude_calendar_events,
|
|
15350
|
-
group_by_tags
|
|
15505
|
+
group_by_tags,
|
|
15506
|
+
only_me
|
|
15507
|
+
})
|
|
15508
|
+
}).json();
|
|
15509
|
+
}
|
|
15510
|
+
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
15511
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
15512
|
+
signal,
|
|
15513
|
+
searchParams: buildSearchParams$2({
|
|
15514
|
+
keyword,
|
|
15515
|
+
per_group
|
|
15351
15516
|
})
|
|
15352
15517
|
}).json();
|
|
15353
15518
|
}
|
|
15354
15519
|
//#endregion
|
|
15520
|
+
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
15521
|
+
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
15522
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
15523
|
+
signal,
|
|
15524
|
+
json: data
|
|
15525
|
+
}).json();
|
|
15526
|
+
}
|
|
15527
|
+
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
15528
|
+
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
15529
|
+
}
|
|
15530
|
+
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
15531
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
15532
|
+
signal,
|
|
15533
|
+
json: data
|
|
15534
|
+
}).json();
|
|
15535
|
+
}
|
|
15536
|
+
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
15537
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
15538
|
+
}
|
|
15539
|
+
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
15540
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
15541
|
+
}
|
|
15542
|
+
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15543
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15544
|
+
}
|
|
15545
|
+
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15546
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15547
|
+
signal,
|
|
15548
|
+
json: data
|
|
15549
|
+
}).json();
|
|
15550
|
+
}
|
|
15551
|
+
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15552
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15553
|
+
}
|
|
15554
|
+
//#endregion
|
|
15355
15555
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15356
15556
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
15357
15557
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -15407,9 +15607,90 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15407
15607
|
}
|
|
15408
15608
|
//#endregion
|
|
15409
15609
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15410
|
-
async function
|
|
15610
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
|
|
15611
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15612
|
+
signal,
|
|
15613
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15614
|
+
searchParams: buildSearchParams$2({
|
|
15615
|
+
project_id,
|
|
15616
|
+
source,
|
|
15617
|
+
priority,
|
|
15618
|
+
status_id,
|
|
15619
|
+
client_id,
|
|
15620
|
+
assignee_user_id,
|
|
15621
|
+
tag_id,
|
|
15622
|
+
team_id,
|
|
15623
|
+
user_tag_id,
|
|
15624
|
+
group_id,
|
|
15625
|
+
creator_id,
|
|
15626
|
+
name,
|
|
15627
|
+
start_date,
|
|
15628
|
+
end_date,
|
|
15629
|
+
start_date_from,
|
|
15630
|
+
start_date_to,
|
|
15631
|
+
end_date_from,
|
|
15632
|
+
end_date_to,
|
|
15633
|
+
private: private_,
|
|
15634
|
+
exclude_empty,
|
|
15635
|
+
include_unassigned,
|
|
15636
|
+
include_unmaterialized,
|
|
15637
|
+
collapse_recurring,
|
|
15638
|
+
include_assignees,
|
|
15639
|
+
min_days,
|
|
15640
|
+
include_drafts,
|
|
15641
|
+
cf_filter,
|
|
15642
|
+
user_cf_filter,
|
|
15643
|
+
recurring_occurrences_after,
|
|
15644
|
+
max_recurring_occurrences_after,
|
|
15645
|
+
recurring_task_read,
|
|
15646
|
+
include_projected_occurrences
|
|
15647
|
+
})
|
|
15648
|
+
}).json();
|
|
15649
|
+
}
|
|
15650
|
+
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) {
|
|
15651
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15652
|
+
signal,
|
|
15653
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15654
|
+
searchParams: buildSearchParams$2({
|
|
15655
|
+
team_id,
|
|
15656
|
+
project_id,
|
|
15657
|
+
source,
|
|
15658
|
+
priority,
|
|
15659
|
+
status_id,
|
|
15660
|
+
client_id,
|
|
15661
|
+
assignee_user_id,
|
|
15662
|
+
tag_id,
|
|
15663
|
+
user_tag_id,
|
|
15664
|
+
group_id,
|
|
15665
|
+
creator_id,
|
|
15666
|
+
name,
|
|
15667
|
+
start_date,
|
|
15668
|
+
end_date,
|
|
15669
|
+
start_date_from,
|
|
15670
|
+
start_date_to,
|
|
15671
|
+
end_date_from,
|
|
15672
|
+
end_date_to,
|
|
15673
|
+
private: private_,
|
|
15674
|
+
exclude_empty,
|
|
15675
|
+
include_unassigned,
|
|
15676
|
+
include_unmaterialized,
|
|
15677
|
+
collapse_recurring,
|
|
15678
|
+
include_assignees,
|
|
15679
|
+
min_days,
|
|
15680
|
+
include_drafts,
|
|
15681
|
+
cf_filter,
|
|
15682
|
+
user_cf_filter,
|
|
15683
|
+
recurring_occurrences_after,
|
|
15684
|
+
max_recurring_occurrences_after,
|
|
15685
|
+
recurring_task_read,
|
|
15686
|
+
include_projected_occurrences
|
|
15687
|
+
})
|
|
15688
|
+
}).json();
|
|
15689
|
+
}
|
|
15690
|
+
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) {
|
|
15411
15691
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15412
15692
|
signal,
|
|
15693
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15413
15694
|
searchParams: buildSearchParams$2({
|
|
15414
15695
|
source,
|
|
15415
15696
|
priority,
|
|
@@ -15431,11 +15712,18 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15431
15712
|
end_date_to,
|
|
15432
15713
|
private: private_,
|
|
15433
15714
|
exclude_empty,
|
|
15434
|
-
|
|
15715
|
+
include_unassigned,
|
|
15716
|
+
include_unmaterialized,
|
|
15717
|
+
collapse_recurring,
|
|
15435
15718
|
include_assignees,
|
|
15436
15719
|
min_days,
|
|
15437
15720
|
include_drafts,
|
|
15438
15721
|
cf_filter,
|
|
15722
|
+
user_cf_filter,
|
|
15723
|
+
recurring_occurrences_after,
|
|
15724
|
+
max_recurring_occurrences_after,
|
|
15725
|
+
recurring_task_read,
|
|
15726
|
+
include_projected_occurrences,
|
|
15439
15727
|
page,
|
|
15440
15728
|
per_page,
|
|
15441
15729
|
order_by
|
|
@@ -15474,17 +15762,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
15474
15762
|
}).json();
|
|
15475
15763
|
}
|
|
15476
15764
|
//#endregion
|
|
15477
|
-
//#region ../focus-queries/dist/time-
|
|
15478
|
-
async function
|
|
15479
|
-
return await httpClient.
|
|
15480
|
-
signal,
|
|
15481
|
-
json: data
|
|
15482
|
-
}).json();
|
|
15483
|
-
}
|
|
15484
|
-
async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
|
|
15485
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
|
|
15765
|
+
//#region ../focus-queries/dist/time-entry-groups/requests.ts
|
|
15766
|
+
async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
|
|
15767
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
|
|
15486
15768
|
signal,
|
|
15487
|
-
|
|
15769
|
+
searchParams: buildSearchParams$2({
|
|
15770
|
+
start_date,
|
|
15771
|
+
end_date,
|
|
15772
|
+
user_id,
|
|
15773
|
+
page,
|
|
15774
|
+
per_page,
|
|
15775
|
+
order_by
|
|
15776
|
+
})
|
|
15488
15777
|
}).json();
|
|
15489
15778
|
}
|
|
15490
15779
|
//#endregion
|
|
@@ -15526,57 +15815,20 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15526
15815
|
json: data
|
|
15527
15816
|
}).json();
|
|
15528
15817
|
}
|
|
15529
|
-
|
|
15530
|
-
|
|
15531
|
-
|
|
15532
|
-
|
|
15533
|
-
ghost_ids,
|
|
15534
|
-
start_date,
|
|
15535
|
-
end_date
|
|
15536
|
-
})
|
|
15537
|
-
}).json();
|
|
15538
|
-
}
|
|
15539
|
-
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
15540
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15818
|
+
//#endregion
|
|
15819
|
+
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15820
|
+
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
15821
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
|
|
15541
15822
|
signal,
|
|
15542
15823
|
searchParams: buildSearchParams$2({
|
|
15543
|
-
|
|
15544
|
-
|
|
15824
|
+
include_discontinued,
|
|
15825
|
+
user_account_id,
|
|
15826
|
+
approver_user_account_id
|
|
15545
15827
|
})
|
|
15546
15828
|
}).json();
|
|
15547
15829
|
}
|
|
15548
|
-
async function
|
|
15549
|
-
return await httpClient.
|
|
15550
|
-
signal,
|
|
15551
|
-
json: data
|
|
15552
|
-
}).json();
|
|
15553
|
-
}
|
|
15554
|
-
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15555
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15556
|
-
signal,
|
|
15557
|
-
json: data
|
|
15558
|
-
}).json();
|
|
15559
|
-
}
|
|
15560
|
-
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15561
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15562
|
-
signal,
|
|
15563
|
-
json: data
|
|
15564
|
-
}).json();
|
|
15565
|
-
}
|
|
15566
|
-
//#endregion
|
|
15567
|
-
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15568
|
-
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
15569
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
|
|
15570
|
-
signal,
|
|
15571
|
-
searchParams: buildSearchParams$2({
|
|
15572
|
-
include_discontinued,
|
|
15573
|
-
user_account_id,
|
|
15574
|
-
approver_user_account_id
|
|
15575
|
-
})
|
|
15576
|
-
}).json();
|
|
15577
|
-
}
|
|
15578
|
-
async function createTimesheetSetup(httpClient, organization_id, workspace_id, data, signal) {
|
|
15579
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
|
|
15830
|
+
async function createTimesheetSetup(httpClient, organization_id, workspace_id, data, signal) {
|
|
15831
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
|
|
15580
15832
|
signal,
|
|
15581
15833
|
json: data
|
|
15582
15834
|
}).json();
|
|
@@ -15707,6 +15959,12 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15707
15959
|
}
|
|
15708
15960
|
//#endregion
|
|
15709
15961
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15962
|
+
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15963
|
+
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15964
|
+
}
|
|
15965
|
+
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15966
|
+
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15967
|
+
}
|
|
15710
15968
|
async function getUserSettings(httpClient, signal) {
|
|
15711
15969
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15712
15970
|
}
|
|
@@ -15755,27 +16013,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
15755
16013
|
json: data
|
|
15756
16014
|
}).json();
|
|
15757
16015
|
}
|
|
15758
|
-
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
15759
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
15760
|
-
}
|
|
15761
|
-
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15762
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15763
|
-
signal,
|
|
15764
|
-
json: data
|
|
15765
|
-
}).json();
|
|
15766
|
-
}
|
|
15767
|
-
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15768
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15769
|
-
signal,
|
|
15770
|
-
json: data
|
|
15771
|
-
}).json();
|
|
15772
|
-
}
|
|
15773
|
-
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15774
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15775
|
-
signal,
|
|
15776
|
-
json: data
|
|
15777
|
-
}).json();
|
|
15778
|
-
}
|
|
15779
16016
|
//#endregion
|
|
15780
16017
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
15781
16018
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -15792,6 +16029,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
15792
16029
|
json: data
|
|
15793
16030
|
}).json();
|
|
15794
16031
|
}
|
|
16032
|
+
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
16033
|
+
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
16034
|
+
}
|
|
15795
16035
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
15796
16036
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
15797
16037
|
}
|
|
@@ -15804,6 +16044,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
15804
16044
|
json: data
|
|
15805
16045
|
}).json();
|
|
15806
16046
|
}
|
|
16047
|
+
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
16048
|
+
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
16049
|
+
}
|
|
16050
|
+
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
16051
|
+
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
16052
|
+
signal,
|
|
16053
|
+
json: data
|
|
16054
|
+
}).json();
|
|
16055
|
+
}
|
|
15807
16056
|
//#endregion
|
|
15808
16057
|
//#region ../operations/build/index.public.js
|
|
15809
16058
|
function callGeneratedRequest(request, args) {
|
|
@@ -15938,6 +16187,48 @@ const generatedFocusOperations = [
|
|
|
15938
16187
|
void 0
|
|
15939
16188
|
]))
|
|
15940
16189
|
},
|
|
16190
|
+
{
|
|
16191
|
+
id: "focus.audit-log.get-organization",
|
|
16192
|
+
family: "focus",
|
|
16193
|
+
resource: "audit-log",
|
|
16194
|
+
action: "get-organization",
|
|
16195
|
+
title: "Get Organization Audit Log",
|
|
16196
|
+
description: "Get Organization Audit Log.",
|
|
16197
|
+
safety: "read",
|
|
16198
|
+
destructive: false,
|
|
16199
|
+
cli: {
|
|
16200
|
+
group: ["audit-log"],
|
|
16201
|
+
command: "get-organization",
|
|
16202
|
+
interactive: "hidden"
|
|
16203
|
+
},
|
|
16204
|
+
mcp: { entityTool: "audit-log" },
|
|
16205
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16206
|
+
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16207
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16208
|
+
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16209
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16210
|
+
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16211
|
+
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16212
|
+
from: /* @__PURE__ */ string$1(),
|
|
16213
|
+
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16214
|
+
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16215
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16216
|
+
to: /* @__PURE__ */ string$1(),
|
|
16217
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16218
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16219
|
+
}),
|
|
16220
|
+
execute: (input, { client }) => {
|
|
16221
|
+
const data = input;
|
|
16222
|
+
return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
|
|
16223
|
+
client.httpClient,
|
|
16224
|
+
client.organizationId,
|
|
16225
|
+
data.from,
|
|
16226
|
+
data.to,
|
|
16227
|
+
data,
|
|
16228
|
+
void 0
|
|
16229
|
+
]));
|
|
16230
|
+
}
|
|
16231
|
+
},
|
|
15941
16232
|
{
|
|
15942
16233
|
id: "focus.audit-log.list",
|
|
15943
16234
|
family: "focus",
|
|
@@ -15955,6 +16246,7 @@ const generatedFocusOperations = [
|
|
|
15955
16246
|
mcp: { entityTool: "audit-log" },
|
|
15956
16247
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
15957
16248
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16249
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15958
16250
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15959
16251
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15960
16252
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -15962,6 +16254,7 @@ const generatedFocusOperations = [
|
|
|
15962
16254
|
from: /* @__PURE__ */ string$1(),
|
|
15963
16255
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15964
16256
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16257
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15965
16258
|
to: /* @__PURE__ */ string$1(),
|
|
15966
16259
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15967
16260
|
}),
|
|
@@ -15995,12 +16288,13 @@ const generatedFocusOperations = [
|
|
|
15995
16288
|
mcp: { entityTool: "capacities" },
|
|
15996
16289
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
15997
16290
|
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
15998
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
15999
16291
|
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
16000
16292
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
16293
|
+
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
16001
16294
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16002
16295
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16003
16296
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16297
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
16004
16298
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16005
16299
|
user_id: /* @__PURE__ */ number$2()
|
|
16006
16300
|
}),
|
|
@@ -16016,54 +16310,6 @@ const generatedFocusOperations = [
|
|
|
16016
16310
|
]));
|
|
16017
16311
|
}
|
|
16018
16312
|
},
|
|
16019
|
-
{
|
|
16020
|
-
id: "focus.capacities.settings-list",
|
|
16021
|
-
family: "focus",
|
|
16022
|
-
resource: "capacities",
|
|
16023
|
-
action: "settings-list",
|
|
16024
|
-
title: "Settings List Capacities",
|
|
16025
|
-
description: "Settings List Capacities.",
|
|
16026
|
-
safety: "read",
|
|
16027
|
-
destructive: false,
|
|
16028
|
-
cli: {
|
|
16029
|
-
group: ["capacities", "settings"],
|
|
16030
|
-
command: "list",
|
|
16031
|
-
interactive: "hidden"
|
|
16032
|
-
},
|
|
16033
|
-
mcp: { entityTool: "capacities" },
|
|
16034
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
16035
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
16036
|
-
client.httpClient,
|
|
16037
|
-
client.workspaceIdNumber,
|
|
16038
|
-
void 0
|
|
16039
|
-
]))
|
|
16040
|
-
},
|
|
16041
|
-
{
|
|
16042
|
-
id: "focus.capacities.settings-update",
|
|
16043
|
-
family: "focus",
|
|
16044
|
-
resource: "capacities",
|
|
16045
|
-
action: "settings-update",
|
|
16046
|
-
title: "Settings Update Capacities",
|
|
16047
|
-
description: "Settings Update Capacities.",
|
|
16048
|
-
safety: "update",
|
|
16049
|
-
destructive: false,
|
|
16050
|
-
cli: {
|
|
16051
|
-
group: ["capacities", "settings"],
|
|
16052
|
-
command: "update",
|
|
16053
|
-
interactive: "default"
|
|
16054
|
-
},
|
|
16055
|
-
mcp: { entityTool: "capacities" },
|
|
16056
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
16057
|
-
execute: (input, { client }) => {
|
|
16058
|
-
const data = input;
|
|
16059
|
-
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
16060
|
-
client.httpClient,
|
|
16061
|
-
client.workspaceIdNumber,
|
|
16062
|
-
data.payload ?? data.data ?? data,
|
|
16063
|
-
void 0
|
|
16064
|
-
]));
|
|
16065
|
-
}
|
|
16066
|
-
},
|
|
16067
16313
|
{
|
|
16068
16314
|
id: "focus.clients.create",
|
|
16069
16315
|
family: "focus",
|
|
@@ -16258,8 +16504,7 @@ const generatedFocusOperations = [
|
|
|
16258
16504
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
16259
16505
|
start_at: apiDateTimeString,
|
|
16260
16506
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16261
|
-
})))
|
|
16262
|
-
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16507
|
+
})))
|
|
16263
16508
|
}) }),
|
|
16264
16509
|
execute: (input, { client }) => {
|
|
16265
16510
|
const data = input;
|
|
@@ -16314,6 +16559,7 @@ const generatedFocusOperations = [
|
|
|
16314
16559
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16315
16560
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16316
16561
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16562
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16317
16563
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16318
16564
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16319
16565
|
}),
|
|
@@ -16346,6 +16592,7 @@ const generatedFocusOperations = [
|
|
|
16346
16592
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16347
16593
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16348
16594
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16595
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16349
16596
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16350
16597
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16351
16598
|
}))),
|
|
@@ -16401,7 +16648,11 @@ const generatedFocusOperations = [
|
|
|
16401
16648
|
},
|
|
16402
16649
|
mcp: { entityTool: "custom-fields" },
|
|
16403
16650
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16404
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16651
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
16652
|
+
"project",
|
|
16653
|
+
"task",
|
|
16654
|
+
"user"
|
|
16655
|
+
]),
|
|
16405
16656
|
field_type: /* @__PURE__ */ picklist$1([
|
|
16406
16657
|
"select",
|
|
16407
16658
|
"multi_select",
|
|
@@ -16484,6 +16735,33 @@ const generatedFocusOperations = [
|
|
|
16484
16735
|
]));
|
|
16485
16736
|
}
|
|
16486
16737
|
},
|
|
16738
|
+
{
|
|
16739
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
16740
|
+
family: "focus",
|
|
16741
|
+
resource: "custom-fields",
|
|
16742
|
+
action: "get-allowed-users",
|
|
16743
|
+
title: "Get Allowed Users Custom Fields",
|
|
16744
|
+
description: "Get Allowed Users Custom Fields.",
|
|
16745
|
+
safety: "read",
|
|
16746
|
+
destructive: false,
|
|
16747
|
+
cli: {
|
|
16748
|
+
group: ["custom-fields"],
|
|
16749
|
+
command: "get-allowed-users",
|
|
16750
|
+
interactive: "available"
|
|
16751
|
+
},
|
|
16752
|
+
mcp: { entityTool: "custom-fields" },
|
|
16753
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16754
|
+
execute: (input, { client }) => {
|
|
16755
|
+
const data = input;
|
|
16756
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16757
|
+
client.httpClient,
|
|
16758
|
+
client.organizationId,
|
|
16759
|
+
client.workspaceIdNumber,
|
|
16760
|
+
data.custom_field_id,
|
|
16761
|
+
void 0
|
|
16762
|
+
]));
|
|
16763
|
+
}
|
|
16764
|
+
},
|
|
16487
16765
|
{
|
|
16488
16766
|
id: "focus.custom-fields.list",
|
|
16489
16767
|
family: "focus",
|
|
@@ -16653,6 +16931,37 @@ const generatedFocusOperations = [
|
|
|
16653
16931
|
]));
|
|
16654
16932
|
}
|
|
16655
16933
|
},
|
|
16934
|
+
{
|
|
16935
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16936
|
+
family: "focus",
|
|
16937
|
+
resource: "custom-fields",
|
|
16938
|
+
action: "replace-custom-field-allowed-users",
|
|
16939
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16940
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16941
|
+
safety: "update",
|
|
16942
|
+
destructive: false,
|
|
16943
|
+
cli: {
|
|
16944
|
+
group: ["custom-fields"],
|
|
16945
|
+
command: "replace-custom-field-allowed-users",
|
|
16946
|
+
interactive: "default"
|
|
16947
|
+
},
|
|
16948
|
+
mcp: { entityTool: "custom-fields" },
|
|
16949
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16950
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16951
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16952
|
+
}),
|
|
16953
|
+
execute: (input, { client }) => {
|
|
16954
|
+
const data = input;
|
|
16955
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16956
|
+
client.httpClient,
|
|
16957
|
+
client.organizationId,
|
|
16958
|
+
client.workspaceIdNumber,
|
|
16959
|
+
data.custom_field_id,
|
|
16960
|
+
data.payload ?? data.data ?? data,
|
|
16961
|
+
void 0
|
|
16962
|
+
]));
|
|
16963
|
+
}
|
|
16964
|
+
},
|
|
16656
16965
|
{
|
|
16657
16966
|
id: "focus.custom-fields.update",
|
|
16658
16967
|
family: "focus",
|
|
@@ -16734,7 +17043,11 @@ const generatedFocusOperations = [
|
|
|
16734
17043
|
},
|
|
16735
17044
|
mcp: { entityTool: "custom-fields" },
|
|
16736
17045
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16737
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
17046
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
17047
|
+
"project",
|
|
17048
|
+
"task",
|
|
17049
|
+
"user"
|
|
17050
|
+
]),
|
|
16738
17051
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
16739
17052
|
}) }),
|
|
16740
17053
|
execute: (input, { client }) => {
|
|
@@ -16748,6 +17061,37 @@ const generatedFocusOperations = [
|
|
|
16748
17061
|
]));
|
|
16749
17062
|
}
|
|
16750
17063
|
},
|
|
17064
|
+
{
|
|
17065
|
+
id: "focus.custom-fields.update-user-custom-field-values",
|
|
17066
|
+
family: "focus",
|
|
17067
|
+
resource: "custom-fields",
|
|
17068
|
+
action: "update-user-custom-field-values",
|
|
17069
|
+
title: "Update User Custom Field Values Custom Fields",
|
|
17070
|
+
description: "Update User Custom Field Values Custom Fields.",
|
|
17071
|
+
safety: "update",
|
|
17072
|
+
destructive: false,
|
|
17073
|
+
cli: {
|
|
17074
|
+
group: ["custom-fields"],
|
|
17075
|
+
command: "update-user-custom-field-values",
|
|
17076
|
+
interactive: "hidden"
|
|
17077
|
+
},
|
|
17078
|
+
mcp: { entityTool: "custom-fields" },
|
|
17079
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
17080
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
17081
|
+
user_id: /* @__PURE__ */ number$2()
|
|
17082
|
+
}),
|
|
17083
|
+
execute: (input, { client }) => {
|
|
17084
|
+
const data = input;
|
|
17085
|
+
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
17086
|
+
client.httpClient,
|
|
17087
|
+
client.organizationId,
|
|
17088
|
+
client.workspaceIdNumber,
|
|
17089
|
+
data.user_id,
|
|
17090
|
+
data.payload ?? data.data ?? data,
|
|
17091
|
+
void 0
|
|
17092
|
+
]));
|
|
17093
|
+
}
|
|
17094
|
+
},
|
|
16751
17095
|
{
|
|
16752
17096
|
id: "focus.goals.create",
|
|
16753
17097
|
family: "focus",
|
|
@@ -16764,13 +17108,7 @@ const generatedFocusOperations = [
|
|
|
16764
17108
|
},
|
|
16765
17109
|
mcp: { entityTool: "goals" },
|
|
16766
17110
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16767
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16768
17111
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16769
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16770
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16771
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16772
|
-
name: /* @__PURE__ */ string$1(),
|
|
16773
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16774
17112
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16775
17113
|
"daily",
|
|
16776
17114
|
"weekly",
|
|
@@ -16778,12 +17116,18 @@ const generatedFocusOperations = [
|
|
|
16778
17116
|
"monthly"
|
|
16779
17117
|
]),
|
|
16780
17118
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16781
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16782
17119
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
16783
|
-
|
|
16784
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17120
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16785
17121
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16786
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17122
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17123
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17124
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17125
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17126
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17127
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17128
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17129
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17130
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16787
17131
|
}) }),
|
|
16788
17132
|
execute: (input, { client }) => {
|
|
16789
17133
|
const data = input;
|
|
@@ -16889,13 +17233,6 @@ const generatedFocusOperations = [
|
|
|
16889
17233
|
},
|
|
16890
17234
|
mcp: { entityTool: "goals" },
|
|
16891
17235
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16892
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16893
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16894
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16895
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16896
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16897
|
-
name: /* @__PURE__ */ string$1(),
|
|
16898
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16899
17236
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16900
17237
|
"daily",
|
|
16901
17238
|
"weekly",
|
|
@@ -16903,12 +17240,19 @@ const generatedFocusOperations = [
|
|
|
16903
17240
|
"monthly"
|
|
16904
17241
|
]),
|
|
16905
17242
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16906
|
-
|
|
16907
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
16908
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16909
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17243
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16910
17244
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16911
|
-
|
|
17245
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
17246
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17247
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17248
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17249
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17250
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17251
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17252
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17253
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17254
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17255
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16912
17256
|
}) }),
|
|
16913
17257
|
execute: (input, { client }) => {
|
|
16914
17258
|
const data = input;
|
|
@@ -16967,10 +17311,22 @@ const generatedFocusOperations = [
|
|
|
16967
17311
|
goal_id: /* @__PURE__ */ number$2(),
|
|
16968
17312
|
payload: /* @__PURE__ */ looseObject({
|
|
16969
17313
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17314
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16970
17315
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16971
17316
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16972
17317
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16973
|
-
|
|
17318
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17319
|
+
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
17320
|
+
"daily",
|
|
17321
|
+
"weekly",
|
|
17322
|
+
"daily_workdays",
|
|
17323
|
+
"monthly"
|
|
17324
|
+
])),
|
|
17325
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17326
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17327
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17328
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17329
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16974
17330
|
})
|
|
16975
17331
|
}),
|
|
16976
17332
|
execute: (input, { client }) => {
|
|
@@ -17863,9 +18219,17 @@ const generatedFocusOperations = [
|
|
|
17863
18219
|
mcp: { entityTool: "projects" },
|
|
17864
18220
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17865
18221
|
payload: /* @__PURE__ */ looseObject({
|
|
18222
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18223
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
17866
18224
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17867
18225
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17868
18226
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18227
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18228
|
+
"expire",
|
|
18229
|
+
"carry_all",
|
|
18230
|
+
"carry_over"
|
|
18231
|
+
])),
|
|
18232
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17869
18233
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
17870
18234
|
}),
|
|
17871
18235
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18303,6 +18667,7 @@ const generatedFocusOperations = [
|
|
|
18303
18667
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18304
18668
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18305
18669
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18670
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18306
18671
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18307
18672
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18308
18673
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -18310,6 +18675,7 @@ const generatedFocusOperations = [
|
|
|
18310
18675
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18311
18676
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18312
18677
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18678
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18313
18679
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18314
18680
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18315
18681
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -18409,29 +18775,6 @@ const generatedFocusOperations = [
|
|
|
18409
18775
|
]));
|
|
18410
18776
|
}
|
|
18411
18777
|
},
|
|
18412
|
-
{
|
|
18413
|
-
id: "focus.projects.margin-targets-clear-workspace",
|
|
18414
|
-
family: "focus",
|
|
18415
|
-
resource: "projects",
|
|
18416
|
-
action: "margin-targets-clear-workspace",
|
|
18417
|
-
title: "Margin Targets Clear Workspace Projects",
|
|
18418
|
-
description: "Margin Targets Clear Workspace Projects.",
|
|
18419
|
-
safety: "delete",
|
|
18420
|
-
destructive: true,
|
|
18421
|
-
cli: {
|
|
18422
|
-
group: ["projects", "margin-targets"],
|
|
18423
|
-
command: "clear-workspace",
|
|
18424
|
-
interactive: "default"
|
|
18425
|
-
},
|
|
18426
|
-
mcp: { entityTool: "projects" },
|
|
18427
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18428
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18429
|
-
client.httpClient,
|
|
18430
|
-
client.organizationId,
|
|
18431
|
-
client.workspaceIdNumber,
|
|
18432
|
-
void 0
|
|
18433
|
-
]))
|
|
18434
|
-
},
|
|
18435
18778
|
{
|
|
18436
18779
|
id: "focus.projects.margin-targets-get",
|
|
18437
18780
|
family: "focus",
|
|
@@ -20494,7 +20837,10 @@ const generatedFocusOperations = [
|
|
|
20494
20837
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20495
20838
|
name: /* @__PURE__ */ string$1(),
|
|
20496
20839
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20497
|
-
}))
|
|
20840
|
+
})),
|
|
20841
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20842
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20843
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20498
20844
|
}),
|
|
20499
20845
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20500
20846
|
}),
|
|
@@ -20535,6 +20881,28 @@ const generatedFocusOperations = [
|
|
|
20535
20881
|
]));
|
|
20536
20882
|
}
|
|
20537
20883
|
},
|
|
20884
|
+
{
|
|
20885
|
+
id: "focus.reports.get-forecast-availability",
|
|
20886
|
+
family: "focus",
|
|
20887
|
+
resource: "reports",
|
|
20888
|
+
action: "get-forecast-availability",
|
|
20889
|
+
title: "Get Forecast Availability Reports",
|
|
20890
|
+
description: "Get Forecast Availability Reports.",
|
|
20891
|
+
safety: "read",
|
|
20892
|
+
destructive: false,
|
|
20893
|
+
cli: {
|
|
20894
|
+
group: ["reports"],
|
|
20895
|
+
command: "get-forecast-availability",
|
|
20896
|
+
interactive: "hidden"
|
|
20897
|
+
},
|
|
20898
|
+
mcp: { entityTool: "reports" },
|
|
20899
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
20900
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
20901
|
+
client.httpClient,
|
|
20902
|
+
client.workspaceIdNumber,
|
|
20903
|
+
void 0
|
|
20904
|
+
]))
|
|
20905
|
+
},
|
|
20538
20906
|
{
|
|
20539
20907
|
id: "focus.reports.get-profitability",
|
|
20540
20908
|
family: "focus",
|
|
@@ -20594,9 +20962,17 @@ const generatedFocusOperations = [
|
|
|
20594
20962
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20595
20963
|
name: /* @__PURE__ */ string$1(),
|
|
20596
20964
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20597
|
-
}))
|
|
20965
|
+
})),
|
|
20966
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20967
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20968
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20598
20969
|
}),
|
|
20599
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20970
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
20971
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20972
|
+
"csv",
|
|
20973
|
+
"xlsx",
|
|
20974
|
+
"pdf"
|
|
20975
|
+
]))
|
|
20600
20976
|
}),
|
|
20601
20977
|
execute: (input, { client }) => {
|
|
20602
20978
|
const data = input;
|
|
@@ -20606,22 +20982,23 @@ const generatedFocusOperations = [
|
|
|
20606
20982
|
data.payload ?? data.data ?? data,
|
|
20607
20983
|
data.response_format,
|
|
20608
20984
|
data.include_dicts,
|
|
20985
|
+
data.xTogglReportExport,
|
|
20609
20986
|
void 0
|
|
20610
20987
|
]));
|
|
20611
20988
|
}
|
|
20612
20989
|
},
|
|
20613
20990
|
{
|
|
20614
|
-
id: "focus.reports.get-
|
|
20991
|
+
id: "focus.reports.get-time-accounting",
|
|
20615
20992
|
family: "focus",
|
|
20616
20993
|
resource: "reports",
|
|
20617
|
-
action: "get-
|
|
20618
|
-
title: "Get
|
|
20619
|
-
description: "Get
|
|
20994
|
+
action: "get-time-accounting",
|
|
20995
|
+
title: "Get Time Accounting Reports",
|
|
20996
|
+
description: "Get Time Accounting Reports.",
|
|
20620
20997
|
safety: "update",
|
|
20621
20998
|
destructive: false,
|
|
20622
20999
|
cli: {
|
|
20623
21000
|
group: ["reports"],
|
|
20624
|
-
command: "get-
|
|
21001
|
+
command: "get-time-accounting",
|
|
20625
21002
|
interactive: "hidden"
|
|
20626
21003
|
},
|
|
20627
21004
|
mcp: { entityTool: "reports" },
|
|
@@ -20667,14 +21044,207 @@ const generatedFocusOperations = [
|
|
|
20667
21044
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20668
21045
|
name: /* @__PURE__ */ string$1(),
|
|
20669
21046
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20670
|
-
}))
|
|
21047
|
+
})),
|
|
21048
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
21049
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21050
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20671
21051
|
}) }),
|
|
21052
|
+
execute: (input, { client }) => {
|
|
21053
|
+
const data = input;
|
|
21054
|
+
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
21055
|
+
client.httpClient,
|
|
21056
|
+
client.workspaceIdNumber,
|
|
21057
|
+
data.payload ?? data.data ?? data,
|
|
21058
|
+
void 0
|
|
21059
|
+
]));
|
|
21060
|
+
}
|
|
21061
|
+
},
|
|
21062
|
+
{
|
|
21063
|
+
id: "focus.reports.get-workload",
|
|
21064
|
+
family: "focus",
|
|
21065
|
+
resource: "reports",
|
|
21066
|
+
action: "get-workload",
|
|
21067
|
+
title: "Get Workload Reports",
|
|
21068
|
+
description: "Get Workload Reports.",
|
|
21069
|
+
safety: "update",
|
|
21070
|
+
destructive: false,
|
|
21071
|
+
cli: {
|
|
21072
|
+
group: ["reports"],
|
|
21073
|
+
command: "get-workload",
|
|
21074
|
+
interactive: "hidden"
|
|
21075
|
+
},
|
|
21076
|
+
mcp: { entityTool: "reports" },
|
|
21077
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21078
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21079
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21080
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
21081
|
+
function: /* @__PURE__ */ string$1(),
|
|
21082
|
+
property: /* @__PURE__ */ string$1()
|
|
21083
|
+
}),
|
|
21084
|
+
operator: /* @__PURE__ */ string$1(),
|
|
21085
|
+
property: /* @__PURE__ */ string$1()
|
|
21086
|
+
})),
|
|
21087
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21088
|
+
function: /* @__PURE__ */ string$1(),
|
|
21089
|
+
property: /* @__PURE__ */ string$1()
|
|
21090
|
+
})),
|
|
21091
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
21092
|
+
currency: /* @__PURE__ */ string$1(),
|
|
21093
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21094
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
21095
|
+
operator: /* @__PURE__ */ string$1(),
|
|
21096
|
+
property: /* @__PURE__ */ string$1()
|
|
21097
|
+
})),
|
|
21098
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21099
|
+
property: /* @__PURE__ */ string$1(),
|
|
21100
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
21101
|
+
})),
|
|
21102
|
+
limit: /* @__PURE__ */ number$2(),
|
|
21103
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21104
|
+
direction: /* @__PURE__ */ string$1(),
|
|
21105
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
21106
|
+
property: /* @__PURE__ */ string$1()
|
|
21107
|
+
})),
|
|
21108
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
21109
|
+
page: /* @__PURE__ */ number$2(),
|
|
21110
|
+
per_page: /* @__PURE__ */ number$2()
|
|
21111
|
+
}),
|
|
21112
|
+
period: /* @__PURE__ */ looseObject({
|
|
21113
|
+
from: /* @__PURE__ */ string$1(),
|
|
21114
|
+
preset: /* @__PURE__ */ string$1(),
|
|
21115
|
+
to: /* @__PURE__ */ string$1()
|
|
21116
|
+
}),
|
|
21117
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21118
|
+
name: /* @__PURE__ */ string$1(),
|
|
21119
|
+
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
21120
|
+
})),
|
|
21121
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
21122
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21123
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21124
|
+
}),
|
|
21125
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
21126
|
+
"csv",
|
|
21127
|
+
"xlsx",
|
|
21128
|
+
"pdf"
|
|
21129
|
+
]))
|
|
21130
|
+
}),
|
|
20672
21131
|
execute: (input, { client }) => {
|
|
20673
21132
|
const data = input;
|
|
20674
21133
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
20675
21134
|
client.httpClient,
|
|
20676
21135
|
client.workspaceIdNumber,
|
|
20677
21136
|
data.payload ?? data.data ?? data,
|
|
21137
|
+
data.xTogglReportExport,
|
|
21138
|
+
void 0
|
|
21139
|
+
]));
|
|
21140
|
+
}
|
|
21141
|
+
},
|
|
21142
|
+
{
|
|
21143
|
+
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
21144
|
+
family: "focus",
|
|
21145
|
+
resource: "reportschedules",
|
|
21146
|
+
action: "delete-shared-report-schedule",
|
|
21147
|
+
title: "Delete Shared Report Schedule Reportschedules",
|
|
21148
|
+
description: "Delete Shared Report Schedule Reportschedules.",
|
|
21149
|
+
safety: "delete",
|
|
21150
|
+
destructive: true,
|
|
21151
|
+
cli: {
|
|
21152
|
+
group: ["reportschedules"],
|
|
21153
|
+
command: "delete-shared-report-schedule",
|
|
21154
|
+
interactive: "default"
|
|
21155
|
+
},
|
|
21156
|
+
mcp: { entityTool: "reportschedules" },
|
|
21157
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21158
|
+
execute: (input, { client }) => {
|
|
21159
|
+
const data = input;
|
|
21160
|
+
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
21161
|
+
client.httpClient,
|
|
21162
|
+
client.workspaceIdNumber,
|
|
21163
|
+
data.id,
|
|
21164
|
+
void 0
|
|
21165
|
+
]));
|
|
21166
|
+
}
|
|
21167
|
+
},
|
|
21168
|
+
{
|
|
21169
|
+
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
21170
|
+
family: "focus",
|
|
21171
|
+
resource: "reportschedules",
|
|
21172
|
+
action: "upsert-saved-view-schedule",
|
|
21173
|
+
title: "Upsert Saved View Schedule Reportschedules",
|
|
21174
|
+
description: "Upsert Saved View Schedule Reportschedules.",
|
|
21175
|
+
safety: "update",
|
|
21176
|
+
destructive: false,
|
|
21177
|
+
cli: {
|
|
21178
|
+
group: ["reportschedules"],
|
|
21179
|
+
command: "upsert-saved-view-schedule",
|
|
21180
|
+
interactive: "hidden"
|
|
21181
|
+
},
|
|
21182
|
+
mcp: { entityTool: "reportschedules" },
|
|
21183
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21184
|
+
id: /* @__PURE__ */ number$2(),
|
|
21185
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21186
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
21187
|
+
"daily",
|
|
21188
|
+
"weekly",
|
|
21189
|
+
"monthly"
|
|
21190
|
+
]),
|
|
21191
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21192
|
+
time: /* @__PURE__ */ string$1(),
|
|
21193
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21194
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21195
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21196
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21197
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
21198
|
+
})
|
|
21199
|
+
}),
|
|
21200
|
+
execute: (input, { client }) => {
|
|
21201
|
+
const data = input;
|
|
21202
|
+
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
21203
|
+
client.httpClient,
|
|
21204
|
+
client.workspaceIdNumber,
|
|
21205
|
+
data.id,
|
|
21206
|
+
data.payload ?? data.data ?? data,
|
|
21207
|
+
void 0
|
|
21208
|
+
]));
|
|
21209
|
+
}
|
|
21210
|
+
},
|
|
21211
|
+
{
|
|
21212
|
+
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
21213
|
+
family: "focus",
|
|
21214
|
+
resource: "reportschedules",
|
|
21215
|
+
action: "upsert-shared-report-schedule",
|
|
21216
|
+
title: "Upsert Shared Report Schedule Reportschedules",
|
|
21217
|
+
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
21218
|
+
safety: "update",
|
|
21219
|
+
destructive: false,
|
|
21220
|
+
cli: {
|
|
21221
|
+
group: ["reportschedules"],
|
|
21222
|
+
command: "upsert-shared-report-schedule",
|
|
21223
|
+
interactive: "default"
|
|
21224
|
+
},
|
|
21225
|
+
mcp: { entityTool: "reportschedules" },
|
|
21226
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21227
|
+
id: /* @__PURE__ */ number$2(),
|
|
21228
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21229
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
21230
|
+
"daily",
|
|
21231
|
+
"weekly",
|
|
21232
|
+
"monthly"
|
|
21233
|
+
]),
|
|
21234
|
+
time: /* @__PURE__ */ string$1(),
|
|
21235
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21236
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21237
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21238
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
21239
|
+
})
|
|
21240
|
+
}),
|
|
21241
|
+
execute: (input, { client }) => {
|
|
21242
|
+
const data = input;
|
|
21243
|
+
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
21244
|
+
client.httpClient,
|
|
21245
|
+
client.workspaceIdNumber,
|
|
21246
|
+
data.id,
|
|
21247
|
+
data.payload ?? data.data ?? data,
|
|
20678
21248
|
void 0
|
|
20679
21249
|
]));
|
|
20680
21250
|
}
|
|
@@ -20712,7 +21282,9 @@ const generatedFocusOperations = [
|
|
|
20712
21282
|
"reports.detailed",
|
|
20713
21283
|
"reports.utilization",
|
|
20714
21284
|
"reports.workload",
|
|
20715
|
-
"reports.profitability"
|
|
21285
|
+
"reports.profitability",
|
|
21286
|
+
"reports.time-off",
|
|
21287
|
+
"reports.time-accounting"
|
|
20716
21288
|
]),
|
|
20717
21289
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20718
21290
|
}) }),
|
|
@@ -20835,6 +21407,36 @@ const generatedFocusOperations = [
|
|
|
20835
21407
|
]));
|
|
20836
21408
|
}
|
|
20837
21409
|
},
|
|
21410
|
+
{
|
|
21411
|
+
id: "focus.search.mentions",
|
|
21412
|
+
family: "focus",
|
|
21413
|
+
resource: "search",
|
|
21414
|
+
action: "mentions",
|
|
21415
|
+
title: "Mentions Search",
|
|
21416
|
+
description: "Mentions Search.",
|
|
21417
|
+
safety: "read",
|
|
21418
|
+
destructive: false,
|
|
21419
|
+
cli: {
|
|
21420
|
+
group: ["search"],
|
|
21421
|
+
command: "mentions",
|
|
21422
|
+
interactive: "hidden"
|
|
21423
|
+
},
|
|
21424
|
+
mcp: { entityTool: "search" },
|
|
21425
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21426
|
+
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21427
|
+
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21428
|
+
}),
|
|
21429
|
+
execute: (input, { client }) => {
|
|
21430
|
+
const data = input;
|
|
21431
|
+
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
21432
|
+
client.httpClient,
|
|
21433
|
+
client.organizationId,
|
|
21434
|
+
client.workspaceIdNumber,
|
|
21435
|
+
data,
|
|
21436
|
+
void 0
|
|
21437
|
+
]));
|
|
21438
|
+
}
|
|
21439
|
+
},
|
|
20838
21440
|
{
|
|
20839
21441
|
id: "focus.search.search",
|
|
20840
21442
|
family: "focus",
|
|
@@ -20862,6 +21464,240 @@ const generatedFocusOperations = [
|
|
|
20862
21464
|
]));
|
|
20863
21465
|
}
|
|
20864
21466
|
},
|
|
21467
|
+
{
|
|
21468
|
+
id: "focus.sharedreports.add-shared-report-grants",
|
|
21469
|
+
family: "focus",
|
|
21470
|
+
resource: "sharedreports",
|
|
21471
|
+
action: "add-shared-report-grants",
|
|
21472
|
+
title: "Add Shared Report Grants Sharedreports",
|
|
21473
|
+
description: "Add Shared Report Grants Sharedreports.",
|
|
21474
|
+
safety: "update",
|
|
21475
|
+
destructive: false,
|
|
21476
|
+
cli: {
|
|
21477
|
+
group: ["sharedreports"],
|
|
21478
|
+
command: "add-shared-report-grants",
|
|
21479
|
+
interactive: "default"
|
|
21480
|
+
},
|
|
21481
|
+
mcp: { entityTool: "sharedreports" },
|
|
21482
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21483
|
+
id: /* @__PURE__ */ number$2(),
|
|
21484
|
+
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21485
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21486
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21487
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21488
|
+
})) })
|
|
21489
|
+
}),
|
|
21490
|
+
execute: (input, { client }) => {
|
|
21491
|
+
const data = input;
|
|
21492
|
+
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
21493
|
+
client.httpClient,
|
|
21494
|
+
client.workspaceIdNumber,
|
|
21495
|
+
data.id,
|
|
21496
|
+
data.payload ?? data.data ?? data,
|
|
21497
|
+
void 0
|
|
21498
|
+
]));
|
|
21499
|
+
}
|
|
21500
|
+
},
|
|
21501
|
+
{
|
|
21502
|
+
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
21503
|
+
family: "focus",
|
|
21504
|
+
resource: "sharedreports",
|
|
21505
|
+
action: "get-saved-view-shared-report",
|
|
21506
|
+
title: "Get Saved View Shared Report Sharedreports",
|
|
21507
|
+
description: "Get Saved View Shared Report Sharedreports.",
|
|
21508
|
+
safety: "read",
|
|
21509
|
+
destructive: false,
|
|
21510
|
+
cli: {
|
|
21511
|
+
group: ["sharedreports"],
|
|
21512
|
+
command: "get-saved-view-shared-report",
|
|
21513
|
+
interactive: "available"
|
|
21514
|
+
},
|
|
21515
|
+
mcp: { entityTool: "sharedreports" },
|
|
21516
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21517
|
+
execute: (input, { client }) => {
|
|
21518
|
+
const data = input;
|
|
21519
|
+
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
21520
|
+
client.httpClient,
|
|
21521
|
+
client.workspaceIdNumber,
|
|
21522
|
+
data.id,
|
|
21523
|
+
void 0
|
|
21524
|
+
]));
|
|
21525
|
+
}
|
|
21526
|
+
},
|
|
21527
|
+
{
|
|
21528
|
+
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21529
|
+
family: "focus",
|
|
21530
|
+
resource: "sharedreports",
|
|
21531
|
+
action: "get-shared-report-for-viewer",
|
|
21532
|
+
title: "Get Shared Report For Viewer Sharedreports",
|
|
21533
|
+
description: "Get Shared Report For Viewer Sharedreports.",
|
|
21534
|
+
safety: "read",
|
|
21535
|
+
destructive: false,
|
|
21536
|
+
cli: {
|
|
21537
|
+
group: ["sharedreports"],
|
|
21538
|
+
command: "get-shared-report-for-viewer",
|
|
21539
|
+
interactive: "available"
|
|
21540
|
+
},
|
|
21541
|
+
mcp: { entityTool: "sharedreports" },
|
|
21542
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21543
|
+
execute: (input, { client }) => {
|
|
21544
|
+
const data = input;
|
|
21545
|
+
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
21546
|
+
client.httpClient,
|
|
21547
|
+
client.workspaceIdNumber,
|
|
21548
|
+
data.id,
|
|
21549
|
+
void 0
|
|
21550
|
+
]));
|
|
21551
|
+
}
|
|
21552
|
+
},
|
|
21553
|
+
{
|
|
21554
|
+
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
21555
|
+
family: "focus",
|
|
21556
|
+
resource: "sharedreports",
|
|
21557
|
+
action: "get-shared-reports-shared-by-me",
|
|
21558
|
+
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
21559
|
+
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
21560
|
+
safety: "read",
|
|
21561
|
+
destructive: false,
|
|
21562
|
+
cli: {
|
|
21563
|
+
group: ["sharedreports"],
|
|
21564
|
+
command: "get-shared-reports-shared-by-me",
|
|
21565
|
+
interactive: "hidden"
|
|
21566
|
+
},
|
|
21567
|
+
mcp: { entityTool: "sharedreports" },
|
|
21568
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21569
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
21570
|
+
client.httpClient,
|
|
21571
|
+
client.workspaceIdNumber,
|
|
21572
|
+
void 0
|
|
21573
|
+
]))
|
|
21574
|
+
},
|
|
21575
|
+
{
|
|
21576
|
+
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
21577
|
+
family: "focus",
|
|
21578
|
+
resource: "sharedreports",
|
|
21579
|
+
action: "get-shared-reports-shared-with-me",
|
|
21580
|
+
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
21581
|
+
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
21582
|
+
safety: "read",
|
|
21583
|
+
destructive: false,
|
|
21584
|
+
cli: {
|
|
21585
|
+
group: ["sharedreports"],
|
|
21586
|
+
command: "get-shared-reports-shared-with-me",
|
|
21587
|
+
interactive: "hidden"
|
|
21588
|
+
},
|
|
21589
|
+
mcp: { entityTool: "sharedreports" },
|
|
21590
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21591
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
21592
|
+
client.httpClient,
|
|
21593
|
+
client.workspaceIdNumber,
|
|
21594
|
+
void 0
|
|
21595
|
+
]))
|
|
21596
|
+
},
|
|
21597
|
+
{
|
|
21598
|
+
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21599
|
+
family: "focus",
|
|
21600
|
+
resource: "sharedreports",
|
|
21601
|
+
action: "revoke-shared-report-grant",
|
|
21602
|
+
title: "Revoke Shared Report Grant Sharedreports",
|
|
21603
|
+
description: "Revoke Shared Report Grant Sharedreports.",
|
|
21604
|
+
safety: "delete",
|
|
21605
|
+
destructive: true,
|
|
21606
|
+
cli: {
|
|
21607
|
+
group: ["sharedreports"],
|
|
21608
|
+
command: "revoke-shared-report-grant",
|
|
21609
|
+
interactive: "default"
|
|
21610
|
+
},
|
|
21611
|
+
mcp: { entityTool: "sharedreports" },
|
|
21612
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21613
|
+
grant_id: /* @__PURE__ */ number$2(),
|
|
21614
|
+
id: /* @__PURE__ */ number$2()
|
|
21615
|
+
}),
|
|
21616
|
+
execute: (input, { client }) => {
|
|
21617
|
+
const data = input;
|
|
21618
|
+
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
21619
|
+
client.httpClient,
|
|
21620
|
+
client.workspaceIdNumber,
|
|
21621
|
+
data.id,
|
|
21622
|
+
data.grant_id,
|
|
21623
|
+
void 0
|
|
21624
|
+
]));
|
|
21625
|
+
}
|
|
21626
|
+
},
|
|
21627
|
+
{
|
|
21628
|
+
id: "focus.sharedreports.share-saved-view",
|
|
21629
|
+
family: "focus",
|
|
21630
|
+
resource: "sharedreports",
|
|
21631
|
+
action: "share-saved-view",
|
|
21632
|
+
title: "Share Saved View Sharedreports",
|
|
21633
|
+
description: "Share Saved View Sharedreports.",
|
|
21634
|
+
safety: "update",
|
|
21635
|
+
destructive: false,
|
|
21636
|
+
cli: {
|
|
21637
|
+
group: ["sharedreports"],
|
|
21638
|
+
command: "share-saved-view",
|
|
21639
|
+
interactive: "hidden"
|
|
21640
|
+
},
|
|
21641
|
+
mcp: { entityTool: "sharedreports" },
|
|
21642
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21643
|
+
id: /* @__PURE__ */ number$2(),
|
|
21644
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21645
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21646
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21647
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21648
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21649
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21650
|
+
})
|
|
21651
|
+
}),
|
|
21652
|
+
execute: (input, { client }) => {
|
|
21653
|
+
const data = input;
|
|
21654
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21655
|
+
client.httpClient,
|
|
21656
|
+
client.workspaceIdNumber,
|
|
21657
|
+
data.id,
|
|
21658
|
+
data.payload ?? data.data ?? data,
|
|
21659
|
+
void 0
|
|
21660
|
+
]));
|
|
21661
|
+
}
|
|
21662
|
+
},
|
|
21663
|
+
{
|
|
21664
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
21665
|
+
family: "focus",
|
|
21666
|
+
resource: "sharedreports",
|
|
21667
|
+
action: "share-saved-view-many",
|
|
21668
|
+
title: "Share Saved View Many Sharedreports",
|
|
21669
|
+
description: "Share Saved View Many Sharedreports.",
|
|
21670
|
+
safety: "update",
|
|
21671
|
+
destructive: false,
|
|
21672
|
+
cli: {
|
|
21673
|
+
group: ["sharedreports"],
|
|
21674
|
+
command: "share-saved-view-many",
|
|
21675
|
+
interactive: "hidden"
|
|
21676
|
+
},
|
|
21677
|
+
mcp: { entityTool: "sharedreports" },
|
|
21678
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21679
|
+
id: /* @__PURE__ */ number$2(),
|
|
21680
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21681
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21682
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21683
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21684
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21685
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21686
|
+
})),
|
|
21687
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21688
|
+
})
|
|
21689
|
+
}),
|
|
21690
|
+
execute: (input, { client }) => {
|
|
21691
|
+
const data = input;
|
|
21692
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21693
|
+
client.httpClient,
|
|
21694
|
+
client.workspaceIdNumber,
|
|
21695
|
+
data.id,
|
|
21696
|
+
data.payload ?? data.data ?? data,
|
|
21697
|
+
void 0
|
|
21698
|
+
]));
|
|
21699
|
+
}
|
|
21700
|
+
},
|
|
20865
21701
|
{
|
|
20866
21702
|
id: "focus.statuses.create-status",
|
|
20867
21703
|
family: "focus",
|
|
@@ -21070,70 +21906,229 @@ const generatedFocusOperations = [
|
|
|
21070
21906
|
]))
|
|
21071
21907
|
},
|
|
21072
21908
|
{
|
|
21073
|
-
id: "focus.subscriptions.get-features-upsell",
|
|
21909
|
+
id: "focus.subscriptions.get-features-upsell",
|
|
21910
|
+
family: "focus",
|
|
21911
|
+
resource: "subscriptions",
|
|
21912
|
+
action: "get-features-upsell",
|
|
21913
|
+
title: "Get Features Upsell Subscriptions",
|
|
21914
|
+
description: "Get Features Upsell Subscriptions.",
|
|
21915
|
+
safety: "read",
|
|
21916
|
+
destructive: false,
|
|
21917
|
+
cli: {
|
|
21918
|
+
group: ["subscriptions"],
|
|
21919
|
+
command: "get-features-upsell",
|
|
21920
|
+
interactive: "hidden"
|
|
21921
|
+
},
|
|
21922
|
+
mcp: { entityTool: "subscriptions" },
|
|
21923
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21924
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getFeaturesUpsell", () => callGeneratedRequest(getFeaturesUpsell, [
|
|
21925
|
+
client.httpClient,
|
|
21926
|
+
client.organizationId,
|
|
21927
|
+
void 0
|
|
21928
|
+
]))
|
|
21929
|
+
},
|
|
21930
|
+
{
|
|
21931
|
+
id: "focus.subscriptions.get-plans",
|
|
21932
|
+
family: "focus",
|
|
21933
|
+
resource: "subscriptions",
|
|
21934
|
+
action: "get-plans",
|
|
21935
|
+
title: "Get Plans Subscriptions",
|
|
21936
|
+
description: "Get Plans Subscriptions.",
|
|
21937
|
+
safety: "read",
|
|
21938
|
+
destructive: false,
|
|
21939
|
+
cli: {
|
|
21940
|
+
group: ["subscriptions"],
|
|
21941
|
+
command: "get-plans",
|
|
21942
|
+
interactive: "hidden"
|
|
21943
|
+
},
|
|
21944
|
+
mcp: { entityTool: "subscriptions" },
|
|
21945
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21946
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
|
|
21947
|
+
client.httpClient,
|
|
21948
|
+
client.organizationId,
|
|
21949
|
+
void 0
|
|
21950
|
+
]))
|
|
21951
|
+
},
|
|
21952
|
+
{
|
|
21953
|
+
id: "focus.subscriptions.upsert-forced-trial",
|
|
21954
|
+
family: "focus",
|
|
21955
|
+
resource: "subscriptions",
|
|
21956
|
+
action: "upsert-forced-trial",
|
|
21957
|
+
title: "Upsert Forced Trial Subscriptions",
|
|
21958
|
+
description: "Upsert Forced Trial Subscriptions.",
|
|
21959
|
+
safety: "update",
|
|
21960
|
+
destructive: false,
|
|
21961
|
+
cli: {
|
|
21962
|
+
group: ["subscriptions"],
|
|
21963
|
+
command: "upsert-forced-trial",
|
|
21964
|
+
interactive: "default"
|
|
21965
|
+
},
|
|
21966
|
+
mcp: { entityTool: "subscriptions" },
|
|
21967
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21968
|
+
execute: (input, { client }) => {
|
|
21969
|
+
const data = input;
|
|
21970
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
21971
|
+
client.httpClient,
|
|
21972
|
+
client.organizationId,
|
|
21973
|
+
client.workspaceIdNumber,
|
|
21974
|
+
data.payload ?? data.data ?? data,
|
|
21975
|
+
void 0
|
|
21976
|
+
]));
|
|
21977
|
+
}
|
|
21978
|
+
},
|
|
21979
|
+
{
|
|
21980
|
+
id: "focus.tags.archive",
|
|
21981
|
+
family: "focus",
|
|
21982
|
+
resource: "tags",
|
|
21983
|
+
action: "archive",
|
|
21984
|
+
title: "Archive Tags",
|
|
21985
|
+
description: "Archive Tags.",
|
|
21986
|
+
safety: "update",
|
|
21987
|
+
destructive: false,
|
|
21988
|
+
cli: {
|
|
21989
|
+
group: ["tags"],
|
|
21990
|
+
command: "archive",
|
|
21991
|
+
interactive: "default"
|
|
21992
|
+
},
|
|
21993
|
+
mcp: { entityTool: "tags" },
|
|
21994
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
21995
|
+
execute: (input, { client }) => {
|
|
21996
|
+
const data = input;
|
|
21997
|
+
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
21998
|
+
client.httpClient,
|
|
21999
|
+
client.workspaceIdNumber,
|
|
22000
|
+
data.tag_id,
|
|
22001
|
+
void 0
|
|
22002
|
+
]));
|
|
22003
|
+
}
|
|
22004
|
+
},
|
|
22005
|
+
{
|
|
22006
|
+
id: "focus.tags.bulk-archive",
|
|
22007
|
+
family: "focus",
|
|
22008
|
+
resource: "tags",
|
|
22009
|
+
action: "bulk-archive",
|
|
22010
|
+
title: "Bulk Archive Tags",
|
|
22011
|
+
description: "Bulk Archive Tags.",
|
|
22012
|
+
safety: "update",
|
|
22013
|
+
destructive: false,
|
|
22014
|
+
cli: {
|
|
22015
|
+
group: ["tags", "bulk"],
|
|
22016
|
+
command: "archive",
|
|
22017
|
+
interactive: "default"
|
|
22018
|
+
},
|
|
22019
|
+
mcp: { entityTool: "tags" },
|
|
22020
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
22021
|
+
execute: (input, { client }) => {
|
|
22022
|
+
const data = input;
|
|
22023
|
+
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
22024
|
+
client.httpClient,
|
|
22025
|
+
client.workspaceIdNumber,
|
|
22026
|
+
data.payload ?? data.data ?? data,
|
|
22027
|
+
void 0
|
|
22028
|
+
]));
|
|
22029
|
+
}
|
|
22030
|
+
},
|
|
22031
|
+
{
|
|
22032
|
+
id: "focus.tags.bulk-create",
|
|
22033
|
+
family: "focus",
|
|
22034
|
+
resource: "tags",
|
|
22035
|
+
action: "bulk-create",
|
|
22036
|
+
title: "Bulk Create Tags",
|
|
22037
|
+
description: "Bulk Create Tags.",
|
|
22038
|
+
safety: "create",
|
|
22039
|
+
destructive: false,
|
|
22040
|
+
cli: {
|
|
22041
|
+
group: ["tags", "bulk"],
|
|
22042
|
+
command: "create",
|
|
22043
|
+
interactive: "default"
|
|
22044
|
+
},
|
|
22045
|
+
mcp: { entityTool: "tags" },
|
|
22046
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
22047
|
+
color: /* @__PURE__ */ string$1(),
|
|
22048
|
+
name: /* @__PURE__ */ string$1()
|
|
22049
|
+
})) }) }),
|
|
22050
|
+
execute: (input, { client }) => {
|
|
22051
|
+
const data = input;
|
|
22052
|
+
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
22053
|
+
client.httpClient,
|
|
22054
|
+
client.workspaceIdNumber,
|
|
22055
|
+
data.payload ?? data.data ?? data,
|
|
22056
|
+
void 0
|
|
22057
|
+
]));
|
|
22058
|
+
}
|
|
22059
|
+
},
|
|
22060
|
+
{
|
|
22061
|
+
id: "focus.tags.bulk-delete",
|
|
21074
22062
|
family: "focus",
|
|
21075
|
-
resource: "
|
|
21076
|
-
action: "
|
|
21077
|
-
title: "
|
|
21078
|
-
description: "
|
|
21079
|
-
safety: "
|
|
21080
|
-
destructive:
|
|
22063
|
+
resource: "tags",
|
|
22064
|
+
action: "bulk-delete",
|
|
22065
|
+
title: "Bulk Delete Tags",
|
|
22066
|
+
description: "Bulk Delete Tags.",
|
|
22067
|
+
safety: "delete",
|
|
22068
|
+
destructive: true,
|
|
21081
22069
|
cli: {
|
|
21082
|
-
group: ["
|
|
21083
|
-
command: "
|
|
21084
|
-
interactive: "
|
|
22070
|
+
group: ["tags", "bulk"],
|
|
22071
|
+
command: "delete",
|
|
22072
|
+
interactive: "default"
|
|
21085
22073
|
},
|
|
21086
|
-
mcp: { entityTool: "
|
|
21087
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21088
|
-
execute: (
|
|
21089
|
-
|
|
21090
|
-
client.
|
|
21091
|
-
|
|
21092
|
-
|
|
22074
|
+
mcp: { entityTool: "tags" },
|
|
22075
|
+
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
22076
|
+
execute: (input, { client }) => {
|
|
22077
|
+
const data = input;
|
|
22078
|
+
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
22079
|
+
client.httpClient,
|
|
22080
|
+
client.workspaceIdNumber,
|
|
22081
|
+
data.ids,
|
|
22082
|
+
void 0
|
|
22083
|
+
]));
|
|
22084
|
+
}
|
|
21093
22085
|
},
|
|
21094
22086
|
{
|
|
21095
|
-
id: "focus.
|
|
22087
|
+
id: "focus.tags.bulk-restore",
|
|
21096
22088
|
family: "focus",
|
|
21097
|
-
resource: "
|
|
21098
|
-
action: "
|
|
21099
|
-
title: "
|
|
21100
|
-
description: "
|
|
21101
|
-
safety: "
|
|
22089
|
+
resource: "tags",
|
|
22090
|
+
action: "bulk-restore",
|
|
22091
|
+
title: "Bulk Restore Tags",
|
|
22092
|
+
description: "Bulk Restore Tags.",
|
|
22093
|
+
safety: "update",
|
|
21102
22094
|
destructive: false,
|
|
21103
22095
|
cli: {
|
|
21104
|
-
group: ["
|
|
21105
|
-
command: "
|
|
21106
|
-
interactive: "
|
|
22096
|
+
group: ["tags", "bulk"],
|
|
22097
|
+
command: "restore",
|
|
22098
|
+
interactive: "default"
|
|
21107
22099
|
},
|
|
21108
|
-
mcp: { entityTool: "
|
|
21109
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21110
|
-
execute: (
|
|
21111
|
-
|
|
21112
|
-
client.
|
|
21113
|
-
|
|
21114
|
-
|
|
22100
|
+
mcp: { entityTool: "tags" },
|
|
22101
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
22102
|
+
execute: (input, { client }) => {
|
|
22103
|
+
const data = input;
|
|
22104
|
+
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
22105
|
+
client.httpClient,
|
|
22106
|
+
client.workspaceIdNumber,
|
|
22107
|
+
data.payload ?? data.data ?? data,
|
|
22108
|
+
void 0
|
|
22109
|
+
]));
|
|
22110
|
+
}
|
|
21115
22111
|
},
|
|
21116
22112
|
{
|
|
21117
|
-
id: "focus.
|
|
22113
|
+
id: "focus.tags.bulk-unarchive",
|
|
21118
22114
|
family: "focus",
|
|
21119
|
-
resource: "
|
|
21120
|
-
action: "
|
|
21121
|
-
title: "
|
|
21122
|
-
description: "
|
|
22115
|
+
resource: "tags",
|
|
22116
|
+
action: "bulk-unarchive",
|
|
22117
|
+
title: "Bulk Unarchive Tags",
|
|
22118
|
+
description: "Bulk Unarchive Tags.",
|
|
21123
22119
|
safety: "update",
|
|
21124
22120
|
destructive: false,
|
|
21125
22121
|
cli: {
|
|
21126
|
-
group: ["
|
|
21127
|
-
command: "
|
|
22122
|
+
group: ["tags", "bulk"],
|
|
22123
|
+
command: "unarchive",
|
|
21128
22124
|
interactive: "default"
|
|
21129
22125
|
},
|
|
21130
|
-
mcp: { entityTool: "
|
|
21131
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
22126
|
+
mcp: { entityTool: "tags" },
|
|
22127
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21132
22128
|
execute: (input, { client }) => {
|
|
21133
22129
|
const data = input;
|
|
21134
|
-
return client.runGeneratedRequest("
|
|
22130
|
+
return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
|
|
21135
22131
|
client.httpClient,
|
|
21136
|
-
client.organizationId,
|
|
21137
22132
|
client.workspaceIdNumber,
|
|
21138
22133
|
data.payload ?? data.data ?? data,
|
|
21139
22134
|
void 0
|
|
@@ -21224,6 +22219,35 @@ const generatedFocusOperations = [
|
|
|
21224
22219
|
return client.listTags(data);
|
|
21225
22220
|
}
|
|
21226
22221
|
},
|
|
22222
|
+
{
|
|
22223
|
+
id: "focus.tags.merge",
|
|
22224
|
+
family: "focus",
|
|
22225
|
+
resource: "tags",
|
|
22226
|
+
action: "merge",
|
|
22227
|
+
title: "Merge Tags",
|
|
22228
|
+
description: "Merge Tags.",
|
|
22229
|
+
safety: "update",
|
|
22230
|
+
destructive: false,
|
|
22231
|
+
cli: {
|
|
22232
|
+
group: ["tags"],
|
|
22233
|
+
command: "merge",
|
|
22234
|
+
interactive: "default"
|
|
22235
|
+
},
|
|
22236
|
+
mcp: { entityTool: "tags" },
|
|
22237
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
22238
|
+
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
22239
|
+
target_id: /* @__PURE__ */ number$2()
|
|
22240
|
+
}) }),
|
|
22241
|
+
execute: (input, { client }) => {
|
|
22242
|
+
const data = input;
|
|
22243
|
+
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
22244
|
+
client.httpClient,
|
|
22245
|
+
client.workspaceIdNumber,
|
|
22246
|
+
data.payload ?? data.data ?? data,
|
|
22247
|
+
void 0
|
|
22248
|
+
]));
|
|
22249
|
+
}
|
|
22250
|
+
},
|
|
21227
22251
|
{
|
|
21228
22252
|
id: "focus.tags.restore",
|
|
21229
22253
|
family: "focus",
|
|
@@ -21250,6 +22274,32 @@ const generatedFocusOperations = [
|
|
|
21250
22274
|
]));
|
|
21251
22275
|
}
|
|
21252
22276
|
},
|
|
22277
|
+
{
|
|
22278
|
+
id: "focus.tags.unarchive",
|
|
22279
|
+
family: "focus",
|
|
22280
|
+
resource: "tags",
|
|
22281
|
+
action: "unarchive",
|
|
22282
|
+
title: "Unarchive Tags",
|
|
22283
|
+
description: "Unarchive Tags.",
|
|
22284
|
+
safety: "update",
|
|
22285
|
+
destructive: false,
|
|
22286
|
+
cli: {
|
|
22287
|
+
group: ["tags"],
|
|
22288
|
+
command: "unarchive",
|
|
22289
|
+
interactive: "default"
|
|
22290
|
+
},
|
|
22291
|
+
mcp: { entityTool: "tags" },
|
|
22292
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
22293
|
+
execute: (input, { client }) => {
|
|
22294
|
+
const data = input;
|
|
22295
|
+
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
22296
|
+
client.httpClient,
|
|
22297
|
+
client.workspaceIdNumber,
|
|
22298
|
+
data.tag_id,
|
|
22299
|
+
void 0
|
|
22300
|
+
]));
|
|
22301
|
+
}
|
|
22302
|
+
},
|
|
21253
22303
|
{
|
|
21254
22304
|
id: "focus.tags.update",
|
|
21255
22305
|
family: "focus",
|
|
@@ -21690,6 +22740,37 @@ const generatedFocusOperations = [
|
|
|
21690
22740
|
return client.createTask(data);
|
|
21691
22741
|
}
|
|
21692
22742
|
},
|
|
22743
|
+
{
|
|
22744
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
22745
|
+
family: "focus",
|
|
22746
|
+
resource: "tasks",
|
|
22747
|
+
action: "create-recurring-occurrence",
|
|
22748
|
+
title: "Create Recurring Occurrence Tasks",
|
|
22749
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
22750
|
+
safety: "create",
|
|
22751
|
+
destructive: false,
|
|
22752
|
+
cli: {
|
|
22753
|
+
group: ["tasks"],
|
|
22754
|
+
command: "create-recurring-occurrence",
|
|
22755
|
+
interactive: "default"
|
|
22756
|
+
},
|
|
22757
|
+
mcp: { entityTool: "tasks" },
|
|
22758
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22759
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22760
|
+
task_id: /* @__PURE__ */ number$2()
|
|
22761
|
+
}),
|
|
22762
|
+
execute: (input, { client }) => {
|
|
22763
|
+
const data = input;
|
|
22764
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22765
|
+
client.httpClient,
|
|
22766
|
+
client.organizationId,
|
|
22767
|
+
client.workspaceIdNumber,
|
|
22768
|
+
data.task_id,
|
|
22769
|
+
data.return_occurrence,
|
|
22770
|
+
void 0
|
|
22771
|
+
]));
|
|
22772
|
+
}
|
|
22773
|
+
},
|
|
21693
22774
|
{
|
|
21694
22775
|
id: "focus.tasks.delete",
|
|
21695
22776
|
family: "focus",
|
|
@@ -21931,15 +23012,19 @@ const generatedFocusOperations = [
|
|
|
21931
23012
|
mcp: { entityTool: "tasks" },
|
|
21932
23013
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21933
23014
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23015
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21934
23016
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21935
23017
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21936
23018
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21937
23019
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21938
23020
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21939
|
-
|
|
23021
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23022
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21940
23023
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21941
23024
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23025
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21942
23026
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23027
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21943
23028
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21944
23029
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
21945
23030
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -21973,7 +23058,6 @@ const generatedFocusOperations = [
|
|
|
21973
23058
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21974
23059
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21975
23060
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21976
|
-
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21977
23061
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21978
23062
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21979
23063
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21990,10 +23074,11 @@ const generatedFocusOperations = [
|
|
|
21990
23074
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21991
23075
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21992
23076
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21993
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21994
23077
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21995
23078
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23079
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21996
23080
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23081
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21997
23082
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21998
23083
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21999
23084
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -22002,7 +23087,9 @@ const generatedFocusOperations = [
|
|
|
22002
23087
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22003
23088
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22004
23089
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23090
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22005
23091
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23092
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22006
23093
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22007
23094
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22008
23095
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22046,7 +23133,6 @@ const generatedFocusOperations = [
|
|
|
22046
23133
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22047
23134
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22048
23135
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22049
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22050
23136
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22051
23137
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22052
23138
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22072,55 +23158,185 @@ const generatedFocusOperations = [
|
|
|
22072
23158
|
id: "focus.tasks.get-with-parents",
|
|
22073
23159
|
family: "focus",
|
|
22074
23160
|
resource: "tasks",
|
|
22075
|
-
action: "get-with-parents",
|
|
22076
|
-
title: "Get With Parents Tasks",
|
|
22077
|
-
description: "Get With Parents Tasks.",
|
|
23161
|
+
action: "get-with-parents",
|
|
23162
|
+
title: "Get With Parents Tasks",
|
|
23163
|
+
description: "Get With Parents Tasks.",
|
|
23164
|
+
safety: "read",
|
|
23165
|
+
destructive: false,
|
|
23166
|
+
cli: {
|
|
23167
|
+
group: ["tasks"],
|
|
23168
|
+
command: "get-with-parents",
|
|
23169
|
+
interactive: "hidden"
|
|
23170
|
+
},
|
|
23171
|
+
mcp: { entityTool: "tasks" },
|
|
23172
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23173
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23174
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23175
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23176
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23177
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23178
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23179
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23180
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23181
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23182
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23183
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23184
|
+
}),
|
|
23185
|
+
execute: (input, { client }) => {
|
|
23186
|
+
const data = input;
|
|
23187
|
+
return client.runGeneratedRequest("getTaskWithParentsClassic", () => callGeneratedRequest(getTaskWithParentsClassic, [
|
|
23188
|
+
client.httpClient,
|
|
23189
|
+
client.organizationId,
|
|
23190
|
+
client.workspaceIdNumber,
|
|
23191
|
+
data.task_id,
|
|
23192
|
+
data,
|
|
23193
|
+
void 0
|
|
23194
|
+
]));
|
|
23195
|
+
}
|
|
23196
|
+
},
|
|
23197
|
+
{
|
|
23198
|
+
id: "focus.tasks.groups-get",
|
|
23199
|
+
family: "focus",
|
|
23200
|
+
resource: "tasks",
|
|
23201
|
+
action: "groups-get",
|
|
23202
|
+
title: "Groups Get Tasks",
|
|
23203
|
+
description: "Groups Get Tasks.",
|
|
23204
|
+
safety: "read",
|
|
23205
|
+
destructive: false,
|
|
23206
|
+
cli: {
|
|
23207
|
+
group: ["tasks", "groups"],
|
|
23208
|
+
command: "get",
|
|
23209
|
+
interactive: "hidden"
|
|
23210
|
+
},
|
|
23211
|
+
mcp: { entityTool: "tasks" },
|
|
23212
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23213
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23214
|
+
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23215
|
+
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23216
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23217
|
+
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23218
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23219
|
+
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23220
|
+
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23221
|
+
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23222
|
+
group: /* @__PURE__ */ picklist$1([
|
|
23223
|
+
"projects",
|
|
23224
|
+
"users",
|
|
23225
|
+
"tags"
|
|
23226
|
+
]),
|
|
23227
|
+
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23228
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23229
|
+
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23230
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23231
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23232
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23233
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23234
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23235
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23236
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23237
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23238
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23239
|
+
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23240
|
+
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23241
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23242
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23243
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23244
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23245
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23246
|
+
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23247
|
+
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23248
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23249
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23250
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23251
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23252
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23253
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23254
|
+
}),
|
|
23255
|
+
execute: (input, { client }) => {
|
|
23256
|
+
const data = input;
|
|
23257
|
+
return client.runGeneratedRequest("getTaskGroupsClassic", () => callGeneratedRequest(getTaskGroupsClassic, [
|
|
23258
|
+
client.httpClient,
|
|
23259
|
+
client.organizationId,
|
|
23260
|
+
client.workspaceIdNumber,
|
|
23261
|
+
data.group,
|
|
23262
|
+
data,
|
|
23263
|
+
void 0
|
|
23264
|
+
]));
|
|
23265
|
+
}
|
|
23266
|
+
},
|
|
23267
|
+
{
|
|
23268
|
+
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
23269
|
+
family: "focus",
|
|
23270
|
+
resource: "tasks",
|
|
23271
|
+
action: "groups-get-user-task-groups-by-project",
|
|
23272
|
+
title: "Groups Get User Task Groups By Project Tasks",
|
|
23273
|
+
description: "Groups Get User Task Groups By Project Tasks.",
|
|
22078
23274
|
safety: "read",
|
|
22079
23275
|
destructive: false,
|
|
22080
23276
|
cli: {
|
|
22081
|
-
group: ["tasks"],
|
|
22082
|
-
command: "get-
|
|
23277
|
+
group: ["tasks", "groups"],
|
|
23278
|
+
command: "get-user-task-groups-by-project",
|
|
22083
23279
|
interactive: "hidden"
|
|
22084
23280
|
},
|
|
22085
23281
|
mcp: { entityTool: "tasks" },
|
|
22086
23282
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22087
|
-
|
|
22088
|
-
|
|
22089
|
-
|
|
22090
|
-
|
|
22091
|
-
|
|
22092
|
-
|
|
22093
|
-
|
|
22094
|
-
|
|
22095
|
-
|
|
22096
|
-
|
|
22097
|
-
|
|
22098
|
-
|
|
23283
|
+
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
23284
|
+
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23285
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
23286
|
+
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
23287
|
+
creator_id: /* @__PURE__ */ number$2(),
|
|
23288
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23289
|
+
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
23290
|
+
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
23291
|
+
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
23292
|
+
group_id: /* @__PURE__ */ number$2(),
|
|
23293
|
+
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23294
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23295
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23296
|
+
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23297
|
+
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23298
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23299
|
+
min_days: /* @__PURE__ */ unknown$1(),
|
|
23300
|
+
name: /* @__PURE__ */ unknown$1(),
|
|
23301
|
+
priority: /* @__PURE__ */ unknown$1(),
|
|
23302
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
23303
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
23304
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23305
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23306
|
+
source: /* @__PURE__ */ unknown$1(),
|
|
23307
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23308
|
+
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
23309
|
+
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
23310
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23311
|
+
tag_id: /* @__PURE__ */ number$2(),
|
|
23312
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
23313
|
+
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23314
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
23315
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
22099
23316
|
}),
|
|
22100
23317
|
execute: (input, { client }) => {
|
|
22101
23318
|
const data = input;
|
|
22102
|
-
return client.runGeneratedRequest("
|
|
23319
|
+
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
22103
23320
|
client.httpClient,
|
|
22104
23321
|
client.organizationId,
|
|
22105
23322
|
client.workspaceIdNumber,
|
|
22106
|
-
data.task_id,
|
|
22107
23323
|
data,
|
|
22108
23324
|
void 0
|
|
22109
23325
|
]));
|
|
22110
23326
|
}
|
|
22111
23327
|
},
|
|
22112
23328
|
{
|
|
22113
|
-
id: "focus.tasks.groups-get",
|
|
23329
|
+
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
22114
23330
|
family: "focus",
|
|
22115
23331
|
resource: "tasks",
|
|
22116
|
-
action: "groups-get",
|
|
22117
|
-
title: "Groups Get Tasks",
|
|
22118
|
-
description: "Groups Get Tasks.",
|
|
23332
|
+
action: "groups-get-user-task-groups-by-team",
|
|
23333
|
+
title: "Groups Get User Task Groups By Team Tasks",
|
|
23334
|
+
description: "Groups Get User Task Groups By Team Tasks.",
|
|
22119
23335
|
safety: "read",
|
|
22120
23336
|
destructive: false,
|
|
22121
23337
|
cli: {
|
|
22122
23338
|
group: ["tasks", "groups"],
|
|
22123
|
-
command: "get",
|
|
23339
|
+
command: "get-user-task-groups-by-team",
|
|
22124
23340
|
interactive: "hidden"
|
|
22125
23341
|
},
|
|
22126
23342
|
mcp: { entityTool: "tasks" },
|
|
@@ -22128,44 +23344,43 @@ const generatedFocusOperations = [
|
|
|
22128
23344
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22129
23345
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22130
23346
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23347
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22131
23348
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22132
23349
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22133
23350
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22134
23351
|
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22135
23352
|
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22136
|
-
group: /* @__PURE__ */ picklist$1([
|
|
22137
|
-
"projects",
|
|
22138
|
-
"users",
|
|
22139
|
-
"tags"
|
|
22140
|
-
]),
|
|
22141
23353
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22142
23354
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22143
23355
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22144
|
-
|
|
23356
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23357
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23358
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23359
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22145
23360
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22146
23361
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22147
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22148
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22149
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22150
23362
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22151
23363
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22152
23364
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23365
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23366
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22153
23367
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22154
23368
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22155
23369
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22156
23370
|
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22157
23371
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22158
|
-
tag_id: /* @__PURE__ */ optional$1(
|
|
23372
|
+
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22159
23373
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22160
|
-
|
|
23374
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23375
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23376
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22161
23377
|
}),
|
|
22162
23378
|
execute: (input, { client }) => {
|
|
22163
23379
|
const data = input;
|
|
22164
|
-
return client.runGeneratedRequest("
|
|
23380
|
+
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
22165
23381
|
client.httpClient,
|
|
22166
23382
|
client.organizationId,
|
|
22167
23383
|
client.workspaceIdNumber,
|
|
22168
|
-
data.group,
|
|
22169
23384
|
data,
|
|
22170
23385
|
void 0
|
|
22171
23386
|
]));
|
|
@@ -22376,7 +23591,6 @@ const generatedFocusOperations = [
|
|
|
22376
23591
|
name: /* @__PURE__ */ string$1(),
|
|
22377
23592
|
status_id: /* @__PURE__ */ number$2(),
|
|
22378
23593
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22379
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22380
23594
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
22381
23595
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22382
23596
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -22396,6 +23610,7 @@ const generatedFocusOperations = [
|
|
|
22396
23610
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22397
23611
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22398
23612
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23613
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22399
23614
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
22400
23615
|
}),
|
|
22401
23616
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -22429,7 +23644,8 @@ const generatedFocusOperations = [
|
|
|
22429
23644
|
mcp: { entityTool: "tasks" },
|
|
22430
23645
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22431
23646
|
date_from: /* @__PURE__ */ string$1(),
|
|
22432
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23647
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
23648
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
22433
23649
|
}),
|
|
22434
23650
|
execute: (input, { client }) => {
|
|
22435
23651
|
const data = input;
|
|
@@ -22439,6 +23655,7 @@ const generatedFocusOperations = [
|
|
|
22439
23655
|
client.workspaceIdNumber,
|
|
22440
23656
|
data.date_from,
|
|
22441
23657
|
data.date_to,
|
|
23658
|
+
data.skip_provider_refresh,
|
|
22442
23659
|
void 0
|
|
22443
23660
|
]));
|
|
22444
23661
|
}
|
|
@@ -23025,7 +24242,8 @@ const generatedFocusOperations = [
|
|
|
23025
24242
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
23026
24243
|
"project",
|
|
23027
24244
|
"task",
|
|
23028
|
-
"description"
|
|
24245
|
+
"description",
|
|
24246
|
+
"tags"
|
|
23029
24247
|
]) })),
|
|
23030
24248
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23031
24249
|
}) }),
|
|
@@ -23055,6 +24273,7 @@ const generatedFocusOperations = [
|
|
|
23055
24273
|
},
|
|
23056
24274
|
mcp: { entityTool: "time-entries" },
|
|
23057
24275
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24276
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23058
24277
|
payload: /* @__PURE__ */ looseObject({
|
|
23059
24278
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
23060
24279
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -23065,11 +24284,13 @@ const generatedFocusOperations = [
|
|
|
23065
24284
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23066
24285
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23067
24286
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24287
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23068
24288
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23069
24289
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23070
24290
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23071
24291
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23072
24292
|
}),
|
|
24293
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23073
24294
|
task_id: /* @__PURE__ */ number$2()
|
|
23074
24295
|
}),
|
|
23075
24296
|
execute: (input, { client }) => {
|
|
@@ -23080,6 +24301,8 @@ const generatedFocusOperations = [
|
|
|
23080
24301
|
client.workspaceIdNumber,
|
|
23081
24302
|
data.task_id,
|
|
23082
24303
|
data.payload ?? data.data ?? data,
|
|
24304
|
+
data.from_recurring_task_id,
|
|
24305
|
+
data.return_occurrence,
|
|
23083
24306
|
void 0
|
|
23084
24307
|
]));
|
|
23085
24308
|
}
|
|
@@ -23099,21 +24322,26 @@ const generatedFocusOperations = [
|
|
|
23099
24322
|
interactive: "default"
|
|
23100
24323
|
},
|
|
23101
24324
|
mcp: { entityTool: "time-entries" },
|
|
23102
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23103
|
-
|
|
23104
|
-
|
|
23105
|
-
|
|
23106
|
-
|
|
23107
|
-
|
|
23108
|
-
|
|
23109
|
-
|
|
23110
|
-
|
|
23111
|
-
|
|
23112
|
-
|
|
23113
|
-
|
|
23114
|
-
|
|
23115
|
-
|
|
23116
|
-
|
|
24325
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24326
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24327
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24328
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24329
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24330
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24331
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24332
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24333
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24334
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24335
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24336
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24337
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24338
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24339
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24340
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24341
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24342
|
+
}),
|
|
24343
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24344
|
+
}),
|
|
23117
24345
|
execute: (input, { client }) => {
|
|
23118
24346
|
const data = input;
|
|
23119
24347
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -23121,6 +24349,8 @@ const generatedFocusOperations = [
|
|
|
23121
24349
|
client.organizationId,
|
|
23122
24350
|
client.workspaceIdNumber,
|
|
23123
24351
|
data.payload ?? data.data ?? data,
|
|
24352
|
+
data.from_recurring_task_id,
|
|
24353
|
+
data.return_occurrence,
|
|
23124
24354
|
void 0
|
|
23125
24355
|
]));
|
|
23126
24356
|
}
|
|
@@ -23140,7 +24370,11 @@ const generatedFocusOperations = [
|
|
|
23140
24370
|
interactive: "default"
|
|
23141
24371
|
},
|
|
23142
24372
|
mcp: { entityTool: "time-entries" },
|
|
23143
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24373
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24374
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24375
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24376
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
24377
|
+
}),
|
|
23144
24378
|
execute: (input, { client }) => {
|
|
23145
24379
|
const data = input;
|
|
23146
24380
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -23148,6 +24382,8 @@ const generatedFocusOperations = [
|
|
|
23148
24382
|
client.organizationId,
|
|
23149
24383
|
client.workspaceIdNumber,
|
|
23150
24384
|
data.time_entry_id,
|
|
24385
|
+
data.from_recurring_task_id,
|
|
24386
|
+
data.return_occurrence,
|
|
23151
24387
|
void 0
|
|
23152
24388
|
]));
|
|
23153
24389
|
}
|
|
@@ -23228,6 +24464,7 @@ const generatedFocusOperations = [
|
|
|
23228
24464
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
23229
24465
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
23230
24466
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24467
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
23231
24468
|
status_id: /* @__PURE__ */ number$2(),
|
|
23232
24469
|
task_id: /* @__PURE__ */ number$2(),
|
|
23233
24470
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -23306,6 +24543,40 @@ const generatedFocusOperations = [
|
|
|
23306
24543
|
]));
|
|
23307
24544
|
}
|
|
23308
24545
|
},
|
|
24546
|
+
{
|
|
24547
|
+
id: "focus.time-entries.groups-get-users",
|
|
24548
|
+
family: "focus",
|
|
24549
|
+
resource: "time-entries",
|
|
24550
|
+
action: "groups-get-users",
|
|
24551
|
+
title: "Groups Get Users Time Entries",
|
|
24552
|
+
description: "Groups Get Users Time Entries.",
|
|
24553
|
+
safety: "read",
|
|
24554
|
+
destructive: false,
|
|
24555
|
+
cli: {
|
|
24556
|
+
group: ["time-entries", "groups"],
|
|
24557
|
+
command: "get-users",
|
|
24558
|
+
interactive: "hidden"
|
|
24559
|
+
},
|
|
24560
|
+
mcp: { entityTool: "time-entries" },
|
|
24561
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24562
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24563
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
24564
|
+
page: /* @__PURE__ */ number$2(),
|
|
24565
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
24566
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24567
|
+
user_id: /* @__PURE__ */ number$2()
|
|
24568
|
+
}),
|
|
24569
|
+
execute: (input, { client }) => {
|
|
24570
|
+
const data = input;
|
|
24571
|
+
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
24572
|
+
client.httpClient,
|
|
24573
|
+
client.organizationId,
|
|
24574
|
+
client.workspaceIdNumber,
|
|
24575
|
+
data,
|
|
24576
|
+
void 0
|
|
24577
|
+
]));
|
|
24578
|
+
}
|
|
24579
|
+
},
|
|
23309
24580
|
{
|
|
23310
24581
|
id: "focus.time-entries.list",
|
|
23311
24582
|
family: "focus",
|
|
@@ -23370,12 +24641,14 @@ const generatedFocusOperations = [
|
|
|
23370
24641
|
},
|
|
23371
24642
|
mcp: { entityTool: "time-entries" },
|
|
23372
24643
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24644
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23373
24645
|
payload: /* @__PURE__ */ looseObject({
|
|
23374
24646
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23375
24647
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23376
24648
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23377
24649
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
23378
24650
|
}),
|
|
24651
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23379
24652
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
23380
24653
|
}),
|
|
23381
24654
|
execute: (input, { client }) => {
|
|
@@ -23386,6 +24659,8 @@ const generatedFocusOperations = [
|
|
|
23386
24659
|
client.workspaceIdNumber,
|
|
23387
24660
|
data.time_entry_id,
|
|
23388
24661
|
data.payload ?? data.data ?? data,
|
|
24662
|
+
data.from_recurring_task_id,
|
|
24663
|
+
data.return_occurrence,
|
|
23389
24664
|
void 0
|
|
23390
24665
|
]));
|
|
23391
24666
|
}
|
|
@@ -23490,6 +24765,42 @@ const generatedFocusOperations = [
|
|
|
23490
24765
|
inputSchema: emptySchema$1,
|
|
23491
24766
|
execute: (_input, { client }) => client.stopTracking()
|
|
23492
24767
|
},
|
|
24768
|
+
{
|
|
24769
|
+
id: "focus.time-entries.sync",
|
|
24770
|
+
family: "focus",
|
|
24771
|
+
resource: "time-entries",
|
|
24772
|
+
action: "sync",
|
|
24773
|
+
title: "Sync Time Entries",
|
|
24774
|
+
description: "Sync Time Entries.",
|
|
24775
|
+
safety: "update",
|
|
24776
|
+
destructive: false,
|
|
24777
|
+
cli: {
|
|
24778
|
+
group: ["time-entries"],
|
|
24779
|
+
command: "sync",
|
|
24780
|
+
interactive: "default"
|
|
24781
|
+
},
|
|
24782
|
+
mcp: { entityTool: "time-entries" },
|
|
24783
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24784
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
24785
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24786
|
+
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
24787
|
+
client_updated_at: apiDateTimeString,
|
|
24788
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24789
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24790
|
+
})
|
|
24791
|
+
}),
|
|
24792
|
+
execute: (input, { client }) => {
|
|
24793
|
+
const data = input;
|
|
24794
|
+
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
24795
|
+
client.httpClient,
|
|
24796
|
+
client.organizationId,
|
|
24797
|
+
client.workspaceIdNumber,
|
|
24798
|
+
data.client_uuid,
|
|
24799
|
+
data.payload ?? data.data ?? data,
|
|
24800
|
+
void 0
|
|
24801
|
+
]));
|
|
24802
|
+
}
|
|
24803
|
+
},
|
|
23493
24804
|
{
|
|
23494
24805
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
23495
24806
|
family: "focus",
|
|
@@ -23538,6 +24849,7 @@ const generatedFocusOperations = [
|
|
|
23538
24849
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23539
24850
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23540
24851
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24852
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23541
24853
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23542
24854
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23543
24855
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -23606,6 +24918,7 @@ const generatedFocusOperations = [
|
|
|
23606
24918
|
},
|
|
23607
24919
|
mcp: { entityTool: "time-entries" },
|
|
23608
24920
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24921
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23609
24922
|
payload: /* @__PURE__ */ looseObject({
|
|
23610
24923
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
23611
24924
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23618,181 +24931,35 @@ const generatedFocusOperations = [
|
|
|
23618
24931
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23619
24932
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
23620
24933
|
}),
|
|
23621
|
-
|
|
23622
|
-
|
|
23623
|
-
execute: (input, { client }) => {
|
|
23624
|
-
const data = input;
|
|
23625
|
-
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23626
|
-
client.httpClient,
|
|
23627
|
-
client.organizationId,
|
|
23628
|
-
client.workspaceIdNumber,
|
|
23629
|
-
data.time_entry_id,
|
|
23630
|
-
data.payload ?? data.data ?? data,
|
|
23631
|
-
void 0
|
|
23632
|
-
]));
|
|
23633
|
-
}
|
|
23634
|
-
},
|
|
23635
|
-
{
|
|
23636
|
-
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
23637
|
-
family: "focus",
|
|
23638
|
-
resource: "time-log-suggestions",
|
|
23639
|
-
action: "get-for-acalendar-event-title",
|
|
23640
|
-
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
23641
|
-
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
23642
|
-
safety: "update",
|
|
23643
|
-
destructive: false,
|
|
23644
|
-
cli: {
|
|
23645
|
-
group: ["time-log-suggestions"],
|
|
23646
|
-
command: "get-for-acalendar-event-title",
|
|
23647
|
-
interactive: "default"
|
|
23648
|
-
},
|
|
23649
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
23650
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
23651
|
-
execute: (input, { client }) => {
|
|
23652
|
-
const data = input;
|
|
23653
|
-
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
23654
|
-
client.httpClient,
|
|
23655
|
-
client.organizationId,
|
|
23656
|
-
client.workspaceIdNumber,
|
|
23657
|
-
data.payload ?? data.data ?? data,
|
|
23658
|
-
void 0
|
|
23659
|
-
]));
|
|
23660
|
-
}
|
|
23661
|
-
},
|
|
23662
|
-
{
|
|
23663
|
-
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
23664
|
-
family: "focus",
|
|
23665
|
-
resource: "time-log-suggestions",
|
|
23666
|
-
action: "get-for-multiple-calendar-event-titles",
|
|
23667
|
-
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
23668
|
-
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
23669
|
-
safety: "update",
|
|
23670
|
-
destructive: false,
|
|
23671
|
-
cli: {
|
|
23672
|
-
group: ["time-log-suggestions"],
|
|
23673
|
-
command: "get-for-multiple-calendar-event-titles",
|
|
23674
|
-
interactive: "default"
|
|
23675
|
-
},
|
|
23676
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
23677
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23678
|
-
key: /* @__PURE__ */ string$1(),
|
|
23679
|
-
title: /* @__PURE__ */ string$1()
|
|
23680
|
-
})) }) }),
|
|
23681
|
-
execute: (input, { client }) => {
|
|
23682
|
-
const data = input;
|
|
23683
|
-
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
23684
|
-
client.httpClient,
|
|
23685
|
-
client.organizationId,
|
|
23686
|
-
client.workspaceIdNumber,
|
|
23687
|
-
data.payload ?? data.data ?? data,
|
|
23688
|
-
void 0
|
|
23689
|
-
]));
|
|
23690
|
-
}
|
|
23691
|
-
},
|
|
23692
|
-
{
|
|
23693
|
-
id: "focus.time-off.create-timeoff-for-ghost",
|
|
23694
|
-
family: "focus",
|
|
23695
|
-
resource: "time-off",
|
|
23696
|
-
action: "create-timeoff-for-ghost",
|
|
23697
|
-
title: "Create Timeoff For Ghost Time Off",
|
|
23698
|
-
description: "Create Timeoff For Ghost Time Off.",
|
|
23699
|
-
safety: "create",
|
|
23700
|
-
destructive: false,
|
|
23701
|
-
cli: {
|
|
23702
|
-
group: ["time-off"],
|
|
23703
|
-
command: "create-timeoff-for-ghost",
|
|
23704
|
-
interactive: "hidden"
|
|
23705
|
-
},
|
|
23706
|
-
mcp: { entityTool: "time-off" },
|
|
23707
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23708
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
23709
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
23710
|
-
}),
|
|
23711
|
-
execute: (input, { client }) => {
|
|
23712
|
-
const data = input;
|
|
23713
|
-
return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
|
|
23714
|
-
client.httpClient,
|
|
23715
|
-
client.organizationId,
|
|
23716
|
-
client.workspaceIdNumber,
|
|
23717
|
-
data.ghost_id,
|
|
23718
|
-
data.payload ?? data.data ?? data,
|
|
23719
|
-
void 0
|
|
23720
|
-
]));
|
|
23721
|
-
}
|
|
23722
|
-
},
|
|
23723
|
-
{
|
|
23724
|
-
id: "focus.time-off.create-timeoff-for-user",
|
|
23725
|
-
family: "focus",
|
|
23726
|
-
resource: "time-off",
|
|
23727
|
-
action: "create-timeoff-for-user",
|
|
23728
|
-
title: "Create Timeoff For User Time Off",
|
|
23729
|
-
description: "Create Timeoff For User Time Off.",
|
|
23730
|
-
safety: "create",
|
|
23731
|
-
destructive: false,
|
|
23732
|
-
cli: {
|
|
23733
|
-
group: ["time-off"],
|
|
23734
|
-
command: "create-timeoff-for-user",
|
|
23735
|
-
interactive: "hidden"
|
|
23736
|
-
},
|
|
23737
|
-
mcp: { entityTool: "time-off" },
|
|
23738
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23739
|
-
payload: /* @__PURE__ */ unknown$1(),
|
|
23740
|
-
user_id: /* @__PURE__ */ number$2()
|
|
23741
|
-
}),
|
|
23742
|
-
execute: (input, { client }) => {
|
|
23743
|
-
const data = input;
|
|
23744
|
-
return client.runGeneratedRequest("createTimeoffForUser", () => callGeneratedRequest(createTimeoffForUser, [
|
|
23745
|
-
client.httpClient,
|
|
23746
|
-
client.organizationId,
|
|
23747
|
-
data.user_id,
|
|
23748
|
-
data.payload ?? data.data ?? data,
|
|
23749
|
-
void 0
|
|
23750
|
-
]));
|
|
23751
|
-
}
|
|
23752
|
-
},
|
|
23753
|
-
{
|
|
23754
|
-
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
23755
|
-
family: "focus",
|
|
23756
|
-
resource: "time-off",
|
|
23757
|
-
action: "delete-timeoff-for-ghost",
|
|
23758
|
-
title: "Delete Timeoff For Ghost Time Off",
|
|
23759
|
-
description: "Delete Timeoff For Ghost Time Off.",
|
|
23760
|
-
safety: "delete",
|
|
23761
|
-
destructive: true,
|
|
23762
|
-
cli: {
|
|
23763
|
-
group: ["time-off"],
|
|
23764
|
-
command: "delete-timeoff-for-ghost",
|
|
23765
|
-
interactive: "hidden"
|
|
23766
|
-
},
|
|
23767
|
-
mcp: { entityTool: "time-off" },
|
|
23768
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23769
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
23770
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
24934
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24935
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
23771
24936
|
}),
|
|
23772
24937
|
execute: (input, { client }) => {
|
|
23773
24938
|
const data = input;
|
|
23774
|
-
return client.runGeneratedRequest("
|
|
24939
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23775
24940
|
client.httpClient,
|
|
23776
24941
|
client.organizationId,
|
|
23777
24942
|
client.workspaceIdNumber,
|
|
23778
|
-
data.
|
|
24943
|
+
data.time_entry_id,
|
|
23779
24944
|
data.payload ?? data.data ?? data,
|
|
24945
|
+
data.from_recurring_task_id,
|
|
24946
|
+
data.return_occurrence,
|
|
23780
24947
|
void 0
|
|
23781
24948
|
]));
|
|
23782
24949
|
}
|
|
23783
24950
|
},
|
|
23784
24951
|
{
|
|
23785
|
-
id: "focus.time-off.
|
|
24952
|
+
id: "focus.time-off.create-timeoff-for-user",
|
|
23786
24953
|
family: "focus",
|
|
23787
24954
|
resource: "time-off",
|
|
23788
|
-
action: "
|
|
23789
|
-
title: "
|
|
23790
|
-
description: "
|
|
23791
|
-
safety: "
|
|
23792
|
-
destructive:
|
|
24955
|
+
action: "create-timeoff-for-user",
|
|
24956
|
+
title: "Create Timeoff For User Time Off",
|
|
24957
|
+
description: "Create Timeoff For User Time Off.",
|
|
24958
|
+
safety: "create",
|
|
24959
|
+
destructive: false,
|
|
23793
24960
|
cli: {
|
|
23794
24961
|
group: ["time-off"],
|
|
23795
|
-
command: "
|
|
24962
|
+
command: "create-timeoff-for-user",
|
|
23796
24963
|
interactive: "hidden"
|
|
23797
24964
|
},
|
|
23798
24965
|
mcp: { entityTool: "time-off" },
|
|
@@ -23802,7 +24969,7 @@ const generatedFocusOperations = [
|
|
|
23802
24969
|
}),
|
|
23803
24970
|
execute: (input, { client }) => {
|
|
23804
24971
|
const data = input;
|
|
23805
|
-
return client.runGeneratedRequest("
|
|
24972
|
+
return client.runGeneratedRequest("createTimeoffForUser", () => callGeneratedRequest(createTimeoffForUser, [
|
|
23806
24973
|
client.httpClient,
|
|
23807
24974
|
client.organizationId,
|
|
23808
24975
|
data.user_id,
|
|
@@ -23812,33 +24979,31 @@ const generatedFocusOperations = [
|
|
|
23812
24979
|
}
|
|
23813
24980
|
},
|
|
23814
24981
|
{
|
|
23815
|
-
id: "focus.time-off.
|
|
24982
|
+
id: "focus.time-off.delete-timeoff-for-user",
|
|
23816
24983
|
family: "focus",
|
|
23817
24984
|
resource: "time-off",
|
|
23818
|
-
action: "
|
|
23819
|
-
title: "
|
|
23820
|
-
description: "
|
|
23821
|
-
safety: "
|
|
23822
|
-
destructive:
|
|
24985
|
+
action: "delete-timeoff-for-user",
|
|
24986
|
+
title: "Delete Timeoff For User Time Off",
|
|
24987
|
+
description: "Delete Timeoff For User Time Off.",
|
|
24988
|
+
safety: "delete",
|
|
24989
|
+
destructive: true,
|
|
23823
24990
|
cli: {
|
|
23824
24991
|
group: ["time-off"],
|
|
23825
|
-
command: "
|
|
24992
|
+
command: "delete-timeoff-for-user",
|
|
23826
24993
|
interactive: "hidden"
|
|
23827
24994
|
},
|
|
23828
24995
|
mcp: { entityTool: "time-off" },
|
|
23829
24996
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23830
|
-
|
|
23831
|
-
|
|
23832
|
-
to: /* @__PURE__ */ unknown$1()
|
|
24997
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
24998
|
+
user_id: /* @__PURE__ */ number$2()
|
|
23833
24999
|
}),
|
|
23834
25000
|
execute: (input, { client }) => {
|
|
23835
25001
|
const data = input;
|
|
23836
|
-
return client.runGeneratedRequest("
|
|
25002
|
+
return client.runGeneratedRequest("deleteTimeoffForUser", () => callGeneratedRequest(deleteTimeoffForUser, [
|
|
23837
25003
|
client.httpClient,
|
|
23838
25004
|
client.organizationId,
|
|
23839
|
-
|
|
23840
|
-
data.
|
|
23841
|
-
data,
|
|
25005
|
+
data.user_id,
|
|
25006
|
+
data.payload ?? data.data ?? data,
|
|
23842
25007
|
void 0
|
|
23843
25008
|
]));
|
|
23844
25009
|
}
|
|
@@ -23874,37 +25039,6 @@ const generatedFocusOperations = [
|
|
|
23874
25039
|
]));
|
|
23875
25040
|
}
|
|
23876
25041
|
},
|
|
23877
|
-
{
|
|
23878
|
-
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
23879
|
-
family: "focus",
|
|
23880
|
-
resource: "time-off",
|
|
23881
|
-
action: "get-timeoffs-by-ghost-ids",
|
|
23882
|
-
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
23883
|
-
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
23884
|
-
safety: "read",
|
|
23885
|
-
destructive: false,
|
|
23886
|
-
cli: {
|
|
23887
|
-
group: ["time-off"],
|
|
23888
|
-
command: "get-timeoffs-by-ghost-ids",
|
|
23889
|
-
interactive: "hidden"
|
|
23890
|
-
},
|
|
23891
|
-
mcp: { entityTool: "time-off" },
|
|
23892
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23893
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23894
|
-
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
23895
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
23896
|
-
}),
|
|
23897
|
-
execute: (input, { client }) => {
|
|
23898
|
-
const data = input;
|
|
23899
|
-
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
23900
|
-
client.httpClient,
|
|
23901
|
-
client.organizationId,
|
|
23902
|
-
client.workspaceIdNumber,
|
|
23903
|
-
data,
|
|
23904
|
-
void 0
|
|
23905
|
-
]));
|
|
23906
|
-
}
|
|
23907
|
-
},
|
|
23908
25042
|
{
|
|
23909
25043
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
23910
25044
|
family: "focus",
|
|
@@ -23935,37 +25069,6 @@ const generatedFocusOperations = [
|
|
|
23935
25069
|
]));
|
|
23936
25070
|
}
|
|
23937
25071
|
},
|
|
23938
|
-
{
|
|
23939
|
-
id: "focus.time-off.update-timeoff-for-ghost",
|
|
23940
|
-
family: "focus",
|
|
23941
|
-
resource: "time-off",
|
|
23942
|
-
action: "update-timeoff-for-ghost",
|
|
23943
|
-
title: "Update Timeoff For Ghost Time Off",
|
|
23944
|
-
description: "Update Timeoff For Ghost Time Off.",
|
|
23945
|
-
safety: "update",
|
|
23946
|
-
destructive: false,
|
|
23947
|
-
cli: {
|
|
23948
|
-
group: ["time-off"],
|
|
23949
|
-
command: "update-timeoff-for-ghost",
|
|
23950
|
-
interactive: "hidden"
|
|
23951
|
-
},
|
|
23952
|
-
mcp: { entityTool: "time-off" },
|
|
23953
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23954
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
23955
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
23956
|
-
}),
|
|
23957
|
-
execute: (input, { client }) => {
|
|
23958
|
-
const data = input;
|
|
23959
|
-
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
23960
|
-
client.httpClient,
|
|
23961
|
-
client.organizationId,
|
|
23962
|
-
client.workspaceIdNumber,
|
|
23963
|
-
data.ghost_id,
|
|
23964
|
-
data.payload ?? data.data ?? data,
|
|
23965
|
-
void 0
|
|
23966
|
-
]));
|
|
23967
|
-
}
|
|
23968
|
-
},
|
|
23969
25072
|
{
|
|
23970
25073
|
id: "focus.time-off.update-timeoff-for-user",
|
|
23971
25074
|
family: "focus",
|
|
@@ -24926,6 +26029,56 @@ const generatedFocusOperations = [
|
|
|
24926
26029
|
return client.listOrgUsers(data);
|
|
24927
26030
|
}
|
|
24928
26031
|
},
|
|
26032
|
+
{
|
|
26033
|
+
id: "focus.users.settings-email-unsubscribe",
|
|
26034
|
+
family: "focus",
|
|
26035
|
+
resource: "users",
|
|
26036
|
+
action: "settings-email-unsubscribe",
|
|
26037
|
+
title: "Settings Email Unsubscribe Users",
|
|
26038
|
+
description: "Settings Email Unsubscribe Users.",
|
|
26039
|
+
safety: "update",
|
|
26040
|
+
destructive: false,
|
|
26041
|
+
cli: {
|
|
26042
|
+
group: ["users", "settings"],
|
|
26043
|
+
command: "email-unsubscribe",
|
|
26044
|
+
interactive: "default"
|
|
26045
|
+
},
|
|
26046
|
+
mcp: { entityTool: "users" },
|
|
26047
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26048
|
+
execute: (input, { client }) => {
|
|
26049
|
+
const data = input;
|
|
26050
|
+
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26051
|
+
client.httpClient,
|
|
26052
|
+
data.token,
|
|
26053
|
+
void 0
|
|
26054
|
+
]));
|
|
26055
|
+
}
|
|
26056
|
+
},
|
|
26057
|
+
{
|
|
26058
|
+
id: "focus.users.settings-email-unsubscribe-page",
|
|
26059
|
+
family: "focus",
|
|
26060
|
+
resource: "users",
|
|
26061
|
+
action: "settings-email-unsubscribe-page",
|
|
26062
|
+
title: "Settings Email Unsubscribe Page Users",
|
|
26063
|
+
description: "Settings Email Unsubscribe Page Users.",
|
|
26064
|
+
safety: "read",
|
|
26065
|
+
destructive: false,
|
|
26066
|
+
cli: {
|
|
26067
|
+
group: ["users", "settings"],
|
|
26068
|
+
command: "email-unsubscribe-page",
|
|
26069
|
+
interactive: "available"
|
|
26070
|
+
},
|
|
26071
|
+
mcp: { entityTool: "users" },
|
|
26072
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26073
|
+
execute: (input, { client }) => {
|
|
26074
|
+
const data = input;
|
|
26075
|
+
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26076
|
+
client.httpClient,
|
|
26077
|
+
data.token,
|
|
26078
|
+
void 0
|
|
26079
|
+
]));
|
|
26080
|
+
}
|
|
26081
|
+
},
|
|
24929
26082
|
{
|
|
24930
26083
|
id: "focus.users.settings-list",
|
|
24931
26084
|
family: "focus",
|
|
@@ -24987,6 +26140,9 @@ const generatedFocusOperations = [
|
|
|
24987
26140
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24988
26141
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24989
26142
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26143
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26144
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26145
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24990
26146
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24991
26147
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24992
26148
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24997,6 +26153,7 @@ const generatedFocusOperations = [
|
|
|
24997
26153
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24998
26154
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24999
26155
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26156
|
+
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25000
26157
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25001
26158
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25002
26159
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -25098,37 +26255,6 @@ const generatedFocusOperations = [
|
|
|
25098
26255
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25099
26256
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
25100
26257
|
},
|
|
25101
|
-
{
|
|
25102
|
-
id: "focus.working-hours.create-for-ghost",
|
|
25103
|
-
family: "focus",
|
|
25104
|
-
resource: "working-hours",
|
|
25105
|
-
action: "create-for-ghost",
|
|
25106
|
-
title: "Create For Ghost Working Hours",
|
|
25107
|
-
description: "Create For Ghost Working Hours.",
|
|
25108
|
-
safety: "create",
|
|
25109
|
-
destructive: false,
|
|
25110
|
-
cli: {
|
|
25111
|
-
group: ["working-hours"],
|
|
25112
|
-
command: "create-for-ghost",
|
|
25113
|
-
interactive: "hidden"
|
|
25114
|
-
},
|
|
25115
|
-
mcp: { entityTool: "working-hours" },
|
|
25116
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25117
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
25118
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
25119
|
-
}),
|
|
25120
|
-
execute: (input, { client }) => {
|
|
25121
|
-
const data = input;
|
|
25122
|
-
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
25123
|
-
client.httpClient,
|
|
25124
|
-
client.organizationId,
|
|
25125
|
-
client.workspaceIdNumber,
|
|
25126
|
-
data.ghost_id,
|
|
25127
|
-
data.payload ?? data.data ?? data,
|
|
25128
|
-
void 0
|
|
25129
|
-
]));
|
|
25130
|
-
}
|
|
25131
|
-
},
|
|
25132
26258
|
{
|
|
25133
26259
|
id: "focus.working-hours.create-for-user",
|
|
25134
26260
|
family: "focus",
|
|
@@ -25159,37 +26285,6 @@ const generatedFocusOperations = [
|
|
|
25159
26285
|
]));
|
|
25160
26286
|
}
|
|
25161
26287
|
},
|
|
25162
|
-
{
|
|
25163
|
-
id: "focus.working-hours.delete-for-ghost",
|
|
25164
|
-
family: "focus",
|
|
25165
|
-
resource: "working-hours",
|
|
25166
|
-
action: "delete-for-ghost",
|
|
25167
|
-
title: "Delete For Ghost Working Hours",
|
|
25168
|
-
description: "Delete For Ghost Working Hours.",
|
|
25169
|
-
safety: "delete",
|
|
25170
|
-
destructive: true,
|
|
25171
|
-
cli: {
|
|
25172
|
-
group: ["working-hours"],
|
|
25173
|
-
command: "delete-for-ghost",
|
|
25174
|
-
interactive: "hidden"
|
|
25175
|
-
},
|
|
25176
|
-
mcp: { entityTool: "working-hours" },
|
|
25177
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25178
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
25179
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
25180
|
-
}),
|
|
25181
|
-
execute: (input, { client }) => {
|
|
25182
|
-
const data = input;
|
|
25183
|
-
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
25184
|
-
client.httpClient,
|
|
25185
|
-
client.organizationId,
|
|
25186
|
-
client.workspaceIdNumber,
|
|
25187
|
-
data.ghost_id,
|
|
25188
|
-
data.payload ?? data.data ?? data,
|
|
25189
|
-
void 0
|
|
25190
|
-
]));
|
|
25191
|
-
}
|
|
25192
|
-
},
|
|
25193
26288
|
{
|
|
25194
26289
|
id: "focus.working-hours.delete-for-user",
|
|
25195
26290
|
family: "focus",
|
|
@@ -25220,33 +26315,6 @@ const generatedFocusOperations = [
|
|
|
25220
26315
|
]));
|
|
25221
26316
|
}
|
|
25222
26317
|
},
|
|
25223
|
-
{
|
|
25224
|
-
id: "focus.working-hours.get-for-ghost",
|
|
25225
|
-
family: "focus",
|
|
25226
|
-
resource: "working-hours",
|
|
25227
|
-
action: "get-for-ghost",
|
|
25228
|
-
title: "Get For Ghost Working Hours",
|
|
25229
|
-
description: "Get For Ghost Working Hours.",
|
|
25230
|
-
safety: "read",
|
|
25231
|
-
destructive: false,
|
|
25232
|
-
cli: {
|
|
25233
|
-
group: ["working-hours"],
|
|
25234
|
-
command: "get-for-ghost",
|
|
25235
|
-
interactive: "available"
|
|
25236
|
-
},
|
|
25237
|
-
mcp: { entityTool: "working-hours" },
|
|
25238
|
-
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
25239
|
-
execute: (input, { client }) => {
|
|
25240
|
-
const data = input;
|
|
25241
|
-
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
25242
|
-
client.httpClient,
|
|
25243
|
-
client.organizationId,
|
|
25244
|
-
client.workspaceIdNumber,
|
|
25245
|
-
data.ghost_id,
|
|
25246
|
-
void 0
|
|
25247
|
-
]));
|
|
25248
|
-
}
|
|
25249
|
-
},
|
|
25250
26318
|
{
|
|
25251
26319
|
id: "focus.working-hours.get-for-user",
|
|
25252
26320
|
family: "focus",
|
|
@@ -25273,37 +26341,6 @@ const generatedFocusOperations = [
|
|
|
25273
26341
|
]));
|
|
25274
26342
|
}
|
|
25275
26343
|
},
|
|
25276
|
-
{
|
|
25277
|
-
id: "focus.working-hours.update-for-ghost",
|
|
25278
|
-
family: "focus",
|
|
25279
|
-
resource: "working-hours",
|
|
25280
|
-
action: "update-for-ghost",
|
|
25281
|
-
title: "Update For Ghost Working Hours",
|
|
25282
|
-
description: "Update For Ghost Working Hours.",
|
|
25283
|
-
safety: "update",
|
|
25284
|
-
destructive: false,
|
|
25285
|
-
cli: {
|
|
25286
|
-
group: ["working-hours"],
|
|
25287
|
-
command: "update-for-ghost",
|
|
25288
|
-
interactive: "hidden"
|
|
25289
|
-
},
|
|
25290
|
-
mcp: { entityTool: "working-hours" },
|
|
25291
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25292
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
25293
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
25294
|
-
}),
|
|
25295
|
-
execute: (input, { client }) => {
|
|
25296
|
-
const data = input;
|
|
25297
|
-
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
25298
|
-
client.httpClient,
|
|
25299
|
-
client.organizationId,
|
|
25300
|
-
client.workspaceIdNumber,
|
|
25301
|
-
data.ghost_id,
|
|
25302
|
-
data.payload ?? data.data ?? data,
|
|
25303
|
-
void 0
|
|
25304
|
-
]));
|
|
25305
|
-
}
|
|
25306
|
-
},
|
|
25307
26344
|
{
|
|
25308
26345
|
id: "focus.working-hours.update-for-user",
|
|
25309
26346
|
family: "focus",
|
|
@@ -25378,6 +26415,50 @@ const generatedFocusOperations = [
|
|
|
25378
26415
|
void 0
|
|
25379
26416
|
]))
|
|
25380
26417
|
},
|
|
26418
|
+
{
|
|
26419
|
+
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
26420
|
+
family: "focus",
|
|
26421
|
+
resource: "workspace-settings",
|
|
26422
|
+
action: "get-workspace-export-branding",
|
|
26423
|
+
title: "Get Workspace Export Branding Workspace Settings",
|
|
26424
|
+
description: "Get Workspace Export Branding Workspace Settings.",
|
|
26425
|
+
safety: "read",
|
|
26426
|
+
destructive: false,
|
|
26427
|
+
cli: {
|
|
26428
|
+
group: ["workspace-settings"],
|
|
26429
|
+
command: "get-workspace-export-branding",
|
|
26430
|
+
interactive: "hidden"
|
|
26431
|
+
},
|
|
26432
|
+
mcp: { entityTool: "workspace-settings" },
|
|
26433
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26434
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
26435
|
+
client.httpClient,
|
|
26436
|
+
client.workspaceIdNumber,
|
|
26437
|
+
void 0
|
|
26438
|
+
]))
|
|
26439
|
+
},
|
|
26440
|
+
{
|
|
26441
|
+
id: "focus.workspace-settings.get-workspace-watermark",
|
|
26442
|
+
family: "focus",
|
|
26443
|
+
resource: "workspace-settings",
|
|
26444
|
+
action: "get-workspace-watermark",
|
|
26445
|
+
title: "Get Workspace Watermark Workspace Settings",
|
|
26446
|
+
description: "Get Workspace Watermark Workspace Settings.",
|
|
26447
|
+
safety: "read",
|
|
26448
|
+
destructive: false,
|
|
26449
|
+
cli: {
|
|
26450
|
+
group: ["workspace-settings"],
|
|
26451
|
+
command: "get-workspace-watermark",
|
|
26452
|
+
interactive: "hidden"
|
|
26453
|
+
},
|
|
26454
|
+
mcp: { entityTool: "workspace-settings" },
|
|
26455
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26456
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
26457
|
+
client.httpClient,
|
|
26458
|
+
client.workspaceIdNumber,
|
|
26459
|
+
void 0
|
|
26460
|
+
]))
|
|
26461
|
+
},
|
|
25381
26462
|
{
|
|
25382
26463
|
id: "focus.workspace-settings.list",
|
|
25383
26464
|
family: "focus",
|
|
@@ -25452,6 +26533,32 @@ const generatedFocusOperations = [
|
|
|
25452
26533
|
]));
|
|
25453
26534
|
}
|
|
25454
26535
|
},
|
|
26536
|
+
{
|
|
26537
|
+
id: "focus.workspace-settings.update-workspace-watermark",
|
|
26538
|
+
family: "focus",
|
|
26539
|
+
resource: "workspace-settings",
|
|
26540
|
+
action: "update-workspace-watermark",
|
|
26541
|
+
title: "Update Workspace Watermark Workspace Settings",
|
|
26542
|
+
description: "Update Workspace Watermark Workspace Settings.",
|
|
26543
|
+
safety: "update",
|
|
26544
|
+
destructive: false,
|
|
26545
|
+
cli: {
|
|
26546
|
+
group: ["workspace-settings"],
|
|
26547
|
+
command: "update-workspace-watermark",
|
|
26548
|
+
interactive: "default"
|
|
26549
|
+
},
|
|
26550
|
+
mcp: { entityTool: "workspace-settings" },
|
|
26551
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
26552
|
+
execute: (input, { client }) => {
|
|
26553
|
+
const data = input;
|
|
26554
|
+
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
26555
|
+
client.httpClient,
|
|
26556
|
+
client.workspaceIdNumber,
|
|
26557
|
+
data.payload ?? data.data ?? data,
|
|
26558
|
+
void 0
|
|
26559
|
+
]));
|
|
26560
|
+
}
|
|
26561
|
+
},
|
|
25455
26562
|
{
|
|
25456
26563
|
id: "focus.workspace.get-context",
|
|
25457
26564
|
family: "focus",
|
|
@@ -27082,4 +28189,4 @@ Common commands:
|
|
|
27082
28189
|
//#endregion
|
|
27083
28190
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27084
28191
|
|
|
27085
|
-
//# sourceMappingURL=program-
|
|
28192
|
+
//# sourceMappingURL=program-B7Lcg1Uv.js.map
|