@togglhq/cli 1.11.12 → 1.11.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/index.js +1 -1
- package/build/{program-CUaGcD4e.js → program-Ctq7SFIk.js} +1417 -579
- package/build/program.js +1 -1
- package/package.json +1 -1
|
@@ -9019,11 +9019,7 @@ function pipe(...pipe$1) {
|
|
|
9019
9019
|
}
|
|
9020
9020
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
9021
9021
|
id: /* @__PURE__ */ number(),
|
|
9022
|
-
type: /* @__PURE__ */ picklist([
|
|
9023
|
-
"user",
|
|
9024
|
-
"ghost",
|
|
9025
|
-
"team"
|
|
9026
|
-
])
|
|
9022
|
+
type: /* @__PURE__ */ picklist(["user", "team"])
|
|
9027
9023
|
});
|
|
9028
9024
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
9029
9025
|
id: /* @__PURE__ */ number(),
|
|
@@ -9065,7 +9061,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
9065
9061
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9066
9062
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
9067
9063
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9068
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
9064
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
9065
|
+
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("RecurringProjectID links an instance to its recurring template, so clients can lane an entry under a collapsed series.")))
|
|
9069
9066
|
});
|
|
9070
9067
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
9071
9068
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9138,7 +9135,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
9138
9135
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
9139
9136
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
9140
9137
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9141
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9138
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9142
9139
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
9143
9140
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9144
9141
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -9146,7 +9143,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
9146
9143
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9147
9144
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9148
9145
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9149
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
9150
9146
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9151
9147
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9152
9148
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9156,6 +9152,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
9156
9152
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9157
9153
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9158
9154
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9155
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9159
9156
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9160
9157
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9161
9158
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -9199,7 +9196,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9199
9196
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
9200
9197
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
9201
9198
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9202
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9199
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9203
9200
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
9204
9201
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9205
9202
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -9207,7 +9204,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9207
9204
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9208
9205
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9209
9206
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9210
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
9211
9207
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9212
9208
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9213
9209
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -9218,6 +9214,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9218
9214
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9219
9215
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9220
9216
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9217
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9221
9218
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9222
9219
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9223
9220
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -9372,7 +9369,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
|
|
|
9372
9369
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9373
9370
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9374
9371
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9375
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
9372
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
9376
9373
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9377
9374
|
});
|
|
9378
9375
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
@@ -9398,7 +9395,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
9398
9395
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
9399
9396
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9400
9397
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9401
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
9398
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
9402
9399
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9403
9400
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9404
9401
|
});
|
|
@@ -9521,7 +9518,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9521
9518
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9522
9519
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9523
9520
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
9524
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
9521
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
9525
9522
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9526
9523
|
})),
|
|
9527
9524
|
page: /* @__PURE__ */ number(),
|
|
@@ -9564,7 +9561,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9564
9561
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
9565
9562
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9566
9563
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9567
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
9564
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
9568
9565
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9569
9566
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9570
9567
|
})),
|
|
@@ -9576,9 +9573,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
9576
9573
|
id: /* @__PURE__ */ number(),
|
|
9577
9574
|
name: /* @__PURE__ */ string(),
|
|
9578
9575
|
workspace_id: /* @__PURE__ */ number(),
|
|
9576
|
+
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()), /* @__PURE__ */ description("An archived tag disappears from the apply affordance but stays attached to and readable on every existing entity. Nothing cascades."))),
|
|
9579
9577
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9580
9578
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9581
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9579
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9580
|
+
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
9581
|
+
projects: /* @__PURE__ */ number(),
|
|
9582
|
+
tasks: /* @__PURE__ */ number(),
|
|
9583
|
+
time_entries: /* @__PURE__ */ number()
|
|
9584
|
+
})), /* @__PURE__ */ description("Counts of the projects, tasks and time entries whose tag set directly contains this tag. Only present on the tags list, for callers with unrestricted project access.")))
|
|
9582
9585
|
});
|
|
9583
9586
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
9584
9587
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -9589,8 +9592,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
9589
9592
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
9590
9593
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
9591
9594
|
account_locked_at: /* @__PURE__ */ string(),
|
|
9595
|
+
accounts_role_id: /* @__PURE__ */ number(),
|
|
9592
9596
|
active: /* @__PURE__ */ boolean(),
|
|
9593
|
-
admin: /* @__PURE__ */ boolean(),
|
|
9594
9597
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
9595
9598
|
created_at: /* @__PURE__ */ string(),
|
|
9596
9599
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -9639,7 +9642,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
9639
9642
|
track_role_id: /* @__PURE__ */ number(),
|
|
9640
9643
|
work_role_id: /* @__PURE__ */ number(),
|
|
9641
9644
|
workspace_user_id: /* @__PURE__ */ number()
|
|
9642
|
-
}))
|
|
9645
|
+
})),
|
|
9646
|
+
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
9647
|
+
has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
|
|
9643
9648
|
});
|
|
9644
9649
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9645
9650
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -9716,8 +9721,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9716
9721
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9717
9722
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9718
9723
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
9719
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9720
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9724
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
9721
9725
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9722
9726
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9723
9727
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -9733,6 +9737,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9733
9737
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9734
9738
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9735
9739
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9740
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9736
9741
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9737
9742
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9738
9743
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9742,22 +9747,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9742
9747
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9743
9748
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
9744
9749
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
9745
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
9750
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
|
|
9751
|
+
private: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Optional privacy override applied to every duplicated task (and cascaded children). When omitted, each task keeps the source task's private flag. Used when FE must force public (plan lacks private tasks) or private (user can only create private) instead of falling back to composite create.")))
|
|
9746
9752
|
});
|
|
9747
9753
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9748
9754
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9749
9755
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
9756
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9750
9757
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
9751
9758
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9752
9759
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9753
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9760
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9754
9761
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9755
9762
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
9756
9763
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9757
9764
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9758
9765
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
9759
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9760
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9766
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
9761
9767
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9762
9768
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9763
9769
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9774,6 +9780,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9774
9780
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9775
9781
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9776
9782
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9783
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9777
9784
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9778
9785
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9779
9786
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9782,17 +9789,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9782
9789
|
});
|
|
9783
9790
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
9784
9791
|
id: /* @__PURE__ */ number(),
|
|
9792
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9785
9793
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
9786
9794
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9787
9795
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9788
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9796
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9789
9797
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9790
9798
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
9791
9799
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9792
9800
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9793
9801
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
9794
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9795
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9802
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
9796
9803
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9797
9804
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9798
9805
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9809,6 +9816,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
9809
9816
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9810
9817
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9811
9818
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9819
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9812
9820
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9813
9821
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9814
9822
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9971,7 +9979,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9971
9979
|
})
|
|
9972
9980
|
}).json();
|
|
9973
9981
|
}
|
|
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) {
|
|
9982
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9975
9983
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9976
9984
|
signal,
|
|
9977
9985
|
searchParams: buildSearchParams$2({
|
|
@@ -9991,7 +9999,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9991
9999
|
include_working_hours,
|
|
9992
10000
|
include_rates,
|
|
9993
10001
|
pinned_ids,
|
|
9994
|
-
has_group
|
|
10002
|
+
has_group,
|
|
10003
|
+
cf_filter,
|
|
10004
|
+
include_custom_fields,
|
|
10005
|
+
include_calendar_integration
|
|
9995
10006
|
}, true)
|
|
9996
10007
|
});
|
|
9997
10008
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -10010,7 +10021,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
10010
10021
|
}
|
|
10011
10022
|
//#endregion
|
|
10012
10023
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
10013
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
10024
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
|
|
10014
10025
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
10015
10026
|
signal,
|
|
10016
10027
|
searchParams: buildSearchParams$2({
|
|
@@ -10018,7 +10029,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
10018
10029
|
page,
|
|
10019
10030
|
per_page,
|
|
10020
10031
|
order_by,
|
|
10021
|
-
tag_id
|
|
10032
|
+
tag_id,
|
|
10033
|
+
include_usage,
|
|
10034
|
+
include_archived,
|
|
10035
|
+
archived
|
|
10022
10036
|
})
|
|
10023
10037
|
}).json();
|
|
10024
10038
|
}
|
|
@@ -10028,6 +10042,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
10028
10042
|
json: data
|
|
10029
10043
|
}).json();
|
|
10030
10044
|
}
|
|
10045
|
+
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
10046
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
10047
|
+
signal,
|
|
10048
|
+
json: data
|
|
10049
|
+
}).json();
|
|
10050
|
+
}
|
|
10051
|
+
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
10052
|
+
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
10053
|
+
signal,
|
|
10054
|
+
searchParams: buildSearchParams$2({ ids })
|
|
10055
|
+
}).json();
|
|
10056
|
+
}
|
|
10057
|
+
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
10058
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
10059
|
+
signal,
|
|
10060
|
+
json: data
|
|
10061
|
+
}).json();
|
|
10062
|
+
}
|
|
10063
|
+
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
10064
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
10065
|
+
signal,
|
|
10066
|
+
json: data
|
|
10067
|
+
}).json();
|
|
10068
|
+
}
|
|
10069
|
+
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
10070
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
10071
|
+
signal,
|
|
10072
|
+
json: data
|
|
10073
|
+
}).json();
|
|
10074
|
+
}
|
|
10075
|
+
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
10076
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
10077
|
+
signal,
|
|
10078
|
+
json: data
|
|
10079
|
+
}).json();
|
|
10080
|
+
}
|
|
10031
10081
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
10032
10082
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
10033
10083
|
}
|
|
@@ -10040,12 +10090,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
10040
10090
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
10041
10091
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
10042
10092
|
}
|
|
10093
|
+
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10094
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
10095
|
+
}
|
|
10043
10096
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
10044
10097
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
10045
10098
|
}
|
|
10099
|
+
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10100
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
10101
|
+
}
|
|
10046
10102
|
//#endregion
|
|
10047
10103
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10048
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10104
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10049
10105
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10050
10106
|
signal,
|
|
10051
10107
|
searchParams: buildSearchParams$2({
|
|
@@ -10067,6 +10123,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
10067
10123
|
include_rates,
|
|
10068
10124
|
include_rollover,
|
|
10069
10125
|
include_idle_recurring_templates,
|
|
10126
|
+
collapse_recurring,
|
|
10070
10127
|
include_drafts,
|
|
10071
10128
|
include_locked_private,
|
|
10072
10129
|
start_date,
|
|
@@ -10297,7 +10354,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10297
10354
|
}
|
|
10298
10355
|
//#endregion
|
|
10299
10356
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10300
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates,
|
|
10357
|
+
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 } = {}, signal) {
|
|
10301
10358
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10302
10359
|
signal,
|
|
10303
10360
|
searchParams: buildSearchParams$2({
|
|
@@ -10345,10 +10402,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10345
10402
|
recurring_task_ids,
|
|
10346
10403
|
client_id,
|
|
10347
10404
|
include_rates,
|
|
10348
|
-
include_ghost_assignees,
|
|
10349
10405
|
include_assignees,
|
|
10350
10406
|
include_parent_matches,
|
|
10351
|
-
assignee_ghost_id,
|
|
10352
10407
|
disable_aggregations,
|
|
10353
10408
|
cf_filter
|
|
10354
10409
|
})
|
|
@@ -10434,7 +10489,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
10434
10489
|
})
|
|
10435
10490
|
}).json();
|
|
10436
10491
|
}
|
|
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,
|
|
10492
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10438
10493
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10439
10494
|
signal,
|
|
10440
10495
|
searchParams: buildSearchParams$2({
|
|
@@ -10447,14 +10502,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10447
10502
|
dates_overlap_end,
|
|
10448
10503
|
recurring_task_ids,
|
|
10449
10504
|
team_id,
|
|
10505
|
+
assignee_team_id,
|
|
10450
10506
|
assignee_user_id,
|
|
10451
10507
|
tag_id,
|
|
10452
|
-
include_ghost_assignees,
|
|
10453
10508
|
include_assignees
|
|
10454
10509
|
})
|
|
10455
10510
|
}).json();
|
|
10456
10511
|
}
|
|
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,
|
|
10512
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
10458
10513
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10459
10514
|
signal,
|
|
10460
10515
|
searchParams: buildSearchParams$2({
|
|
@@ -10498,20 +10553,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10498
10553
|
recurring,
|
|
10499
10554
|
recurring_task_ids,
|
|
10500
10555
|
client_id,
|
|
10501
|
-
include_ghost_assignees,
|
|
10502
10556
|
include_assignees,
|
|
10503
|
-
assignee_ghost_id,
|
|
10504
10557
|
cf_filter
|
|
10505
10558
|
})
|
|
10506
10559
|
}).json();
|
|
10507
10560
|
}
|
|
10508
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, {
|
|
10561
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
10509
10562
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
10510
10563
|
signal,
|
|
10511
|
-
searchParams: buildSearchParams$2({
|
|
10512
|
-
include_ghost_assignees,
|
|
10513
|
-
include_assignees
|
|
10514
|
-
})
|
|
10564
|
+
searchParams: buildSearchParams$2({ include_assignees })
|
|
10515
10565
|
}).json();
|
|
10516
10566
|
}
|
|
10517
10567
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -10542,7 +10592,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
10542
10592
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
10543
10593
|
}).json();
|
|
10544
10594
|
}
|
|
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,
|
|
10595
|
+
async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10546
10596
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
10547
10597
|
signal,
|
|
10548
10598
|
searchParams: buildSearchParams$2({
|
|
@@ -10555,12 +10605,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10555
10605
|
team_id,
|
|
10556
10606
|
assignee_user_id,
|
|
10557
10607
|
tag_id,
|
|
10558
|
-
include_ghost_assignees,
|
|
10559
10608
|
include_assignees
|
|
10560
10609
|
})
|
|
10561
10610
|
}).json();
|
|
10562
10611
|
}
|
|
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,
|
|
10612
|
+
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10564
10613
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10565
10614
|
signal,
|
|
10566
10615
|
searchParams: buildSearchParams$2({
|
|
@@ -10573,7 +10622,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
10573
10622
|
team_id,
|
|
10574
10623
|
assignee_user_id,
|
|
10575
10624
|
tag_id,
|
|
10576
|
-
include_ghost_assignees,
|
|
10577
10625
|
include_assignees
|
|
10578
10626
|
})
|
|
10579
10627
|
}).json();
|
|
@@ -10773,6 +10821,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10773
10821
|
})
|
|
10774
10822
|
}).json();
|
|
10775
10823
|
}
|
|
10824
|
+
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
10825
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
10826
|
+
signal,
|
|
10827
|
+
json: data
|
|
10828
|
+
}).json();
|
|
10829
|
+
}
|
|
10776
10830
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10777
10831
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10778
10832
|
signal,
|
|
@@ -14640,6 +14694,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14640
14694
|
}
|
|
14641
14695
|
//#endregion
|
|
14642
14696
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14697
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14698
|
+
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14699
|
+
signal,
|
|
14700
|
+
searchParams: buildSearchParams$2({
|
|
14701
|
+
workspace_id,
|
|
14702
|
+
entity_type,
|
|
14703
|
+
entity_id,
|
|
14704
|
+
action,
|
|
14705
|
+
user_id,
|
|
14706
|
+
page_size,
|
|
14707
|
+
page_number,
|
|
14708
|
+
export: export_
|
|
14709
|
+
})
|
|
14710
|
+
}).json();
|
|
14711
|
+
}
|
|
14643
14712
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14644
14713
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14645
14714
|
signal,
|
|
@@ -14798,33 +14867,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14798
14867
|
}
|
|
14799
14868
|
//#endregion
|
|
14800
14869
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14801
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date,
|
|
14870
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14802
14871
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14803
14872
|
signal,
|
|
14804
14873
|
searchParams: buildSearchParams$2({
|
|
14805
14874
|
user_id,
|
|
14806
14875
|
start_date,
|
|
14807
14876
|
end_date,
|
|
14808
|
-
ghost_id,
|
|
14809
14877
|
private: private_,
|
|
14810
14878
|
task_source,
|
|
14811
14879
|
unit,
|
|
14812
|
-
include_drafts
|
|
14880
|
+
include_drafts,
|
|
14881
|
+
include_task_estimates
|
|
14813
14882
|
})
|
|
14814
14883
|
}).json();
|
|
14815
14884
|
}
|
|
14816
14885
|
//#endregion
|
|
14817
|
-
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
14818
|
-
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
14819
|
-
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
14820
|
-
}
|
|
14821
|
-
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
14822
|
-
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
14823
|
-
signal,
|
|
14824
|
-
json: data
|
|
14825
|
-
}).json();
|
|
14826
|
-
}
|
|
14827
|
-
//#endregion
|
|
14828
14886
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
14829
14887
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
14830
14888
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -14907,6 +14965,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
14907
14965
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
14908
14966
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
14909
14967
|
}
|
|
14968
|
+
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
14969
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
14970
|
+
signal,
|
|
14971
|
+
json: data
|
|
14972
|
+
}).json();
|
|
14973
|
+
}
|
|
14910
14974
|
//#endregion
|
|
14911
14975
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14912
14976
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -15132,7 +15196,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15132
15196
|
}
|
|
15133
15197
|
//#endregion
|
|
15134
15198
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15135
|
-
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, include_drafts, cf_filter } = {}, signal) {
|
|
15199
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
15136
15200
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15137
15201
|
signal,
|
|
15138
15202
|
searchParams: buildSearchParams$2({
|
|
@@ -15144,6 +15208,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15144
15208
|
include_group_totals,
|
|
15145
15209
|
include_unassigned,
|
|
15146
15210
|
archived,
|
|
15211
|
+
completed,
|
|
15147
15212
|
private: private_,
|
|
15148
15213
|
name,
|
|
15149
15214
|
client_id,
|
|
@@ -15155,6 +15220,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15155
15220
|
start_date,
|
|
15156
15221
|
end_date,
|
|
15157
15222
|
user_id,
|
|
15223
|
+
only_me,
|
|
15158
15224
|
include_drafts,
|
|
15159
15225
|
cf_filter
|
|
15160
15226
|
})
|
|
@@ -15270,10 +15336,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
15270
15336
|
}
|
|
15271
15337
|
//#endregion
|
|
15272
15338
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
15273
|
-
async function
|
|
15339
|
+
async function getForecastAvailability(httpClient, workspace_id, signal) {
|
|
15340
|
+
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
15341
|
+
}
|
|
15342
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
15274
15343
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
15275
15344
|
signal,
|
|
15276
15345
|
json: data,
|
|
15346
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
15277
15347
|
searchParams: buildSearchParams$2({
|
|
15278
15348
|
response_format,
|
|
15279
15349
|
include_dicts
|
|
@@ -15297,12 +15367,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
15297
15367
|
json: data
|
|
15298
15368
|
}).json();
|
|
15299
15369
|
}
|
|
15300
|
-
async function
|
|
15370
|
+
async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
|
|
15371
|
+
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
15372
|
+
signal,
|
|
15373
|
+
json: data
|
|
15374
|
+
}).json();
|
|
15375
|
+
}
|
|
15376
|
+
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
15301
15377
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
15378
|
+
signal,
|
|
15379
|
+
json: data,
|
|
15380
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
15381
|
+
}).json();
|
|
15382
|
+
}
|
|
15383
|
+
//#endregion
|
|
15384
|
+
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
15385
|
+
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15386
|
+
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
15387
|
+
signal,
|
|
15388
|
+
json: data
|
|
15389
|
+
}).json();
|
|
15390
|
+
}
|
|
15391
|
+
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15392
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
15302
15393
|
signal,
|
|
15303
15394
|
json: data
|
|
15304
15395
|
}).json();
|
|
15305
15396
|
}
|
|
15397
|
+
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
15398
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
15399
|
+
}
|
|
15306
15400
|
//#endregion
|
|
15307
15401
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
15308
15402
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -15335,7 +15429,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15335
15429
|
}
|
|
15336
15430
|
//#endregion
|
|
15337
15431
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15338
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags }, signal) {
|
|
15432
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15339
15433
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15340
15434
|
signal,
|
|
15341
15435
|
searchParams: buildSearchParams$2({
|
|
@@ -15347,11 +15441,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15347
15441
|
task_id,
|
|
15348
15442
|
include_drafts,
|
|
15349
15443
|
exclude_calendar_events,
|
|
15350
|
-
group_by_tags
|
|
15444
|
+
group_by_tags,
|
|
15445
|
+
only_me
|
|
15446
|
+
})
|
|
15447
|
+
}).json();
|
|
15448
|
+
}
|
|
15449
|
+
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
15450
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
15451
|
+
signal,
|
|
15452
|
+
searchParams: buildSearchParams$2({
|
|
15453
|
+
keyword,
|
|
15454
|
+
per_group
|
|
15351
15455
|
})
|
|
15352
15456
|
}).json();
|
|
15353
15457
|
}
|
|
15354
15458
|
//#endregion
|
|
15459
|
+
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
15460
|
+
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
15461
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
15462
|
+
signal,
|
|
15463
|
+
json: data
|
|
15464
|
+
}).json();
|
|
15465
|
+
}
|
|
15466
|
+
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
15467
|
+
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
15468
|
+
}
|
|
15469
|
+
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
15470
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
15471
|
+
signal,
|
|
15472
|
+
json: data
|
|
15473
|
+
}).json();
|
|
15474
|
+
}
|
|
15475
|
+
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
15476
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
15477
|
+
}
|
|
15478
|
+
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
15479
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
15480
|
+
}
|
|
15481
|
+
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15482
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15483
|
+
}
|
|
15484
|
+
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15485
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15486
|
+
signal,
|
|
15487
|
+
json: data
|
|
15488
|
+
}).json();
|
|
15489
|
+
}
|
|
15490
|
+
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15491
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15492
|
+
}
|
|
15493
|
+
//#endregion
|
|
15355
15494
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15356
15495
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
15357
15496
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -15407,7 +15546,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15407
15546
|
}
|
|
15408
15547
|
//#endregion
|
|
15409
15548
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15410
|
-
async function
|
|
15549
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
|
|
15550
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15551
|
+
signal,
|
|
15552
|
+
searchParams: buildSearchParams$2({
|
|
15553
|
+
project_id,
|
|
15554
|
+
source,
|
|
15555
|
+
priority,
|
|
15556
|
+
status_id,
|
|
15557
|
+
client_id,
|
|
15558
|
+
assignee_user_id,
|
|
15559
|
+
tag_id,
|
|
15560
|
+
team_id,
|
|
15561
|
+
user_tag_id,
|
|
15562
|
+
group_id,
|
|
15563
|
+
creator_id,
|
|
15564
|
+
name,
|
|
15565
|
+
start_date,
|
|
15566
|
+
end_date,
|
|
15567
|
+
start_date_from,
|
|
15568
|
+
start_date_to,
|
|
15569
|
+
end_date_from,
|
|
15570
|
+
end_date_to,
|
|
15571
|
+
private: private_,
|
|
15572
|
+
exclude_empty,
|
|
15573
|
+
include_unassigned,
|
|
15574
|
+
include_unmaterialized,
|
|
15575
|
+
collapse_recurring,
|
|
15576
|
+
include_assignees,
|
|
15577
|
+
min_days,
|
|
15578
|
+
include_drafts,
|
|
15579
|
+
cf_filter,
|
|
15580
|
+
user_cf_filter
|
|
15581
|
+
})
|
|
15582
|
+
}).json();
|
|
15583
|
+
}
|
|
15584
|
+
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 } = {}, signal) {
|
|
15585
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15586
|
+
signal,
|
|
15587
|
+
searchParams: buildSearchParams$2({
|
|
15588
|
+
team_id,
|
|
15589
|
+
project_id,
|
|
15590
|
+
source,
|
|
15591
|
+
priority,
|
|
15592
|
+
status_id,
|
|
15593
|
+
client_id,
|
|
15594
|
+
assignee_user_id,
|
|
15595
|
+
tag_id,
|
|
15596
|
+
user_tag_id,
|
|
15597
|
+
group_id,
|
|
15598
|
+
creator_id,
|
|
15599
|
+
name,
|
|
15600
|
+
start_date,
|
|
15601
|
+
end_date,
|
|
15602
|
+
start_date_from,
|
|
15603
|
+
start_date_to,
|
|
15604
|
+
end_date_from,
|
|
15605
|
+
end_date_to,
|
|
15606
|
+
private: private_,
|
|
15607
|
+
exclude_empty,
|
|
15608
|
+
include_unassigned,
|
|
15609
|
+
include_unmaterialized,
|
|
15610
|
+
collapse_recurring,
|
|
15611
|
+
include_assignees,
|
|
15612
|
+
min_days,
|
|
15613
|
+
include_drafts,
|
|
15614
|
+
cf_filter,
|
|
15615
|
+
user_cf_filter
|
|
15616
|
+
})
|
|
15617
|
+
}).json();
|
|
15618
|
+
}
|
|
15619
|
+
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, page, per_page, order_by } = {}, signal) {
|
|
15411
15620
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15412
15621
|
signal,
|
|
15413
15622
|
searchParams: buildSearchParams$2({
|
|
@@ -15431,11 +15640,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15431
15640
|
end_date_to,
|
|
15432
15641
|
private: private_,
|
|
15433
15642
|
exclude_empty,
|
|
15434
|
-
|
|
15643
|
+
include_unassigned,
|
|
15644
|
+
include_unmaterialized,
|
|
15645
|
+
collapse_recurring,
|
|
15435
15646
|
include_assignees,
|
|
15436
15647
|
min_days,
|
|
15437
15648
|
include_drafts,
|
|
15438
15649
|
cf_filter,
|
|
15650
|
+
user_cf_filter,
|
|
15439
15651
|
page,
|
|
15440
15652
|
per_page,
|
|
15441
15653
|
order_by
|
|
@@ -15474,17 +15686,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
15474
15686
|
}).json();
|
|
15475
15687
|
}
|
|
15476
15688
|
//#endregion
|
|
15477
|
-
//#region ../focus-queries/dist/time-
|
|
15478
|
-
async function
|
|
15479
|
-
return await httpClient.
|
|
15689
|
+
//#region ../focus-queries/dist/time-entry-groups/requests.ts
|
|
15690
|
+
async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
|
|
15691
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
|
|
15480
15692
|
signal,
|
|
15481
|
-
|
|
15482
|
-
|
|
15483
|
-
|
|
15484
|
-
|
|
15485
|
-
|
|
15486
|
-
|
|
15487
|
-
|
|
15693
|
+
searchParams: buildSearchParams$2({
|
|
15694
|
+
start_date,
|
|
15695
|
+
end_date,
|
|
15696
|
+
user_id,
|
|
15697
|
+
page,
|
|
15698
|
+
per_page,
|
|
15699
|
+
order_by
|
|
15700
|
+
})
|
|
15488
15701
|
}).json();
|
|
15489
15702
|
}
|
|
15490
15703
|
//#endregion
|
|
@@ -15526,43 +15739,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15526
15739
|
json: data
|
|
15527
15740
|
}).json();
|
|
15528
15741
|
}
|
|
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`, {
|
|
15531
|
-
signal,
|
|
15532
|
-
searchParams: buildSearchParams$2({
|
|
15533
|
-
ghost_ids,
|
|
15534
|
-
start_date,
|
|
15535
|
-
end_date
|
|
15536
|
-
})
|
|
15537
|
-
}).json();
|
|
15538
|
-
}
|
|
15539
|
-
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
15540
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
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}`, {
|
|
15550
|
-
signal,
|
|
15551
|
-
json: data
|
|
15552
|
-
}).json();
|
|
15553
|
-
}
|
|
15554
|
-
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15555
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15556
|
-
signal,
|
|
15557
|
-
json: data
|
|
15558
|
-
}).json();
|
|
15559
|
-
}
|
|
15560
|
-
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15561
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15562
|
-
signal,
|
|
15563
|
-
json: data
|
|
15564
|
-
}).json();
|
|
15565
|
-
}
|
|
15566
15742
|
//#endregion
|
|
15567
15743
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15568
15744
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15755,27 +15931,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
15755
15931
|
json: data
|
|
15756
15932
|
}).json();
|
|
15757
15933
|
}
|
|
15758
|
-
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
15759
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
15760
|
-
}
|
|
15761
|
-
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15762
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15763
|
-
signal,
|
|
15764
|
-
json: data
|
|
15765
|
-
}).json();
|
|
15766
|
-
}
|
|
15767
|
-
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15768
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15769
|
-
signal,
|
|
15770
|
-
json: data
|
|
15771
|
-
}).json();
|
|
15772
|
-
}
|
|
15773
|
-
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15774
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15775
|
-
signal,
|
|
15776
|
-
json: data
|
|
15777
|
-
}).json();
|
|
15778
|
-
}
|
|
15779
15934
|
//#endregion
|
|
15780
15935
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
15781
15936
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -15792,6 +15947,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
15792
15947
|
json: data
|
|
15793
15948
|
}).json();
|
|
15794
15949
|
}
|
|
15950
|
+
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
15951
|
+
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
15952
|
+
}
|
|
15795
15953
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
15796
15954
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
15797
15955
|
}
|
|
@@ -15804,6 +15962,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
15804
15962
|
json: data
|
|
15805
15963
|
}).json();
|
|
15806
15964
|
}
|
|
15965
|
+
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
15966
|
+
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
15967
|
+
}
|
|
15968
|
+
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
15969
|
+
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
15970
|
+
signal,
|
|
15971
|
+
json: data
|
|
15972
|
+
}).json();
|
|
15973
|
+
}
|
|
15807
15974
|
//#endregion
|
|
15808
15975
|
//#region ../operations/build/index.public.js
|
|
15809
15976
|
function callGeneratedRequest(request, args) {
|
|
@@ -15939,17 +16106,17 @@ const generatedFocusOperations = [
|
|
|
15939
16106
|
]))
|
|
15940
16107
|
},
|
|
15941
16108
|
{
|
|
15942
|
-
id: "focus.audit-log.
|
|
16109
|
+
id: "focus.audit-log.get-organization",
|
|
15943
16110
|
family: "focus",
|
|
15944
16111
|
resource: "audit-log",
|
|
15945
|
-
action: "
|
|
15946
|
-
title: "
|
|
15947
|
-
description: "
|
|
16112
|
+
action: "get-organization",
|
|
16113
|
+
title: "Get Organization Audit Log",
|
|
16114
|
+
description: "Get Organization Audit Log.",
|
|
15948
16115
|
safety: "read",
|
|
15949
16116
|
destructive: false,
|
|
15950
16117
|
cli: {
|
|
15951
16118
|
group: ["audit-log"],
|
|
15952
|
-
command: "
|
|
16119
|
+
command: "get-organization",
|
|
15953
16120
|
interactive: "hidden"
|
|
15954
16121
|
},
|
|
15955
16122
|
mcp: { entityTool: "audit-log" },
|
|
@@ -15963,14 +16130,14 @@ const generatedFocusOperations = [
|
|
|
15963
16130
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15964
16131
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15965
16132
|
to: /* @__PURE__ */ string$1(),
|
|
15966
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16133
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16134
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15967
16135
|
}),
|
|
15968
16136
|
execute: (input, { client }) => {
|
|
15969
16137
|
const data = input;
|
|
15970
|
-
return client.runGeneratedRequest("
|
|
16138
|
+
return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
|
|
15971
16139
|
client.httpClient,
|
|
15972
16140
|
client.organizationId,
|
|
15973
|
-
client.workspaceIdNumber,
|
|
15974
16141
|
data.from,
|
|
15975
16142
|
data.to,
|
|
15976
16143
|
data,
|
|
@@ -15979,87 +16146,79 @@ const generatedFocusOperations = [
|
|
|
15979
16146
|
}
|
|
15980
16147
|
},
|
|
15981
16148
|
{
|
|
15982
|
-
id: "focus.
|
|
16149
|
+
id: "focus.audit-log.list",
|
|
15983
16150
|
family: "focus",
|
|
15984
|
-
resource: "
|
|
15985
|
-
action: "
|
|
15986
|
-
title: "
|
|
15987
|
-
description: "
|
|
16151
|
+
resource: "audit-log",
|
|
16152
|
+
action: "list",
|
|
16153
|
+
title: "List Audit Log",
|
|
16154
|
+
description: "List Audit Log.",
|
|
15988
16155
|
safety: "read",
|
|
15989
16156
|
destructive: false,
|
|
15990
16157
|
cli: {
|
|
15991
|
-
group: ["
|
|
15992
|
-
command: "
|
|
16158
|
+
group: ["audit-log"],
|
|
16159
|
+
command: "list",
|
|
15993
16160
|
interactive: "hidden"
|
|
15994
16161
|
},
|
|
15995
|
-
mcp: { entityTool: "
|
|
16162
|
+
mcp: { entityTool: "audit-log" },
|
|
15996
16163
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
15997
|
-
|
|
15998
|
-
|
|
15999
|
-
|
|
16000
|
-
|
|
16001
|
-
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
|
|
16164
|
+
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16165
|
+
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16166
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16167
|
+
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16168
|
+
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16169
|
+
from: /* @__PURE__ */ string$1(),
|
|
16170
|
+
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16171
|
+
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16172
|
+
to: /* @__PURE__ */ string$1(),
|
|
16173
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16006
16174
|
}),
|
|
16007
16175
|
execute: (input, { client }) => {
|
|
16008
16176
|
const data = input;
|
|
16009
|
-
return client.runGeneratedRequest("
|
|
16177
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
16010
16178
|
client.httpClient,
|
|
16011
16179
|
client.organizationId,
|
|
16012
16180
|
client.workspaceIdNumber,
|
|
16013
|
-
data.
|
|
16181
|
+
data.from,
|
|
16182
|
+
data.to,
|
|
16014
16183
|
data,
|
|
16015
16184
|
void 0
|
|
16016
16185
|
]));
|
|
16017
16186
|
}
|
|
16018
16187
|
},
|
|
16019
16188
|
{
|
|
16020
|
-
id: "focus.capacities.
|
|
16189
|
+
id: "focus.capacities.get-computations",
|
|
16021
16190
|
family: "focus",
|
|
16022
16191
|
resource: "capacities",
|
|
16023
|
-
action: "
|
|
16024
|
-
title: "
|
|
16025
|
-
description: "
|
|
16192
|
+
action: "get-computations",
|
|
16193
|
+
title: "Get Computations Capacities",
|
|
16194
|
+
description: "Get Computations Capacities.",
|
|
16026
16195
|
safety: "read",
|
|
16027
16196
|
destructive: false,
|
|
16028
16197
|
cli: {
|
|
16029
|
-
group: ["capacities"
|
|
16030
|
-
command: "
|
|
16198
|
+
group: ["capacities"],
|
|
16199
|
+
command: "get-computations",
|
|
16031
16200
|
interactive: "hidden"
|
|
16032
16201
|
},
|
|
16033
16202
|
mcp: { entityTool: "capacities" },
|
|
16034
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16035
|
-
|
|
16036
|
-
|
|
16037
|
-
|
|
16038
|
-
|
|
16039
|
-
|
|
16040
|
-
|
|
16041
|
-
|
|
16042
|
-
|
|
16043
|
-
|
|
16044
|
-
|
|
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() }) }),
|
|
16203
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16204
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16205
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
16206
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
16207
|
+
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
16208
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
16209
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16210
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
16211
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
16212
|
+
user_id: /* @__PURE__ */ number$2()
|
|
16213
|
+
}),
|
|
16057
16214
|
execute: (input, { client }) => {
|
|
16058
16215
|
const data = input;
|
|
16059
|
-
return client.runGeneratedRequest("
|
|
16216
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
16060
16217
|
client.httpClient,
|
|
16218
|
+
client.organizationId,
|
|
16061
16219
|
client.workspaceIdNumber,
|
|
16062
|
-
data.
|
|
16220
|
+
data.group,
|
|
16221
|
+
data,
|
|
16063
16222
|
void 0
|
|
16064
16223
|
]));
|
|
16065
16224
|
}
|
|
@@ -16258,8 +16417,7 @@ const generatedFocusOperations = [
|
|
|
16258
16417
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
16259
16418
|
start_at: apiDateTimeString,
|
|
16260
16419
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16261
|
-
})))
|
|
16262
|
-
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16420
|
+
})))
|
|
16263
16421
|
}) }),
|
|
16264
16422
|
execute: (input, { client }) => {
|
|
16265
16423
|
const data = input;
|
|
@@ -16314,6 +16472,7 @@ const generatedFocusOperations = [
|
|
|
16314
16472
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16315
16473
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16316
16474
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16475
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16317
16476
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16318
16477
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16319
16478
|
}),
|
|
@@ -16346,6 +16505,7 @@ const generatedFocusOperations = [
|
|
|
16346
16505
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16347
16506
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16348
16507
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16508
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16349
16509
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16350
16510
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16351
16511
|
}))),
|
|
@@ -16401,7 +16561,11 @@ const generatedFocusOperations = [
|
|
|
16401
16561
|
},
|
|
16402
16562
|
mcp: { entityTool: "custom-fields" },
|
|
16403
16563
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16404
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16564
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
16565
|
+
"project",
|
|
16566
|
+
"task",
|
|
16567
|
+
"user"
|
|
16568
|
+
]),
|
|
16405
16569
|
field_type: /* @__PURE__ */ picklist$1([
|
|
16406
16570
|
"select",
|
|
16407
16571
|
"multi_select",
|
|
@@ -16734,7 +16898,11 @@ const generatedFocusOperations = [
|
|
|
16734
16898
|
},
|
|
16735
16899
|
mcp: { entityTool: "custom-fields" },
|
|
16736
16900
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16737
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16901
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
16902
|
+
"project",
|
|
16903
|
+
"task",
|
|
16904
|
+
"user"
|
|
16905
|
+
]),
|
|
16738
16906
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
16739
16907
|
}) }),
|
|
16740
16908
|
execute: (input, { client }) => {
|
|
@@ -16748,6 +16916,37 @@ const generatedFocusOperations = [
|
|
|
16748
16916
|
]));
|
|
16749
16917
|
}
|
|
16750
16918
|
},
|
|
16919
|
+
{
|
|
16920
|
+
id: "focus.custom-fields.update-user-custom-field-values",
|
|
16921
|
+
family: "focus",
|
|
16922
|
+
resource: "custom-fields",
|
|
16923
|
+
action: "update-user-custom-field-values",
|
|
16924
|
+
title: "Update User Custom Field Values Custom Fields",
|
|
16925
|
+
description: "Update User Custom Field Values Custom Fields.",
|
|
16926
|
+
safety: "update",
|
|
16927
|
+
destructive: false,
|
|
16928
|
+
cli: {
|
|
16929
|
+
group: ["custom-fields"],
|
|
16930
|
+
command: "update-user-custom-field-values",
|
|
16931
|
+
interactive: "hidden"
|
|
16932
|
+
},
|
|
16933
|
+
mcp: { entityTool: "custom-fields" },
|
|
16934
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16935
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
16936
|
+
user_id: /* @__PURE__ */ number$2()
|
|
16937
|
+
}),
|
|
16938
|
+
execute: (input, { client }) => {
|
|
16939
|
+
const data = input;
|
|
16940
|
+
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
16941
|
+
client.httpClient,
|
|
16942
|
+
client.organizationId,
|
|
16943
|
+
client.workspaceIdNumber,
|
|
16944
|
+
data.user_id,
|
|
16945
|
+
data.payload ?? data.data ?? data,
|
|
16946
|
+
void 0
|
|
16947
|
+
]));
|
|
16948
|
+
}
|
|
16949
|
+
},
|
|
16751
16950
|
{
|
|
16752
16951
|
id: "focus.goals.create",
|
|
16753
16952
|
family: "focus",
|
|
@@ -16967,10 +17166,22 @@ const generatedFocusOperations = [
|
|
|
16967
17166
|
goal_id: /* @__PURE__ */ number$2(),
|
|
16968
17167
|
payload: /* @__PURE__ */ looseObject({
|
|
16969
17168
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17169
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16970
17170
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16971
17171
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16972
17172
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16973
|
-
|
|
17173
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17174
|
+
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
17175
|
+
"daily",
|
|
17176
|
+
"weekly",
|
|
17177
|
+
"daily_workdays",
|
|
17178
|
+
"monthly"
|
|
17179
|
+
])),
|
|
17180
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17181
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17182
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17183
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17184
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16974
17185
|
})
|
|
16975
17186
|
}),
|
|
16976
17187
|
execute: (input, { client }) => {
|
|
@@ -18303,6 +18514,7 @@ const generatedFocusOperations = [
|
|
|
18303
18514
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18304
18515
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18305
18516
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18517
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18306
18518
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18307
18519
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18308
18520
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -18310,6 +18522,7 @@ const generatedFocusOperations = [
|
|
|
18310
18522
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18311
18523
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18312
18524
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18525
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18313
18526
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18314
18527
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18315
18528
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -20494,7 +20707,10 @@ const generatedFocusOperations = [
|
|
|
20494
20707
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20495
20708
|
name: /* @__PURE__ */ string$1(),
|
|
20496
20709
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20497
|
-
}))
|
|
20710
|
+
})),
|
|
20711
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20712
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20713
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20498
20714
|
}),
|
|
20499
20715
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20500
20716
|
}),
|
|
@@ -20535,6 +20751,28 @@ const generatedFocusOperations = [
|
|
|
20535
20751
|
]));
|
|
20536
20752
|
}
|
|
20537
20753
|
},
|
|
20754
|
+
{
|
|
20755
|
+
id: "focus.reports.get-forecast-availability",
|
|
20756
|
+
family: "focus",
|
|
20757
|
+
resource: "reports",
|
|
20758
|
+
action: "get-forecast-availability",
|
|
20759
|
+
title: "Get Forecast Availability Reports",
|
|
20760
|
+
description: "Get Forecast Availability Reports.",
|
|
20761
|
+
safety: "read",
|
|
20762
|
+
destructive: false,
|
|
20763
|
+
cli: {
|
|
20764
|
+
group: ["reports"],
|
|
20765
|
+
command: "get-forecast-availability",
|
|
20766
|
+
interactive: "hidden"
|
|
20767
|
+
},
|
|
20768
|
+
mcp: { entityTool: "reports" },
|
|
20769
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
20770
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
20771
|
+
client.httpClient,
|
|
20772
|
+
client.workspaceIdNumber,
|
|
20773
|
+
void 0
|
|
20774
|
+
]))
|
|
20775
|
+
},
|
|
20538
20776
|
{
|
|
20539
20777
|
id: "focus.reports.get-profitability",
|
|
20540
20778
|
family: "focus",
|
|
@@ -20594,9 +20832,17 @@ const generatedFocusOperations = [
|
|
|
20594
20832
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20595
20833
|
name: /* @__PURE__ */ string$1(),
|
|
20596
20834
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20597
|
-
}))
|
|
20835
|
+
})),
|
|
20836
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20837
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20838
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20598
20839
|
}),
|
|
20599
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20840
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
20841
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20842
|
+
"csv",
|
|
20843
|
+
"xlsx",
|
|
20844
|
+
"pdf"
|
|
20845
|
+
]))
|
|
20600
20846
|
}),
|
|
20601
20847
|
execute: (input, { client }) => {
|
|
20602
20848
|
const data = input;
|
|
@@ -20606,22 +20852,23 @@ const generatedFocusOperations = [
|
|
|
20606
20852
|
data.payload ?? data.data ?? data,
|
|
20607
20853
|
data.response_format,
|
|
20608
20854
|
data.include_dicts,
|
|
20855
|
+
data.xTogglReportExport,
|
|
20609
20856
|
void 0
|
|
20610
20857
|
]));
|
|
20611
20858
|
}
|
|
20612
20859
|
},
|
|
20613
20860
|
{
|
|
20614
|
-
id: "focus.reports.get-
|
|
20861
|
+
id: "focus.reports.get-time-accounting",
|
|
20615
20862
|
family: "focus",
|
|
20616
20863
|
resource: "reports",
|
|
20617
|
-
action: "get-
|
|
20618
|
-
title: "Get
|
|
20619
|
-
description: "Get
|
|
20864
|
+
action: "get-time-accounting",
|
|
20865
|
+
title: "Get Time Accounting Reports",
|
|
20866
|
+
description: "Get Time Accounting Reports.",
|
|
20620
20867
|
safety: "update",
|
|
20621
20868
|
destructive: false,
|
|
20622
20869
|
cli: {
|
|
20623
20870
|
group: ["reports"],
|
|
20624
|
-
command: "get-
|
|
20871
|
+
command: "get-time-accounting",
|
|
20625
20872
|
interactive: "hidden"
|
|
20626
20873
|
},
|
|
20627
20874
|
mcp: { entityTool: "reports" },
|
|
@@ -20667,14 +20914,205 @@ const generatedFocusOperations = [
|
|
|
20667
20914
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20668
20915
|
name: /* @__PURE__ */ string$1(),
|
|
20669
20916
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20670
|
-
}))
|
|
20917
|
+
})),
|
|
20918
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20919
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20920
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20671
20921
|
}) }),
|
|
20922
|
+
execute: (input, { client }) => {
|
|
20923
|
+
const data = input;
|
|
20924
|
+
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
20925
|
+
client.httpClient,
|
|
20926
|
+
client.workspaceIdNumber,
|
|
20927
|
+
data.payload ?? data.data ?? data,
|
|
20928
|
+
void 0
|
|
20929
|
+
]));
|
|
20930
|
+
}
|
|
20931
|
+
},
|
|
20932
|
+
{
|
|
20933
|
+
id: "focus.reports.get-workload",
|
|
20934
|
+
family: "focus",
|
|
20935
|
+
resource: "reports",
|
|
20936
|
+
action: "get-workload",
|
|
20937
|
+
title: "Get Workload Reports",
|
|
20938
|
+
description: "Get Workload Reports.",
|
|
20939
|
+
safety: "update",
|
|
20940
|
+
destructive: false,
|
|
20941
|
+
cli: {
|
|
20942
|
+
group: ["reports"],
|
|
20943
|
+
command: "get-workload",
|
|
20944
|
+
interactive: "hidden"
|
|
20945
|
+
},
|
|
20946
|
+
mcp: { entityTool: "reports" },
|
|
20947
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
20948
|
+
payload: /* @__PURE__ */ looseObject({
|
|
20949
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20950
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
20951
|
+
function: /* @__PURE__ */ string$1(),
|
|
20952
|
+
property: /* @__PURE__ */ string$1()
|
|
20953
|
+
}),
|
|
20954
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20955
|
+
property: /* @__PURE__ */ string$1()
|
|
20956
|
+
})),
|
|
20957
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20958
|
+
function: /* @__PURE__ */ string$1(),
|
|
20959
|
+
property: /* @__PURE__ */ string$1()
|
|
20960
|
+
})),
|
|
20961
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20962
|
+
currency: /* @__PURE__ */ string$1(),
|
|
20963
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20964
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
20965
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20966
|
+
property: /* @__PURE__ */ string$1()
|
|
20967
|
+
})),
|
|
20968
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20969
|
+
property: /* @__PURE__ */ string$1(),
|
|
20970
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
20971
|
+
})),
|
|
20972
|
+
limit: /* @__PURE__ */ number$2(),
|
|
20973
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20974
|
+
direction: /* @__PURE__ */ string$1(),
|
|
20975
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
20976
|
+
property: /* @__PURE__ */ string$1()
|
|
20977
|
+
})),
|
|
20978
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
20979
|
+
page: /* @__PURE__ */ number$2(),
|
|
20980
|
+
per_page: /* @__PURE__ */ number$2()
|
|
20981
|
+
}),
|
|
20982
|
+
period: /* @__PURE__ */ looseObject({
|
|
20983
|
+
from: /* @__PURE__ */ string$1(),
|
|
20984
|
+
preset: /* @__PURE__ */ string$1(),
|
|
20985
|
+
to: /* @__PURE__ */ string$1()
|
|
20986
|
+
}),
|
|
20987
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20988
|
+
name: /* @__PURE__ */ string$1(),
|
|
20989
|
+
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20990
|
+
})),
|
|
20991
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20992
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20993
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20994
|
+
}),
|
|
20995
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20996
|
+
"csv",
|
|
20997
|
+
"xlsx",
|
|
20998
|
+
"pdf"
|
|
20999
|
+
]))
|
|
21000
|
+
}),
|
|
20672
21001
|
execute: (input, { client }) => {
|
|
20673
21002
|
const data = input;
|
|
20674
21003
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
20675
21004
|
client.httpClient,
|
|
20676
21005
|
client.workspaceIdNumber,
|
|
20677
21006
|
data.payload ?? data.data ?? data,
|
|
21007
|
+
data.xTogglReportExport,
|
|
21008
|
+
void 0
|
|
21009
|
+
]));
|
|
21010
|
+
}
|
|
21011
|
+
},
|
|
21012
|
+
{
|
|
21013
|
+
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
21014
|
+
family: "focus",
|
|
21015
|
+
resource: "reportschedules",
|
|
21016
|
+
action: "delete-shared-report-schedule",
|
|
21017
|
+
title: "Delete Shared Report Schedule Reportschedules",
|
|
21018
|
+
description: "Delete Shared Report Schedule Reportschedules.",
|
|
21019
|
+
safety: "delete",
|
|
21020
|
+
destructive: true,
|
|
21021
|
+
cli: {
|
|
21022
|
+
group: ["reportschedules"],
|
|
21023
|
+
command: "delete-shared-report-schedule",
|
|
21024
|
+
interactive: "default"
|
|
21025
|
+
},
|
|
21026
|
+
mcp: { entityTool: "reportschedules" },
|
|
21027
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21028
|
+
execute: (input, { client }) => {
|
|
21029
|
+
const data = input;
|
|
21030
|
+
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
21031
|
+
client.httpClient,
|
|
21032
|
+
client.workspaceIdNumber,
|
|
21033
|
+
data.id,
|
|
21034
|
+
void 0
|
|
21035
|
+
]));
|
|
21036
|
+
}
|
|
21037
|
+
},
|
|
21038
|
+
{
|
|
21039
|
+
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
21040
|
+
family: "focus",
|
|
21041
|
+
resource: "reportschedules",
|
|
21042
|
+
action: "upsert-saved-view-schedule",
|
|
21043
|
+
title: "Upsert Saved View Schedule Reportschedules",
|
|
21044
|
+
description: "Upsert Saved View Schedule Reportschedules.",
|
|
21045
|
+
safety: "update",
|
|
21046
|
+
destructive: false,
|
|
21047
|
+
cli: {
|
|
21048
|
+
group: ["reportschedules"],
|
|
21049
|
+
command: "upsert-saved-view-schedule",
|
|
21050
|
+
interactive: "default"
|
|
21051
|
+
},
|
|
21052
|
+
mcp: { entityTool: "reportschedules" },
|
|
21053
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21054
|
+
id: /* @__PURE__ */ number$2(),
|
|
21055
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21056
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
21057
|
+
"daily",
|
|
21058
|
+
"weekly",
|
|
21059
|
+
"monthly"
|
|
21060
|
+
]),
|
|
21061
|
+
time: /* @__PURE__ */ string$1(),
|
|
21062
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21063
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21064
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21065
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
21066
|
+
})
|
|
21067
|
+
}),
|
|
21068
|
+
execute: (input, { client }) => {
|
|
21069
|
+
const data = input;
|
|
21070
|
+
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
21071
|
+
client.httpClient,
|
|
21072
|
+
client.workspaceIdNumber,
|
|
21073
|
+
data.id,
|
|
21074
|
+
data.payload ?? data.data ?? data,
|
|
21075
|
+
void 0
|
|
21076
|
+
]));
|
|
21077
|
+
}
|
|
21078
|
+
},
|
|
21079
|
+
{
|
|
21080
|
+
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
21081
|
+
family: "focus",
|
|
21082
|
+
resource: "reportschedules",
|
|
21083
|
+
action: "upsert-shared-report-schedule",
|
|
21084
|
+
title: "Upsert Shared Report Schedule Reportschedules",
|
|
21085
|
+
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
21086
|
+
safety: "update",
|
|
21087
|
+
destructive: false,
|
|
21088
|
+
cli: {
|
|
21089
|
+
group: ["reportschedules"],
|
|
21090
|
+
command: "upsert-shared-report-schedule",
|
|
21091
|
+
interactive: "default"
|
|
21092
|
+
},
|
|
21093
|
+
mcp: { entityTool: "reportschedules" },
|
|
21094
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21095
|
+
id: /* @__PURE__ */ number$2(),
|
|
21096
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21097
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
21098
|
+
"daily",
|
|
21099
|
+
"weekly",
|
|
21100
|
+
"monthly"
|
|
21101
|
+
]),
|
|
21102
|
+
time: /* @__PURE__ */ string$1(),
|
|
21103
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21104
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21105
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21106
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
21107
|
+
})
|
|
21108
|
+
}),
|
|
21109
|
+
execute: (input, { client }) => {
|
|
21110
|
+
const data = input;
|
|
21111
|
+
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
21112
|
+
client.httpClient,
|
|
21113
|
+
client.workspaceIdNumber,
|
|
21114
|
+
data.id,
|
|
21115
|
+
data.payload ?? data.data ?? data,
|
|
20678
21116
|
void 0
|
|
20679
21117
|
]));
|
|
20680
21118
|
}
|
|
@@ -20712,7 +21150,9 @@ const generatedFocusOperations = [
|
|
|
20712
21150
|
"reports.detailed",
|
|
20713
21151
|
"reports.utilization",
|
|
20714
21152
|
"reports.workload",
|
|
20715
|
-
"reports.profitability"
|
|
21153
|
+
"reports.profitability",
|
|
21154
|
+
"reports.time-off",
|
|
21155
|
+
"reports.time-accounting"
|
|
20716
21156
|
]),
|
|
20717
21157
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20718
21158
|
}) }),
|
|
@@ -20836,11 +21276,41 @@ const generatedFocusOperations = [
|
|
|
20836
21276
|
}
|
|
20837
21277
|
},
|
|
20838
21278
|
{
|
|
20839
|
-
id: "focus.search.
|
|
21279
|
+
id: "focus.search.mentions",
|
|
20840
21280
|
family: "focus",
|
|
20841
21281
|
resource: "search",
|
|
20842
|
-
action: "
|
|
20843
|
-
title: "
|
|
21282
|
+
action: "mentions",
|
|
21283
|
+
title: "Mentions Search",
|
|
21284
|
+
description: "Mentions Search.",
|
|
21285
|
+
safety: "read",
|
|
21286
|
+
destructive: false,
|
|
21287
|
+
cli: {
|
|
21288
|
+
group: ["search"],
|
|
21289
|
+
command: "mentions",
|
|
21290
|
+
interactive: "hidden"
|
|
21291
|
+
},
|
|
21292
|
+
mcp: { entityTool: "search" },
|
|
21293
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21294
|
+
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21295
|
+
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21296
|
+
}),
|
|
21297
|
+
execute: (input, { client }) => {
|
|
21298
|
+
const data = input;
|
|
21299
|
+
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
21300
|
+
client.httpClient,
|
|
21301
|
+
client.organizationId,
|
|
21302
|
+
client.workspaceIdNumber,
|
|
21303
|
+
data,
|
|
21304
|
+
void 0
|
|
21305
|
+
]));
|
|
21306
|
+
}
|
|
21307
|
+
},
|
|
21308
|
+
{
|
|
21309
|
+
id: "focus.search.search",
|
|
21310
|
+
family: "focus",
|
|
21311
|
+
resource: "search",
|
|
21312
|
+
action: "search",
|
|
21313
|
+
title: "Search Search",
|
|
20844
21314
|
description: "Search Search.",
|
|
20845
21315
|
safety: "read",
|
|
20846
21316
|
destructive: false,
|
|
@@ -20862,6 +21332,240 @@ const generatedFocusOperations = [
|
|
|
20862
21332
|
]));
|
|
20863
21333
|
}
|
|
20864
21334
|
},
|
|
21335
|
+
{
|
|
21336
|
+
id: "focus.sharedreports.add-shared-report-grants",
|
|
21337
|
+
family: "focus",
|
|
21338
|
+
resource: "sharedreports",
|
|
21339
|
+
action: "add-shared-report-grants",
|
|
21340
|
+
title: "Add Shared Report Grants Sharedreports",
|
|
21341
|
+
description: "Add Shared Report Grants Sharedreports.",
|
|
21342
|
+
safety: "update",
|
|
21343
|
+
destructive: false,
|
|
21344
|
+
cli: {
|
|
21345
|
+
group: ["sharedreports"],
|
|
21346
|
+
command: "add-shared-report-grants",
|
|
21347
|
+
interactive: "default"
|
|
21348
|
+
},
|
|
21349
|
+
mcp: { entityTool: "sharedreports" },
|
|
21350
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21351
|
+
id: /* @__PURE__ */ number$2(),
|
|
21352
|
+
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21353
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21354
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21355
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21356
|
+
})) })
|
|
21357
|
+
}),
|
|
21358
|
+
execute: (input, { client }) => {
|
|
21359
|
+
const data = input;
|
|
21360
|
+
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
21361
|
+
client.httpClient,
|
|
21362
|
+
client.workspaceIdNumber,
|
|
21363
|
+
data.id,
|
|
21364
|
+
data.payload ?? data.data ?? data,
|
|
21365
|
+
void 0
|
|
21366
|
+
]));
|
|
21367
|
+
}
|
|
21368
|
+
},
|
|
21369
|
+
{
|
|
21370
|
+
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
21371
|
+
family: "focus",
|
|
21372
|
+
resource: "sharedreports",
|
|
21373
|
+
action: "get-saved-view-shared-report",
|
|
21374
|
+
title: "Get Saved View Shared Report Sharedreports",
|
|
21375
|
+
description: "Get Saved View Shared Report Sharedreports.",
|
|
21376
|
+
safety: "read",
|
|
21377
|
+
destructive: false,
|
|
21378
|
+
cli: {
|
|
21379
|
+
group: ["sharedreports"],
|
|
21380
|
+
command: "get-saved-view-shared-report",
|
|
21381
|
+
interactive: "available"
|
|
21382
|
+
},
|
|
21383
|
+
mcp: { entityTool: "sharedreports" },
|
|
21384
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21385
|
+
execute: (input, { client }) => {
|
|
21386
|
+
const data = input;
|
|
21387
|
+
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
21388
|
+
client.httpClient,
|
|
21389
|
+
client.workspaceIdNumber,
|
|
21390
|
+
data.id,
|
|
21391
|
+
void 0
|
|
21392
|
+
]));
|
|
21393
|
+
}
|
|
21394
|
+
},
|
|
21395
|
+
{
|
|
21396
|
+
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21397
|
+
family: "focus",
|
|
21398
|
+
resource: "sharedreports",
|
|
21399
|
+
action: "get-shared-report-for-viewer",
|
|
21400
|
+
title: "Get Shared Report For Viewer Sharedreports",
|
|
21401
|
+
description: "Get Shared Report For Viewer Sharedreports.",
|
|
21402
|
+
safety: "read",
|
|
21403
|
+
destructive: false,
|
|
21404
|
+
cli: {
|
|
21405
|
+
group: ["sharedreports"],
|
|
21406
|
+
command: "get-shared-report-for-viewer",
|
|
21407
|
+
interactive: "available"
|
|
21408
|
+
},
|
|
21409
|
+
mcp: { entityTool: "sharedreports" },
|
|
21410
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21411
|
+
execute: (input, { client }) => {
|
|
21412
|
+
const data = input;
|
|
21413
|
+
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
21414
|
+
client.httpClient,
|
|
21415
|
+
client.workspaceIdNumber,
|
|
21416
|
+
data.id,
|
|
21417
|
+
void 0
|
|
21418
|
+
]));
|
|
21419
|
+
}
|
|
21420
|
+
},
|
|
21421
|
+
{
|
|
21422
|
+
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
21423
|
+
family: "focus",
|
|
21424
|
+
resource: "sharedreports",
|
|
21425
|
+
action: "get-shared-reports-shared-by-me",
|
|
21426
|
+
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
21427
|
+
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
21428
|
+
safety: "read",
|
|
21429
|
+
destructive: false,
|
|
21430
|
+
cli: {
|
|
21431
|
+
group: ["sharedreports"],
|
|
21432
|
+
command: "get-shared-reports-shared-by-me",
|
|
21433
|
+
interactive: "hidden"
|
|
21434
|
+
},
|
|
21435
|
+
mcp: { entityTool: "sharedreports" },
|
|
21436
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21437
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
21438
|
+
client.httpClient,
|
|
21439
|
+
client.workspaceIdNumber,
|
|
21440
|
+
void 0
|
|
21441
|
+
]))
|
|
21442
|
+
},
|
|
21443
|
+
{
|
|
21444
|
+
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
21445
|
+
family: "focus",
|
|
21446
|
+
resource: "sharedreports",
|
|
21447
|
+
action: "get-shared-reports-shared-with-me",
|
|
21448
|
+
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
21449
|
+
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
21450
|
+
safety: "read",
|
|
21451
|
+
destructive: false,
|
|
21452
|
+
cli: {
|
|
21453
|
+
group: ["sharedreports"],
|
|
21454
|
+
command: "get-shared-reports-shared-with-me",
|
|
21455
|
+
interactive: "hidden"
|
|
21456
|
+
},
|
|
21457
|
+
mcp: { entityTool: "sharedreports" },
|
|
21458
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21459
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
21460
|
+
client.httpClient,
|
|
21461
|
+
client.workspaceIdNumber,
|
|
21462
|
+
void 0
|
|
21463
|
+
]))
|
|
21464
|
+
},
|
|
21465
|
+
{
|
|
21466
|
+
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21467
|
+
family: "focus",
|
|
21468
|
+
resource: "sharedreports",
|
|
21469
|
+
action: "revoke-shared-report-grant",
|
|
21470
|
+
title: "Revoke Shared Report Grant Sharedreports",
|
|
21471
|
+
description: "Revoke Shared Report Grant Sharedreports.",
|
|
21472
|
+
safety: "delete",
|
|
21473
|
+
destructive: true,
|
|
21474
|
+
cli: {
|
|
21475
|
+
group: ["sharedreports"],
|
|
21476
|
+
command: "revoke-shared-report-grant",
|
|
21477
|
+
interactive: "default"
|
|
21478
|
+
},
|
|
21479
|
+
mcp: { entityTool: "sharedreports" },
|
|
21480
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21481
|
+
grant_id: /* @__PURE__ */ number$2(),
|
|
21482
|
+
id: /* @__PURE__ */ number$2()
|
|
21483
|
+
}),
|
|
21484
|
+
execute: (input, { client }) => {
|
|
21485
|
+
const data = input;
|
|
21486
|
+
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
21487
|
+
client.httpClient,
|
|
21488
|
+
client.workspaceIdNumber,
|
|
21489
|
+
data.id,
|
|
21490
|
+
data.grant_id,
|
|
21491
|
+
void 0
|
|
21492
|
+
]));
|
|
21493
|
+
}
|
|
21494
|
+
},
|
|
21495
|
+
{
|
|
21496
|
+
id: "focus.sharedreports.share-saved-view",
|
|
21497
|
+
family: "focus",
|
|
21498
|
+
resource: "sharedreports",
|
|
21499
|
+
action: "share-saved-view",
|
|
21500
|
+
title: "Share Saved View Sharedreports",
|
|
21501
|
+
description: "Share Saved View Sharedreports.",
|
|
21502
|
+
safety: "update",
|
|
21503
|
+
destructive: false,
|
|
21504
|
+
cli: {
|
|
21505
|
+
group: ["sharedreports"],
|
|
21506
|
+
command: "share-saved-view",
|
|
21507
|
+
interactive: "hidden"
|
|
21508
|
+
},
|
|
21509
|
+
mcp: { entityTool: "sharedreports" },
|
|
21510
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21511
|
+
id: /* @__PURE__ */ number$2(),
|
|
21512
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21513
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21514
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21515
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21516
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21517
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21518
|
+
})
|
|
21519
|
+
}),
|
|
21520
|
+
execute: (input, { client }) => {
|
|
21521
|
+
const data = input;
|
|
21522
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21523
|
+
client.httpClient,
|
|
21524
|
+
client.workspaceIdNumber,
|
|
21525
|
+
data.id,
|
|
21526
|
+
data.payload ?? data.data ?? data,
|
|
21527
|
+
void 0
|
|
21528
|
+
]));
|
|
21529
|
+
}
|
|
21530
|
+
},
|
|
21531
|
+
{
|
|
21532
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
21533
|
+
family: "focus",
|
|
21534
|
+
resource: "sharedreports",
|
|
21535
|
+
action: "share-saved-view-many",
|
|
21536
|
+
title: "Share Saved View Many Sharedreports",
|
|
21537
|
+
description: "Share Saved View Many Sharedreports.",
|
|
21538
|
+
safety: "update",
|
|
21539
|
+
destructive: false,
|
|
21540
|
+
cli: {
|
|
21541
|
+
group: ["sharedreports"],
|
|
21542
|
+
command: "share-saved-view-many",
|
|
21543
|
+
interactive: "hidden"
|
|
21544
|
+
},
|
|
21545
|
+
mcp: { entityTool: "sharedreports" },
|
|
21546
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21547
|
+
id: /* @__PURE__ */ number$2(),
|
|
21548
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21549
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21550
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21551
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21552
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21553
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21554
|
+
})),
|
|
21555
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21556
|
+
})
|
|
21557
|
+
}),
|
|
21558
|
+
execute: (input, { client }) => {
|
|
21559
|
+
const data = input;
|
|
21560
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21561
|
+
client.httpClient,
|
|
21562
|
+
client.workspaceIdNumber,
|
|
21563
|
+
data.id,
|
|
21564
|
+
data.payload ?? data.data ?? data,
|
|
21565
|
+
void 0
|
|
21566
|
+
]));
|
|
21567
|
+
}
|
|
21568
|
+
},
|
|
20865
21569
|
{
|
|
20866
21570
|
id: "focus.statuses.create-status",
|
|
20867
21571
|
family: "focus",
|
|
@@ -21127,13 +21831,172 @@ const generatedFocusOperations = [
|
|
|
21127
21831
|
command: "upsert-forced-trial",
|
|
21128
21832
|
interactive: "default"
|
|
21129
21833
|
},
|
|
21130
|
-
mcp: { entityTool: "subscriptions" },
|
|
21131
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21834
|
+
mcp: { entityTool: "subscriptions" },
|
|
21835
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21836
|
+
execute: (input, { client }) => {
|
|
21837
|
+
const data = input;
|
|
21838
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
21839
|
+
client.httpClient,
|
|
21840
|
+
client.organizationId,
|
|
21841
|
+
client.workspaceIdNumber,
|
|
21842
|
+
data.payload ?? data.data ?? data,
|
|
21843
|
+
void 0
|
|
21844
|
+
]));
|
|
21845
|
+
}
|
|
21846
|
+
},
|
|
21847
|
+
{
|
|
21848
|
+
id: "focus.tags.archive",
|
|
21849
|
+
family: "focus",
|
|
21850
|
+
resource: "tags",
|
|
21851
|
+
action: "archive",
|
|
21852
|
+
title: "Archive Tags",
|
|
21853
|
+
description: "Archive Tags.",
|
|
21854
|
+
safety: "update",
|
|
21855
|
+
destructive: false,
|
|
21856
|
+
cli: {
|
|
21857
|
+
group: ["tags"],
|
|
21858
|
+
command: "archive",
|
|
21859
|
+
interactive: "default"
|
|
21860
|
+
},
|
|
21861
|
+
mcp: { entityTool: "tags" },
|
|
21862
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
21863
|
+
execute: (input, { client }) => {
|
|
21864
|
+
const data = input;
|
|
21865
|
+
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
21866
|
+
client.httpClient,
|
|
21867
|
+
client.workspaceIdNumber,
|
|
21868
|
+
data.tag_id,
|
|
21869
|
+
void 0
|
|
21870
|
+
]));
|
|
21871
|
+
}
|
|
21872
|
+
},
|
|
21873
|
+
{
|
|
21874
|
+
id: "focus.tags.bulk-archive",
|
|
21875
|
+
family: "focus",
|
|
21876
|
+
resource: "tags",
|
|
21877
|
+
action: "bulk-archive",
|
|
21878
|
+
title: "Bulk Archive Tags",
|
|
21879
|
+
description: "Bulk Archive Tags.",
|
|
21880
|
+
safety: "update",
|
|
21881
|
+
destructive: false,
|
|
21882
|
+
cli: {
|
|
21883
|
+
group: ["tags", "bulk"],
|
|
21884
|
+
command: "archive",
|
|
21885
|
+
interactive: "default"
|
|
21886
|
+
},
|
|
21887
|
+
mcp: { entityTool: "tags" },
|
|
21888
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21889
|
+
execute: (input, { client }) => {
|
|
21890
|
+
const data = input;
|
|
21891
|
+
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
21892
|
+
client.httpClient,
|
|
21893
|
+
client.workspaceIdNumber,
|
|
21894
|
+
data.payload ?? data.data ?? data,
|
|
21895
|
+
void 0
|
|
21896
|
+
]));
|
|
21897
|
+
}
|
|
21898
|
+
},
|
|
21899
|
+
{
|
|
21900
|
+
id: "focus.tags.bulk-create",
|
|
21901
|
+
family: "focus",
|
|
21902
|
+
resource: "tags",
|
|
21903
|
+
action: "bulk-create",
|
|
21904
|
+
title: "Bulk Create Tags",
|
|
21905
|
+
description: "Bulk Create Tags.",
|
|
21906
|
+
safety: "create",
|
|
21907
|
+
destructive: false,
|
|
21908
|
+
cli: {
|
|
21909
|
+
group: ["tags", "bulk"],
|
|
21910
|
+
command: "create",
|
|
21911
|
+
interactive: "default"
|
|
21912
|
+
},
|
|
21913
|
+
mcp: { entityTool: "tags" },
|
|
21914
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21915
|
+
color: /* @__PURE__ */ string$1(),
|
|
21916
|
+
name: /* @__PURE__ */ string$1()
|
|
21917
|
+
})) }) }),
|
|
21918
|
+
execute: (input, { client }) => {
|
|
21919
|
+
const data = input;
|
|
21920
|
+
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
21921
|
+
client.httpClient,
|
|
21922
|
+
client.workspaceIdNumber,
|
|
21923
|
+
data.payload ?? data.data ?? data,
|
|
21924
|
+
void 0
|
|
21925
|
+
]));
|
|
21926
|
+
}
|
|
21927
|
+
},
|
|
21928
|
+
{
|
|
21929
|
+
id: "focus.tags.bulk-delete",
|
|
21930
|
+
family: "focus",
|
|
21931
|
+
resource: "tags",
|
|
21932
|
+
action: "bulk-delete",
|
|
21933
|
+
title: "Bulk Delete Tags",
|
|
21934
|
+
description: "Bulk Delete Tags.",
|
|
21935
|
+
safety: "delete",
|
|
21936
|
+
destructive: true,
|
|
21937
|
+
cli: {
|
|
21938
|
+
group: ["tags", "bulk"],
|
|
21939
|
+
command: "delete",
|
|
21940
|
+
interactive: "default"
|
|
21941
|
+
},
|
|
21942
|
+
mcp: { entityTool: "tags" },
|
|
21943
|
+
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
21944
|
+
execute: (input, { client }) => {
|
|
21945
|
+
const data = input;
|
|
21946
|
+
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
21947
|
+
client.httpClient,
|
|
21948
|
+
client.workspaceIdNumber,
|
|
21949
|
+
data.ids,
|
|
21950
|
+
void 0
|
|
21951
|
+
]));
|
|
21952
|
+
}
|
|
21953
|
+
},
|
|
21954
|
+
{
|
|
21955
|
+
id: "focus.tags.bulk-restore",
|
|
21956
|
+
family: "focus",
|
|
21957
|
+
resource: "tags",
|
|
21958
|
+
action: "bulk-restore",
|
|
21959
|
+
title: "Bulk Restore Tags",
|
|
21960
|
+
description: "Bulk Restore Tags.",
|
|
21961
|
+
safety: "update",
|
|
21962
|
+
destructive: false,
|
|
21963
|
+
cli: {
|
|
21964
|
+
group: ["tags", "bulk"],
|
|
21965
|
+
command: "restore",
|
|
21966
|
+
interactive: "default"
|
|
21967
|
+
},
|
|
21968
|
+
mcp: { entityTool: "tags" },
|
|
21969
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21970
|
+
execute: (input, { client }) => {
|
|
21971
|
+
const data = input;
|
|
21972
|
+
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
21973
|
+
client.httpClient,
|
|
21974
|
+
client.workspaceIdNumber,
|
|
21975
|
+
data.payload ?? data.data ?? data,
|
|
21976
|
+
void 0
|
|
21977
|
+
]));
|
|
21978
|
+
}
|
|
21979
|
+
},
|
|
21980
|
+
{
|
|
21981
|
+
id: "focus.tags.bulk-unarchive",
|
|
21982
|
+
family: "focus",
|
|
21983
|
+
resource: "tags",
|
|
21984
|
+
action: "bulk-unarchive",
|
|
21985
|
+
title: "Bulk Unarchive Tags",
|
|
21986
|
+
description: "Bulk Unarchive Tags.",
|
|
21987
|
+
safety: "update",
|
|
21988
|
+
destructive: false,
|
|
21989
|
+
cli: {
|
|
21990
|
+
group: ["tags", "bulk"],
|
|
21991
|
+
command: "unarchive",
|
|
21992
|
+
interactive: "default"
|
|
21993
|
+
},
|
|
21994
|
+
mcp: { entityTool: "tags" },
|
|
21995
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21132
21996
|
execute: (input, { client }) => {
|
|
21133
21997
|
const data = input;
|
|
21134
|
-
return client.runGeneratedRequest("
|
|
21998
|
+
return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
|
|
21135
21999
|
client.httpClient,
|
|
21136
|
-
client.organizationId,
|
|
21137
22000
|
client.workspaceIdNumber,
|
|
21138
22001
|
data.payload ?? data.data ?? data,
|
|
21139
22002
|
void 0
|
|
@@ -21224,6 +22087,35 @@ const generatedFocusOperations = [
|
|
|
21224
22087
|
return client.listTags(data);
|
|
21225
22088
|
}
|
|
21226
22089
|
},
|
|
22090
|
+
{
|
|
22091
|
+
id: "focus.tags.merge",
|
|
22092
|
+
family: "focus",
|
|
22093
|
+
resource: "tags",
|
|
22094
|
+
action: "merge",
|
|
22095
|
+
title: "Merge Tags",
|
|
22096
|
+
description: "Merge Tags.",
|
|
22097
|
+
safety: "update",
|
|
22098
|
+
destructive: false,
|
|
22099
|
+
cli: {
|
|
22100
|
+
group: ["tags"],
|
|
22101
|
+
command: "merge",
|
|
22102
|
+
interactive: "default"
|
|
22103
|
+
},
|
|
22104
|
+
mcp: { entityTool: "tags" },
|
|
22105
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
22106
|
+
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
22107
|
+
target_id: /* @__PURE__ */ number$2()
|
|
22108
|
+
}) }),
|
|
22109
|
+
execute: (input, { client }) => {
|
|
22110
|
+
const data = input;
|
|
22111
|
+
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
22112
|
+
client.httpClient,
|
|
22113
|
+
client.workspaceIdNumber,
|
|
22114
|
+
data.payload ?? data.data ?? data,
|
|
22115
|
+
void 0
|
|
22116
|
+
]));
|
|
22117
|
+
}
|
|
22118
|
+
},
|
|
21227
22119
|
{
|
|
21228
22120
|
id: "focus.tags.restore",
|
|
21229
22121
|
family: "focus",
|
|
@@ -21250,6 +22142,32 @@ const generatedFocusOperations = [
|
|
|
21250
22142
|
]));
|
|
21251
22143
|
}
|
|
21252
22144
|
},
|
|
22145
|
+
{
|
|
22146
|
+
id: "focus.tags.unarchive",
|
|
22147
|
+
family: "focus",
|
|
22148
|
+
resource: "tags",
|
|
22149
|
+
action: "unarchive",
|
|
22150
|
+
title: "Unarchive Tags",
|
|
22151
|
+
description: "Unarchive Tags.",
|
|
22152
|
+
safety: "update",
|
|
22153
|
+
destructive: false,
|
|
22154
|
+
cli: {
|
|
22155
|
+
group: ["tags"],
|
|
22156
|
+
command: "unarchive",
|
|
22157
|
+
interactive: "default"
|
|
22158
|
+
},
|
|
22159
|
+
mcp: { entityTool: "tags" },
|
|
22160
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
22161
|
+
execute: (input, { client }) => {
|
|
22162
|
+
const data = input;
|
|
22163
|
+
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
22164
|
+
client.httpClient,
|
|
22165
|
+
client.workspaceIdNumber,
|
|
22166
|
+
data.tag_id,
|
|
22167
|
+
void 0
|
|
22168
|
+
]));
|
|
22169
|
+
}
|
|
22170
|
+
},
|
|
21253
22171
|
{
|
|
21254
22172
|
id: "focus.tags.update",
|
|
21255
22173
|
family: "focus",
|
|
@@ -21931,12 +22849,12 @@ const generatedFocusOperations = [
|
|
|
21931
22849
|
mcp: { entityTool: "tasks" },
|
|
21932
22850
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21933
22851
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22852
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21934
22853
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21935
22854
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21936
22855
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21937
22856
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21938
22857
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21939
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21940
22858
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21941
22859
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21942
22860
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21973,7 +22891,6 @@ const generatedFocusOperations = [
|
|
|
21973
22891
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21974
22892
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21975
22893
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21976
|
-
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21977
22894
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21978
22895
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21979
22896
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21990,7 +22907,6 @@ const generatedFocusOperations = [
|
|
|
21990
22907
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21991
22908
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21992
22909
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21993
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21994
22910
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21995
22911
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21996
22912
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22046,7 +22962,6 @@ const generatedFocusOperations = [
|
|
|
22046
22962
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22047
22963
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22048
22964
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22049
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22050
22965
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22051
22966
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22052
22967
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22087,7 +23002,6 @@ const generatedFocusOperations = [
|
|
|
22087
23002
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22088
23003
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22089
23004
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22090
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22091
23005
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22092
23006
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22093
23007
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22128,6 +23042,7 @@ const generatedFocusOperations = [
|
|
|
22128
23042
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22129
23043
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22130
23044
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23045
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22131
23046
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22132
23047
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22133
23048
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22141,7 +23056,8 @@ const generatedFocusOperations = [
|
|
|
22141
23056
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22142
23057
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22143
23058
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22144
|
-
|
|
23059
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23060
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22145
23061
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22146
23062
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22147
23063
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22157,6 +23073,7 @@ const generatedFocusOperations = [
|
|
|
22157
23073
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22158
23074
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22159
23075
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23076
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22160
23077
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22161
23078
|
}),
|
|
22162
23079
|
execute: (input, { client }) => {
|
|
@@ -22171,6 +23088,118 @@ const generatedFocusOperations = [
|
|
|
22171
23088
|
]));
|
|
22172
23089
|
}
|
|
22173
23090
|
},
|
|
23091
|
+
{
|
|
23092
|
+
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
23093
|
+
family: "focus",
|
|
23094
|
+
resource: "tasks",
|
|
23095
|
+
action: "groups-get-user-task-groups-by-project",
|
|
23096
|
+
title: "Groups Get User Task Groups By Project Tasks",
|
|
23097
|
+
description: "Groups Get User Task Groups By Project Tasks.",
|
|
23098
|
+
safety: "read",
|
|
23099
|
+
destructive: false,
|
|
23100
|
+
cli: {
|
|
23101
|
+
group: ["tasks", "groups"],
|
|
23102
|
+
command: "get-user-task-groups-by-project",
|
|
23103
|
+
interactive: "hidden"
|
|
23104
|
+
},
|
|
23105
|
+
mcp: { entityTool: "tasks" },
|
|
23106
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23107
|
+
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
23108
|
+
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23109
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
23110
|
+
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
23111
|
+
creator_id: /* @__PURE__ */ number$2(),
|
|
23112
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23113
|
+
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
23114
|
+
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
23115
|
+
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
23116
|
+
group_id: /* @__PURE__ */ number$2(),
|
|
23117
|
+
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23118
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23119
|
+
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23120
|
+
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23121
|
+
min_days: /* @__PURE__ */ unknown$1(),
|
|
23122
|
+
name: /* @__PURE__ */ unknown$1(),
|
|
23123
|
+
priority: /* @__PURE__ */ unknown$1(),
|
|
23124
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
23125
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
23126
|
+
source: /* @__PURE__ */ unknown$1(),
|
|
23127
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23128
|
+
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
23129
|
+
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
23130
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23131
|
+
tag_id: /* @__PURE__ */ number$2(),
|
|
23132
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
23133
|
+
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23134
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23135
|
+
}),
|
|
23136
|
+
execute: (input, { client }) => {
|
|
23137
|
+
const data = input;
|
|
23138
|
+
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
23139
|
+
client.httpClient,
|
|
23140
|
+
client.organizationId,
|
|
23141
|
+
client.workspaceIdNumber,
|
|
23142
|
+
data,
|
|
23143
|
+
void 0
|
|
23144
|
+
]));
|
|
23145
|
+
}
|
|
23146
|
+
},
|
|
23147
|
+
{
|
|
23148
|
+
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
23149
|
+
family: "focus",
|
|
23150
|
+
resource: "tasks",
|
|
23151
|
+
action: "groups-get-user-task-groups-by-team",
|
|
23152
|
+
title: "Groups Get User Task Groups By Team Tasks",
|
|
23153
|
+
description: "Groups Get User Task Groups By Team Tasks.",
|
|
23154
|
+
safety: "read",
|
|
23155
|
+
destructive: false,
|
|
23156
|
+
cli: {
|
|
23157
|
+
group: ["tasks", "groups"],
|
|
23158
|
+
command: "get-user-task-groups-by-team",
|
|
23159
|
+
interactive: "hidden"
|
|
23160
|
+
},
|
|
23161
|
+
mcp: { entityTool: "tasks" },
|
|
23162
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23163
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23164
|
+
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23165
|
+
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23166
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23167
|
+
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23168
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23169
|
+
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23170
|
+
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23171
|
+
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23172
|
+
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23173
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23174
|
+
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23175
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23176
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23177
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23178
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23179
|
+
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23180
|
+
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23181
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23182
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23183
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23184
|
+
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23185
|
+
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23186
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23187
|
+
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23188
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23189
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23190
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23191
|
+
}),
|
|
23192
|
+
execute: (input, { client }) => {
|
|
23193
|
+
const data = input;
|
|
23194
|
+
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
23195
|
+
client.httpClient,
|
|
23196
|
+
client.organizationId,
|
|
23197
|
+
client.workspaceIdNumber,
|
|
23198
|
+
data,
|
|
23199
|
+
void 0
|
|
23200
|
+
]));
|
|
23201
|
+
}
|
|
23202
|
+
},
|
|
22174
23203
|
{
|
|
22175
23204
|
id: "focus.tasks.groups-update",
|
|
22176
23205
|
family: "focus",
|
|
@@ -22376,7 +23405,6 @@ const generatedFocusOperations = [
|
|
|
22376
23405
|
name: /* @__PURE__ */ string$1(),
|
|
22377
23406
|
status_id: /* @__PURE__ */ number$2(),
|
|
22378
23407
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22379
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22380
23408
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
22381
23409
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22382
23410
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -22396,6 +23424,7 @@ const generatedFocusOperations = [
|
|
|
22396
23424
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22397
23425
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22398
23426
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23427
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22399
23428
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
22400
23429
|
}),
|
|
22401
23430
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -23306,6 +24335,40 @@ const generatedFocusOperations = [
|
|
|
23306
24335
|
]));
|
|
23307
24336
|
}
|
|
23308
24337
|
},
|
|
24338
|
+
{
|
|
24339
|
+
id: "focus.time-entries.groups-get-users",
|
|
24340
|
+
family: "focus",
|
|
24341
|
+
resource: "time-entries",
|
|
24342
|
+
action: "groups-get-users",
|
|
24343
|
+
title: "Groups Get Users Time Entries",
|
|
24344
|
+
description: "Groups Get Users Time Entries.",
|
|
24345
|
+
safety: "read",
|
|
24346
|
+
destructive: false,
|
|
24347
|
+
cli: {
|
|
24348
|
+
group: ["time-entries", "groups"],
|
|
24349
|
+
command: "get-users",
|
|
24350
|
+
interactive: "hidden"
|
|
24351
|
+
},
|
|
24352
|
+
mcp: { entityTool: "time-entries" },
|
|
24353
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24354
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24355
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
24356
|
+
page: /* @__PURE__ */ number$2(),
|
|
24357
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
24358
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24359
|
+
user_id: /* @__PURE__ */ number$2()
|
|
24360
|
+
}),
|
|
24361
|
+
execute: (input, { client }) => {
|
|
24362
|
+
const data = input;
|
|
24363
|
+
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
24364
|
+
client.httpClient,
|
|
24365
|
+
client.organizationId,
|
|
24366
|
+
client.workspaceIdNumber,
|
|
24367
|
+
data,
|
|
24368
|
+
void 0
|
|
24369
|
+
]));
|
|
24370
|
+
}
|
|
24371
|
+
},
|
|
23309
24372
|
{
|
|
23310
24373
|
id: "focus.time-entries.list",
|
|
23311
24374
|
family: "focus",
|
|
@@ -23490,6 +24553,42 @@ const generatedFocusOperations = [
|
|
|
23490
24553
|
inputSchema: emptySchema$1,
|
|
23491
24554
|
execute: (_input, { client }) => client.stopTracking()
|
|
23492
24555
|
},
|
|
24556
|
+
{
|
|
24557
|
+
id: "focus.time-entries.sync",
|
|
24558
|
+
family: "focus",
|
|
24559
|
+
resource: "time-entries",
|
|
24560
|
+
action: "sync",
|
|
24561
|
+
title: "Sync Time Entries",
|
|
24562
|
+
description: "Sync Time Entries.",
|
|
24563
|
+
safety: "update",
|
|
24564
|
+
destructive: false,
|
|
24565
|
+
cli: {
|
|
24566
|
+
group: ["time-entries"],
|
|
24567
|
+
command: "sync",
|
|
24568
|
+
interactive: "default"
|
|
24569
|
+
},
|
|
24570
|
+
mcp: { entityTool: "time-entries" },
|
|
24571
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24572
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
24573
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24574
|
+
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
24575
|
+
client_updated_at: apiDateTimeString,
|
|
24576
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24577
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24578
|
+
})
|
|
24579
|
+
}),
|
|
24580
|
+
execute: (input, { client }) => {
|
|
24581
|
+
const data = input;
|
|
24582
|
+
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
24583
|
+
client.httpClient,
|
|
24584
|
+
client.organizationId,
|
|
24585
|
+
client.workspaceIdNumber,
|
|
24586
|
+
data.client_uuid,
|
|
24587
|
+
data.payload ?? data.data ?? data,
|
|
24588
|
+
void 0
|
|
24589
|
+
]));
|
|
24590
|
+
}
|
|
24591
|
+
},
|
|
23493
24592
|
{
|
|
23494
24593
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
23495
24594
|
family: "focus",
|
|
@@ -23538,6 +24637,7 @@ const generatedFocusOperations = [
|
|
|
23538
24637
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23539
24638
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23540
24639
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24640
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23541
24641
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23542
24642
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23543
24643
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -23596,125 +24696,37 @@ const generatedFocusOperations = [
|
|
|
23596
24696
|
resource: "time-entries",
|
|
23597
24697
|
action: "update",
|
|
23598
24698
|
title: "Update Time Entries",
|
|
23599
|
-
description: "Update Time Entries.",
|
|
23600
|
-
safety: "update",
|
|
23601
|
-
destructive: false,
|
|
23602
|
-
cli: {
|
|
23603
|
-
group: ["time-entries"],
|
|
23604
|
-
command: "update",
|
|
23605
|
-
interactive: "default"
|
|
23606
|
-
},
|
|
23607
|
-
mcp: { entityTool: "time-entries" },
|
|
23608
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23609
|
-
payload: /* @__PURE__ */ looseObject({
|
|
23610
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
23611
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23612
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23613
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23614
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23615
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23616
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23617
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23618
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23619
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
23620
|
-
}),
|
|
23621
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
23622
|
-
}),
|
|
23623
|
-
execute: (input, { client }) => {
|
|
23624
|
-
const data = input;
|
|
23625
|
-
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23626
|
-
client.httpClient,
|
|
23627
|
-
client.organizationId,
|
|
23628
|
-
client.workspaceIdNumber,
|
|
23629
|
-
data.time_entry_id,
|
|
23630
|
-
data.payload ?? data.data ?? data,
|
|
23631
|
-
void 0
|
|
23632
|
-
]));
|
|
23633
|
-
}
|
|
23634
|
-
},
|
|
23635
|
-
{
|
|
23636
|
-
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
23637
|
-
family: "focus",
|
|
23638
|
-
resource: "time-log-suggestions",
|
|
23639
|
-
action: "get-for-acalendar-event-title",
|
|
23640
|
-
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
23641
|
-
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
23642
|
-
safety: "update",
|
|
23643
|
-
destructive: false,
|
|
23644
|
-
cli: {
|
|
23645
|
-
group: ["time-log-suggestions"],
|
|
23646
|
-
command: "get-for-acalendar-event-title",
|
|
23647
|
-
interactive: "default"
|
|
23648
|
-
},
|
|
23649
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
23650
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
23651
|
-
execute: (input, { client }) => {
|
|
23652
|
-
const data = input;
|
|
23653
|
-
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
23654
|
-
client.httpClient,
|
|
23655
|
-
client.organizationId,
|
|
23656
|
-
client.workspaceIdNumber,
|
|
23657
|
-
data.payload ?? data.data ?? data,
|
|
23658
|
-
void 0
|
|
23659
|
-
]));
|
|
23660
|
-
}
|
|
23661
|
-
},
|
|
23662
|
-
{
|
|
23663
|
-
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
23664
|
-
family: "focus",
|
|
23665
|
-
resource: "time-log-suggestions",
|
|
23666
|
-
action: "get-for-multiple-calendar-event-titles",
|
|
23667
|
-
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
23668
|
-
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
23669
|
-
safety: "update",
|
|
23670
|
-
destructive: false,
|
|
23671
|
-
cli: {
|
|
23672
|
-
group: ["time-log-suggestions"],
|
|
23673
|
-
command: "get-for-multiple-calendar-event-titles",
|
|
23674
|
-
interactive: "default"
|
|
23675
|
-
},
|
|
23676
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
23677
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23678
|
-
key: /* @__PURE__ */ string$1(),
|
|
23679
|
-
title: /* @__PURE__ */ string$1()
|
|
23680
|
-
})) }) }),
|
|
23681
|
-
execute: (input, { client }) => {
|
|
23682
|
-
const data = input;
|
|
23683
|
-
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
23684
|
-
client.httpClient,
|
|
23685
|
-
client.organizationId,
|
|
23686
|
-
client.workspaceIdNumber,
|
|
23687
|
-
data.payload ?? data.data ?? data,
|
|
23688
|
-
void 0
|
|
23689
|
-
]));
|
|
23690
|
-
}
|
|
23691
|
-
},
|
|
23692
|
-
{
|
|
23693
|
-
id: "focus.time-off.create-timeoff-for-ghost",
|
|
23694
|
-
family: "focus",
|
|
23695
|
-
resource: "time-off",
|
|
23696
|
-
action: "create-timeoff-for-ghost",
|
|
23697
|
-
title: "Create Timeoff For Ghost Time Off",
|
|
23698
|
-
description: "Create Timeoff For Ghost Time Off.",
|
|
23699
|
-
safety: "create",
|
|
24699
|
+
description: "Update Time Entries.",
|
|
24700
|
+
safety: "update",
|
|
23700
24701
|
destructive: false,
|
|
23701
24702
|
cli: {
|
|
23702
|
-
group: ["time-
|
|
23703
|
-
command: "
|
|
23704
|
-
interactive: "
|
|
24703
|
+
group: ["time-entries"],
|
|
24704
|
+
command: "update",
|
|
24705
|
+
interactive: "default"
|
|
23705
24706
|
},
|
|
23706
|
-
mcp: { entityTool: "time-
|
|
24707
|
+
mcp: { entityTool: "time-entries" },
|
|
23707
24708
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23708
|
-
|
|
23709
|
-
|
|
24709
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24710
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24711
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24712
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24713
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24714
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24715
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24716
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24717
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24718
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24719
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24720
|
+
}),
|
|
24721
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
23710
24722
|
}),
|
|
23711
24723
|
execute: (input, { client }) => {
|
|
23712
24724
|
const data = input;
|
|
23713
|
-
return client.runGeneratedRequest("
|
|
24725
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23714
24726
|
client.httpClient,
|
|
23715
24727
|
client.organizationId,
|
|
23716
24728
|
client.workspaceIdNumber,
|
|
23717
|
-
data.
|
|
24729
|
+
data.time_entry_id,
|
|
23718
24730
|
data.payload ?? data.data ?? data,
|
|
23719
24731
|
void 0
|
|
23720
24732
|
]));
|
|
@@ -23750,37 +24762,6 @@ const generatedFocusOperations = [
|
|
|
23750
24762
|
]));
|
|
23751
24763
|
}
|
|
23752
24764
|
},
|
|
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, [
|
|
23775
|
-
client.httpClient,
|
|
23776
|
-
client.organizationId,
|
|
23777
|
-
client.workspaceIdNumber,
|
|
23778
|
-
data.ghost_id,
|
|
23779
|
-
data.payload ?? data.data ?? data,
|
|
23780
|
-
void 0
|
|
23781
|
-
]));
|
|
23782
|
-
}
|
|
23783
|
-
},
|
|
23784
24765
|
{
|
|
23785
24766
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
23786
24767
|
family: "focus",
|
|
@@ -23811,38 +24792,6 @@ const generatedFocusOperations = [
|
|
|
23811
24792
|
]));
|
|
23812
24793
|
}
|
|
23813
24794
|
},
|
|
23814
|
-
{
|
|
23815
|
-
id: "focus.time-off.get-timeoff-for-ghost",
|
|
23816
|
-
family: "focus",
|
|
23817
|
-
resource: "time-off",
|
|
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,
|
|
23823
|
-
cli: {
|
|
23824
|
-
group: ["time-off"],
|
|
23825
|
-
command: "get-timeoff-for-ghost",
|
|
23826
|
-
interactive: "hidden"
|
|
23827
|
-
},
|
|
23828
|
-
mcp: { entityTool: "time-off" },
|
|
23829
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23830
|
-
from: /* @__PURE__ */ unknown$1(),
|
|
23831
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
23832
|
-
to: /* @__PURE__ */ unknown$1()
|
|
23833
|
-
}),
|
|
23834
|
-
execute: (input, { client }) => {
|
|
23835
|
-
const data = input;
|
|
23836
|
-
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
23837
|
-
client.httpClient,
|
|
23838
|
-
client.organizationId,
|
|
23839
|
-
client.workspaceIdNumber,
|
|
23840
|
-
data.ghost_id,
|
|
23841
|
-
data,
|
|
23842
|
-
void 0
|
|
23843
|
-
]));
|
|
23844
|
-
}
|
|
23845
|
-
},
|
|
23846
24795
|
{
|
|
23847
24796
|
id: "focus.time-off.get-timeoff-for-user",
|
|
23848
24797
|
family: "focus",
|
|
@@ -23874,37 +24823,6 @@ const generatedFocusOperations = [
|
|
|
23874
24823
|
]));
|
|
23875
24824
|
}
|
|
23876
24825
|
},
|
|
23877
|
-
{
|
|
23878
|
-
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
23879
|
-
family: "focus",
|
|
23880
|
-
resource: "time-off",
|
|
23881
|
-
action: "get-timeoffs-by-ghost-ids",
|
|
23882
|
-
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
23883
|
-
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
23884
|
-
safety: "read",
|
|
23885
|
-
destructive: false,
|
|
23886
|
-
cli: {
|
|
23887
|
-
group: ["time-off"],
|
|
23888
|
-
command: "get-timeoffs-by-ghost-ids",
|
|
23889
|
-
interactive: "hidden"
|
|
23890
|
-
},
|
|
23891
|
-
mcp: { entityTool: "time-off" },
|
|
23892
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23893
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23894
|
-
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
23895
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
23896
|
-
}),
|
|
23897
|
-
execute: (input, { client }) => {
|
|
23898
|
-
const data = input;
|
|
23899
|
-
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
23900
|
-
client.httpClient,
|
|
23901
|
-
client.organizationId,
|
|
23902
|
-
client.workspaceIdNumber,
|
|
23903
|
-
data,
|
|
23904
|
-
void 0
|
|
23905
|
-
]));
|
|
23906
|
-
}
|
|
23907
|
-
},
|
|
23908
24826
|
{
|
|
23909
24827
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
23910
24828
|
family: "focus",
|
|
@@ -23935,37 +24853,6 @@ const generatedFocusOperations = [
|
|
|
23935
24853
|
]));
|
|
23936
24854
|
}
|
|
23937
24855
|
},
|
|
23938
|
-
{
|
|
23939
|
-
id: "focus.time-off.update-timeoff-for-ghost",
|
|
23940
|
-
family: "focus",
|
|
23941
|
-
resource: "time-off",
|
|
23942
|
-
action: "update-timeoff-for-ghost",
|
|
23943
|
-
title: "Update Timeoff For Ghost Time Off",
|
|
23944
|
-
description: "Update Timeoff For Ghost Time Off.",
|
|
23945
|
-
safety: "update",
|
|
23946
|
-
destructive: false,
|
|
23947
|
-
cli: {
|
|
23948
|
-
group: ["time-off"],
|
|
23949
|
-
command: "update-timeoff-for-ghost",
|
|
23950
|
-
interactive: "hidden"
|
|
23951
|
-
},
|
|
23952
|
-
mcp: { entityTool: "time-off" },
|
|
23953
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23954
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
23955
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
23956
|
-
}),
|
|
23957
|
-
execute: (input, { client }) => {
|
|
23958
|
-
const data = input;
|
|
23959
|
-
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
23960
|
-
client.httpClient,
|
|
23961
|
-
client.organizationId,
|
|
23962
|
-
client.workspaceIdNumber,
|
|
23963
|
-
data.ghost_id,
|
|
23964
|
-
data.payload ?? data.data ?? data,
|
|
23965
|
-
void 0
|
|
23966
|
-
]));
|
|
23967
|
-
}
|
|
23968
|
-
},
|
|
23969
24856
|
{
|
|
23970
24857
|
id: "focus.time-off.update-timeoff-for-user",
|
|
23971
24858
|
family: "focus",
|
|
@@ -24997,6 +25884,7 @@ const generatedFocusOperations = [
|
|
|
24997
25884
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24998
25885
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24999
25886
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25887
|
+
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25000
25888
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25001
25889
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25002
25890
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -25098,37 +25986,6 @@ const generatedFocusOperations = [
|
|
|
25098
25986
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25099
25987
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
25100
25988
|
},
|
|
25101
|
-
{
|
|
25102
|
-
id: "focus.working-hours.create-for-ghost",
|
|
25103
|
-
family: "focus",
|
|
25104
|
-
resource: "working-hours",
|
|
25105
|
-
action: "create-for-ghost",
|
|
25106
|
-
title: "Create For Ghost Working Hours",
|
|
25107
|
-
description: "Create For Ghost Working Hours.",
|
|
25108
|
-
safety: "create",
|
|
25109
|
-
destructive: false,
|
|
25110
|
-
cli: {
|
|
25111
|
-
group: ["working-hours"],
|
|
25112
|
-
command: "create-for-ghost",
|
|
25113
|
-
interactive: "hidden"
|
|
25114
|
-
},
|
|
25115
|
-
mcp: { entityTool: "working-hours" },
|
|
25116
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25117
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
25118
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
25119
|
-
}),
|
|
25120
|
-
execute: (input, { client }) => {
|
|
25121
|
-
const data = input;
|
|
25122
|
-
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
25123
|
-
client.httpClient,
|
|
25124
|
-
client.organizationId,
|
|
25125
|
-
client.workspaceIdNumber,
|
|
25126
|
-
data.ghost_id,
|
|
25127
|
-
data.payload ?? data.data ?? data,
|
|
25128
|
-
void 0
|
|
25129
|
-
]));
|
|
25130
|
-
}
|
|
25131
|
-
},
|
|
25132
25989
|
{
|
|
25133
25990
|
id: "focus.working-hours.create-for-user",
|
|
25134
25991
|
family: "focus",
|
|
@@ -25159,37 +26016,6 @@ const generatedFocusOperations = [
|
|
|
25159
26016
|
]));
|
|
25160
26017
|
}
|
|
25161
26018
|
},
|
|
25162
|
-
{
|
|
25163
|
-
id: "focus.working-hours.delete-for-ghost",
|
|
25164
|
-
family: "focus",
|
|
25165
|
-
resource: "working-hours",
|
|
25166
|
-
action: "delete-for-ghost",
|
|
25167
|
-
title: "Delete For Ghost Working Hours",
|
|
25168
|
-
description: "Delete For Ghost Working Hours.",
|
|
25169
|
-
safety: "delete",
|
|
25170
|
-
destructive: true,
|
|
25171
|
-
cli: {
|
|
25172
|
-
group: ["working-hours"],
|
|
25173
|
-
command: "delete-for-ghost",
|
|
25174
|
-
interactive: "hidden"
|
|
25175
|
-
},
|
|
25176
|
-
mcp: { entityTool: "working-hours" },
|
|
25177
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25178
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
25179
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
25180
|
-
}),
|
|
25181
|
-
execute: (input, { client }) => {
|
|
25182
|
-
const data = input;
|
|
25183
|
-
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
25184
|
-
client.httpClient,
|
|
25185
|
-
client.organizationId,
|
|
25186
|
-
client.workspaceIdNumber,
|
|
25187
|
-
data.ghost_id,
|
|
25188
|
-
data.payload ?? data.data ?? data,
|
|
25189
|
-
void 0
|
|
25190
|
-
]));
|
|
25191
|
-
}
|
|
25192
|
-
},
|
|
25193
26019
|
{
|
|
25194
26020
|
id: "focus.working-hours.delete-for-user",
|
|
25195
26021
|
family: "focus",
|
|
@@ -25220,33 +26046,6 @@ const generatedFocusOperations = [
|
|
|
25220
26046
|
]));
|
|
25221
26047
|
}
|
|
25222
26048
|
},
|
|
25223
|
-
{
|
|
25224
|
-
id: "focus.working-hours.get-for-ghost",
|
|
25225
|
-
family: "focus",
|
|
25226
|
-
resource: "working-hours",
|
|
25227
|
-
action: "get-for-ghost",
|
|
25228
|
-
title: "Get For Ghost Working Hours",
|
|
25229
|
-
description: "Get For Ghost Working Hours.",
|
|
25230
|
-
safety: "read",
|
|
25231
|
-
destructive: false,
|
|
25232
|
-
cli: {
|
|
25233
|
-
group: ["working-hours"],
|
|
25234
|
-
command: "get-for-ghost",
|
|
25235
|
-
interactive: "available"
|
|
25236
|
-
},
|
|
25237
|
-
mcp: { entityTool: "working-hours" },
|
|
25238
|
-
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
25239
|
-
execute: (input, { client }) => {
|
|
25240
|
-
const data = input;
|
|
25241
|
-
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
25242
|
-
client.httpClient,
|
|
25243
|
-
client.organizationId,
|
|
25244
|
-
client.workspaceIdNumber,
|
|
25245
|
-
data.ghost_id,
|
|
25246
|
-
void 0
|
|
25247
|
-
]));
|
|
25248
|
-
}
|
|
25249
|
-
},
|
|
25250
26049
|
{
|
|
25251
26050
|
id: "focus.working-hours.get-for-user",
|
|
25252
26051
|
family: "focus",
|
|
@@ -25273,37 +26072,6 @@ const generatedFocusOperations = [
|
|
|
25273
26072
|
]));
|
|
25274
26073
|
}
|
|
25275
26074
|
},
|
|
25276
|
-
{
|
|
25277
|
-
id: "focus.working-hours.update-for-ghost",
|
|
25278
|
-
family: "focus",
|
|
25279
|
-
resource: "working-hours",
|
|
25280
|
-
action: "update-for-ghost",
|
|
25281
|
-
title: "Update For Ghost Working Hours",
|
|
25282
|
-
description: "Update For Ghost Working Hours.",
|
|
25283
|
-
safety: "update",
|
|
25284
|
-
destructive: false,
|
|
25285
|
-
cli: {
|
|
25286
|
-
group: ["working-hours"],
|
|
25287
|
-
command: "update-for-ghost",
|
|
25288
|
-
interactive: "hidden"
|
|
25289
|
-
},
|
|
25290
|
-
mcp: { entityTool: "working-hours" },
|
|
25291
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25292
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
25293
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
25294
|
-
}),
|
|
25295
|
-
execute: (input, { client }) => {
|
|
25296
|
-
const data = input;
|
|
25297
|
-
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
25298
|
-
client.httpClient,
|
|
25299
|
-
client.organizationId,
|
|
25300
|
-
client.workspaceIdNumber,
|
|
25301
|
-
data.ghost_id,
|
|
25302
|
-
data.payload ?? data.data ?? data,
|
|
25303
|
-
void 0
|
|
25304
|
-
]));
|
|
25305
|
-
}
|
|
25306
|
-
},
|
|
25307
26075
|
{
|
|
25308
26076
|
id: "focus.working-hours.update-for-user",
|
|
25309
26077
|
family: "focus",
|
|
@@ -25378,6 +26146,50 @@ const generatedFocusOperations = [
|
|
|
25378
26146
|
void 0
|
|
25379
26147
|
]))
|
|
25380
26148
|
},
|
|
26149
|
+
{
|
|
26150
|
+
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
26151
|
+
family: "focus",
|
|
26152
|
+
resource: "workspace-settings",
|
|
26153
|
+
action: "get-workspace-export-branding",
|
|
26154
|
+
title: "Get Workspace Export Branding Workspace Settings",
|
|
26155
|
+
description: "Get Workspace Export Branding Workspace Settings.",
|
|
26156
|
+
safety: "read",
|
|
26157
|
+
destructive: false,
|
|
26158
|
+
cli: {
|
|
26159
|
+
group: ["workspace-settings"],
|
|
26160
|
+
command: "get-workspace-export-branding",
|
|
26161
|
+
interactive: "hidden"
|
|
26162
|
+
},
|
|
26163
|
+
mcp: { entityTool: "workspace-settings" },
|
|
26164
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26165
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
26166
|
+
client.httpClient,
|
|
26167
|
+
client.workspaceIdNumber,
|
|
26168
|
+
void 0
|
|
26169
|
+
]))
|
|
26170
|
+
},
|
|
26171
|
+
{
|
|
26172
|
+
id: "focus.workspace-settings.get-workspace-watermark",
|
|
26173
|
+
family: "focus",
|
|
26174
|
+
resource: "workspace-settings",
|
|
26175
|
+
action: "get-workspace-watermark",
|
|
26176
|
+
title: "Get Workspace Watermark Workspace Settings",
|
|
26177
|
+
description: "Get Workspace Watermark Workspace Settings.",
|
|
26178
|
+
safety: "read",
|
|
26179
|
+
destructive: false,
|
|
26180
|
+
cli: {
|
|
26181
|
+
group: ["workspace-settings"],
|
|
26182
|
+
command: "get-workspace-watermark",
|
|
26183
|
+
interactive: "hidden"
|
|
26184
|
+
},
|
|
26185
|
+
mcp: { entityTool: "workspace-settings" },
|
|
26186
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26187
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
26188
|
+
client.httpClient,
|
|
26189
|
+
client.workspaceIdNumber,
|
|
26190
|
+
void 0
|
|
26191
|
+
]))
|
|
26192
|
+
},
|
|
25381
26193
|
{
|
|
25382
26194
|
id: "focus.workspace-settings.list",
|
|
25383
26195
|
family: "focus",
|
|
@@ -25452,6 +26264,32 @@ const generatedFocusOperations = [
|
|
|
25452
26264
|
]));
|
|
25453
26265
|
}
|
|
25454
26266
|
},
|
|
26267
|
+
{
|
|
26268
|
+
id: "focus.workspace-settings.update-workspace-watermark",
|
|
26269
|
+
family: "focus",
|
|
26270
|
+
resource: "workspace-settings",
|
|
26271
|
+
action: "update-workspace-watermark",
|
|
26272
|
+
title: "Update Workspace Watermark Workspace Settings",
|
|
26273
|
+
description: "Update Workspace Watermark Workspace Settings.",
|
|
26274
|
+
safety: "update",
|
|
26275
|
+
destructive: false,
|
|
26276
|
+
cli: {
|
|
26277
|
+
group: ["workspace-settings"],
|
|
26278
|
+
command: "update-workspace-watermark",
|
|
26279
|
+
interactive: "default"
|
|
26280
|
+
},
|
|
26281
|
+
mcp: { entityTool: "workspace-settings" },
|
|
26282
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
26283
|
+
execute: (input, { client }) => {
|
|
26284
|
+
const data = input;
|
|
26285
|
+
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
26286
|
+
client.httpClient,
|
|
26287
|
+
client.workspaceIdNumber,
|
|
26288
|
+
data.payload ?? data.data ?? data,
|
|
26289
|
+
void 0
|
|
26290
|
+
]));
|
|
26291
|
+
}
|
|
26292
|
+
},
|
|
25455
26293
|
{
|
|
25456
26294
|
id: "focus.workspace.get-context",
|
|
25457
26295
|
family: "focus",
|
|
@@ -27082,4 +27920,4 @@ Common commands:
|
|
|
27082
27920
|
//#endregion
|
|
27083
27921
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27084
27922
|
|
|
27085
|
-
//# sourceMappingURL=program-
|
|
27923
|
+
//# sourceMappingURL=program-Ctq7SFIk.js.map
|