@togglhq/cli 1.11.144 → 1.11.145
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-BEO-4L3J.js → program-CqcSajOt.js} +573 -1337
- package/build/program.js +1 -1
- package/package.json +1 -1
|
@@ -7216,7 +7216,11 @@ function pipe(...pipe$1) {
|
|
|
7216
7216
|
}
|
|
7217
7217
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
7218
7218
|
id: /* @__PURE__ */ number(),
|
|
7219
|
-
type: /* @__PURE__ */ picklist([
|
|
7219
|
+
type: /* @__PURE__ */ picklist([
|
|
7220
|
+
"user",
|
|
7221
|
+
"ghost",
|
|
7222
|
+
"team"
|
|
7223
|
+
])
|
|
7220
7224
|
});
|
|
7221
7225
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
7222
7226
|
id: /* @__PURE__ */ number(),
|
|
@@ -7258,8 +7262,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
7258
7262
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7259
7263
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7260
7264
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7261
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
7262
|
-
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.")))
|
|
7265
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
7263
7266
|
});
|
|
7264
7267
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
7265
7268
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7269,7 +7272,6 @@ const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
|
7269
7272
|
extension_url: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7270
7273
|
external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7271
7274
|
ical_uid: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7272
|
-
last_asserted_track_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("LastAssertedTrackProjectID is the Track planned_task.project_id that the Focus→Track mirror last successfully wrote for this task. Track→Focus uses it to distinguish a stale echo (Track still holds this value after a Focus-side project move) from an intentional Track-side project move. Internal mirror state, written by toggl_api focus_sync_worker; not user-facing."))),
|
|
7273
7275
|
meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7274
7276
|
project_assignment: /* @__PURE__ */ optional(/* @__PURE__ */ object({
|
|
7275
7277
|
origin: /* @__PURE__ */ picklist([
|
|
@@ -7332,7 +7334,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7332
7334
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7333
7335
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
7334
7336
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7335
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7337
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7336
7338
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7337
7339
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7338
7340
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7340,6 +7342,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7340
7342
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7341
7343
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7342
7344
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7345
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7343
7346
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7344
7347
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7345
7348
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7349,7 +7352,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7349
7352
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7350
7353
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7351
7354
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7352
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7353
7355
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7354
7356
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7355
7357
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -7393,7 +7395,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7393
7395
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7394
7396
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
7395
7397
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7396
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7398
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7397
7399
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7398
7400
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7399
7401
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7401,6 +7403,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7401
7403
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7402
7404
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7403
7405
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7406
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7404
7407
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7405
7408
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7406
7409
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7411,7 +7414,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7411
7414
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7412
7415
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7413
7416
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7414
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7415
7417
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7416
7418
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7417
7419
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -7570,7 +7572,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7570
7572
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
7571
7573
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7572
7574
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7573
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7575
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
7574
7576
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7575
7577
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7576
7578
|
});
|
|
@@ -7714,7 +7716,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7714
7716
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
7715
7717
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7716
7718
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7717
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7719
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
7718
7720
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7719
7721
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7720
7722
|
})),
|
|
@@ -7726,15 +7728,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
7726
7728
|
id: /* @__PURE__ */ number(),
|
|
7727
7729
|
name: /* @__PURE__ */ string(),
|
|
7728
7730
|
workspace_id: /* @__PURE__ */ number(),
|
|
7729
|
-
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."))),
|
|
7730
7731
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7731
7732
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7732
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7733
|
-
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
7734
|
-
projects: /* @__PURE__ */ number(),
|
|
7735
|
-
tasks: /* @__PURE__ */ number(),
|
|
7736
|
-
time_entries: /* @__PURE__ */ number()
|
|
7737
|
-
})), /* @__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.")))
|
|
7733
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7738
7734
|
});
|
|
7739
7735
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
7740
7736
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -7745,8 +7741,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
7745
7741
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
7746
7742
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
7747
7743
|
account_locked_at: /* @__PURE__ */ string(),
|
|
7748
|
-
accounts_role_id: /* @__PURE__ */ number(),
|
|
7749
7744
|
active: /* @__PURE__ */ boolean(),
|
|
7745
|
+
admin: /* @__PURE__ */ boolean(),
|
|
7750
7746
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
7751
7747
|
created_at: /* @__PURE__ */ string(),
|
|
7752
7748
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -7795,8 +7791,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7795
7791
|
track_role_id: /* @__PURE__ */ number(),
|
|
7796
7792
|
work_role_id: /* @__PURE__ */ number(),
|
|
7797
7793
|
workspace_user_id: /* @__PURE__ */ number()
|
|
7798
|
-
}))
|
|
7799
|
-
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema))
|
|
7794
|
+
}))
|
|
7800
7795
|
});
|
|
7801
7796
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7802
7797
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -7873,7 +7868,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7873
7868
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7874
7869
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7875
7870
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7876
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7871
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7872
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7877
7873
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7878
7874
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7879
7875
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -7889,7 +7885,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7889
7885
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7890
7886
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7891
7887
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7892
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7893
7888
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7894
7889
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7895
7890
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7899,23 +7894,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7899
7894
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7900
7895
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
7901
7896
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
7902
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
7903
|
-
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.")))
|
|
7897
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
7904
7898
|
});
|
|
7905
7899
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7906
7900
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7907
7901
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
7908
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7909
7902
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
7910
7903
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7911
7904
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7912
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7905
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7913
7906
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7914
7907
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
7915
7908
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7916
7909
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7917
7910
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7918
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
7911
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7912
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7919
7913
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7920
7914
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7921
7915
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7932,7 +7926,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7932
7926
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7933
7927
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7934
7928
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7935
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7936
7929
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7937
7930
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7938
7931
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7941,17 +7934,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7941
7934
|
});
|
|
7942
7935
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
7943
7936
|
id: /* @__PURE__ */ number(),
|
|
7944
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7945
7937
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
7946
7938
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7947
7939
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7948
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7940
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7949
7941
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7950
7942
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
7951
7943
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7952
7944
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7953
7945
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7954
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
7946
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7947
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7955
7948
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7956
7949
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7957
7950
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7968,7 +7961,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7968
7961
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7969
7962
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7970
7963
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7971
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7972
7964
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7973
7965
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7974
7966
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9892,7 +9884,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9892
9884
|
})
|
|
9893
9885
|
}).json();
|
|
9894
9886
|
}
|
|
9895
|
-
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
|
|
9887
|
+
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) {
|
|
9896
9888
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9897
9889
|
signal,
|
|
9898
9890
|
searchParams: buildSearchParams$2({
|
|
@@ -9912,9 +9904,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9912
9904
|
include_working_hours,
|
|
9913
9905
|
include_rates,
|
|
9914
9906
|
pinned_ids,
|
|
9915
|
-
has_group
|
|
9916
|
-
cf_filter,
|
|
9917
|
-
include_custom_fields
|
|
9907
|
+
has_group
|
|
9918
9908
|
}, true)
|
|
9919
9909
|
});
|
|
9920
9910
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -9933,7 +9923,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
9933
9923
|
}
|
|
9934
9924
|
//#endregion
|
|
9935
9925
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
9936
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id
|
|
9926
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
9937
9927
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
9938
9928
|
signal,
|
|
9939
9929
|
searchParams: buildSearchParams$2({
|
|
@@ -9941,10 +9931,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
9941
9931
|
page,
|
|
9942
9932
|
per_page,
|
|
9943
9933
|
order_by,
|
|
9944
|
-
tag_id
|
|
9945
|
-
include_usage,
|
|
9946
|
-
include_archived,
|
|
9947
|
-
archived
|
|
9934
|
+
tag_id
|
|
9948
9935
|
})
|
|
9949
9936
|
}).json();
|
|
9950
9937
|
}
|
|
@@ -9954,42 +9941,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
9954
9941
|
json: data
|
|
9955
9942
|
}).json();
|
|
9956
9943
|
}
|
|
9957
|
-
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
9958
|
-
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
9959
|
-
signal,
|
|
9960
|
-
json: data
|
|
9961
|
-
}).json();
|
|
9962
|
-
}
|
|
9963
|
-
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
9964
|
-
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
9965
|
-
signal,
|
|
9966
|
-
searchParams: buildSearchParams$2({ ids })
|
|
9967
|
-
}).json();
|
|
9968
|
-
}
|
|
9969
|
-
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
9970
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
9971
|
-
signal,
|
|
9972
|
-
json: data
|
|
9973
|
-
}).json();
|
|
9974
|
-
}
|
|
9975
|
-
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
9976
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
9977
|
-
signal,
|
|
9978
|
-
json: data
|
|
9979
|
-
}).json();
|
|
9980
|
-
}
|
|
9981
|
-
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
9982
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
9983
|
-
signal,
|
|
9984
|
-
json: data
|
|
9985
|
-
}).json();
|
|
9986
|
-
}
|
|
9987
|
-
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
9988
|
-
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
9989
|
-
signal,
|
|
9990
|
-
json: data
|
|
9991
|
-
}).json();
|
|
9992
|
-
}
|
|
9993
9944
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
9994
9945
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
9995
9946
|
}
|
|
@@ -10002,18 +9953,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
10002
9953
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
10003
9954
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
10004
9955
|
}
|
|
10005
|
-
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10006
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
10007
|
-
}
|
|
10008
9956
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
10009
9957
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
10010
9958
|
}
|
|
10011
|
-
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10012
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
10013
|
-
}
|
|
10014
9959
|
//#endregion
|
|
10015
9960
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10016
|
-
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,
|
|
9961
|
+
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, 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) {
|
|
10017
9962
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10018
9963
|
signal,
|
|
10019
9964
|
searchParams: buildSearchParams$2({
|
|
@@ -10031,11 +9976,9 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
10031
9976
|
assignee_user_id,
|
|
10032
9977
|
project_id,
|
|
10033
9978
|
user_id,
|
|
10034
|
-
only_me,
|
|
10035
9979
|
include_rates,
|
|
10036
9980
|
include_rollover,
|
|
10037
9981
|
include_idle_recurring_templates,
|
|
10038
|
-
collapse_recurring,
|
|
10039
9982
|
include_drafts,
|
|
10040
9983
|
include_locked_private,
|
|
10041
9984
|
start_date,
|
|
@@ -10266,7 +10209,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10266
10209
|
}
|
|
10267
10210
|
//#endregion
|
|
10268
10211
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10269
|
-
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) {
|
|
10212
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
|
|
10270
10213
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10271
10214
|
signal,
|
|
10272
10215
|
searchParams: buildSearchParams$2({
|
|
@@ -10314,8 +10257,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10314
10257
|
recurring_task_ids,
|
|
10315
10258
|
client_id,
|
|
10316
10259
|
include_rates,
|
|
10260
|
+
include_ghost_assignees,
|
|
10317
10261
|
include_assignees,
|
|
10318
10262
|
include_parent_matches,
|
|
10263
|
+
assignee_ghost_id,
|
|
10319
10264
|
disable_aggregations,
|
|
10320
10265
|
cf_filter
|
|
10321
10266
|
})
|
|
@@ -10401,7 +10346,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
10401
10346
|
})
|
|
10402
10347
|
}).json();
|
|
10403
10348
|
}
|
|
10404
|
-
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,
|
|
10349
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10405
10350
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10406
10351
|
signal,
|
|
10407
10352
|
searchParams: buildSearchParams$2({
|
|
@@ -10414,14 +10359,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10414
10359
|
dates_overlap_end,
|
|
10415
10360
|
recurring_task_ids,
|
|
10416
10361
|
team_id,
|
|
10417
|
-
assignee_team_id,
|
|
10418
10362
|
assignee_user_id,
|
|
10419
10363
|
tag_id,
|
|
10364
|
+
include_ghost_assignees,
|
|
10420
10365
|
include_assignees
|
|
10421
10366
|
})
|
|
10422
10367
|
}).json();
|
|
10423
10368
|
}
|
|
10424
|
-
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) {
|
|
10369
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
|
|
10425
10370
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10426
10371
|
signal,
|
|
10427
10372
|
searchParams: buildSearchParams$2({
|
|
@@ -10465,15 +10410,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10465
10410
|
recurring,
|
|
10466
10411
|
recurring_task_ids,
|
|
10467
10412
|
client_id,
|
|
10413
|
+
include_ghost_assignees,
|
|
10468
10414
|
include_assignees,
|
|
10415
|
+
assignee_ghost_id,
|
|
10469
10416
|
cf_filter
|
|
10470
10417
|
})
|
|
10471
10418
|
}).json();
|
|
10472
10419
|
}
|
|
10473
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
10420
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10474
10421
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
10475
10422
|
signal,
|
|
10476
|
-
searchParams: buildSearchParams$2({
|
|
10423
|
+
searchParams: buildSearchParams$2({
|
|
10424
|
+
include_ghost_assignees,
|
|
10425
|
+
include_assignees
|
|
10426
|
+
})
|
|
10477
10427
|
}).json();
|
|
10478
10428
|
}
|
|
10479
10429
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -10504,7 +10454,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
10504
10454
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
10505
10455
|
}).json();
|
|
10506
10456
|
}
|
|
10507
|
-
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) {
|
|
10457
|
+
async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10508
10458
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
10509
10459
|
signal,
|
|
10510
10460
|
searchParams: buildSearchParams$2({
|
|
@@ -10517,11 +10467,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10517
10467
|
team_id,
|
|
10518
10468
|
assignee_user_id,
|
|
10519
10469
|
tag_id,
|
|
10470
|
+
include_ghost_assignees,
|
|
10520
10471
|
include_assignees
|
|
10521
10472
|
})
|
|
10522
10473
|
}).json();
|
|
10523
10474
|
}
|
|
10524
|
-
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) {
|
|
10475
|
+
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10525
10476
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10526
10477
|
signal,
|
|
10527
10478
|
searchParams: buildSearchParams$2({
|
|
@@ -10534,6 +10485,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
10534
10485
|
team_id,
|
|
10535
10486
|
assignee_user_id,
|
|
10536
10487
|
tag_id,
|
|
10488
|
+
include_ghost_assignees,
|
|
10537
10489
|
include_assignees
|
|
10538
10490
|
})
|
|
10539
10491
|
}).json();
|
|
@@ -10635,12 +10587,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10635
10587
|
})
|
|
10636
10588
|
}).json();
|
|
10637
10589
|
}
|
|
10638
|
-
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
10639
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
10640
|
-
signal,
|
|
10641
|
-
json: data
|
|
10642
|
-
}).json();
|
|
10643
|
-
}
|
|
10644
10590
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10645
10591
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10646
10592
|
signal,
|
|
@@ -14461,21 +14407,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14461
14407
|
}
|
|
14462
14408
|
//#endregion
|
|
14463
14409
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14464
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14465
|
-
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14466
|
-
signal,
|
|
14467
|
-
searchParams: buildSearchParams$2({
|
|
14468
|
-
workspace_id,
|
|
14469
|
-
entity_type,
|
|
14470
|
-
entity_id,
|
|
14471
|
-
action,
|
|
14472
|
-
user_id,
|
|
14473
|
-
page_size,
|
|
14474
|
-
page_number,
|
|
14475
|
-
export: export_
|
|
14476
|
-
})
|
|
14477
|
-
}).json();
|
|
14478
|
-
}
|
|
14479
14410
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14480
14411
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14481
14412
|
signal,
|
|
@@ -14634,22 +14565,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14634
14565
|
}
|
|
14635
14566
|
//#endregion
|
|
14636
14567
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14637
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts
|
|
14568
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, ghost_id, private: private_, task_source, unit, include_drafts }, signal) {
|
|
14638
14569
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14639
14570
|
signal,
|
|
14640
14571
|
searchParams: buildSearchParams$2({
|
|
14641
14572
|
user_id,
|
|
14642
14573
|
start_date,
|
|
14643
14574
|
end_date,
|
|
14575
|
+
ghost_id,
|
|
14644
14576
|
private: private_,
|
|
14645
14577
|
task_source,
|
|
14646
14578
|
unit,
|
|
14647
|
-
include_drafts
|
|
14648
|
-
include_task_estimates
|
|
14579
|
+
include_drafts
|
|
14649
14580
|
})
|
|
14650
14581
|
}).json();
|
|
14651
14582
|
}
|
|
14652
14583
|
//#endregion
|
|
14584
|
+
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
14585
|
+
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
14586
|
+
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
14587
|
+
}
|
|
14588
|
+
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
14589
|
+
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
14590
|
+
signal,
|
|
14591
|
+
json: data
|
|
14592
|
+
}).json();
|
|
14593
|
+
}
|
|
14594
|
+
//#endregion
|
|
14653
14595
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
14654
14596
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
14655
14597
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -14732,12 +14674,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
14732
14674
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
14733
14675
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
14734
14676
|
}
|
|
14735
|
-
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
14736
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
14737
|
-
signal,
|
|
14738
|
-
json: data
|
|
14739
|
-
}).json();
|
|
14740
|
-
}
|
|
14741
14677
|
//#endregion
|
|
14742
14678
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14743
14679
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -14963,7 +14899,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
14963
14899
|
}
|
|
14964
14900
|
//#endregion
|
|
14965
14901
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
14966
|
-
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,
|
|
14902
|
+
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) {
|
|
14967
14903
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
14968
14904
|
signal,
|
|
14969
14905
|
searchParams: buildSearchParams$2({
|
|
@@ -14975,7 +14911,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14975
14911
|
include_group_totals,
|
|
14976
14912
|
include_unassigned,
|
|
14977
14913
|
archived,
|
|
14978
|
-
completed,
|
|
14979
14914
|
private: private_,
|
|
14980
14915
|
name,
|
|
14981
14916
|
client_id,
|
|
@@ -14987,7 +14922,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14987
14922
|
start_date,
|
|
14988
14923
|
end_date,
|
|
14989
14924
|
user_id,
|
|
14990
|
-
only_me,
|
|
14991
14925
|
include_drafts,
|
|
14992
14926
|
cf_filter
|
|
14993
14927
|
})
|
|
@@ -15103,11 +15037,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
15103
15037
|
}
|
|
15104
15038
|
//#endregion
|
|
15105
15039
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
15106
|
-
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts,
|
|
15040
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
|
|
15107
15041
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
15108
15042
|
signal,
|
|
15109
15043
|
json: data,
|
|
15110
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
15111
15044
|
searchParams: buildSearchParams$2({
|
|
15112
15045
|
response_format,
|
|
15113
15046
|
include_dicts
|
|
@@ -15131,36 +15064,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
15131
15064
|
json: data
|
|
15132
15065
|
}).json();
|
|
15133
15066
|
}
|
|
15134
|
-
async function
|
|
15135
|
-
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
15136
|
-
signal,
|
|
15137
|
-
json: data
|
|
15138
|
-
}).json();
|
|
15139
|
-
}
|
|
15140
|
-
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
15067
|
+
async function getWorkloadReport(httpClient, workspace_id, data, signal) {
|
|
15141
15068
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
15142
|
-
signal,
|
|
15143
|
-
json: data,
|
|
15144
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
15145
|
-
}).json();
|
|
15146
|
-
}
|
|
15147
|
-
//#endregion
|
|
15148
|
-
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
15149
|
-
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15150
|
-
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
15151
|
-
signal,
|
|
15152
|
-
json: data
|
|
15153
|
-
}).json();
|
|
15154
|
-
}
|
|
15155
|
-
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15156
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
15157
15069
|
signal,
|
|
15158
15070
|
json: data
|
|
15159
15071
|
}).json();
|
|
15160
15072
|
}
|
|
15161
|
-
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
15162
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
15163
|
-
}
|
|
15164
15073
|
//#endregion
|
|
15165
15074
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
15166
15075
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -15193,7 +15102,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15193
15102
|
}
|
|
15194
15103
|
//#endregion
|
|
15195
15104
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15196
|
-
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
|
|
15105
|
+
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) {
|
|
15197
15106
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15198
15107
|
signal,
|
|
15199
15108
|
searchParams: buildSearchParams$2({
|
|
@@ -15205,55 +15114,10 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15205
15114
|
task_id,
|
|
15206
15115
|
include_drafts,
|
|
15207
15116
|
exclude_calendar_events,
|
|
15208
|
-
group_by_tags
|
|
15209
|
-
only_me
|
|
15117
|
+
group_by_tags
|
|
15210
15118
|
})
|
|
15211
15119
|
}).json();
|
|
15212
15120
|
}
|
|
15213
|
-
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
15214
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
15215
|
-
signal,
|
|
15216
|
-
searchParams: buildSearchParams$2({
|
|
15217
|
-
keyword,
|
|
15218
|
-
per_group
|
|
15219
|
-
})
|
|
15220
|
-
}).json();
|
|
15221
|
-
}
|
|
15222
|
-
//#endregion
|
|
15223
|
-
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
15224
|
-
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
15225
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
15226
|
-
signal,
|
|
15227
|
-
json: data
|
|
15228
|
-
}).json();
|
|
15229
|
-
}
|
|
15230
|
-
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
15231
|
-
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
15232
|
-
}
|
|
15233
|
-
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
15234
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
15235
|
-
signal,
|
|
15236
|
-
json: data
|
|
15237
|
-
}).json();
|
|
15238
|
-
}
|
|
15239
|
-
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
15240
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
15241
|
-
}
|
|
15242
|
-
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
15243
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
15244
|
-
}
|
|
15245
|
-
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15246
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15247
|
-
}
|
|
15248
|
-
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15249
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15250
|
-
signal,
|
|
15251
|
-
json: data
|
|
15252
|
-
}).json();
|
|
15253
|
-
}
|
|
15254
|
-
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15255
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15256
|
-
}
|
|
15257
15121
|
//#endregion
|
|
15258
15122
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15259
15123
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15310,77 +15174,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15310
15174
|
}
|
|
15311
15175
|
//#endregion
|
|
15312
15176
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15313
|
-
async function
|
|
15314
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15315
|
-
signal,
|
|
15316
|
-
searchParams: buildSearchParams$2({
|
|
15317
|
-
project_id,
|
|
15318
|
-
source,
|
|
15319
|
-
priority,
|
|
15320
|
-
status_id,
|
|
15321
|
-
client_id,
|
|
15322
|
-
assignee_user_id,
|
|
15323
|
-
tag_id,
|
|
15324
|
-
team_id,
|
|
15325
|
-
user_tag_id,
|
|
15326
|
-
group_id,
|
|
15327
|
-
creator_id,
|
|
15328
|
-
name,
|
|
15329
|
-
start_date,
|
|
15330
|
-
end_date,
|
|
15331
|
-
start_date_from,
|
|
15332
|
-
start_date_to,
|
|
15333
|
-
end_date_from,
|
|
15334
|
-
end_date_to,
|
|
15335
|
-
private: private_,
|
|
15336
|
-
exclude_empty,
|
|
15337
|
-
include_unassigned,
|
|
15338
|
-
include_unmaterialized,
|
|
15339
|
-
collapse_recurring,
|
|
15340
|
-
include_assignees,
|
|
15341
|
-
min_days,
|
|
15342
|
-
include_drafts,
|
|
15343
|
-
cf_filter,
|
|
15344
|
-
user_cf_filter
|
|
15345
|
-
})
|
|
15346
|
-
}).json();
|
|
15347
|
-
}
|
|
15348
|
-
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) {
|
|
15349
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15350
|
-
signal,
|
|
15351
|
-
searchParams: buildSearchParams$2({
|
|
15352
|
-
team_id,
|
|
15353
|
-
project_id,
|
|
15354
|
-
source,
|
|
15355
|
-
priority,
|
|
15356
|
-
status_id,
|
|
15357
|
-
client_id,
|
|
15358
|
-
assignee_user_id,
|
|
15359
|
-
tag_id,
|
|
15360
|
-
user_tag_id,
|
|
15361
|
-
group_id,
|
|
15362
|
-
creator_id,
|
|
15363
|
-
name,
|
|
15364
|
-
start_date,
|
|
15365
|
-
end_date,
|
|
15366
|
-
start_date_from,
|
|
15367
|
-
start_date_to,
|
|
15368
|
-
end_date_from,
|
|
15369
|
-
end_date_to,
|
|
15370
|
-
private: private_,
|
|
15371
|
-
exclude_empty,
|
|
15372
|
-
include_unassigned,
|
|
15373
|
-
include_unmaterialized,
|
|
15374
|
-
collapse_recurring,
|
|
15375
|
-
include_assignees,
|
|
15376
|
-
min_days,
|
|
15377
|
-
include_drafts,
|
|
15378
|
-
cf_filter,
|
|
15379
|
-
user_cf_filter
|
|
15380
|
-
})
|
|
15381
|
-
}).json();
|
|
15382
|
-
}
|
|
15383
|
-
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) {
|
|
15177
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
|
|
15384
15178
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15385
15179
|
signal,
|
|
15386
15180
|
searchParams: buildSearchParams$2({
|
|
@@ -15404,14 +15198,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15404
15198
|
end_date_to,
|
|
15405
15199
|
private: private_,
|
|
15406
15200
|
exclude_empty,
|
|
15407
|
-
|
|
15408
|
-
include_unmaterialized,
|
|
15409
|
-
collapse_recurring,
|
|
15201
|
+
include_ghosts,
|
|
15410
15202
|
include_assignees,
|
|
15411
15203
|
min_days,
|
|
15412
15204
|
include_drafts,
|
|
15413
15205
|
cf_filter,
|
|
15414
|
-
user_cf_filter,
|
|
15415
15206
|
page,
|
|
15416
15207
|
per_page,
|
|
15417
15208
|
order_by
|
|
@@ -15548,6 +15339,20 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
15548
15339
|
}).json();
|
|
15549
15340
|
}
|
|
15550
15341
|
//#endregion
|
|
15342
|
+
//#region ../focus-queries/dist/time-log-suggestions/requests.ts
|
|
15343
|
+
async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
|
|
15344
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
|
|
15345
|
+
signal,
|
|
15346
|
+
json: data
|
|
15347
|
+
}).json();
|
|
15348
|
+
}
|
|
15349
|
+
async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
|
|
15350
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
|
|
15351
|
+
signal,
|
|
15352
|
+
json: data
|
|
15353
|
+
}).json();
|
|
15354
|
+
}
|
|
15355
|
+
//#endregion
|
|
15551
15356
|
//#region ../focus-queries/dist/time-off/requests.ts
|
|
15552
15357
|
async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, start_date, end_date }, signal) {
|
|
15553
15358
|
return await httpClient.get(`organizations/${organization_id}/timeoff`, {
|
|
@@ -15586,6 +15391,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15586
15391
|
json: data
|
|
15587
15392
|
}).json();
|
|
15588
15393
|
}
|
|
15394
|
+
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
15395
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
15396
|
+
signal,
|
|
15397
|
+
searchParams: buildSearchParams$2({
|
|
15398
|
+
ghost_ids,
|
|
15399
|
+
start_date,
|
|
15400
|
+
end_date
|
|
15401
|
+
})
|
|
15402
|
+
}).json();
|
|
15403
|
+
}
|
|
15404
|
+
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
15405
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15406
|
+
signal,
|
|
15407
|
+
searchParams: buildSearchParams$2({
|
|
15408
|
+
from,
|
|
15409
|
+
to
|
|
15410
|
+
})
|
|
15411
|
+
}).json();
|
|
15412
|
+
}
|
|
15413
|
+
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15414
|
+
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15415
|
+
signal,
|
|
15416
|
+
json: data
|
|
15417
|
+
}).json();
|
|
15418
|
+
}
|
|
15419
|
+
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15420
|
+
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15421
|
+
signal,
|
|
15422
|
+
json: data
|
|
15423
|
+
}).json();
|
|
15424
|
+
}
|
|
15425
|
+
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15426
|
+
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15427
|
+
signal,
|
|
15428
|
+
json: data
|
|
15429
|
+
}).json();
|
|
15430
|
+
}
|
|
15589
15431
|
//#endregion
|
|
15590
15432
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15591
15433
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15778,6 +15620,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
15778
15620
|
json: data
|
|
15779
15621
|
}).json();
|
|
15780
15622
|
}
|
|
15623
|
+
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
15624
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
15625
|
+
}
|
|
15626
|
+
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15627
|
+
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15628
|
+
signal,
|
|
15629
|
+
json: data
|
|
15630
|
+
}).json();
|
|
15631
|
+
}
|
|
15632
|
+
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15633
|
+
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15634
|
+
signal,
|
|
15635
|
+
json: data
|
|
15636
|
+
}).json();
|
|
15637
|
+
}
|
|
15638
|
+
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15639
|
+
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15640
|
+
signal,
|
|
15641
|
+
json: data
|
|
15642
|
+
}).json();
|
|
15643
|
+
}
|
|
15781
15644
|
//#endregion
|
|
15782
15645
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
15783
15646
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -15794,9 +15657,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
15794
15657
|
json: data
|
|
15795
15658
|
}).json();
|
|
15796
15659
|
}
|
|
15797
|
-
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
15798
|
-
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
15799
|
-
}
|
|
15800
15660
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
15801
15661
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
15802
15662
|
}
|
|
@@ -15809,15 +15669,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
15809
15669
|
json: data
|
|
15810
15670
|
}).json();
|
|
15811
15671
|
}
|
|
15812
|
-
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
15813
|
-
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
15814
|
-
}
|
|
15815
|
-
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
15816
|
-
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
15817
|
-
signal,
|
|
15818
|
-
json: data
|
|
15819
|
-
}).json();
|
|
15820
|
-
}
|
|
15821
15672
|
//#endregion
|
|
15822
15673
|
//#region ../operations/build/index.public.js
|
|
15823
15674
|
function callGeneratedRequest(request, args) {
|
|
@@ -15953,17 +15804,17 @@ const generatedFocusOperations = [
|
|
|
15953
15804
|
]))
|
|
15954
15805
|
},
|
|
15955
15806
|
{
|
|
15956
|
-
id: "focus.audit-log.
|
|
15807
|
+
id: "focus.audit-log.list",
|
|
15957
15808
|
family: "focus",
|
|
15958
15809
|
resource: "audit-log",
|
|
15959
|
-
action: "
|
|
15960
|
-
title: "
|
|
15961
|
-
description: "
|
|
15810
|
+
action: "list",
|
|
15811
|
+
title: "List Audit Log",
|
|
15812
|
+
description: "List Audit Log.",
|
|
15962
15813
|
safety: "read",
|
|
15963
15814
|
destructive: false,
|
|
15964
15815
|
cli: {
|
|
15965
15816
|
group: ["audit-log"],
|
|
15966
|
-
command: "
|
|
15817
|
+
command: "list",
|
|
15967
15818
|
interactive: "hidden"
|
|
15968
15819
|
},
|
|
15969
15820
|
mcp: { entityTool: "audit-log" },
|
|
@@ -15977,14 +15828,14 @@ const generatedFocusOperations = [
|
|
|
15977
15828
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15978
15829
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15979
15830
|
to: /* @__PURE__ */ string$1(),
|
|
15980
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15981
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15831
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15982
15832
|
}),
|
|
15983
15833
|
execute: (input, { client }) => {
|
|
15984
15834
|
const data = input;
|
|
15985
|
-
return client.runGeneratedRequest("
|
|
15835
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
15986
15836
|
client.httpClient,
|
|
15987
15837
|
client.organizationId,
|
|
15838
|
+
client.workspaceIdNumber,
|
|
15988
15839
|
data.from,
|
|
15989
15840
|
data.to,
|
|
15990
15841
|
data,
|
|
@@ -15993,79 +15844,87 @@ const generatedFocusOperations = [
|
|
|
15993
15844
|
}
|
|
15994
15845
|
},
|
|
15995
15846
|
{
|
|
15996
|
-
id: "focus.
|
|
15847
|
+
id: "focus.capacities.get-computations",
|
|
15997
15848
|
family: "focus",
|
|
15998
|
-
resource: "
|
|
15999
|
-
action: "
|
|
16000
|
-
title: "
|
|
16001
|
-
description: "
|
|
15849
|
+
resource: "capacities",
|
|
15850
|
+
action: "get-computations",
|
|
15851
|
+
title: "Get Computations Capacities",
|
|
15852
|
+
description: "Get Computations Capacities.",
|
|
16002
15853
|
safety: "read",
|
|
16003
15854
|
destructive: false,
|
|
16004
15855
|
cli: {
|
|
16005
|
-
group: ["
|
|
16006
|
-
command: "
|
|
15856
|
+
group: ["capacities"],
|
|
15857
|
+
command: "get-computations",
|
|
16007
15858
|
interactive: "hidden"
|
|
16008
15859
|
},
|
|
16009
|
-
mcp: { entityTool: "
|
|
15860
|
+
mcp: { entityTool: "capacities" },
|
|
16010
15861
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16011
|
-
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
|
|
16019
|
-
|
|
16020
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15862
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
15863
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
15864
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
15865
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
15866
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
15867
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
15868
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
15869
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
15870
|
+
user_id: /* @__PURE__ */ number$2()
|
|
16021
15871
|
}),
|
|
16022
15872
|
execute: (input, { client }) => {
|
|
16023
15873
|
const data = input;
|
|
16024
|
-
return client.runGeneratedRequest("
|
|
15874
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
16025
15875
|
client.httpClient,
|
|
16026
15876
|
client.organizationId,
|
|
16027
15877
|
client.workspaceIdNumber,
|
|
16028
|
-
data.
|
|
16029
|
-
data.to,
|
|
15878
|
+
data.group,
|
|
16030
15879
|
data,
|
|
16031
15880
|
void 0
|
|
16032
15881
|
]));
|
|
16033
15882
|
}
|
|
16034
15883
|
},
|
|
16035
15884
|
{
|
|
16036
|
-
id: "focus.capacities.
|
|
15885
|
+
id: "focus.capacities.settings-list",
|
|
16037
15886
|
family: "focus",
|
|
16038
15887
|
resource: "capacities",
|
|
16039
|
-
action: "
|
|
16040
|
-
title: "
|
|
16041
|
-
description: "
|
|
15888
|
+
action: "settings-list",
|
|
15889
|
+
title: "Settings List Capacities",
|
|
15890
|
+
description: "Settings List Capacities.",
|
|
16042
15891
|
safety: "read",
|
|
16043
15892
|
destructive: false,
|
|
16044
15893
|
cli: {
|
|
16045
|
-
group: ["capacities"],
|
|
16046
|
-
command: "
|
|
15894
|
+
group: ["capacities", "settings"],
|
|
15895
|
+
command: "list",
|
|
16047
15896
|
interactive: "hidden"
|
|
16048
15897
|
},
|
|
16049
15898
|
mcp: { entityTool: "capacities" },
|
|
16050
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16051
|
-
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
|
-
|
|
16055
|
-
|
|
16056
|
-
|
|
16057
|
-
|
|
16058
|
-
|
|
16059
|
-
|
|
16060
|
-
|
|
15899
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
15900
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
15901
|
+
client.httpClient,
|
|
15902
|
+
client.workspaceIdNumber,
|
|
15903
|
+
void 0
|
|
15904
|
+
]))
|
|
15905
|
+
},
|
|
15906
|
+
{
|
|
15907
|
+
id: "focus.capacities.settings-update",
|
|
15908
|
+
family: "focus",
|
|
15909
|
+
resource: "capacities",
|
|
15910
|
+
action: "settings-update",
|
|
15911
|
+
title: "Settings Update Capacities",
|
|
15912
|
+
description: "Settings Update Capacities.",
|
|
15913
|
+
safety: "update",
|
|
15914
|
+
destructive: false,
|
|
15915
|
+
cli: {
|
|
15916
|
+
group: ["capacities", "settings"],
|
|
15917
|
+
command: "update",
|
|
15918
|
+
interactive: "default"
|
|
15919
|
+
},
|
|
15920
|
+
mcp: { entityTool: "capacities" },
|
|
15921
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
16061
15922
|
execute: (input, { client }) => {
|
|
16062
15923
|
const data = input;
|
|
16063
|
-
return client.runGeneratedRequest("
|
|
15924
|
+
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
16064
15925
|
client.httpClient,
|
|
16065
|
-
client.organizationId,
|
|
16066
15926
|
client.workspaceIdNumber,
|
|
16067
|
-
data.
|
|
16068
|
-
data,
|
|
15927
|
+
data.payload ?? data.data ?? data,
|
|
16069
15928
|
void 0
|
|
16070
15929
|
]));
|
|
16071
15930
|
}
|
|
@@ -16264,7 +16123,8 @@ const generatedFocusOperations = [
|
|
|
16264
16123
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
16265
16124
|
start_at: apiDateTimeString,
|
|
16266
16125
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16267
|
-
})))
|
|
16126
|
+
}))),
|
|
16127
|
+
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16268
16128
|
}) }),
|
|
16269
16129
|
execute: (input, { client }) => {
|
|
16270
16130
|
const data = input;
|
|
@@ -16319,7 +16179,6 @@ const generatedFocusOperations = [
|
|
|
16319
16179
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16320
16180
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16321
16181
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16322
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16323
16182
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16324
16183
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16325
16184
|
}),
|
|
@@ -16352,7 +16211,6 @@ const generatedFocusOperations = [
|
|
|
16352
16211
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16353
16212
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16354
16213
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16355
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16356
16214
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16357
16215
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16358
16216
|
}))),
|
|
@@ -16408,11 +16266,7 @@ const generatedFocusOperations = [
|
|
|
16408
16266
|
},
|
|
16409
16267
|
mcp: { entityTool: "custom-fields" },
|
|
16410
16268
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16411
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16412
|
-
"project",
|
|
16413
|
-
"task",
|
|
16414
|
-
"user"
|
|
16415
|
-
]),
|
|
16269
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
16416
16270
|
field_type: /* @__PURE__ */ picklist$1([
|
|
16417
16271
|
"select",
|
|
16418
16272
|
"multi_select",
|
|
@@ -16745,11 +16599,7 @@ const generatedFocusOperations = [
|
|
|
16745
16599
|
},
|
|
16746
16600
|
mcp: { entityTool: "custom-fields" },
|
|
16747
16601
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16748
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16749
|
-
"project",
|
|
16750
|
-
"task",
|
|
16751
|
-
"user"
|
|
16752
|
-
]),
|
|
16602
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
16753
16603
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
16754
16604
|
}) }),
|
|
16755
16605
|
execute: (input, { client }) => {
|
|
@@ -16763,37 +16613,6 @@ const generatedFocusOperations = [
|
|
|
16763
16613
|
]));
|
|
16764
16614
|
}
|
|
16765
16615
|
},
|
|
16766
|
-
{
|
|
16767
|
-
id: "focus.custom-fields.update-user-custom-field-values",
|
|
16768
|
-
family: "focus",
|
|
16769
|
-
resource: "custom-fields",
|
|
16770
|
-
action: "update-user-custom-field-values",
|
|
16771
|
-
title: "Update User Custom Field Values Custom Fields",
|
|
16772
|
-
description: "Update User Custom Field Values Custom Fields.",
|
|
16773
|
-
safety: "update",
|
|
16774
|
-
destructive: false,
|
|
16775
|
-
cli: {
|
|
16776
|
-
group: ["custom-fields"],
|
|
16777
|
-
command: "update-user-custom-field-values",
|
|
16778
|
-
interactive: "hidden"
|
|
16779
|
-
},
|
|
16780
|
-
mcp: { entityTool: "custom-fields" },
|
|
16781
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16782
|
-
payload: /* @__PURE__ */ unknown$1(),
|
|
16783
|
-
user_id: /* @__PURE__ */ number$2()
|
|
16784
|
-
}),
|
|
16785
|
-
execute: (input, { client }) => {
|
|
16786
|
-
const data = input;
|
|
16787
|
-
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
16788
|
-
client.httpClient,
|
|
16789
|
-
client.organizationId,
|
|
16790
|
-
client.workspaceIdNumber,
|
|
16791
|
-
data.user_id,
|
|
16792
|
-
data.payload ?? data.data ?? data,
|
|
16793
|
-
void 0
|
|
16794
|
-
]));
|
|
16795
|
-
}
|
|
16796
|
-
},
|
|
16797
16616
|
{
|
|
16798
16617
|
id: "focus.goals.create",
|
|
16799
16618
|
family: "focus",
|
|
@@ -17013,22 +16832,10 @@ const generatedFocusOperations = [
|
|
|
17013
16832
|
goal_id: /* @__PURE__ */ number$2(),
|
|
17014
16833
|
payload: /* @__PURE__ */ looseObject({
|
|
17015
16834
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17016
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17017
16835
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17018
16836
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17019
16837
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17020
|
-
|
|
17021
|
-
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
17022
|
-
"daily",
|
|
17023
|
-
"weekly",
|
|
17024
|
-
"daily_workdays",
|
|
17025
|
-
"monthly"
|
|
17026
|
-
])),
|
|
17027
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17028
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17029
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17030
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17031
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16838
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
17032
16839
|
})
|
|
17033
16840
|
}),
|
|
17034
16841
|
execute: (input, { client }) => {
|
|
@@ -18361,7 +18168,6 @@ const generatedFocusOperations = [
|
|
|
18361
18168
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18362
18169
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18363
18170
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18364
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18365
18171
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18366
18172
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18367
18173
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -18369,7 +18175,6 @@ const generatedFocusOperations = [
|
|
|
18369
18175
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18370
18176
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18371
18177
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18372
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18373
18178
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18374
18179
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18375
18180
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -20554,10 +20359,7 @@ const generatedFocusOperations = [
|
|
|
20554
20359
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20555
20360
|
name: /* @__PURE__ */ string$1(),
|
|
20556
20361
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20557
|
-
}))
|
|
20558
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20559
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20560
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20362
|
+
}))
|
|
20561
20363
|
}),
|
|
20562
20364
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20563
20365
|
}),
|
|
@@ -20657,17 +20459,9 @@ const generatedFocusOperations = [
|
|
|
20657
20459
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20658
20460
|
name: /* @__PURE__ */ string$1(),
|
|
20659
20461
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20660
|
-
}))
|
|
20661
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20662
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20663
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20462
|
+
}))
|
|
20664
20463
|
}),
|
|
20665
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20666
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20667
|
-
"csv",
|
|
20668
|
-
"xlsx",
|
|
20669
|
-
"pdf"
|
|
20670
|
-
]))
|
|
20464
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20671
20465
|
}),
|
|
20672
20466
|
execute: (input, { client }) => {
|
|
20673
20467
|
const data = input;
|
|
@@ -20677,23 +20471,22 @@ const generatedFocusOperations = [
|
|
|
20677
20471
|
data.payload ?? data.data ?? data,
|
|
20678
20472
|
data.response_format,
|
|
20679
20473
|
data.include_dicts,
|
|
20680
|
-
data.xTogglReportExport,
|
|
20681
20474
|
void 0
|
|
20682
20475
|
]));
|
|
20683
20476
|
}
|
|
20684
20477
|
},
|
|
20685
20478
|
{
|
|
20686
|
-
id: "focus.reports.get-
|
|
20479
|
+
id: "focus.reports.get-workload",
|
|
20687
20480
|
family: "focus",
|
|
20688
20481
|
resource: "reports",
|
|
20689
|
-
action: "get-
|
|
20690
|
-
title: "Get
|
|
20691
|
-
description: "Get
|
|
20482
|
+
action: "get-workload",
|
|
20483
|
+
title: "Get Workload Reports",
|
|
20484
|
+
description: "Get Workload Reports.",
|
|
20692
20485
|
safety: "update",
|
|
20693
20486
|
destructive: false,
|
|
20694
20487
|
cli: {
|
|
20695
20488
|
group: ["reports"],
|
|
20696
|
-
command: "get-
|
|
20489
|
+
command: "get-workload",
|
|
20697
20490
|
interactive: "hidden"
|
|
20698
20491
|
},
|
|
20699
20492
|
mcp: { entityTool: "reports" },
|
|
@@ -20739,205 +20532,14 @@ const generatedFocusOperations = [
|
|
|
20739
20532
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20740
20533
|
name: /* @__PURE__ */ string$1(),
|
|
20741
20534
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20742
|
-
}))
|
|
20743
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20744
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20745
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20535
|
+
}))
|
|
20746
20536
|
}) }),
|
|
20747
|
-
execute: (input, { client }) => {
|
|
20748
|
-
const data = input;
|
|
20749
|
-
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
20750
|
-
client.httpClient,
|
|
20751
|
-
client.workspaceIdNumber,
|
|
20752
|
-
data.payload ?? data.data ?? data,
|
|
20753
|
-
void 0
|
|
20754
|
-
]));
|
|
20755
|
-
}
|
|
20756
|
-
},
|
|
20757
|
-
{
|
|
20758
|
-
id: "focus.reports.get-workload",
|
|
20759
|
-
family: "focus",
|
|
20760
|
-
resource: "reports",
|
|
20761
|
-
action: "get-workload",
|
|
20762
|
-
title: "Get Workload Reports",
|
|
20763
|
-
description: "Get Workload Reports.",
|
|
20764
|
-
safety: "update",
|
|
20765
|
-
destructive: false,
|
|
20766
|
-
cli: {
|
|
20767
|
-
group: ["reports"],
|
|
20768
|
-
command: "get-workload",
|
|
20769
|
-
interactive: "hidden"
|
|
20770
|
-
},
|
|
20771
|
-
mcp: { entityTool: "reports" },
|
|
20772
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20773
|
-
payload: /* @__PURE__ */ looseObject({
|
|
20774
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20775
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
20776
|
-
function: /* @__PURE__ */ string$1(),
|
|
20777
|
-
property: /* @__PURE__ */ string$1()
|
|
20778
|
-
}),
|
|
20779
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20780
|
-
property: /* @__PURE__ */ string$1()
|
|
20781
|
-
})),
|
|
20782
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20783
|
-
function: /* @__PURE__ */ string$1(),
|
|
20784
|
-
property: /* @__PURE__ */ string$1()
|
|
20785
|
-
})),
|
|
20786
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20787
|
-
currency: /* @__PURE__ */ string$1(),
|
|
20788
|
-
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20789
|
-
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
20790
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20791
|
-
property: /* @__PURE__ */ string$1()
|
|
20792
|
-
})),
|
|
20793
|
-
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20794
|
-
property: /* @__PURE__ */ string$1(),
|
|
20795
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
20796
|
-
})),
|
|
20797
|
-
limit: /* @__PURE__ */ number$2(),
|
|
20798
|
-
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20799
|
-
direction: /* @__PURE__ */ string$1(),
|
|
20800
|
-
nulls: /* @__PURE__ */ string$1(),
|
|
20801
|
-
property: /* @__PURE__ */ string$1()
|
|
20802
|
-
})),
|
|
20803
|
-
pagination: /* @__PURE__ */ looseObject({
|
|
20804
|
-
page: /* @__PURE__ */ number$2(),
|
|
20805
|
-
per_page: /* @__PURE__ */ number$2()
|
|
20806
|
-
}),
|
|
20807
|
-
period: /* @__PURE__ */ looseObject({
|
|
20808
|
-
from: /* @__PURE__ */ string$1(),
|
|
20809
|
-
preset: /* @__PURE__ */ string$1(),
|
|
20810
|
-
to: /* @__PURE__ */ string$1()
|
|
20811
|
-
}),
|
|
20812
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20813
|
-
name: /* @__PURE__ */ string$1(),
|
|
20814
|
-
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20815
|
-
})),
|
|
20816
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20817
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20818
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20819
|
-
}),
|
|
20820
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20821
|
-
"csv",
|
|
20822
|
-
"xlsx",
|
|
20823
|
-
"pdf"
|
|
20824
|
-
]))
|
|
20825
|
-
}),
|
|
20826
20537
|
execute: (input, { client }) => {
|
|
20827
20538
|
const data = input;
|
|
20828
20539
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
20829
20540
|
client.httpClient,
|
|
20830
20541
|
client.workspaceIdNumber,
|
|
20831
20542
|
data.payload ?? data.data ?? data,
|
|
20832
|
-
data.xTogglReportExport,
|
|
20833
|
-
void 0
|
|
20834
|
-
]));
|
|
20835
|
-
}
|
|
20836
|
-
},
|
|
20837
|
-
{
|
|
20838
|
-
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
20839
|
-
family: "focus",
|
|
20840
|
-
resource: "reportschedules",
|
|
20841
|
-
action: "delete-shared-report-schedule",
|
|
20842
|
-
title: "Delete Shared Report Schedule Reportschedules",
|
|
20843
|
-
description: "Delete Shared Report Schedule Reportschedules.",
|
|
20844
|
-
safety: "delete",
|
|
20845
|
-
destructive: true,
|
|
20846
|
-
cli: {
|
|
20847
|
-
group: ["reportschedules"],
|
|
20848
|
-
command: "delete-shared-report-schedule",
|
|
20849
|
-
interactive: "default"
|
|
20850
|
-
},
|
|
20851
|
-
mcp: { entityTool: "reportschedules" },
|
|
20852
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
20853
|
-
execute: (input, { client }) => {
|
|
20854
|
-
const data = input;
|
|
20855
|
-
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
20856
|
-
client.httpClient,
|
|
20857
|
-
client.workspaceIdNumber,
|
|
20858
|
-
data.id,
|
|
20859
|
-
void 0
|
|
20860
|
-
]));
|
|
20861
|
-
}
|
|
20862
|
-
},
|
|
20863
|
-
{
|
|
20864
|
-
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
20865
|
-
family: "focus",
|
|
20866
|
-
resource: "reportschedules",
|
|
20867
|
-
action: "upsert-saved-view-schedule",
|
|
20868
|
-
title: "Upsert Saved View Schedule Reportschedules",
|
|
20869
|
-
description: "Upsert Saved View Schedule Reportschedules.",
|
|
20870
|
-
safety: "update",
|
|
20871
|
-
destructive: false,
|
|
20872
|
-
cli: {
|
|
20873
|
-
group: ["reportschedules"],
|
|
20874
|
-
command: "upsert-saved-view-schedule",
|
|
20875
|
-
interactive: "default"
|
|
20876
|
-
},
|
|
20877
|
-
mcp: { entityTool: "reportschedules" },
|
|
20878
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20879
|
-
id: /* @__PURE__ */ number$2(),
|
|
20880
|
-
payload: /* @__PURE__ */ looseObject({
|
|
20881
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
20882
|
-
"daily",
|
|
20883
|
-
"weekly",
|
|
20884
|
-
"monthly"
|
|
20885
|
-
]),
|
|
20886
|
-
time: /* @__PURE__ */ string$1(),
|
|
20887
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20888
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20889
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20890
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
20891
|
-
})
|
|
20892
|
-
}),
|
|
20893
|
-
execute: (input, { client }) => {
|
|
20894
|
-
const data = input;
|
|
20895
|
-
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
20896
|
-
client.httpClient,
|
|
20897
|
-
client.workspaceIdNumber,
|
|
20898
|
-
data.id,
|
|
20899
|
-
data.payload ?? data.data ?? data,
|
|
20900
|
-
void 0
|
|
20901
|
-
]));
|
|
20902
|
-
}
|
|
20903
|
-
},
|
|
20904
|
-
{
|
|
20905
|
-
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
20906
|
-
family: "focus",
|
|
20907
|
-
resource: "reportschedules",
|
|
20908
|
-
action: "upsert-shared-report-schedule",
|
|
20909
|
-
title: "Upsert Shared Report Schedule Reportschedules",
|
|
20910
|
-
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
20911
|
-
safety: "update",
|
|
20912
|
-
destructive: false,
|
|
20913
|
-
cli: {
|
|
20914
|
-
group: ["reportschedules"],
|
|
20915
|
-
command: "upsert-shared-report-schedule",
|
|
20916
|
-
interactive: "default"
|
|
20917
|
-
},
|
|
20918
|
-
mcp: { entityTool: "reportschedules" },
|
|
20919
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20920
|
-
id: /* @__PURE__ */ number$2(),
|
|
20921
|
-
payload: /* @__PURE__ */ looseObject({
|
|
20922
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
20923
|
-
"daily",
|
|
20924
|
-
"weekly",
|
|
20925
|
-
"monthly"
|
|
20926
|
-
]),
|
|
20927
|
-
time: /* @__PURE__ */ string$1(),
|
|
20928
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20929
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20930
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20931
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
20932
|
-
})
|
|
20933
|
-
}),
|
|
20934
|
-
execute: (input, { client }) => {
|
|
20935
|
-
const data = input;
|
|
20936
|
-
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
20937
|
-
client.httpClient,
|
|
20938
|
-
client.workspaceIdNumber,
|
|
20939
|
-
data.id,
|
|
20940
|
-
data.payload ?? data.data ?? data,
|
|
20941
20543
|
void 0
|
|
20942
20544
|
]));
|
|
20943
20545
|
}
|
|
@@ -20975,9 +20577,7 @@ const generatedFocusOperations = [
|
|
|
20975
20577
|
"reports.detailed",
|
|
20976
20578
|
"reports.utilization",
|
|
20977
20579
|
"reports.workload",
|
|
20978
|
-
"reports.profitability"
|
|
20979
|
-
"reports.time-off",
|
|
20980
|
-
"reports.time-accounting"
|
|
20580
|
+
"reports.profitability"
|
|
20981
20581
|
]),
|
|
20982
20582
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20983
20583
|
}) }),
|
|
@@ -21100,36 +20700,6 @@ const generatedFocusOperations = [
|
|
|
21100
20700
|
]));
|
|
21101
20701
|
}
|
|
21102
20702
|
},
|
|
21103
|
-
{
|
|
21104
|
-
id: "focus.search.mentions",
|
|
21105
|
-
family: "focus",
|
|
21106
|
-
resource: "search",
|
|
21107
|
-
action: "mentions",
|
|
21108
|
-
title: "Mentions Search",
|
|
21109
|
-
description: "Mentions Search.",
|
|
21110
|
-
safety: "read",
|
|
21111
|
-
destructive: false,
|
|
21112
|
-
cli: {
|
|
21113
|
-
group: ["search"],
|
|
21114
|
-
command: "mentions",
|
|
21115
|
-
interactive: "hidden"
|
|
21116
|
-
},
|
|
21117
|
-
mcp: { entityTool: "search" },
|
|
21118
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21119
|
-
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21120
|
-
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21121
|
-
}),
|
|
21122
|
-
execute: (input, { client }) => {
|
|
21123
|
-
const data = input;
|
|
21124
|
-
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
21125
|
-
client.httpClient,
|
|
21126
|
-
client.organizationId,
|
|
21127
|
-
client.workspaceIdNumber,
|
|
21128
|
-
data,
|
|
21129
|
-
void 0
|
|
21130
|
-
]));
|
|
21131
|
-
}
|
|
21132
|
-
},
|
|
21133
20703
|
{
|
|
21134
20704
|
id: "focus.search.search",
|
|
21135
20705
|
family: "focus",
|
|
@@ -21158,241 +20728,7 @@ const generatedFocusOperations = [
|
|
|
21158
20728
|
}
|
|
21159
20729
|
},
|
|
21160
20730
|
{
|
|
21161
|
-
id: "focus.
|
|
21162
|
-
family: "focus",
|
|
21163
|
-
resource: "sharedreports",
|
|
21164
|
-
action: "add-shared-report-grants",
|
|
21165
|
-
title: "Add Shared Report Grants Sharedreports",
|
|
21166
|
-
description: "Add Shared Report Grants Sharedreports.",
|
|
21167
|
-
safety: "update",
|
|
21168
|
-
destructive: false,
|
|
21169
|
-
cli: {
|
|
21170
|
-
group: ["sharedreports"],
|
|
21171
|
-
command: "add-shared-report-grants",
|
|
21172
|
-
interactive: "default"
|
|
21173
|
-
},
|
|
21174
|
-
mcp: { entityTool: "sharedreports" },
|
|
21175
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21176
|
-
id: /* @__PURE__ */ number$2(),
|
|
21177
|
-
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21178
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21179
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21180
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21181
|
-
})) })
|
|
21182
|
-
}),
|
|
21183
|
-
execute: (input, { client }) => {
|
|
21184
|
-
const data = input;
|
|
21185
|
-
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
21186
|
-
client.httpClient,
|
|
21187
|
-
client.workspaceIdNumber,
|
|
21188
|
-
data.id,
|
|
21189
|
-
data.payload ?? data.data ?? data,
|
|
21190
|
-
void 0
|
|
21191
|
-
]));
|
|
21192
|
-
}
|
|
21193
|
-
},
|
|
21194
|
-
{
|
|
21195
|
-
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
21196
|
-
family: "focus",
|
|
21197
|
-
resource: "sharedreports",
|
|
21198
|
-
action: "get-saved-view-shared-report",
|
|
21199
|
-
title: "Get Saved View Shared Report Sharedreports",
|
|
21200
|
-
description: "Get Saved View Shared Report Sharedreports.",
|
|
21201
|
-
safety: "read",
|
|
21202
|
-
destructive: false,
|
|
21203
|
-
cli: {
|
|
21204
|
-
group: ["sharedreports"],
|
|
21205
|
-
command: "get-saved-view-shared-report",
|
|
21206
|
-
interactive: "available"
|
|
21207
|
-
},
|
|
21208
|
-
mcp: { entityTool: "sharedreports" },
|
|
21209
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21210
|
-
execute: (input, { client }) => {
|
|
21211
|
-
const data = input;
|
|
21212
|
-
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
21213
|
-
client.httpClient,
|
|
21214
|
-
client.workspaceIdNumber,
|
|
21215
|
-
data.id,
|
|
21216
|
-
void 0
|
|
21217
|
-
]));
|
|
21218
|
-
}
|
|
21219
|
-
},
|
|
21220
|
-
{
|
|
21221
|
-
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21222
|
-
family: "focus",
|
|
21223
|
-
resource: "sharedreports",
|
|
21224
|
-
action: "get-shared-report-for-viewer",
|
|
21225
|
-
title: "Get Shared Report For Viewer Sharedreports",
|
|
21226
|
-
description: "Get Shared Report For Viewer Sharedreports.",
|
|
21227
|
-
safety: "read",
|
|
21228
|
-
destructive: false,
|
|
21229
|
-
cli: {
|
|
21230
|
-
group: ["sharedreports"],
|
|
21231
|
-
command: "get-shared-report-for-viewer",
|
|
21232
|
-
interactive: "available"
|
|
21233
|
-
},
|
|
21234
|
-
mcp: { entityTool: "sharedreports" },
|
|
21235
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21236
|
-
execute: (input, { client }) => {
|
|
21237
|
-
const data = input;
|
|
21238
|
-
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
21239
|
-
client.httpClient,
|
|
21240
|
-
client.workspaceIdNumber,
|
|
21241
|
-
data.id,
|
|
21242
|
-
void 0
|
|
21243
|
-
]));
|
|
21244
|
-
}
|
|
21245
|
-
},
|
|
21246
|
-
{
|
|
21247
|
-
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
21248
|
-
family: "focus",
|
|
21249
|
-
resource: "sharedreports",
|
|
21250
|
-
action: "get-shared-reports-shared-by-me",
|
|
21251
|
-
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
21252
|
-
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
21253
|
-
safety: "read",
|
|
21254
|
-
destructive: false,
|
|
21255
|
-
cli: {
|
|
21256
|
-
group: ["sharedreports"],
|
|
21257
|
-
command: "get-shared-reports-shared-by-me",
|
|
21258
|
-
interactive: "hidden"
|
|
21259
|
-
},
|
|
21260
|
-
mcp: { entityTool: "sharedreports" },
|
|
21261
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21262
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
21263
|
-
client.httpClient,
|
|
21264
|
-
client.workspaceIdNumber,
|
|
21265
|
-
void 0
|
|
21266
|
-
]))
|
|
21267
|
-
},
|
|
21268
|
-
{
|
|
21269
|
-
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
21270
|
-
family: "focus",
|
|
21271
|
-
resource: "sharedreports",
|
|
21272
|
-
action: "get-shared-reports-shared-with-me",
|
|
21273
|
-
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
21274
|
-
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
21275
|
-
safety: "read",
|
|
21276
|
-
destructive: false,
|
|
21277
|
-
cli: {
|
|
21278
|
-
group: ["sharedreports"],
|
|
21279
|
-
command: "get-shared-reports-shared-with-me",
|
|
21280
|
-
interactive: "hidden"
|
|
21281
|
-
},
|
|
21282
|
-
mcp: { entityTool: "sharedreports" },
|
|
21283
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21284
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
21285
|
-
client.httpClient,
|
|
21286
|
-
client.workspaceIdNumber,
|
|
21287
|
-
void 0
|
|
21288
|
-
]))
|
|
21289
|
-
},
|
|
21290
|
-
{
|
|
21291
|
-
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21292
|
-
family: "focus",
|
|
21293
|
-
resource: "sharedreports",
|
|
21294
|
-
action: "revoke-shared-report-grant",
|
|
21295
|
-
title: "Revoke Shared Report Grant Sharedreports",
|
|
21296
|
-
description: "Revoke Shared Report Grant Sharedreports.",
|
|
21297
|
-
safety: "delete",
|
|
21298
|
-
destructive: true,
|
|
21299
|
-
cli: {
|
|
21300
|
-
group: ["sharedreports"],
|
|
21301
|
-
command: "revoke-shared-report-grant",
|
|
21302
|
-
interactive: "default"
|
|
21303
|
-
},
|
|
21304
|
-
mcp: { entityTool: "sharedreports" },
|
|
21305
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21306
|
-
grant_id: /* @__PURE__ */ number$2(),
|
|
21307
|
-
id: /* @__PURE__ */ number$2()
|
|
21308
|
-
}),
|
|
21309
|
-
execute: (input, { client }) => {
|
|
21310
|
-
const data = input;
|
|
21311
|
-
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
21312
|
-
client.httpClient,
|
|
21313
|
-
client.workspaceIdNumber,
|
|
21314
|
-
data.id,
|
|
21315
|
-
data.grant_id,
|
|
21316
|
-
void 0
|
|
21317
|
-
]));
|
|
21318
|
-
}
|
|
21319
|
-
},
|
|
21320
|
-
{
|
|
21321
|
-
id: "focus.sharedreports.share-saved-view",
|
|
21322
|
-
family: "focus",
|
|
21323
|
-
resource: "sharedreports",
|
|
21324
|
-
action: "share-saved-view",
|
|
21325
|
-
title: "Share Saved View Sharedreports",
|
|
21326
|
-
description: "Share Saved View Sharedreports.",
|
|
21327
|
-
safety: "update",
|
|
21328
|
-
destructive: false,
|
|
21329
|
-
cli: {
|
|
21330
|
-
group: ["sharedreports"],
|
|
21331
|
-
command: "share-saved-view",
|
|
21332
|
-
interactive: "hidden"
|
|
21333
|
-
},
|
|
21334
|
-
mcp: { entityTool: "sharedreports" },
|
|
21335
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21336
|
-
id: /* @__PURE__ */ number$2(),
|
|
21337
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21338
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21339
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21340
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21341
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21342
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21343
|
-
})
|
|
21344
|
-
}),
|
|
21345
|
-
execute: (input, { client }) => {
|
|
21346
|
-
const data = input;
|
|
21347
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21348
|
-
client.httpClient,
|
|
21349
|
-
client.workspaceIdNumber,
|
|
21350
|
-
data.id,
|
|
21351
|
-
data.payload ?? data.data ?? data,
|
|
21352
|
-
void 0
|
|
21353
|
-
]));
|
|
21354
|
-
}
|
|
21355
|
-
},
|
|
21356
|
-
{
|
|
21357
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
21358
|
-
family: "focus",
|
|
21359
|
-
resource: "sharedreports",
|
|
21360
|
-
action: "share-saved-view-many",
|
|
21361
|
-
title: "Share Saved View Many Sharedreports",
|
|
21362
|
-
description: "Share Saved View Many Sharedreports.",
|
|
21363
|
-
safety: "update",
|
|
21364
|
-
destructive: false,
|
|
21365
|
-
cli: {
|
|
21366
|
-
group: ["sharedreports"],
|
|
21367
|
-
command: "share-saved-view-many",
|
|
21368
|
-
interactive: "hidden"
|
|
21369
|
-
},
|
|
21370
|
-
mcp: { entityTool: "sharedreports" },
|
|
21371
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21372
|
-
id: /* @__PURE__ */ number$2(),
|
|
21373
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21374
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21375
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21376
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21377
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21378
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21379
|
-
})),
|
|
21380
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21381
|
-
})
|
|
21382
|
-
}),
|
|
21383
|
-
execute: (input, { client }) => {
|
|
21384
|
-
const data = input;
|
|
21385
|
-
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21386
|
-
client.httpClient,
|
|
21387
|
-
client.workspaceIdNumber,
|
|
21388
|
-
data.id,
|
|
21389
|
-
data.payload ?? data.data ?? data,
|
|
21390
|
-
void 0
|
|
21391
|
-
]));
|
|
21392
|
-
}
|
|
21393
|
-
},
|
|
21394
|
-
{
|
|
21395
|
-
id: "focus.statuses.create-status",
|
|
20731
|
+
id: "focus.statuses.create-status",
|
|
21396
20732
|
family: "focus",
|
|
21397
20733
|
resource: "statuses",
|
|
21398
20734
|
action: "create-status",
|
|
@@ -21669,165 +21005,6 @@ const generatedFocusOperations = [
|
|
|
21669
21005
|
]));
|
|
21670
21006
|
}
|
|
21671
21007
|
},
|
|
21672
|
-
{
|
|
21673
|
-
id: "focus.tags.archive",
|
|
21674
|
-
family: "focus",
|
|
21675
|
-
resource: "tags",
|
|
21676
|
-
action: "archive",
|
|
21677
|
-
title: "Archive Tags",
|
|
21678
|
-
description: "Archive Tags.",
|
|
21679
|
-
safety: "update",
|
|
21680
|
-
destructive: false,
|
|
21681
|
-
cli: {
|
|
21682
|
-
group: ["tags"],
|
|
21683
|
-
command: "archive",
|
|
21684
|
-
interactive: "default"
|
|
21685
|
-
},
|
|
21686
|
-
mcp: { entityTool: "tags" },
|
|
21687
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
21688
|
-
execute: (input, { client }) => {
|
|
21689
|
-
const data = input;
|
|
21690
|
-
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
21691
|
-
client.httpClient,
|
|
21692
|
-
client.workspaceIdNumber,
|
|
21693
|
-
data.tag_id,
|
|
21694
|
-
void 0
|
|
21695
|
-
]));
|
|
21696
|
-
}
|
|
21697
|
-
},
|
|
21698
|
-
{
|
|
21699
|
-
id: "focus.tags.bulk-archive",
|
|
21700
|
-
family: "focus",
|
|
21701
|
-
resource: "tags",
|
|
21702
|
-
action: "bulk-archive",
|
|
21703
|
-
title: "Bulk Archive Tags",
|
|
21704
|
-
description: "Bulk Archive Tags.",
|
|
21705
|
-
safety: "update",
|
|
21706
|
-
destructive: false,
|
|
21707
|
-
cli: {
|
|
21708
|
-
group: ["tags", "bulk"],
|
|
21709
|
-
command: "archive",
|
|
21710
|
-
interactive: "default"
|
|
21711
|
-
},
|
|
21712
|
-
mcp: { entityTool: "tags" },
|
|
21713
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21714
|
-
execute: (input, { client }) => {
|
|
21715
|
-
const data = input;
|
|
21716
|
-
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
21717
|
-
client.httpClient,
|
|
21718
|
-
client.workspaceIdNumber,
|
|
21719
|
-
data.payload ?? data.data ?? data,
|
|
21720
|
-
void 0
|
|
21721
|
-
]));
|
|
21722
|
-
}
|
|
21723
|
-
},
|
|
21724
|
-
{
|
|
21725
|
-
id: "focus.tags.bulk-create",
|
|
21726
|
-
family: "focus",
|
|
21727
|
-
resource: "tags",
|
|
21728
|
-
action: "bulk-create",
|
|
21729
|
-
title: "Bulk Create Tags",
|
|
21730
|
-
description: "Bulk Create Tags.",
|
|
21731
|
-
safety: "create",
|
|
21732
|
-
destructive: false,
|
|
21733
|
-
cli: {
|
|
21734
|
-
group: ["tags", "bulk"],
|
|
21735
|
-
command: "create",
|
|
21736
|
-
interactive: "default"
|
|
21737
|
-
},
|
|
21738
|
-
mcp: { entityTool: "tags" },
|
|
21739
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21740
|
-
color: /* @__PURE__ */ string$1(),
|
|
21741
|
-
name: /* @__PURE__ */ string$1()
|
|
21742
|
-
})) }) }),
|
|
21743
|
-
execute: (input, { client }) => {
|
|
21744
|
-
const data = input;
|
|
21745
|
-
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
21746
|
-
client.httpClient,
|
|
21747
|
-
client.workspaceIdNumber,
|
|
21748
|
-
data.payload ?? data.data ?? data,
|
|
21749
|
-
void 0
|
|
21750
|
-
]));
|
|
21751
|
-
}
|
|
21752
|
-
},
|
|
21753
|
-
{
|
|
21754
|
-
id: "focus.tags.bulk-delete",
|
|
21755
|
-
family: "focus",
|
|
21756
|
-
resource: "tags",
|
|
21757
|
-
action: "bulk-delete",
|
|
21758
|
-
title: "Bulk Delete Tags",
|
|
21759
|
-
description: "Bulk Delete Tags.",
|
|
21760
|
-
safety: "delete",
|
|
21761
|
-
destructive: true,
|
|
21762
|
-
cli: {
|
|
21763
|
-
group: ["tags", "bulk"],
|
|
21764
|
-
command: "delete",
|
|
21765
|
-
interactive: "default"
|
|
21766
|
-
},
|
|
21767
|
-
mcp: { entityTool: "tags" },
|
|
21768
|
-
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
21769
|
-
execute: (input, { client }) => {
|
|
21770
|
-
const data = input;
|
|
21771
|
-
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
21772
|
-
client.httpClient,
|
|
21773
|
-
client.workspaceIdNumber,
|
|
21774
|
-
data.ids,
|
|
21775
|
-
void 0
|
|
21776
|
-
]));
|
|
21777
|
-
}
|
|
21778
|
-
},
|
|
21779
|
-
{
|
|
21780
|
-
id: "focus.tags.bulk-restore",
|
|
21781
|
-
family: "focus",
|
|
21782
|
-
resource: "tags",
|
|
21783
|
-
action: "bulk-restore",
|
|
21784
|
-
title: "Bulk Restore Tags",
|
|
21785
|
-
description: "Bulk Restore Tags.",
|
|
21786
|
-
safety: "update",
|
|
21787
|
-
destructive: false,
|
|
21788
|
-
cli: {
|
|
21789
|
-
group: ["tags", "bulk"],
|
|
21790
|
-
command: "restore",
|
|
21791
|
-
interactive: "default"
|
|
21792
|
-
},
|
|
21793
|
-
mcp: { entityTool: "tags" },
|
|
21794
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21795
|
-
execute: (input, { client }) => {
|
|
21796
|
-
const data = input;
|
|
21797
|
-
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
21798
|
-
client.httpClient,
|
|
21799
|
-
client.workspaceIdNumber,
|
|
21800
|
-
data.payload ?? data.data ?? data,
|
|
21801
|
-
void 0
|
|
21802
|
-
]));
|
|
21803
|
-
}
|
|
21804
|
-
},
|
|
21805
|
-
{
|
|
21806
|
-
id: "focus.tags.bulk-unarchive",
|
|
21807
|
-
family: "focus",
|
|
21808
|
-
resource: "tags",
|
|
21809
|
-
action: "bulk-unarchive",
|
|
21810
|
-
title: "Bulk Unarchive Tags",
|
|
21811
|
-
description: "Bulk Unarchive Tags.",
|
|
21812
|
-
safety: "update",
|
|
21813
|
-
destructive: false,
|
|
21814
|
-
cli: {
|
|
21815
|
-
group: ["tags", "bulk"],
|
|
21816
|
-
command: "unarchive",
|
|
21817
|
-
interactive: "default"
|
|
21818
|
-
},
|
|
21819
|
-
mcp: { entityTool: "tags" },
|
|
21820
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21821
|
-
execute: (input, { client }) => {
|
|
21822
|
-
const data = input;
|
|
21823
|
-
return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
|
|
21824
|
-
client.httpClient,
|
|
21825
|
-
client.workspaceIdNumber,
|
|
21826
|
-
data.payload ?? data.data ?? data,
|
|
21827
|
-
void 0
|
|
21828
|
-
]));
|
|
21829
|
-
}
|
|
21830
|
-
},
|
|
21831
21008
|
{
|
|
21832
21009
|
id: "focus.tags.create",
|
|
21833
21010
|
family: "focus",
|
|
@@ -21912,35 +21089,6 @@ const generatedFocusOperations = [
|
|
|
21912
21089
|
return client.listTags(data);
|
|
21913
21090
|
}
|
|
21914
21091
|
},
|
|
21915
|
-
{
|
|
21916
|
-
id: "focus.tags.merge",
|
|
21917
|
-
family: "focus",
|
|
21918
|
-
resource: "tags",
|
|
21919
|
-
action: "merge",
|
|
21920
|
-
title: "Merge Tags",
|
|
21921
|
-
description: "Merge Tags.",
|
|
21922
|
-
safety: "update",
|
|
21923
|
-
destructive: false,
|
|
21924
|
-
cli: {
|
|
21925
|
-
group: ["tags"],
|
|
21926
|
-
command: "merge",
|
|
21927
|
-
interactive: "default"
|
|
21928
|
-
},
|
|
21929
|
-
mcp: { entityTool: "tags" },
|
|
21930
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
21931
|
-
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
21932
|
-
target_id: /* @__PURE__ */ number$2()
|
|
21933
|
-
}) }),
|
|
21934
|
-
execute: (input, { client }) => {
|
|
21935
|
-
const data = input;
|
|
21936
|
-
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
21937
|
-
client.httpClient,
|
|
21938
|
-
client.workspaceIdNumber,
|
|
21939
|
-
data.payload ?? data.data ?? data,
|
|
21940
|
-
void 0
|
|
21941
|
-
]));
|
|
21942
|
-
}
|
|
21943
|
-
},
|
|
21944
21092
|
{
|
|
21945
21093
|
id: "focus.tags.restore",
|
|
21946
21094
|
family: "focus",
|
|
@@ -21967,32 +21115,6 @@ const generatedFocusOperations = [
|
|
|
21967
21115
|
]));
|
|
21968
21116
|
}
|
|
21969
21117
|
},
|
|
21970
|
-
{
|
|
21971
|
-
id: "focus.tags.unarchive",
|
|
21972
|
-
family: "focus",
|
|
21973
|
-
resource: "tags",
|
|
21974
|
-
action: "unarchive",
|
|
21975
|
-
title: "Unarchive Tags",
|
|
21976
|
-
description: "Unarchive Tags.",
|
|
21977
|
-
safety: "update",
|
|
21978
|
-
destructive: false,
|
|
21979
|
-
cli: {
|
|
21980
|
-
group: ["tags"],
|
|
21981
|
-
command: "unarchive",
|
|
21982
|
-
interactive: "default"
|
|
21983
|
-
},
|
|
21984
|
-
mcp: { entityTool: "tags" },
|
|
21985
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
21986
|
-
execute: (input, { client }) => {
|
|
21987
|
-
const data = input;
|
|
21988
|
-
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
21989
|
-
client.httpClient,
|
|
21990
|
-
client.workspaceIdNumber,
|
|
21991
|
-
data.tag_id,
|
|
21992
|
-
void 0
|
|
21993
|
-
]));
|
|
21994
|
-
}
|
|
21995
|
-
},
|
|
21996
21118
|
{
|
|
21997
21119
|
id: "focus.tags.update",
|
|
21998
21120
|
family: "focus",
|
|
@@ -22674,12 +21796,12 @@ const generatedFocusOperations = [
|
|
|
22674
21796
|
mcp: { entityTool: "tasks" },
|
|
22675
21797
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22676
21798
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22677
|
-
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22678
21799
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22679
21800
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22680
21801
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22681
21802
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22682
21803
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21804
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22683
21805
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22684
21806
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22685
21807
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22716,6 +21838,7 @@ const generatedFocusOperations = [
|
|
|
22716
21838
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22717
21839
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22718
21840
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21841
|
+
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22719
21842
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22720
21843
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22721
21844
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22732,6 +21855,7 @@ const generatedFocusOperations = [
|
|
|
22732
21855
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22733
21856
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22734
21857
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21858
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22735
21859
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22736
21860
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22737
21861
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22787,6 +21911,7 @@ const generatedFocusOperations = [
|
|
|
22787
21911
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22788
21912
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22789
21913
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21914
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22790
21915
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22791
21916
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22792
21917
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22827,6 +21952,7 @@ const generatedFocusOperations = [
|
|
|
22827
21952
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22828
21953
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22829
21954
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21955
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22830
21956
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22831
21957
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22832
21958
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22867,7 +21993,6 @@ const generatedFocusOperations = [
|
|
|
22867
21993
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22868
21994
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22869
21995
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22870
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22871
21996
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22872
21997
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22873
21998
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22881,8 +22006,7 @@ const generatedFocusOperations = [
|
|
|
22881
22006
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22882
22007
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22883
22008
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22884
|
-
|
|
22885
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22009
|
+
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22886
22010
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22887
22011
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22888
22012
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22898,7 +22022,6 @@ const generatedFocusOperations = [
|
|
|
22898
22022
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22899
22023
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22900
22024
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22901
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22902
22025
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22903
22026
|
}),
|
|
22904
22027
|
execute: (input, { client }) => {
|
|
@@ -22913,118 +22036,6 @@ const generatedFocusOperations = [
|
|
|
22913
22036
|
]));
|
|
22914
22037
|
}
|
|
22915
22038
|
},
|
|
22916
|
-
{
|
|
22917
|
-
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
22918
|
-
family: "focus",
|
|
22919
|
-
resource: "tasks",
|
|
22920
|
-
action: "groups-get-user-task-groups-by-project",
|
|
22921
|
-
title: "Groups Get User Task Groups By Project Tasks",
|
|
22922
|
-
description: "Groups Get User Task Groups By Project Tasks.",
|
|
22923
|
-
safety: "read",
|
|
22924
|
-
destructive: false,
|
|
22925
|
-
cli: {
|
|
22926
|
-
group: ["tasks", "groups"],
|
|
22927
|
-
command: "get-user-task-groups-by-project",
|
|
22928
|
-
interactive: "hidden"
|
|
22929
|
-
},
|
|
22930
|
-
mcp: { entityTool: "tasks" },
|
|
22931
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22932
|
-
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
22933
|
-
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
22934
|
-
client_id: /* @__PURE__ */ number$2(),
|
|
22935
|
-
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
22936
|
-
creator_id: /* @__PURE__ */ number$2(),
|
|
22937
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
22938
|
-
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
22939
|
-
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
22940
|
-
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
22941
|
-
group_id: /* @__PURE__ */ number$2(),
|
|
22942
|
-
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
22943
|
-
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
22944
|
-
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
22945
|
-
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
22946
|
-
min_days: /* @__PURE__ */ unknown$1(),
|
|
22947
|
-
name: /* @__PURE__ */ unknown$1(),
|
|
22948
|
-
priority: /* @__PURE__ */ unknown$1(),
|
|
22949
|
-
private_: /* @__PURE__ */ unknown$1(),
|
|
22950
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
22951
|
-
source: /* @__PURE__ */ unknown$1(),
|
|
22952
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
22953
|
-
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
22954
|
-
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
22955
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
22956
|
-
tag_id: /* @__PURE__ */ number$2(),
|
|
22957
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
22958
|
-
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
22959
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
22960
|
-
}),
|
|
22961
|
-
execute: (input, { client }) => {
|
|
22962
|
-
const data = input;
|
|
22963
|
-
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
22964
|
-
client.httpClient,
|
|
22965
|
-
client.organizationId,
|
|
22966
|
-
client.workspaceIdNumber,
|
|
22967
|
-
data,
|
|
22968
|
-
void 0
|
|
22969
|
-
]));
|
|
22970
|
-
}
|
|
22971
|
-
},
|
|
22972
|
-
{
|
|
22973
|
-
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
22974
|
-
family: "focus",
|
|
22975
|
-
resource: "tasks",
|
|
22976
|
-
action: "groups-get-user-task-groups-by-team",
|
|
22977
|
-
title: "Groups Get User Task Groups By Team Tasks",
|
|
22978
|
-
description: "Groups Get User Task Groups By Team Tasks.",
|
|
22979
|
-
safety: "read",
|
|
22980
|
-
destructive: false,
|
|
22981
|
-
cli: {
|
|
22982
|
-
group: ["tasks", "groups"],
|
|
22983
|
-
command: "get-user-task-groups-by-team",
|
|
22984
|
-
interactive: "hidden"
|
|
22985
|
-
},
|
|
22986
|
-
mcp: { entityTool: "tasks" },
|
|
22987
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22988
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22989
|
-
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22990
|
-
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22991
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22992
|
-
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22993
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22994
|
-
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22995
|
-
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22996
|
-
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22997
|
-
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22998
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22999
|
-
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23000
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23001
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23002
|
-
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23003
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23004
|
-
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23005
|
-
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23006
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23007
|
-
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23008
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23009
|
-
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23010
|
-
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23011
|
-
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23012
|
-
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23013
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23014
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23015
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23016
|
-
}),
|
|
23017
|
-
execute: (input, { client }) => {
|
|
23018
|
-
const data = input;
|
|
23019
|
-
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
23020
|
-
client.httpClient,
|
|
23021
|
-
client.organizationId,
|
|
23022
|
-
client.workspaceIdNumber,
|
|
23023
|
-
data,
|
|
23024
|
-
void 0
|
|
23025
|
-
]));
|
|
23026
|
-
}
|
|
23027
|
-
},
|
|
23028
22039
|
{
|
|
23029
22040
|
id: "focus.tasks.groups-update",
|
|
23030
22041
|
family: "focus",
|
|
@@ -23230,6 +22241,7 @@ const generatedFocusOperations = [
|
|
|
23230
22241
|
name: /* @__PURE__ */ string$1(),
|
|
23231
22242
|
status_id: /* @__PURE__ */ number$2(),
|
|
23232
22243
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22244
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23233
22245
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23234
22246
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23235
22247
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -23249,7 +22261,6 @@ const generatedFocusOperations = [
|
|
|
23249
22261
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23250
22262
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23251
22263
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23252
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23253
22264
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
23254
22265
|
}),
|
|
23255
22266
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -24442,42 +23453,6 @@ const generatedFocusOperations = [
|
|
|
24442
23453
|
inputSchema: emptySchema$1,
|
|
24443
23454
|
execute: (_input, { client }) => client.stopTracking()
|
|
24444
23455
|
},
|
|
24445
|
-
{
|
|
24446
|
-
id: "focus.time-entries.sync",
|
|
24447
|
-
family: "focus",
|
|
24448
|
-
resource: "time-entries",
|
|
24449
|
-
action: "sync",
|
|
24450
|
-
title: "Sync Time Entries",
|
|
24451
|
-
description: "Sync Time Entries.",
|
|
24452
|
-
safety: "update",
|
|
24453
|
-
destructive: false,
|
|
24454
|
-
cli: {
|
|
24455
|
-
group: ["time-entries"],
|
|
24456
|
-
command: "sync",
|
|
24457
|
-
interactive: "default"
|
|
24458
|
-
},
|
|
24459
|
-
mcp: { entityTool: "time-entries" },
|
|
24460
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24461
|
-
client_uuid: /* @__PURE__ */ string$1(),
|
|
24462
|
-
payload: /* @__PURE__ */ looseObject({
|
|
24463
|
-
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
24464
|
-
client_updated_at: apiDateTimeString,
|
|
24465
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24466
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24467
|
-
})
|
|
24468
|
-
}),
|
|
24469
|
-
execute: (input, { client }) => {
|
|
24470
|
-
const data = input;
|
|
24471
|
-
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
24472
|
-
client.httpClient,
|
|
24473
|
-
client.organizationId,
|
|
24474
|
-
client.workspaceIdNumber,
|
|
24475
|
-
data.client_uuid,
|
|
24476
|
-
data.payload ?? data.data ?? data,
|
|
24477
|
-
void 0
|
|
24478
|
-
]));
|
|
24479
|
-
}
|
|
24480
|
-
},
|
|
24481
23456
|
{
|
|
24482
23457
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
24483
23458
|
family: "focus",
|
|
@@ -24526,7 +23501,6 @@ const generatedFocusOperations = [
|
|
|
24526
23501
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24527
23502
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24528
23503
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24529
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24530
23504
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24531
23505
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24532
23506
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -24589,33 +23563,121 @@ const generatedFocusOperations = [
|
|
|
24589
23563
|
safety: "update",
|
|
24590
23564
|
destructive: false,
|
|
24591
23565
|
cli: {
|
|
24592
|
-
group: ["time-entries"],
|
|
24593
|
-
command: "update",
|
|
24594
|
-
interactive: "default"
|
|
23566
|
+
group: ["time-entries"],
|
|
23567
|
+
command: "update",
|
|
23568
|
+
interactive: "default"
|
|
23569
|
+
},
|
|
23570
|
+
mcp: { entityTool: "time-entries" },
|
|
23571
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23572
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23573
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
23574
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23575
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23576
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23577
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23578
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23579
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23580
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23581
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23582
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
23583
|
+
}),
|
|
23584
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
23585
|
+
}),
|
|
23586
|
+
execute: (input, { client }) => {
|
|
23587
|
+
const data = input;
|
|
23588
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23589
|
+
client.httpClient,
|
|
23590
|
+
client.organizationId,
|
|
23591
|
+
client.workspaceIdNumber,
|
|
23592
|
+
data.time_entry_id,
|
|
23593
|
+
data.payload ?? data.data ?? data,
|
|
23594
|
+
void 0
|
|
23595
|
+
]));
|
|
23596
|
+
}
|
|
23597
|
+
},
|
|
23598
|
+
{
|
|
23599
|
+
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
23600
|
+
family: "focus",
|
|
23601
|
+
resource: "time-log-suggestions",
|
|
23602
|
+
action: "get-for-acalendar-event-title",
|
|
23603
|
+
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
23604
|
+
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
23605
|
+
safety: "update",
|
|
23606
|
+
destructive: false,
|
|
23607
|
+
cli: {
|
|
23608
|
+
group: ["time-log-suggestions"],
|
|
23609
|
+
command: "get-for-acalendar-event-title",
|
|
23610
|
+
interactive: "default"
|
|
23611
|
+
},
|
|
23612
|
+
mcp: { entityTool: "time-log-suggestions" },
|
|
23613
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
23614
|
+
execute: (input, { client }) => {
|
|
23615
|
+
const data = input;
|
|
23616
|
+
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
23617
|
+
client.httpClient,
|
|
23618
|
+
client.organizationId,
|
|
23619
|
+
client.workspaceIdNumber,
|
|
23620
|
+
data.payload ?? data.data ?? data,
|
|
23621
|
+
void 0
|
|
23622
|
+
]));
|
|
23623
|
+
}
|
|
23624
|
+
},
|
|
23625
|
+
{
|
|
23626
|
+
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
23627
|
+
family: "focus",
|
|
23628
|
+
resource: "time-log-suggestions",
|
|
23629
|
+
action: "get-for-multiple-calendar-event-titles",
|
|
23630
|
+
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
23631
|
+
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
23632
|
+
safety: "update",
|
|
23633
|
+
destructive: false,
|
|
23634
|
+
cli: {
|
|
23635
|
+
group: ["time-log-suggestions"],
|
|
23636
|
+
command: "get-for-multiple-calendar-event-titles",
|
|
23637
|
+
interactive: "default"
|
|
23638
|
+
},
|
|
23639
|
+
mcp: { entityTool: "time-log-suggestions" },
|
|
23640
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23641
|
+
key: /* @__PURE__ */ string$1(),
|
|
23642
|
+
title: /* @__PURE__ */ string$1()
|
|
23643
|
+
})) }) }),
|
|
23644
|
+
execute: (input, { client }) => {
|
|
23645
|
+
const data = input;
|
|
23646
|
+
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
23647
|
+
client.httpClient,
|
|
23648
|
+
client.organizationId,
|
|
23649
|
+
client.workspaceIdNumber,
|
|
23650
|
+
data.payload ?? data.data ?? data,
|
|
23651
|
+
void 0
|
|
23652
|
+
]));
|
|
23653
|
+
}
|
|
23654
|
+
},
|
|
23655
|
+
{
|
|
23656
|
+
id: "focus.time-off.create-timeoff-for-ghost",
|
|
23657
|
+
family: "focus",
|
|
23658
|
+
resource: "time-off",
|
|
23659
|
+
action: "create-timeoff-for-ghost",
|
|
23660
|
+
title: "Create Timeoff For Ghost Time Off",
|
|
23661
|
+
description: "Create Timeoff For Ghost Time Off.",
|
|
23662
|
+
safety: "create",
|
|
23663
|
+
destructive: false,
|
|
23664
|
+
cli: {
|
|
23665
|
+
group: ["time-off"],
|
|
23666
|
+
command: "create-timeoff-for-ghost",
|
|
23667
|
+
interactive: "hidden"
|
|
24595
23668
|
},
|
|
24596
|
-
mcp: { entityTool: "time-
|
|
23669
|
+
mcp: { entityTool: "time-off" },
|
|
24597
23670
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24598
|
-
|
|
24599
|
-
|
|
24600
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24601
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24602
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24603
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24604
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24605
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24606
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24607
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24608
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24609
|
-
}),
|
|
24610
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
23671
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23672
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
24611
23673
|
}),
|
|
24612
23674
|
execute: (input, { client }) => {
|
|
24613
23675
|
const data = input;
|
|
24614
|
-
return client.runGeneratedRequest("
|
|
23676
|
+
return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
|
|
24615
23677
|
client.httpClient,
|
|
24616
23678
|
client.organizationId,
|
|
24617
23679
|
client.workspaceIdNumber,
|
|
24618
|
-
data.
|
|
23680
|
+
data.ghost_id,
|
|
24619
23681
|
data.payload ?? data.data ?? data,
|
|
24620
23682
|
void 0
|
|
24621
23683
|
]));
|
|
@@ -24651,6 +23713,37 @@ const generatedFocusOperations = [
|
|
|
24651
23713
|
]));
|
|
24652
23714
|
}
|
|
24653
23715
|
},
|
|
23716
|
+
{
|
|
23717
|
+
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
23718
|
+
family: "focus",
|
|
23719
|
+
resource: "time-off",
|
|
23720
|
+
action: "delete-timeoff-for-ghost",
|
|
23721
|
+
title: "Delete Timeoff For Ghost Time Off",
|
|
23722
|
+
description: "Delete Timeoff For Ghost Time Off.",
|
|
23723
|
+
safety: "delete",
|
|
23724
|
+
destructive: true,
|
|
23725
|
+
cli: {
|
|
23726
|
+
group: ["time-off"],
|
|
23727
|
+
command: "delete-timeoff-for-ghost",
|
|
23728
|
+
interactive: "hidden"
|
|
23729
|
+
},
|
|
23730
|
+
mcp: { entityTool: "time-off" },
|
|
23731
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23732
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23733
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
23734
|
+
}),
|
|
23735
|
+
execute: (input, { client }) => {
|
|
23736
|
+
const data = input;
|
|
23737
|
+
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
23738
|
+
client.httpClient,
|
|
23739
|
+
client.organizationId,
|
|
23740
|
+
client.workspaceIdNumber,
|
|
23741
|
+
data.ghost_id,
|
|
23742
|
+
data.payload ?? data.data ?? data,
|
|
23743
|
+
void 0
|
|
23744
|
+
]));
|
|
23745
|
+
}
|
|
23746
|
+
},
|
|
24654
23747
|
{
|
|
24655
23748
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
24656
23749
|
family: "focus",
|
|
@@ -24681,6 +23774,38 @@ const generatedFocusOperations = [
|
|
|
24681
23774
|
]));
|
|
24682
23775
|
}
|
|
24683
23776
|
},
|
|
23777
|
+
{
|
|
23778
|
+
id: "focus.time-off.get-timeoff-for-ghost",
|
|
23779
|
+
family: "focus",
|
|
23780
|
+
resource: "time-off",
|
|
23781
|
+
action: "get-timeoff-for-ghost",
|
|
23782
|
+
title: "Get Timeoff For Ghost Time Off",
|
|
23783
|
+
description: "Get Timeoff For Ghost Time Off.",
|
|
23784
|
+
safety: "read",
|
|
23785
|
+
destructive: false,
|
|
23786
|
+
cli: {
|
|
23787
|
+
group: ["time-off"],
|
|
23788
|
+
command: "get-timeoff-for-ghost",
|
|
23789
|
+
interactive: "hidden"
|
|
23790
|
+
},
|
|
23791
|
+
mcp: { entityTool: "time-off" },
|
|
23792
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23793
|
+
from: /* @__PURE__ */ unknown$1(),
|
|
23794
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23795
|
+
to: /* @__PURE__ */ unknown$1()
|
|
23796
|
+
}),
|
|
23797
|
+
execute: (input, { client }) => {
|
|
23798
|
+
const data = input;
|
|
23799
|
+
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
23800
|
+
client.httpClient,
|
|
23801
|
+
client.organizationId,
|
|
23802
|
+
client.workspaceIdNumber,
|
|
23803
|
+
data.ghost_id,
|
|
23804
|
+
data,
|
|
23805
|
+
void 0
|
|
23806
|
+
]));
|
|
23807
|
+
}
|
|
23808
|
+
},
|
|
24684
23809
|
{
|
|
24685
23810
|
id: "focus.time-off.get-timeoff-for-user",
|
|
24686
23811
|
family: "focus",
|
|
@@ -24712,6 +23837,37 @@ const generatedFocusOperations = [
|
|
|
24712
23837
|
]));
|
|
24713
23838
|
}
|
|
24714
23839
|
},
|
|
23840
|
+
{
|
|
23841
|
+
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
23842
|
+
family: "focus",
|
|
23843
|
+
resource: "time-off",
|
|
23844
|
+
action: "get-timeoffs-by-ghost-ids",
|
|
23845
|
+
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
23846
|
+
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
23847
|
+
safety: "read",
|
|
23848
|
+
destructive: false,
|
|
23849
|
+
cli: {
|
|
23850
|
+
group: ["time-off"],
|
|
23851
|
+
command: "get-timeoffs-by-ghost-ids",
|
|
23852
|
+
interactive: "hidden"
|
|
23853
|
+
},
|
|
23854
|
+
mcp: { entityTool: "time-off" },
|
|
23855
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23856
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23857
|
+
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
23858
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
23859
|
+
}),
|
|
23860
|
+
execute: (input, { client }) => {
|
|
23861
|
+
const data = input;
|
|
23862
|
+
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
23863
|
+
client.httpClient,
|
|
23864
|
+
client.organizationId,
|
|
23865
|
+
client.workspaceIdNumber,
|
|
23866
|
+
data,
|
|
23867
|
+
void 0
|
|
23868
|
+
]));
|
|
23869
|
+
}
|
|
23870
|
+
},
|
|
24715
23871
|
{
|
|
24716
23872
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
24717
23873
|
family: "focus",
|
|
@@ -24742,6 +23898,37 @@ const generatedFocusOperations = [
|
|
|
24742
23898
|
]));
|
|
24743
23899
|
}
|
|
24744
23900
|
},
|
|
23901
|
+
{
|
|
23902
|
+
id: "focus.time-off.update-timeoff-for-ghost",
|
|
23903
|
+
family: "focus",
|
|
23904
|
+
resource: "time-off",
|
|
23905
|
+
action: "update-timeoff-for-ghost",
|
|
23906
|
+
title: "Update Timeoff For Ghost Time Off",
|
|
23907
|
+
description: "Update Timeoff For Ghost Time Off.",
|
|
23908
|
+
safety: "update",
|
|
23909
|
+
destructive: false,
|
|
23910
|
+
cli: {
|
|
23911
|
+
group: ["time-off"],
|
|
23912
|
+
command: "update-timeoff-for-ghost",
|
|
23913
|
+
interactive: "hidden"
|
|
23914
|
+
},
|
|
23915
|
+
mcp: { entityTool: "time-off" },
|
|
23916
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23917
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23918
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
23919
|
+
}),
|
|
23920
|
+
execute: (input, { client }) => {
|
|
23921
|
+
const data = input;
|
|
23922
|
+
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
23923
|
+
client.httpClient,
|
|
23924
|
+
client.organizationId,
|
|
23925
|
+
client.workspaceIdNumber,
|
|
23926
|
+
data.ghost_id,
|
|
23927
|
+
data.payload ?? data.data ?? data,
|
|
23928
|
+
void 0
|
|
23929
|
+
]));
|
|
23930
|
+
}
|
|
23931
|
+
},
|
|
24745
23932
|
{
|
|
24746
23933
|
id: "focus.time-off.update-timeoff-for-user",
|
|
24747
23934
|
family: "focus",
|
|
@@ -25773,7 +24960,6 @@ const generatedFocusOperations = [
|
|
|
25773
24960
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25774
24961
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25775
24962
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25776
|
-
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25777
24963
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25778
24964
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25779
24965
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -25875,6 +25061,37 @@ const generatedFocusOperations = [
|
|
|
25875
25061
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25876
25062
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
25877
25063
|
},
|
|
25064
|
+
{
|
|
25065
|
+
id: "focus.working-hours.create-for-ghost",
|
|
25066
|
+
family: "focus",
|
|
25067
|
+
resource: "working-hours",
|
|
25068
|
+
action: "create-for-ghost",
|
|
25069
|
+
title: "Create For Ghost Working Hours",
|
|
25070
|
+
description: "Create For Ghost Working Hours.",
|
|
25071
|
+
safety: "create",
|
|
25072
|
+
destructive: false,
|
|
25073
|
+
cli: {
|
|
25074
|
+
group: ["working-hours"],
|
|
25075
|
+
command: "create-for-ghost",
|
|
25076
|
+
interactive: "hidden"
|
|
25077
|
+
},
|
|
25078
|
+
mcp: { entityTool: "working-hours" },
|
|
25079
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25080
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
25081
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
25082
|
+
}),
|
|
25083
|
+
execute: (input, { client }) => {
|
|
25084
|
+
const data = input;
|
|
25085
|
+
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
25086
|
+
client.httpClient,
|
|
25087
|
+
client.organizationId,
|
|
25088
|
+
client.workspaceIdNumber,
|
|
25089
|
+
data.ghost_id,
|
|
25090
|
+
data.payload ?? data.data ?? data,
|
|
25091
|
+
void 0
|
|
25092
|
+
]));
|
|
25093
|
+
}
|
|
25094
|
+
},
|
|
25878
25095
|
{
|
|
25879
25096
|
id: "focus.working-hours.create-for-user",
|
|
25880
25097
|
family: "focus",
|
|
@@ -25905,6 +25122,37 @@ const generatedFocusOperations = [
|
|
|
25905
25122
|
]));
|
|
25906
25123
|
}
|
|
25907
25124
|
},
|
|
25125
|
+
{
|
|
25126
|
+
id: "focus.working-hours.delete-for-ghost",
|
|
25127
|
+
family: "focus",
|
|
25128
|
+
resource: "working-hours",
|
|
25129
|
+
action: "delete-for-ghost",
|
|
25130
|
+
title: "Delete For Ghost Working Hours",
|
|
25131
|
+
description: "Delete For Ghost Working Hours.",
|
|
25132
|
+
safety: "delete",
|
|
25133
|
+
destructive: true,
|
|
25134
|
+
cli: {
|
|
25135
|
+
group: ["working-hours"],
|
|
25136
|
+
command: "delete-for-ghost",
|
|
25137
|
+
interactive: "hidden"
|
|
25138
|
+
},
|
|
25139
|
+
mcp: { entityTool: "working-hours" },
|
|
25140
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25141
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
25142
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
25143
|
+
}),
|
|
25144
|
+
execute: (input, { client }) => {
|
|
25145
|
+
const data = input;
|
|
25146
|
+
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
25147
|
+
client.httpClient,
|
|
25148
|
+
client.organizationId,
|
|
25149
|
+
client.workspaceIdNumber,
|
|
25150
|
+
data.ghost_id,
|
|
25151
|
+
data.payload ?? data.data ?? data,
|
|
25152
|
+
void 0
|
|
25153
|
+
]));
|
|
25154
|
+
}
|
|
25155
|
+
},
|
|
25908
25156
|
{
|
|
25909
25157
|
id: "focus.working-hours.delete-for-user",
|
|
25910
25158
|
family: "focus",
|
|
@@ -25935,6 +25183,33 @@ const generatedFocusOperations = [
|
|
|
25935
25183
|
]));
|
|
25936
25184
|
}
|
|
25937
25185
|
},
|
|
25186
|
+
{
|
|
25187
|
+
id: "focus.working-hours.get-for-ghost",
|
|
25188
|
+
family: "focus",
|
|
25189
|
+
resource: "working-hours",
|
|
25190
|
+
action: "get-for-ghost",
|
|
25191
|
+
title: "Get For Ghost Working Hours",
|
|
25192
|
+
description: "Get For Ghost Working Hours.",
|
|
25193
|
+
safety: "read",
|
|
25194
|
+
destructive: false,
|
|
25195
|
+
cli: {
|
|
25196
|
+
group: ["working-hours"],
|
|
25197
|
+
command: "get-for-ghost",
|
|
25198
|
+
interactive: "available"
|
|
25199
|
+
},
|
|
25200
|
+
mcp: { entityTool: "working-hours" },
|
|
25201
|
+
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
25202
|
+
execute: (input, { client }) => {
|
|
25203
|
+
const data = input;
|
|
25204
|
+
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
25205
|
+
client.httpClient,
|
|
25206
|
+
client.organizationId,
|
|
25207
|
+
client.workspaceIdNumber,
|
|
25208
|
+
data.ghost_id,
|
|
25209
|
+
void 0
|
|
25210
|
+
]));
|
|
25211
|
+
}
|
|
25212
|
+
},
|
|
25938
25213
|
{
|
|
25939
25214
|
id: "focus.working-hours.get-for-user",
|
|
25940
25215
|
family: "focus",
|
|
@@ -25961,6 +25236,37 @@ const generatedFocusOperations = [
|
|
|
25961
25236
|
]));
|
|
25962
25237
|
}
|
|
25963
25238
|
},
|
|
25239
|
+
{
|
|
25240
|
+
id: "focus.working-hours.update-for-ghost",
|
|
25241
|
+
family: "focus",
|
|
25242
|
+
resource: "working-hours",
|
|
25243
|
+
action: "update-for-ghost",
|
|
25244
|
+
title: "Update For Ghost Working Hours",
|
|
25245
|
+
description: "Update For Ghost Working Hours.",
|
|
25246
|
+
safety: "update",
|
|
25247
|
+
destructive: false,
|
|
25248
|
+
cli: {
|
|
25249
|
+
group: ["working-hours"],
|
|
25250
|
+
command: "update-for-ghost",
|
|
25251
|
+
interactive: "hidden"
|
|
25252
|
+
},
|
|
25253
|
+
mcp: { entityTool: "working-hours" },
|
|
25254
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25255
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
25256
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
25257
|
+
}),
|
|
25258
|
+
execute: (input, { client }) => {
|
|
25259
|
+
const data = input;
|
|
25260
|
+
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
25261
|
+
client.httpClient,
|
|
25262
|
+
client.organizationId,
|
|
25263
|
+
client.workspaceIdNumber,
|
|
25264
|
+
data.ghost_id,
|
|
25265
|
+
data.payload ?? data.data ?? data,
|
|
25266
|
+
void 0
|
|
25267
|
+
]));
|
|
25268
|
+
}
|
|
25269
|
+
},
|
|
25964
25270
|
{
|
|
25965
25271
|
id: "focus.working-hours.update-for-user",
|
|
25966
25272
|
family: "focus",
|
|
@@ -26035,50 +25341,6 @@ const generatedFocusOperations = [
|
|
|
26035
25341
|
void 0
|
|
26036
25342
|
]))
|
|
26037
25343
|
},
|
|
26038
|
-
{
|
|
26039
|
-
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
26040
|
-
family: "focus",
|
|
26041
|
-
resource: "workspace-settings",
|
|
26042
|
-
action: "get-workspace-export-branding",
|
|
26043
|
-
title: "Get Workspace Export Branding Workspace Settings",
|
|
26044
|
-
description: "Get Workspace Export Branding Workspace Settings.",
|
|
26045
|
-
safety: "read",
|
|
26046
|
-
destructive: false,
|
|
26047
|
-
cli: {
|
|
26048
|
-
group: ["workspace-settings"],
|
|
26049
|
-
command: "get-workspace-export-branding",
|
|
26050
|
-
interactive: "hidden"
|
|
26051
|
-
},
|
|
26052
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26053
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26054
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
26055
|
-
client.httpClient,
|
|
26056
|
-
client.workspaceIdNumber,
|
|
26057
|
-
void 0
|
|
26058
|
-
]))
|
|
26059
|
-
},
|
|
26060
|
-
{
|
|
26061
|
-
id: "focus.workspace-settings.get-workspace-watermark",
|
|
26062
|
-
family: "focus",
|
|
26063
|
-
resource: "workspace-settings",
|
|
26064
|
-
action: "get-workspace-watermark",
|
|
26065
|
-
title: "Get Workspace Watermark Workspace Settings",
|
|
26066
|
-
description: "Get Workspace Watermark Workspace Settings.",
|
|
26067
|
-
safety: "read",
|
|
26068
|
-
destructive: false,
|
|
26069
|
-
cli: {
|
|
26070
|
-
group: ["workspace-settings"],
|
|
26071
|
-
command: "get-workspace-watermark",
|
|
26072
|
-
interactive: "hidden"
|
|
26073
|
-
},
|
|
26074
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26075
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26076
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
26077
|
-
client.httpClient,
|
|
26078
|
-
client.workspaceIdNumber,
|
|
26079
|
-
void 0
|
|
26080
|
-
]))
|
|
26081
|
-
},
|
|
26082
25344
|
{
|
|
26083
25345
|
id: "focus.workspace-settings.list",
|
|
26084
25346
|
family: "focus",
|
|
@@ -26153,32 +25415,6 @@ const generatedFocusOperations = [
|
|
|
26153
25415
|
]));
|
|
26154
25416
|
}
|
|
26155
25417
|
},
|
|
26156
|
-
{
|
|
26157
|
-
id: "focus.workspace-settings.update-workspace-watermark",
|
|
26158
|
-
family: "focus",
|
|
26159
|
-
resource: "workspace-settings",
|
|
26160
|
-
action: "update-workspace-watermark",
|
|
26161
|
-
title: "Update Workspace Watermark Workspace Settings",
|
|
26162
|
-
description: "Update Workspace Watermark Workspace Settings.",
|
|
26163
|
-
safety: "update",
|
|
26164
|
-
destructive: false,
|
|
26165
|
-
cli: {
|
|
26166
|
-
group: ["workspace-settings"],
|
|
26167
|
-
command: "update-workspace-watermark",
|
|
26168
|
-
interactive: "default"
|
|
26169
|
-
},
|
|
26170
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26171
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
26172
|
-
execute: (input, { client }) => {
|
|
26173
|
-
const data = input;
|
|
26174
|
-
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
26175
|
-
client.httpClient,
|
|
26176
|
-
client.workspaceIdNumber,
|
|
26177
|
-
data.payload ?? data.data ?? data,
|
|
26178
|
-
void 0
|
|
26179
|
-
]));
|
|
26180
|
-
}
|
|
26181
|
-
},
|
|
26182
25418
|
{
|
|
26183
25419
|
id: "focus.workspace.get-context",
|
|
26184
25420
|
family: "focus",
|
|
@@ -27818,4 +27054,4 @@ Common commands:
|
|
|
27818
27054
|
//#endregion
|
|
27819
27055
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27820
27056
|
|
|
27821
|
-
//# sourceMappingURL=program-
|
|
27057
|
+
//# sourceMappingURL=program-CqcSajOt.js.map
|