@togglhq/cli 1.11.9 → 1.11.11
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-MaqOSyga.js → program-CUaGcD4e.js} +751 -1854
- 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,29 +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
|
-
action,
|
|
14756
|
-
user_id,
|
|
14757
|
-
page_size,
|
|
14758
|
-
page_number,
|
|
14759
|
-
export: export_
|
|
14760
|
-
})
|
|
14761
|
-
}).json();
|
|
14762
|
-
}
|
|
14763
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_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) {
|
|
14764
14644
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14765
14645
|
signal,
|
|
14766
14646
|
searchParams: buildSearchParams$2({
|
|
14767
14647
|
entity_type,
|
|
14768
14648
|
entity_id,
|
|
14769
|
-
project_id,
|
|
14770
14649
|
action,
|
|
14771
14650
|
user_id,
|
|
14772
14651
|
page_size,
|
|
@@ -14919,23 +14798,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14919
14798
|
}
|
|
14920
14799
|
//#endregion
|
|
14921
14800
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14922
|
-
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) {
|
|
14923
14802
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14924
14803
|
signal,
|
|
14925
14804
|
searchParams: buildSearchParams$2({
|
|
14805
|
+
user_id,
|
|
14926
14806
|
start_date,
|
|
14927
14807
|
end_date,
|
|
14928
|
-
|
|
14929
|
-
team_id,
|
|
14808
|
+
ghost_id,
|
|
14930
14809
|
private: private_,
|
|
14931
14810
|
task_source,
|
|
14932
14811
|
unit,
|
|
14933
|
-
include_drafts
|
|
14934
|
-
include_task_estimates
|
|
14812
|
+
include_drafts
|
|
14935
14813
|
})
|
|
14936
14814
|
}).json();
|
|
14937
14815
|
}
|
|
14938
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
|
|
14939
14828
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
14940
14829
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
14941
14830
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -14986,15 +14875,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14986
14875
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14987
14876
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14988
14877
|
}
|
|
14989
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14990
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14991
|
-
}
|
|
14992
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14993
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14994
|
-
signal,
|
|
14995
|
-
json: data
|
|
14996
|
-
}).json();
|
|
14997
|
-
}
|
|
14998
14878
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14999
14879
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
15000
14880
|
signal,
|
|
@@ -15027,12 +14907,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
15027
14907
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
15028
14908
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
15029
14909
|
}
|
|
15030
|
-
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
15031
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
15032
|
-
signal,
|
|
15033
|
-
json: data
|
|
15034
|
-
}).json();
|
|
15035
|
-
}
|
|
15036
14910
|
//#endregion
|
|
15037
14911
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
15038
14912
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -15258,7 +15132,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15258
15132
|
}
|
|
15259
15133
|
//#endregion
|
|
15260
15134
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15261
|
-
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) {
|
|
15262
15136
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15263
15137
|
signal,
|
|
15264
15138
|
searchParams: buildSearchParams$2({
|
|
@@ -15270,7 +15144,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15270
15144
|
include_group_totals,
|
|
15271
15145
|
include_unassigned,
|
|
15272
15146
|
archived,
|
|
15273
|
-
completed,
|
|
15274
15147
|
private: private_,
|
|
15275
15148
|
name,
|
|
15276
15149
|
client_id,
|
|
@@ -15282,7 +15155,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15282
15155
|
start_date,
|
|
15283
15156
|
end_date,
|
|
15284
15157
|
user_id,
|
|
15285
|
-
only_me,
|
|
15286
15158
|
include_drafts,
|
|
15287
15159
|
cf_filter
|
|
15288
15160
|
})
|
|
@@ -15302,6 +15174,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15302
15174
|
json: data
|
|
15303
15175
|
}).json();
|
|
15304
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
|
+
}
|
|
15305
15180
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15306
15181
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15307
15182
|
}
|
|
@@ -15395,14 +15270,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
15395
15270
|
}
|
|
15396
15271
|
//#endregion
|
|
15397
15272
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
15398
|
-
async function
|
|
15399
|
-
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
15400
|
-
}
|
|
15401
|
-
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) {
|
|
15402
15274
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
15403
15275
|
signal,
|
|
15404
15276
|
json: data,
|
|
15405
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
15406
15277
|
searchParams: buildSearchParams$2({
|
|
15407
15278
|
response_format,
|
|
15408
15279
|
include_dicts
|
|
@@ -15426,36 +15297,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
15426
15297
|
json: data
|
|
15427
15298
|
}).json();
|
|
15428
15299
|
}
|
|
15429
|
-
async function
|
|
15430
|
-
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
15431
|
-
signal,
|
|
15432
|
-
json: data
|
|
15433
|
-
}).json();
|
|
15434
|
-
}
|
|
15435
|
-
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
15300
|
+
async function getWorkloadReport(httpClient, workspace_id, data, signal) {
|
|
15436
15301
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
15437
|
-
signal,
|
|
15438
|
-
json: data,
|
|
15439
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
15440
|
-
}).json();
|
|
15441
|
-
}
|
|
15442
|
-
//#endregion
|
|
15443
|
-
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
15444
|
-
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15445
|
-
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
15446
|
-
signal,
|
|
15447
|
-
json: data
|
|
15448
|
-
}).json();
|
|
15449
|
-
}
|
|
15450
|
-
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15451
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
15452
15302
|
signal,
|
|
15453
15303
|
json: data
|
|
15454
15304
|
}).json();
|
|
15455
15305
|
}
|
|
15456
|
-
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
15457
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
15458
|
-
}
|
|
15459
15306
|
//#endregion
|
|
15460
15307
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
15461
15308
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -15488,7 +15335,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15488
15335
|
}
|
|
15489
15336
|
//#endregion
|
|
15490
15337
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15491
|
-
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) {
|
|
15492
15339
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15493
15340
|
signal,
|
|
15494
15341
|
searchParams: buildSearchParams$2({
|
|
@@ -15500,56 +15347,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15500
15347
|
task_id,
|
|
15501
15348
|
include_drafts,
|
|
15502
15349
|
exclude_calendar_events,
|
|
15503
|
-
group_by_tags
|
|
15504
|
-
only_me
|
|
15505
|
-
})
|
|
15506
|
-
}).json();
|
|
15507
|
-
}
|
|
15508
|
-
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
15509
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
15510
|
-
signal,
|
|
15511
|
-
searchParams: buildSearchParams$2({
|
|
15512
|
-
keyword,
|
|
15513
|
-
per_group
|
|
15350
|
+
group_by_tags
|
|
15514
15351
|
})
|
|
15515
15352
|
}).json();
|
|
15516
15353
|
}
|
|
15517
15354
|
//#endregion
|
|
15518
|
-
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
15519
|
-
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
15520
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
15521
|
-
signal,
|
|
15522
|
-
json: data
|
|
15523
|
-
}).json();
|
|
15524
|
-
}
|
|
15525
|
-
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
15526
|
-
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
15527
|
-
}
|
|
15528
|
-
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
15529
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
15530
|
-
signal,
|
|
15531
|
-
json: data
|
|
15532
|
-
}).json();
|
|
15533
|
-
}
|
|
15534
|
-
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
15535
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
15536
|
-
}
|
|
15537
|
-
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
15538
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
15539
|
-
}
|
|
15540
|
-
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15541
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15542
|
-
}
|
|
15543
|
-
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15544
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15545
|
-
signal,
|
|
15546
|
-
json: data
|
|
15547
|
-
}).json();
|
|
15548
|
-
}
|
|
15549
|
-
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15550
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15551
|
-
}
|
|
15552
|
-
//#endregion
|
|
15553
15355
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15554
15356
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
15555
15357
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -15605,90 +15407,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15605
15407
|
}
|
|
15606
15408
|
//#endregion
|
|
15607
15409
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15608
|
-
async function
|
|
15609
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15610
|
-
signal,
|
|
15611
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15612
|
-
searchParams: buildSearchParams$2({
|
|
15613
|
-
project_id,
|
|
15614
|
-
source,
|
|
15615
|
-
priority,
|
|
15616
|
-
status_id,
|
|
15617
|
-
client_id,
|
|
15618
|
-
assignee_user_id,
|
|
15619
|
-
tag_id,
|
|
15620
|
-
team_id,
|
|
15621
|
-
user_tag_id,
|
|
15622
|
-
group_id,
|
|
15623
|
-
creator_id,
|
|
15624
|
-
name,
|
|
15625
|
-
start_date,
|
|
15626
|
-
end_date,
|
|
15627
|
-
start_date_from,
|
|
15628
|
-
start_date_to,
|
|
15629
|
-
end_date_from,
|
|
15630
|
-
end_date_to,
|
|
15631
|
-
private: private_,
|
|
15632
|
-
exclude_empty,
|
|
15633
|
-
include_unassigned,
|
|
15634
|
-
include_unmaterialized,
|
|
15635
|
-
collapse_recurring,
|
|
15636
|
-
include_assignees,
|
|
15637
|
-
min_days,
|
|
15638
|
-
include_drafts,
|
|
15639
|
-
cf_filter,
|
|
15640
|
-
user_cf_filter,
|
|
15641
|
-
recurring_occurrences_after,
|
|
15642
|
-
max_recurring_occurrences_after,
|
|
15643
|
-
recurring_task_read,
|
|
15644
|
-
include_projected_occurrences
|
|
15645
|
-
})
|
|
15646
|
-
}).json();
|
|
15647
|
-
}
|
|
15648
|
-
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) {
|
|
15649
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15650
|
-
signal,
|
|
15651
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15652
|
-
searchParams: buildSearchParams$2({
|
|
15653
|
-
team_id,
|
|
15654
|
-
project_id,
|
|
15655
|
-
source,
|
|
15656
|
-
priority,
|
|
15657
|
-
status_id,
|
|
15658
|
-
client_id,
|
|
15659
|
-
assignee_user_id,
|
|
15660
|
-
tag_id,
|
|
15661
|
-
user_tag_id,
|
|
15662
|
-
group_id,
|
|
15663
|
-
creator_id,
|
|
15664
|
-
name,
|
|
15665
|
-
start_date,
|
|
15666
|
-
end_date,
|
|
15667
|
-
start_date_from,
|
|
15668
|
-
start_date_to,
|
|
15669
|
-
end_date_from,
|
|
15670
|
-
end_date_to,
|
|
15671
|
-
private: private_,
|
|
15672
|
-
exclude_empty,
|
|
15673
|
-
include_unassigned,
|
|
15674
|
-
include_unmaterialized,
|
|
15675
|
-
collapse_recurring,
|
|
15676
|
-
include_assignees,
|
|
15677
|
-
min_days,
|
|
15678
|
-
include_drafts,
|
|
15679
|
-
cf_filter,
|
|
15680
|
-
user_cf_filter,
|
|
15681
|
-
recurring_occurrences_after,
|
|
15682
|
-
max_recurring_occurrences_after,
|
|
15683
|
-
recurring_task_read,
|
|
15684
|
-
include_projected_occurrences
|
|
15685
|
-
})
|
|
15686
|
-
}).json();
|
|
15687
|
-
}
|
|
15688
|
-
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) {
|
|
15689
15411
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15690
15412
|
signal,
|
|
15691
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15692
15413
|
searchParams: buildSearchParams$2({
|
|
15693
15414
|
source,
|
|
15694
15415
|
priority,
|
|
@@ -15710,18 +15431,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15710
15431
|
end_date_to,
|
|
15711
15432
|
private: private_,
|
|
15712
15433
|
exclude_empty,
|
|
15713
|
-
|
|
15714
|
-
include_unmaterialized,
|
|
15715
|
-
collapse_recurring,
|
|
15434
|
+
include_ghosts,
|
|
15716
15435
|
include_assignees,
|
|
15717
15436
|
min_days,
|
|
15718
15437
|
include_drafts,
|
|
15719
15438
|
cf_filter,
|
|
15720
|
-
user_cf_filter,
|
|
15721
|
-
recurring_occurrences_after,
|
|
15722
|
-
max_recurring_occurrences_after,
|
|
15723
|
-
recurring_task_read,
|
|
15724
|
-
include_projected_occurrences,
|
|
15725
15439
|
page,
|
|
15726
15440
|
per_page,
|
|
15727
15441
|
order_by
|
|
@@ -15760,18 +15474,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
15760
15474
|
}).json();
|
|
15761
15475
|
}
|
|
15762
15476
|
//#endregion
|
|
15763
|
-
//#region ../focus-queries/dist/time-
|
|
15764
|
-
async function
|
|
15765
|
-
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`, {
|
|
15766
15480
|
signal,
|
|
15767
|
-
|
|
15768
|
-
|
|
15769
|
-
|
|
15770
|
-
|
|
15771
|
-
|
|
15772
|
-
|
|
15773
|
-
|
|
15774
|
-
})
|
|
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
|
|
15775
15488
|
}).json();
|
|
15776
15489
|
}
|
|
15777
15490
|
//#endregion
|
|
@@ -15813,26 +15526,63 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15813
15526
|
json: data
|
|
15814
15527
|
}).json();
|
|
15815
15528
|
}
|
|
15816
|
-
|
|
15817
|
-
|
|
15818
|
-
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
15819
|
-
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`, {
|
|
15820
15531
|
signal,
|
|
15821
15532
|
searchParams: buildSearchParams$2({
|
|
15822
|
-
|
|
15823
|
-
|
|
15824
|
-
|
|
15533
|
+
ghost_ids,
|
|
15534
|
+
start_date,
|
|
15535
|
+
end_date
|
|
15825
15536
|
})
|
|
15826
15537
|
}).json();
|
|
15827
15538
|
}
|
|
15828
|
-
async function
|
|
15829
|
-
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}`, {
|
|
15830
15550
|
signal,
|
|
15831
15551
|
json: data
|
|
15832
15552
|
}).json();
|
|
15833
15553
|
}
|
|
15834
|
-
async function
|
|
15835
|
-
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();
|
|
15836
15586
|
}
|
|
15837
15587
|
async function updateTimesheetSetup(httpClient, organization_id, workspace_id, setup_id, data, signal) {
|
|
15838
15588
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}`, {
|
|
@@ -15957,12 +15707,6 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15957
15707
|
}
|
|
15958
15708
|
//#endregion
|
|
15959
15709
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15960
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15961
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15962
|
-
}
|
|
15963
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15964
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15965
|
-
}
|
|
15966
15710
|
async function getUserSettings(httpClient, signal) {
|
|
15967
15711
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15968
15712
|
}
|
|
@@ -16011,6 +15755,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
16011
15755
|
json: data
|
|
16012
15756
|
}).json();
|
|
16013
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
|
+
}
|
|
16014
15779
|
//#endregion
|
|
16015
15780
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
16016
15781
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -16027,9 +15792,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
16027
15792
|
json: data
|
|
16028
15793
|
}).json();
|
|
16029
15794
|
}
|
|
16030
|
-
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
16031
|
-
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
16032
|
-
}
|
|
16033
15795
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
16034
15796
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
16035
15797
|
}
|
|
@@ -16042,15 +15804,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
16042
15804
|
json: data
|
|
16043
15805
|
}).json();
|
|
16044
15806
|
}
|
|
16045
|
-
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
16046
|
-
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
16047
|
-
}
|
|
16048
|
-
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
16049
|
-
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
16050
|
-
signal,
|
|
16051
|
-
json: data
|
|
16052
|
-
}).json();
|
|
16053
|
-
}
|
|
16054
15807
|
//#endregion
|
|
16055
15808
|
//#region ../operations/build/index.public.js
|
|
16056
15809
|
function callGeneratedRequest(request, args) {
|
|
@@ -16185,47 +15938,6 @@ const generatedFocusOperations = [
|
|
|
16185
15938
|
void 0
|
|
16186
15939
|
]))
|
|
16187
15940
|
},
|
|
16188
|
-
{
|
|
16189
|
-
id: "focus.audit-log.get-organization",
|
|
16190
|
-
family: "focus",
|
|
16191
|
-
resource: "audit-log",
|
|
16192
|
-
action: "get-organization",
|
|
16193
|
-
title: "Get Organization Audit Log",
|
|
16194
|
-
description: "Get Organization Audit Log.",
|
|
16195
|
-
safety: "read",
|
|
16196
|
-
destructive: false,
|
|
16197
|
-
cli: {
|
|
16198
|
-
group: ["audit-log"],
|
|
16199
|
-
command: "get-organization",
|
|
16200
|
-
interactive: "hidden"
|
|
16201
|
-
},
|
|
16202
|
-
mcp: { entityTool: "audit-log" },
|
|
16203
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16204
|
-
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16205
|
-
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16206
|
-
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16207
|
-
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16208
|
-
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16209
|
-
from: /* @__PURE__ */ string$1(),
|
|
16210
|
-
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16211
|
-
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16212
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16213
|
-
to: /* @__PURE__ */ string$1(),
|
|
16214
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16215
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16216
|
-
}),
|
|
16217
|
-
execute: (input, { client }) => {
|
|
16218
|
-
const data = input;
|
|
16219
|
-
return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
|
|
16220
|
-
client.httpClient,
|
|
16221
|
-
client.organizationId,
|
|
16222
|
-
data.from,
|
|
16223
|
-
data.to,
|
|
16224
|
-
data,
|
|
16225
|
-
void 0
|
|
16226
|
-
]));
|
|
16227
|
-
}
|
|
16228
|
-
},
|
|
16229
15941
|
{
|
|
16230
15942
|
id: "focus.audit-log.list",
|
|
16231
15943
|
family: "focus",
|
|
@@ -16250,7 +15962,6 @@ const generatedFocusOperations = [
|
|
|
16250
15962
|
from: /* @__PURE__ */ string$1(),
|
|
16251
15963
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16252
15964
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16253
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16254
15965
|
to: /* @__PURE__ */ string$1(),
|
|
16255
15966
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16256
15967
|
}),
|
|
@@ -16284,13 +15995,12 @@ const generatedFocusOperations = [
|
|
|
16284
15995
|
mcp: { entityTool: "capacities" },
|
|
16285
15996
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16286
15997
|
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
15998
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
16287
15999
|
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
16288
16000
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
16289
|
-
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
16290
16001
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16291
16002
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16292
16003
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16293
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16294
16004
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16295
16005
|
user_id: /* @__PURE__ */ number$2()
|
|
16296
16006
|
}),
|
|
@@ -16306,6 +16016,54 @@ const generatedFocusOperations = [
|
|
|
16306
16016
|
]));
|
|
16307
16017
|
}
|
|
16308
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
|
+
},
|
|
16309
16067
|
{
|
|
16310
16068
|
id: "focus.clients.create",
|
|
16311
16069
|
family: "focus",
|
|
@@ -16500,7 +16258,8 @@ const generatedFocusOperations = [
|
|
|
16500
16258
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
16501
16259
|
start_at: apiDateTimeString,
|
|
16502
16260
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16503
|
-
})))
|
|
16261
|
+
}))),
|
|
16262
|
+
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16504
16263
|
}) }),
|
|
16505
16264
|
execute: (input, { client }) => {
|
|
16506
16265
|
const data = input;
|
|
@@ -16555,7 +16314,6 @@ const generatedFocusOperations = [
|
|
|
16555
16314
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16556
16315
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16557
16316
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16558
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16559
16317
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16560
16318
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16561
16319
|
}),
|
|
@@ -16588,7 +16346,6 @@ const generatedFocusOperations = [
|
|
|
16588
16346
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16589
16347
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16590
16348
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16591
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16592
16349
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16593
16350
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16594
16351
|
}))),
|
|
@@ -16644,11 +16401,7 @@ const generatedFocusOperations = [
|
|
|
16644
16401
|
},
|
|
16645
16402
|
mcp: { entityTool: "custom-fields" },
|
|
16646
16403
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16647
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16648
|
-
"project",
|
|
16649
|
-
"task",
|
|
16650
|
-
"user"
|
|
16651
|
-
]),
|
|
16404
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
16652
16405
|
field_type: /* @__PURE__ */ picklist$1([
|
|
16653
16406
|
"select",
|
|
16654
16407
|
"multi_select",
|
|
@@ -16731,33 +16484,6 @@ const generatedFocusOperations = [
|
|
|
16731
16484
|
]));
|
|
16732
16485
|
}
|
|
16733
16486
|
},
|
|
16734
|
-
{
|
|
16735
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
16736
|
-
family: "focus",
|
|
16737
|
-
resource: "custom-fields",
|
|
16738
|
-
action: "get-allowed-users",
|
|
16739
|
-
title: "Get Allowed Users Custom Fields",
|
|
16740
|
-
description: "Get Allowed Users Custom Fields.",
|
|
16741
|
-
safety: "read",
|
|
16742
|
-
destructive: false,
|
|
16743
|
-
cli: {
|
|
16744
|
-
group: ["custom-fields"],
|
|
16745
|
-
command: "get-allowed-users",
|
|
16746
|
-
interactive: "available"
|
|
16747
|
-
},
|
|
16748
|
-
mcp: { entityTool: "custom-fields" },
|
|
16749
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16750
|
-
execute: (input, { client }) => {
|
|
16751
|
-
const data = input;
|
|
16752
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16753
|
-
client.httpClient,
|
|
16754
|
-
client.organizationId,
|
|
16755
|
-
client.workspaceIdNumber,
|
|
16756
|
-
data.custom_field_id,
|
|
16757
|
-
void 0
|
|
16758
|
-
]));
|
|
16759
|
-
}
|
|
16760
|
-
},
|
|
16761
16487
|
{
|
|
16762
16488
|
id: "focus.custom-fields.list",
|
|
16763
16489
|
family: "focus",
|
|
@@ -16927,37 +16653,6 @@ const generatedFocusOperations = [
|
|
|
16927
16653
|
]));
|
|
16928
16654
|
}
|
|
16929
16655
|
},
|
|
16930
|
-
{
|
|
16931
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16932
|
-
family: "focus",
|
|
16933
|
-
resource: "custom-fields",
|
|
16934
|
-
action: "replace-custom-field-allowed-users",
|
|
16935
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16936
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16937
|
-
safety: "update",
|
|
16938
|
-
destructive: false,
|
|
16939
|
-
cli: {
|
|
16940
|
-
group: ["custom-fields"],
|
|
16941
|
-
command: "replace-custom-field-allowed-users",
|
|
16942
|
-
interactive: "default"
|
|
16943
|
-
},
|
|
16944
|
-
mcp: { entityTool: "custom-fields" },
|
|
16945
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16946
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16947
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16948
|
-
}),
|
|
16949
|
-
execute: (input, { client }) => {
|
|
16950
|
-
const data = input;
|
|
16951
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16952
|
-
client.httpClient,
|
|
16953
|
-
client.organizationId,
|
|
16954
|
-
client.workspaceIdNumber,
|
|
16955
|
-
data.custom_field_id,
|
|
16956
|
-
data.payload ?? data.data ?? data,
|
|
16957
|
-
void 0
|
|
16958
|
-
]));
|
|
16959
|
-
}
|
|
16960
|
-
},
|
|
16961
16656
|
{
|
|
16962
16657
|
id: "focus.custom-fields.update",
|
|
16963
16658
|
family: "focus",
|
|
@@ -17039,11 +16734,7 @@ const generatedFocusOperations = [
|
|
|
17039
16734
|
},
|
|
17040
16735
|
mcp: { entityTool: "custom-fields" },
|
|
17041
16736
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17042
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
17043
|
-
"project",
|
|
17044
|
-
"task",
|
|
17045
|
-
"user"
|
|
17046
|
-
]),
|
|
16737
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
17047
16738
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
17048
16739
|
}) }),
|
|
17049
16740
|
execute: (input, { client }) => {
|
|
@@ -17057,37 +16748,6 @@ const generatedFocusOperations = [
|
|
|
17057
16748
|
]));
|
|
17058
16749
|
}
|
|
17059
16750
|
},
|
|
17060
|
-
{
|
|
17061
|
-
id: "focus.custom-fields.update-user-custom-field-values",
|
|
17062
|
-
family: "focus",
|
|
17063
|
-
resource: "custom-fields",
|
|
17064
|
-
action: "update-user-custom-field-values",
|
|
17065
|
-
title: "Update User Custom Field Values Custom Fields",
|
|
17066
|
-
description: "Update User Custom Field Values Custom Fields.",
|
|
17067
|
-
safety: "update",
|
|
17068
|
-
destructive: false,
|
|
17069
|
-
cli: {
|
|
17070
|
-
group: ["custom-fields"],
|
|
17071
|
-
command: "update-user-custom-field-values",
|
|
17072
|
-
interactive: "hidden"
|
|
17073
|
-
},
|
|
17074
|
-
mcp: { entityTool: "custom-fields" },
|
|
17075
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
17076
|
-
payload: /* @__PURE__ */ unknown$1(),
|
|
17077
|
-
user_id: /* @__PURE__ */ number$2()
|
|
17078
|
-
}),
|
|
17079
|
-
execute: (input, { client }) => {
|
|
17080
|
-
const data = input;
|
|
17081
|
-
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
17082
|
-
client.httpClient,
|
|
17083
|
-
client.organizationId,
|
|
17084
|
-
client.workspaceIdNumber,
|
|
17085
|
-
data.user_id,
|
|
17086
|
-
data.payload ?? data.data ?? data,
|
|
17087
|
-
void 0
|
|
17088
|
-
]));
|
|
17089
|
-
}
|
|
17090
|
-
},
|
|
17091
16751
|
{
|
|
17092
16752
|
id: "focus.goals.create",
|
|
17093
16753
|
family: "focus",
|
|
@@ -17104,7 +16764,13 @@ const generatedFocusOperations = [
|
|
|
17104
16764
|
},
|
|
17105
16765
|
mcp: { entityTool: "goals" },
|
|
17106
16766
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16767
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17107
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()),
|
|
17108
16774
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17109
16775
|
"daily",
|
|
17110
16776
|
"weekly",
|
|
@@ -17112,18 +16778,12 @@ const generatedFocusOperations = [
|
|
|
17112
16778
|
"monthly"
|
|
17113
16779
|
]),
|
|
17114
16780
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16781
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17115
16782
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17116
|
-
|
|
16783
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16784
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17117
16785
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17118
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17119
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17120
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17121
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17122
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17123
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17124
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17125
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17126
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16786
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17127
16787
|
}) }),
|
|
17128
16788
|
execute: (input, { client }) => {
|
|
17129
16789
|
const data = input;
|
|
@@ -17229,6 +16889,13 @@ const generatedFocusOperations = [
|
|
|
17229
16889
|
},
|
|
17230
16890
|
mcp: { entityTool: "goals" },
|
|
17231
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()),
|
|
17232
16899
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17233
16900
|
"daily",
|
|
17234
16901
|
"weekly",
|
|
@@ -17236,19 +16903,12 @@ const generatedFocusOperations = [
|
|
|
17236
16903
|
"monthly"
|
|
17237
16904
|
]),
|
|
17238
16905
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17239
|
-
|
|
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()),
|
|
17240
16910
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17241
|
-
|
|
17242
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17243
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17244
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17245
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17246
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17247
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17248
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17249
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17250
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17251
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16911
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17252
16912
|
}) }),
|
|
17253
16913
|
execute: (input, { client }) => {
|
|
17254
16914
|
const data = input;
|
|
@@ -17307,22 +16967,10 @@ const generatedFocusOperations = [
|
|
|
17307
16967
|
goal_id: /* @__PURE__ */ number$2(),
|
|
17308
16968
|
payload: /* @__PURE__ */ looseObject({
|
|
17309
16969
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17310
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17311
16970
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17312
16971
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17313
16972
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17314
|
-
|
|
17315
|
-
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
17316
|
-
"daily",
|
|
17317
|
-
"weekly",
|
|
17318
|
-
"daily_workdays",
|
|
17319
|
-
"monthly"
|
|
17320
|
-
])),
|
|
17321
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17322
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17323
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17324
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17325
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16973
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
17326
16974
|
})
|
|
17327
16975
|
}),
|
|
17328
16976
|
execute: (input, { client }) => {
|
|
@@ -18215,17 +17863,9 @@ const generatedFocusOperations = [
|
|
|
18215
17863
|
mcp: { entityTool: "projects" },
|
|
18216
17864
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18217
17865
|
payload: /* @__PURE__ */ looseObject({
|
|
18218
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18219
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18220
17866
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18221
17867
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18222
17868
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18223
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18224
|
-
"expire",
|
|
18225
|
-
"carry_all",
|
|
18226
|
-
"carry_over"
|
|
18227
|
-
])),
|
|
18228
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18229
17869
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18230
17870
|
}),
|
|
18231
17871
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18663,7 +18303,6 @@ const generatedFocusOperations = [
|
|
|
18663
18303
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18664
18304
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18665
18305
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18666
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18667
18306
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18668
18307
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18669
18308
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -18671,7 +18310,6 @@ const generatedFocusOperations = [
|
|
|
18671
18310
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18672
18311
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18673
18312
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18674
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18675
18313
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18676
18314
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18677
18315
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -18771,6 +18409,29 @@ const generatedFocusOperations = [
|
|
|
18771
18409
|
]));
|
|
18772
18410
|
}
|
|
18773
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
|
+
},
|
|
18774
18435
|
{
|
|
18775
18436
|
id: "focus.projects.margin-targets-get",
|
|
18776
18437
|
family: "focus",
|
|
@@ -20833,10 +20494,7 @@ const generatedFocusOperations = [
|
|
|
20833
20494
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20834
20495
|
name: /* @__PURE__ */ string$1(),
|
|
20835
20496
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20836
|
-
}))
|
|
20837
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20838
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20839
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20497
|
+
}))
|
|
20840
20498
|
}),
|
|
20841
20499
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20842
20500
|
}),
|
|
@@ -20877,28 +20535,6 @@ const generatedFocusOperations = [
|
|
|
20877
20535
|
]));
|
|
20878
20536
|
}
|
|
20879
20537
|
},
|
|
20880
|
-
{
|
|
20881
|
-
id: "focus.reports.get-forecast-availability",
|
|
20882
|
-
family: "focus",
|
|
20883
|
-
resource: "reports",
|
|
20884
|
-
action: "get-forecast-availability",
|
|
20885
|
-
title: "Get Forecast Availability Reports",
|
|
20886
|
-
description: "Get Forecast Availability Reports.",
|
|
20887
|
-
safety: "read",
|
|
20888
|
-
destructive: false,
|
|
20889
|
-
cli: {
|
|
20890
|
-
group: ["reports"],
|
|
20891
|
-
command: "get-forecast-availability",
|
|
20892
|
-
interactive: "hidden"
|
|
20893
|
-
},
|
|
20894
|
-
mcp: { entityTool: "reports" },
|
|
20895
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
20896
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
20897
|
-
client.httpClient,
|
|
20898
|
-
client.workspaceIdNumber,
|
|
20899
|
-
void 0
|
|
20900
|
-
]))
|
|
20901
|
-
},
|
|
20902
20538
|
{
|
|
20903
20539
|
id: "focus.reports.get-profitability",
|
|
20904
20540
|
family: "focus",
|
|
@@ -20958,17 +20594,9 @@ const generatedFocusOperations = [
|
|
|
20958
20594
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20959
20595
|
name: /* @__PURE__ */ string$1(),
|
|
20960
20596
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20961
|
-
}))
|
|
20962
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20963
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20964
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20597
|
+
}))
|
|
20965
20598
|
}),
|
|
20966
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20967
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20968
|
-
"csv",
|
|
20969
|
-
"xlsx",
|
|
20970
|
-
"pdf"
|
|
20971
|
-
]))
|
|
20599
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20972
20600
|
}),
|
|
20973
20601
|
execute: (input, { client }) => {
|
|
20974
20602
|
const data = input;
|
|
@@ -20978,23 +20606,22 @@ const generatedFocusOperations = [
|
|
|
20978
20606
|
data.payload ?? data.data ?? data,
|
|
20979
20607
|
data.response_format,
|
|
20980
20608
|
data.include_dicts,
|
|
20981
|
-
data.xTogglReportExport,
|
|
20982
20609
|
void 0
|
|
20983
20610
|
]));
|
|
20984
20611
|
}
|
|
20985
20612
|
},
|
|
20986
20613
|
{
|
|
20987
|
-
id: "focus.reports.get-
|
|
20614
|
+
id: "focus.reports.get-workload",
|
|
20988
20615
|
family: "focus",
|
|
20989
20616
|
resource: "reports",
|
|
20990
|
-
action: "get-
|
|
20991
|
-
title: "Get
|
|
20992
|
-
description: "Get
|
|
20617
|
+
action: "get-workload",
|
|
20618
|
+
title: "Get Workload Reports",
|
|
20619
|
+
description: "Get Workload Reports.",
|
|
20993
20620
|
safety: "update",
|
|
20994
20621
|
destructive: false,
|
|
20995
20622
|
cli: {
|
|
20996
20623
|
group: ["reports"],
|
|
20997
|
-
command: "get-
|
|
20624
|
+
command: "get-workload",
|
|
20998
20625
|
interactive: "hidden"
|
|
20999
20626
|
},
|
|
21000
20627
|
mcp: { entityTool: "reports" },
|
|
@@ -21040,207 +20667,14 @@ const generatedFocusOperations = [
|
|
|
21040
20667
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21041
20668
|
name: /* @__PURE__ */ string$1(),
|
|
21042
20669
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
21043
|
-
}))
|
|
21044
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
21045
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21046
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20670
|
+
}))
|
|
21047
20671
|
}) }),
|
|
21048
|
-
execute: (input, { client }) => {
|
|
21049
|
-
const data = input;
|
|
21050
|
-
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
21051
|
-
client.httpClient,
|
|
21052
|
-
client.workspaceIdNumber,
|
|
21053
|
-
data.payload ?? data.data ?? data,
|
|
21054
|
-
void 0
|
|
21055
|
-
]));
|
|
21056
|
-
}
|
|
21057
|
-
},
|
|
21058
|
-
{
|
|
21059
|
-
id: "focus.reports.get-workload",
|
|
21060
|
-
family: "focus",
|
|
21061
|
-
resource: "reports",
|
|
21062
|
-
action: "get-workload",
|
|
21063
|
-
title: "Get Workload Reports",
|
|
21064
|
-
description: "Get Workload Reports.",
|
|
21065
|
-
safety: "update",
|
|
21066
|
-
destructive: false,
|
|
21067
|
-
cli: {
|
|
21068
|
-
group: ["reports"],
|
|
21069
|
-
command: "get-workload",
|
|
21070
|
-
interactive: "hidden"
|
|
21071
|
-
},
|
|
21072
|
-
mcp: { entityTool: "reports" },
|
|
21073
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21074
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21075
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21076
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
21077
|
-
function: /* @__PURE__ */ string$1(),
|
|
21078
|
-
property: /* @__PURE__ */ string$1()
|
|
21079
|
-
}),
|
|
21080
|
-
operator: /* @__PURE__ */ string$1(),
|
|
21081
|
-
property: /* @__PURE__ */ string$1()
|
|
21082
|
-
})),
|
|
21083
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21084
|
-
function: /* @__PURE__ */ string$1(),
|
|
21085
|
-
property: /* @__PURE__ */ string$1()
|
|
21086
|
-
})),
|
|
21087
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
21088
|
-
currency: /* @__PURE__ */ string$1(),
|
|
21089
|
-
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21090
|
-
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
21091
|
-
operator: /* @__PURE__ */ string$1(),
|
|
21092
|
-
property: /* @__PURE__ */ string$1()
|
|
21093
|
-
})),
|
|
21094
|
-
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21095
|
-
property: /* @__PURE__ */ string$1(),
|
|
21096
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
21097
|
-
})),
|
|
21098
|
-
limit: /* @__PURE__ */ number$2(),
|
|
21099
|
-
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21100
|
-
direction: /* @__PURE__ */ string$1(),
|
|
21101
|
-
nulls: /* @__PURE__ */ string$1(),
|
|
21102
|
-
property: /* @__PURE__ */ string$1()
|
|
21103
|
-
})),
|
|
21104
|
-
pagination: /* @__PURE__ */ looseObject({
|
|
21105
|
-
page: /* @__PURE__ */ number$2(),
|
|
21106
|
-
per_page: /* @__PURE__ */ number$2()
|
|
21107
|
-
}),
|
|
21108
|
-
period: /* @__PURE__ */ looseObject({
|
|
21109
|
-
from: /* @__PURE__ */ string$1(),
|
|
21110
|
-
preset: /* @__PURE__ */ string$1(),
|
|
21111
|
-
to: /* @__PURE__ */ string$1()
|
|
21112
|
-
}),
|
|
21113
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21114
|
-
name: /* @__PURE__ */ string$1(),
|
|
21115
|
-
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
21116
|
-
})),
|
|
21117
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
21118
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21119
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21120
|
-
}),
|
|
21121
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
21122
|
-
"csv",
|
|
21123
|
-
"xlsx",
|
|
21124
|
-
"pdf"
|
|
21125
|
-
]))
|
|
21126
|
-
}),
|
|
21127
20672
|
execute: (input, { client }) => {
|
|
21128
20673
|
const data = input;
|
|
21129
20674
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
21130
20675
|
client.httpClient,
|
|
21131
20676
|
client.workspaceIdNumber,
|
|
21132
20677
|
data.payload ?? data.data ?? data,
|
|
21133
|
-
data.xTogglReportExport,
|
|
21134
|
-
void 0
|
|
21135
|
-
]));
|
|
21136
|
-
}
|
|
21137
|
-
},
|
|
21138
|
-
{
|
|
21139
|
-
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
21140
|
-
family: "focus",
|
|
21141
|
-
resource: "reportschedules",
|
|
21142
|
-
action: "delete-shared-report-schedule",
|
|
21143
|
-
title: "Delete Shared Report Schedule Reportschedules",
|
|
21144
|
-
description: "Delete Shared Report Schedule Reportschedules.",
|
|
21145
|
-
safety: "delete",
|
|
21146
|
-
destructive: true,
|
|
21147
|
-
cli: {
|
|
21148
|
-
group: ["reportschedules"],
|
|
21149
|
-
command: "delete-shared-report-schedule",
|
|
21150
|
-
interactive: "default"
|
|
21151
|
-
},
|
|
21152
|
-
mcp: { entityTool: "reportschedules" },
|
|
21153
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21154
|
-
execute: (input, { client }) => {
|
|
21155
|
-
const data = input;
|
|
21156
|
-
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
21157
|
-
client.httpClient,
|
|
21158
|
-
client.workspaceIdNumber,
|
|
21159
|
-
data.id,
|
|
21160
|
-
void 0
|
|
21161
|
-
]));
|
|
21162
|
-
}
|
|
21163
|
-
},
|
|
21164
|
-
{
|
|
21165
|
-
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
21166
|
-
family: "focus",
|
|
21167
|
-
resource: "reportschedules",
|
|
21168
|
-
action: "upsert-saved-view-schedule",
|
|
21169
|
-
title: "Upsert Saved View Schedule Reportschedules",
|
|
21170
|
-
description: "Upsert Saved View Schedule Reportschedules.",
|
|
21171
|
-
safety: "update",
|
|
21172
|
-
destructive: false,
|
|
21173
|
-
cli: {
|
|
21174
|
-
group: ["reportschedules"],
|
|
21175
|
-
command: "upsert-saved-view-schedule",
|
|
21176
|
-
interactive: "hidden"
|
|
21177
|
-
},
|
|
21178
|
-
mcp: { entityTool: "reportschedules" },
|
|
21179
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21180
|
-
id: /* @__PURE__ */ number$2(),
|
|
21181
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21182
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
21183
|
-
"daily",
|
|
21184
|
-
"weekly",
|
|
21185
|
-
"monthly"
|
|
21186
|
-
]),
|
|
21187
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21188
|
-
time: /* @__PURE__ */ string$1(),
|
|
21189
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21190
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21191
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21192
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21193
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
21194
|
-
})
|
|
21195
|
-
}),
|
|
21196
|
-
execute: (input, { client }) => {
|
|
21197
|
-
const data = input;
|
|
21198
|
-
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
21199
|
-
client.httpClient,
|
|
21200
|
-
client.workspaceIdNumber,
|
|
21201
|
-
data.id,
|
|
21202
|
-
data.payload ?? data.data ?? data,
|
|
21203
|
-
void 0
|
|
21204
|
-
]));
|
|
21205
|
-
}
|
|
21206
|
-
},
|
|
21207
|
-
{
|
|
21208
|
-
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
21209
|
-
family: "focus",
|
|
21210
|
-
resource: "reportschedules",
|
|
21211
|
-
action: "upsert-shared-report-schedule",
|
|
21212
|
-
title: "Upsert Shared Report Schedule Reportschedules",
|
|
21213
|
-
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
21214
|
-
safety: "update",
|
|
21215
|
-
destructive: false,
|
|
21216
|
-
cli: {
|
|
21217
|
-
group: ["reportschedules"],
|
|
21218
|
-
command: "upsert-shared-report-schedule",
|
|
21219
|
-
interactive: "default"
|
|
21220
|
-
},
|
|
21221
|
-
mcp: { entityTool: "reportschedules" },
|
|
21222
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21223
|
-
id: /* @__PURE__ */ number$2(),
|
|
21224
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21225
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
21226
|
-
"daily",
|
|
21227
|
-
"weekly",
|
|
21228
|
-
"monthly"
|
|
21229
|
-
]),
|
|
21230
|
-
time: /* @__PURE__ */ string$1(),
|
|
21231
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21232
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21233
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21234
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
21235
|
-
})
|
|
21236
|
-
}),
|
|
21237
|
-
execute: (input, { client }) => {
|
|
21238
|
-
const data = input;
|
|
21239
|
-
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
21240
|
-
client.httpClient,
|
|
21241
|
-
client.workspaceIdNumber,
|
|
21242
|
-
data.id,
|
|
21243
|
-
data.payload ?? data.data ?? data,
|
|
21244
20678
|
void 0
|
|
21245
20679
|
]));
|
|
21246
20680
|
}
|
|
@@ -21278,9 +20712,7 @@ const generatedFocusOperations = [
|
|
|
21278
20712
|
"reports.detailed",
|
|
21279
20713
|
"reports.utilization",
|
|
21280
20714
|
"reports.workload",
|
|
21281
|
-
"reports.profitability"
|
|
21282
|
-
"reports.time-off",
|
|
21283
|
-
"reports.time-accounting"
|
|
20715
|
+
"reports.profitability"
|
|
21284
20716
|
]),
|
|
21285
20717
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21286
20718
|
}) }),
|
|
@@ -21403,36 +20835,6 @@ const generatedFocusOperations = [
|
|
|
21403
20835
|
]));
|
|
21404
20836
|
}
|
|
21405
20837
|
},
|
|
21406
|
-
{
|
|
21407
|
-
id: "focus.search.mentions",
|
|
21408
|
-
family: "focus",
|
|
21409
|
-
resource: "search",
|
|
21410
|
-
action: "mentions",
|
|
21411
|
-
title: "Mentions Search",
|
|
21412
|
-
description: "Mentions Search.",
|
|
21413
|
-
safety: "read",
|
|
21414
|
-
destructive: false,
|
|
21415
|
-
cli: {
|
|
21416
|
-
group: ["search"],
|
|
21417
|
-
command: "mentions",
|
|
21418
|
-
interactive: "hidden"
|
|
21419
|
-
},
|
|
21420
|
-
mcp: { entityTool: "search" },
|
|
21421
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21422
|
-
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21423
|
-
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21424
|
-
}),
|
|
21425
|
-
execute: (input, { client }) => {
|
|
21426
|
-
const data = input;
|
|
21427
|
-
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
21428
|
-
client.httpClient,
|
|
21429
|
-
client.organizationId,
|
|
21430
|
-
client.workspaceIdNumber,
|
|
21431
|
-
data,
|
|
21432
|
-
void 0
|
|
21433
|
-
]));
|
|
21434
|
-
}
|
|
21435
|
-
},
|
|
21436
20838
|
{
|
|
21437
20839
|
id: "focus.search.search",
|
|
21438
20840
|
family: "focus",
|
|
@@ -21460,240 +20862,6 @@ const generatedFocusOperations = [
|
|
|
21460
20862
|
]));
|
|
21461
20863
|
}
|
|
21462
20864
|
},
|
|
21463
|
-
{
|
|
21464
|
-
id: "focus.sharedreports.add-shared-report-grants",
|
|
21465
|
-
family: "focus",
|
|
21466
|
-
resource: "sharedreports",
|
|
21467
|
-
action: "add-shared-report-grants",
|
|
21468
|
-
title: "Add Shared Report Grants Sharedreports",
|
|
21469
|
-
description: "Add Shared Report Grants Sharedreports.",
|
|
21470
|
-
safety: "update",
|
|
21471
|
-
destructive: false,
|
|
21472
|
-
cli: {
|
|
21473
|
-
group: ["sharedreports"],
|
|
21474
|
-
command: "add-shared-report-grants",
|
|
21475
|
-
interactive: "default"
|
|
21476
|
-
},
|
|
21477
|
-
mcp: { entityTool: "sharedreports" },
|
|
21478
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21479
|
-
id: /* @__PURE__ */ number$2(),
|
|
21480
|
-
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21481
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21482
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21483
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21484
|
-
})) })
|
|
21485
|
-
}),
|
|
21486
|
-
execute: (input, { client }) => {
|
|
21487
|
-
const data = input;
|
|
21488
|
-
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
21489
|
-
client.httpClient,
|
|
21490
|
-
client.workspaceIdNumber,
|
|
21491
|
-
data.id,
|
|
21492
|
-
data.payload ?? data.data ?? data,
|
|
21493
|
-
void 0
|
|
21494
|
-
]));
|
|
21495
|
-
}
|
|
21496
|
-
},
|
|
21497
|
-
{
|
|
21498
|
-
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
21499
|
-
family: "focus",
|
|
21500
|
-
resource: "sharedreports",
|
|
21501
|
-
action: "get-saved-view-shared-report",
|
|
21502
|
-
title: "Get Saved View Shared Report Sharedreports",
|
|
21503
|
-
description: "Get Saved View Shared Report Sharedreports.",
|
|
21504
|
-
safety: "read",
|
|
21505
|
-
destructive: false,
|
|
21506
|
-
cli: {
|
|
21507
|
-
group: ["sharedreports"],
|
|
21508
|
-
command: "get-saved-view-shared-report",
|
|
21509
|
-
interactive: "available"
|
|
21510
|
-
},
|
|
21511
|
-
mcp: { entityTool: "sharedreports" },
|
|
21512
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21513
|
-
execute: (input, { client }) => {
|
|
21514
|
-
const data = input;
|
|
21515
|
-
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
21516
|
-
client.httpClient,
|
|
21517
|
-
client.workspaceIdNumber,
|
|
21518
|
-
data.id,
|
|
21519
|
-
void 0
|
|
21520
|
-
]));
|
|
21521
|
-
}
|
|
21522
|
-
},
|
|
21523
|
-
{
|
|
21524
|
-
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21525
|
-
family: "focus",
|
|
21526
|
-
resource: "sharedreports",
|
|
21527
|
-
action: "get-shared-report-for-viewer",
|
|
21528
|
-
title: "Get Shared Report For Viewer Sharedreports",
|
|
21529
|
-
description: "Get Shared Report For Viewer Sharedreports.",
|
|
21530
|
-
safety: "read",
|
|
21531
|
-
destructive: false,
|
|
21532
|
-
cli: {
|
|
21533
|
-
group: ["sharedreports"],
|
|
21534
|
-
command: "get-shared-report-for-viewer",
|
|
21535
|
-
interactive: "available"
|
|
21536
|
-
},
|
|
21537
|
-
mcp: { entityTool: "sharedreports" },
|
|
21538
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21539
|
-
execute: (input, { client }) => {
|
|
21540
|
-
const data = input;
|
|
21541
|
-
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
21542
|
-
client.httpClient,
|
|
21543
|
-
client.workspaceIdNumber,
|
|
21544
|
-
data.id,
|
|
21545
|
-
void 0
|
|
21546
|
-
]));
|
|
21547
|
-
}
|
|
21548
|
-
},
|
|
21549
|
-
{
|
|
21550
|
-
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
21551
|
-
family: "focus",
|
|
21552
|
-
resource: "sharedreports",
|
|
21553
|
-
action: "get-shared-reports-shared-by-me",
|
|
21554
|
-
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
21555
|
-
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
21556
|
-
safety: "read",
|
|
21557
|
-
destructive: false,
|
|
21558
|
-
cli: {
|
|
21559
|
-
group: ["sharedreports"],
|
|
21560
|
-
command: "get-shared-reports-shared-by-me",
|
|
21561
|
-
interactive: "hidden"
|
|
21562
|
-
},
|
|
21563
|
-
mcp: { entityTool: "sharedreports" },
|
|
21564
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21565
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
21566
|
-
client.httpClient,
|
|
21567
|
-
client.workspaceIdNumber,
|
|
21568
|
-
void 0
|
|
21569
|
-
]))
|
|
21570
|
-
},
|
|
21571
|
-
{
|
|
21572
|
-
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
21573
|
-
family: "focus",
|
|
21574
|
-
resource: "sharedreports",
|
|
21575
|
-
action: "get-shared-reports-shared-with-me",
|
|
21576
|
-
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
21577
|
-
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
21578
|
-
safety: "read",
|
|
21579
|
-
destructive: false,
|
|
21580
|
-
cli: {
|
|
21581
|
-
group: ["sharedreports"],
|
|
21582
|
-
command: "get-shared-reports-shared-with-me",
|
|
21583
|
-
interactive: "hidden"
|
|
21584
|
-
},
|
|
21585
|
-
mcp: { entityTool: "sharedreports" },
|
|
21586
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21587
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
21588
|
-
client.httpClient,
|
|
21589
|
-
client.workspaceIdNumber,
|
|
21590
|
-
void 0
|
|
21591
|
-
]))
|
|
21592
|
-
},
|
|
21593
|
-
{
|
|
21594
|
-
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21595
|
-
family: "focus",
|
|
21596
|
-
resource: "sharedreports",
|
|
21597
|
-
action: "revoke-shared-report-grant",
|
|
21598
|
-
title: "Revoke Shared Report Grant Sharedreports",
|
|
21599
|
-
description: "Revoke Shared Report Grant Sharedreports.",
|
|
21600
|
-
safety: "delete",
|
|
21601
|
-
destructive: true,
|
|
21602
|
-
cli: {
|
|
21603
|
-
group: ["sharedreports"],
|
|
21604
|
-
command: "revoke-shared-report-grant",
|
|
21605
|
-
interactive: "default"
|
|
21606
|
-
},
|
|
21607
|
-
mcp: { entityTool: "sharedreports" },
|
|
21608
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21609
|
-
grant_id: /* @__PURE__ */ number$2(),
|
|
21610
|
-
id: /* @__PURE__ */ number$2()
|
|
21611
|
-
}),
|
|
21612
|
-
execute: (input, { client }) => {
|
|
21613
|
-
const data = input;
|
|
21614
|
-
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
21615
|
-
client.httpClient,
|
|
21616
|
-
client.workspaceIdNumber,
|
|
21617
|
-
data.id,
|
|
21618
|
-
data.grant_id,
|
|
21619
|
-
void 0
|
|
21620
|
-
]));
|
|
21621
|
-
}
|
|
21622
|
-
},
|
|
21623
|
-
{
|
|
21624
|
-
id: "focus.sharedreports.share-saved-view",
|
|
21625
|
-
family: "focus",
|
|
21626
|
-
resource: "sharedreports",
|
|
21627
|
-
action: "share-saved-view",
|
|
21628
|
-
title: "Share Saved View Sharedreports",
|
|
21629
|
-
description: "Share Saved View Sharedreports.",
|
|
21630
|
-
safety: "update",
|
|
21631
|
-
destructive: false,
|
|
21632
|
-
cli: {
|
|
21633
|
-
group: ["sharedreports"],
|
|
21634
|
-
command: "share-saved-view",
|
|
21635
|
-
interactive: "hidden"
|
|
21636
|
-
},
|
|
21637
|
-
mcp: { entityTool: "sharedreports" },
|
|
21638
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21639
|
-
id: /* @__PURE__ */ number$2(),
|
|
21640
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21641
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21642
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21643
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21644
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21645
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21646
|
-
})
|
|
21647
|
-
}),
|
|
21648
|
-
execute: (input, { client }) => {
|
|
21649
|
-
const data = input;
|
|
21650
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21651
|
-
client.httpClient,
|
|
21652
|
-
client.workspaceIdNumber,
|
|
21653
|
-
data.id,
|
|
21654
|
-
data.payload ?? data.data ?? data,
|
|
21655
|
-
void 0
|
|
21656
|
-
]));
|
|
21657
|
-
}
|
|
21658
|
-
},
|
|
21659
|
-
{
|
|
21660
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
21661
|
-
family: "focus",
|
|
21662
|
-
resource: "sharedreports",
|
|
21663
|
-
action: "share-saved-view-many",
|
|
21664
|
-
title: "Share Saved View Many Sharedreports",
|
|
21665
|
-
description: "Share Saved View Many Sharedreports.",
|
|
21666
|
-
safety: "update",
|
|
21667
|
-
destructive: false,
|
|
21668
|
-
cli: {
|
|
21669
|
-
group: ["sharedreports"],
|
|
21670
|
-
command: "share-saved-view-many",
|
|
21671
|
-
interactive: "hidden"
|
|
21672
|
-
},
|
|
21673
|
-
mcp: { entityTool: "sharedreports" },
|
|
21674
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21675
|
-
id: /* @__PURE__ */ number$2(),
|
|
21676
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21677
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21678
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21679
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21680
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21681
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21682
|
-
})),
|
|
21683
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21684
|
-
})
|
|
21685
|
-
}),
|
|
21686
|
-
execute: (input, { client }) => {
|
|
21687
|
-
const data = input;
|
|
21688
|
-
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21689
|
-
client.httpClient,
|
|
21690
|
-
client.workspaceIdNumber,
|
|
21691
|
-
data.id,
|
|
21692
|
-
data.payload ?? data.data ?? data,
|
|
21693
|
-
void 0
|
|
21694
|
-
]));
|
|
21695
|
-
}
|
|
21696
|
-
},
|
|
21697
20865
|
{
|
|
21698
20866
|
id: "focus.statuses.create-status",
|
|
21699
20867
|
family: "focus",
|
|
@@ -21889,242 +21057,83 @@ const generatedFocusOperations = [
|
|
|
21889
21057
|
safety: "read",
|
|
21890
21058
|
destructive: false,
|
|
21891
21059
|
cli: {
|
|
21892
|
-
group: ["subscriptions"],
|
|
21893
|
-
command: "get-current-trial",
|
|
21894
|
-
interactive: "hidden"
|
|
21895
|
-
},
|
|
21896
|
-
mcp: { entityTool: "subscriptions" },
|
|
21897
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21898
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getCurrentTrial", () => callGeneratedRequest(getCurrentTrial, [
|
|
21899
|
-
client.httpClient,
|
|
21900
|
-
client.organizationId,
|
|
21901
|
-
void 0
|
|
21902
|
-
]))
|
|
21903
|
-
},
|
|
21904
|
-
{
|
|
21905
|
-
id: "focus.subscriptions.get-features-upsell",
|
|
21906
|
-
family: "focus",
|
|
21907
|
-
resource: "subscriptions",
|
|
21908
|
-
action: "get-features-upsell",
|
|
21909
|
-
title: "Get Features Upsell Subscriptions",
|
|
21910
|
-
description: "Get Features Upsell Subscriptions.",
|
|
21911
|
-
safety: "read",
|
|
21912
|
-
destructive: false,
|
|
21913
|
-
cli: {
|
|
21914
|
-
group: ["subscriptions"],
|
|
21915
|
-
command: "get-features-upsell",
|
|
21916
|
-
interactive: "hidden"
|
|
21917
|
-
},
|
|
21918
|
-
mcp: { entityTool: "subscriptions" },
|
|
21919
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21920
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getFeaturesUpsell", () => callGeneratedRequest(getFeaturesUpsell, [
|
|
21921
|
-
client.httpClient,
|
|
21922
|
-
client.organizationId,
|
|
21923
|
-
void 0
|
|
21924
|
-
]))
|
|
21925
|
-
},
|
|
21926
|
-
{
|
|
21927
|
-
id: "focus.subscriptions.get-plans",
|
|
21928
|
-
family: "focus",
|
|
21929
|
-
resource: "subscriptions",
|
|
21930
|
-
action: "get-plans",
|
|
21931
|
-
title: "Get Plans Subscriptions",
|
|
21932
|
-
description: "Get Plans Subscriptions.",
|
|
21933
|
-
safety: "read",
|
|
21934
|
-
destructive: false,
|
|
21935
|
-
cli: {
|
|
21936
|
-
group: ["subscriptions"],
|
|
21937
|
-
command: "get-plans",
|
|
21938
|
-
interactive: "hidden"
|
|
21939
|
-
},
|
|
21940
|
-
mcp: { entityTool: "subscriptions" },
|
|
21941
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21942
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
|
|
21943
|
-
client.httpClient,
|
|
21944
|
-
client.organizationId,
|
|
21945
|
-
void 0
|
|
21946
|
-
]))
|
|
21947
|
-
},
|
|
21948
|
-
{
|
|
21949
|
-
id: "focus.subscriptions.upsert-forced-trial",
|
|
21950
|
-
family: "focus",
|
|
21951
|
-
resource: "subscriptions",
|
|
21952
|
-
action: "upsert-forced-trial",
|
|
21953
|
-
title: "Upsert Forced Trial Subscriptions",
|
|
21954
|
-
description: "Upsert Forced Trial Subscriptions.",
|
|
21955
|
-
safety: "update",
|
|
21956
|
-
destructive: false,
|
|
21957
|
-
cli: {
|
|
21958
|
-
group: ["subscriptions"],
|
|
21959
|
-
command: "upsert-forced-trial",
|
|
21960
|
-
interactive: "default"
|
|
21961
|
-
},
|
|
21962
|
-
mcp: { entityTool: "subscriptions" },
|
|
21963
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21964
|
-
execute: (input, { client }) => {
|
|
21965
|
-
const data = input;
|
|
21966
|
-
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
21967
|
-
client.httpClient,
|
|
21968
|
-
client.organizationId,
|
|
21969
|
-
client.workspaceIdNumber,
|
|
21970
|
-
data.payload ?? data.data ?? data,
|
|
21971
|
-
void 0
|
|
21972
|
-
]));
|
|
21973
|
-
}
|
|
21974
|
-
},
|
|
21975
|
-
{
|
|
21976
|
-
id: "focus.tags.archive",
|
|
21977
|
-
family: "focus",
|
|
21978
|
-
resource: "tags",
|
|
21979
|
-
action: "archive",
|
|
21980
|
-
title: "Archive Tags",
|
|
21981
|
-
description: "Archive Tags.",
|
|
21982
|
-
safety: "update",
|
|
21983
|
-
destructive: false,
|
|
21984
|
-
cli: {
|
|
21985
|
-
group: ["tags"],
|
|
21986
|
-
command: "archive",
|
|
21987
|
-
interactive: "default"
|
|
21988
|
-
},
|
|
21989
|
-
mcp: { entityTool: "tags" },
|
|
21990
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
21991
|
-
execute: (input, { client }) => {
|
|
21992
|
-
const data = input;
|
|
21993
|
-
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
21994
|
-
client.httpClient,
|
|
21995
|
-
client.workspaceIdNumber,
|
|
21996
|
-
data.tag_id,
|
|
21997
|
-
void 0
|
|
21998
|
-
]));
|
|
21999
|
-
}
|
|
22000
|
-
},
|
|
22001
|
-
{
|
|
22002
|
-
id: "focus.tags.bulk-archive",
|
|
22003
|
-
family: "focus",
|
|
22004
|
-
resource: "tags",
|
|
22005
|
-
action: "bulk-archive",
|
|
22006
|
-
title: "Bulk Archive Tags",
|
|
22007
|
-
description: "Bulk Archive Tags.",
|
|
22008
|
-
safety: "update",
|
|
22009
|
-
destructive: false,
|
|
22010
|
-
cli: {
|
|
22011
|
-
group: ["tags", "bulk"],
|
|
22012
|
-
command: "archive",
|
|
22013
|
-
interactive: "default"
|
|
22014
|
-
},
|
|
22015
|
-
mcp: { entityTool: "tags" },
|
|
22016
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
22017
|
-
execute: (input, { client }) => {
|
|
22018
|
-
const data = input;
|
|
22019
|
-
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
22020
|
-
client.httpClient,
|
|
22021
|
-
client.workspaceIdNumber,
|
|
22022
|
-
data.payload ?? data.data ?? data,
|
|
22023
|
-
void 0
|
|
22024
|
-
]));
|
|
22025
|
-
}
|
|
22026
|
-
},
|
|
22027
|
-
{
|
|
22028
|
-
id: "focus.tags.bulk-create",
|
|
22029
|
-
family: "focus",
|
|
22030
|
-
resource: "tags",
|
|
22031
|
-
action: "bulk-create",
|
|
22032
|
-
title: "Bulk Create Tags",
|
|
22033
|
-
description: "Bulk Create Tags.",
|
|
22034
|
-
safety: "create",
|
|
22035
|
-
destructive: false,
|
|
22036
|
-
cli: {
|
|
22037
|
-
group: ["tags", "bulk"],
|
|
22038
|
-
command: "create",
|
|
22039
|
-
interactive: "default"
|
|
22040
|
-
},
|
|
22041
|
-
mcp: { entityTool: "tags" },
|
|
22042
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
22043
|
-
color: /* @__PURE__ */ string$1(),
|
|
22044
|
-
name: /* @__PURE__ */ string$1()
|
|
22045
|
-
})) }) }),
|
|
22046
|
-
execute: (input, { client }) => {
|
|
22047
|
-
const data = input;
|
|
22048
|
-
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
22049
|
-
client.httpClient,
|
|
22050
|
-
client.workspaceIdNumber,
|
|
22051
|
-
data.payload ?? data.data ?? data,
|
|
22052
|
-
void 0
|
|
22053
|
-
]));
|
|
22054
|
-
}
|
|
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
|
+
]))
|
|
22055
21071
|
},
|
|
22056
21072
|
{
|
|
22057
|
-
id: "focus.
|
|
21073
|
+
id: "focus.subscriptions.get-features-upsell",
|
|
22058
21074
|
family: "focus",
|
|
22059
|
-
resource: "
|
|
22060
|
-
action: "
|
|
22061
|
-
title: "
|
|
22062
|
-
description: "
|
|
22063
|
-
safety: "
|
|
22064
|
-
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,
|
|
22065
21081
|
cli: {
|
|
22066
|
-
group: ["
|
|
22067
|
-
command: "
|
|
22068
|
-
interactive: "
|
|
21082
|
+
group: ["subscriptions"],
|
|
21083
|
+
command: "get-features-upsell",
|
|
21084
|
+
interactive: "hidden"
|
|
22069
21085
|
},
|
|
22070
|
-
mcp: { entityTool: "
|
|
22071
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22072
|
-
execute: (
|
|
22073
|
-
|
|
22074
|
-
|
|
22075
|
-
|
|
22076
|
-
|
|
22077
|
-
data.ids,
|
|
22078
|
-
void 0
|
|
22079
|
-
]));
|
|
22080
|
-
}
|
|
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
|
+
]))
|
|
22081
21093
|
},
|
|
22082
21094
|
{
|
|
22083
|
-
id: "focus.
|
|
21095
|
+
id: "focus.subscriptions.get-plans",
|
|
22084
21096
|
family: "focus",
|
|
22085
|
-
resource: "
|
|
22086
|
-
action: "
|
|
22087
|
-
title: "
|
|
22088
|
-
description: "
|
|
22089
|
-
safety: "
|
|
21097
|
+
resource: "subscriptions",
|
|
21098
|
+
action: "get-plans",
|
|
21099
|
+
title: "Get Plans Subscriptions",
|
|
21100
|
+
description: "Get Plans Subscriptions.",
|
|
21101
|
+
safety: "read",
|
|
22090
21102
|
destructive: false,
|
|
22091
21103
|
cli: {
|
|
22092
|
-
group: ["
|
|
22093
|
-
command: "
|
|
22094
|
-
interactive: "
|
|
21104
|
+
group: ["subscriptions"],
|
|
21105
|
+
command: "get-plans",
|
|
21106
|
+
interactive: "hidden"
|
|
22095
21107
|
},
|
|
22096
|
-
mcp: { entityTool: "
|
|
22097
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22098
|
-
execute: (
|
|
22099
|
-
|
|
22100
|
-
|
|
22101
|
-
|
|
22102
|
-
|
|
22103
|
-
data.payload ?? data.data ?? data,
|
|
22104
|
-
void 0
|
|
22105
|
-
]));
|
|
22106
|
-
}
|
|
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
|
+
]))
|
|
22107
21115
|
},
|
|
22108
21116
|
{
|
|
22109
|
-
id: "focus.
|
|
21117
|
+
id: "focus.subscriptions.upsert-forced-trial",
|
|
22110
21118
|
family: "focus",
|
|
22111
|
-
resource: "
|
|
22112
|
-
action: "
|
|
22113
|
-
title: "
|
|
22114
|
-
description: "
|
|
21119
|
+
resource: "subscriptions",
|
|
21120
|
+
action: "upsert-forced-trial",
|
|
21121
|
+
title: "Upsert Forced Trial Subscriptions",
|
|
21122
|
+
description: "Upsert Forced Trial Subscriptions.",
|
|
22115
21123
|
safety: "update",
|
|
22116
21124
|
destructive: false,
|
|
22117
21125
|
cli: {
|
|
22118
|
-
group: ["
|
|
22119
|
-
command: "
|
|
21126
|
+
group: ["subscriptions"],
|
|
21127
|
+
command: "upsert-forced-trial",
|
|
22120
21128
|
interactive: "default"
|
|
22121
21129
|
},
|
|
22122
|
-
mcp: { entityTool: "
|
|
22123
|
-
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()) }) }),
|
|
22124
21132
|
execute: (input, { client }) => {
|
|
22125
21133
|
const data = input;
|
|
22126
|
-
return client.runGeneratedRequest("
|
|
21134
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
22127
21135
|
client.httpClient,
|
|
21136
|
+
client.organizationId,
|
|
22128
21137
|
client.workspaceIdNumber,
|
|
22129
21138
|
data.payload ?? data.data ?? data,
|
|
22130
21139
|
void 0
|
|
@@ -22215,35 +21224,6 @@ const generatedFocusOperations = [
|
|
|
22215
21224
|
return client.listTags(data);
|
|
22216
21225
|
}
|
|
22217
21226
|
},
|
|
22218
|
-
{
|
|
22219
|
-
id: "focus.tags.merge",
|
|
22220
|
-
family: "focus",
|
|
22221
|
-
resource: "tags",
|
|
22222
|
-
action: "merge",
|
|
22223
|
-
title: "Merge Tags",
|
|
22224
|
-
description: "Merge Tags.",
|
|
22225
|
-
safety: "update",
|
|
22226
|
-
destructive: false,
|
|
22227
|
-
cli: {
|
|
22228
|
-
group: ["tags"],
|
|
22229
|
-
command: "merge",
|
|
22230
|
-
interactive: "default"
|
|
22231
|
-
},
|
|
22232
|
-
mcp: { entityTool: "tags" },
|
|
22233
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
22234
|
-
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
22235
|
-
target_id: /* @__PURE__ */ number$2()
|
|
22236
|
-
}) }),
|
|
22237
|
-
execute: (input, { client }) => {
|
|
22238
|
-
const data = input;
|
|
22239
|
-
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
22240
|
-
client.httpClient,
|
|
22241
|
-
client.workspaceIdNumber,
|
|
22242
|
-
data.payload ?? data.data ?? data,
|
|
22243
|
-
void 0
|
|
22244
|
-
]));
|
|
22245
|
-
}
|
|
22246
|
-
},
|
|
22247
21227
|
{
|
|
22248
21228
|
id: "focus.tags.restore",
|
|
22249
21229
|
family: "focus",
|
|
@@ -22270,32 +21250,6 @@ const generatedFocusOperations = [
|
|
|
22270
21250
|
]));
|
|
22271
21251
|
}
|
|
22272
21252
|
},
|
|
22273
|
-
{
|
|
22274
|
-
id: "focus.tags.unarchive",
|
|
22275
|
-
family: "focus",
|
|
22276
|
-
resource: "tags",
|
|
22277
|
-
action: "unarchive",
|
|
22278
|
-
title: "Unarchive Tags",
|
|
22279
|
-
description: "Unarchive Tags.",
|
|
22280
|
-
safety: "update",
|
|
22281
|
-
destructive: false,
|
|
22282
|
-
cli: {
|
|
22283
|
-
group: ["tags"],
|
|
22284
|
-
command: "unarchive",
|
|
22285
|
-
interactive: "default"
|
|
22286
|
-
},
|
|
22287
|
-
mcp: { entityTool: "tags" },
|
|
22288
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
22289
|
-
execute: (input, { client }) => {
|
|
22290
|
-
const data = input;
|
|
22291
|
-
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
22292
|
-
client.httpClient,
|
|
22293
|
-
client.workspaceIdNumber,
|
|
22294
|
-
data.tag_id,
|
|
22295
|
-
void 0
|
|
22296
|
-
]));
|
|
22297
|
-
}
|
|
22298
|
-
},
|
|
22299
21253
|
{
|
|
22300
21254
|
id: "focus.tags.update",
|
|
22301
21255
|
family: "focus",
|
|
@@ -22736,37 +21690,6 @@ const generatedFocusOperations = [
|
|
|
22736
21690
|
return client.createTask(data);
|
|
22737
21691
|
}
|
|
22738
21692
|
},
|
|
22739
|
-
{
|
|
22740
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
22741
|
-
family: "focus",
|
|
22742
|
-
resource: "tasks",
|
|
22743
|
-
action: "create-recurring-occurrence",
|
|
22744
|
-
title: "Create Recurring Occurrence Tasks",
|
|
22745
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
22746
|
-
safety: "create",
|
|
22747
|
-
destructive: false,
|
|
22748
|
-
cli: {
|
|
22749
|
-
group: ["tasks"],
|
|
22750
|
-
command: "create-recurring-occurrence",
|
|
22751
|
-
interactive: "default"
|
|
22752
|
-
},
|
|
22753
|
-
mcp: { entityTool: "tasks" },
|
|
22754
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22755
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22756
|
-
task_id: /* @__PURE__ */ number$2()
|
|
22757
|
-
}),
|
|
22758
|
-
execute: (input, { client }) => {
|
|
22759
|
-
const data = input;
|
|
22760
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22761
|
-
client.httpClient,
|
|
22762
|
-
client.organizationId,
|
|
22763
|
-
client.workspaceIdNumber,
|
|
22764
|
-
data.task_id,
|
|
22765
|
-
data.return_occurrence,
|
|
22766
|
-
void 0
|
|
22767
|
-
]));
|
|
22768
|
-
}
|
|
22769
|
-
},
|
|
22770
21693
|
{
|
|
22771
21694
|
id: "focus.tasks.delete",
|
|
22772
21695
|
family: "focus",
|
|
@@ -23008,19 +21931,15 @@ const generatedFocusOperations = [
|
|
|
23008
21931
|
mcp: { entityTool: "tasks" },
|
|
23009
21932
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23010
21933
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23011
|
-
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23012
21934
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23013
21935
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23014
21936
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23015
21937
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23016
21938
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23017
|
-
|
|
23018
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21939
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23019
21940
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23020
21941
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23021
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23022
21942
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23023
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23024
21943
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23025
21944
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23026
21945
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23054,6 +21973,7 @@ const generatedFocusOperations = [
|
|
|
23054
21973
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23055
21974
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23056
21975
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21976
|
+
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23057
21977
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23058
21978
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23059
21979
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23070,11 +21990,10 @@ const generatedFocusOperations = [
|
|
|
23070
21990
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23071
21991
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23072
21992
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21993
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23073
21994
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23074
21995
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23075
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23076
21996
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23077
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23078
21997
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23079
21998
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23080
21999
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23083,9 +22002,7 @@ const generatedFocusOperations = [
|
|
|
23083
22002
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23084
22003
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23085
22004
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23086
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23087
22005
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23088
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23089
22006
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23090
22007
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23091
22008
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23129,6 +22046,7 @@ const generatedFocusOperations = [
|
|
|
23129
22046
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23130
22047
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23131
22048
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22049
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23132
22050
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23133
22051
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23134
22052
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23144,195 +22062,65 @@ const generatedFocusOperations = [
|
|
|
23144
22062
|
client.httpClient,
|
|
23145
22063
|
client.organizationId,
|
|
23146
22064
|
client.workspaceIdNumber,
|
|
23147
|
-
data.task_id,
|
|
23148
|
-
data,
|
|
23149
|
-
void 0
|
|
23150
|
-
]));
|
|
23151
|
-
}
|
|
23152
|
-
},
|
|
23153
|
-
{
|
|
23154
|
-
id: "focus.tasks.get-with-parents",
|
|
23155
|
-
family: "focus",
|
|
23156
|
-
resource: "tasks",
|
|
23157
|
-
action: "get-with-parents",
|
|
23158
|
-
title: "Get With Parents Tasks",
|
|
23159
|
-
description: "Get With Parents Tasks.",
|
|
23160
|
-
safety: "read",
|
|
23161
|
-
destructive: false,
|
|
23162
|
-
cli: {
|
|
23163
|
-
group: ["tasks"],
|
|
23164
|
-
command: "get-with-parents",
|
|
23165
|
-
interactive: "hidden"
|
|
23166
|
-
},
|
|
23167
|
-
mcp: { entityTool: "tasks" },
|
|
23168
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23169
|
-
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23170
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23171
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23172
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23173
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23174
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23175
|
-
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23176
|
-
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23177
|
-
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23178
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23179
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23180
|
-
}),
|
|
23181
|
-
execute: (input, { client }) => {
|
|
23182
|
-
const data = input;
|
|
23183
|
-
return client.runGeneratedRequest("getTaskWithParentsClassic", () => callGeneratedRequest(getTaskWithParentsClassic, [
|
|
23184
|
-
client.httpClient,
|
|
23185
|
-
client.organizationId,
|
|
23186
|
-
client.workspaceIdNumber,
|
|
23187
|
-
data.task_id,
|
|
23188
|
-
data,
|
|
23189
|
-
void 0
|
|
23190
|
-
]));
|
|
23191
|
-
}
|
|
23192
|
-
},
|
|
23193
|
-
{
|
|
23194
|
-
id: "focus.tasks.groups-get",
|
|
23195
|
-
family: "focus",
|
|
23196
|
-
resource: "tasks",
|
|
23197
|
-
action: "groups-get",
|
|
23198
|
-
title: "Groups Get Tasks",
|
|
23199
|
-
description: "Groups Get Tasks.",
|
|
23200
|
-
safety: "read",
|
|
23201
|
-
destructive: false,
|
|
23202
|
-
cli: {
|
|
23203
|
-
group: ["tasks", "groups"],
|
|
23204
|
-
command: "get",
|
|
23205
|
-
interactive: "hidden"
|
|
23206
|
-
},
|
|
23207
|
-
mcp: { entityTool: "tasks" },
|
|
23208
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23209
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23210
|
-
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23211
|
-
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23212
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23213
|
-
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23214
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23215
|
-
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23216
|
-
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23217
|
-
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23218
|
-
group: /* @__PURE__ */ picklist$1([
|
|
23219
|
-
"projects",
|
|
23220
|
-
"users",
|
|
23221
|
-
"tags"
|
|
23222
|
-
]),
|
|
23223
|
-
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23224
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23225
|
-
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23226
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23227
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23228
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23229
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23230
|
-
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23231
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23232
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23233
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23234
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23235
|
-
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23236
|
-
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23237
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23238
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23239
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23240
|
-
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23241
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23242
|
-
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23243
|
-
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23244
|
-
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23245
|
-
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23246
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23247
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23248
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23249
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23250
|
-
}),
|
|
23251
|
-
execute: (input, { client }) => {
|
|
23252
|
-
const data = input;
|
|
23253
|
-
return client.runGeneratedRequest("getTaskGroupsClassic", () => callGeneratedRequest(getTaskGroupsClassic, [
|
|
23254
|
-
client.httpClient,
|
|
23255
|
-
client.organizationId,
|
|
23256
|
-
client.workspaceIdNumber,
|
|
23257
|
-
data.group,
|
|
22065
|
+
data.task_id,
|
|
23258
22066
|
data,
|
|
23259
22067
|
void 0
|
|
23260
22068
|
]));
|
|
23261
22069
|
}
|
|
23262
22070
|
},
|
|
23263
22071
|
{
|
|
23264
|
-
id: "focus.tasks.
|
|
22072
|
+
id: "focus.tasks.get-with-parents",
|
|
23265
22073
|
family: "focus",
|
|
23266
22074
|
resource: "tasks",
|
|
23267
|
-
action: "
|
|
23268
|
-
title: "
|
|
23269
|
-
description: "
|
|
22075
|
+
action: "get-with-parents",
|
|
22076
|
+
title: "Get With Parents Tasks",
|
|
22077
|
+
description: "Get With Parents Tasks.",
|
|
23270
22078
|
safety: "read",
|
|
23271
22079
|
destructive: false,
|
|
23272
22080
|
cli: {
|
|
23273
|
-
group: ["tasks"
|
|
23274
|
-
command: "get-
|
|
22081
|
+
group: ["tasks"],
|
|
22082
|
+
command: "get-with-parents",
|
|
23275
22083
|
interactive: "hidden"
|
|
23276
22084
|
},
|
|
23277
22085
|
mcp: { entityTool: "tasks" },
|
|
23278
22086
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23279
|
-
|
|
23280
|
-
|
|
23281
|
-
|
|
23282
|
-
|
|
23283
|
-
|
|
23284
|
-
|
|
23285
|
-
|
|
23286
|
-
|
|
23287
|
-
|
|
23288
|
-
|
|
23289
|
-
|
|
23290
|
-
|
|
23291
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23292
|
-
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23293
|
-
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23294
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23295
|
-
min_days: /* @__PURE__ */ unknown$1(),
|
|
23296
|
-
name: /* @__PURE__ */ unknown$1(),
|
|
23297
|
-
priority: /* @__PURE__ */ unknown$1(),
|
|
23298
|
-
private_: /* @__PURE__ */ unknown$1(),
|
|
23299
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
23300
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23301
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23302
|
-
source: /* @__PURE__ */ unknown$1(),
|
|
23303
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23304
|
-
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
23305
|
-
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
23306
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
23307
|
-
tag_id: /* @__PURE__ */ number$2(),
|
|
23308
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
23309
|
-
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23310
|
-
user_tag_id: /* @__PURE__ */ number$2(),
|
|
23311
|
-
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())
|
|
23312
22099
|
}),
|
|
23313
22100
|
execute: (input, { client }) => {
|
|
23314
22101
|
const data = input;
|
|
23315
|
-
return client.runGeneratedRequest("
|
|
22102
|
+
return client.runGeneratedRequest("getTaskWithParentsClassic", () => callGeneratedRequest(getTaskWithParentsClassic, [
|
|
23316
22103
|
client.httpClient,
|
|
23317
22104
|
client.organizationId,
|
|
23318
22105
|
client.workspaceIdNumber,
|
|
22106
|
+
data.task_id,
|
|
23319
22107
|
data,
|
|
23320
22108
|
void 0
|
|
23321
22109
|
]));
|
|
23322
22110
|
}
|
|
23323
22111
|
},
|
|
23324
22112
|
{
|
|
23325
|
-
id: "focus.tasks.groups-get
|
|
22113
|
+
id: "focus.tasks.groups-get",
|
|
23326
22114
|
family: "focus",
|
|
23327
22115
|
resource: "tasks",
|
|
23328
|
-
action: "groups-get
|
|
23329
|
-
title: "Groups Get
|
|
23330
|
-
description: "Groups Get
|
|
22116
|
+
action: "groups-get",
|
|
22117
|
+
title: "Groups Get Tasks",
|
|
22118
|
+
description: "Groups Get Tasks.",
|
|
23331
22119
|
safety: "read",
|
|
23332
22120
|
destructive: false,
|
|
23333
22121
|
cli: {
|
|
23334
22122
|
group: ["tasks", "groups"],
|
|
23335
|
-
command: "get
|
|
22123
|
+
command: "get",
|
|
23336
22124
|
interactive: "hidden"
|
|
23337
22125
|
},
|
|
23338
22126
|
mcp: { entityTool: "tasks" },
|
|
@@ -23340,43 +22128,44 @@ const generatedFocusOperations = [
|
|
|
23340
22128
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23341
22129
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23342
22130
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23343
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23344
22131
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23345
22132
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23346
22133
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23347
22134
|
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23348
22135
|
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22136
|
+
group: /* @__PURE__ */ picklist$1([
|
|
22137
|
+
"projects",
|
|
22138
|
+
"users",
|
|
22139
|
+
"tags"
|
|
22140
|
+
]),
|
|
23349
22141
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23350
22142
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23351
22143
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23352
|
-
|
|
23353
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23354
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23355
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22144
|
+
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23356
22145
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23357
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()),
|
|
23358
22150
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23359
22151
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23360
22152
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23361
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23362
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23363
22153
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23364
22154
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23365
22155
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23366
22156
|
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23367
22157
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23368
|
-
tag_id: /* @__PURE__ */ optional$1(
|
|
22158
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23369
22159
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23370
|
-
|
|
23371
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23372
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22160
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23373
22161
|
}),
|
|
23374
22162
|
execute: (input, { client }) => {
|
|
23375
22163
|
const data = input;
|
|
23376
|
-
return client.runGeneratedRequest("
|
|
22164
|
+
return client.runGeneratedRequest("getTaskGroupsClassic", () => callGeneratedRequest(getTaskGroupsClassic, [
|
|
23377
22165
|
client.httpClient,
|
|
23378
22166
|
client.organizationId,
|
|
23379
22167
|
client.workspaceIdNumber,
|
|
22168
|
+
data.group,
|
|
23380
22169
|
data,
|
|
23381
22170
|
void 0
|
|
23382
22171
|
]));
|
|
@@ -23587,6 +22376,7 @@ const generatedFocusOperations = [
|
|
|
23587
22376
|
name: /* @__PURE__ */ string$1(),
|
|
23588
22377
|
status_id: /* @__PURE__ */ number$2(),
|
|
23589
22378
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22379
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23590
22380
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23591
22381
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23592
22382
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -23606,7 +22396,6 @@ const generatedFocusOperations = [
|
|
|
23606
22396
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23607
22397
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23608
22398
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23609
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23610
22399
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
23611
22400
|
}),
|
|
23612
22401
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -23640,8 +22429,7 @@ const generatedFocusOperations = [
|
|
|
23640
22429
|
mcp: { entityTool: "tasks" },
|
|
23641
22430
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23642
22431
|
date_from: /* @__PURE__ */ string$1(),
|
|
23643
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23644
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
22432
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23645
22433
|
}),
|
|
23646
22434
|
execute: (input, { client }) => {
|
|
23647
22435
|
const data = input;
|
|
@@ -23651,7 +22439,6 @@ const generatedFocusOperations = [
|
|
|
23651
22439
|
client.workspaceIdNumber,
|
|
23652
22440
|
data.date_from,
|
|
23653
22441
|
data.date_to,
|
|
23654
|
-
data.skip_provider_refresh,
|
|
23655
22442
|
void 0
|
|
23656
22443
|
]));
|
|
23657
22444
|
}
|
|
@@ -24238,8 +23025,7 @@ const generatedFocusOperations = [
|
|
|
24238
23025
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24239
23026
|
"project",
|
|
24240
23027
|
"task",
|
|
24241
|
-
"description"
|
|
24242
|
-
"tags"
|
|
23028
|
+
"description"
|
|
24243
23029
|
]) })),
|
|
24244
23030
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24245
23031
|
}) }),
|
|
@@ -24269,7 +23055,6 @@ const generatedFocusOperations = [
|
|
|
24269
23055
|
},
|
|
24270
23056
|
mcp: { entityTool: "time-entries" },
|
|
24271
23057
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24272
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24273
23058
|
payload: /* @__PURE__ */ looseObject({
|
|
24274
23059
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24275
23060
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24280,13 +23065,11 @@ const generatedFocusOperations = [
|
|
|
24280
23065
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24281
23066
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24282
23067
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24283
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24284
23068
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24285
23069
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24286
23070
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24287
23071
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24288
23072
|
}),
|
|
24289
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24290
23073
|
task_id: /* @__PURE__ */ number$2()
|
|
24291
23074
|
}),
|
|
24292
23075
|
execute: (input, { client }) => {
|
|
@@ -24297,8 +23080,6 @@ const generatedFocusOperations = [
|
|
|
24297
23080
|
client.workspaceIdNumber,
|
|
24298
23081
|
data.task_id,
|
|
24299
23082
|
data.payload ?? data.data ?? data,
|
|
24300
|
-
data.from_recurring_task_id,
|
|
24301
|
-
data.return_occurrence,
|
|
24302
23083
|
void 0
|
|
24303
23084
|
]));
|
|
24304
23085
|
}
|
|
@@ -24318,26 +23099,21 @@ const generatedFocusOperations = [
|
|
|
24318
23099
|
interactive: "default"
|
|
24319
23100
|
},
|
|
24320
23101
|
mcp: { entityTool: "time-entries" },
|
|
24321
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24322
|
-
|
|
24323
|
-
|
|
24324
|
-
|
|
24325
|
-
|
|
24326
|
-
|
|
24327
|
-
|
|
24328
|
-
|
|
24329
|
-
|
|
24330
|
-
|
|
24331
|
-
|
|
24332
|
-
|
|
24333
|
-
|
|
24334
|
-
|
|
24335
|
-
|
|
24336
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24337
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24338
|
-
}),
|
|
24339
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24340
|
-
}),
|
|
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
|
+
}) }),
|
|
24341
23117
|
execute: (input, { client }) => {
|
|
24342
23118
|
const data = input;
|
|
24343
23119
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24345,8 +23121,6 @@ const generatedFocusOperations = [
|
|
|
24345
23121
|
client.organizationId,
|
|
24346
23122
|
client.workspaceIdNumber,
|
|
24347
23123
|
data.payload ?? data.data ?? data,
|
|
24348
|
-
data.from_recurring_task_id,
|
|
24349
|
-
data.return_occurrence,
|
|
24350
23124
|
void 0
|
|
24351
23125
|
]));
|
|
24352
23126
|
}
|
|
@@ -24366,11 +23140,7 @@ const generatedFocusOperations = [
|
|
|
24366
23140
|
interactive: "default"
|
|
24367
23141
|
},
|
|
24368
23142
|
mcp: { entityTool: "time-entries" },
|
|
24369
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24370
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24371
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24372
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24373
|
-
}),
|
|
23143
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24374
23144
|
execute: (input, { client }) => {
|
|
24375
23145
|
const data = input;
|
|
24376
23146
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24378,8 +23148,6 @@ const generatedFocusOperations = [
|
|
|
24378
23148
|
client.organizationId,
|
|
24379
23149
|
client.workspaceIdNumber,
|
|
24380
23150
|
data.time_entry_id,
|
|
24381
|
-
data.from_recurring_task_id,
|
|
24382
|
-
data.return_occurrence,
|
|
24383
23151
|
void 0
|
|
24384
23152
|
]));
|
|
24385
23153
|
}
|
|
@@ -24460,7 +23228,6 @@ const generatedFocusOperations = [
|
|
|
24460
23228
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24461
23229
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24462
23230
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24463
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24464
23231
|
status_id: /* @__PURE__ */ number$2(),
|
|
24465
23232
|
task_id: /* @__PURE__ */ number$2(),
|
|
24466
23233
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24539,40 +23306,6 @@ const generatedFocusOperations = [
|
|
|
24539
23306
|
]));
|
|
24540
23307
|
}
|
|
24541
23308
|
},
|
|
24542
|
-
{
|
|
24543
|
-
id: "focus.time-entries.groups-get-users",
|
|
24544
|
-
family: "focus",
|
|
24545
|
-
resource: "time-entries",
|
|
24546
|
-
action: "groups-get-users",
|
|
24547
|
-
title: "Groups Get Users Time Entries",
|
|
24548
|
-
description: "Groups Get Users Time Entries.",
|
|
24549
|
-
safety: "read",
|
|
24550
|
-
destructive: false,
|
|
24551
|
-
cli: {
|
|
24552
|
-
group: ["time-entries", "groups"],
|
|
24553
|
-
command: "get-users",
|
|
24554
|
-
interactive: "hidden"
|
|
24555
|
-
},
|
|
24556
|
-
mcp: { entityTool: "time-entries" },
|
|
24557
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24558
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24559
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
24560
|
-
page: /* @__PURE__ */ number$2(),
|
|
24561
|
-
per_page: /* @__PURE__ */ unknown$1(),
|
|
24562
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24563
|
-
user_id: /* @__PURE__ */ number$2()
|
|
24564
|
-
}),
|
|
24565
|
-
execute: (input, { client }) => {
|
|
24566
|
-
const data = input;
|
|
24567
|
-
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
24568
|
-
client.httpClient,
|
|
24569
|
-
client.organizationId,
|
|
24570
|
-
client.workspaceIdNumber,
|
|
24571
|
-
data,
|
|
24572
|
-
void 0
|
|
24573
|
-
]));
|
|
24574
|
-
}
|
|
24575
|
-
},
|
|
24576
23309
|
{
|
|
24577
23310
|
id: "focus.time-entries.list",
|
|
24578
23311
|
family: "focus",
|
|
@@ -24637,14 +23370,12 @@ const generatedFocusOperations = [
|
|
|
24637
23370
|
},
|
|
24638
23371
|
mcp: { entityTool: "time-entries" },
|
|
24639
23372
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24640
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24641
23373
|
payload: /* @__PURE__ */ looseObject({
|
|
24642
23374
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24643
23375
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24644
23376
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24645
23377
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24646
23378
|
}),
|
|
24647
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24648
23379
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24649
23380
|
}),
|
|
24650
23381
|
execute: (input, { client }) => {
|
|
@@ -24655,8 +23386,6 @@ const generatedFocusOperations = [
|
|
|
24655
23386
|
client.workspaceIdNumber,
|
|
24656
23387
|
data.time_entry_id,
|
|
24657
23388
|
data.payload ?? data.data ?? data,
|
|
24658
|
-
data.from_recurring_task_id,
|
|
24659
|
-
data.return_occurrence,
|
|
24660
23389
|
void 0
|
|
24661
23390
|
]));
|
|
24662
23391
|
}
|
|
@@ -24761,42 +23490,6 @@ const generatedFocusOperations = [
|
|
|
24761
23490
|
inputSchema: emptySchema$1,
|
|
24762
23491
|
execute: (_input, { client }) => client.stopTracking()
|
|
24763
23492
|
},
|
|
24764
|
-
{
|
|
24765
|
-
id: "focus.time-entries.sync",
|
|
24766
|
-
family: "focus",
|
|
24767
|
-
resource: "time-entries",
|
|
24768
|
-
action: "sync",
|
|
24769
|
-
title: "Sync Time Entries",
|
|
24770
|
-
description: "Sync Time Entries.",
|
|
24771
|
-
safety: "update",
|
|
24772
|
-
destructive: false,
|
|
24773
|
-
cli: {
|
|
24774
|
-
group: ["time-entries"],
|
|
24775
|
-
command: "sync",
|
|
24776
|
-
interactive: "default"
|
|
24777
|
-
},
|
|
24778
|
-
mcp: { entityTool: "time-entries" },
|
|
24779
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24780
|
-
client_uuid: /* @__PURE__ */ string$1(),
|
|
24781
|
-
payload: /* @__PURE__ */ looseObject({
|
|
24782
|
-
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
24783
|
-
client_updated_at: apiDateTimeString,
|
|
24784
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24785
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24786
|
-
})
|
|
24787
|
-
}),
|
|
24788
|
-
execute: (input, { client }) => {
|
|
24789
|
-
const data = input;
|
|
24790
|
-
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
24791
|
-
client.httpClient,
|
|
24792
|
-
client.organizationId,
|
|
24793
|
-
client.workspaceIdNumber,
|
|
24794
|
-
data.client_uuid,
|
|
24795
|
-
data.payload ?? data.data ?? data,
|
|
24796
|
-
void 0
|
|
24797
|
-
]));
|
|
24798
|
-
}
|
|
24799
|
-
},
|
|
24800
23493
|
{
|
|
24801
23494
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
24802
23495
|
family: "focus",
|
|
@@ -24845,7 +23538,6 @@ const generatedFocusOperations = [
|
|
|
24845
23538
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24846
23539
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24847
23540
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24848
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24849
23541
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24850
23542
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24851
23543
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -24914,7 +23606,6 @@ const generatedFocusOperations = [
|
|
|
24914
23606
|
},
|
|
24915
23607
|
mcp: { entityTool: "time-entries" },
|
|
24916
23608
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24917
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24918
23609
|
payload: /* @__PURE__ */ looseObject({
|
|
24919
23610
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24920
23611
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24927,35 +23618,181 @@ const generatedFocusOperations = [
|
|
|
24927
23618
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24928
23619
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24929
23620
|
}),
|
|
24930
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24931
23621
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24932
23622
|
}),
|
|
24933
23623
|
execute: (input, { client }) => {
|
|
24934
23624
|
const data = input;
|
|
24935
|
-
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, [
|
|
24936
23775
|
client.httpClient,
|
|
24937
23776
|
client.organizationId,
|
|
24938
23777
|
client.workspaceIdNumber,
|
|
24939
|
-
data.
|
|
23778
|
+
data.ghost_id,
|
|
24940
23779
|
data.payload ?? data.data ?? data,
|
|
24941
|
-
data.from_recurring_task_id,
|
|
24942
|
-
data.return_occurrence,
|
|
24943
23780
|
void 0
|
|
24944
23781
|
]));
|
|
24945
23782
|
}
|
|
24946
23783
|
},
|
|
24947
23784
|
{
|
|
24948
|
-
id: "focus.time-off.
|
|
23785
|
+
id: "focus.time-off.delete-timeoff-for-user",
|
|
24949
23786
|
family: "focus",
|
|
24950
23787
|
resource: "time-off",
|
|
24951
|
-
action: "
|
|
24952
|
-
title: "
|
|
24953
|
-
description: "
|
|
24954
|
-
safety: "
|
|
24955
|
-
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,
|
|
24956
23793
|
cli: {
|
|
24957
23794
|
group: ["time-off"],
|
|
24958
|
-
command: "
|
|
23795
|
+
command: "delete-timeoff-for-user",
|
|
24959
23796
|
interactive: "hidden"
|
|
24960
23797
|
},
|
|
24961
23798
|
mcp: { entityTool: "time-off" },
|
|
@@ -24965,7 +23802,7 @@ const generatedFocusOperations = [
|
|
|
24965
23802
|
}),
|
|
24966
23803
|
execute: (input, { client }) => {
|
|
24967
23804
|
const data = input;
|
|
24968
|
-
return client.runGeneratedRequest("
|
|
23805
|
+
return client.runGeneratedRequest("deleteTimeoffForUser", () => callGeneratedRequest(deleteTimeoffForUser, [
|
|
24969
23806
|
client.httpClient,
|
|
24970
23807
|
client.organizationId,
|
|
24971
23808
|
data.user_id,
|
|
@@ -24975,31 +23812,33 @@ const generatedFocusOperations = [
|
|
|
24975
23812
|
}
|
|
24976
23813
|
},
|
|
24977
23814
|
{
|
|
24978
|
-
id: "focus.time-off.
|
|
23815
|
+
id: "focus.time-off.get-timeoff-for-ghost",
|
|
24979
23816
|
family: "focus",
|
|
24980
23817
|
resource: "time-off",
|
|
24981
|
-
action: "
|
|
24982
|
-
title: "
|
|
24983
|
-
description: "
|
|
24984
|
-
safety: "
|
|
24985
|
-
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,
|
|
24986
23823
|
cli: {
|
|
24987
23824
|
group: ["time-off"],
|
|
24988
|
-
command: "
|
|
23825
|
+
command: "get-timeoff-for-ghost",
|
|
24989
23826
|
interactive: "hidden"
|
|
24990
23827
|
},
|
|
24991
23828
|
mcp: { entityTool: "time-off" },
|
|
24992
23829
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24993
|
-
|
|
24994
|
-
|
|
23830
|
+
from: /* @__PURE__ */ unknown$1(),
|
|
23831
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23832
|
+
to: /* @__PURE__ */ unknown$1()
|
|
24995
23833
|
}),
|
|
24996
23834
|
execute: (input, { client }) => {
|
|
24997
23835
|
const data = input;
|
|
24998
|
-
return client.runGeneratedRequest("
|
|
23836
|
+
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
24999
23837
|
client.httpClient,
|
|
25000
23838
|
client.organizationId,
|
|
25001
|
-
|
|
25002
|
-
data.
|
|
23839
|
+
client.workspaceIdNumber,
|
|
23840
|
+
data.ghost_id,
|
|
23841
|
+
data,
|
|
25003
23842
|
void 0
|
|
25004
23843
|
]));
|
|
25005
23844
|
}
|
|
@@ -25035,6 +23874,37 @@ const generatedFocusOperations = [
|
|
|
25035
23874
|
]));
|
|
25036
23875
|
}
|
|
25037
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
|
+
},
|
|
25038
23908
|
{
|
|
25039
23909
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
25040
23910
|
family: "focus",
|
|
@@ -25065,6 +23935,37 @@ const generatedFocusOperations = [
|
|
|
25065
23935
|
]));
|
|
25066
23936
|
}
|
|
25067
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
|
+
},
|
|
25068
23969
|
{
|
|
25069
23970
|
id: "focus.time-off.update-timeoff-for-user",
|
|
25070
23971
|
family: "focus",
|
|
@@ -26025,56 +24926,6 @@ const generatedFocusOperations = [
|
|
|
26025
24926
|
return client.listOrgUsers(data);
|
|
26026
24927
|
}
|
|
26027
24928
|
},
|
|
26028
|
-
{
|
|
26029
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
26030
|
-
family: "focus",
|
|
26031
|
-
resource: "users",
|
|
26032
|
-
action: "settings-email-unsubscribe",
|
|
26033
|
-
title: "Settings Email Unsubscribe Users",
|
|
26034
|
-
description: "Settings Email Unsubscribe Users.",
|
|
26035
|
-
safety: "update",
|
|
26036
|
-
destructive: false,
|
|
26037
|
-
cli: {
|
|
26038
|
-
group: ["users", "settings"],
|
|
26039
|
-
command: "email-unsubscribe",
|
|
26040
|
-
interactive: "default"
|
|
26041
|
-
},
|
|
26042
|
-
mcp: { entityTool: "users" },
|
|
26043
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26044
|
-
execute: (input, { client }) => {
|
|
26045
|
-
const data = input;
|
|
26046
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26047
|
-
client.httpClient,
|
|
26048
|
-
data.token,
|
|
26049
|
-
void 0
|
|
26050
|
-
]));
|
|
26051
|
-
}
|
|
26052
|
-
},
|
|
26053
|
-
{
|
|
26054
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
26055
|
-
family: "focus",
|
|
26056
|
-
resource: "users",
|
|
26057
|
-
action: "settings-email-unsubscribe-page",
|
|
26058
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
26059
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
26060
|
-
safety: "read",
|
|
26061
|
-
destructive: false,
|
|
26062
|
-
cli: {
|
|
26063
|
-
group: ["users", "settings"],
|
|
26064
|
-
command: "email-unsubscribe-page",
|
|
26065
|
-
interactive: "available"
|
|
26066
|
-
},
|
|
26067
|
-
mcp: { entityTool: "users" },
|
|
26068
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26069
|
-
execute: (input, { client }) => {
|
|
26070
|
-
const data = input;
|
|
26071
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26072
|
-
client.httpClient,
|
|
26073
|
-
data.token,
|
|
26074
|
-
void 0
|
|
26075
|
-
]));
|
|
26076
|
-
}
|
|
26077
|
-
},
|
|
26078
24929
|
{
|
|
26079
24930
|
id: "focus.users.settings-list",
|
|
26080
24931
|
family: "focus",
|
|
@@ -26136,9 +24987,6 @@ const generatedFocusOperations = [
|
|
|
26136
24987
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26137
24988
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26138
24989
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26139
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26140
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26141
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26142
24990
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26143
24991
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26144
24992
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -26149,7 +24997,6 @@ const generatedFocusOperations = [
|
|
|
26149
24997
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
26150
24998
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
26151
24999
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26152
|
-
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26153
25000
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26154
25001
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26155
25002
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -26251,6 +25098,37 @@ const generatedFocusOperations = [
|
|
|
26251
25098
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26252
25099
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
26253
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
|
+
},
|
|
26254
25132
|
{
|
|
26255
25133
|
id: "focus.working-hours.create-for-user",
|
|
26256
25134
|
family: "focus",
|
|
@@ -26281,6 +25159,37 @@ const generatedFocusOperations = [
|
|
|
26281
25159
|
]));
|
|
26282
25160
|
}
|
|
26283
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
|
+
},
|
|
26284
25193
|
{
|
|
26285
25194
|
id: "focus.working-hours.delete-for-user",
|
|
26286
25195
|
family: "focus",
|
|
@@ -26311,6 +25220,33 @@ const generatedFocusOperations = [
|
|
|
26311
25220
|
]));
|
|
26312
25221
|
}
|
|
26313
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
|
+
},
|
|
26314
25250
|
{
|
|
26315
25251
|
id: "focus.working-hours.get-for-user",
|
|
26316
25252
|
family: "focus",
|
|
@@ -26337,6 +25273,37 @@ const generatedFocusOperations = [
|
|
|
26337
25273
|
]));
|
|
26338
25274
|
}
|
|
26339
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
|
+
},
|
|
26340
25307
|
{
|
|
26341
25308
|
id: "focus.working-hours.update-for-user",
|
|
26342
25309
|
family: "focus",
|
|
@@ -26411,50 +25378,6 @@ const generatedFocusOperations = [
|
|
|
26411
25378
|
void 0
|
|
26412
25379
|
]))
|
|
26413
25380
|
},
|
|
26414
|
-
{
|
|
26415
|
-
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
26416
|
-
family: "focus",
|
|
26417
|
-
resource: "workspace-settings",
|
|
26418
|
-
action: "get-workspace-export-branding",
|
|
26419
|
-
title: "Get Workspace Export Branding Workspace Settings",
|
|
26420
|
-
description: "Get Workspace Export Branding Workspace Settings.",
|
|
26421
|
-
safety: "read",
|
|
26422
|
-
destructive: false,
|
|
26423
|
-
cli: {
|
|
26424
|
-
group: ["workspace-settings"],
|
|
26425
|
-
command: "get-workspace-export-branding",
|
|
26426
|
-
interactive: "hidden"
|
|
26427
|
-
},
|
|
26428
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26429
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26430
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
26431
|
-
client.httpClient,
|
|
26432
|
-
client.workspaceIdNumber,
|
|
26433
|
-
void 0
|
|
26434
|
-
]))
|
|
26435
|
-
},
|
|
26436
|
-
{
|
|
26437
|
-
id: "focus.workspace-settings.get-workspace-watermark",
|
|
26438
|
-
family: "focus",
|
|
26439
|
-
resource: "workspace-settings",
|
|
26440
|
-
action: "get-workspace-watermark",
|
|
26441
|
-
title: "Get Workspace Watermark Workspace Settings",
|
|
26442
|
-
description: "Get Workspace Watermark Workspace Settings.",
|
|
26443
|
-
safety: "read",
|
|
26444
|
-
destructive: false,
|
|
26445
|
-
cli: {
|
|
26446
|
-
group: ["workspace-settings"],
|
|
26447
|
-
command: "get-workspace-watermark",
|
|
26448
|
-
interactive: "hidden"
|
|
26449
|
-
},
|
|
26450
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26451
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26452
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
26453
|
-
client.httpClient,
|
|
26454
|
-
client.workspaceIdNumber,
|
|
26455
|
-
void 0
|
|
26456
|
-
]))
|
|
26457
|
-
},
|
|
26458
25381
|
{
|
|
26459
25382
|
id: "focus.workspace-settings.list",
|
|
26460
25383
|
family: "focus",
|
|
@@ -26529,32 +25452,6 @@ const generatedFocusOperations = [
|
|
|
26529
25452
|
]));
|
|
26530
25453
|
}
|
|
26531
25454
|
},
|
|
26532
|
-
{
|
|
26533
|
-
id: "focus.workspace-settings.update-workspace-watermark",
|
|
26534
|
-
family: "focus",
|
|
26535
|
-
resource: "workspace-settings",
|
|
26536
|
-
action: "update-workspace-watermark",
|
|
26537
|
-
title: "Update Workspace Watermark Workspace Settings",
|
|
26538
|
-
description: "Update Workspace Watermark Workspace Settings.",
|
|
26539
|
-
safety: "update",
|
|
26540
|
-
destructive: false,
|
|
26541
|
-
cli: {
|
|
26542
|
-
group: ["workspace-settings"],
|
|
26543
|
-
command: "update-workspace-watermark",
|
|
26544
|
-
interactive: "default"
|
|
26545
|
-
},
|
|
26546
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26547
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
26548
|
-
execute: (input, { client }) => {
|
|
26549
|
-
const data = input;
|
|
26550
|
-
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
26551
|
-
client.httpClient,
|
|
26552
|
-
client.workspaceIdNumber,
|
|
26553
|
-
data.payload ?? data.data ?? data,
|
|
26554
|
-
void 0
|
|
26555
|
-
]));
|
|
26556
|
-
}
|
|
26557
|
-
},
|
|
26558
25455
|
{
|
|
26559
25456
|
id: "focus.workspace.get-context",
|
|
26560
25457
|
family: "focus",
|
|
@@ -28185,4 +27082,4 @@ Common commands:
|
|
|
28185
27082
|
//#endregion
|
|
28186
27083
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28187
27084
|
|
|
28188
|
-
//# sourceMappingURL=program-
|
|
27085
|
+
//# sourceMappingURL=program-CUaGcD4e.js.map
|