@togglhq/cli 1.11.13 → 1.11.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/index.js +1 -1
- package/build/{program-B7Lcg1Uv.js → program-CUaGcD4e.js} +751 -1858
- package/build/program.js +1 -1
- package/package.json +1 -1
|
@@ -9019,7 +9019,11 @@ function pipe(...pipe$1) {
|
|
|
9019
9019
|
}
|
|
9020
9020
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
9021
9021
|
id: /* @__PURE__ */ number(),
|
|
9022
|
-
type: /* @__PURE__ */ picklist([
|
|
9022
|
+
type: /* @__PURE__ */ picklist([
|
|
9023
|
+
"user",
|
|
9024
|
+
"ghost",
|
|
9025
|
+
"team"
|
|
9026
|
+
])
|
|
9023
9027
|
});
|
|
9024
9028
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
9025
9029
|
id: /* @__PURE__ */ number(),
|
|
@@ -9061,8 +9065,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
9061
9065
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9062
9066
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
9063
9067
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
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.")))
|
|
9068
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
9066
9069
|
});
|
|
9067
9070
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
9068
9071
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9135,7 +9138,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
9135
9138
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
9136
9139
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
9137
9140
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9138
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
9141
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9139
9142
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
9140
9143
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9141
9144
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -9143,7 +9146,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
9143
9146
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9144
9147
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9145
9148
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9146
|
-
|
|
9149
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
9147
9150
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9148
9151
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9149
9152
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9153,7 +9156,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
9153
9156
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9154
9157
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9155
9158
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9156
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9157
9159
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9158
9160
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9159
9161
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -9197,7 +9199,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9197
9199
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
9198
9200
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
9199
9201
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9200
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
9202
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9201
9203
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
9202
9204
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9203
9205
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -9205,7 +9207,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9205
9207
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9206
9208
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9207
9209
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9208
|
-
|
|
9210
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
9209
9211
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9210
9212
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9211
9213
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -9216,7 +9218,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9216
9218
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9217
9219
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9218
9220
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9219
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9220
9221
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9221
9222
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9222
9223
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -9371,7 +9372,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
|
|
|
9371
9372
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9372
9373
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9373
9374
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9374
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
9375
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
9375
9376
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9376
9377
|
});
|
|
9377
9378
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
@@ -9388,8 +9389,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
9388
9389
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9389
9390
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9390
9391
|
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."))),
|
|
9393
9392
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9394
9393
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9395
9394
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9399,7 +9398,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
9399
9398
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
9400
9399
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9401
9400
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9402
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
9401
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
9403
9402
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9404
9403
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9405
9404
|
});
|
|
@@ -9522,7 +9521,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9522
9521
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9523
9522
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9524
9523
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
9525
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
9524
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
9526
9525
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9527
9526
|
})),
|
|
9528
9527
|
page: /* @__PURE__ */ number(),
|
|
@@ -9554,8 +9553,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9554
9553
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9555
9554
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9556
9555
|
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."))),
|
|
9559
9556
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9560
9557
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9561
9558
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9567,7 +9564,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9567
9564
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
9568
9565
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9569
9566
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9570
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
9567
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
9571
9568
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9572
9569
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9573
9570
|
})),
|
|
@@ -9579,15 +9576,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
9579
9576
|
id: /* @__PURE__ */ number(),
|
|
9580
9577
|
name: /* @__PURE__ */ string(),
|
|
9581
9578
|
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."))),
|
|
9583
9579
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9584
9580
|
deleted_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.")))
|
|
9581
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9591
9582
|
});
|
|
9592
9583
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
9593
9584
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -9598,8 +9589,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
9598
9589
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
9599
9590
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
9600
9591
|
account_locked_at: /* @__PURE__ */ string(),
|
|
9601
|
-
accounts_role_id: /* @__PURE__ */ number(),
|
|
9602
9592
|
active: /* @__PURE__ */ boolean(),
|
|
9593
|
+
admin: /* @__PURE__ */ boolean(),
|
|
9603
9594
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
9604
9595
|
created_at: /* @__PURE__ */ string(),
|
|
9605
9596
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -9648,9 +9639,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
9648
9639
|
track_role_id: /* @__PURE__ */ number(),
|
|
9649
9640
|
work_role_id: /* @__PURE__ */ number(),
|
|
9650
9641
|
workspace_user_id: /* @__PURE__ */ number()
|
|
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.")))
|
|
9642
|
+
}))
|
|
9654
9643
|
});
|
|
9655
9644
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9656
9645
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -9727,7 +9716,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9727
9716
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9728
9717
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9729
9718
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
9730
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
9719
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9720
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9731
9721
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9732
9722
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9733
9723
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -9743,7 +9733,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9743
9733
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9744
9734
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9745
9735
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9746
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9747
9736
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9748
9737
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9749
9738
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9753,23 +9742,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9753
9742
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9754
9743
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
9755
9744
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
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.")))
|
|
9745
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
9758
9746
|
});
|
|
9759
9747
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9760
9748
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9761
9749
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
9762
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9763
9750
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
9764
9751
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9765
9752
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9766
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
9753
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9767
9754
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9768
9755
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
9769
9756
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9770
9757
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9771
9758
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
9772
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
9759
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9760
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9773
9761
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9774
9762
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9775
9763
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9786,8 +9774,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9786
9774
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9787
9775
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9788
9776
|
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()),
|
|
9791
9777
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9792
9778
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9793
9779
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9796,17 +9782,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9796
9782
|
});
|
|
9797
9783
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
9798
9784
|
id: /* @__PURE__ */ number(),
|
|
9799
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9800
9785
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
9801
9786
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9802
9787
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9803
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
9788
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9804
9789
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9805
9790
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
9806
9791
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9807
9792
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9808
9793
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
9809
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
9794
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9795
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9810
9796
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9811
9797
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9812
9798
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9823,8 +9809,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
9823
9809
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9824
9810
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9825
9811
|
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()),
|
|
9828
9812
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9829
9813
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9830
9814
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9987,7 +9971,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9987
9971
|
})
|
|
9988
9972
|
}).json();
|
|
9989
9973
|
}
|
|
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
|
|
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) {
|
|
9991
9975
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9992
9976
|
signal,
|
|
9993
9977
|
searchParams: buildSearchParams$2({
|
|
@@ -10007,10 +9991,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
10007
9991
|
include_working_hours,
|
|
10008
9992
|
include_rates,
|
|
10009
9993
|
pinned_ids,
|
|
10010
|
-
has_group
|
|
10011
|
-
cf_filter,
|
|
10012
|
-
include_custom_fields,
|
|
10013
|
-
include_calendar_integration
|
|
9994
|
+
has_group
|
|
10014
9995
|
}, true)
|
|
10015
9996
|
});
|
|
10016
9997
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -10029,7 +10010,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
10029
10010
|
}
|
|
10030
10011
|
//#endregion
|
|
10031
10012
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
10032
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id
|
|
10013
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
10033
10014
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
10034
10015
|
signal,
|
|
10035
10016
|
searchParams: buildSearchParams$2({
|
|
@@ -10037,10 +10018,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
10037
10018
|
page,
|
|
10038
10019
|
per_page,
|
|
10039
10020
|
order_by,
|
|
10040
|
-
tag_id
|
|
10041
|
-
include_usage,
|
|
10042
|
-
include_archived,
|
|
10043
|
-
archived
|
|
10021
|
+
tag_id
|
|
10044
10022
|
})
|
|
10045
10023
|
}).json();
|
|
10046
10024
|
}
|
|
@@ -10050,42 +10028,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
10050
10028
|
json: data
|
|
10051
10029
|
}).json();
|
|
10052
10030
|
}
|
|
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
|
-
}
|
|
10089
10031
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
10090
10032
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
10091
10033
|
}
|
|
@@ -10098,18 +10040,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
10098
10040
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
10099
10041
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
10100
10042
|
}
|
|
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
|
-
}
|
|
10104
10043
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
10105
10044
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
10106
10045
|
}
|
|
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
|
-
}
|
|
10110
10046
|
//#endregion
|
|
10111
10047
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
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,
|
|
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) {
|
|
10113
10049
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10114
10050
|
signal,
|
|
10115
10051
|
searchParams: buildSearchParams$2({
|
|
@@ -10131,7 +10067,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
10131
10067
|
include_rates,
|
|
10132
10068
|
include_rollover,
|
|
10133
10069
|
include_idle_recurring_templates,
|
|
10134
|
-
collapse_recurring,
|
|
10135
10070
|
include_drafts,
|
|
10136
10071
|
include_locked_private,
|
|
10137
10072
|
start_date,
|
|
@@ -10362,7 +10297,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10362
10297
|
}
|
|
10363
10298
|
//#endregion
|
|
10364
10299
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
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
|
|
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, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
|
|
10366
10301
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10367
10302
|
signal,
|
|
10368
10303
|
searchParams: buildSearchParams$2({
|
|
@@ -10410,14 +10345,12 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10410
10345
|
recurring_task_ids,
|
|
10411
10346
|
client_id,
|
|
10412
10347
|
include_rates,
|
|
10348
|
+
include_ghost_assignees,
|
|
10413
10349
|
include_assignees,
|
|
10414
10350
|
include_parent_matches,
|
|
10351
|
+
assignee_ghost_id,
|
|
10415
10352
|
disable_aggregations,
|
|
10416
|
-
cf_filter
|
|
10417
|
-
recurring_occurrences_after,
|
|
10418
|
-
max_recurring_occurrences_after,
|
|
10419
|
-
recurring_task_read,
|
|
10420
|
-
include_projected_occurrences
|
|
10353
|
+
cf_filter
|
|
10421
10354
|
})
|
|
10422
10355
|
}).json();
|
|
10423
10356
|
}
|
|
@@ -10492,17 +10425,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10492
10425
|
})
|
|
10493
10426
|
}).json();
|
|
10494
10427
|
}
|
|
10495
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
10428
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10496
10429
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10497
10430
|
signal,
|
|
10498
10431
|
searchParams: buildSearchParams$2({
|
|
10499
10432
|
date_from,
|
|
10500
|
-
date_to
|
|
10501
|
-
skip_provider_refresh
|
|
10433
|
+
date_to
|
|
10502
10434
|
})
|
|
10503
10435
|
}).json();
|
|
10504
10436
|
}
|
|
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,
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10506
10438
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10507
10439
|
signal,
|
|
10508
10440
|
searchParams: buildSearchParams$2({
|
|
@@ -10515,18 +10447,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10515
10447
|
dates_overlap_end,
|
|
10516
10448
|
recurring_task_ids,
|
|
10517
10449
|
team_id,
|
|
10518
|
-
assignee_team_id,
|
|
10519
10450
|
assignee_user_id,
|
|
10520
10451
|
tag_id,
|
|
10521
|
-
|
|
10522
|
-
|
|
10523
|
-
max_recurring_occurrences_after,
|
|
10524
|
-
recurring_task_read,
|
|
10525
|
-
include_projected_occurrences
|
|
10452
|
+
include_ghost_assignees,
|
|
10453
|
+
include_assignees
|
|
10526
10454
|
})
|
|
10527
10455
|
}).json();
|
|
10528
10456
|
}
|
|
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,
|
|
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, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
|
|
10530
10458
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10531
10459
|
signal,
|
|
10532
10460
|
searchParams: buildSearchParams$2({
|
|
@@ -10570,19 +10498,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10570
10498
|
recurring,
|
|
10571
10499
|
recurring_task_ids,
|
|
10572
10500
|
client_id,
|
|
10501
|
+
include_ghost_assignees,
|
|
10573
10502
|
include_assignees,
|
|
10574
|
-
|
|
10575
|
-
|
|
10576
|
-
max_recurring_occurrences_after,
|
|
10577
|
-
recurring_task_read,
|
|
10578
|
-
include_projected_occurrences
|
|
10503
|
+
assignee_ghost_id,
|
|
10504
|
+
cf_filter
|
|
10579
10505
|
})
|
|
10580
10506
|
}).json();
|
|
10581
10507
|
}
|
|
10582
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
10508
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10583
10509
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
10584
10510
|
signal,
|
|
10585
|
-
searchParams: buildSearchParams$2({
|
|
10511
|
+
searchParams: buildSearchParams$2({
|
|
10512
|
+
include_ghost_assignees,
|
|
10513
|
+
include_assignees
|
|
10514
|
+
})
|
|
10586
10515
|
}).json();
|
|
10587
10516
|
}
|
|
10588
10517
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -10613,7 +10542,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
10613
10542
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
10614
10543
|
}).json();
|
|
10615
10544
|
}
|
|
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) {
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10617
10546
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
10618
10547
|
signal,
|
|
10619
10548
|
searchParams: buildSearchParams$2({
|
|
@@ -10626,17 +10555,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10626
10555
|
team_id,
|
|
10627
10556
|
assignee_user_id,
|
|
10628
10557
|
tag_id,
|
|
10558
|
+
include_ghost_assignees,
|
|
10629
10559
|
include_assignees
|
|
10630
10560
|
})
|
|
10631
10561
|
}).json();
|
|
10632
10562
|
}
|
|
10633
|
-
async function
|
|
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) {
|
|
10563
|
+
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10640
10564
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10641
10565
|
signal,
|
|
10642
10566
|
searchParams: buildSearchParams$2({
|
|
@@ -10649,6 +10573,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
10649
10573
|
team_id,
|
|
10650
10574
|
assignee_user_id,
|
|
10651
10575
|
tag_id,
|
|
10576
|
+
include_ghost_assignees,
|
|
10652
10577
|
include_assignees
|
|
10653
10578
|
})
|
|
10654
10579
|
}).json();
|
|
@@ -10772,24 +10697,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10772
10697
|
})
|
|
10773
10698
|
}).json();
|
|
10774
10699
|
}
|
|
10775
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10700
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10776
10701
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10777
10702
|
signal,
|
|
10778
|
-
json: data
|
|
10779
|
-
searchParams: buildSearchParams$2({
|
|
10780
|
-
from_recurring_task_id,
|
|
10781
|
-
return_occurrence
|
|
10782
|
-
})
|
|
10703
|
+
json: data
|
|
10783
10704
|
}).json();
|
|
10784
10705
|
}
|
|
10785
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10706
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10786
10707
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10787
10708
|
signal,
|
|
10788
|
-
json: data
|
|
10789
|
-
searchParams: buildSearchParams$2({
|
|
10790
|
-
from_recurring_task_id,
|
|
10791
|
-
return_occurrence
|
|
10792
|
-
})
|
|
10709
|
+
json: data
|
|
10793
10710
|
}).json();
|
|
10794
10711
|
}
|
|
10795
10712
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10840,7 +10757,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10840
10757
|
json: data
|
|
10841
10758
|
}).json();
|
|
10842
10759
|
}
|
|
10843
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
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) {
|
|
10844
10761
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10845
10762
|
signal,
|
|
10846
10763
|
searchParams: buildSearchParams$2({
|
|
@@ -10848,7 +10765,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10848
10765
|
date_to,
|
|
10849
10766
|
task_id,
|
|
10850
10767
|
status_id,
|
|
10851
|
-
project_id,
|
|
10852
10768
|
type,
|
|
10853
10769
|
order_by,
|
|
10854
10770
|
archived,
|
|
@@ -10857,12 +10773,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10857
10773
|
})
|
|
10858
10774
|
}).json();
|
|
10859
10775
|
}
|
|
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
|
-
}
|
|
10866
10776
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10867
10777
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10868
10778
|
signal,
|
|
@@ -10872,33 +10782,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
10872
10782
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10873
10783
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10874
10784
|
}
|
|
10875
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10785
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10876
10786
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10877
10787
|
signal,
|
|
10878
|
-
json: data
|
|
10879
|
-
searchParams: buildSearchParams$2({
|
|
10880
|
-
from_recurring_task_id,
|
|
10881
|
-
return_occurrence
|
|
10882
|
-
})
|
|
10788
|
+
json: data
|
|
10883
10789
|
}).json();
|
|
10884
10790
|
}
|
|
10885
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
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();
|
|
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}`, { signal }).json();
|
|
10893
10793
|
}
|
|
10894
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10794
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10895
10795
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10896
10796
|
signal,
|
|
10897
|
-
json: data
|
|
10898
|
-
searchParams: buildSearchParams$2({
|
|
10899
|
-
from_recurring_task_id,
|
|
10900
|
-
return_occurrence
|
|
10901
|
-
})
|
|
10797
|
+
json: data
|
|
10902
10798
|
}).json();
|
|
10903
10799
|
}
|
|
10904
10800
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -14744,31 +14640,12 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14744
14640
|
}
|
|
14745
14641
|
//#endregion
|
|
14746
14642
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14747
|
-
async function
|
|
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) {
|
|
14643
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14765
14644
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14766
14645
|
signal,
|
|
14767
14646
|
searchParams: buildSearchParams$2({
|
|
14768
14647
|
entity_type,
|
|
14769
14648
|
entity_id,
|
|
14770
|
-
project_id,
|
|
14771
|
-
custom_field_id,
|
|
14772
14649
|
action,
|
|
14773
14650
|
user_id,
|
|
14774
14651
|
page_size,
|
|
@@ -14921,23 +14798,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14921
14798
|
}
|
|
14922
14799
|
//#endregion
|
|
14923
14800
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14924
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
14801
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, ghost_id, private: private_, task_source, unit, include_drafts }, signal) {
|
|
14925
14802
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14926
14803
|
signal,
|
|
14927
14804
|
searchParams: buildSearchParams$2({
|
|
14805
|
+
user_id,
|
|
14928
14806
|
start_date,
|
|
14929
14807
|
end_date,
|
|
14930
|
-
|
|
14931
|
-
team_id,
|
|
14808
|
+
ghost_id,
|
|
14932
14809
|
private: private_,
|
|
14933
14810
|
task_source,
|
|
14934
14811
|
unit,
|
|
14935
|
-
include_drafts
|
|
14936
|
-
include_task_estimates
|
|
14812
|
+
include_drafts
|
|
14937
14813
|
})
|
|
14938
14814
|
}).json();
|
|
14939
14815
|
}
|
|
14940
14816
|
//#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
|
|
14941
14828
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
14942
14829
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
14943
14830
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -14988,15 +14875,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14988
14875
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14989
14876
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14990
14877
|
}
|
|
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
|
-
}
|
|
15000
14878
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
15001
14879
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
15002
14880
|
signal,
|
|
@@ -15029,12 +14907,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
15029
14907
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
15030
14908
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
15031
14909
|
}
|
|
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
|
-
}
|
|
15038
14910
|
//#endregion
|
|
15039
14911
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
15040
14912
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -15260,7 +15132,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15260
15132
|
}
|
|
15261
15133
|
//#endregion
|
|
15262
15134
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
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,
|
|
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) {
|
|
15264
15136
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15265
15137
|
signal,
|
|
15266
15138
|
searchParams: buildSearchParams$2({
|
|
@@ -15272,7 +15144,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15272
15144
|
include_group_totals,
|
|
15273
15145
|
include_unassigned,
|
|
15274
15146
|
archived,
|
|
15275
|
-
completed,
|
|
15276
15147
|
private: private_,
|
|
15277
15148
|
name,
|
|
15278
15149
|
client_id,
|
|
@@ -15284,7 +15155,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15284
15155
|
start_date,
|
|
15285
15156
|
end_date,
|
|
15286
15157
|
user_id,
|
|
15287
|
-
only_me,
|
|
15288
15158
|
include_drafts,
|
|
15289
15159
|
cf_filter
|
|
15290
15160
|
})
|
|
@@ -15304,6 +15174,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15304
15174
|
json: data
|
|
15305
15175
|
}).json();
|
|
15306
15176
|
}
|
|
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
|
+
}
|
|
15307
15180
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15308
15181
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15309
15182
|
}
|
|
@@ -15397,14 +15270,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
15397
15270
|
}
|
|
15398
15271
|
//#endregion
|
|
15399
15272
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
15400
|
-
async function
|
|
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) {
|
|
15273
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
|
|
15404
15274
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
15405
15275
|
signal,
|
|
15406
15276
|
json: data,
|
|
15407
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
15408
15277
|
searchParams: buildSearchParams$2({
|
|
15409
15278
|
response_format,
|
|
15410
15279
|
include_dicts
|
|
@@ -15428,36 +15297,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
15428
15297
|
json: data
|
|
15429
15298
|
}).json();
|
|
15430
15299
|
}
|
|
15431
|
-
async function
|
|
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) {
|
|
15300
|
+
async function getWorkloadReport(httpClient, workspace_id, data, signal) {
|
|
15438
15301
|
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`, {
|
|
15454
15302
|
signal,
|
|
15455
15303
|
json: data
|
|
15456
15304
|
}).json();
|
|
15457
15305
|
}
|
|
15458
|
-
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
15459
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
15460
|
-
}
|
|
15461
15306
|
//#endregion
|
|
15462
15307
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
15463
15308
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -15490,7 +15335,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15490
15335
|
}
|
|
15491
15336
|
//#endregion
|
|
15492
15337
|
//#region ../focus-queries/dist/search/requests.ts
|
|
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
|
|
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) {
|
|
15494
15339
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15495
15340
|
signal,
|
|
15496
15341
|
searchParams: buildSearchParams$2({
|
|
@@ -15502,56 +15347,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15502
15347
|
task_id,
|
|
15503
15348
|
include_drafts,
|
|
15504
15349
|
exclude_calendar_events,
|
|
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
|
|
15350
|
+
group_by_tags
|
|
15516
15351
|
})
|
|
15517
15352
|
}).json();
|
|
15518
15353
|
}
|
|
15519
15354
|
//#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
|
|
15555
15355
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15556
15356
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
15557
15357
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -15607,90 +15407,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15607
15407
|
}
|
|
15608
15408
|
//#endregion
|
|
15609
15409
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15610
|
-
async function
|
|
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) {
|
|
15410
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
|
|
15691
15411
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15692
15412
|
signal,
|
|
15693
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15694
15413
|
searchParams: buildSearchParams$2({
|
|
15695
15414
|
source,
|
|
15696
15415
|
priority,
|
|
@@ -15712,18 +15431,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15712
15431
|
end_date_to,
|
|
15713
15432
|
private: private_,
|
|
15714
15433
|
exclude_empty,
|
|
15715
|
-
|
|
15716
|
-
include_unmaterialized,
|
|
15717
|
-
collapse_recurring,
|
|
15434
|
+
include_ghosts,
|
|
15718
15435
|
include_assignees,
|
|
15719
15436
|
min_days,
|
|
15720
15437
|
include_drafts,
|
|
15721
15438
|
cf_filter,
|
|
15722
|
-
user_cf_filter,
|
|
15723
|
-
recurring_occurrences_after,
|
|
15724
|
-
max_recurring_occurrences_after,
|
|
15725
|
-
recurring_task_read,
|
|
15726
|
-
include_projected_occurrences,
|
|
15727
15439
|
page,
|
|
15728
15440
|
per_page,
|
|
15729
15441
|
order_by
|
|
@@ -15762,18 +15474,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
15762
15474
|
}).json();
|
|
15763
15475
|
}
|
|
15764
15476
|
//#endregion
|
|
15765
|
-
//#region ../focus-queries/dist/time-
|
|
15766
|
-
async function
|
|
15767
|
-
return await httpClient.
|
|
15477
|
+
//#region ../focus-queries/dist/time-log-suggestions/requests.ts
|
|
15478
|
+
async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
|
|
15479
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
|
|
15768
15480
|
signal,
|
|
15769
|
-
|
|
15770
|
-
|
|
15771
|
-
|
|
15772
|
-
|
|
15773
|
-
|
|
15774
|
-
|
|
15775
|
-
|
|
15776
|
-
})
|
|
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`, {
|
|
15486
|
+
signal,
|
|
15487
|
+
json: data
|
|
15777
15488
|
}).json();
|
|
15778
15489
|
}
|
|
15779
15490
|
//#endregion
|
|
@@ -15815,26 +15526,63 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15815
15526
|
json: data
|
|
15816
15527
|
}).json();
|
|
15817
15528
|
}
|
|
15818
|
-
|
|
15819
|
-
|
|
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`, {
|
|
15529
|
+
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
15530
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
15822
15531
|
signal,
|
|
15823
15532
|
searchParams: buildSearchParams$2({
|
|
15824
|
-
|
|
15825
|
-
|
|
15826
|
-
|
|
15533
|
+
ghost_ids,
|
|
15534
|
+
start_date,
|
|
15535
|
+
end_date
|
|
15827
15536
|
})
|
|
15828
15537
|
}).json();
|
|
15829
15538
|
}
|
|
15830
|
-
async function
|
|
15831
|
-
return await httpClient.
|
|
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}`, {
|
|
15541
|
+
signal,
|
|
15542
|
+
searchParams: buildSearchParams$2({
|
|
15543
|
+
from,
|
|
15544
|
+
to
|
|
15545
|
+
})
|
|
15546
|
+
}).json();
|
|
15547
|
+
}
|
|
15548
|
+
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15549
|
+
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15832
15550
|
signal,
|
|
15833
15551
|
json: data
|
|
15834
15552
|
}).json();
|
|
15835
15553
|
}
|
|
15836
|
-
async function
|
|
15837
|
-
return await httpClient.
|
|
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`, {
|
|
15580
|
+
signal,
|
|
15581
|
+
json: data
|
|
15582
|
+
}).json();
|
|
15583
|
+
}
|
|
15584
|
+
async function getTimesheetSetup(httpClient, organization_id, workspace_id, setup_id, signal) {
|
|
15585
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}`, { signal }).json();
|
|
15838
15586
|
}
|
|
15839
15587
|
async function updateTimesheetSetup(httpClient, organization_id, workspace_id, setup_id, data, signal) {
|
|
15840
15588
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}`, {
|
|
@@ -15959,12 +15707,6 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15959
15707
|
}
|
|
15960
15708
|
//#endregion
|
|
15961
15709
|
//#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
|
-
}
|
|
15968
15710
|
async function getUserSettings(httpClient, signal) {
|
|
15969
15711
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15970
15712
|
}
|
|
@@ -16013,6 +15755,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
16013
15755
|
json: data
|
|
16014
15756
|
}).json();
|
|
16015
15757
|
}
|
|
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
|
+
}
|
|
16016
15779
|
//#endregion
|
|
16017
15780
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
16018
15781
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -16029,9 +15792,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
16029
15792
|
json: data
|
|
16030
15793
|
}).json();
|
|
16031
15794
|
}
|
|
16032
|
-
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
16033
|
-
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
16034
|
-
}
|
|
16035
15795
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
16036
15796
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
16037
15797
|
}
|
|
@@ -16044,15 +15804,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
16044
15804
|
json: data
|
|
16045
15805
|
}).json();
|
|
16046
15806
|
}
|
|
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
|
-
}
|
|
16056
15807
|
//#endregion
|
|
16057
15808
|
//#region ../operations/build/index.public.js
|
|
16058
15809
|
function callGeneratedRequest(request, args) {
|
|
@@ -16187,48 +15938,6 @@ const generatedFocusOperations = [
|
|
|
16187
15938
|
void 0
|
|
16188
15939
|
]))
|
|
16189
15940
|
},
|
|
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
|
-
},
|
|
16232
15941
|
{
|
|
16233
15942
|
id: "focus.audit-log.list",
|
|
16234
15943
|
family: "focus",
|
|
@@ -16246,7 +15955,6 @@ const generatedFocusOperations = [
|
|
|
16246
15955
|
mcp: { entityTool: "audit-log" },
|
|
16247
15956
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16248
15957
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16249
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16250
15958
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16251
15959
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16252
15960
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16254,7 +15962,6 @@ const generatedFocusOperations = [
|
|
|
16254
15962
|
from: /* @__PURE__ */ string$1(),
|
|
16255
15963
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16256
15964
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16257
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16258
15965
|
to: /* @__PURE__ */ string$1(),
|
|
16259
15966
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16260
15967
|
}),
|
|
@@ -16288,13 +15995,12 @@ const generatedFocusOperations = [
|
|
|
16288
15995
|
mcp: { entityTool: "capacities" },
|
|
16289
15996
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16290
15997
|
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
15998
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
16291
15999
|
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
16292
16000
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
16293
|
-
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
16294
16001
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16295
16002
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16296
16003
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16297
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16298
16004
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16299
16005
|
user_id: /* @__PURE__ */ number$2()
|
|
16300
16006
|
}),
|
|
@@ -16310,6 +16016,54 @@ const generatedFocusOperations = [
|
|
|
16310
16016
|
]));
|
|
16311
16017
|
}
|
|
16312
16018
|
},
|
|
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
|
+
},
|
|
16313
16067
|
{
|
|
16314
16068
|
id: "focus.clients.create",
|
|
16315
16069
|
family: "focus",
|
|
@@ -16504,7 +16258,8 @@ const generatedFocusOperations = [
|
|
|
16504
16258
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
16505
16259
|
start_at: apiDateTimeString,
|
|
16506
16260
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16507
|
-
})))
|
|
16261
|
+
}))),
|
|
16262
|
+
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16508
16263
|
}) }),
|
|
16509
16264
|
execute: (input, { client }) => {
|
|
16510
16265
|
const data = input;
|
|
@@ -16559,7 +16314,6 @@ const generatedFocusOperations = [
|
|
|
16559
16314
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16560
16315
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16561
16316
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16562
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16563
16317
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16564
16318
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16565
16319
|
}),
|
|
@@ -16592,7 +16346,6 @@ const generatedFocusOperations = [
|
|
|
16592
16346
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16593
16347
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16594
16348
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16595
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16596
16349
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16597
16350
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16598
16351
|
}))),
|
|
@@ -16648,11 +16401,7 @@ const generatedFocusOperations = [
|
|
|
16648
16401
|
},
|
|
16649
16402
|
mcp: { entityTool: "custom-fields" },
|
|
16650
16403
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16651
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16652
|
-
"project",
|
|
16653
|
-
"task",
|
|
16654
|
-
"user"
|
|
16655
|
-
]),
|
|
16404
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
16656
16405
|
field_type: /* @__PURE__ */ picklist$1([
|
|
16657
16406
|
"select",
|
|
16658
16407
|
"multi_select",
|
|
@@ -16735,33 +16484,6 @@ const generatedFocusOperations = [
|
|
|
16735
16484
|
]));
|
|
16736
16485
|
}
|
|
16737
16486
|
},
|
|
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
|
-
},
|
|
16765
16487
|
{
|
|
16766
16488
|
id: "focus.custom-fields.list",
|
|
16767
16489
|
family: "focus",
|
|
@@ -16931,37 +16653,6 @@ const generatedFocusOperations = [
|
|
|
16931
16653
|
]));
|
|
16932
16654
|
}
|
|
16933
16655
|
},
|
|
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
|
-
},
|
|
16965
16656
|
{
|
|
16966
16657
|
id: "focus.custom-fields.update",
|
|
16967
16658
|
family: "focus",
|
|
@@ -17043,11 +16734,7 @@ const generatedFocusOperations = [
|
|
|
17043
16734
|
},
|
|
17044
16735
|
mcp: { entityTool: "custom-fields" },
|
|
17045
16736
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17046
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
17047
|
-
"project",
|
|
17048
|
-
"task",
|
|
17049
|
-
"user"
|
|
17050
|
-
]),
|
|
16737
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
17051
16738
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
17052
16739
|
}) }),
|
|
17053
16740
|
execute: (input, { client }) => {
|
|
@@ -17061,37 +16748,6 @@ const generatedFocusOperations = [
|
|
|
17061
16748
|
]));
|
|
17062
16749
|
}
|
|
17063
16750
|
},
|
|
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
|
-
},
|
|
17095
16751
|
{
|
|
17096
16752
|
id: "focus.goals.create",
|
|
17097
16753
|
family: "focus",
|
|
@@ -17108,7 +16764,13 @@ const generatedFocusOperations = [
|
|
|
17108
16764
|
},
|
|
17109
16765
|
mcp: { entityTool: "goals" },
|
|
17110
16766
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16767
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17111
16768
|
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()),
|
|
17112
16774
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17113
16775
|
"daily",
|
|
17114
16776
|
"weekly",
|
|
@@ -17116,18 +16778,12 @@ const generatedFocusOperations = [
|
|
|
17116
16778
|
"monthly"
|
|
17117
16779
|
]),
|
|
17118
16780
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16781
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17119
16782
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17120
|
-
|
|
16783
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16784
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17121
16785
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
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()))
|
|
16786
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17131
16787
|
}) }),
|
|
17132
16788
|
execute: (input, { client }) => {
|
|
17133
16789
|
const data = input;
|
|
@@ -17233,6 +16889,13 @@ const generatedFocusOperations = [
|
|
|
17233
16889
|
},
|
|
17234
16890
|
mcp: { entityTool: "goals" },
|
|
17235
16891
|
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()),
|
|
17236
16899
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17237
16900
|
"daily",
|
|
17238
16901
|
"weekly",
|
|
@@ -17240,19 +16903,12 @@ const generatedFocusOperations = [
|
|
|
17240
16903
|
"monthly"
|
|
17241
16904
|
]),
|
|
17242
16905
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17243
|
-
|
|
16906
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16907
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
16908
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16909
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17244
16910
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17245
|
-
|
|
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()))
|
|
16911
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17256
16912
|
}) }),
|
|
17257
16913
|
execute: (input, { client }) => {
|
|
17258
16914
|
const data = input;
|
|
@@ -17311,22 +16967,10 @@ const generatedFocusOperations = [
|
|
|
17311
16967
|
goal_id: /* @__PURE__ */ number$2(),
|
|
17312
16968
|
payload: /* @__PURE__ */ looseObject({
|
|
17313
16969
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17314
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17315
16970
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17316
16971
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17317
16972
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17318
|
-
|
|
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()))
|
|
16973
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
17330
16974
|
})
|
|
17331
16975
|
}),
|
|
17332
16976
|
execute: (input, { client }) => {
|
|
@@ -18219,17 +17863,9 @@ const generatedFocusOperations = [
|
|
|
18219
17863
|
mcp: { entityTool: "projects" },
|
|
18220
17864
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18221
17865
|
payload: /* @__PURE__ */ looseObject({
|
|
18222
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18223
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18224
17866
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18225
17867
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18226
17868
|
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()),
|
|
18233
17869
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18234
17870
|
}),
|
|
18235
17871
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18667,7 +18303,6 @@ const generatedFocusOperations = [
|
|
|
18667
18303
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18668
18304
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18669
18305
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18670
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18671
18306
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18672
18307
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18673
18308
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -18675,7 +18310,6 @@ const generatedFocusOperations = [
|
|
|
18675
18310
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18676
18311
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18677
18312
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18678
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18679
18313
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18680
18314
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18681
18315
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -18775,6 +18409,29 @@ const generatedFocusOperations = [
|
|
|
18775
18409
|
]));
|
|
18776
18410
|
}
|
|
18777
18411
|
},
|
|
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
|
+
},
|
|
18778
18435
|
{
|
|
18779
18436
|
id: "focus.projects.margin-targets-get",
|
|
18780
18437
|
family: "focus",
|
|
@@ -20837,10 +20494,7 @@ const generatedFocusOperations = [
|
|
|
20837
20494
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20838
20495
|
name: /* @__PURE__ */ string$1(),
|
|
20839
20496
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
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())
|
|
20497
|
+
}))
|
|
20844
20498
|
}),
|
|
20845
20499
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20846
20500
|
}),
|
|
@@ -20881,28 +20535,6 @@ const generatedFocusOperations = [
|
|
|
20881
20535
|
]));
|
|
20882
20536
|
}
|
|
20883
20537
|
},
|
|
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
|
-
},
|
|
20906
20538
|
{
|
|
20907
20539
|
id: "focus.reports.get-profitability",
|
|
20908
20540
|
family: "focus",
|
|
@@ -20962,17 +20594,9 @@ const generatedFocusOperations = [
|
|
|
20962
20594
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20963
20595
|
name: /* @__PURE__ */ string$1(),
|
|
20964
20596
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
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())
|
|
20597
|
+
}))
|
|
20969
20598
|
}),
|
|
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
|
-
]))
|
|
20599
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20976
20600
|
}),
|
|
20977
20601
|
execute: (input, { client }) => {
|
|
20978
20602
|
const data = input;
|
|
@@ -20982,23 +20606,22 @@ const generatedFocusOperations = [
|
|
|
20982
20606
|
data.payload ?? data.data ?? data,
|
|
20983
20607
|
data.response_format,
|
|
20984
20608
|
data.include_dicts,
|
|
20985
|
-
data.xTogglReportExport,
|
|
20986
20609
|
void 0
|
|
20987
20610
|
]));
|
|
20988
20611
|
}
|
|
20989
20612
|
},
|
|
20990
20613
|
{
|
|
20991
|
-
id: "focus.reports.get-
|
|
20614
|
+
id: "focus.reports.get-workload",
|
|
20992
20615
|
family: "focus",
|
|
20993
20616
|
resource: "reports",
|
|
20994
|
-
action: "get-
|
|
20995
|
-
title: "Get
|
|
20996
|
-
description: "Get
|
|
20617
|
+
action: "get-workload",
|
|
20618
|
+
title: "Get Workload Reports",
|
|
20619
|
+
description: "Get Workload Reports.",
|
|
20997
20620
|
safety: "update",
|
|
20998
20621
|
destructive: false,
|
|
20999
20622
|
cli: {
|
|
21000
20623
|
group: ["reports"],
|
|
21001
|
-
command: "get-
|
|
20624
|
+
command: "get-workload",
|
|
21002
20625
|
interactive: "hidden"
|
|
21003
20626
|
},
|
|
21004
20627
|
mcp: { entityTool: "reports" },
|
|
@@ -21044,207 +20667,14 @@ const generatedFocusOperations = [
|
|
|
21044
20667
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21045
20668
|
name: /* @__PURE__ */ string$1(),
|
|
21046
20669
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
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())
|
|
20670
|
+
}))
|
|
21051
20671
|
}) }),
|
|
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
|
-
}),
|
|
21131
20672
|
execute: (input, { client }) => {
|
|
21132
20673
|
const data = input;
|
|
21133
20674
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
21134
20675
|
client.httpClient,
|
|
21135
20676
|
client.workspaceIdNumber,
|
|
21136
20677
|
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,
|
|
21248
20678
|
void 0
|
|
21249
20679
|
]));
|
|
21250
20680
|
}
|
|
@@ -21282,9 +20712,7 @@ const generatedFocusOperations = [
|
|
|
21282
20712
|
"reports.detailed",
|
|
21283
20713
|
"reports.utilization",
|
|
21284
20714
|
"reports.workload",
|
|
21285
|
-
"reports.profitability"
|
|
21286
|
-
"reports.time-off",
|
|
21287
|
-
"reports.time-accounting"
|
|
20715
|
+
"reports.profitability"
|
|
21288
20716
|
]),
|
|
21289
20717
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21290
20718
|
}) }),
|
|
@@ -21407,36 +20835,6 @@ const generatedFocusOperations = [
|
|
|
21407
20835
|
]));
|
|
21408
20836
|
}
|
|
21409
20837
|
},
|
|
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
|
-
},
|
|
21440
20838
|
{
|
|
21441
20839
|
id: "focus.search.search",
|
|
21442
20840
|
family: "focus",
|
|
@@ -21464,240 +20862,6 @@ const generatedFocusOperations = [
|
|
|
21464
20862
|
]));
|
|
21465
20863
|
}
|
|
21466
20864
|
},
|
|
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
|
-
},
|
|
21701
20865
|
{
|
|
21702
20866
|
id: "focus.statuses.create-status",
|
|
21703
20867
|
family: "focus",
|
|
@@ -21893,242 +21057,83 @@ const generatedFocusOperations = [
|
|
|
21893
21057
|
safety: "read",
|
|
21894
21058
|
destructive: false,
|
|
21895
21059
|
cli: {
|
|
21896
|
-
group: ["subscriptions"],
|
|
21897
|
-
command: "get-current-trial",
|
|
21898
|
-
interactive: "hidden"
|
|
21899
|
-
},
|
|
21900
|
-
mcp: { entityTool: "subscriptions" },
|
|
21901
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21902
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getCurrentTrial", () => callGeneratedRequest(getCurrentTrial, [
|
|
21903
|
-
client.httpClient,
|
|
21904
|
-
client.organizationId,
|
|
21905
|
-
void 0
|
|
21906
|
-
]))
|
|
21907
|
-
},
|
|
21908
|
-
{
|
|
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
|
-
}
|
|
21060
|
+
group: ["subscriptions"],
|
|
21061
|
+
command: "get-current-trial",
|
|
21062
|
+
interactive: "hidden"
|
|
21063
|
+
},
|
|
21064
|
+
mcp: { entityTool: "subscriptions" },
|
|
21065
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21066
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCurrentTrial", () => callGeneratedRequest(getCurrentTrial, [
|
|
21067
|
+
client.httpClient,
|
|
21068
|
+
client.organizationId,
|
|
21069
|
+
void 0
|
|
21070
|
+
]))
|
|
22059
21071
|
},
|
|
22060
21072
|
{
|
|
22061
|
-
id: "focus.
|
|
21073
|
+
id: "focus.subscriptions.get-features-upsell",
|
|
22062
21074
|
family: "focus",
|
|
22063
|
-
resource: "
|
|
22064
|
-
action: "
|
|
22065
|
-
title: "
|
|
22066
|
-
description: "
|
|
22067
|
-
safety: "
|
|
22068
|
-
destructive:
|
|
21075
|
+
resource: "subscriptions",
|
|
21076
|
+
action: "get-features-upsell",
|
|
21077
|
+
title: "Get Features Upsell Subscriptions",
|
|
21078
|
+
description: "Get Features Upsell Subscriptions.",
|
|
21079
|
+
safety: "read",
|
|
21080
|
+
destructive: false,
|
|
22069
21081
|
cli: {
|
|
22070
|
-
group: ["
|
|
22071
|
-
command: "
|
|
22072
|
-
interactive: "
|
|
21082
|
+
group: ["subscriptions"],
|
|
21083
|
+
command: "get-features-upsell",
|
|
21084
|
+
interactive: "hidden"
|
|
22073
21085
|
},
|
|
22074
|
-
mcp: { entityTool: "
|
|
22075
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22076
|
-
execute: (
|
|
22077
|
-
|
|
22078
|
-
|
|
22079
|
-
|
|
22080
|
-
|
|
22081
|
-
data.ids,
|
|
22082
|
-
void 0
|
|
22083
|
-
]));
|
|
22084
|
-
}
|
|
21086
|
+
mcp: { entityTool: "subscriptions" },
|
|
21087
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21088
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getFeaturesUpsell", () => callGeneratedRequest(getFeaturesUpsell, [
|
|
21089
|
+
client.httpClient,
|
|
21090
|
+
client.organizationId,
|
|
21091
|
+
void 0
|
|
21092
|
+
]))
|
|
22085
21093
|
},
|
|
22086
21094
|
{
|
|
22087
|
-
id: "focus.
|
|
21095
|
+
id: "focus.subscriptions.get-plans",
|
|
22088
21096
|
family: "focus",
|
|
22089
|
-
resource: "
|
|
22090
|
-
action: "
|
|
22091
|
-
title: "
|
|
22092
|
-
description: "
|
|
22093
|
-
safety: "
|
|
21097
|
+
resource: "subscriptions",
|
|
21098
|
+
action: "get-plans",
|
|
21099
|
+
title: "Get Plans Subscriptions",
|
|
21100
|
+
description: "Get Plans Subscriptions.",
|
|
21101
|
+
safety: "read",
|
|
22094
21102
|
destructive: false,
|
|
22095
21103
|
cli: {
|
|
22096
|
-
group: ["
|
|
22097
|
-
command: "
|
|
22098
|
-
interactive: "
|
|
21104
|
+
group: ["subscriptions"],
|
|
21105
|
+
command: "get-plans",
|
|
21106
|
+
interactive: "hidden"
|
|
22099
21107
|
},
|
|
22100
|
-
mcp: { entityTool: "
|
|
22101
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22102
|
-
execute: (
|
|
22103
|
-
|
|
22104
|
-
|
|
22105
|
-
|
|
22106
|
-
|
|
22107
|
-
data.payload ?? data.data ?? data,
|
|
22108
|
-
void 0
|
|
22109
|
-
]));
|
|
22110
|
-
}
|
|
21108
|
+
mcp: { entityTool: "subscriptions" },
|
|
21109
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21110
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
|
|
21111
|
+
client.httpClient,
|
|
21112
|
+
client.organizationId,
|
|
21113
|
+
void 0
|
|
21114
|
+
]))
|
|
22111
21115
|
},
|
|
22112
21116
|
{
|
|
22113
|
-
id: "focus.
|
|
21117
|
+
id: "focus.subscriptions.upsert-forced-trial",
|
|
22114
21118
|
family: "focus",
|
|
22115
|
-
resource: "
|
|
22116
|
-
action: "
|
|
22117
|
-
title: "
|
|
22118
|
-
description: "
|
|
21119
|
+
resource: "subscriptions",
|
|
21120
|
+
action: "upsert-forced-trial",
|
|
21121
|
+
title: "Upsert Forced Trial Subscriptions",
|
|
21122
|
+
description: "Upsert Forced Trial Subscriptions.",
|
|
22119
21123
|
safety: "update",
|
|
22120
21124
|
destructive: false,
|
|
22121
21125
|
cli: {
|
|
22122
|
-
group: ["
|
|
22123
|
-
command: "
|
|
21126
|
+
group: ["subscriptions"],
|
|
21127
|
+
command: "upsert-forced-trial",
|
|
22124
21128
|
interactive: "default"
|
|
22125
21129
|
},
|
|
22126
|
-
mcp: { entityTool: "
|
|
22127
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
21130
|
+
mcp: { entityTool: "subscriptions" },
|
|
21131
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
22128
21132
|
execute: (input, { client }) => {
|
|
22129
21133
|
const data = input;
|
|
22130
|
-
return client.runGeneratedRequest("
|
|
21134
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
22131
21135
|
client.httpClient,
|
|
21136
|
+
client.organizationId,
|
|
22132
21137
|
client.workspaceIdNumber,
|
|
22133
21138
|
data.payload ?? data.data ?? data,
|
|
22134
21139
|
void 0
|
|
@@ -22219,35 +21224,6 @@ const generatedFocusOperations = [
|
|
|
22219
21224
|
return client.listTags(data);
|
|
22220
21225
|
}
|
|
22221
21226
|
},
|
|
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
|
-
},
|
|
22251
21227
|
{
|
|
22252
21228
|
id: "focus.tags.restore",
|
|
22253
21229
|
family: "focus",
|
|
@@ -22274,32 +21250,6 @@ const generatedFocusOperations = [
|
|
|
22274
21250
|
]));
|
|
22275
21251
|
}
|
|
22276
21252
|
},
|
|
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
|
-
},
|
|
22303
21253
|
{
|
|
22304
21254
|
id: "focus.tags.update",
|
|
22305
21255
|
family: "focus",
|
|
@@ -22740,37 +21690,6 @@ const generatedFocusOperations = [
|
|
|
22740
21690
|
return client.createTask(data);
|
|
22741
21691
|
}
|
|
22742
21692
|
},
|
|
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
|
-
},
|
|
22774
21693
|
{
|
|
22775
21694
|
id: "focus.tasks.delete",
|
|
22776
21695
|
family: "focus",
|
|
@@ -23012,19 +21931,15 @@ const generatedFocusOperations = [
|
|
|
23012
21931
|
mcp: { entityTool: "tasks" },
|
|
23013
21932
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23014
21933
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23015
|
-
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23016
21934
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23017
21935
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23018
21936
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23019
21937
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23020
21938
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23021
|
-
|
|
23022
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21939
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23023
21940
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23024
21941
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23025
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23026
21942
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23027
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23028
21943
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23029
21944
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23030
21945
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23058,6 +21973,7 @@ const generatedFocusOperations = [
|
|
|
23058
21973
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23059
21974
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23060
21975
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21976
|
+
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23061
21977
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23062
21978
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23063
21979
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23074,11 +21990,10 @@ const generatedFocusOperations = [
|
|
|
23074
21990
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23075
21991
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23076
21992
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21993
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23077
21994
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23078
21995
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23079
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23080
21996
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23081
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23082
21997
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23083
21998
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23084
21999
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23087,9 +22002,7 @@ const generatedFocusOperations = [
|
|
|
23087
22002
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23088
22003
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23089
22004
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23090
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23091
22005
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23092
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23093
22006
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23094
22007
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23095
22008
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23133,6 +22046,7 @@ const generatedFocusOperations = [
|
|
|
23133
22046
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23134
22047
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23135
22048
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22049
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23136
22050
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23137
22051
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23138
22052
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23148,195 +22062,65 @@ const generatedFocusOperations = [
|
|
|
23148
22062
|
client.httpClient,
|
|
23149
22063
|
client.organizationId,
|
|
23150
22064
|
client.workspaceIdNumber,
|
|
23151
|
-
data.task_id,
|
|
23152
|
-
data,
|
|
23153
|
-
void 0
|
|
23154
|
-
]));
|
|
23155
|
-
}
|
|
23156
|
-
},
|
|
23157
|
-
{
|
|
23158
|
-
id: "focus.tasks.get-with-parents",
|
|
23159
|
-
family: "focus",
|
|
23160
|
-
resource: "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,
|
|
22065
|
+
data.task_id,
|
|
23262
22066
|
data,
|
|
23263
22067
|
void 0
|
|
23264
22068
|
]));
|
|
23265
22069
|
}
|
|
23266
22070
|
},
|
|
23267
22071
|
{
|
|
23268
|
-
id: "focus.tasks.
|
|
22072
|
+
id: "focus.tasks.get-with-parents",
|
|
23269
22073
|
family: "focus",
|
|
23270
22074
|
resource: "tasks",
|
|
23271
|
-
action: "
|
|
23272
|
-
title: "
|
|
23273
|
-
description: "
|
|
22075
|
+
action: "get-with-parents",
|
|
22076
|
+
title: "Get With Parents Tasks",
|
|
22077
|
+
description: "Get With Parents Tasks.",
|
|
23274
22078
|
safety: "read",
|
|
23275
22079
|
destructive: false,
|
|
23276
22080
|
cli: {
|
|
23277
|
-
group: ["tasks"
|
|
23278
|
-
command: "get-
|
|
22081
|
+
group: ["tasks"],
|
|
22082
|
+
command: "get-with-parents",
|
|
23279
22083
|
interactive: "hidden"
|
|
23280
22084
|
},
|
|
23281
22085
|
mcp: { entityTool: "tasks" },
|
|
23282
22086
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23283
|
-
|
|
23284
|
-
|
|
23285
|
-
|
|
23286
|
-
|
|
23287
|
-
|
|
23288
|
-
|
|
23289
|
-
|
|
23290
|
-
|
|
23291
|
-
|
|
23292
|
-
|
|
23293
|
-
|
|
23294
|
-
|
|
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()
|
|
22087
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22088
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22089
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22090
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22091
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22092
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22093
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22094
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22095
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22096
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22097
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
22098
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23316
22099
|
}),
|
|
23317
22100
|
execute: (input, { client }) => {
|
|
23318
22101
|
const data = input;
|
|
23319
|
-
return client.runGeneratedRequest("
|
|
22102
|
+
return client.runGeneratedRequest("getTaskWithParentsClassic", () => callGeneratedRequest(getTaskWithParentsClassic, [
|
|
23320
22103
|
client.httpClient,
|
|
23321
22104
|
client.organizationId,
|
|
23322
22105
|
client.workspaceIdNumber,
|
|
22106
|
+
data.task_id,
|
|
23323
22107
|
data,
|
|
23324
22108
|
void 0
|
|
23325
22109
|
]));
|
|
23326
22110
|
}
|
|
23327
22111
|
},
|
|
23328
22112
|
{
|
|
23329
|
-
id: "focus.tasks.groups-get
|
|
22113
|
+
id: "focus.tasks.groups-get",
|
|
23330
22114
|
family: "focus",
|
|
23331
22115
|
resource: "tasks",
|
|
23332
|
-
action: "groups-get
|
|
23333
|
-
title: "Groups Get
|
|
23334
|
-
description: "Groups Get
|
|
22116
|
+
action: "groups-get",
|
|
22117
|
+
title: "Groups Get Tasks",
|
|
22118
|
+
description: "Groups Get Tasks.",
|
|
23335
22119
|
safety: "read",
|
|
23336
22120
|
destructive: false,
|
|
23337
22121
|
cli: {
|
|
23338
22122
|
group: ["tasks", "groups"],
|
|
23339
|
-
command: "get
|
|
22123
|
+
command: "get",
|
|
23340
22124
|
interactive: "hidden"
|
|
23341
22125
|
},
|
|
23342
22126
|
mcp: { entityTool: "tasks" },
|
|
@@ -23344,43 +22128,44 @@ const generatedFocusOperations = [
|
|
|
23344
22128
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23345
22129
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23346
22130
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23347
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23348
22131
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23349
22132
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23350
22133
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23351
22134
|
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23352
22135
|
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22136
|
+
group: /* @__PURE__ */ picklist$1([
|
|
22137
|
+
"projects",
|
|
22138
|
+
"users",
|
|
22139
|
+
"tags"
|
|
22140
|
+
]),
|
|
23353
22141
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23354
22142
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23355
22143
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23356
|
-
|
|
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()),
|
|
22144
|
+
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23360
22145
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23361
22146
|
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()),
|
|
23362
22150
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23363
22151
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23364
22152
|
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()),
|
|
23367
22153
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23368
22154
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23369
22155
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23370
22156
|
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23371
22157
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23372
|
-
tag_id: /* @__PURE__ */ optional$1(
|
|
22158
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23373
22159
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23374
|
-
|
|
23375
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23376
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22160
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23377
22161
|
}),
|
|
23378
22162
|
execute: (input, { client }) => {
|
|
23379
22163
|
const data = input;
|
|
23380
|
-
return client.runGeneratedRequest("
|
|
22164
|
+
return client.runGeneratedRequest("getTaskGroupsClassic", () => callGeneratedRequest(getTaskGroupsClassic, [
|
|
23381
22165
|
client.httpClient,
|
|
23382
22166
|
client.organizationId,
|
|
23383
22167
|
client.workspaceIdNumber,
|
|
22168
|
+
data.group,
|
|
23384
22169
|
data,
|
|
23385
22170
|
void 0
|
|
23386
22171
|
]));
|
|
@@ -23591,6 +22376,7 @@ const generatedFocusOperations = [
|
|
|
23591
22376
|
name: /* @__PURE__ */ string$1(),
|
|
23592
22377
|
status_id: /* @__PURE__ */ number$2(),
|
|
23593
22378
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22379
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23594
22380
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23595
22381
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23596
22382
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -23610,7 +22396,6 @@ const generatedFocusOperations = [
|
|
|
23610
22396
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23611
22397
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23612
22398
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23613
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23614
22399
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
23615
22400
|
}),
|
|
23616
22401
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -23644,8 +22429,7 @@ const generatedFocusOperations = [
|
|
|
23644
22429
|
mcp: { entityTool: "tasks" },
|
|
23645
22430
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23646
22431
|
date_from: /* @__PURE__ */ string$1(),
|
|
23647
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23648
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
22432
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23649
22433
|
}),
|
|
23650
22434
|
execute: (input, { client }) => {
|
|
23651
22435
|
const data = input;
|
|
@@ -23655,7 +22439,6 @@ const generatedFocusOperations = [
|
|
|
23655
22439
|
client.workspaceIdNumber,
|
|
23656
22440
|
data.date_from,
|
|
23657
22441
|
data.date_to,
|
|
23658
|
-
data.skip_provider_refresh,
|
|
23659
22442
|
void 0
|
|
23660
22443
|
]));
|
|
23661
22444
|
}
|
|
@@ -24242,8 +23025,7 @@ const generatedFocusOperations = [
|
|
|
24242
23025
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24243
23026
|
"project",
|
|
24244
23027
|
"task",
|
|
24245
|
-
"description"
|
|
24246
|
-
"tags"
|
|
23028
|
+
"description"
|
|
24247
23029
|
]) })),
|
|
24248
23030
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24249
23031
|
}) }),
|
|
@@ -24273,7 +23055,6 @@ const generatedFocusOperations = [
|
|
|
24273
23055
|
},
|
|
24274
23056
|
mcp: { entityTool: "time-entries" },
|
|
24275
23057
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24276
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24277
23058
|
payload: /* @__PURE__ */ looseObject({
|
|
24278
23059
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24279
23060
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24284,13 +23065,11 @@ const generatedFocusOperations = [
|
|
|
24284
23065
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24285
23066
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24286
23067
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24287
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24288
23068
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24289
23069
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24290
23070
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24291
23071
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24292
23072
|
}),
|
|
24293
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24294
23073
|
task_id: /* @__PURE__ */ number$2()
|
|
24295
23074
|
}),
|
|
24296
23075
|
execute: (input, { client }) => {
|
|
@@ -24301,8 +23080,6 @@ const generatedFocusOperations = [
|
|
|
24301
23080
|
client.workspaceIdNumber,
|
|
24302
23081
|
data.task_id,
|
|
24303
23082
|
data.payload ?? data.data ?? data,
|
|
24304
|
-
data.from_recurring_task_id,
|
|
24305
|
-
data.return_occurrence,
|
|
24306
23083
|
void 0
|
|
24307
23084
|
]));
|
|
24308
23085
|
}
|
|
@@ -24322,26 +23099,21 @@ const generatedFocusOperations = [
|
|
|
24322
23099
|
interactive: "default"
|
|
24323
23100
|
},
|
|
24324
23101
|
mcp: { entityTool: "time-entries" },
|
|
24325
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24326
|
-
|
|
24327
|
-
|
|
24328
|
-
|
|
24329
|
-
|
|
24330
|
-
|
|
24331
|
-
|
|
24332
|
-
|
|
24333
|
-
|
|
24334
|
-
|
|
24335
|
-
|
|
24336
|
-
|
|
24337
|
-
|
|
24338
|
-
|
|
24339
|
-
|
|
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
|
-
}),
|
|
23102
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
23103
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
23104
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23105
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23106
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23107
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23108
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23109
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23110
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23111
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23112
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23113
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23114
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23115
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23116
|
+
}) }),
|
|
24345
23117
|
execute: (input, { client }) => {
|
|
24346
23118
|
const data = input;
|
|
24347
23119
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24349,8 +23121,6 @@ const generatedFocusOperations = [
|
|
|
24349
23121
|
client.organizationId,
|
|
24350
23122
|
client.workspaceIdNumber,
|
|
24351
23123
|
data.payload ?? data.data ?? data,
|
|
24352
|
-
data.from_recurring_task_id,
|
|
24353
|
-
data.return_occurrence,
|
|
24354
23124
|
void 0
|
|
24355
23125
|
]));
|
|
24356
23126
|
}
|
|
@@ -24370,11 +23140,7 @@ const generatedFocusOperations = [
|
|
|
24370
23140
|
interactive: "default"
|
|
24371
23141
|
},
|
|
24372
23142
|
mcp: { entityTool: "time-entries" },
|
|
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
|
-
}),
|
|
23143
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24378
23144
|
execute: (input, { client }) => {
|
|
24379
23145
|
const data = input;
|
|
24380
23146
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24382,8 +23148,6 @@ const generatedFocusOperations = [
|
|
|
24382
23148
|
client.organizationId,
|
|
24383
23149
|
client.workspaceIdNumber,
|
|
24384
23150
|
data.time_entry_id,
|
|
24385
|
-
data.from_recurring_task_id,
|
|
24386
|
-
data.return_occurrence,
|
|
24387
23151
|
void 0
|
|
24388
23152
|
]));
|
|
24389
23153
|
}
|
|
@@ -24464,7 +23228,6 @@ const generatedFocusOperations = [
|
|
|
24464
23228
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24465
23229
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24466
23230
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24467
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24468
23231
|
status_id: /* @__PURE__ */ number$2(),
|
|
24469
23232
|
task_id: /* @__PURE__ */ number$2(),
|
|
24470
23233
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24543,40 +23306,6 @@ const generatedFocusOperations = [
|
|
|
24543
23306
|
]));
|
|
24544
23307
|
}
|
|
24545
23308
|
},
|
|
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
|
-
},
|
|
24580
23309
|
{
|
|
24581
23310
|
id: "focus.time-entries.list",
|
|
24582
23311
|
family: "focus",
|
|
@@ -24641,14 +23370,12 @@ const generatedFocusOperations = [
|
|
|
24641
23370
|
},
|
|
24642
23371
|
mcp: { entityTool: "time-entries" },
|
|
24643
23372
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24644
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24645
23373
|
payload: /* @__PURE__ */ looseObject({
|
|
24646
23374
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24647
23375
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24648
23376
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24649
23377
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24650
23378
|
}),
|
|
24651
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24652
23379
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24653
23380
|
}),
|
|
24654
23381
|
execute: (input, { client }) => {
|
|
@@ -24659,8 +23386,6 @@ const generatedFocusOperations = [
|
|
|
24659
23386
|
client.workspaceIdNumber,
|
|
24660
23387
|
data.time_entry_id,
|
|
24661
23388
|
data.payload ?? data.data ?? data,
|
|
24662
|
-
data.from_recurring_task_id,
|
|
24663
|
-
data.return_occurrence,
|
|
24664
23389
|
void 0
|
|
24665
23390
|
]));
|
|
24666
23391
|
}
|
|
@@ -24765,42 +23490,6 @@ const generatedFocusOperations = [
|
|
|
24765
23490
|
inputSchema: emptySchema$1,
|
|
24766
23491
|
execute: (_input, { client }) => client.stopTracking()
|
|
24767
23492
|
},
|
|
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
|
-
},
|
|
24804
23493
|
{
|
|
24805
23494
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
24806
23495
|
family: "focus",
|
|
@@ -24849,7 +23538,6 @@ const generatedFocusOperations = [
|
|
|
24849
23538
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24850
23539
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24851
23540
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24852
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24853
23541
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24854
23542
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24855
23543
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -24918,7 +23606,6 @@ const generatedFocusOperations = [
|
|
|
24918
23606
|
},
|
|
24919
23607
|
mcp: { entityTool: "time-entries" },
|
|
24920
23608
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24921
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24922
23609
|
payload: /* @__PURE__ */ looseObject({
|
|
24923
23610
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24924
23611
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24931,35 +23618,181 @@ const generatedFocusOperations = [
|
|
|
24931
23618
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24932
23619
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24933
23620
|
}),
|
|
24934
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24935
23621
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24936
23622
|
}),
|
|
24937
23623
|
execute: (input, { client }) => {
|
|
24938
23624
|
const data = input;
|
|
24939
|
-
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
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()
|
|
23771
|
+
}),
|
|
23772
|
+
execute: (input, { client }) => {
|
|
23773
|
+
const data = input;
|
|
23774
|
+
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
24940
23775
|
client.httpClient,
|
|
24941
23776
|
client.organizationId,
|
|
24942
23777
|
client.workspaceIdNumber,
|
|
24943
|
-
data.
|
|
23778
|
+
data.ghost_id,
|
|
24944
23779
|
data.payload ?? data.data ?? data,
|
|
24945
|
-
data.from_recurring_task_id,
|
|
24946
|
-
data.return_occurrence,
|
|
24947
23780
|
void 0
|
|
24948
23781
|
]));
|
|
24949
23782
|
}
|
|
24950
23783
|
},
|
|
24951
23784
|
{
|
|
24952
|
-
id: "focus.time-off.
|
|
23785
|
+
id: "focus.time-off.delete-timeoff-for-user",
|
|
24953
23786
|
family: "focus",
|
|
24954
23787
|
resource: "time-off",
|
|
24955
|
-
action: "
|
|
24956
|
-
title: "
|
|
24957
|
-
description: "
|
|
24958
|
-
safety: "
|
|
24959
|
-
destructive:
|
|
23788
|
+
action: "delete-timeoff-for-user",
|
|
23789
|
+
title: "Delete Timeoff For User Time Off",
|
|
23790
|
+
description: "Delete Timeoff For User Time Off.",
|
|
23791
|
+
safety: "delete",
|
|
23792
|
+
destructive: true,
|
|
24960
23793
|
cli: {
|
|
24961
23794
|
group: ["time-off"],
|
|
24962
|
-
command: "
|
|
23795
|
+
command: "delete-timeoff-for-user",
|
|
24963
23796
|
interactive: "hidden"
|
|
24964
23797
|
},
|
|
24965
23798
|
mcp: { entityTool: "time-off" },
|
|
@@ -24969,7 +23802,7 @@ const generatedFocusOperations = [
|
|
|
24969
23802
|
}),
|
|
24970
23803
|
execute: (input, { client }) => {
|
|
24971
23804
|
const data = input;
|
|
24972
|
-
return client.runGeneratedRequest("
|
|
23805
|
+
return client.runGeneratedRequest("deleteTimeoffForUser", () => callGeneratedRequest(deleteTimeoffForUser, [
|
|
24973
23806
|
client.httpClient,
|
|
24974
23807
|
client.organizationId,
|
|
24975
23808
|
data.user_id,
|
|
@@ -24979,31 +23812,33 @@ const generatedFocusOperations = [
|
|
|
24979
23812
|
}
|
|
24980
23813
|
},
|
|
24981
23814
|
{
|
|
24982
|
-
id: "focus.time-off.
|
|
23815
|
+
id: "focus.time-off.get-timeoff-for-ghost",
|
|
24983
23816
|
family: "focus",
|
|
24984
23817
|
resource: "time-off",
|
|
24985
|
-
action: "
|
|
24986
|
-
title: "
|
|
24987
|
-
description: "
|
|
24988
|
-
safety: "
|
|
24989
|
-
destructive:
|
|
23818
|
+
action: "get-timeoff-for-ghost",
|
|
23819
|
+
title: "Get Timeoff For Ghost Time Off",
|
|
23820
|
+
description: "Get Timeoff For Ghost Time Off.",
|
|
23821
|
+
safety: "read",
|
|
23822
|
+
destructive: false,
|
|
24990
23823
|
cli: {
|
|
24991
23824
|
group: ["time-off"],
|
|
24992
|
-
command: "
|
|
23825
|
+
command: "get-timeoff-for-ghost",
|
|
24993
23826
|
interactive: "hidden"
|
|
24994
23827
|
},
|
|
24995
23828
|
mcp: { entityTool: "time-off" },
|
|
24996
23829
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24997
|
-
|
|
24998
|
-
|
|
23830
|
+
from: /* @__PURE__ */ unknown$1(),
|
|
23831
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23832
|
+
to: /* @__PURE__ */ unknown$1()
|
|
24999
23833
|
}),
|
|
25000
23834
|
execute: (input, { client }) => {
|
|
25001
23835
|
const data = input;
|
|
25002
|
-
return client.runGeneratedRequest("
|
|
23836
|
+
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
25003
23837
|
client.httpClient,
|
|
25004
23838
|
client.organizationId,
|
|
25005
|
-
|
|
25006
|
-
data.
|
|
23839
|
+
client.workspaceIdNumber,
|
|
23840
|
+
data.ghost_id,
|
|
23841
|
+
data,
|
|
25007
23842
|
void 0
|
|
25008
23843
|
]));
|
|
25009
23844
|
}
|
|
@@ -25039,6 +23874,37 @@ const generatedFocusOperations = [
|
|
|
25039
23874
|
]));
|
|
25040
23875
|
}
|
|
25041
23876
|
},
|
|
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
|
+
},
|
|
25042
23908
|
{
|
|
25043
23909
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
25044
23910
|
family: "focus",
|
|
@@ -25069,6 +23935,37 @@ const generatedFocusOperations = [
|
|
|
25069
23935
|
]));
|
|
25070
23936
|
}
|
|
25071
23937
|
},
|
|
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
|
+
},
|
|
25072
23969
|
{
|
|
25073
23970
|
id: "focus.time-off.update-timeoff-for-user",
|
|
25074
23971
|
family: "focus",
|
|
@@ -26029,56 +24926,6 @@ const generatedFocusOperations = [
|
|
|
26029
24926
|
return client.listOrgUsers(data);
|
|
26030
24927
|
}
|
|
26031
24928
|
},
|
|
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
|
-
},
|
|
26082
24929
|
{
|
|
26083
24930
|
id: "focus.users.settings-list",
|
|
26084
24931
|
family: "focus",
|
|
@@ -26140,9 +24987,6 @@ const generatedFocusOperations = [
|
|
|
26140
24987
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26141
24988
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26142
24989
|
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()),
|
|
26146
24990
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26147
24991
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26148
24992
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -26153,7 +24997,6 @@ const generatedFocusOperations = [
|
|
|
26153
24997
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
26154
24998
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
26155
24999
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26156
|
-
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26157
25000
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26158
25001
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26159
25002
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -26255,6 +25098,37 @@ const generatedFocusOperations = [
|
|
|
26255
25098
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26256
25099
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
26257
25100
|
},
|
|
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
|
+
},
|
|
26258
25132
|
{
|
|
26259
25133
|
id: "focus.working-hours.create-for-user",
|
|
26260
25134
|
family: "focus",
|
|
@@ -26285,6 +25159,37 @@ const generatedFocusOperations = [
|
|
|
26285
25159
|
]));
|
|
26286
25160
|
}
|
|
26287
25161
|
},
|
|
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
|
+
},
|
|
26288
25193
|
{
|
|
26289
25194
|
id: "focus.working-hours.delete-for-user",
|
|
26290
25195
|
family: "focus",
|
|
@@ -26315,6 +25220,33 @@ const generatedFocusOperations = [
|
|
|
26315
25220
|
]));
|
|
26316
25221
|
}
|
|
26317
25222
|
},
|
|
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
|
+
},
|
|
26318
25250
|
{
|
|
26319
25251
|
id: "focus.working-hours.get-for-user",
|
|
26320
25252
|
family: "focus",
|
|
@@ -26341,6 +25273,37 @@ const generatedFocusOperations = [
|
|
|
26341
25273
|
]));
|
|
26342
25274
|
}
|
|
26343
25275
|
},
|
|
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
|
+
},
|
|
26344
25307
|
{
|
|
26345
25308
|
id: "focus.working-hours.update-for-user",
|
|
26346
25309
|
family: "focus",
|
|
@@ -26415,50 +25378,6 @@ const generatedFocusOperations = [
|
|
|
26415
25378
|
void 0
|
|
26416
25379
|
]))
|
|
26417
25380
|
},
|
|
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
|
-
},
|
|
26462
25381
|
{
|
|
26463
25382
|
id: "focus.workspace-settings.list",
|
|
26464
25383
|
family: "focus",
|
|
@@ -26533,32 +25452,6 @@ const generatedFocusOperations = [
|
|
|
26533
25452
|
]));
|
|
26534
25453
|
}
|
|
26535
25454
|
},
|
|
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
|
-
},
|
|
26562
25455
|
{
|
|
26563
25456
|
id: "focus.workspace.get-context",
|
|
26564
25457
|
family: "focus",
|
|
@@ -28189,4 +27082,4 @@ Common commands:
|
|
|
28189
27082
|
//#endregion
|
|
28190
27083
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28191
27084
|
|
|
28192
|
-
//# sourceMappingURL=program-
|
|
27085
|
+
//# sourceMappingURL=program-CUaGcD4e.js.map
|