@togglhq/mcp 1.11.59 → 1.11.60
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-CGE3aOAk.js → src-DMwsvjQu.js} +581 -1419
- package/package.json +1 -1
|
@@ -34645,7 +34645,11 @@ function safeParse(schema, input, config$1) {
|
|
|
34645
34645
|
}
|
|
34646
34646
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
34647
34647
|
id: /* @__PURE__ */ number(),
|
|
34648
|
-
type: /* @__PURE__ */ picklist([
|
|
34648
|
+
type: /* @__PURE__ */ picklist([
|
|
34649
|
+
"user",
|
|
34650
|
+
"ghost",
|
|
34651
|
+
"team"
|
|
34652
|
+
])
|
|
34649
34653
|
});
|
|
34650
34654
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
34651
34655
|
id: /* @__PURE__ */ number(),
|
|
@@ -34687,8 +34691,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34687
34691
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34688
34692
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
34689
34693
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
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.")))
|
|
34694
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
34692
34695
|
});
|
|
34693
34696
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
34694
34697
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -34761,7 +34764,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34761
34764
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34762
34765
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34763
34766
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34764
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
34767
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34765
34768
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34766
34769
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34767
34770
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34769,6 +34772,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34769
34772
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34770
34773
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34771
34774
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34775
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34772
34776
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34773
34777
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34774
34778
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34778,7 +34782,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34778
34782
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34779
34783
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34780
34784
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34781
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34782
34785
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34783
34786
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34784
34787
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34822,7 +34825,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34822
34825
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34823
34826
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34824
34827
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34825
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
34828
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34826
34829
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34827
34830
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34828
34831
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34830,6 +34833,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34830
34833
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34831
34834
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34832
34835
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34836
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34833
34837
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34834
34838
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34835
34839
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34840,7 +34844,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34840
34844
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34841
34845
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34842
34846
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34843
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34844
34847
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34845
34848
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34846
34849
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34995,7 +34998,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
|
|
|
34995
34998
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34996
34999
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34997
35000
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34998
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35001
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
34999
35002
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35000
35003
|
});
|
|
35001
35004
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
@@ -35021,7 +35024,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
35021
35024
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
35022
35025
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35023
35026
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35024
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35027
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
35025
35028
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35026
35029
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35027
35030
|
});
|
|
@@ -35144,7 +35147,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35144
35147
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35145
35148
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35146
35149
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
35147
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35150
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
35148
35151
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35149
35152
|
})),
|
|
35150
35153
|
page: /* @__PURE__ */ number(),
|
|
@@ -35187,7 +35190,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35187
35190
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
35188
35191
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35189
35192
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35190
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35193
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
35191
35194
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35192
35195
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35193
35196
|
})),
|
|
@@ -35199,15 +35202,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
35199
35202
|
id: /* @__PURE__ */ number(),
|
|
35200
35203
|
name: /* @__PURE__ */ string(),
|
|
35201
35204
|
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."))),
|
|
35203
35205
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35204
35206
|
deleted_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.")))
|
|
35207
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35211
35208
|
});
|
|
35212
35209
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
35213
35210
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -35218,8 +35215,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
35218
35215
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
35219
35216
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
35220
35217
|
account_locked_at: /* @__PURE__ */ string(),
|
|
35221
|
-
accounts_role_id: /* @__PURE__ */ number(),
|
|
35222
35218
|
active: /* @__PURE__ */ boolean(),
|
|
35219
|
+
admin: /* @__PURE__ */ boolean(),
|
|
35223
35220
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
35224
35221
|
created_at: /* @__PURE__ */ string(),
|
|
35225
35222
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -35268,9 +35265,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
35268
35265
|
track_role_id: /* @__PURE__ */ number(),
|
|
35269
35266
|
work_role_id: /* @__PURE__ */ number(),
|
|
35270
35267
|
workspace_user_id: /* @__PURE__ */ number()
|
|
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.")))
|
|
35268
|
+
}))
|
|
35274
35269
|
});
|
|
35275
35270
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35276
35271
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -35347,7 +35342,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35347
35342
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35348
35343
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35349
35344
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35350
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
35345
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35346
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35351
35347
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35352
35348
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35353
35349
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -35363,7 +35359,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35363
35359
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35364
35360
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35365
35361
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35366
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35367
35362
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35368
35363
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35369
35364
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35373,23 +35368,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35373
35368
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35374
35369
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
35375
35370
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
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.")))
|
|
35371
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
35378
35372
|
});
|
|
35379
35373
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35380
35374
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35381
35375
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
35382
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35383
35376
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35384
35377
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35385
35378
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35386
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
35379
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35387
35380
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35388
35381
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35389
35382
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35390
35383
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35391
35384
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35392
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
35385
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35386
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35393
35387
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35394
35388
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35395
35389
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35406,7 +35400,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35406
35400
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35407
35401
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35408
35402
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35409
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35410
35403
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35411
35404
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35412
35405
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35415,17 +35408,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35415
35408
|
});
|
|
35416
35409
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
35417
35410
|
id: /* @__PURE__ */ number(),
|
|
35418
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35419
35411
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35420
35412
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35421
35413
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35422
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
35414
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35423
35415
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35424
35416
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35425
35417
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35426
35418
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35427
35419
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35428
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
35420
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35421
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35429
35422
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35430
35423
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35431
35424
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35442,7 +35435,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35442
35435
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35443
35436
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35444
35437
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35445
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35446
35438
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35447
35439
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35448
35440
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37388,7 +37380,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37388
37380
|
})
|
|
37389
37381
|
}).json();
|
|
37390
37382
|
}
|
|
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
|
|
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) {
|
|
37392
37384
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37393
37385
|
signal,
|
|
37394
37386
|
searchParams: buildSearchParams$2({
|
|
@@ -37408,10 +37400,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37408
37400
|
include_working_hours,
|
|
37409
37401
|
include_rates,
|
|
37410
37402
|
pinned_ids,
|
|
37411
|
-
has_group
|
|
37412
|
-
cf_filter,
|
|
37413
|
-
include_custom_fields,
|
|
37414
|
-
include_calendar_integration
|
|
37403
|
+
has_group
|
|
37415
37404
|
}, true)
|
|
37416
37405
|
});
|
|
37417
37406
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -37430,7 +37419,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
37430
37419
|
}
|
|
37431
37420
|
//#endregion
|
|
37432
37421
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
37433
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id
|
|
37422
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
37434
37423
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
37435
37424
|
signal,
|
|
37436
37425
|
searchParams: buildSearchParams$2({
|
|
@@ -37438,10 +37427,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
37438
37427
|
page,
|
|
37439
37428
|
per_page,
|
|
37440
37429
|
order_by,
|
|
37441
|
-
tag_id
|
|
37442
|
-
include_usage,
|
|
37443
|
-
include_archived,
|
|
37444
|
-
archived
|
|
37430
|
+
tag_id
|
|
37445
37431
|
})
|
|
37446
37432
|
}).json();
|
|
37447
37433
|
}
|
|
@@ -37451,42 +37437,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
37451
37437
|
json: data
|
|
37452
37438
|
}).json();
|
|
37453
37439
|
}
|
|
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
|
-
}
|
|
37490
37440
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
37491
37441
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37492
37442
|
}
|
|
@@ -37499,18 +37449,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
37499
37449
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
37500
37450
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37501
37451
|
}
|
|
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
|
-
}
|
|
37505
37452
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
37506
37453
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
37507
37454
|
}
|
|
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
|
-
}
|
|
37511
37455
|
//#endregion
|
|
37512
37456
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
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,
|
|
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) {
|
|
37514
37458
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37515
37459
|
signal,
|
|
37516
37460
|
searchParams: buildSearchParams$2({
|
|
@@ -37532,7 +37476,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
37532
37476
|
include_rates,
|
|
37533
37477
|
include_rollover,
|
|
37534
37478
|
include_idle_recurring_templates,
|
|
37535
|
-
collapse_recurring,
|
|
37536
37479
|
include_drafts,
|
|
37537
37480
|
include_locked_private,
|
|
37538
37481
|
start_date,
|
|
@@ -37763,7 +37706,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37763
37706
|
}
|
|
37764
37707
|
//#endregion
|
|
37765
37708
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
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) {
|
|
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, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
|
|
37767
37710
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37768
37711
|
signal,
|
|
37769
37712
|
searchParams: buildSearchParams$2({
|
|
@@ -37811,8 +37754,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37811
37754
|
recurring_task_ids,
|
|
37812
37755
|
client_id,
|
|
37813
37756
|
include_rates,
|
|
37757
|
+
include_ghost_assignees,
|
|
37814
37758
|
include_assignees,
|
|
37815
37759
|
include_parent_matches,
|
|
37760
|
+
assignee_ghost_id,
|
|
37816
37761
|
disable_aggregations,
|
|
37817
37762
|
cf_filter
|
|
37818
37763
|
})
|
|
@@ -37898,7 +37843,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
37898
37843
|
})
|
|
37899
37844
|
}).json();
|
|
37900
37845
|
}
|
|
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,
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37902
37847
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37903
37848
|
signal,
|
|
37904
37849
|
searchParams: buildSearchParams$2({
|
|
@@ -37911,14 +37856,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37911
37856
|
dates_overlap_end,
|
|
37912
37857
|
recurring_task_ids,
|
|
37913
37858
|
team_id,
|
|
37914
|
-
assignee_team_id,
|
|
37915
37859
|
assignee_user_id,
|
|
37916
37860
|
tag_id,
|
|
37861
|
+
include_ghost_assignees,
|
|
37917
37862
|
include_assignees
|
|
37918
37863
|
})
|
|
37919
37864
|
}).json();
|
|
37920
37865
|
}
|
|
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) {
|
|
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, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
|
|
37922
37867
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37923
37868
|
signal,
|
|
37924
37869
|
searchParams: buildSearchParams$2({
|
|
@@ -37962,15 +37907,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37962
37907
|
recurring,
|
|
37963
37908
|
recurring_task_ids,
|
|
37964
37909
|
client_id,
|
|
37910
|
+
include_ghost_assignees,
|
|
37965
37911
|
include_assignees,
|
|
37912
|
+
assignee_ghost_id,
|
|
37966
37913
|
cf_filter
|
|
37967
37914
|
})
|
|
37968
37915
|
}).json();
|
|
37969
37916
|
}
|
|
37970
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
37917
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37971
37918
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
37972
37919
|
signal,
|
|
37973
|
-
searchParams: buildSearchParams$2({
|
|
37920
|
+
searchParams: buildSearchParams$2({
|
|
37921
|
+
include_ghost_assignees,
|
|
37922
|
+
include_assignees
|
|
37923
|
+
})
|
|
37974
37924
|
}).json();
|
|
37975
37925
|
}
|
|
37976
37926
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -38001,7 +37951,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
38001
37951
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
38002
37952
|
}).json();
|
|
38003
37953
|
}
|
|
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) {
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
38005
37955
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
38006
37956
|
signal,
|
|
38007
37957
|
searchParams: buildSearchParams$2({
|
|
@@ -38014,11 +37964,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
38014
37964
|
team_id,
|
|
38015
37965
|
assignee_user_id,
|
|
38016
37966
|
tag_id,
|
|
37967
|
+
include_ghost_assignees,
|
|
38017
37968
|
include_assignees
|
|
38018
37969
|
})
|
|
38019
37970
|
}).json();
|
|
38020
37971
|
}
|
|
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) {
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
38022
37973
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
38023
37974
|
signal,
|
|
38024
37975
|
searchParams: buildSearchParams$2({
|
|
@@ -38031,6 +37982,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
38031
37982
|
team_id,
|
|
38032
37983
|
assignee_user_id,
|
|
38033
37984
|
tag_id,
|
|
37985
|
+
include_ghost_assignees,
|
|
38034
37986
|
include_assignees
|
|
38035
37987
|
})
|
|
38036
37988
|
}).json();
|
|
@@ -38230,12 +38182,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38230
38182
|
})
|
|
38231
38183
|
}).json();
|
|
38232
38184
|
}
|
|
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
|
-
}
|
|
38239
38185
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38240
38186
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38241
38187
|
signal,
|
|
@@ -42154,21 +42100,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
42154
42100
|
}
|
|
42155
42101
|
//#endregion
|
|
42156
42102
|
//#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
|
-
}
|
|
42172
42103
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42173
42104
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42174
42105
|
signal,
|
|
@@ -42327,22 +42258,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42327
42258
|
}
|
|
42328
42259
|
//#endregion
|
|
42329
42260
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42330
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts
|
|
42261
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, ghost_id, private: private_, task_source, unit, include_drafts }, signal) {
|
|
42331
42262
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42332
42263
|
signal,
|
|
42333
42264
|
searchParams: buildSearchParams$2({
|
|
42334
42265
|
user_id,
|
|
42335
42266
|
start_date,
|
|
42336
42267
|
end_date,
|
|
42268
|
+
ghost_id,
|
|
42337
42269
|
private: private_,
|
|
42338
42270
|
task_source,
|
|
42339
42271
|
unit,
|
|
42340
|
-
include_drafts
|
|
42341
|
-
include_task_estimates
|
|
42272
|
+
include_drafts
|
|
42342
42273
|
})
|
|
42343
42274
|
}).json();
|
|
42344
42275
|
}
|
|
42345
42276
|
//#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
|
|
42346
42288
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
42347
42289
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
42348
42290
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -42425,12 +42367,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
42425
42367
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
42426
42368
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
42427
42369
|
}
|
|
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
|
-
}
|
|
42434
42370
|
//#endregion
|
|
42435
42371
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42436
42372
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -42656,7 +42592,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42656
42592
|
}
|
|
42657
42593
|
//#endregion
|
|
42658
42594
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
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,
|
|
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) {
|
|
42660
42596
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42661
42597
|
signal,
|
|
42662
42598
|
searchParams: buildSearchParams$2({
|
|
@@ -42668,7 +42604,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42668
42604
|
include_group_totals,
|
|
42669
42605
|
include_unassigned,
|
|
42670
42606
|
archived,
|
|
42671
|
-
completed,
|
|
42672
42607
|
private: private_,
|
|
42673
42608
|
name,
|
|
42674
42609
|
client_id,
|
|
@@ -42680,7 +42615,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42680
42615
|
start_date,
|
|
42681
42616
|
end_date,
|
|
42682
42617
|
user_id,
|
|
42683
|
-
only_me,
|
|
42684
42618
|
include_drafts,
|
|
42685
42619
|
cf_filter
|
|
42686
42620
|
})
|
|
@@ -42796,14 +42730,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
42796
42730
|
}
|
|
42797
42731
|
//#endregion
|
|
42798
42732
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
42799
|
-
async function
|
|
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) {
|
|
42733
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
|
|
42803
42734
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
42804
42735
|
signal,
|
|
42805
42736
|
json: data,
|
|
42806
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
42807
42737
|
searchParams: buildSearchParams$2({
|
|
42808
42738
|
response_format,
|
|
42809
42739
|
include_dicts
|
|
@@ -42827,36 +42757,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
42827
42757
|
json: data
|
|
42828
42758
|
}).json();
|
|
42829
42759
|
}
|
|
42830
|
-
async function
|
|
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) {
|
|
42760
|
+
async function getWorkloadReport(httpClient, workspace_id, data, signal) {
|
|
42837
42761
|
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`, {
|
|
42853
42762
|
signal,
|
|
42854
42763
|
json: data
|
|
42855
42764
|
}).json();
|
|
42856
42765
|
}
|
|
42857
|
-
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
42858
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
42859
|
-
}
|
|
42860
42766
|
//#endregion
|
|
42861
42767
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
42862
42768
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -42889,7 +42795,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42889
42795
|
}
|
|
42890
42796
|
//#endregion
|
|
42891
42797
|
//#region ../focus-queries/dist/search/requests.ts
|
|
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
|
|
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) {
|
|
42893
42799
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42894
42800
|
signal,
|
|
42895
42801
|
searchParams: buildSearchParams$2({
|
|
@@ -42901,56 +42807,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42901
42807
|
task_id,
|
|
42902
42808
|
include_drafts,
|
|
42903
42809
|
exclude_calendar_events,
|
|
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
|
|
42810
|
+
group_by_tags
|
|
42915
42811
|
})
|
|
42916
42812
|
}).json();
|
|
42917
42813
|
}
|
|
42918
42814
|
//#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
|
|
42954
42815
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42955
42816
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
42956
42817
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -43006,77 +42867,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
43006
42867
|
}
|
|
43007
42868
|
//#endregion
|
|
43008
42869
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
43009
|
-
async function
|
|
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) {
|
|
42870
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
|
|
43080
42871
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43081
42872
|
signal,
|
|
43082
42873
|
searchParams: buildSearchParams$2({
|
|
@@ -43100,14 +42891,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43100
42891
|
end_date_to,
|
|
43101
42892
|
private: private_,
|
|
43102
42893
|
exclude_empty,
|
|
43103
|
-
|
|
43104
|
-
include_unmaterialized,
|
|
43105
|
-
collapse_recurring,
|
|
42894
|
+
include_ghosts,
|
|
43106
42895
|
include_assignees,
|
|
43107
42896
|
min_days,
|
|
43108
42897
|
include_drafts,
|
|
43109
42898
|
cf_filter,
|
|
43110
|
-
user_cf_filter,
|
|
43111
42899
|
page,
|
|
43112
42900
|
per_page,
|
|
43113
42901
|
order_by
|
|
@@ -43146,18 +42934,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
43146
42934
|
}).json();
|
|
43147
42935
|
}
|
|
43148
42936
|
//#endregion
|
|
43149
|
-
//#region ../focus-queries/dist/time-
|
|
43150
|
-
async function
|
|
43151
|
-
return await httpClient.
|
|
42937
|
+
//#region ../focus-queries/dist/time-log-suggestions/requests.ts
|
|
42938
|
+
async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
|
|
42939
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
|
|
43152
42940
|
signal,
|
|
43153
|
-
|
|
43154
|
-
|
|
43155
|
-
|
|
43156
|
-
|
|
43157
|
-
|
|
43158
|
-
|
|
43159
|
-
|
|
43160
|
-
})
|
|
42941
|
+
json: data
|
|
42942
|
+
}).json();
|
|
42943
|
+
}
|
|
42944
|
+
async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
|
|
42945
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
|
|
42946
|
+
signal,
|
|
42947
|
+
json: data
|
|
43161
42948
|
}).json();
|
|
43162
42949
|
}
|
|
43163
42950
|
//#endregion
|
|
@@ -43199,6 +42986,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
43199
42986
|
json: data
|
|
43200
42987
|
}).json();
|
|
43201
42988
|
}
|
|
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
|
+
}
|
|
43202
43026
|
//#endregion
|
|
43203
43027
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43204
43028
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43391,6 +43215,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
43391
43215
|
json: data
|
|
43392
43216
|
}).json();
|
|
43393
43217
|
}
|
|
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
|
+
}
|
|
43394
43239
|
//#endregion
|
|
43395
43240
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
43396
43241
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -43407,9 +43252,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
43407
43252
|
json: data
|
|
43408
43253
|
}).json();
|
|
43409
43254
|
}
|
|
43410
|
-
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
43411
|
-
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
43412
|
-
}
|
|
43413
43255
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
43414
43256
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
43415
43257
|
}
|
|
@@ -43422,15 +43264,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
43422
43264
|
json: data
|
|
43423
43265
|
}).json();
|
|
43424
43266
|
}
|
|
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
|
-
}
|
|
43434
43267
|
//#endregion
|
|
43435
43268
|
//#region ../operations/build/index.public.js
|
|
43436
43269
|
function callGeneratedRequest(request, args) {
|
|
@@ -43566,17 +43399,17 @@ const generatedFocusOperations = [
|
|
|
43566
43399
|
]))
|
|
43567
43400
|
},
|
|
43568
43401
|
{
|
|
43569
|
-
id: "focus.audit-log.
|
|
43402
|
+
id: "focus.audit-log.list",
|
|
43570
43403
|
family: "focus",
|
|
43571
43404
|
resource: "audit-log",
|
|
43572
|
-
action: "
|
|
43573
|
-
title: "
|
|
43574
|
-
description: "
|
|
43405
|
+
action: "list",
|
|
43406
|
+
title: "List Audit Log",
|
|
43407
|
+
description: "List Audit Log.",
|
|
43575
43408
|
safety: "read",
|
|
43576
43409
|
destructive: false,
|
|
43577
43410
|
cli: {
|
|
43578
43411
|
group: ["audit-log"],
|
|
43579
|
-
command: "
|
|
43412
|
+
command: "list",
|
|
43580
43413
|
interactive: "hidden"
|
|
43581
43414
|
},
|
|
43582
43415
|
mcp: { entityTool: "audit-log" },
|
|
@@ -43590,14 +43423,14 @@ const generatedFocusOperations = [
|
|
|
43590
43423
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43591
43424
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43592
43425
|
to: /* @__PURE__ */ string$1(),
|
|
43593
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43594
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43426
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43595
43427
|
}),
|
|
43596
43428
|
execute: (input, { client }) => {
|
|
43597
43429
|
const data = input;
|
|
43598
|
-
return client.runGeneratedRequest("
|
|
43430
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
43599
43431
|
client.httpClient,
|
|
43600
43432
|
client.organizationId,
|
|
43433
|
+
client.workspaceIdNumber,
|
|
43601
43434
|
data.from,
|
|
43602
43435
|
data.to,
|
|
43603
43436
|
data,
|
|
@@ -43606,79 +43439,87 @@ const generatedFocusOperations = [
|
|
|
43606
43439
|
}
|
|
43607
43440
|
},
|
|
43608
43441
|
{
|
|
43609
|
-
id: "focus.
|
|
43442
|
+
id: "focus.capacities.get-computations",
|
|
43610
43443
|
family: "focus",
|
|
43611
|
-
resource: "
|
|
43612
|
-
action: "
|
|
43613
|
-
title: "
|
|
43614
|
-
description: "
|
|
43444
|
+
resource: "capacities",
|
|
43445
|
+
action: "get-computations",
|
|
43446
|
+
title: "Get Computations Capacities",
|
|
43447
|
+
description: "Get Computations Capacities.",
|
|
43615
43448
|
safety: "read",
|
|
43616
43449
|
destructive: false,
|
|
43617
43450
|
cli: {
|
|
43618
|
-
group: ["
|
|
43619
|
-
command: "
|
|
43451
|
+
group: ["capacities"],
|
|
43452
|
+
command: "get-computations",
|
|
43620
43453
|
interactive: "hidden"
|
|
43621
43454
|
},
|
|
43622
|
-
mcp: { entityTool: "
|
|
43455
|
+
mcp: { entityTool: "capacities" },
|
|
43623
43456
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43624
|
-
|
|
43625
|
-
|
|
43626
|
-
|
|
43627
|
-
|
|
43628
|
-
|
|
43629
|
-
|
|
43630
|
-
|
|
43631
|
-
|
|
43632
|
-
|
|
43633
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43457
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43458
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
43459
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
43460
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
43461
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
43462
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43463
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
43464
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
43465
|
+
user_id: /* @__PURE__ */ number$2()
|
|
43634
43466
|
}),
|
|
43635
43467
|
execute: (input, { client }) => {
|
|
43636
43468
|
const data = input;
|
|
43637
|
-
return client.runGeneratedRequest("
|
|
43469
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
43638
43470
|
client.httpClient,
|
|
43639
43471
|
client.organizationId,
|
|
43640
43472
|
client.workspaceIdNumber,
|
|
43641
|
-
data.
|
|
43642
|
-
data.to,
|
|
43473
|
+
data.group,
|
|
43643
43474
|
data,
|
|
43644
43475
|
void 0
|
|
43645
43476
|
]));
|
|
43646
43477
|
}
|
|
43647
43478
|
},
|
|
43648
43479
|
{
|
|
43649
|
-
id: "focus.capacities.
|
|
43480
|
+
id: "focus.capacities.settings-list",
|
|
43650
43481
|
family: "focus",
|
|
43651
43482
|
resource: "capacities",
|
|
43652
|
-
action: "
|
|
43653
|
-
title: "
|
|
43654
|
-
description: "
|
|
43483
|
+
action: "settings-list",
|
|
43484
|
+
title: "Settings List Capacities",
|
|
43485
|
+
description: "Settings List Capacities.",
|
|
43655
43486
|
safety: "read",
|
|
43656
43487
|
destructive: false,
|
|
43657
43488
|
cli: {
|
|
43658
|
-
group: ["capacities"],
|
|
43659
|
-
command: "
|
|
43489
|
+
group: ["capacities", "settings"],
|
|
43490
|
+
command: "list",
|
|
43660
43491
|
interactive: "hidden"
|
|
43661
43492
|
},
|
|
43662
43493
|
mcp: { entityTool: "capacities" },
|
|
43663
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43664
|
-
|
|
43665
|
-
|
|
43666
|
-
|
|
43667
|
-
|
|
43668
|
-
|
|
43669
|
-
|
|
43670
|
-
|
|
43671
|
-
|
|
43672
|
-
|
|
43673
|
-
|
|
43494
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
43495
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
43496
|
+
client.httpClient,
|
|
43497
|
+
client.workspaceIdNumber,
|
|
43498
|
+
void 0
|
|
43499
|
+
]))
|
|
43500
|
+
},
|
|
43501
|
+
{
|
|
43502
|
+
id: "focus.capacities.settings-update",
|
|
43503
|
+
family: "focus",
|
|
43504
|
+
resource: "capacities",
|
|
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() }) }),
|
|
43674
43517
|
execute: (input, { client }) => {
|
|
43675
43518
|
const data = input;
|
|
43676
|
-
return client.runGeneratedRequest("
|
|
43519
|
+
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
43677
43520
|
client.httpClient,
|
|
43678
|
-
client.organizationId,
|
|
43679
43521
|
client.workspaceIdNumber,
|
|
43680
|
-
data.
|
|
43681
|
-
data,
|
|
43522
|
+
data.payload ?? data.data ?? data,
|
|
43682
43523
|
void 0
|
|
43683
43524
|
]));
|
|
43684
43525
|
}
|
|
@@ -43877,7 +43718,8 @@ const generatedFocusOperations = [
|
|
|
43877
43718
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
43878
43719
|
start_at: apiDateTimeString,
|
|
43879
43720
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43880
|
-
})))
|
|
43721
|
+
}))),
|
|
43722
|
+
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
43881
43723
|
}) }),
|
|
43882
43724
|
execute: (input, { client }) => {
|
|
43883
43725
|
const data = input;
|
|
@@ -43932,7 +43774,6 @@ const generatedFocusOperations = [
|
|
|
43932
43774
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43933
43775
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43934
43776
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43935
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43936
43777
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43937
43778
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43938
43779
|
}),
|
|
@@ -43965,7 +43806,6 @@ const generatedFocusOperations = [
|
|
|
43965
43806
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43966
43807
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43967
43808
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43968
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43969
43809
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43970
43810
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43971
43811
|
}))),
|
|
@@ -44021,11 +43861,7 @@ const generatedFocusOperations = [
|
|
|
44021
43861
|
},
|
|
44022
43862
|
mcp: { entityTool: "custom-fields" },
|
|
44023
43863
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44024
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44025
|
-
"project",
|
|
44026
|
-
"task",
|
|
44027
|
-
"user"
|
|
44028
|
-
]),
|
|
43864
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
44029
43865
|
field_type: /* @__PURE__ */ picklist$1([
|
|
44030
43866
|
"select",
|
|
44031
43867
|
"multi_select",
|
|
@@ -44358,11 +44194,7 @@ const generatedFocusOperations = [
|
|
|
44358
44194
|
},
|
|
44359
44195
|
mcp: { entityTool: "custom-fields" },
|
|
44360
44196
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44361
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44362
|
-
"project",
|
|
44363
|
-
"task",
|
|
44364
|
-
"user"
|
|
44365
|
-
]),
|
|
44197
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
44366
44198
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
44367
44199
|
}) }),
|
|
44368
44200
|
execute: (input, { client }) => {
|
|
@@ -44376,37 +44208,6 @@ const generatedFocusOperations = [
|
|
|
44376
44208
|
]));
|
|
44377
44209
|
}
|
|
44378
44210
|
},
|
|
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
|
-
},
|
|
44410
44211
|
{
|
|
44411
44212
|
id: "focus.goals.create",
|
|
44412
44213
|
family: "focus",
|
|
@@ -44626,22 +44427,10 @@ const generatedFocusOperations = [
|
|
|
44626
44427
|
goal_id: /* @__PURE__ */ number$2(),
|
|
44627
44428
|
payload: /* @__PURE__ */ looseObject({
|
|
44628
44429
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44629
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44630
44430
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44631
44431
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44632
44432
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44633
|
-
|
|
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()))
|
|
44433
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
44645
44434
|
})
|
|
44646
44435
|
}),
|
|
44647
44436
|
execute: (input, { client }) => {
|
|
@@ -45974,7 +45763,6 @@ const generatedFocusOperations = [
|
|
|
45974
45763
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45975
45764
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45976
45765
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45977
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45978
45766
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45979
45767
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45980
45768
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -45982,7 +45770,6 @@ const generatedFocusOperations = [
|
|
|
45982
45770
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45983
45771
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45984
45772
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45985
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45986
45773
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45987
45774
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45988
45775
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -48167,10 +47954,7 @@ const generatedFocusOperations = [
|
|
|
48167
47954
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48168
47955
|
name: /* @__PURE__ */ string$1(),
|
|
48169
47956
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
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())
|
|
47957
|
+
}))
|
|
48174
47958
|
}),
|
|
48175
47959
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48176
47960
|
}),
|
|
@@ -48211,28 +47995,6 @@ const generatedFocusOperations = [
|
|
|
48211
47995
|
]));
|
|
48212
47996
|
}
|
|
48213
47997
|
},
|
|
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
|
-
},
|
|
48236
47998
|
{
|
|
48237
47999
|
id: "focus.reports.get-profitability",
|
|
48238
48000
|
family: "focus",
|
|
@@ -48292,17 +48054,9 @@ const generatedFocusOperations = [
|
|
|
48292
48054
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48293
48055
|
name: /* @__PURE__ */ string$1(),
|
|
48294
48056
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
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())
|
|
48057
|
+
}))
|
|
48299
48058
|
}),
|
|
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
|
-
]))
|
|
48059
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48306
48060
|
}),
|
|
48307
48061
|
execute: (input, { client }) => {
|
|
48308
48062
|
const data = input;
|
|
@@ -48312,23 +48066,22 @@ const generatedFocusOperations = [
|
|
|
48312
48066
|
data.payload ?? data.data ?? data,
|
|
48313
48067
|
data.response_format,
|
|
48314
48068
|
data.include_dicts,
|
|
48315
|
-
data.xTogglReportExport,
|
|
48316
48069
|
void 0
|
|
48317
48070
|
]));
|
|
48318
48071
|
}
|
|
48319
48072
|
},
|
|
48320
48073
|
{
|
|
48321
|
-
id: "focus.reports.get-
|
|
48074
|
+
id: "focus.reports.get-workload",
|
|
48322
48075
|
family: "focus",
|
|
48323
48076
|
resource: "reports",
|
|
48324
|
-
action: "get-
|
|
48325
|
-
title: "Get
|
|
48326
|
-
description: "Get
|
|
48077
|
+
action: "get-workload",
|
|
48078
|
+
title: "Get Workload Reports",
|
|
48079
|
+
description: "Get Workload Reports.",
|
|
48327
48080
|
safety: "update",
|
|
48328
48081
|
destructive: false,
|
|
48329
48082
|
cli: {
|
|
48330
48083
|
group: ["reports"],
|
|
48331
|
-
command: "get-
|
|
48084
|
+
command: "get-workload",
|
|
48332
48085
|
interactive: "hidden"
|
|
48333
48086
|
},
|
|
48334
48087
|
mcp: { entityTool: "reports" },
|
|
@@ -48374,205 +48127,14 @@ const generatedFocusOperations = [
|
|
|
48374
48127
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48375
48128
|
name: /* @__PURE__ */ string$1(),
|
|
48376
48129
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
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())
|
|
48130
|
+
}))
|
|
48381
48131
|
}) }),
|
|
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
|
-
}),
|
|
48461
48132
|
execute: (input, { client }) => {
|
|
48462
48133
|
const data = input;
|
|
48463
48134
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
48464
48135
|
client.httpClient,
|
|
48465
48136
|
client.workspaceIdNumber,
|
|
48466
48137
|
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,
|
|
48576
48138
|
void 0
|
|
48577
48139
|
]));
|
|
48578
48140
|
}
|
|
@@ -48610,9 +48172,7 @@ const generatedFocusOperations = [
|
|
|
48610
48172
|
"reports.detailed",
|
|
48611
48173
|
"reports.utilization",
|
|
48612
48174
|
"reports.workload",
|
|
48613
|
-
"reports.profitability"
|
|
48614
|
-
"reports.time-off",
|
|
48615
|
-
"reports.time-accounting"
|
|
48175
|
+
"reports.profitability"
|
|
48616
48176
|
]),
|
|
48617
48177
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48618
48178
|
}) }),
|
|
@@ -48736,37 +48296,7 @@ const generatedFocusOperations = [
|
|
|
48736
48296
|
}
|
|
48737
48297
|
},
|
|
48738
48298
|
{
|
|
48739
|
-
id: "focus.search.
|
|
48740
|
-
family: "focus",
|
|
48741
|
-
resource: "search",
|
|
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",
|
|
48299
|
+
id: "focus.search.search",
|
|
48770
48300
|
family: "focus",
|
|
48771
48301
|
resource: "search",
|
|
48772
48302
|
action: "search",
|
|
@@ -48792,240 +48322,6 @@ const generatedFocusOperations = [
|
|
|
48792
48322
|
]));
|
|
48793
48323
|
}
|
|
48794
48324
|
},
|
|
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
|
-
},
|
|
49029
48325
|
{
|
|
49030
48326
|
id: "focus.statuses.create-status",
|
|
49031
48327
|
family: "focus",
|
|
@@ -49282,181 +48578,22 @@ const generatedFocusOperations = [
|
|
|
49282
48578
|
family: "focus",
|
|
49283
48579
|
resource: "subscriptions",
|
|
49284
48580
|
action: "upsert-forced-trial",
|
|
49285
|
-
title: "Upsert Forced Trial Subscriptions",
|
|
49286
|
-
description: "Upsert Forced Trial Subscriptions.",
|
|
49287
|
-
safety: "update",
|
|
49288
|
-
destructive: false,
|
|
49289
|
-
cli: {
|
|
49290
|
-
group: ["subscriptions"],
|
|
49291
|
-
command: "upsert-forced-trial",
|
|
49292
|
-
interactive: "default"
|
|
49293
|
-
},
|
|
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.",
|
|
48581
|
+
title: "Upsert Forced Trial Subscriptions",
|
|
48582
|
+
description: "Upsert Forced Trial Subscriptions.",
|
|
49447
48583
|
safety: "update",
|
|
49448
48584
|
destructive: false,
|
|
49449
48585
|
cli: {
|
|
49450
|
-
group: ["
|
|
49451
|
-
command: "
|
|
48586
|
+
group: ["subscriptions"],
|
|
48587
|
+
command: "upsert-forced-trial",
|
|
49452
48588
|
interactive: "default"
|
|
49453
48589
|
},
|
|
49454
|
-
mcp: { entityTool: "
|
|
49455
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
48590
|
+
mcp: { entityTool: "subscriptions" },
|
|
48591
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49456
48592
|
execute: (input, { client }) => {
|
|
49457
48593
|
const data = input;
|
|
49458
|
-
return client.runGeneratedRequest("
|
|
48594
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
49459
48595
|
client.httpClient,
|
|
48596
|
+
client.organizationId,
|
|
49460
48597
|
client.workspaceIdNumber,
|
|
49461
48598
|
data.payload ?? data.data ?? data,
|
|
49462
48599
|
void 0
|
|
@@ -49547,35 +48684,6 @@ const generatedFocusOperations = [
|
|
|
49547
48684
|
return client.listTags(data);
|
|
49548
48685
|
}
|
|
49549
48686
|
},
|
|
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
|
-
},
|
|
49579
48687
|
{
|
|
49580
48688
|
id: "focus.tags.restore",
|
|
49581
48689
|
family: "focus",
|
|
@@ -49602,32 +48710,6 @@ const generatedFocusOperations = [
|
|
|
49602
48710
|
]));
|
|
49603
48711
|
}
|
|
49604
48712
|
},
|
|
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
|
-
},
|
|
49631
48713
|
{
|
|
49632
48714
|
id: "focus.tags.update",
|
|
49633
48715
|
family: "focus",
|
|
@@ -50309,12 +49391,12 @@ const generatedFocusOperations = [
|
|
|
50309
49391
|
mcp: { entityTool: "tasks" },
|
|
50310
49392
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50311
49393
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50312
|
-
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50313
49394
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50314
49395
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50315
49396
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50316
49397
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50317
49398
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49399
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50318
49400
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50319
49401
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50320
49402
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50351,6 +49433,7 @@ const generatedFocusOperations = [
|
|
|
50351
49433
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50352
49434
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50353
49435
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49436
|
+
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50354
49437
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50355
49438
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50356
49439
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50367,6 +49450,7 @@ const generatedFocusOperations = [
|
|
|
50367
49450
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50368
49451
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50369
49452
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49453
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50370
49454
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50371
49455
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50372
49456
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50422,6 +49506,7 @@ const generatedFocusOperations = [
|
|
|
50422
49506
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50423
49507
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50424
49508
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49509
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50425
49510
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50426
49511
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50427
49512
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50462,6 +49547,7 @@ const generatedFocusOperations = [
|
|
|
50462
49547
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50463
49548
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50464
49549
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49550
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50465
49551
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50466
49552
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50467
49553
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50502,7 +49588,6 @@ const generatedFocusOperations = [
|
|
|
50502
49588
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50503
49589
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50504
49590
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50505
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50506
49591
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50507
49592
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50508
49593
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50516,8 +49601,7 @@ const generatedFocusOperations = [
|
|
|
50516
49601
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50517
49602
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50518
49603
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50519
|
-
|
|
50520
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49604
|
+
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50521
49605
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50522
49606
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50523
49607
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50533,7 +49617,6 @@ const generatedFocusOperations = [
|
|
|
50533
49617
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50534
49618
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50535
49619
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50536
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50537
49620
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50538
49621
|
}),
|
|
50539
49622
|
execute: (input, { client }) => {
|
|
@@ -50548,118 +49631,6 @@ const generatedFocusOperations = [
|
|
|
50548
49631
|
]));
|
|
50549
49632
|
}
|
|
50550
49633
|
},
|
|
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
|
-
},
|
|
50663
49634
|
{
|
|
50664
49635
|
id: "focus.tasks.groups-update",
|
|
50665
49636
|
family: "focus",
|
|
@@ -50865,6 +49836,7 @@ const generatedFocusOperations = [
|
|
|
50865
49836
|
name: /* @__PURE__ */ string$1(),
|
|
50866
49837
|
status_id: /* @__PURE__ */ number$2(),
|
|
50867
49838
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49839
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50868
49840
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50869
49841
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50870
49842
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -50884,7 +49856,6 @@ const generatedFocusOperations = [
|
|
|
50884
49856
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50885
49857
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50886
49858
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50887
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50888
49859
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
50889
49860
|
}),
|
|
50890
49861
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -51795,40 +50766,6 @@ const generatedFocusOperations = [
|
|
|
51795
50766
|
]));
|
|
51796
50767
|
}
|
|
51797
50768
|
},
|
|
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
|
-
},
|
|
51832
50769
|
{
|
|
51833
50770
|
id: "focus.time-entries.list",
|
|
51834
50771
|
family: "focus",
|
|
@@ -52013,42 +50950,6 @@ const generatedFocusOperations = [
|
|
|
52013
50950
|
inputSchema: emptySchema$1,
|
|
52014
50951
|
execute: (_input, { client }) => client.stopTracking()
|
|
52015
50952
|
},
|
|
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
|
-
},
|
|
52052
50953
|
{
|
|
52053
50954
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
52054
50955
|
family: "focus",
|
|
@@ -52097,7 +50998,6 @@ const generatedFocusOperations = [
|
|
|
52097
50998
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52098
50999
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
52099
51000
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52100
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52101
51001
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52102
51002
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52103
51003
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -52160,33 +51060,121 @@ const generatedFocusOperations = [
|
|
|
52160
51060
|
safety: "update",
|
|
52161
51061
|
destructive: false,
|
|
52162
51062
|
cli: {
|
|
52163
|
-
group: ["time-entries"],
|
|
52164
|
-
command: "update",
|
|
52165
|
-
interactive: "default"
|
|
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",
|
|
51160
|
+
destructive: false,
|
|
51161
|
+
cli: {
|
|
51162
|
+
group: ["time-off"],
|
|
51163
|
+
command: "create-timeoff-for-ghost",
|
|
51164
|
+
interactive: "hidden"
|
|
52166
51165
|
},
|
|
52167
|
-
mcp: { entityTool: "time-
|
|
51166
|
+
mcp: { entityTool: "time-off" },
|
|
52168
51167
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52169
|
-
|
|
52170
|
-
|
|
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()
|
|
51168
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
51169
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
52182
51170
|
}),
|
|
52183
51171
|
execute: (input, { client }) => {
|
|
52184
51172
|
const data = input;
|
|
52185
|
-
return client.runGeneratedRequest("
|
|
51173
|
+
return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
|
|
52186
51174
|
client.httpClient,
|
|
52187
51175
|
client.organizationId,
|
|
52188
51176
|
client.workspaceIdNumber,
|
|
52189
|
-
data.
|
|
51177
|
+
data.ghost_id,
|
|
52190
51178
|
data.payload ?? data.data ?? data,
|
|
52191
51179
|
void 0
|
|
52192
51180
|
]));
|
|
@@ -52222,6 +51210,37 @@ const generatedFocusOperations = [
|
|
|
52222
51210
|
]));
|
|
52223
51211
|
}
|
|
52224
51212
|
},
|
|
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
|
+
},
|
|
52225
51244
|
{
|
|
52226
51245
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
52227
51246
|
family: "focus",
|
|
@@ -52252,6 +51271,38 @@ const generatedFocusOperations = [
|
|
|
52252
51271
|
]));
|
|
52253
51272
|
}
|
|
52254
51273
|
},
|
|
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
|
+
},
|
|
52255
51306
|
{
|
|
52256
51307
|
id: "focus.time-off.get-timeoff-for-user",
|
|
52257
51308
|
family: "focus",
|
|
@@ -52283,6 +51334,37 @@ const generatedFocusOperations = [
|
|
|
52283
51334
|
]));
|
|
52284
51335
|
}
|
|
52285
51336
|
},
|
|
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
|
+
},
|
|
52286
51368
|
{
|
|
52287
51369
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
52288
51370
|
family: "focus",
|
|
@@ -52313,6 +51395,37 @@ const generatedFocusOperations = [
|
|
|
52313
51395
|
]));
|
|
52314
51396
|
}
|
|
52315
51397
|
},
|
|
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
|
+
},
|
|
52316
51429
|
{
|
|
52317
51430
|
id: "focus.time-off.update-timeoff-for-user",
|
|
52318
51431
|
family: "focus",
|
|
@@ -53344,7 +52457,6 @@ const generatedFocusOperations = [
|
|
|
53344
52457
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
53345
52458
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
53346
52459
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53347
|
-
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53348
52460
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53349
52461
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53350
52462
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -53446,6 +52558,37 @@ const generatedFocusOperations = [
|
|
|
53446
52558
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53447
52559
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
53448
52560
|
},
|
|
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
|
+
},
|
|
53449
52592
|
{
|
|
53450
52593
|
id: "focus.working-hours.create-for-user",
|
|
53451
52594
|
family: "focus",
|
|
@@ -53476,6 +52619,37 @@ const generatedFocusOperations = [
|
|
|
53476
52619
|
]));
|
|
53477
52620
|
}
|
|
53478
52621
|
},
|
|
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
|
+
},
|
|
53479
52653
|
{
|
|
53480
52654
|
id: "focus.working-hours.delete-for-user",
|
|
53481
52655
|
family: "focus",
|
|
@@ -53506,6 +52680,33 @@ const generatedFocusOperations = [
|
|
|
53506
52680
|
]));
|
|
53507
52681
|
}
|
|
53508
52682
|
},
|
|
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
|
+
},
|
|
53509
52710
|
{
|
|
53510
52711
|
id: "focus.working-hours.get-for-user",
|
|
53511
52712
|
family: "focus",
|
|
@@ -53532,6 +52733,37 @@ const generatedFocusOperations = [
|
|
|
53532
52733
|
]));
|
|
53533
52734
|
}
|
|
53534
52735
|
},
|
|
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
|
+
},
|
|
53535
52767
|
{
|
|
53536
52768
|
id: "focus.working-hours.update-for-user",
|
|
53537
52769
|
family: "focus",
|
|
@@ -53606,50 +52838,6 @@ const generatedFocusOperations = [
|
|
|
53606
52838
|
void 0
|
|
53607
52839
|
]))
|
|
53608
52840
|
},
|
|
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
|
-
},
|
|
53653
52841
|
{
|
|
53654
52842
|
id: "focus.workspace-settings.list",
|
|
53655
52843
|
family: "focus",
|
|
@@ -53724,32 +52912,6 @@ const generatedFocusOperations = [
|
|
|
53724
52912
|
]));
|
|
53725
52913
|
}
|
|
53726
52914
|
},
|
|
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
|
-
},
|
|
53753
52915
|
{
|
|
53754
52916
|
id: "focus.workspace.get-context",
|
|
53755
52917
|
family: "focus",
|
|
@@ -54877,7 +54039,7 @@ function registerWorkspaceTools(server) {
|
|
|
54877
54039
|
//#region src/package-version.ts
|
|
54878
54040
|
function mcpPackageVersion() {
|
|
54879
54041
|
try {
|
|
54880
|
-
return "1.11.
|
|
54042
|
+
return "1.11.60";
|
|
54881
54043
|
} catch {
|
|
54882
54044
|
return "unknown";
|
|
54883
54045
|
}
|
|
@@ -55052,7 +54214,7 @@ import_main.default.config({
|
|
|
55052
54214
|
quiet: true,
|
|
55053
54215
|
ignore: ["MISSING_ENV_FILE"]
|
|
55054
54216
|
});
|
|
55055
|
-
const packageVersion = "1.11.
|
|
54217
|
+
const packageVersion = "1.11.60";
|
|
55056
54218
|
function resolvePublicUrls() {
|
|
55057
54219
|
return {
|
|
55058
54220
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55117,4 +54279,4 @@ function bootstrapServer(options = {}) {
|
|
|
55117
54279
|
//#endregion
|
|
55118
54280
|
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 };
|
|
55119
54281
|
|
|
55120
|
-
//# sourceMappingURL=src-
|
|
54282
|
+
//# sourceMappingURL=src-DMwsvjQu.js.map
|