@togglhq/mcp 1.11.60 → 1.11.62
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 +2 -2
- package/build/index.js +1 -1
- package/build/{src-DMwsvjQu.js → src-DwIKkKS1.js} +1427 -589
- package/package.json +1 -1
|
@@ -34645,11 +34645,7 @@ function safeParse(schema, input, config$1) {
|
|
|
34645
34645
|
}
|
|
34646
34646
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
34647
34647
|
id: /* @__PURE__ */ number(),
|
|
34648
|
-
type: /* @__PURE__ */ picklist([
|
|
34649
|
-
"user",
|
|
34650
|
-
"ghost",
|
|
34651
|
-
"team"
|
|
34652
|
-
])
|
|
34648
|
+
type: /* @__PURE__ */ picklist(["user", "team"])
|
|
34653
34649
|
});
|
|
34654
34650
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
34655
34651
|
id: /* @__PURE__ */ number(),
|
|
@@ -34691,7 +34687,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34691
34687
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34692
34688
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
34693
34689
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34694
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
34690
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
34691
|
+
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.")))
|
|
34695
34692
|
});
|
|
34696
34693
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
34697
34694
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -34764,7 +34761,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34764
34761
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34765
34762
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34766
34763
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34767
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34764
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
34768
34765
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34769
34766
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34770
34767
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34772,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34772
34769
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34773
34770
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34774
34771
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34775
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34776
34772
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34777
34773
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34778
34774
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34782,6 +34778,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34782
34778
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34783
34779
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34784
34780
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34781
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34785
34782
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34786
34783
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34787
34784
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34825,7 +34822,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34825
34822
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34826
34823
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34827
34824
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34828
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34825
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
34829
34826
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34830
34827
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34831
34828
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34833,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34833
34830
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34834
34831
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34835
34832
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34836
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34837
34833
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34838
34834
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34839
34835
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34844,6 +34840,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34844
34840
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34845
34841
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34846
34842
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34843
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34847
34844
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34848
34845
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34849
34846
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34998,7 +34995,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
|
|
|
34998
34995
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34999
34996
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35000
34997
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35001
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
34998
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
35002
34999
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35003
35000
|
});
|
|
35004
35001
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
@@ -35024,7 +35021,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
35024
35021
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
35025
35022
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35026
35023
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35027
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35024
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
35028
35025
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35029
35026
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35030
35027
|
});
|
|
@@ -35147,7 +35144,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35147
35144
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35148
35145
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35149
35146
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
35150
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35147
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
35151
35148
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35152
35149
|
})),
|
|
35153
35150
|
page: /* @__PURE__ */ number(),
|
|
@@ -35190,7 +35187,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35190
35187
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
35191
35188
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35192
35189
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35193
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35190
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
35194
35191
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35195
35192
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35196
35193
|
})),
|
|
@@ -35202,9 +35199,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
35202
35199
|
id: /* @__PURE__ */ number(),
|
|
35203
35200
|
name: /* @__PURE__ */ string(),
|
|
35204
35201
|
workspace_id: /* @__PURE__ */ number(),
|
|
35202
|
+
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."))),
|
|
35205
35203
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35206
35204
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35207
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35205
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35206
|
+
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
35207
|
+
projects: /* @__PURE__ */ number(),
|
|
35208
|
+
tasks: /* @__PURE__ */ number(),
|
|
35209
|
+
time_entries: /* @__PURE__ */ number()
|
|
35210
|
+
})), /* @__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.")))
|
|
35208
35211
|
});
|
|
35209
35212
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
35210
35213
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -35215,8 +35218,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
35215
35218
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
35216
35219
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
35217
35220
|
account_locked_at: /* @__PURE__ */ string(),
|
|
35221
|
+
accounts_role_id: /* @__PURE__ */ number(),
|
|
35218
35222
|
active: /* @__PURE__ */ boolean(),
|
|
35219
|
-
admin: /* @__PURE__ */ boolean(),
|
|
35220
35223
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
35221
35224
|
created_at: /* @__PURE__ */ string(),
|
|
35222
35225
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -35265,7 +35268,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
35265
35268
|
track_role_id: /* @__PURE__ */ number(),
|
|
35266
35269
|
work_role_id: /* @__PURE__ */ number(),
|
|
35267
35270
|
workspace_user_id: /* @__PURE__ */ number()
|
|
35268
|
-
}))
|
|
35271
|
+
})),
|
|
35272
|
+
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
35273
|
+
has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
|
|
35269
35274
|
});
|
|
35270
35275
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35271
35276
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -35342,8 +35347,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35342
35347
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35343
35348
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35344
35349
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35345
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35346
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35350
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35347
35351
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35348
35352
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35349
35353
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -35359,6 +35363,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35359
35363
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35360
35364
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35361
35365
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35366
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35362
35367
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35363
35368
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35364
35369
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35368,22 +35373,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35368
35373
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35369
35374
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
35370
35375
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
35371
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
35376
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
|
|
35377
|
+
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.")))
|
|
35372
35378
|
});
|
|
35373
35379
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35374
35380
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35375
35381
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
35382
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35376
35383
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35377
35384
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35378
35385
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35379
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35386
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35380
35387
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35381
35388
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35382
35389
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35383
35390
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35384
35391
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35385
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35386
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35392
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
35387
35393
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35388
35394
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35389
35395
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35400,6 +35406,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35400
35406
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35401
35407
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35402
35408
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35409
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35403
35410
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35404
35411
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35405
35412
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35408,17 +35415,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35408
35415
|
});
|
|
35409
35416
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
35410
35417
|
id: /* @__PURE__ */ number(),
|
|
35418
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35411
35419
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35412
35420
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35413
35421
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35414
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35422
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35415
35423
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35416
35424
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35417
35425
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35418
35426
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35419
35427
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35420
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35421
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35428
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
35422
35429
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35423
35430
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35424
35431
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35435,6 +35442,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35435
35442
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35436
35443
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35437
35444
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35445
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35438
35446
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35439
35447
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35440
35448
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37380,7 +37388,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37380
37388
|
})
|
|
37381
37389
|
}).json();
|
|
37382
37390
|
}
|
|
37383
|
-
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) {
|
|
37391
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
37384
37392
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37385
37393
|
signal,
|
|
37386
37394
|
searchParams: buildSearchParams$2({
|
|
@@ -37400,7 +37408,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37400
37408
|
include_working_hours,
|
|
37401
37409
|
include_rates,
|
|
37402
37410
|
pinned_ids,
|
|
37403
|
-
has_group
|
|
37411
|
+
has_group,
|
|
37412
|
+
cf_filter,
|
|
37413
|
+
include_custom_fields,
|
|
37414
|
+
include_calendar_integration
|
|
37404
37415
|
}, true)
|
|
37405
37416
|
});
|
|
37406
37417
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -37419,7 +37430,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
37419
37430
|
}
|
|
37420
37431
|
//#endregion
|
|
37421
37432
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
37422
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
37433
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
|
|
37423
37434
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
37424
37435
|
signal,
|
|
37425
37436
|
searchParams: buildSearchParams$2({
|
|
@@ -37427,7 +37438,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
37427
37438
|
page,
|
|
37428
37439
|
per_page,
|
|
37429
37440
|
order_by,
|
|
37430
|
-
tag_id
|
|
37441
|
+
tag_id,
|
|
37442
|
+
include_usage,
|
|
37443
|
+
include_archived,
|
|
37444
|
+
archived
|
|
37431
37445
|
})
|
|
37432
37446
|
}).json();
|
|
37433
37447
|
}
|
|
@@ -37437,6 +37451,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
37437
37451
|
json: data
|
|
37438
37452
|
}).json();
|
|
37439
37453
|
}
|
|
37454
|
+
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
37455
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37456
|
+
signal,
|
|
37457
|
+
json: data
|
|
37458
|
+
}).json();
|
|
37459
|
+
}
|
|
37460
|
+
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
37461
|
+
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37462
|
+
signal,
|
|
37463
|
+
searchParams: buildSearchParams$2({ ids })
|
|
37464
|
+
}).json();
|
|
37465
|
+
}
|
|
37466
|
+
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
37467
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
37468
|
+
signal,
|
|
37469
|
+
json: data
|
|
37470
|
+
}).json();
|
|
37471
|
+
}
|
|
37472
|
+
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
37473
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
37474
|
+
signal,
|
|
37475
|
+
json: data
|
|
37476
|
+
}).json();
|
|
37477
|
+
}
|
|
37478
|
+
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
37479
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
37480
|
+
signal,
|
|
37481
|
+
json: data
|
|
37482
|
+
}).json();
|
|
37483
|
+
}
|
|
37484
|
+
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
37485
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
37486
|
+
signal,
|
|
37487
|
+
json: data
|
|
37488
|
+
}).json();
|
|
37489
|
+
}
|
|
37440
37490
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
37441
37491
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37442
37492
|
}
|
|
@@ -37449,12 +37499,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
37449
37499
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
37450
37500
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37451
37501
|
}
|
|
37502
|
+
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37503
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
37504
|
+
}
|
|
37452
37505
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
37453
37506
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
37454
37507
|
}
|
|
37508
|
+
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37509
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
37510
|
+
}
|
|
37455
37511
|
//#endregion
|
|
37456
37512
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37457
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37513
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37458
37514
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37459
37515
|
signal,
|
|
37460
37516
|
searchParams: buildSearchParams$2({
|
|
@@ -37476,6 +37532,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
37476
37532
|
include_rates,
|
|
37477
37533
|
include_rollover,
|
|
37478
37534
|
include_idle_recurring_templates,
|
|
37535
|
+
collapse_recurring,
|
|
37479
37536
|
include_drafts,
|
|
37480
37537
|
include_locked_private,
|
|
37481
37538
|
start_date,
|
|
@@ -37706,7 +37763,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37706
37763
|
}
|
|
37707
37764
|
//#endregion
|
|
37708
37765
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37709
|
-
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,
|
|
37766
|
+
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) {
|
|
37710
37767
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37711
37768
|
signal,
|
|
37712
37769
|
searchParams: buildSearchParams$2({
|
|
@@ -37754,10 +37811,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37754
37811
|
recurring_task_ids,
|
|
37755
37812
|
client_id,
|
|
37756
37813
|
include_rates,
|
|
37757
|
-
include_ghost_assignees,
|
|
37758
37814
|
include_assignees,
|
|
37759
37815
|
include_parent_matches,
|
|
37760
|
-
assignee_ghost_id,
|
|
37761
37816
|
disable_aggregations,
|
|
37762
37817
|
cf_filter
|
|
37763
37818
|
})
|
|
@@ -37843,7 +37898,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
37843
37898
|
})
|
|
37844
37899
|
}).json();
|
|
37845
37900
|
}
|
|
37846
|
-
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,
|
|
37901
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
37847
37902
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37848
37903
|
signal,
|
|
37849
37904
|
searchParams: buildSearchParams$2({
|
|
@@ -37856,14 +37911,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37856
37911
|
dates_overlap_end,
|
|
37857
37912
|
recurring_task_ids,
|
|
37858
37913
|
team_id,
|
|
37914
|
+
assignee_team_id,
|
|
37859
37915
|
assignee_user_id,
|
|
37860
37916
|
tag_id,
|
|
37861
|
-
include_ghost_assignees,
|
|
37862
37917
|
include_assignees
|
|
37863
37918
|
})
|
|
37864
37919
|
}).json();
|
|
37865
37920
|
}
|
|
37866
|
-
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,
|
|
37921
|
+
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) {
|
|
37867
37922
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37868
37923
|
signal,
|
|
37869
37924
|
searchParams: buildSearchParams$2({
|
|
@@ -37907,20 +37962,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37907
37962
|
recurring,
|
|
37908
37963
|
recurring_task_ids,
|
|
37909
37964
|
client_id,
|
|
37910
|
-
include_ghost_assignees,
|
|
37911
37965
|
include_assignees,
|
|
37912
|
-
assignee_ghost_id,
|
|
37913
37966
|
cf_filter
|
|
37914
37967
|
})
|
|
37915
37968
|
}).json();
|
|
37916
37969
|
}
|
|
37917
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, {
|
|
37970
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
37918
37971
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
37919
37972
|
signal,
|
|
37920
|
-
searchParams: buildSearchParams$2({
|
|
37921
|
-
include_ghost_assignees,
|
|
37922
|
-
include_assignees
|
|
37923
|
-
})
|
|
37973
|
+
searchParams: buildSearchParams$2({ include_assignees })
|
|
37924
37974
|
}).json();
|
|
37925
37975
|
}
|
|
37926
37976
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -37951,7 +38001,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
37951
38001
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
37952
38002
|
}).json();
|
|
37953
38003
|
}
|
|
37954
|
-
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,
|
|
38004
|
+
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) {
|
|
37955
38005
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
37956
38006
|
signal,
|
|
37957
38007
|
searchParams: buildSearchParams$2({
|
|
@@ -37964,12 +38014,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37964
38014
|
team_id,
|
|
37965
38015
|
assignee_user_id,
|
|
37966
38016
|
tag_id,
|
|
37967
|
-
include_ghost_assignees,
|
|
37968
38017
|
include_assignees
|
|
37969
38018
|
})
|
|
37970
38019
|
}).json();
|
|
37971
38020
|
}
|
|
37972
|
-
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,
|
|
38021
|
+
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) {
|
|
37973
38022
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37974
38023
|
signal,
|
|
37975
38024
|
searchParams: buildSearchParams$2({
|
|
@@ -37982,7 +38031,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
37982
38031
|
team_id,
|
|
37983
38032
|
assignee_user_id,
|
|
37984
38033
|
tag_id,
|
|
37985
|
-
include_ghost_assignees,
|
|
37986
38034
|
include_assignees
|
|
37987
38035
|
})
|
|
37988
38036
|
}).json();
|
|
@@ -38182,6 +38230,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38182
38230
|
})
|
|
38183
38231
|
}).json();
|
|
38184
38232
|
}
|
|
38233
|
+
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
38234
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
38235
|
+
signal,
|
|
38236
|
+
json: data
|
|
38237
|
+
}).json();
|
|
38238
|
+
}
|
|
38185
38239
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38186
38240
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38187
38241
|
signal,
|
|
@@ -38318,7 +38372,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38318
38372
|
]))
|
|
38319
38373
|
});
|
|
38320
38374
|
//#endregion
|
|
38321
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38375
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38322
38376
|
async function getInvitations(httpClient, signal) {
|
|
38323
38377
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38324
38378
|
}
|
|
@@ -38335,7 +38389,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38335
38389
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38336
38390
|
}
|
|
38337
38391
|
//#endregion
|
|
38338
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38392
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38339
38393
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38340
38394
|
const searchParams = new URLSearchParams();
|
|
38341
38395
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38347,7 +38401,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38347
38401
|
return searchParams;
|
|
38348
38402
|
}
|
|
38349
38403
|
//#endregion
|
|
38350
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38404
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38351
38405
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38352
38406
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38353
38407
|
}
|
|
@@ -38361,7 +38415,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38361
38415
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38362
38416
|
}
|
|
38363
38417
|
//#endregion
|
|
38364
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38418
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38365
38419
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38366
38420
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38367
38421
|
}
|
|
@@ -38381,7 +38435,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38381
38435
|
});
|
|
38382
38436
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38383
38437
|
//#endregion
|
|
38384
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38438
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38385
38439
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38386
38440
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38387
38441
|
signal,
|
|
@@ -38392,12 +38446,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38392
38446
|
})).json();
|
|
38393
38447
|
}
|
|
38394
38448
|
//#endregion
|
|
38395
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38449
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38396
38450
|
async function getStatus(httpClient, signal) {
|
|
38397
38451
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38398
38452
|
}
|
|
38399
38453
|
//#endregion
|
|
38400
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38454
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38401
38455
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38402
38456
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38403
38457
|
signal,
|
|
@@ -38425,7 +38479,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38425
38479
|
return response.json();
|
|
38426
38480
|
}
|
|
38427
38481
|
//#endregion
|
|
38428
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38482
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38429
38483
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38430
38484
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38431
38485
|
}
|
|
@@ -42100,6 +42154,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
42100
42154
|
}
|
|
42101
42155
|
//#endregion
|
|
42102
42156
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
42157
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42158
|
+
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
42159
|
+
signal,
|
|
42160
|
+
searchParams: buildSearchParams$2({
|
|
42161
|
+
workspace_id,
|
|
42162
|
+
entity_type,
|
|
42163
|
+
entity_id,
|
|
42164
|
+
action,
|
|
42165
|
+
user_id,
|
|
42166
|
+
page_size,
|
|
42167
|
+
page_number,
|
|
42168
|
+
export: export_
|
|
42169
|
+
})
|
|
42170
|
+
}).json();
|
|
42171
|
+
}
|
|
42103
42172
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42104
42173
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42105
42174
|
signal,
|
|
@@ -42258,33 +42327,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42258
42327
|
}
|
|
42259
42328
|
//#endregion
|
|
42260
42329
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42261
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date,
|
|
42330
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
42262
42331
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42263
42332
|
signal,
|
|
42264
42333
|
searchParams: buildSearchParams$2({
|
|
42265
42334
|
user_id,
|
|
42266
42335
|
start_date,
|
|
42267
42336
|
end_date,
|
|
42268
|
-
ghost_id,
|
|
42269
42337
|
private: private_,
|
|
42270
42338
|
task_source,
|
|
42271
42339
|
unit,
|
|
42272
|
-
include_drafts
|
|
42340
|
+
include_drafts,
|
|
42341
|
+
include_task_estimates
|
|
42273
42342
|
})
|
|
42274
42343
|
}).json();
|
|
42275
42344
|
}
|
|
42276
42345
|
//#endregion
|
|
42277
|
-
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
42278
|
-
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
42279
|
-
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
42280
|
-
}
|
|
42281
|
-
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
42282
|
-
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
42283
|
-
signal,
|
|
42284
|
-
json: data
|
|
42285
|
-
}).json();
|
|
42286
|
-
}
|
|
42287
|
-
//#endregion
|
|
42288
42346
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
42289
42347
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
42290
42348
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -42367,6 +42425,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
42367
42425
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
42368
42426
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
42369
42427
|
}
|
|
42428
|
+
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
42429
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
42430
|
+
signal,
|
|
42431
|
+
json: data
|
|
42432
|
+
}).json();
|
|
42433
|
+
}
|
|
42370
42434
|
//#endregion
|
|
42371
42435
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42372
42436
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -42592,7 +42656,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42592
42656
|
}
|
|
42593
42657
|
//#endregion
|
|
42594
42658
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42595
|
-
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) {
|
|
42659
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
42596
42660
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42597
42661
|
signal,
|
|
42598
42662
|
searchParams: buildSearchParams$2({
|
|
@@ -42604,6 +42668,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42604
42668
|
include_group_totals,
|
|
42605
42669
|
include_unassigned,
|
|
42606
42670
|
archived,
|
|
42671
|
+
completed,
|
|
42607
42672
|
private: private_,
|
|
42608
42673
|
name,
|
|
42609
42674
|
client_id,
|
|
@@ -42615,6 +42680,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42615
42680
|
start_date,
|
|
42616
42681
|
end_date,
|
|
42617
42682
|
user_id,
|
|
42683
|
+
only_me,
|
|
42618
42684
|
include_drafts,
|
|
42619
42685
|
cf_filter
|
|
42620
42686
|
})
|
|
@@ -42730,10 +42796,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
42730
42796
|
}
|
|
42731
42797
|
//#endregion
|
|
42732
42798
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
42733
|
-
async function
|
|
42799
|
+
async function getForecastAvailability(httpClient, workspace_id, signal) {
|
|
42800
|
+
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
42801
|
+
}
|
|
42802
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
42734
42803
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
42735
42804
|
signal,
|
|
42736
42805
|
json: data,
|
|
42806
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
42737
42807
|
searchParams: buildSearchParams$2({
|
|
42738
42808
|
response_format,
|
|
42739
42809
|
include_dicts
|
|
@@ -42757,12 +42827,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
42757
42827
|
json: data
|
|
42758
42828
|
}).json();
|
|
42759
42829
|
}
|
|
42760
|
-
async function
|
|
42830
|
+
async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
|
|
42831
|
+
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
42832
|
+
signal,
|
|
42833
|
+
json: data
|
|
42834
|
+
}).json();
|
|
42835
|
+
}
|
|
42836
|
+
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
42761
42837
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
42838
|
+
signal,
|
|
42839
|
+
json: data,
|
|
42840
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
42841
|
+
}).json();
|
|
42842
|
+
}
|
|
42843
|
+
//#endregion
|
|
42844
|
+
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
42845
|
+
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42846
|
+
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
42847
|
+
signal,
|
|
42848
|
+
json: data
|
|
42849
|
+
}).json();
|
|
42850
|
+
}
|
|
42851
|
+
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42852
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
42762
42853
|
signal,
|
|
42763
42854
|
json: data
|
|
42764
42855
|
}).json();
|
|
42765
42856
|
}
|
|
42857
|
+
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
42858
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
42859
|
+
}
|
|
42766
42860
|
//#endregion
|
|
42767
42861
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
42768
42862
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -42795,7 +42889,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42795
42889
|
}
|
|
42796
42890
|
//#endregion
|
|
42797
42891
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42798
|
-
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) {
|
|
42892
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
42799
42893
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42800
42894
|
signal,
|
|
42801
42895
|
searchParams: buildSearchParams$2({
|
|
@@ -42807,11 +42901,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42807
42901
|
task_id,
|
|
42808
42902
|
include_drafts,
|
|
42809
42903
|
exclude_calendar_events,
|
|
42810
|
-
group_by_tags
|
|
42904
|
+
group_by_tags,
|
|
42905
|
+
only_me
|
|
42906
|
+
})
|
|
42907
|
+
}).json();
|
|
42908
|
+
}
|
|
42909
|
+
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
42910
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
42911
|
+
signal,
|
|
42912
|
+
searchParams: buildSearchParams$2({
|
|
42913
|
+
keyword,
|
|
42914
|
+
per_group
|
|
42811
42915
|
})
|
|
42812
42916
|
}).json();
|
|
42813
42917
|
}
|
|
42814
42918
|
//#endregion
|
|
42919
|
+
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
42920
|
+
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
42921
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
42922
|
+
signal,
|
|
42923
|
+
json: data
|
|
42924
|
+
}).json();
|
|
42925
|
+
}
|
|
42926
|
+
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
42927
|
+
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
42928
|
+
}
|
|
42929
|
+
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
42930
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
42931
|
+
signal,
|
|
42932
|
+
json: data
|
|
42933
|
+
}).json();
|
|
42934
|
+
}
|
|
42935
|
+
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
42936
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
42937
|
+
}
|
|
42938
|
+
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
42939
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
42940
|
+
}
|
|
42941
|
+
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42942
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42943
|
+
}
|
|
42944
|
+
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42945
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42946
|
+
signal,
|
|
42947
|
+
json: data
|
|
42948
|
+
}).json();
|
|
42949
|
+
}
|
|
42950
|
+
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42951
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42952
|
+
}
|
|
42953
|
+
//#endregion
|
|
42815
42954
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42816
42955
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
42817
42956
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -42867,7 +43006,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42867
43006
|
}
|
|
42868
43007
|
//#endregion
|
|
42869
43008
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42870
|
-
async function
|
|
43009
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
|
|
43010
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
43011
|
+
signal,
|
|
43012
|
+
searchParams: buildSearchParams$2({
|
|
43013
|
+
project_id,
|
|
43014
|
+
source,
|
|
43015
|
+
priority,
|
|
43016
|
+
status_id,
|
|
43017
|
+
client_id,
|
|
43018
|
+
assignee_user_id,
|
|
43019
|
+
tag_id,
|
|
43020
|
+
team_id,
|
|
43021
|
+
user_tag_id,
|
|
43022
|
+
group_id,
|
|
43023
|
+
creator_id,
|
|
43024
|
+
name,
|
|
43025
|
+
start_date,
|
|
43026
|
+
end_date,
|
|
43027
|
+
start_date_from,
|
|
43028
|
+
start_date_to,
|
|
43029
|
+
end_date_from,
|
|
43030
|
+
end_date_to,
|
|
43031
|
+
private: private_,
|
|
43032
|
+
exclude_empty,
|
|
43033
|
+
include_unassigned,
|
|
43034
|
+
include_unmaterialized,
|
|
43035
|
+
collapse_recurring,
|
|
43036
|
+
include_assignees,
|
|
43037
|
+
min_days,
|
|
43038
|
+
include_drafts,
|
|
43039
|
+
cf_filter,
|
|
43040
|
+
user_cf_filter
|
|
43041
|
+
})
|
|
43042
|
+
}).json();
|
|
43043
|
+
}
|
|
43044
|
+
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) {
|
|
43045
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
43046
|
+
signal,
|
|
43047
|
+
searchParams: buildSearchParams$2({
|
|
43048
|
+
team_id,
|
|
43049
|
+
project_id,
|
|
43050
|
+
source,
|
|
43051
|
+
priority,
|
|
43052
|
+
status_id,
|
|
43053
|
+
client_id,
|
|
43054
|
+
assignee_user_id,
|
|
43055
|
+
tag_id,
|
|
43056
|
+
user_tag_id,
|
|
43057
|
+
group_id,
|
|
43058
|
+
creator_id,
|
|
43059
|
+
name,
|
|
43060
|
+
start_date,
|
|
43061
|
+
end_date,
|
|
43062
|
+
start_date_from,
|
|
43063
|
+
start_date_to,
|
|
43064
|
+
end_date_from,
|
|
43065
|
+
end_date_to,
|
|
43066
|
+
private: private_,
|
|
43067
|
+
exclude_empty,
|
|
43068
|
+
include_unassigned,
|
|
43069
|
+
include_unmaterialized,
|
|
43070
|
+
collapse_recurring,
|
|
43071
|
+
include_assignees,
|
|
43072
|
+
min_days,
|
|
43073
|
+
include_drafts,
|
|
43074
|
+
cf_filter,
|
|
43075
|
+
user_cf_filter
|
|
43076
|
+
})
|
|
43077
|
+
}).json();
|
|
43078
|
+
}
|
|
43079
|
+
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) {
|
|
42871
43080
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42872
43081
|
signal,
|
|
42873
43082
|
searchParams: buildSearchParams$2({
|
|
@@ -42891,11 +43100,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42891
43100
|
end_date_to,
|
|
42892
43101
|
private: private_,
|
|
42893
43102
|
exclude_empty,
|
|
42894
|
-
|
|
43103
|
+
include_unassigned,
|
|
43104
|
+
include_unmaterialized,
|
|
43105
|
+
collapse_recurring,
|
|
42895
43106
|
include_assignees,
|
|
42896
43107
|
min_days,
|
|
42897
43108
|
include_drafts,
|
|
42898
43109
|
cf_filter,
|
|
43110
|
+
user_cf_filter,
|
|
42899
43111
|
page,
|
|
42900
43112
|
per_page,
|
|
42901
43113
|
order_by
|
|
@@ -42934,17 +43146,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
42934
43146
|
}).json();
|
|
42935
43147
|
}
|
|
42936
43148
|
//#endregion
|
|
42937
|
-
//#region ../focus-queries/dist/time-
|
|
42938
|
-
async function
|
|
42939
|
-
return await httpClient.
|
|
43149
|
+
//#region ../focus-queries/dist/time-entry-groups/requests.ts
|
|
43150
|
+
async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
|
|
43151
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
|
|
42940
43152
|
signal,
|
|
42941
|
-
|
|
42942
|
-
|
|
42943
|
-
|
|
42944
|
-
|
|
42945
|
-
|
|
42946
|
-
|
|
42947
|
-
|
|
43153
|
+
searchParams: buildSearchParams$2({
|
|
43154
|
+
start_date,
|
|
43155
|
+
end_date,
|
|
43156
|
+
user_id,
|
|
43157
|
+
page,
|
|
43158
|
+
per_page,
|
|
43159
|
+
order_by
|
|
43160
|
+
})
|
|
42948
43161
|
}).json();
|
|
42949
43162
|
}
|
|
42950
43163
|
//#endregion
|
|
@@ -42986,43 +43199,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
42986
43199
|
json: data
|
|
42987
43200
|
}).json();
|
|
42988
43201
|
}
|
|
42989
|
-
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
42990
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
42991
|
-
signal,
|
|
42992
|
-
searchParams: buildSearchParams$2({
|
|
42993
|
-
ghost_ids,
|
|
42994
|
-
start_date,
|
|
42995
|
-
end_date
|
|
42996
|
-
})
|
|
42997
|
-
}).json();
|
|
42998
|
-
}
|
|
42999
|
-
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
43000
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
43001
|
-
signal,
|
|
43002
|
-
searchParams: buildSearchParams$2({
|
|
43003
|
-
from,
|
|
43004
|
-
to
|
|
43005
|
-
})
|
|
43006
|
-
}).json();
|
|
43007
|
-
}
|
|
43008
|
-
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43009
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
43010
|
-
signal,
|
|
43011
|
-
json: data
|
|
43012
|
-
}).json();
|
|
43013
|
-
}
|
|
43014
|
-
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43015
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
43016
|
-
signal,
|
|
43017
|
-
json: data
|
|
43018
|
-
}).json();
|
|
43019
|
-
}
|
|
43020
|
-
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43021
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
43022
|
-
signal,
|
|
43023
|
-
json: data
|
|
43024
|
-
}).json();
|
|
43025
|
-
}
|
|
43026
43202
|
//#endregion
|
|
43027
43203
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43028
43204
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43215,27 +43391,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
43215
43391
|
json: data
|
|
43216
43392
|
}).json();
|
|
43217
43393
|
}
|
|
43218
|
-
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
43219
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
43220
|
-
}
|
|
43221
|
-
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43222
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43223
|
-
signal,
|
|
43224
|
-
json: data
|
|
43225
|
-
}).json();
|
|
43226
|
-
}
|
|
43227
|
-
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43228
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43229
|
-
signal,
|
|
43230
|
-
json: data
|
|
43231
|
-
}).json();
|
|
43232
|
-
}
|
|
43233
|
-
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43234
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43235
|
-
signal,
|
|
43236
|
-
json: data
|
|
43237
|
-
}).json();
|
|
43238
|
-
}
|
|
43239
43394
|
//#endregion
|
|
43240
43395
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
43241
43396
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -43252,6 +43407,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
43252
43407
|
json: data
|
|
43253
43408
|
}).json();
|
|
43254
43409
|
}
|
|
43410
|
+
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
43411
|
+
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
43412
|
+
}
|
|
43255
43413
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
43256
43414
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
43257
43415
|
}
|
|
@@ -43264,6 +43422,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
43264
43422
|
json: data
|
|
43265
43423
|
}).json();
|
|
43266
43424
|
}
|
|
43425
|
+
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
43426
|
+
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
43427
|
+
}
|
|
43428
|
+
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
43429
|
+
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
43430
|
+
signal,
|
|
43431
|
+
json: data
|
|
43432
|
+
}).json();
|
|
43433
|
+
}
|
|
43267
43434
|
//#endregion
|
|
43268
43435
|
//#region ../operations/build/index.public.js
|
|
43269
43436
|
function callGeneratedRequest(request, args) {
|
|
@@ -43399,17 +43566,17 @@ const generatedFocusOperations = [
|
|
|
43399
43566
|
]))
|
|
43400
43567
|
},
|
|
43401
43568
|
{
|
|
43402
|
-
id: "focus.audit-log.
|
|
43569
|
+
id: "focus.audit-log.get-organization",
|
|
43403
43570
|
family: "focus",
|
|
43404
43571
|
resource: "audit-log",
|
|
43405
|
-
action: "
|
|
43406
|
-
title: "
|
|
43407
|
-
description: "
|
|
43572
|
+
action: "get-organization",
|
|
43573
|
+
title: "Get Organization Audit Log",
|
|
43574
|
+
description: "Get Organization Audit Log.",
|
|
43408
43575
|
safety: "read",
|
|
43409
43576
|
destructive: false,
|
|
43410
43577
|
cli: {
|
|
43411
43578
|
group: ["audit-log"],
|
|
43412
|
-
command: "
|
|
43579
|
+
command: "get-organization",
|
|
43413
43580
|
interactive: "hidden"
|
|
43414
43581
|
},
|
|
43415
43582
|
mcp: { entityTool: "audit-log" },
|
|
@@ -43423,14 +43590,14 @@ const generatedFocusOperations = [
|
|
|
43423
43590
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43424
43591
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43425
43592
|
to: /* @__PURE__ */ string$1(),
|
|
43426
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43593
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43594
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43427
43595
|
}),
|
|
43428
43596
|
execute: (input, { client }) => {
|
|
43429
43597
|
const data = input;
|
|
43430
|
-
return client.runGeneratedRequest("
|
|
43598
|
+
return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
|
|
43431
43599
|
client.httpClient,
|
|
43432
43600
|
client.organizationId,
|
|
43433
|
-
client.workspaceIdNumber,
|
|
43434
43601
|
data.from,
|
|
43435
43602
|
data.to,
|
|
43436
43603
|
data,
|
|
@@ -43439,87 +43606,79 @@ const generatedFocusOperations = [
|
|
|
43439
43606
|
}
|
|
43440
43607
|
},
|
|
43441
43608
|
{
|
|
43442
|
-
id: "focus.
|
|
43609
|
+
id: "focus.audit-log.list",
|
|
43443
43610
|
family: "focus",
|
|
43444
|
-
resource: "
|
|
43445
|
-
action: "
|
|
43446
|
-
title: "
|
|
43447
|
-
description: "
|
|
43611
|
+
resource: "audit-log",
|
|
43612
|
+
action: "list",
|
|
43613
|
+
title: "List Audit Log",
|
|
43614
|
+
description: "List Audit Log.",
|
|
43448
43615
|
safety: "read",
|
|
43449
43616
|
destructive: false,
|
|
43450
43617
|
cli: {
|
|
43451
|
-
group: ["
|
|
43452
|
-
command: "
|
|
43618
|
+
group: ["audit-log"],
|
|
43619
|
+
command: "list",
|
|
43453
43620
|
interactive: "hidden"
|
|
43454
43621
|
},
|
|
43455
|
-
mcp: { entityTool: "
|
|
43622
|
+
mcp: { entityTool: "audit-log" },
|
|
43456
43623
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43457
|
-
|
|
43458
|
-
|
|
43459
|
-
|
|
43460
|
-
|
|
43461
|
-
|
|
43462
|
-
|
|
43463
|
-
|
|
43464
|
-
|
|
43465
|
-
|
|
43624
|
+
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43625
|
+
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43626
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43627
|
+
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43628
|
+
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43629
|
+
from: /* @__PURE__ */ string$1(),
|
|
43630
|
+
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43631
|
+
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43632
|
+
to: /* @__PURE__ */ string$1(),
|
|
43633
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43466
43634
|
}),
|
|
43467
43635
|
execute: (input, { client }) => {
|
|
43468
43636
|
const data = input;
|
|
43469
|
-
return client.runGeneratedRequest("
|
|
43637
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
43470
43638
|
client.httpClient,
|
|
43471
43639
|
client.organizationId,
|
|
43472
43640
|
client.workspaceIdNumber,
|
|
43473
|
-
data.
|
|
43641
|
+
data.from,
|
|
43642
|
+
data.to,
|
|
43474
43643
|
data,
|
|
43475
43644
|
void 0
|
|
43476
43645
|
]));
|
|
43477
43646
|
}
|
|
43478
43647
|
},
|
|
43479
43648
|
{
|
|
43480
|
-
id: "focus.capacities.
|
|
43649
|
+
id: "focus.capacities.get-computations",
|
|
43481
43650
|
family: "focus",
|
|
43482
43651
|
resource: "capacities",
|
|
43483
|
-
action: "
|
|
43484
|
-
title: "
|
|
43485
|
-
description: "
|
|
43652
|
+
action: "get-computations",
|
|
43653
|
+
title: "Get Computations Capacities",
|
|
43654
|
+
description: "Get Computations Capacities.",
|
|
43486
43655
|
safety: "read",
|
|
43487
43656
|
destructive: false,
|
|
43488
43657
|
cli: {
|
|
43489
|
-
group: ["capacities"
|
|
43490
|
-
command: "
|
|
43658
|
+
group: ["capacities"],
|
|
43659
|
+
command: "get-computations",
|
|
43491
43660
|
interactive: "hidden"
|
|
43492
43661
|
},
|
|
43493
43662
|
mcp: { entityTool: "capacities" },
|
|
43494
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43495
|
-
|
|
43496
|
-
|
|
43497
|
-
|
|
43498
|
-
|
|
43499
|
-
|
|
43500
|
-
|
|
43501
|
-
|
|
43502
|
-
|
|
43503
|
-
|
|
43504
|
-
|
|
43505
|
-
action: "settings-update",
|
|
43506
|
-
title: "Settings Update Capacities",
|
|
43507
|
-
description: "Settings Update Capacities.",
|
|
43508
|
-
safety: "update",
|
|
43509
|
-
destructive: false,
|
|
43510
|
-
cli: {
|
|
43511
|
-
group: ["capacities", "settings"],
|
|
43512
|
-
command: "update",
|
|
43513
|
-
interactive: "default"
|
|
43514
|
-
},
|
|
43515
|
-
mcp: { entityTool: "capacities" },
|
|
43516
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
43663
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
43664
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43665
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
43666
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
43667
|
+
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
43668
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
43669
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43670
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
43671
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
43672
|
+
user_id: /* @__PURE__ */ number$2()
|
|
43673
|
+
}),
|
|
43517
43674
|
execute: (input, { client }) => {
|
|
43518
43675
|
const data = input;
|
|
43519
|
-
return client.runGeneratedRequest("
|
|
43676
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
43520
43677
|
client.httpClient,
|
|
43678
|
+
client.organizationId,
|
|
43521
43679
|
client.workspaceIdNumber,
|
|
43522
|
-
data.
|
|
43680
|
+
data.group,
|
|
43681
|
+
data,
|
|
43523
43682
|
void 0
|
|
43524
43683
|
]));
|
|
43525
43684
|
}
|
|
@@ -43718,8 +43877,7 @@ const generatedFocusOperations = [
|
|
|
43718
43877
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
43719
43878
|
start_at: apiDateTimeString,
|
|
43720
43879
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43721
|
-
})))
|
|
43722
|
-
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
43880
|
+
})))
|
|
43723
43881
|
}) }),
|
|
43724
43882
|
execute: (input, { client }) => {
|
|
43725
43883
|
const data = input;
|
|
@@ -43774,6 +43932,7 @@ const generatedFocusOperations = [
|
|
|
43774
43932
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43775
43933
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43776
43934
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43935
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43777
43936
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43778
43937
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43779
43938
|
}),
|
|
@@ -43806,6 +43965,7 @@ const generatedFocusOperations = [
|
|
|
43806
43965
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43807
43966
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43808
43967
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43968
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43809
43969
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43810
43970
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43811
43971
|
}))),
|
|
@@ -43861,7 +44021,11 @@ const generatedFocusOperations = [
|
|
|
43861
44021
|
},
|
|
43862
44022
|
mcp: { entityTool: "custom-fields" },
|
|
43863
44023
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
43864
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44024
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
44025
|
+
"project",
|
|
44026
|
+
"task",
|
|
44027
|
+
"user"
|
|
44028
|
+
]),
|
|
43865
44029
|
field_type: /* @__PURE__ */ picklist$1([
|
|
43866
44030
|
"select",
|
|
43867
44031
|
"multi_select",
|
|
@@ -44194,7 +44358,11 @@ const generatedFocusOperations = [
|
|
|
44194
44358
|
},
|
|
44195
44359
|
mcp: { entityTool: "custom-fields" },
|
|
44196
44360
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44197
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44361
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
44362
|
+
"project",
|
|
44363
|
+
"task",
|
|
44364
|
+
"user"
|
|
44365
|
+
]),
|
|
44198
44366
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
44199
44367
|
}) }),
|
|
44200
44368
|
execute: (input, { client }) => {
|
|
@@ -44208,6 +44376,37 @@ const generatedFocusOperations = [
|
|
|
44208
44376
|
]));
|
|
44209
44377
|
}
|
|
44210
44378
|
},
|
|
44379
|
+
{
|
|
44380
|
+
id: "focus.custom-fields.update-user-custom-field-values",
|
|
44381
|
+
family: "focus",
|
|
44382
|
+
resource: "custom-fields",
|
|
44383
|
+
action: "update-user-custom-field-values",
|
|
44384
|
+
title: "Update User Custom Field Values Custom Fields",
|
|
44385
|
+
description: "Update User Custom Field Values Custom Fields.",
|
|
44386
|
+
safety: "update",
|
|
44387
|
+
destructive: false,
|
|
44388
|
+
cli: {
|
|
44389
|
+
group: ["custom-fields"],
|
|
44390
|
+
command: "update-user-custom-field-values",
|
|
44391
|
+
interactive: "hidden"
|
|
44392
|
+
},
|
|
44393
|
+
mcp: { entityTool: "custom-fields" },
|
|
44394
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44395
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
44396
|
+
user_id: /* @__PURE__ */ number$2()
|
|
44397
|
+
}),
|
|
44398
|
+
execute: (input, { client }) => {
|
|
44399
|
+
const data = input;
|
|
44400
|
+
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
44401
|
+
client.httpClient,
|
|
44402
|
+
client.organizationId,
|
|
44403
|
+
client.workspaceIdNumber,
|
|
44404
|
+
data.user_id,
|
|
44405
|
+
data.payload ?? data.data ?? data,
|
|
44406
|
+
void 0
|
|
44407
|
+
]));
|
|
44408
|
+
}
|
|
44409
|
+
},
|
|
44211
44410
|
{
|
|
44212
44411
|
id: "focus.goals.create",
|
|
44213
44412
|
family: "focus",
|
|
@@ -44427,10 +44626,22 @@ const generatedFocusOperations = [
|
|
|
44427
44626
|
goal_id: /* @__PURE__ */ number$2(),
|
|
44428
44627
|
payload: /* @__PURE__ */ looseObject({
|
|
44429
44628
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44629
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44430
44630
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44431
44631
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44432
44632
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44433
|
-
|
|
44633
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44634
|
+
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
44635
|
+
"daily",
|
|
44636
|
+
"weekly",
|
|
44637
|
+
"daily_workdays",
|
|
44638
|
+
"monthly"
|
|
44639
|
+
])),
|
|
44640
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44641
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44642
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44643
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44644
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44434
44645
|
})
|
|
44435
44646
|
}),
|
|
44436
44647
|
execute: (input, { client }) => {
|
|
@@ -45763,6 +45974,7 @@ const generatedFocusOperations = [
|
|
|
45763
45974
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45764
45975
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45765
45976
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45977
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45766
45978
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45767
45979
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45768
45980
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -45770,6 +45982,7 @@ const generatedFocusOperations = [
|
|
|
45770
45982
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45771
45983
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45772
45984
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45985
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45773
45986
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45774
45987
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45775
45988
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -47954,7 +48167,10 @@ const generatedFocusOperations = [
|
|
|
47954
48167
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47955
48168
|
name: /* @__PURE__ */ string$1(),
|
|
47956
48169
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
47957
|
-
}))
|
|
48170
|
+
})),
|
|
48171
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48172
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48173
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47958
48174
|
}),
|
|
47959
48175
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
47960
48176
|
}),
|
|
@@ -47995,6 +48211,28 @@ const generatedFocusOperations = [
|
|
|
47995
48211
|
]));
|
|
47996
48212
|
}
|
|
47997
48213
|
},
|
|
48214
|
+
{
|
|
48215
|
+
id: "focus.reports.get-forecast-availability",
|
|
48216
|
+
family: "focus",
|
|
48217
|
+
resource: "reports",
|
|
48218
|
+
action: "get-forecast-availability",
|
|
48219
|
+
title: "Get Forecast Availability Reports",
|
|
48220
|
+
description: "Get Forecast Availability Reports.",
|
|
48221
|
+
safety: "read",
|
|
48222
|
+
destructive: false,
|
|
48223
|
+
cli: {
|
|
48224
|
+
group: ["reports"],
|
|
48225
|
+
command: "get-forecast-availability",
|
|
48226
|
+
interactive: "hidden"
|
|
48227
|
+
},
|
|
48228
|
+
mcp: { entityTool: "reports" },
|
|
48229
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48230
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
48231
|
+
client.httpClient,
|
|
48232
|
+
client.workspaceIdNumber,
|
|
48233
|
+
void 0
|
|
48234
|
+
]))
|
|
48235
|
+
},
|
|
47998
48236
|
{
|
|
47999
48237
|
id: "focus.reports.get-profitability",
|
|
48000
48238
|
family: "focus",
|
|
@@ -48054,9 +48292,17 @@ const generatedFocusOperations = [
|
|
|
48054
48292
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48055
48293
|
name: /* @__PURE__ */ string$1(),
|
|
48056
48294
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48057
|
-
}))
|
|
48295
|
+
})),
|
|
48296
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48297
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48298
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48058
48299
|
}),
|
|
48059
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48300
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
48301
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48302
|
+
"csv",
|
|
48303
|
+
"xlsx",
|
|
48304
|
+
"pdf"
|
|
48305
|
+
]))
|
|
48060
48306
|
}),
|
|
48061
48307
|
execute: (input, { client }) => {
|
|
48062
48308
|
const data = input;
|
|
@@ -48066,22 +48312,23 @@ const generatedFocusOperations = [
|
|
|
48066
48312
|
data.payload ?? data.data ?? data,
|
|
48067
48313
|
data.response_format,
|
|
48068
48314
|
data.include_dicts,
|
|
48315
|
+
data.xTogglReportExport,
|
|
48069
48316
|
void 0
|
|
48070
48317
|
]));
|
|
48071
48318
|
}
|
|
48072
48319
|
},
|
|
48073
48320
|
{
|
|
48074
|
-
id: "focus.reports.get-
|
|
48321
|
+
id: "focus.reports.get-time-accounting",
|
|
48075
48322
|
family: "focus",
|
|
48076
48323
|
resource: "reports",
|
|
48077
|
-
action: "get-
|
|
48078
|
-
title: "Get
|
|
48079
|
-
description: "Get
|
|
48324
|
+
action: "get-time-accounting",
|
|
48325
|
+
title: "Get Time Accounting Reports",
|
|
48326
|
+
description: "Get Time Accounting Reports.",
|
|
48080
48327
|
safety: "update",
|
|
48081
48328
|
destructive: false,
|
|
48082
48329
|
cli: {
|
|
48083
48330
|
group: ["reports"],
|
|
48084
|
-
command: "get-
|
|
48331
|
+
command: "get-time-accounting",
|
|
48085
48332
|
interactive: "hidden"
|
|
48086
48333
|
},
|
|
48087
48334
|
mcp: { entityTool: "reports" },
|
|
@@ -48127,14 +48374,205 @@ const generatedFocusOperations = [
|
|
|
48127
48374
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48128
48375
|
name: /* @__PURE__ */ string$1(),
|
|
48129
48376
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48130
|
-
}))
|
|
48377
|
+
})),
|
|
48378
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48379
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48380
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48131
48381
|
}) }),
|
|
48382
|
+
execute: (input, { client }) => {
|
|
48383
|
+
const data = input;
|
|
48384
|
+
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
48385
|
+
client.httpClient,
|
|
48386
|
+
client.workspaceIdNumber,
|
|
48387
|
+
data.payload ?? data.data ?? data,
|
|
48388
|
+
void 0
|
|
48389
|
+
]));
|
|
48390
|
+
}
|
|
48391
|
+
},
|
|
48392
|
+
{
|
|
48393
|
+
id: "focus.reports.get-workload",
|
|
48394
|
+
family: "focus",
|
|
48395
|
+
resource: "reports",
|
|
48396
|
+
action: "get-workload",
|
|
48397
|
+
title: "Get Workload Reports",
|
|
48398
|
+
description: "Get Workload Reports.",
|
|
48399
|
+
safety: "update",
|
|
48400
|
+
destructive: false,
|
|
48401
|
+
cli: {
|
|
48402
|
+
group: ["reports"],
|
|
48403
|
+
command: "get-workload",
|
|
48404
|
+
interactive: "hidden"
|
|
48405
|
+
},
|
|
48406
|
+
mcp: { entityTool: "reports" },
|
|
48407
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48408
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48409
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48410
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48411
|
+
function: /* @__PURE__ */ string$1(),
|
|
48412
|
+
property: /* @__PURE__ */ string$1()
|
|
48413
|
+
}),
|
|
48414
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48415
|
+
property: /* @__PURE__ */ string$1()
|
|
48416
|
+
})),
|
|
48417
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48418
|
+
function: /* @__PURE__ */ string$1(),
|
|
48419
|
+
property: /* @__PURE__ */ string$1()
|
|
48420
|
+
})),
|
|
48421
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
48422
|
+
currency: /* @__PURE__ */ string$1(),
|
|
48423
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48424
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
48425
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48426
|
+
property: /* @__PURE__ */ string$1()
|
|
48427
|
+
})),
|
|
48428
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48429
|
+
property: /* @__PURE__ */ string$1(),
|
|
48430
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48431
|
+
})),
|
|
48432
|
+
limit: /* @__PURE__ */ number$2(),
|
|
48433
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48434
|
+
direction: /* @__PURE__ */ string$1(),
|
|
48435
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
48436
|
+
property: /* @__PURE__ */ string$1()
|
|
48437
|
+
})),
|
|
48438
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
48439
|
+
page: /* @__PURE__ */ number$2(),
|
|
48440
|
+
per_page: /* @__PURE__ */ number$2()
|
|
48441
|
+
}),
|
|
48442
|
+
period: /* @__PURE__ */ looseObject({
|
|
48443
|
+
from: /* @__PURE__ */ string$1(),
|
|
48444
|
+
preset: /* @__PURE__ */ string$1(),
|
|
48445
|
+
to: /* @__PURE__ */ string$1()
|
|
48446
|
+
}),
|
|
48447
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48448
|
+
name: /* @__PURE__ */ string$1(),
|
|
48449
|
+
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48450
|
+
})),
|
|
48451
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48452
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48453
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48454
|
+
}),
|
|
48455
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48456
|
+
"csv",
|
|
48457
|
+
"xlsx",
|
|
48458
|
+
"pdf"
|
|
48459
|
+
]))
|
|
48460
|
+
}),
|
|
48132
48461
|
execute: (input, { client }) => {
|
|
48133
48462
|
const data = input;
|
|
48134
48463
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
48135
48464
|
client.httpClient,
|
|
48136
48465
|
client.workspaceIdNumber,
|
|
48137
48466
|
data.payload ?? data.data ?? data,
|
|
48467
|
+
data.xTogglReportExport,
|
|
48468
|
+
void 0
|
|
48469
|
+
]));
|
|
48470
|
+
}
|
|
48471
|
+
},
|
|
48472
|
+
{
|
|
48473
|
+
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
48474
|
+
family: "focus",
|
|
48475
|
+
resource: "reportschedules",
|
|
48476
|
+
action: "delete-shared-report-schedule",
|
|
48477
|
+
title: "Delete Shared Report Schedule Reportschedules",
|
|
48478
|
+
description: "Delete Shared Report Schedule Reportschedules.",
|
|
48479
|
+
safety: "delete",
|
|
48480
|
+
destructive: true,
|
|
48481
|
+
cli: {
|
|
48482
|
+
group: ["reportschedules"],
|
|
48483
|
+
command: "delete-shared-report-schedule",
|
|
48484
|
+
interactive: "default"
|
|
48485
|
+
},
|
|
48486
|
+
mcp: { entityTool: "reportschedules" },
|
|
48487
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48488
|
+
execute: (input, { client }) => {
|
|
48489
|
+
const data = input;
|
|
48490
|
+
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
48491
|
+
client.httpClient,
|
|
48492
|
+
client.workspaceIdNumber,
|
|
48493
|
+
data.id,
|
|
48494
|
+
void 0
|
|
48495
|
+
]));
|
|
48496
|
+
}
|
|
48497
|
+
},
|
|
48498
|
+
{
|
|
48499
|
+
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
48500
|
+
family: "focus",
|
|
48501
|
+
resource: "reportschedules",
|
|
48502
|
+
action: "upsert-saved-view-schedule",
|
|
48503
|
+
title: "Upsert Saved View Schedule Reportschedules",
|
|
48504
|
+
description: "Upsert Saved View Schedule Reportschedules.",
|
|
48505
|
+
safety: "update",
|
|
48506
|
+
destructive: false,
|
|
48507
|
+
cli: {
|
|
48508
|
+
group: ["reportschedules"],
|
|
48509
|
+
command: "upsert-saved-view-schedule",
|
|
48510
|
+
interactive: "default"
|
|
48511
|
+
},
|
|
48512
|
+
mcp: { entityTool: "reportschedules" },
|
|
48513
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48514
|
+
id: /* @__PURE__ */ number$2(),
|
|
48515
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48516
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
48517
|
+
"daily",
|
|
48518
|
+
"weekly",
|
|
48519
|
+
"monthly"
|
|
48520
|
+
]),
|
|
48521
|
+
time: /* @__PURE__ */ string$1(),
|
|
48522
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48523
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48524
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48525
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48526
|
+
})
|
|
48527
|
+
}),
|
|
48528
|
+
execute: (input, { client }) => {
|
|
48529
|
+
const data = input;
|
|
48530
|
+
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
48531
|
+
client.httpClient,
|
|
48532
|
+
client.workspaceIdNumber,
|
|
48533
|
+
data.id,
|
|
48534
|
+
data.payload ?? data.data ?? data,
|
|
48535
|
+
void 0
|
|
48536
|
+
]));
|
|
48537
|
+
}
|
|
48538
|
+
},
|
|
48539
|
+
{
|
|
48540
|
+
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
48541
|
+
family: "focus",
|
|
48542
|
+
resource: "reportschedules",
|
|
48543
|
+
action: "upsert-shared-report-schedule",
|
|
48544
|
+
title: "Upsert Shared Report Schedule Reportschedules",
|
|
48545
|
+
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
48546
|
+
safety: "update",
|
|
48547
|
+
destructive: false,
|
|
48548
|
+
cli: {
|
|
48549
|
+
group: ["reportschedules"],
|
|
48550
|
+
command: "upsert-shared-report-schedule",
|
|
48551
|
+
interactive: "default"
|
|
48552
|
+
},
|
|
48553
|
+
mcp: { entityTool: "reportschedules" },
|
|
48554
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48555
|
+
id: /* @__PURE__ */ number$2(),
|
|
48556
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48557
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
48558
|
+
"daily",
|
|
48559
|
+
"weekly",
|
|
48560
|
+
"monthly"
|
|
48561
|
+
]),
|
|
48562
|
+
time: /* @__PURE__ */ string$1(),
|
|
48563
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48564
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48565
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48566
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48567
|
+
})
|
|
48568
|
+
}),
|
|
48569
|
+
execute: (input, { client }) => {
|
|
48570
|
+
const data = input;
|
|
48571
|
+
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
48572
|
+
client.httpClient,
|
|
48573
|
+
client.workspaceIdNumber,
|
|
48574
|
+
data.id,
|
|
48575
|
+
data.payload ?? data.data ?? data,
|
|
48138
48576
|
void 0
|
|
48139
48577
|
]));
|
|
48140
48578
|
}
|
|
@@ -48172,7 +48610,9 @@ const generatedFocusOperations = [
|
|
|
48172
48610
|
"reports.detailed",
|
|
48173
48611
|
"reports.utilization",
|
|
48174
48612
|
"reports.workload",
|
|
48175
|
-
"reports.profitability"
|
|
48613
|
+
"reports.profitability",
|
|
48614
|
+
"reports.time-off",
|
|
48615
|
+
"reports.time-accounting"
|
|
48176
48616
|
]),
|
|
48177
48617
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48178
48618
|
}) }),
|
|
@@ -48296,11 +48736,41 @@ const generatedFocusOperations = [
|
|
|
48296
48736
|
}
|
|
48297
48737
|
},
|
|
48298
48738
|
{
|
|
48299
|
-
id: "focus.search.
|
|
48739
|
+
id: "focus.search.mentions",
|
|
48300
48740
|
family: "focus",
|
|
48301
48741
|
resource: "search",
|
|
48302
|
-
action: "
|
|
48303
|
-
title: "
|
|
48742
|
+
action: "mentions",
|
|
48743
|
+
title: "Mentions Search",
|
|
48744
|
+
description: "Mentions Search.",
|
|
48745
|
+
safety: "read",
|
|
48746
|
+
destructive: false,
|
|
48747
|
+
cli: {
|
|
48748
|
+
group: ["search"],
|
|
48749
|
+
command: "mentions",
|
|
48750
|
+
interactive: "hidden"
|
|
48751
|
+
},
|
|
48752
|
+
mcp: { entityTool: "search" },
|
|
48753
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48754
|
+
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48755
|
+
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48756
|
+
}),
|
|
48757
|
+
execute: (input, { client }) => {
|
|
48758
|
+
const data = input;
|
|
48759
|
+
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
48760
|
+
client.httpClient,
|
|
48761
|
+
client.organizationId,
|
|
48762
|
+
client.workspaceIdNumber,
|
|
48763
|
+
data,
|
|
48764
|
+
void 0
|
|
48765
|
+
]));
|
|
48766
|
+
}
|
|
48767
|
+
},
|
|
48768
|
+
{
|
|
48769
|
+
id: "focus.search.search",
|
|
48770
|
+
family: "focus",
|
|
48771
|
+
resource: "search",
|
|
48772
|
+
action: "search",
|
|
48773
|
+
title: "Search Search",
|
|
48304
48774
|
description: "Search Search.",
|
|
48305
48775
|
safety: "read",
|
|
48306
48776
|
destructive: false,
|
|
@@ -48322,6 +48792,240 @@ const generatedFocusOperations = [
|
|
|
48322
48792
|
]));
|
|
48323
48793
|
}
|
|
48324
48794
|
},
|
|
48795
|
+
{
|
|
48796
|
+
id: "focus.sharedreports.add-shared-report-grants",
|
|
48797
|
+
family: "focus",
|
|
48798
|
+
resource: "sharedreports",
|
|
48799
|
+
action: "add-shared-report-grants",
|
|
48800
|
+
title: "Add Shared Report Grants Sharedreports",
|
|
48801
|
+
description: "Add Shared Report Grants Sharedreports.",
|
|
48802
|
+
safety: "update",
|
|
48803
|
+
destructive: false,
|
|
48804
|
+
cli: {
|
|
48805
|
+
group: ["sharedreports"],
|
|
48806
|
+
command: "add-shared-report-grants",
|
|
48807
|
+
interactive: "default"
|
|
48808
|
+
},
|
|
48809
|
+
mcp: { entityTool: "sharedreports" },
|
|
48810
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48811
|
+
id: /* @__PURE__ */ number$2(),
|
|
48812
|
+
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48813
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48814
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48815
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48816
|
+
})) })
|
|
48817
|
+
}),
|
|
48818
|
+
execute: (input, { client }) => {
|
|
48819
|
+
const data = input;
|
|
48820
|
+
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
48821
|
+
client.httpClient,
|
|
48822
|
+
client.workspaceIdNumber,
|
|
48823
|
+
data.id,
|
|
48824
|
+
data.payload ?? data.data ?? data,
|
|
48825
|
+
void 0
|
|
48826
|
+
]));
|
|
48827
|
+
}
|
|
48828
|
+
},
|
|
48829
|
+
{
|
|
48830
|
+
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
48831
|
+
family: "focus",
|
|
48832
|
+
resource: "sharedreports",
|
|
48833
|
+
action: "get-saved-view-shared-report",
|
|
48834
|
+
title: "Get Saved View Shared Report Sharedreports",
|
|
48835
|
+
description: "Get Saved View Shared Report Sharedreports.",
|
|
48836
|
+
safety: "read",
|
|
48837
|
+
destructive: false,
|
|
48838
|
+
cli: {
|
|
48839
|
+
group: ["sharedreports"],
|
|
48840
|
+
command: "get-saved-view-shared-report",
|
|
48841
|
+
interactive: "available"
|
|
48842
|
+
},
|
|
48843
|
+
mcp: { entityTool: "sharedreports" },
|
|
48844
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48845
|
+
execute: (input, { client }) => {
|
|
48846
|
+
const data = input;
|
|
48847
|
+
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
48848
|
+
client.httpClient,
|
|
48849
|
+
client.workspaceIdNumber,
|
|
48850
|
+
data.id,
|
|
48851
|
+
void 0
|
|
48852
|
+
]));
|
|
48853
|
+
}
|
|
48854
|
+
},
|
|
48855
|
+
{
|
|
48856
|
+
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48857
|
+
family: "focus",
|
|
48858
|
+
resource: "sharedreports",
|
|
48859
|
+
action: "get-shared-report-for-viewer",
|
|
48860
|
+
title: "Get Shared Report For Viewer Sharedreports",
|
|
48861
|
+
description: "Get Shared Report For Viewer Sharedreports.",
|
|
48862
|
+
safety: "read",
|
|
48863
|
+
destructive: false,
|
|
48864
|
+
cli: {
|
|
48865
|
+
group: ["sharedreports"],
|
|
48866
|
+
command: "get-shared-report-for-viewer",
|
|
48867
|
+
interactive: "available"
|
|
48868
|
+
},
|
|
48869
|
+
mcp: { entityTool: "sharedreports" },
|
|
48870
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48871
|
+
execute: (input, { client }) => {
|
|
48872
|
+
const data = input;
|
|
48873
|
+
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
48874
|
+
client.httpClient,
|
|
48875
|
+
client.workspaceIdNumber,
|
|
48876
|
+
data.id,
|
|
48877
|
+
void 0
|
|
48878
|
+
]));
|
|
48879
|
+
}
|
|
48880
|
+
},
|
|
48881
|
+
{
|
|
48882
|
+
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
48883
|
+
family: "focus",
|
|
48884
|
+
resource: "sharedreports",
|
|
48885
|
+
action: "get-shared-reports-shared-by-me",
|
|
48886
|
+
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
48887
|
+
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
48888
|
+
safety: "read",
|
|
48889
|
+
destructive: false,
|
|
48890
|
+
cli: {
|
|
48891
|
+
group: ["sharedreports"],
|
|
48892
|
+
command: "get-shared-reports-shared-by-me",
|
|
48893
|
+
interactive: "hidden"
|
|
48894
|
+
},
|
|
48895
|
+
mcp: { entityTool: "sharedreports" },
|
|
48896
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48897
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
48898
|
+
client.httpClient,
|
|
48899
|
+
client.workspaceIdNumber,
|
|
48900
|
+
void 0
|
|
48901
|
+
]))
|
|
48902
|
+
},
|
|
48903
|
+
{
|
|
48904
|
+
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
48905
|
+
family: "focus",
|
|
48906
|
+
resource: "sharedreports",
|
|
48907
|
+
action: "get-shared-reports-shared-with-me",
|
|
48908
|
+
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
48909
|
+
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
48910
|
+
safety: "read",
|
|
48911
|
+
destructive: false,
|
|
48912
|
+
cli: {
|
|
48913
|
+
group: ["sharedreports"],
|
|
48914
|
+
command: "get-shared-reports-shared-with-me",
|
|
48915
|
+
interactive: "hidden"
|
|
48916
|
+
},
|
|
48917
|
+
mcp: { entityTool: "sharedreports" },
|
|
48918
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48919
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
48920
|
+
client.httpClient,
|
|
48921
|
+
client.workspaceIdNumber,
|
|
48922
|
+
void 0
|
|
48923
|
+
]))
|
|
48924
|
+
},
|
|
48925
|
+
{
|
|
48926
|
+
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48927
|
+
family: "focus",
|
|
48928
|
+
resource: "sharedreports",
|
|
48929
|
+
action: "revoke-shared-report-grant",
|
|
48930
|
+
title: "Revoke Shared Report Grant Sharedreports",
|
|
48931
|
+
description: "Revoke Shared Report Grant Sharedreports.",
|
|
48932
|
+
safety: "delete",
|
|
48933
|
+
destructive: true,
|
|
48934
|
+
cli: {
|
|
48935
|
+
group: ["sharedreports"],
|
|
48936
|
+
command: "revoke-shared-report-grant",
|
|
48937
|
+
interactive: "default"
|
|
48938
|
+
},
|
|
48939
|
+
mcp: { entityTool: "sharedreports" },
|
|
48940
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48941
|
+
grant_id: /* @__PURE__ */ number$2(),
|
|
48942
|
+
id: /* @__PURE__ */ number$2()
|
|
48943
|
+
}),
|
|
48944
|
+
execute: (input, { client }) => {
|
|
48945
|
+
const data = input;
|
|
48946
|
+
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
48947
|
+
client.httpClient,
|
|
48948
|
+
client.workspaceIdNumber,
|
|
48949
|
+
data.id,
|
|
48950
|
+
data.grant_id,
|
|
48951
|
+
void 0
|
|
48952
|
+
]));
|
|
48953
|
+
}
|
|
48954
|
+
},
|
|
48955
|
+
{
|
|
48956
|
+
id: "focus.sharedreports.share-saved-view",
|
|
48957
|
+
family: "focus",
|
|
48958
|
+
resource: "sharedreports",
|
|
48959
|
+
action: "share-saved-view",
|
|
48960
|
+
title: "Share Saved View Sharedreports",
|
|
48961
|
+
description: "Share Saved View Sharedreports.",
|
|
48962
|
+
safety: "update",
|
|
48963
|
+
destructive: false,
|
|
48964
|
+
cli: {
|
|
48965
|
+
group: ["sharedreports"],
|
|
48966
|
+
command: "share-saved-view",
|
|
48967
|
+
interactive: "hidden"
|
|
48968
|
+
},
|
|
48969
|
+
mcp: { entityTool: "sharedreports" },
|
|
48970
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48971
|
+
id: /* @__PURE__ */ number$2(),
|
|
48972
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48973
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48974
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48975
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48976
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48977
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48978
|
+
})
|
|
48979
|
+
}),
|
|
48980
|
+
execute: (input, { client }) => {
|
|
48981
|
+
const data = input;
|
|
48982
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
48983
|
+
client.httpClient,
|
|
48984
|
+
client.workspaceIdNumber,
|
|
48985
|
+
data.id,
|
|
48986
|
+
data.payload ?? data.data ?? data,
|
|
48987
|
+
void 0
|
|
48988
|
+
]));
|
|
48989
|
+
}
|
|
48990
|
+
},
|
|
48991
|
+
{
|
|
48992
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
48993
|
+
family: "focus",
|
|
48994
|
+
resource: "sharedreports",
|
|
48995
|
+
action: "share-saved-view-many",
|
|
48996
|
+
title: "Share Saved View Many Sharedreports",
|
|
48997
|
+
description: "Share Saved View Many Sharedreports.",
|
|
48998
|
+
safety: "update",
|
|
48999
|
+
destructive: false,
|
|
49000
|
+
cli: {
|
|
49001
|
+
group: ["sharedreports"],
|
|
49002
|
+
command: "share-saved-view-many",
|
|
49003
|
+
interactive: "hidden"
|
|
49004
|
+
},
|
|
49005
|
+
mcp: { entityTool: "sharedreports" },
|
|
49006
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49007
|
+
id: /* @__PURE__ */ number$2(),
|
|
49008
|
+
payload: /* @__PURE__ */ looseObject({
|
|
49009
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
49010
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49011
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49012
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49013
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49014
|
+
})),
|
|
49015
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
49016
|
+
})
|
|
49017
|
+
}),
|
|
49018
|
+
execute: (input, { client }) => {
|
|
49019
|
+
const data = input;
|
|
49020
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
49021
|
+
client.httpClient,
|
|
49022
|
+
client.workspaceIdNumber,
|
|
49023
|
+
data.id,
|
|
49024
|
+
data.payload ?? data.data ?? data,
|
|
49025
|
+
void 0
|
|
49026
|
+
]));
|
|
49027
|
+
}
|
|
49028
|
+
},
|
|
48325
49029
|
{
|
|
48326
49030
|
id: "focus.statuses.create-status",
|
|
48327
49031
|
family: "focus",
|
|
@@ -48587,13 +49291,172 @@ const generatedFocusOperations = [
|
|
|
48587
49291
|
command: "upsert-forced-trial",
|
|
48588
49292
|
interactive: "default"
|
|
48589
49293
|
},
|
|
48590
|
-
mcp: { entityTool: "subscriptions" },
|
|
48591
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49294
|
+
mcp: { entityTool: "subscriptions" },
|
|
49295
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49296
|
+
execute: (input, { client }) => {
|
|
49297
|
+
const data = input;
|
|
49298
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
49299
|
+
client.httpClient,
|
|
49300
|
+
client.organizationId,
|
|
49301
|
+
client.workspaceIdNumber,
|
|
49302
|
+
data.payload ?? data.data ?? data,
|
|
49303
|
+
void 0
|
|
49304
|
+
]));
|
|
49305
|
+
}
|
|
49306
|
+
},
|
|
49307
|
+
{
|
|
49308
|
+
id: "focus.tags.archive",
|
|
49309
|
+
family: "focus",
|
|
49310
|
+
resource: "tags",
|
|
49311
|
+
action: "archive",
|
|
49312
|
+
title: "Archive Tags",
|
|
49313
|
+
description: "Archive Tags.",
|
|
49314
|
+
safety: "update",
|
|
49315
|
+
destructive: false,
|
|
49316
|
+
cli: {
|
|
49317
|
+
group: ["tags"],
|
|
49318
|
+
command: "archive",
|
|
49319
|
+
interactive: "default"
|
|
49320
|
+
},
|
|
49321
|
+
mcp: { entityTool: "tags" },
|
|
49322
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49323
|
+
execute: (input, { client }) => {
|
|
49324
|
+
const data = input;
|
|
49325
|
+
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
49326
|
+
client.httpClient,
|
|
49327
|
+
client.workspaceIdNumber,
|
|
49328
|
+
data.tag_id,
|
|
49329
|
+
void 0
|
|
49330
|
+
]));
|
|
49331
|
+
}
|
|
49332
|
+
},
|
|
49333
|
+
{
|
|
49334
|
+
id: "focus.tags.bulk-archive",
|
|
49335
|
+
family: "focus",
|
|
49336
|
+
resource: "tags",
|
|
49337
|
+
action: "bulk-archive",
|
|
49338
|
+
title: "Bulk Archive Tags",
|
|
49339
|
+
description: "Bulk Archive Tags.",
|
|
49340
|
+
safety: "update",
|
|
49341
|
+
destructive: false,
|
|
49342
|
+
cli: {
|
|
49343
|
+
group: ["tags", "bulk"],
|
|
49344
|
+
command: "archive",
|
|
49345
|
+
interactive: "default"
|
|
49346
|
+
},
|
|
49347
|
+
mcp: { entityTool: "tags" },
|
|
49348
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49349
|
+
execute: (input, { client }) => {
|
|
49350
|
+
const data = input;
|
|
49351
|
+
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
49352
|
+
client.httpClient,
|
|
49353
|
+
client.workspaceIdNumber,
|
|
49354
|
+
data.payload ?? data.data ?? data,
|
|
49355
|
+
void 0
|
|
49356
|
+
]));
|
|
49357
|
+
}
|
|
49358
|
+
},
|
|
49359
|
+
{
|
|
49360
|
+
id: "focus.tags.bulk-create",
|
|
49361
|
+
family: "focus",
|
|
49362
|
+
resource: "tags",
|
|
49363
|
+
action: "bulk-create",
|
|
49364
|
+
title: "Bulk Create Tags",
|
|
49365
|
+
description: "Bulk Create Tags.",
|
|
49366
|
+
safety: "create",
|
|
49367
|
+
destructive: false,
|
|
49368
|
+
cli: {
|
|
49369
|
+
group: ["tags", "bulk"],
|
|
49370
|
+
command: "create",
|
|
49371
|
+
interactive: "default"
|
|
49372
|
+
},
|
|
49373
|
+
mcp: { entityTool: "tags" },
|
|
49374
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49375
|
+
color: /* @__PURE__ */ string$1(),
|
|
49376
|
+
name: /* @__PURE__ */ string$1()
|
|
49377
|
+
})) }) }),
|
|
49378
|
+
execute: (input, { client }) => {
|
|
49379
|
+
const data = input;
|
|
49380
|
+
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
49381
|
+
client.httpClient,
|
|
49382
|
+
client.workspaceIdNumber,
|
|
49383
|
+
data.payload ?? data.data ?? data,
|
|
49384
|
+
void 0
|
|
49385
|
+
]));
|
|
49386
|
+
}
|
|
49387
|
+
},
|
|
49388
|
+
{
|
|
49389
|
+
id: "focus.tags.bulk-delete",
|
|
49390
|
+
family: "focus",
|
|
49391
|
+
resource: "tags",
|
|
49392
|
+
action: "bulk-delete",
|
|
49393
|
+
title: "Bulk Delete Tags",
|
|
49394
|
+
description: "Bulk Delete Tags.",
|
|
49395
|
+
safety: "delete",
|
|
49396
|
+
destructive: true,
|
|
49397
|
+
cli: {
|
|
49398
|
+
group: ["tags", "bulk"],
|
|
49399
|
+
command: "delete",
|
|
49400
|
+
interactive: "default"
|
|
49401
|
+
},
|
|
49402
|
+
mcp: { entityTool: "tags" },
|
|
49403
|
+
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
49404
|
+
execute: (input, { client }) => {
|
|
49405
|
+
const data = input;
|
|
49406
|
+
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
49407
|
+
client.httpClient,
|
|
49408
|
+
client.workspaceIdNumber,
|
|
49409
|
+
data.ids,
|
|
49410
|
+
void 0
|
|
49411
|
+
]));
|
|
49412
|
+
}
|
|
49413
|
+
},
|
|
49414
|
+
{
|
|
49415
|
+
id: "focus.tags.bulk-restore",
|
|
49416
|
+
family: "focus",
|
|
49417
|
+
resource: "tags",
|
|
49418
|
+
action: "bulk-restore",
|
|
49419
|
+
title: "Bulk Restore Tags",
|
|
49420
|
+
description: "Bulk Restore Tags.",
|
|
49421
|
+
safety: "update",
|
|
49422
|
+
destructive: false,
|
|
49423
|
+
cli: {
|
|
49424
|
+
group: ["tags", "bulk"],
|
|
49425
|
+
command: "restore",
|
|
49426
|
+
interactive: "default"
|
|
49427
|
+
},
|
|
49428
|
+
mcp: { entityTool: "tags" },
|
|
49429
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49430
|
+
execute: (input, { client }) => {
|
|
49431
|
+
const data = input;
|
|
49432
|
+
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
49433
|
+
client.httpClient,
|
|
49434
|
+
client.workspaceIdNumber,
|
|
49435
|
+
data.payload ?? data.data ?? data,
|
|
49436
|
+
void 0
|
|
49437
|
+
]));
|
|
49438
|
+
}
|
|
49439
|
+
},
|
|
49440
|
+
{
|
|
49441
|
+
id: "focus.tags.bulk-unarchive",
|
|
49442
|
+
family: "focus",
|
|
49443
|
+
resource: "tags",
|
|
49444
|
+
action: "bulk-unarchive",
|
|
49445
|
+
title: "Bulk Unarchive Tags",
|
|
49446
|
+
description: "Bulk Unarchive Tags.",
|
|
49447
|
+
safety: "update",
|
|
49448
|
+
destructive: false,
|
|
49449
|
+
cli: {
|
|
49450
|
+
group: ["tags", "bulk"],
|
|
49451
|
+
command: "unarchive",
|
|
49452
|
+
interactive: "default"
|
|
49453
|
+
},
|
|
49454
|
+
mcp: { entityTool: "tags" },
|
|
49455
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
48592
49456
|
execute: (input, { client }) => {
|
|
48593
49457
|
const data = input;
|
|
48594
|
-
return client.runGeneratedRequest("
|
|
49458
|
+
return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
|
|
48595
49459
|
client.httpClient,
|
|
48596
|
-
client.organizationId,
|
|
48597
49460
|
client.workspaceIdNumber,
|
|
48598
49461
|
data.payload ?? data.data ?? data,
|
|
48599
49462
|
void 0
|
|
@@ -48684,6 +49547,35 @@ const generatedFocusOperations = [
|
|
|
48684
49547
|
return client.listTags(data);
|
|
48685
49548
|
}
|
|
48686
49549
|
},
|
|
49550
|
+
{
|
|
49551
|
+
id: "focus.tags.merge",
|
|
49552
|
+
family: "focus",
|
|
49553
|
+
resource: "tags",
|
|
49554
|
+
action: "merge",
|
|
49555
|
+
title: "Merge Tags",
|
|
49556
|
+
description: "Merge Tags.",
|
|
49557
|
+
safety: "update",
|
|
49558
|
+
destructive: false,
|
|
49559
|
+
cli: {
|
|
49560
|
+
group: ["tags"],
|
|
49561
|
+
command: "merge",
|
|
49562
|
+
interactive: "default"
|
|
49563
|
+
},
|
|
49564
|
+
mcp: { entityTool: "tags" },
|
|
49565
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
49566
|
+
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
49567
|
+
target_id: /* @__PURE__ */ number$2()
|
|
49568
|
+
}) }),
|
|
49569
|
+
execute: (input, { client }) => {
|
|
49570
|
+
const data = input;
|
|
49571
|
+
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
49572
|
+
client.httpClient,
|
|
49573
|
+
client.workspaceIdNumber,
|
|
49574
|
+
data.payload ?? data.data ?? data,
|
|
49575
|
+
void 0
|
|
49576
|
+
]));
|
|
49577
|
+
}
|
|
49578
|
+
},
|
|
48687
49579
|
{
|
|
48688
49580
|
id: "focus.tags.restore",
|
|
48689
49581
|
family: "focus",
|
|
@@ -48710,6 +49602,32 @@ const generatedFocusOperations = [
|
|
|
48710
49602
|
]));
|
|
48711
49603
|
}
|
|
48712
49604
|
},
|
|
49605
|
+
{
|
|
49606
|
+
id: "focus.tags.unarchive",
|
|
49607
|
+
family: "focus",
|
|
49608
|
+
resource: "tags",
|
|
49609
|
+
action: "unarchive",
|
|
49610
|
+
title: "Unarchive Tags",
|
|
49611
|
+
description: "Unarchive Tags.",
|
|
49612
|
+
safety: "update",
|
|
49613
|
+
destructive: false,
|
|
49614
|
+
cli: {
|
|
49615
|
+
group: ["tags"],
|
|
49616
|
+
command: "unarchive",
|
|
49617
|
+
interactive: "default"
|
|
49618
|
+
},
|
|
49619
|
+
mcp: { entityTool: "tags" },
|
|
49620
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49621
|
+
execute: (input, { client }) => {
|
|
49622
|
+
const data = input;
|
|
49623
|
+
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
49624
|
+
client.httpClient,
|
|
49625
|
+
client.workspaceIdNumber,
|
|
49626
|
+
data.tag_id,
|
|
49627
|
+
void 0
|
|
49628
|
+
]));
|
|
49629
|
+
}
|
|
49630
|
+
},
|
|
48713
49631
|
{
|
|
48714
49632
|
id: "focus.tags.update",
|
|
48715
49633
|
family: "focus",
|
|
@@ -49391,12 +50309,12 @@ const generatedFocusOperations = [
|
|
|
49391
50309
|
mcp: { entityTool: "tasks" },
|
|
49392
50310
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49393
50311
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50312
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49394
50313
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49395
50314
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49396
50315
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49397
50316
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49398
50317
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49399
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49400
50318
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49401
50319
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49402
50320
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49433,7 +50351,6 @@ const generatedFocusOperations = [
|
|
|
49433
50351
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49434
50352
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49435
50353
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49436
|
-
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49437
50354
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49438
50355
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49439
50356
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49450,7 +50367,6 @@ const generatedFocusOperations = [
|
|
|
49450
50367
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49451
50368
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49452
50369
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49453
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49454
50370
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49455
50371
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49456
50372
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49506,7 +50422,6 @@ const generatedFocusOperations = [
|
|
|
49506
50422
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49507
50423
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49508
50424
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49509
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49510
50425
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49511
50426
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49512
50427
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49547,7 +50462,6 @@ const generatedFocusOperations = [
|
|
|
49547
50462
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49548
50463
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49549
50464
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49550
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49551
50465
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49552
50466
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49553
50467
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49588,6 +50502,7 @@ const generatedFocusOperations = [
|
|
|
49588
50502
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49589
50503
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49590
50504
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50505
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49591
50506
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49592
50507
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49593
50508
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49601,7 +50516,8 @@ const generatedFocusOperations = [
|
|
|
49601
50516
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49602
50517
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49603
50518
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49604
|
-
|
|
50519
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50520
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49605
50521
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49606
50522
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49607
50523
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49617,6 +50533,7 @@ const generatedFocusOperations = [
|
|
|
49617
50533
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49618
50534
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
49619
50535
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50536
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49620
50537
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49621
50538
|
}),
|
|
49622
50539
|
execute: (input, { client }) => {
|
|
@@ -49631,6 +50548,118 @@ const generatedFocusOperations = [
|
|
|
49631
50548
|
]));
|
|
49632
50549
|
}
|
|
49633
50550
|
},
|
|
50551
|
+
{
|
|
50552
|
+
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
50553
|
+
family: "focus",
|
|
50554
|
+
resource: "tasks",
|
|
50555
|
+
action: "groups-get-user-task-groups-by-project",
|
|
50556
|
+
title: "Groups Get User Task Groups By Project Tasks",
|
|
50557
|
+
description: "Groups Get User Task Groups By Project Tasks.",
|
|
50558
|
+
safety: "read",
|
|
50559
|
+
destructive: false,
|
|
50560
|
+
cli: {
|
|
50561
|
+
group: ["tasks", "groups"],
|
|
50562
|
+
command: "get-user-task-groups-by-project",
|
|
50563
|
+
interactive: "hidden"
|
|
50564
|
+
},
|
|
50565
|
+
mcp: { entityTool: "tasks" },
|
|
50566
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50567
|
+
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
50568
|
+
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50569
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
50570
|
+
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
50571
|
+
creator_id: /* @__PURE__ */ number$2(),
|
|
50572
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50573
|
+
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
50574
|
+
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
50575
|
+
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
50576
|
+
group_id: /* @__PURE__ */ number$2(),
|
|
50577
|
+
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50578
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50579
|
+
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50580
|
+
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50581
|
+
min_days: /* @__PURE__ */ unknown$1(),
|
|
50582
|
+
name: /* @__PURE__ */ unknown$1(),
|
|
50583
|
+
priority: /* @__PURE__ */ unknown$1(),
|
|
50584
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
50585
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
50586
|
+
source: /* @__PURE__ */ unknown$1(),
|
|
50587
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50588
|
+
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
50589
|
+
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
50590
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
50591
|
+
tag_id: /* @__PURE__ */ number$2(),
|
|
50592
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
50593
|
+
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50594
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
50595
|
+
}),
|
|
50596
|
+
execute: (input, { client }) => {
|
|
50597
|
+
const data = input;
|
|
50598
|
+
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
50599
|
+
client.httpClient,
|
|
50600
|
+
client.organizationId,
|
|
50601
|
+
client.workspaceIdNumber,
|
|
50602
|
+
data,
|
|
50603
|
+
void 0
|
|
50604
|
+
]));
|
|
50605
|
+
}
|
|
50606
|
+
},
|
|
50607
|
+
{
|
|
50608
|
+
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
50609
|
+
family: "focus",
|
|
50610
|
+
resource: "tasks",
|
|
50611
|
+
action: "groups-get-user-task-groups-by-team",
|
|
50612
|
+
title: "Groups Get User Task Groups By Team Tasks",
|
|
50613
|
+
description: "Groups Get User Task Groups By Team Tasks.",
|
|
50614
|
+
safety: "read",
|
|
50615
|
+
destructive: false,
|
|
50616
|
+
cli: {
|
|
50617
|
+
group: ["tasks", "groups"],
|
|
50618
|
+
command: "get-user-task-groups-by-team",
|
|
50619
|
+
interactive: "hidden"
|
|
50620
|
+
},
|
|
50621
|
+
mcp: { entityTool: "tasks" },
|
|
50622
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50623
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50624
|
+
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50625
|
+
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50626
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50627
|
+
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50628
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50629
|
+
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50630
|
+
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50631
|
+
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50632
|
+
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50633
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50634
|
+
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50635
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50636
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50637
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50638
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50639
|
+
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50640
|
+
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50641
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50642
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50643
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50644
|
+
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50645
|
+
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50646
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50647
|
+
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50648
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50649
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50650
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50651
|
+
}),
|
|
50652
|
+
execute: (input, { client }) => {
|
|
50653
|
+
const data = input;
|
|
50654
|
+
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
50655
|
+
client.httpClient,
|
|
50656
|
+
client.organizationId,
|
|
50657
|
+
client.workspaceIdNumber,
|
|
50658
|
+
data,
|
|
50659
|
+
void 0
|
|
50660
|
+
]));
|
|
50661
|
+
}
|
|
50662
|
+
},
|
|
49634
50663
|
{
|
|
49635
50664
|
id: "focus.tasks.groups-update",
|
|
49636
50665
|
family: "focus",
|
|
@@ -49836,7 +50865,6 @@ const generatedFocusOperations = [
|
|
|
49836
50865
|
name: /* @__PURE__ */ string$1(),
|
|
49837
50866
|
status_id: /* @__PURE__ */ number$2(),
|
|
49838
50867
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49839
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49840
50868
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
49841
50869
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49842
50870
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -49856,6 +50884,7 @@ const generatedFocusOperations = [
|
|
|
49856
50884
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49857
50885
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49858
50886
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50887
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49859
50888
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
49860
50889
|
}),
|
|
49861
50890
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -50766,6 +51795,40 @@ const generatedFocusOperations = [
|
|
|
50766
51795
|
]));
|
|
50767
51796
|
}
|
|
50768
51797
|
},
|
|
51798
|
+
{
|
|
51799
|
+
id: "focus.time-entries.groups-get-users",
|
|
51800
|
+
family: "focus",
|
|
51801
|
+
resource: "time-entries",
|
|
51802
|
+
action: "groups-get-users",
|
|
51803
|
+
title: "Groups Get Users Time Entries",
|
|
51804
|
+
description: "Groups Get Users Time Entries.",
|
|
51805
|
+
safety: "read",
|
|
51806
|
+
destructive: false,
|
|
51807
|
+
cli: {
|
|
51808
|
+
group: ["time-entries", "groups"],
|
|
51809
|
+
command: "get-users",
|
|
51810
|
+
interactive: "hidden"
|
|
51811
|
+
},
|
|
51812
|
+
mcp: { entityTool: "time-entries" },
|
|
51813
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51814
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51815
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
51816
|
+
page: /* @__PURE__ */ number$2(),
|
|
51817
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
51818
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51819
|
+
user_id: /* @__PURE__ */ number$2()
|
|
51820
|
+
}),
|
|
51821
|
+
execute: (input, { client }) => {
|
|
51822
|
+
const data = input;
|
|
51823
|
+
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
51824
|
+
client.httpClient,
|
|
51825
|
+
client.organizationId,
|
|
51826
|
+
client.workspaceIdNumber,
|
|
51827
|
+
data,
|
|
51828
|
+
void 0
|
|
51829
|
+
]));
|
|
51830
|
+
}
|
|
51831
|
+
},
|
|
50769
51832
|
{
|
|
50770
51833
|
id: "focus.time-entries.list",
|
|
50771
51834
|
family: "focus",
|
|
@@ -50950,6 +52013,42 @@ const generatedFocusOperations = [
|
|
|
50950
52013
|
inputSchema: emptySchema$1,
|
|
50951
52014
|
execute: (_input, { client }) => client.stopTracking()
|
|
50952
52015
|
},
|
|
52016
|
+
{
|
|
52017
|
+
id: "focus.time-entries.sync",
|
|
52018
|
+
family: "focus",
|
|
52019
|
+
resource: "time-entries",
|
|
52020
|
+
action: "sync",
|
|
52021
|
+
title: "Sync Time Entries",
|
|
52022
|
+
description: "Sync Time Entries.",
|
|
52023
|
+
safety: "update",
|
|
52024
|
+
destructive: false,
|
|
52025
|
+
cli: {
|
|
52026
|
+
group: ["time-entries"],
|
|
52027
|
+
command: "sync",
|
|
52028
|
+
interactive: "default"
|
|
52029
|
+
},
|
|
52030
|
+
mcp: { entityTool: "time-entries" },
|
|
52031
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52032
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
52033
|
+
payload: /* @__PURE__ */ looseObject({
|
|
52034
|
+
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
52035
|
+
client_updated_at: apiDateTimeString,
|
|
52036
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52037
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
52038
|
+
})
|
|
52039
|
+
}),
|
|
52040
|
+
execute: (input, { client }) => {
|
|
52041
|
+
const data = input;
|
|
52042
|
+
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
52043
|
+
client.httpClient,
|
|
52044
|
+
client.organizationId,
|
|
52045
|
+
client.workspaceIdNumber,
|
|
52046
|
+
data.client_uuid,
|
|
52047
|
+
data.payload ?? data.data ?? data,
|
|
52048
|
+
void 0
|
|
52049
|
+
]));
|
|
52050
|
+
}
|
|
52051
|
+
},
|
|
50953
52052
|
{
|
|
50954
52053
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
50955
52054
|
family: "focus",
|
|
@@ -50998,6 +52097,7 @@ const generatedFocusOperations = [
|
|
|
50998
52097
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50999
52098
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51000
52099
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52100
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51001
52101
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51002
52102
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51003
52103
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -51056,125 +52156,37 @@ const generatedFocusOperations = [
|
|
|
51056
52156
|
resource: "time-entries",
|
|
51057
52157
|
action: "update",
|
|
51058
52158
|
title: "Update Time Entries",
|
|
51059
|
-
description: "Update Time Entries.",
|
|
51060
|
-
safety: "update",
|
|
51061
|
-
destructive: false,
|
|
51062
|
-
cli: {
|
|
51063
|
-
group: ["time-entries"],
|
|
51064
|
-
command: "update",
|
|
51065
|
-
interactive: "default"
|
|
51066
|
-
},
|
|
51067
|
-
mcp: { entityTool: "time-entries" },
|
|
51068
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51069
|
-
payload: /* @__PURE__ */ looseObject({
|
|
51070
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
51071
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51072
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51073
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51074
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51075
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51076
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51077
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51078
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51079
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
51080
|
-
}),
|
|
51081
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
51082
|
-
}),
|
|
51083
|
-
execute: (input, { client }) => {
|
|
51084
|
-
const data = input;
|
|
51085
|
-
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
51086
|
-
client.httpClient,
|
|
51087
|
-
client.organizationId,
|
|
51088
|
-
client.workspaceIdNumber,
|
|
51089
|
-
data.time_entry_id,
|
|
51090
|
-
data.payload ?? data.data ?? data,
|
|
51091
|
-
void 0
|
|
51092
|
-
]));
|
|
51093
|
-
}
|
|
51094
|
-
},
|
|
51095
|
-
{
|
|
51096
|
-
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
51097
|
-
family: "focus",
|
|
51098
|
-
resource: "time-log-suggestions",
|
|
51099
|
-
action: "get-for-acalendar-event-title",
|
|
51100
|
-
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
51101
|
-
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
51102
|
-
safety: "update",
|
|
51103
|
-
destructive: false,
|
|
51104
|
-
cli: {
|
|
51105
|
-
group: ["time-log-suggestions"],
|
|
51106
|
-
command: "get-for-acalendar-event-title",
|
|
51107
|
-
interactive: "default"
|
|
51108
|
-
},
|
|
51109
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
51110
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
51111
|
-
execute: (input, { client }) => {
|
|
51112
|
-
const data = input;
|
|
51113
|
-
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
51114
|
-
client.httpClient,
|
|
51115
|
-
client.organizationId,
|
|
51116
|
-
client.workspaceIdNumber,
|
|
51117
|
-
data.payload ?? data.data ?? data,
|
|
51118
|
-
void 0
|
|
51119
|
-
]));
|
|
51120
|
-
}
|
|
51121
|
-
},
|
|
51122
|
-
{
|
|
51123
|
-
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
51124
|
-
family: "focus",
|
|
51125
|
-
resource: "time-log-suggestions",
|
|
51126
|
-
action: "get-for-multiple-calendar-event-titles",
|
|
51127
|
-
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
51128
|
-
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
51129
|
-
safety: "update",
|
|
51130
|
-
destructive: false,
|
|
51131
|
-
cli: {
|
|
51132
|
-
group: ["time-log-suggestions"],
|
|
51133
|
-
command: "get-for-multiple-calendar-event-titles",
|
|
51134
|
-
interactive: "default"
|
|
51135
|
-
},
|
|
51136
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
51137
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
51138
|
-
key: /* @__PURE__ */ string$1(),
|
|
51139
|
-
title: /* @__PURE__ */ string$1()
|
|
51140
|
-
})) }) }),
|
|
51141
|
-
execute: (input, { client }) => {
|
|
51142
|
-
const data = input;
|
|
51143
|
-
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
51144
|
-
client.httpClient,
|
|
51145
|
-
client.organizationId,
|
|
51146
|
-
client.workspaceIdNumber,
|
|
51147
|
-
data.payload ?? data.data ?? data,
|
|
51148
|
-
void 0
|
|
51149
|
-
]));
|
|
51150
|
-
}
|
|
51151
|
-
},
|
|
51152
|
-
{
|
|
51153
|
-
id: "focus.time-off.create-timeoff-for-ghost",
|
|
51154
|
-
family: "focus",
|
|
51155
|
-
resource: "time-off",
|
|
51156
|
-
action: "create-timeoff-for-ghost",
|
|
51157
|
-
title: "Create Timeoff For Ghost Time Off",
|
|
51158
|
-
description: "Create Timeoff For Ghost Time Off.",
|
|
51159
|
-
safety: "create",
|
|
52159
|
+
description: "Update Time Entries.",
|
|
52160
|
+
safety: "update",
|
|
51160
52161
|
destructive: false,
|
|
51161
52162
|
cli: {
|
|
51162
|
-
group: ["time-
|
|
51163
|
-
command: "
|
|
51164
|
-
interactive: "
|
|
52163
|
+
group: ["time-entries"],
|
|
52164
|
+
command: "update",
|
|
52165
|
+
interactive: "default"
|
|
51165
52166
|
},
|
|
51166
|
-
mcp: { entityTool: "time-
|
|
52167
|
+
mcp: { entityTool: "time-entries" },
|
|
51167
52168
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51168
|
-
|
|
51169
|
-
|
|
52169
|
+
payload: /* @__PURE__ */ looseObject({
|
|
52170
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52171
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52172
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52173
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52174
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52175
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52176
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52177
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52178
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52179
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52180
|
+
}),
|
|
52181
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
51170
52182
|
}),
|
|
51171
52183
|
execute: (input, { client }) => {
|
|
51172
52184
|
const data = input;
|
|
51173
|
-
return client.runGeneratedRequest("
|
|
52185
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
51174
52186
|
client.httpClient,
|
|
51175
52187
|
client.organizationId,
|
|
51176
52188
|
client.workspaceIdNumber,
|
|
51177
|
-
data.
|
|
52189
|
+
data.time_entry_id,
|
|
51178
52190
|
data.payload ?? data.data ?? data,
|
|
51179
52191
|
void 0
|
|
51180
52192
|
]));
|
|
@@ -51210,37 +52222,6 @@ const generatedFocusOperations = [
|
|
|
51210
52222
|
]));
|
|
51211
52223
|
}
|
|
51212
52224
|
},
|
|
51213
|
-
{
|
|
51214
|
-
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
51215
|
-
family: "focus",
|
|
51216
|
-
resource: "time-off",
|
|
51217
|
-
action: "delete-timeoff-for-ghost",
|
|
51218
|
-
title: "Delete Timeoff For Ghost Time Off",
|
|
51219
|
-
description: "Delete Timeoff For Ghost Time Off.",
|
|
51220
|
-
safety: "delete",
|
|
51221
|
-
destructive: true,
|
|
51222
|
-
cli: {
|
|
51223
|
-
group: ["time-off"],
|
|
51224
|
-
command: "delete-timeoff-for-ghost",
|
|
51225
|
-
interactive: "hidden"
|
|
51226
|
-
},
|
|
51227
|
-
mcp: { entityTool: "time-off" },
|
|
51228
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51229
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51230
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
51231
|
-
}),
|
|
51232
|
-
execute: (input, { client }) => {
|
|
51233
|
-
const data = input;
|
|
51234
|
-
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
51235
|
-
client.httpClient,
|
|
51236
|
-
client.organizationId,
|
|
51237
|
-
client.workspaceIdNumber,
|
|
51238
|
-
data.ghost_id,
|
|
51239
|
-
data.payload ?? data.data ?? data,
|
|
51240
|
-
void 0
|
|
51241
|
-
]));
|
|
51242
|
-
}
|
|
51243
|
-
},
|
|
51244
52225
|
{
|
|
51245
52226
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
51246
52227
|
family: "focus",
|
|
@@ -51271,38 +52252,6 @@ const generatedFocusOperations = [
|
|
|
51271
52252
|
]));
|
|
51272
52253
|
}
|
|
51273
52254
|
},
|
|
51274
|
-
{
|
|
51275
|
-
id: "focus.time-off.get-timeoff-for-ghost",
|
|
51276
|
-
family: "focus",
|
|
51277
|
-
resource: "time-off",
|
|
51278
|
-
action: "get-timeoff-for-ghost",
|
|
51279
|
-
title: "Get Timeoff For Ghost Time Off",
|
|
51280
|
-
description: "Get Timeoff For Ghost Time Off.",
|
|
51281
|
-
safety: "read",
|
|
51282
|
-
destructive: false,
|
|
51283
|
-
cli: {
|
|
51284
|
-
group: ["time-off"],
|
|
51285
|
-
command: "get-timeoff-for-ghost",
|
|
51286
|
-
interactive: "hidden"
|
|
51287
|
-
},
|
|
51288
|
-
mcp: { entityTool: "time-off" },
|
|
51289
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51290
|
-
from: /* @__PURE__ */ unknown$1(),
|
|
51291
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51292
|
-
to: /* @__PURE__ */ unknown$1()
|
|
51293
|
-
}),
|
|
51294
|
-
execute: (input, { client }) => {
|
|
51295
|
-
const data = input;
|
|
51296
|
-
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
51297
|
-
client.httpClient,
|
|
51298
|
-
client.organizationId,
|
|
51299
|
-
client.workspaceIdNumber,
|
|
51300
|
-
data.ghost_id,
|
|
51301
|
-
data,
|
|
51302
|
-
void 0
|
|
51303
|
-
]));
|
|
51304
|
-
}
|
|
51305
|
-
},
|
|
51306
52255
|
{
|
|
51307
52256
|
id: "focus.time-off.get-timeoff-for-user",
|
|
51308
52257
|
family: "focus",
|
|
@@ -51334,37 +52283,6 @@ const generatedFocusOperations = [
|
|
|
51334
52283
|
]));
|
|
51335
52284
|
}
|
|
51336
52285
|
},
|
|
51337
|
-
{
|
|
51338
|
-
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
51339
|
-
family: "focus",
|
|
51340
|
-
resource: "time-off",
|
|
51341
|
-
action: "get-timeoffs-by-ghost-ids",
|
|
51342
|
-
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
51343
|
-
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
51344
|
-
safety: "read",
|
|
51345
|
-
destructive: false,
|
|
51346
|
-
cli: {
|
|
51347
|
-
group: ["time-off"],
|
|
51348
|
-
command: "get-timeoffs-by-ghost-ids",
|
|
51349
|
-
interactive: "hidden"
|
|
51350
|
-
},
|
|
51351
|
-
mcp: { entityTool: "time-off" },
|
|
51352
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51353
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51354
|
-
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
51355
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
51356
|
-
}),
|
|
51357
|
-
execute: (input, { client }) => {
|
|
51358
|
-
const data = input;
|
|
51359
|
-
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
51360
|
-
client.httpClient,
|
|
51361
|
-
client.organizationId,
|
|
51362
|
-
client.workspaceIdNumber,
|
|
51363
|
-
data,
|
|
51364
|
-
void 0
|
|
51365
|
-
]));
|
|
51366
|
-
}
|
|
51367
|
-
},
|
|
51368
52286
|
{
|
|
51369
52287
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
51370
52288
|
family: "focus",
|
|
@@ -51395,37 +52313,6 @@ const generatedFocusOperations = [
|
|
|
51395
52313
|
]));
|
|
51396
52314
|
}
|
|
51397
52315
|
},
|
|
51398
|
-
{
|
|
51399
|
-
id: "focus.time-off.update-timeoff-for-ghost",
|
|
51400
|
-
family: "focus",
|
|
51401
|
-
resource: "time-off",
|
|
51402
|
-
action: "update-timeoff-for-ghost",
|
|
51403
|
-
title: "Update Timeoff For Ghost Time Off",
|
|
51404
|
-
description: "Update Timeoff For Ghost Time Off.",
|
|
51405
|
-
safety: "update",
|
|
51406
|
-
destructive: false,
|
|
51407
|
-
cli: {
|
|
51408
|
-
group: ["time-off"],
|
|
51409
|
-
command: "update-timeoff-for-ghost",
|
|
51410
|
-
interactive: "hidden"
|
|
51411
|
-
},
|
|
51412
|
-
mcp: { entityTool: "time-off" },
|
|
51413
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51414
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51415
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
51416
|
-
}),
|
|
51417
|
-
execute: (input, { client }) => {
|
|
51418
|
-
const data = input;
|
|
51419
|
-
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
51420
|
-
client.httpClient,
|
|
51421
|
-
client.organizationId,
|
|
51422
|
-
client.workspaceIdNumber,
|
|
51423
|
-
data.ghost_id,
|
|
51424
|
-
data.payload ?? data.data ?? data,
|
|
51425
|
-
void 0
|
|
51426
|
-
]));
|
|
51427
|
-
}
|
|
51428
|
-
},
|
|
51429
52316
|
{
|
|
51430
52317
|
id: "focus.time-off.update-timeoff-for-user",
|
|
51431
52318
|
family: "focus",
|
|
@@ -52457,6 +53344,7 @@ const generatedFocusOperations = [
|
|
|
52457
53344
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52458
53345
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52459
53346
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53347
|
+
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52460
53348
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52461
53349
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52462
53350
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -52558,37 +53446,6 @@ const generatedFocusOperations = [
|
|
|
52558
53446
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
52559
53447
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
52560
53448
|
},
|
|
52561
|
-
{
|
|
52562
|
-
id: "focus.working-hours.create-for-ghost",
|
|
52563
|
-
family: "focus",
|
|
52564
|
-
resource: "working-hours",
|
|
52565
|
-
action: "create-for-ghost",
|
|
52566
|
-
title: "Create For Ghost Working Hours",
|
|
52567
|
-
description: "Create For Ghost Working Hours.",
|
|
52568
|
-
safety: "create",
|
|
52569
|
-
destructive: false,
|
|
52570
|
-
cli: {
|
|
52571
|
-
group: ["working-hours"],
|
|
52572
|
-
command: "create-for-ghost",
|
|
52573
|
-
interactive: "hidden"
|
|
52574
|
-
},
|
|
52575
|
-
mcp: { entityTool: "working-hours" },
|
|
52576
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52577
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52578
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52579
|
-
}),
|
|
52580
|
-
execute: (input, { client }) => {
|
|
52581
|
-
const data = input;
|
|
52582
|
-
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
52583
|
-
client.httpClient,
|
|
52584
|
-
client.organizationId,
|
|
52585
|
-
client.workspaceIdNumber,
|
|
52586
|
-
data.ghost_id,
|
|
52587
|
-
data.payload ?? data.data ?? data,
|
|
52588
|
-
void 0
|
|
52589
|
-
]));
|
|
52590
|
-
}
|
|
52591
|
-
},
|
|
52592
53449
|
{
|
|
52593
53450
|
id: "focus.working-hours.create-for-user",
|
|
52594
53451
|
family: "focus",
|
|
@@ -52619,37 +53476,6 @@ const generatedFocusOperations = [
|
|
|
52619
53476
|
]));
|
|
52620
53477
|
}
|
|
52621
53478
|
},
|
|
52622
|
-
{
|
|
52623
|
-
id: "focus.working-hours.delete-for-ghost",
|
|
52624
|
-
family: "focus",
|
|
52625
|
-
resource: "working-hours",
|
|
52626
|
-
action: "delete-for-ghost",
|
|
52627
|
-
title: "Delete For Ghost Working Hours",
|
|
52628
|
-
description: "Delete For Ghost Working Hours.",
|
|
52629
|
-
safety: "delete",
|
|
52630
|
-
destructive: true,
|
|
52631
|
-
cli: {
|
|
52632
|
-
group: ["working-hours"],
|
|
52633
|
-
command: "delete-for-ghost",
|
|
52634
|
-
interactive: "hidden"
|
|
52635
|
-
},
|
|
52636
|
-
mcp: { entityTool: "working-hours" },
|
|
52637
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52638
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52639
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52640
|
-
}),
|
|
52641
|
-
execute: (input, { client }) => {
|
|
52642
|
-
const data = input;
|
|
52643
|
-
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
52644
|
-
client.httpClient,
|
|
52645
|
-
client.organizationId,
|
|
52646
|
-
client.workspaceIdNumber,
|
|
52647
|
-
data.ghost_id,
|
|
52648
|
-
data.payload ?? data.data ?? data,
|
|
52649
|
-
void 0
|
|
52650
|
-
]));
|
|
52651
|
-
}
|
|
52652
|
-
},
|
|
52653
53479
|
{
|
|
52654
53480
|
id: "focus.working-hours.delete-for-user",
|
|
52655
53481
|
family: "focus",
|
|
@@ -52680,33 +53506,6 @@ const generatedFocusOperations = [
|
|
|
52680
53506
|
]));
|
|
52681
53507
|
}
|
|
52682
53508
|
},
|
|
52683
|
-
{
|
|
52684
|
-
id: "focus.working-hours.get-for-ghost",
|
|
52685
|
-
family: "focus",
|
|
52686
|
-
resource: "working-hours",
|
|
52687
|
-
action: "get-for-ghost",
|
|
52688
|
-
title: "Get For Ghost Working Hours",
|
|
52689
|
-
description: "Get For Ghost Working Hours.",
|
|
52690
|
-
safety: "read",
|
|
52691
|
-
destructive: false,
|
|
52692
|
-
cli: {
|
|
52693
|
-
group: ["working-hours"],
|
|
52694
|
-
command: "get-for-ghost",
|
|
52695
|
-
interactive: "available"
|
|
52696
|
-
},
|
|
52697
|
-
mcp: { entityTool: "working-hours" },
|
|
52698
|
-
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
52699
|
-
execute: (input, { client }) => {
|
|
52700
|
-
const data = input;
|
|
52701
|
-
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
52702
|
-
client.httpClient,
|
|
52703
|
-
client.organizationId,
|
|
52704
|
-
client.workspaceIdNumber,
|
|
52705
|
-
data.ghost_id,
|
|
52706
|
-
void 0
|
|
52707
|
-
]));
|
|
52708
|
-
}
|
|
52709
|
-
},
|
|
52710
53509
|
{
|
|
52711
53510
|
id: "focus.working-hours.get-for-user",
|
|
52712
53511
|
family: "focus",
|
|
@@ -52733,37 +53532,6 @@ const generatedFocusOperations = [
|
|
|
52733
53532
|
]));
|
|
52734
53533
|
}
|
|
52735
53534
|
},
|
|
52736
|
-
{
|
|
52737
|
-
id: "focus.working-hours.update-for-ghost",
|
|
52738
|
-
family: "focus",
|
|
52739
|
-
resource: "working-hours",
|
|
52740
|
-
action: "update-for-ghost",
|
|
52741
|
-
title: "Update For Ghost Working Hours",
|
|
52742
|
-
description: "Update For Ghost Working Hours.",
|
|
52743
|
-
safety: "update",
|
|
52744
|
-
destructive: false,
|
|
52745
|
-
cli: {
|
|
52746
|
-
group: ["working-hours"],
|
|
52747
|
-
command: "update-for-ghost",
|
|
52748
|
-
interactive: "hidden"
|
|
52749
|
-
},
|
|
52750
|
-
mcp: { entityTool: "working-hours" },
|
|
52751
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52752
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52753
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52754
|
-
}),
|
|
52755
|
-
execute: (input, { client }) => {
|
|
52756
|
-
const data = input;
|
|
52757
|
-
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
52758
|
-
client.httpClient,
|
|
52759
|
-
client.organizationId,
|
|
52760
|
-
client.workspaceIdNumber,
|
|
52761
|
-
data.ghost_id,
|
|
52762
|
-
data.payload ?? data.data ?? data,
|
|
52763
|
-
void 0
|
|
52764
|
-
]));
|
|
52765
|
-
}
|
|
52766
|
-
},
|
|
52767
53535
|
{
|
|
52768
53536
|
id: "focus.working-hours.update-for-user",
|
|
52769
53537
|
family: "focus",
|
|
@@ -52838,6 +53606,50 @@ const generatedFocusOperations = [
|
|
|
52838
53606
|
void 0
|
|
52839
53607
|
]))
|
|
52840
53608
|
},
|
|
53609
|
+
{
|
|
53610
|
+
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
53611
|
+
family: "focus",
|
|
53612
|
+
resource: "workspace-settings",
|
|
53613
|
+
action: "get-workspace-export-branding",
|
|
53614
|
+
title: "Get Workspace Export Branding Workspace Settings",
|
|
53615
|
+
description: "Get Workspace Export Branding Workspace Settings.",
|
|
53616
|
+
safety: "read",
|
|
53617
|
+
destructive: false,
|
|
53618
|
+
cli: {
|
|
53619
|
+
group: ["workspace-settings"],
|
|
53620
|
+
command: "get-workspace-export-branding",
|
|
53621
|
+
interactive: "hidden"
|
|
53622
|
+
},
|
|
53623
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53624
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53625
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
53626
|
+
client.httpClient,
|
|
53627
|
+
client.workspaceIdNumber,
|
|
53628
|
+
void 0
|
|
53629
|
+
]))
|
|
53630
|
+
},
|
|
53631
|
+
{
|
|
53632
|
+
id: "focus.workspace-settings.get-workspace-watermark",
|
|
53633
|
+
family: "focus",
|
|
53634
|
+
resource: "workspace-settings",
|
|
53635
|
+
action: "get-workspace-watermark",
|
|
53636
|
+
title: "Get Workspace Watermark Workspace Settings",
|
|
53637
|
+
description: "Get Workspace Watermark Workspace Settings.",
|
|
53638
|
+
safety: "read",
|
|
53639
|
+
destructive: false,
|
|
53640
|
+
cli: {
|
|
53641
|
+
group: ["workspace-settings"],
|
|
53642
|
+
command: "get-workspace-watermark",
|
|
53643
|
+
interactive: "hidden"
|
|
53644
|
+
},
|
|
53645
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53646
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53647
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
53648
|
+
client.httpClient,
|
|
53649
|
+
client.workspaceIdNumber,
|
|
53650
|
+
void 0
|
|
53651
|
+
]))
|
|
53652
|
+
},
|
|
52841
53653
|
{
|
|
52842
53654
|
id: "focus.workspace-settings.list",
|
|
52843
53655
|
family: "focus",
|
|
@@ -52912,6 +53724,32 @@ const generatedFocusOperations = [
|
|
|
52912
53724
|
]));
|
|
52913
53725
|
}
|
|
52914
53726
|
},
|
|
53727
|
+
{
|
|
53728
|
+
id: "focus.workspace-settings.update-workspace-watermark",
|
|
53729
|
+
family: "focus",
|
|
53730
|
+
resource: "workspace-settings",
|
|
53731
|
+
action: "update-workspace-watermark",
|
|
53732
|
+
title: "Update Workspace Watermark Workspace Settings",
|
|
53733
|
+
description: "Update Workspace Watermark Workspace Settings.",
|
|
53734
|
+
safety: "update",
|
|
53735
|
+
destructive: false,
|
|
53736
|
+
cli: {
|
|
53737
|
+
group: ["workspace-settings"],
|
|
53738
|
+
command: "update-workspace-watermark",
|
|
53739
|
+
interactive: "default"
|
|
53740
|
+
},
|
|
53741
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53742
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
53743
|
+
execute: (input, { client }) => {
|
|
53744
|
+
const data = input;
|
|
53745
|
+
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
53746
|
+
client.httpClient,
|
|
53747
|
+
client.workspaceIdNumber,
|
|
53748
|
+
data.payload ?? data.data ?? data,
|
|
53749
|
+
void 0
|
|
53750
|
+
]));
|
|
53751
|
+
}
|
|
53752
|
+
},
|
|
52915
53753
|
{
|
|
52916
53754
|
id: "focus.workspace.get-context",
|
|
52917
53755
|
family: "focus",
|
|
@@ -54039,7 +54877,7 @@ function registerWorkspaceTools(server) {
|
|
|
54039
54877
|
//#region src/package-version.ts
|
|
54040
54878
|
function mcpPackageVersion() {
|
|
54041
54879
|
try {
|
|
54042
|
-
return "1.11.
|
|
54880
|
+
return "1.11.62";
|
|
54043
54881
|
} catch {
|
|
54044
54882
|
return "unknown";
|
|
54045
54883
|
}
|
|
@@ -54214,7 +55052,7 @@ import_main.default.config({
|
|
|
54214
55052
|
quiet: true,
|
|
54215
55053
|
ignore: ["MISSING_ENV_FILE"]
|
|
54216
55054
|
});
|
|
54217
|
-
const packageVersion = "1.11.
|
|
55055
|
+
const packageVersion = "1.11.62";
|
|
54218
55056
|
function resolvePublicUrls() {
|
|
54219
55057
|
return {
|
|
54220
55058
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -54279,4 +55117,4 @@ function bootstrapServer(options = {}) {
|
|
|
54279
55117
|
//#endregion
|
|
54280
55118
|
export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
54281
55119
|
|
|
54282
|
-
//# sourceMappingURL=src-
|
|
55120
|
+
//# sourceMappingURL=src-DwIKkKS1.js.map
|