@togglhq/mcp 1.11.90 → 1.11.91
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-vwN1hCt9.js → src-gPsWhdmd.js} +1417 -579
- package/package.json +1 -1
|
@@ -34625,11 +34625,7 @@ function safeParse(schema, input, config$1) {
|
|
|
34625
34625
|
}
|
|
34626
34626
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
34627
34627
|
id: /* @__PURE__ */ number(),
|
|
34628
|
-
type: /* @__PURE__ */ picklist([
|
|
34629
|
-
"user",
|
|
34630
|
-
"ghost",
|
|
34631
|
-
"team"
|
|
34632
|
-
])
|
|
34628
|
+
type: /* @__PURE__ */ picklist(["user", "team"])
|
|
34633
34629
|
});
|
|
34634
34630
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
34635
34631
|
id: /* @__PURE__ */ number(),
|
|
@@ -34671,7 +34667,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34671
34667
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34672
34668
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
34673
34669
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34674
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
34670
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
34671
|
+
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.")))
|
|
34675
34672
|
});
|
|
34676
34673
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
34677
34674
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -34744,7 +34741,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34744
34741
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34745
34742
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34746
34743
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34747
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34744
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
34748
34745
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34749
34746
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34750
34747
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34752,7 +34749,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34752
34749
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34753
34750
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34754
34751
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34755
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34756
34752
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34757
34753
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34758
34754
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34762,6 +34758,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34762
34758
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34763
34759
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34764
34760
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34761
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34765
34762
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34766
34763
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34767
34764
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34805,7 +34802,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34805
34802
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34806
34803
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34807
34804
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34808
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34805
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
34809
34806
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34810
34807
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34811
34808
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34813,7 +34810,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34813
34810
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34814
34811
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34815
34812
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34816
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34817
34813
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34818
34814
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34819
34815
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34824,6 +34820,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34824
34820
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34825
34821
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34826
34822
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34823
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34827
34824
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34828
34825
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34829
34826
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34982,7 +34979,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34982
34979
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
34983
34980
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
34984
34981
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34985
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
34982
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
34986
34983
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34987
34984
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
34988
34985
|
});
|
|
@@ -35126,7 +35123,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35126
35123
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
35127
35124
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35128
35125
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35129
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35126
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
35130
35127
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35131
35128
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35132
35129
|
})),
|
|
@@ -35138,9 +35135,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
35138
35135
|
id: /* @__PURE__ */ number(),
|
|
35139
35136
|
name: /* @__PURE__ */ string(),
|
|
35140
35137
|
workspace_id: /* @__PURE__ */ number(),
|
|
35138
|
+
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."))),
|
|
35141
35139
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35142
35140
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35143
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35141
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35142
|
+
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
35143
|
+
projects: /* @__PURE__ */ number(),
|
|
35144
|
+
tasks: /* @__PURE__ */ number(),
|
|
35145
|
+
time_entries: /* @__PURE__ */ number()
|
|
35146
|
+
})), /* @__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.")))
|
|
35144
35147
|
});
|
|
35145
35148
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
35146
35149
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -35151,8 +35154,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
35151
35154
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
35152
35155
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
35153
35156
|
account_locked_at: /* @__PURE__ */ string(),
|
|
35157
|
+
accounts_role_id: /* @__PURE__ */ number(),
|
|
35154
35158
|
active: /* @__PURE__ */ boolean(),
|
|
35155
|
-
admin: /* @__PURE__ */ boolean(),
|
|
35156
35159
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
35157
35160
|
created_at: /* @__PURE__ */ string(),
|
|
35158
35161
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -35201,7 +35204,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
35201
35204
|
track_role_id: /* @__PURE__ */ number(),
|
|
35202
35205
|
work_role_id: /* @__PURE__ */ number(),
|
|
35203
35206
|
workspace_user_id: /* @__PURE__ */ number()
|
|
35204
|
-
}))
|
|
35207
|
+
})),
|
|
35208
|
+
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
35209
|
+
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.")))
|
|
35205
35210
|
});
|
|
35206
35211
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35207
35212
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -35278,8 +35283,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35278
35283
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35279
35284
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35280
35285
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35281
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35282
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35286
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35283
35287
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35284
35288
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35285
35289
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -35295,6 +35299,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35295
35299
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35296
35300
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35297
35301
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35302
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35298
35303
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35299
35304
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35300
35305
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35304,22 +35309,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35304
35309
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35305
35310
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
35306
35311
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
35307
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
35312
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
|
|
35313
|
+
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.")))
|
|
35308
35314
|
});
|
|
35309
35315
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35310
35316
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35311
35317
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
35318
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35312
35319
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35313
35320
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35314
35321
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35315
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35322
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35316
35323
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35317
35324
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35318
35325
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35319
35326
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35320
35327
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35321
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35322
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35328
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
35323
35329
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35324
35330
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35325
35331
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35336,6 +35342,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35336
35342
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35337
35343
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35338
35344
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35345
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35339
35346
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35340
35347
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35341
35348
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35344,17 +35351,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35344
35351
|
});
|
|
35345
35352
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
35346
35353
|
id: /* @__PURE__ */ number(),
|
|
35354
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35347
35355
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35348
35356
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35349
35357
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35350
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35358
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35351
35359
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35352
35360
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35353
35361
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35354
35362
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35355
35363
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35356
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35357
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35364
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
35358
35365
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35359
35366
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35360
35367
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35371,6 +35378,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35371
35378
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35372
35379
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35373
35380
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35381
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35374
35382
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35375
35383
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35376
35384
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37294,7 +37302,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37294
37302
|
})
|
|
37295
37303
|
}).json();
|
|
37296
37304
|
}
|
|
37297
|
-
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) {
|
|
37305
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
37298
37306
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37299
37307
|
signal,
|
|
37300
37308
|
searchParams: buildSearchParams$2({
|
|
@@ -37314,7 +37322,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37314
37322
|
include_working_hours,
|
|
37315
37323
|
include_rates,
|
|
37316
37324
|
pinned_ids,
|
|
37317
|
-
has_group
|
|
37325
|
+
has_group,
|
|
37326
|
+
cf_filter,
|
|
37327
|
+
include_custom_fields,
|
|
37328
|
+
include_calendar_integration
|
|
37318
37329
|
}, true)
|
|
37319
37330
|
});
|
|
37320
37331
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -37333,7 +37344,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
37333
37344
|
}
|
|
37334
37345
|
//#endregion
|
|
37335
37346
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
37336
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
37347
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
|
|
37337
37348
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
37338
37349
|
signal,
|
|
37339
37350
|
searchParams: buildSearchParams$2({
|
|
@@ -37341,7 +37352,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
37341
37352
|
page,
|
|
37342
37353
|
per_page,
|
|
37343
37354
|
order_by,
|
|
37344
|
-
tag_id
|
|
37355
|
+
tag_id,
|
|
37356
|
+
include_usage,
|
|
37357
|
+
include_archived,
|
|
37358
|
+
archived
|
|
37345
37359
|
})
|
|
37346
37360
|
}).json();
|
|
37347
37361
|
}
|
|
@@ -37351,6 +37365,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
37351
37365
|
json: data
|
|
37352
37366
|
}).json();
|
|
37353
37367
|
}
|
|
37368
|
+
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
37369
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37370
|
+
signal,
|
|
37371
|
+
json: data
|
|
37372
|
+
}).json();
|
|
37373
|
+
}
|
|
37374
|
+
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
37375
|
+
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37376
|
+
signal,
|
|
37377
|
+
searchParams: buildSearchParams$2({ ids })
|
|
37378
|
+
}).json();
|
|
37379
|
+
}
|
|
37380
|
+
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
37381
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
37382
|
+
signal,
|
|
37383
|
+
json: data
|
|
37384
|
+
}).json();
|
|
37385
|
+
}
|
|
37386
|
+
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
37387
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
37388
|
+
signal,
|
|
37389
|
+
json: data
|
|
37390
|
+
}).json();
|
|
37391
|
+
}
|
|
37392
|
+
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
37393
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
37394
|
+
signal,
|
|
37395
|
+
json: data
|
|
37396
|
+
}).json();
|
|
37397
|
+
}
|
|
37398
|
+
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
37399
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
37400
|
+
signal,
|
|
37401
|
+
json: data
|
|
37402
|
+
}).json();
|
|
37403
|
+
}
|
|
37354
37404
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
37355
37405
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37356
37406
|
}
|
|
@@ -37363,12 +37413,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
37363
37413
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
37364
37414
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37365
37415
|
}
|
|
37416
|
+
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37417
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
37418
|
+
}
|
|
37366
37419
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
37367
37420
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
37368
37421
|
}
|
|
37422
|
+
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37423
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
37424
|
+
}
|
|
37369
37425
|
//#endregion
|
|
37370
37426
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37371
|
-
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) {
|
|
37427
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37372
37428
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37373
37429
|
signal,
|
|
37374
37430
|
searchParams: buildSearchParams$2({
|
|
@@ -37390,6 +37446,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
37390
37446
|
include_rates,
|
|
37391
37447
|
include_rollover,
|
|
37392
37448
|
include_idle_recurring_templates,
|
|
37449
|
+
collapse_recurring,
|
|
37393
37450
|
include_drafts,
|
|
37394
37451
|
include_locked_private,
|
|
37395
37452
|
start_date,
|
|
@@ -37620,7 +37677,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37620
37677
|
}
|
|
37621
37678
|
//#endregion
|
|
37622
37679
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37623
|
-
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,
|
|
37680
|
+
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) {
|
|
37624
37681
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37625
37682
|
signal,
|
|
37626
37683
|
searchParams: buildSearchParams$2({
|
|
@@ -37668,10 +37725,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37668
37725
|
recurring_task_ids,
|
|
37669
37726
|
client_id,
|
|
37670
37727
|
include_rates,
|
|
37671
|
-
include_ghost_assignees,
|
|
37672
37728
|
include_assignees,
|
|
37673
37729
|
include_parent_matches,
|
|
37674
|
-
assignee_ghost_id,
|
|
37675
37730
|
disable_aggregations,
|
|
37676
37731
|
cf_filter
|
|
37677
37732
|
})
|
|
@@ -37757,7 +37812,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
37757
37812
|
})
|
|
37758
37813
|
}).json();
|
|
37759
37814
|
}
|
|
37760
|
-
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,
|
|
37815
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
37761
37816
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37762
37817
|
signal,
|
|
37763
37818
|
searchParams: buildSearchParams$2({
|
|
@@ -37770,14 +37825,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37770
37825
|
dates_overlap_end,
|
|
37771
37826
|
recurring_task_ids,
|
|
37772
37827
|
team_id,
|
|
37828
|
+
assignee_team_id,
|
|
37773
37829
|
assignee_user_id,
|
|
37774
37830
|
tag_id,
|
|
37775
|
-
include_ghost_assignees,
|
|
37776
37831
|
include_assignees
|
|
37777
37832
|
})
|
|
37778
37833
|
}).json();
|
|
37779
37834
|
}
|
|
37780
|
-
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,
|
|
37835
|
+
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) {
|
|
37781
37836
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37782
37837
|
signal,
|
|
37783
37838
|
searchParams: buildSearchParams$2({
|
|
@@ -37821,20 +37876,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37821
37876
|
recurring,
|
|
37822
37877
|
recurring_task_ids,
|
|
37823
37878
|
client_id,
|
|
37824
|
-
include_ghost_assignees,
|
|
37825
37879
|
include_assignees,
|
|
37826
|
-
assignee_ghost_id,
|
|
37827
37880
|
cf_filter
|
|
37828
37881
|
})
|
|
37829
37882
|
}).json();
|
|
37830
37883
|
}
|
|
37831
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, {
|
|
37884
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
37832
37885
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
37833
37886
|
signal,
|
|
37834
|
-
searchParams: buildSearchParams$2({
|
|
37835
|
-
include_ghost_assignees,
|
|
37836
|
-
include_assignees
|
|
37837
|
-
})
|
|
37887
|
+
searchParams: buildSearchParams$2({ include_assignees })
|
|
37838
37888
|
}).json();
|
|
37839
37889
|
}
|
|
37840
37890
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -37865,7 +37915,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
37865
37915
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
37866
37916
|
}).json();
|
|
37867
37917
|
}
|
|
37868
|
-
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,
|
|
37918
|
+
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) {
|
|
37869
37919
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
37870
37920
|
signal,
|
|
37871
37921
|
searchParams: buildSearchParams$2({
|
|
@@ -37878,12 +37928,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37878
37928
|
team_id,
|
|
37879
37929
|
assignee_user_id,
|
|
37880
37930
|
tag_id,
|
|
37881
|
-
include_ghost_assignees,
|
|
37882
37931
|
include_assignees
|
|
37883
37932
|
})
|
|
37884
37933
|
}).json();
|
|
37885
37934
|
}
|
|
37886
|
-
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,
|
|
37935
|
+
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) {
|
|
37887
37936
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37888
37937
|
signal,
|
|
37889
37938
|
searchParams: buildSearchParams$2({
|
|
@@ -37896,7 +37945,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
37896
37945
|
team_id,
|
|
37897
37946
|
assignee_user_id,
|
|
37898
37947
|
tag_id,
|
|
37899
|
-
include_ghost_assignees,
|
|
37900
37948
|
include_assignees
|
|
37901
37949
|
})
|
|
37902
37950
|
}).json();
|
|
@@ -37998,6 +38046,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
37998
38046
|
})
|
|
37999
38047
|
}).json();
|
|
38000
38048
|
}
|
|
38049
|
+
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
38050
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
38051
|
+
signal,
|
|
38052
|
+
json: data
|
|
38053
|
+
}).json();
|
|
38054
|
+
}
|
|
38001
38055
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38002
38056
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38003
38057
|
signal,
|
|
@@ -41845,6 +41899,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41845
41899
|
}
|
|
41846
41900
|
//#endregion
|
|
41847
41901
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41902
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41903
|
+
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41904
|
+
signal,
|
|
41905
|
+
searchParams: buildSearchParams$2({
|
|
41906
|
+
workspace_id,
|
|
41907
|
+
entity_type,
|
|
41908
|
+
entity_id,
|
|
41909
|
+
action,
|
|
41910
|
+
user_id,
|
|
41911
|
+
page_size,
|
|
41912
|
+
page_number,
|
|
41913
|
+
export: export_
|
|
41914
|
+
})
|
|
41915
|
+
}).json();
|
|
41916
|
+
}
|
|
41848
41917
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41849
41918
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41850
41919
|
signal,
|
|
@@ -42003,33 +42072,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42003
42072
|
}
|
|
42004
42073
|
//#endregion
|
|
42005
42074
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42006
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date,
|
|
42075
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
42007
42076
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42008
42077
|
signal,
|
|
42009
42078
|
searchParams: buildSearchParams$2({
|
|
42010
42079
|
user_id,
|
|
42011
42080
|
start_date,
|
|
42012
42081
|
end_date,
|
|
42013
|
-
ghost_id,
|
|
42014
42082
|
private: private_,
|
|
42015
42083
|
task_source,
|
|
42016
42084
|
unit,
|
|
42017
|
-
include_drafts
|
|
42085
|
+
include_drafts,
|
|
42086
|
+
include_task_estimates
|
|
42018
42087
|
})
|
|
42019
42088
|
}).json();
|
|
42020
42089
|
}
|
|
42021
42090
|
//#endregion
|
|
42022
|
-
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
42023
|
-
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
42024
|
-
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
42025
|
-
}
|
|
42026
|
-
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
42027
|
-
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
42028
|
-
signal,
|
|
42029
|
-
json: data
|
|
42030
|
-
}).json();
|
|
42031
|
-
}
|
|
42032
|
-
//#endregion
|
|
42033
42091
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
42034
42092
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
42035
42093
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -42112,6 +42170,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
42112
42170
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
42113
42171
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
42114
42172
|
}
|
|
42173
|
+
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
42174
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
42175
|
+
signal,
|
|
42176
|
+
json: data
|
|
42177
|
+
}).json();
|
|
42178
|
+
}
|
|
42115
42179
|
//#endregion
|
|
42116
42180
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42117
42181
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -42337,7 +42401,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42337
42401
|
}
|
|
42338
42402
|
//#endregion
|
|
42339
42403
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42340
|
-
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) {
|
|
42404
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
42341
42405
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42342
42406
|
signal,
|
|
42343
42407
|
searchParams: buildSearchParams$2({
|
|
@@ -42349,6 +42413,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42349
42413
|
include_group_totals,
|
|
42350
42414
|
include_unassigned,
|
|
42351
42415
|
archived,
|
|
42416
|
+
completed,
|
|
42352
42417
|
private: private_,
|
|
42353
42418
|
name,
|
|
42354
42419
|
client_id,
|
|
@@ -42360,6 +42425,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42360
42425
|
start_date,
|
|
42361
42426
|
end_date,
|
|
42362
42427
|
user_id,
|
|
42428
|
+
only_me,
|
|
42363
42429
|
include_drafts,
|
|
42364
42430
|
cf_filter
|
|
42365
42431
|
})
|
|
@@ -42475,10 +42541,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
42475
42541
|
}
|
|
42476
42542
|
//#endregion
|
|
42477
42543
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
42478
|
-
async function
|
|
42544
|
+
async function getForecastAvailability(httpClient, workspace_id, signal) {
|
|
42545
|
+
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
42546
|
+
}
|
|
42547
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
42479
42548
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
42480
42549
|
signal,
|
|
42481
42550
|
json: data,
|
|
42551
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
42482
42552
|
searchParams: buildSearchParams$2({
|
|
42483
42553
|
response_format,
|
|
42484
42554
|
include_dicts
|
|
@@ -42502,12 +42572,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
42502
42572
|
json: data
|
|
42503
42573
|
}).json();
|
|
42504
42574
|
}
|
|
42505
|
-
async function
|
|
42575
|
+
async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
|
|
42576
|
+
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
42577
|
+
signal,
|
|
42578
|
+
json: data
|
|
42579
|
+
}).json();
|
|
42580
|
+
}
|
|
42581
|
+
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
42506
42582
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
42583
|
+
signal,
|
|
42584
|
+
json: data,
|
|
42585
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
42586
|
+
}).json();
|
|
42587
|
+
}
|
|
42588
|
+
//#endregion
|
|
42589
|
+
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
42590
|
+
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42591
|
+
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
42592
|
+
signal,
|
|
42593
|
+
json: data
|
|
42594
|
+
}).json();
|
|
42595
|
+
}
|
|
42596
|
+
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42597
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
42507
42598
|
signal,
|
|
42508
42599
|
json: data
|
|
42509
42600
|
}).json();
|
|
42510
42601
|
}
|
|
42602
|
+
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
42603
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
42604
|
+
}
|
|
42511
42605
|
//#endregion
|
|
42512
42606
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
42513
42607
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -42540,7 +42634,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42540
42634
|
}
|
|
42541
42635
|
//#endregion
|
|
42542
42636
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42543
|
-
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) {
|
|
42637
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
42544
42638
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42545
42639
|
signal,
|
|
42546
42640
|
searchParams: buildSearchParams$2({
|
|
@@ -42552,11 +42646,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42552
42646
|
task_id,
|
|
42553
42647
|
include_drafts,
|
|
42554
42648
|
exclude_calendar_events,
|
|
42555
|
-
group_by_tags
|
|
42649
|
+
group_by_tags,
|
|
42650
|
+
only_me
|
|
42651
|
+
})
|
|
42652
|
+
}).json();
|
|
42653
|
+
}
|
|
42654
|
+
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
42655
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
42656
|
+
signal,
|
|
42657
|
+
searchParams: buildSearchParams$2({
|
|
42658
|
+
keyword,
|
|
42659
|
+
per_group
|
|
42556
42660
|
})
|
|
42557
42661
|
}).json();
|
|
42558
42662
|
}
|
|
42559
42663
|
//#endregion
|
|
42664
|
+
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
42665
|
+
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
42666
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
42667
|
+
signal,
|
|
42668
|
+
json: data
|
|
42669
|
+
}).json();
|
|
42670
|
+
}
|
|
42671
|
+
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
42672
|
+
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
42673
|
+
}
|
|
42674
|
+
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
42675
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
42676
|
+
signal,
|
|
42677
|
+
json: data
|
|
42678
|
+
}).json();
|
|
42679
|
+
}
|
|
42680
|
+
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
42681
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
42682
|
+
}
|
|
42683
|
+
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
42684
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
42685
|
+
}
|
|
42686
|
+
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42687
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42688
|
+
}
|
|
42689
|
+
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42690
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42691
|
+
signal,
|
|
42692
|
+
json: data
|
|
42693
|
+
}).json();
|
|
42694
|
+
}
|
|
42695
|
+
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42696
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42697
|
+
}
|
|
42698
|
+
//#endregion
|
|
42560
42699
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42561
42700
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
42562
42701
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -42612,7 +42751,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42612
42751
|
}
|
|
42613
42752
|
//#endregion
|
|
42614
42753
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42615
|
-
async function
|
|
42754
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
|
|
42755
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42756
|
+
signal,
|
|
42757
|
+
searchParams: buildSearchParams$2({
|
|
42758
|
+
project_id,
|
|
42759
|
+
source,
|
|
42760
|
+
priority,
|
|
42761
|
+
status_id,
|
|
42762
|
+
client_id,
|
|
42763
|
+
assignee_user_id,
|
|
42764
|
+
tag_id,
|
|
42765
|
+
team_id,
|
|
42766
|
+
user_tag_id,
|
|
42767
|
+
group_id,
|
|
42768
|
+
creator_id,
|
|
42769
|
+
name,
|
|
42770
|
+
start_date,
|
|
42771
|
+
end_date,
|
|
42772
|
+
start_date_from,
|
|
42773
|
+
start_date_to,
|
|
42774
|
+
end_date_from,
|
|
42775
|
+
end_date_to,
|
|
42776
|
+
private: private_,
|
|
42777
|
+
exclude_empty,
|
|
42778
|
+
include_unassigned,
|
|
42779
|
+
include_unmaterialized,
|
|
42780
|
+
collapse_recurring,
|
|
42781
|
+
include_assignees,
|
|
42782
|
+
min_days,
|
|
42783
|
+
include_drafts,
|
|
42784
|
+
cf_filter,
|
|
42785
|
+
user_cf_filter
|
|
42786
|
+
})
|
|
42787
|
+
}).json();
|
|
42788
|
+
}
|
|
42789
|
+
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) {
|
|
42790
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42791
|
+
signal,
|
|
42792
|
+
searchParams: buildSearchParams$2({
|
|
42793
|
+
team_id,
|
|
42794
|
+
project_id,
|
|
42795
|
+
source,
|
|
42796
|
+
priority,
|
|
42797
|
+
status_id,
|
|
42798
|
+
client_id,
|
|
42799
|
+
assignee_user_id,
|
|
42800
|
+
tag_id,
|
|
42801
|
+
user_tag_id,
|
|
42802
|
+
group_id,
|
|
42803
|
+
creator_id,
|
|
42804
|
+
name,
|
|
42805
|
+
start_date,
|
|
42806
|
+
end_date,
|
|
42807
|
+
start_date_from,
|
|
42808
|
+
start_date_to,
|
|
42809
|
+
end_date_from,
|
|
42810
|
+
end_date_to,
|
|
42811
|
+
private: private_,
|
|
42812
|
+
exclude_empty,
|
|
42813
|
+
include_unassigned,
|
|
42814
|
+
include_unmaterialized,
|
|
42815
|
+
collapse_recurring,
|
|
42816
|
+
include_assignees,
|
|
42817
|
+
min_days,
|
|
42818
|
+
include_drafts,
|
|
42819
|
+
cf_filter,
|
|
42820
|
+
user_cf_filter
|
|
42821
|
+
})
|
|
42822
|
+
}).json();
|
|
42823
|
+
}
|
|
42824
|
+
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) {
|
|
42616
42825
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42617
42826
|
signal,
|
|
42618
42827
|
searchParams: buildSearchParams$2({
|
|
@@ -42636,11 +42845,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42636
42845
|
end_date_to,
|
|
42637
42846
|
private: private_,
|
|
42638
42847
|
exclude_empty,
|
|
42639
|
-
|
|
42848
|
+
include_unassigned,
|
|
42849
|
+
include_unmaterialized,
|
|
42850
|
+
collapse_recurring,
|
|
42640
42851
|
include_assignees,
|
|
42641
42852
|
min_days,
|
|
42642
42853
|
include_drafts,
|
|
42643
42854
|
cf_filter,
|
|
42855
|
+
user_cf_filter,
|
|
42644
42856
|
page,
|
|
42645
42857
|
per_page,
|
|
42646
42858
|
order_by
|
|
@@ -42777,17 +42989,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
42777
42989
|
}).json();
|
|
42778
42990
|
}
|
|
42779
42991
|
//#endregion
|
|
42780
|
-
//#region ../focus-queries/dist/time-
|
|
42781
|
-
async function
|
|
42782
|
-
return await httpClient.
|
|
42992
|
+
//#region ../focus-queries/dist/time-entry-groups/requests.ts
|
|
42993
|
+
async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
|
|
42994
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
|
|
42783
42995
|
signal,
|
|
42784
|
-
|
|
42785
|
-
|
|
42786
|
-
|
|
42787
|
-
|
|
42788
|
-
|
|
42789
|
-
|
|
42790
|
-
|
|
42996
|
+
searchParams: buildSearchParams$2({
|
|
42997
|
+
start_date,
|
|
42998
|
+
end_date,
|
|
42999
|
+
user_id,
|
|
43000
|
+
page,
|
|
43001
|
+
per_page,
|
|
43002
|
+
order_by
|
|
43003
|
+
})
|
|
42791
43004
|
}).json();
|
|
42792
43005
|
}
|
|
42793
43006
|
//#endregion
|
|
@@ -42829,43 +43042,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
42829
43042
|
json: data
|
|
42830
43043
|
}).json();
|
|
42831
43044
|
}
|
|
42832
|
-
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
42833
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
42834
|
-
signal,
|
|
42835
|
-
searchParams: buildSearchParams$2({
|
|
42836
|
-
ghost_ids,
|
|
42837
|
-
start_date,
|
|
42838
|
-
end_date
|
|
42839
|
-
})
|
|
42840
|
-
}).json();
|
|
42841
|
-
}
|
|
42842
|
-
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
42843
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42844
|
-
signal,
|
|
42845
|
-
searchParams: buildSearchParams$2({
|
|
42846
|
-
from,
|
|
42847
|
-
to
|
|
42848
|
-
})
|
|
42849
|
-
}).json();
|
|
42850
|
-
}
|
|
42851
|
-
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42852
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42853
|
-
signal,
|
|
42854
|
-
json: data
|
|
42855
|
-
}).json();
|
|
42856
|
-
}
|
|
42857
|
-
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42858
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42859
|
-
signal,
|
|
42860
|
-
json: data
|
|
42861
|
-
}).json();
|
|
42862
|
-
}
|
|
42863
|
-
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42864
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42865
|
-
signal,
|
|
42866
|
-
json: data
|
|
42867
|
-
}).json();
|
|
42868
|
-
}
|
|
42869
43045
|
//#endregion
|
|
42870
43046
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
42871
43047
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43058,27 +43234,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
43058
43234
|
json: data
|
|
43059
43235
|
}).json();
|
|
43060
43236
|
}
|
|
43061
|
-
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
43062
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
43063
|
-
}
|
|
43064
|
-
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43065
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43066
|
-
signal,
|
|
43067
|
-
json: data
|
|
43068
|
-
}).json();
|
|
43069
|
-
}
|
|
43070
|
-
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43071
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43072
|
-
signal,
|
|
43073
|
-
json: data
|
|
43074
|
-
}).json();
|
|
43075
|
-
}
|
|
43076
|
-
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43077
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43078
|
-
signal,
|
|
43079
|
-
json: data
|
|
43080
|
-
}).json();
|
|
43081
|
-
}
|
|
43082
43237
|
//#endregion
|
|
43083
43238
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
43084
43239
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -43095,6 +43250,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
43095
43250
|
json: data
|
|
43096
43251
|
}).json();
|
|
43097
43252
|
}
|
|
43253
|
+
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
43254
|
+
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
43255
|
+
}
|
|
43098
43256
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
43099
43257
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
43100
43258
|
}
|
|
@@ -43107,6 +43265,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
43107
43265
|
json: data
|
|
43108
43266
|
}).json();
|
|
43109
43267
|
}
|
|
43268
|
+
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
43269
|
+
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
43270
|
+
}
|
|
43271
|
+
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
43272
|
+
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
43273
|
+
signal,
|
|
43274
|
+
json: data
|
|
43275
|
+
}).json();
|
|
43276
|
+
}
|
|
43110
43277
|
//#endregion
|
|
43111
43278
|
//#region ../operations/build/index.public.js
|
|
43112
43279
|
function callGeneratedRequest(request, args) {
|
|
@@ -43242,17 +43409,17 @@ const generatedFocusOperations = [
|
|
|
43242
43409
|
]))
|
|
43243
43410
|
},
|
|
43244
43411
|
{
|
|
43245
|
-
id: "focus.audit-log.
|
|
43412
|
+
id: "focus.audit-log.get-organization",
|
|
43246
43413
|
family: "focus",
|
|
43247
43414
|
resource: "audit-log",
|
|
43248
|
-
action: "
|
|
43249
|
-
title: "
|
|
43250
|
-
description: "
|
|
43415
|
+
action: "get-organization",
|
|
43416
|
+
title: "Get Organization Audit Log",
|
|
43417
|
+
description: "Get Organization Audit Log.",
|
|
43251
43418
|
safety: "read",
|
|
43252
43419
|
destructive: false,
|
|
43253
43420
|
cli: {
|
|
43254
43421
|
group: ["audit-log"],
|
|
43255
|
-
command: "
|
|
43422
|
+
command: "get-organization",
|
|
43256
43423
|
interactive: "hidden"
|
|
43257
43424
|
},
|
|
43258
43425
|
mcp: { entityTool: "audit-log" },
|
|
@@ -43266,14 +43433,14 @@ const generatedFocusOperations = [
|
|
|
43266
43433
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43267
43434
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43268
43435
|
to: /* @__PURE__ */ string$1(),
|
|
43269
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43436
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43437
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43270
43438
|
}),
|
|
43271
43439
|
execute: (input, { client }) => {
|
|
43272
43440
|
const data = input;
|
|
43273
|
-
return client.runGeneratedRequest("
|
|
43441
|
+
return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
|
|
43274
43442
|
client.httpClient,
|
|
43275
43443
|
client.organizationId,
|
|
43276
|
-
client.workspaceIdNumber,
|
|
43277
43444
|
data.from,
|
|
43278
43445
|
data.to,
|
|
43279
43446
|
data,
|
|
@@ -43282,87 +43449,79 @@ const generatedFocusOperations = [
|
|
|
43282
43449
|
}
|
|
43283
43450
|
},
|
|
43284
43451
|
{
|
|
43285
|
-
id: "focus.
|
|
43452
|
+
id: "focus.audit-log.list",
|
|
43286
43453
|
family: "focus",
|
|
43287
|
-
resource: "
|
|
43288
|
-
action: "
|
|
43289
|
-
title: "
|
|
43290
|
-
description: "
|
|
43454
|
+
resource: "audit-log",
|
|
43455
|
+
action: "list",
|
|
43456
|
+
title: "List Audit Log",
|
|
43457
|
+
description: "List Audit Log.",
|
|
43291
43458
|
safety: "read",
|
|
43292
43459
|
destructive: false,
|
|
43293
43460
|
cli: {
|
|
43294
|
-
group: ["
|
|
43295
|
-
command: "
|
|
43461
|
+
group: ["audit-log"],
|
|
43462
|
+
command: "list",
|
|
43296
43463
|
interactive: "hidden"
|
|
43297
43464
|
},
|
|
43298
|
-
mcp: { entityTool: "
|
|
43465
|
+
mcp: { entityTool: "audit-log" },
|
|
43299
43466
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43300
|
-
|
|
43301
|
-
|
|
43302
|
-
|
|
43303
|
-
|
|
43304
|
-
|
|
43305
|
-
|
|
43306
|
-
|
|
43307
|
-
|
|
43308
|
-
|
|
43467
|
+
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43468
|
+
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43469
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43470
|
+
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43471
|
+
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43472
|
+
from: /* @__PURE__ */ string$1(),
|
|
43473
|
+
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43474
|
+
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43475
|
+
to: /* @__PURE__ */ string$1(),
|
|
43476
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43309
43477
|
}),
|
|
43310
43478
|
execute: (input, { client }) => {
|
|
43311
43479
|
const data = input;
|
|
43312
|
-
return client.runGeneratedRequest("
|
|
43480
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
43313
43481
|
client.httpClient,
|
|
43314
43482
|
client.organizationId,
|
|
43315
43483
|
client.workspaceIdNumber,
|
|
43316
|
-
data.
|
|
43484
|
+
data.from,
|
|
43485
|
+
data.to,
|
|
43317
43486
|
data,
|
|
43318
43487
|
void 0
|
|
43319
43488
|
]));
|
|
43320
43489
|
}
|
|
43321
43490
|
},
|
|
43322
43491
|
{
|
|
43323
|
-
id: "focus.capacities.
|
|
43492
|
+
id: "focus.capacities.get-computations",
|
|
43324
43493
|
family: "focus",
|
|
43325
43494
|
resource: "capacities",
|
|
43326
|
-
action: "
|
|
43327
|
-
title: "
|
|
43328
|
-
description: "
|
|
43495
|
+
action: "get-computations",
|
|
43496
|
+
title: "Get Computations Capacities",
|
|
43497
|
+
description: "Get Computations Capacities.",
|
|
43329
43498
|
safety: "read",
|
|
43330
43499
|
destructive: false,
|
|
43331
43500
|
cli: {
|
|
43332
|
-
group: ["capacities"
|
|
43333
|
-
command: "
|
|
43501
|
+
group: ["capacities"],
|
|
43502
|
+
command: "get-computations",
|
|
43334
43503
|
interactive: "hidden"
|
|
43335
43504
|
},
|
|
43336
43505
|
mcp: { entityTool: "capacities" },
|
|
43337
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43338
|
-
|
|
43339
|
-
|
|
43340
|
-
|
|
43341
|
-
|
|
43342
|
-
|
|
43343
|
-
|
|
43344
|
-
|
|
43345
|
-
|
|
43346
|
-
|
|
43347
|
-
|
|
43348
|
-
action: "settings-update",
|
|
43349
|
-
title: "Settings Update Capacities",
|
|
43350
|
-
description: "Settings Update Capacities.",
|
|
43351
|
-
safety: "update",
|
|
43352
|
-
destructive: false,
|
|
43353
|
-
cli: {
|
|
43354
|
-
group: ["capacities", "settings"],
|
|
43355
|
-
command: "update",
|
|
43356
|
-
interactive: "default"
|
|
43357
|
-
},
|
|
43358
|
-
mcp: { entityTool: "capacities" },
|
|
43359
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
43506
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
43507
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43508
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
43509
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
43510
|
+
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
43511
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
43512
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43513
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
43514
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
43515
|
+
user_id: /* @__PURE__ */ number$2()
|
|
43516
|
+
}),
|
|
43360
43517
|
execute: (input, { client }) => {
|
|
43361
43518
|
const data = input;
|
|
43362
|
-
return client.runGeneratedRequest("
|
|
43519
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
43363
43520
|
client.httpClient,
|
|
43521
|
+
client.organizationId,
|
|
43364
43522
|
client.workspaceIdNumber,
|
|
43365
|
-
data.
|
|
43523
|
+
data.group,
|
|
43524
|
+
data,
|
|
43366
43525
|
void 0
|
|
43367
43526
|
]));
|
|
43368
43527
|
}
|
|
@@ -43561,8 +43720,7 @@ const generatedFocusOperations = [
|
|
|
43561
43720
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
43562
43721
|
start_at: apiDateTimeString,
|
|
43563
43722
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43564
|
-
})))
|
|
43565
|
-
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
43723
|
+
})))
|
|
43566
43724
|
}) }),
|
|
43567
43725
|
execute: (input, { client }) => {
|
|
43568
43726
|
const data = input;
|
|
@@ -43617,6 +43775,7 @@ const generatedFocusOperations = [
|
|
|
43617
43775
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43618
43776
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43619
43777
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43778
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43620
43779
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43621
43780
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43622
43781
|
}),
|
|
@@ -43649,6 +43808,7 @@ const generatedFocusOperations = [
|
|
|
43649
43808
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43650
43809
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43651
43810
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43811
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43652
43812
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43653
43813
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43654
43814
|
}))),
|
|
@@ -43704,7 +43864,11 @@ const generatedFocusOperations = [
|
|
|
43704
43864
|
},
|
|
43705
43865
|
mcp: { entityTool: "custom-fields" },
|
|
43706
43866
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
43707
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
43867
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
43868
|
+
"project",
|
|
43869
|
+
"task",
|
|
43870
|
+
"user"
|
|
43871
|
+
]),
|
|
43708
43872
|
field_type: /* @__PURE__ */ picklist$1([
|
|
43709
43873
|
"select",
|
|
43710
43874
|
"multi_select",
|
|
@@ -44037,7 +44201,11 @@ const generatedFocusOperations = [
|
|
|
44037
44201
|
},
|
|
44038
44202
|
mcp: { entityTool: "custom-fields" },
|
|
44039
44203
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44040
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44204
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
44205
|
+
"project",
|
|
44206
|
+
"task",
|
|
44207
|
+
"user"
|
|
44208
|
+
]),
|
|
44041
44209
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
44042
44210
|
}) }),
|
|
44043
44211
|
execute: (input, { client }) => {
|
|
@@ -44051,6 +44219,37 @@ const generatedFocusOperations = [
|
|
|
44051
44219
|
]));
|
|
44052
44220
|
}
|
|
44053
44221
|
},
|
|
44222
|
+
{
|
|
44223
|
+
id: "focus.custom-fields.update-user-custom-field-values",
|
|
44224
|
+
family: "focus",
|
|
44225
|
+
resource: "custom-fields",
|
|
44226
|
+
action: "update-user-custom-field-values",
|
|
44227
|
+
title: "Update User Custom Field Values Custom Fields",
|
|
44228
|
+
description: "Update User Custom Field Values Custom Fields.",
|
|
44229
|
+
safety: "update",
|
|
44230
|
+
destructive: false,
|
|
44231
|
+
cli: {
|
|
44232
|
+
group: ["custom-fields"],
|
|
44233
|
+
command: "update-user-custom-field-values",
|
|
44234
|
+
interactive: "hidden"
|
|
44235
|
+
},
|
|
44236
|
+
mcp: { entityTool: "custom-fields" },
|
|
44237
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44238
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
44239
|
+
user_id: /* @__PURE__ */ number$2()
|
|
44240
|
+
}),
|
|
44241
|
+
execute: (input, { client }) => {
|
|
44242
|
+
const data = input;
|
|
44243
|
+
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
44244
|
+
client.httpClient,
|
|
44245
|
+
client.organizationId,
|
|
44246
|
+
client.workspaceIdNumber,
|
|
44247
|
+
data.user_id,
|
|
44248
|
+
data.payload ?? data.data ?? data,
|
|
44249
|
+
void 0
|
|
44250
|
+
]));
|
|
44251
|
+
}
|
|
44252
|
+
},
|
|
44054
44253
|
{
|
|
44055
44254
|
id: "focus.goals.create",
|
|
44056
44255
|
family: "focus",
|
|
@@ -44270,10 +44469,22 @@ const generatedFocusOperations = [
|
|
|
44270
44469
|
goal_id: /* @__PURE__ */ number$2(),
|
|
44271
44470
|
payload: /* @__PURE__ */ looseObject({
|
|
44272
44471
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44472
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44273
44473
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44274
44474
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44275
44475
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44276
|
-
|
|
44476
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44477
|
+
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
44478
|
+
"daily",
|
|
44479
|
+
"weekly",
|
|
44480
|
+
"daily_workdays",
|
|
44481
|
+
"monthly"
|
|
44482
|
+
])),
|
|
44483
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44484
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44485
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44486
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44487
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44277
44488
|
})
|
|
44278
44489
|
}),
|
|
44279
44490
|
execute: (input, { client }) => {
|
|
@@ -45606,6 +45817,7 @@ const generatedFocusOperations = [
|
|
|
45606
45817
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45607
45818
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45608
45819
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45820
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45609
45821
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45610
45822
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45611
45823
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -45613,6 +45825,7 @@ const generatedFocusOperations = [
|
|
|
45613
45825
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45614
45826
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45615
45827
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45828
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45616
45829
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45617
45830
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45618
45831
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -47797,7 +48010,10 @@ const generatedFocusOperations = [
|
|
|
47797
48010
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47798
48011
|
name: /* @__PURE__ */ string$1(),
|
|
47799
48012
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
47800
|
-
}))
|
|
48013
|
+
})),
|
|
48014
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48015
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48016
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47801
48017
|
}),
|
|
47802
48018
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
47803
48019
|
}),
|
|
@@ -47838,6 +48054,28 @@ const generatedFocusOperations = [
|
|
|
47838
48054
|
]));
|
|
47839
48055
|
}
|
|
47840
48056
|
},
|
|
48057
|
+
{
|
|
48058
|
+
id: "focus.reports.get-forecast-availability",
|
|
48059
|
+
family: "focus",
|
|
48060
|
+
resource: "reports",
|
|
48061
|
+
action: "get-forecast-availability",
|
|
48062
|
+
title: "Get Forecast Availability Reports",
|
|
48063
|
+
description: "Get Forecast Availability Reports.",
|
|
48064
|
+
safety: "read",
|
|
48065
|
+
destructive: false,
|
|
48066
|
+
cli: {
|
|
48067
|
+
group: ["reports"],
|
|
48068
|
+
command: "get-forecast-availability",
|
|
48069
|
+
interactive: "hidden"
|
|
48070
|
+
},
|
|
48071
|
+
mcp: { entityTool: "reports" },
|
|
48072
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48073
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
48074
|
+
client.httpClient,
|
|
48075
|
+
client.workspaceIdNumber,
|
|
48076
|
+
void 0
|
|
48077
|
+
]))
|
|
48078
|
+
},
|
|
47841
48079
|
{
|
|
47842
48080
|
id: "focus.reports.get-profitability",
|
|
47843
48081
|
family: "focus",
|
|
@@ -47897,9 +48135,17 @@ const generatedFocusOperations = [
|
|
|
47897
48135
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47898
48136
|
name: /* @__PURE__ */ string$1(),
|
|
47899
48137
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
47900
|
-
}))
|
|
48138
|
+
})),
|
|
48139
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48140
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48141
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47901
48142
|
}),
|
|
47902
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48143
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
48144
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48145
|
+
"csv",
|
|
48146
|
+
"xlsx",
|
|
48147
|
+
"pdf"
|
|
48148
|
+
]))
|
|
47903
48149
|
}),
|
|
47904
48150
|
execute: (input, { client }) => {
|
|
47905
48151
|
const data = input;
|
|
@@ -47909,22 +48155,23 @@ const generatedFocusOperations = [
|
|
|
47909
48155
|
data.payload ?? data.data ?? data,
|
|
47910
48156
|
data.response_format,
|
|
47911
48157
|
data.include_dicts,
|
|
48158
|
+
data.xTogglReportExport,
|
|
47912
48159
|
void 0
|
|
47913
48160
|
]));
|
|
47914
48161
|
}
|
|
47915
48162
|
},
|
|
47916
48163
|
{
|
|
47917
|
-
id: "focus.reports.get-
|
|
48164
|
+
id: "focus.reports.get-time-accounting",
|
|
47918
48165
|
family: "focus",
|
|
47919
48166
|
resource: "reports",
|
|
47920
|
-
action: "get-
|
|
47921
|
-
title: "Get
|
|
47922
|
-
description: "Get
|
|
48167
|
+
action: "get-time-accounting",
|
|
48168
|
+
title: "Get Time Accounting Reports",
|
|
48169
|
+
description: "Get Time Accounting Reports.",
|
|
47923
48170
|
safety: "update",
|
|
47924
48171
|
destructive: false,
|
|
47925
48172
|
cli: {
|
|
47926
48173
|
group: ["reports"],
|
|
47927
|
-
command: "get-
|
|
48174
|
+
command: "get-time-accounting",
|
|
47928
48175
|
interactive: "hidden"
|
|
47929
48176
|
},
|
|
47930
48177
|
mcp: { entityTool: "reports" },
|
|
@@ -47970,14 +48217,205 @@ const generatedFocusOperations = [
|
|
|
47970
48217
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47971
48218
|
name: /* @__PURE__ */ string$1(),
|
|
47972
48219
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
47973
|
-
}))
|
|
48220
|
+
})),
|
|
48221
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48222
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48223
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47974
48224
|
}) }),
|
|
48225
|
+
execute: (input, { client }) => {
|
|
48226
|
+
const data = input;
|
|
48227
|
+
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
48228
|
+
client.httpClient,
|
|
48229
|
+
client.workspaceIdNumber,
|
|
48230
|
+
data.payload ?? data.data ?? data,
|
|
48231
|
+
void 0
|
|
48232
|
+
]));
|
|
48233
|
+
}
|
|
48234
|
+
},
|
|
48235
|
+
{
|
|
48236
|
+
id: "focus.reports.get-workload",
|
|
48237
|
+
family: "focus",
|
|
48238
|
+
resource: "reports",
|
|
48239
|
+
action: "get-workload",
|
|
48240
|
+
title: "Get Workload Reports",
|
|
48241
|
+
description: "Get Workload Reports.",
|
|
48242
|
+
safety: "update",
|
|
48243
|
+
destructive: false,
|
|
48244
|
+
cli: {
|
|
48245
|
+
group: ["reports"],
|
|
48246
|
+
command: "get-workload",
|
|
48247
|
+
interactive: "hidden"
|
|
48248
|
+
},
|
|
48249
|
+
mcp: { entityTool: "reports" },
|
|
48250
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48251
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48252
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48253
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48254
|
+
function: /* @__PURE__ */ string$1(),
|
|
48255
|
+
property: /* @__PURE__ */ string$1()
|
|
48256
|
+
}),
|
|
48257
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48258
|
+
property: /* @__PURE__ */ string$1()
|
|
48259
|
+
})),
|
|
48260
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48261
|
+
function: /* @__PURE__ */ string$1(),
|
|
48262
|
+
property: /* @__PURE__ */ string$1()
|
|
48263
|
+
})),
|
|
48264
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
48265
|
+
currency: /* @__PURE__ */ string$1(),
|
|
48266
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48267
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
48268
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48269
|
+
property: /* @__PURE__ */ string$1()
|
|
48270
|
+
})),
|
|
48271
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48272
|
+
property: /* @__PURE__ */ string$1(),
|
|
48273
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48274
|
+
})),
|
|
48275
|
+
limit: /* @__PURE__ */ number$2(),
|
|
48276
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48277
|
+
direction: /* @__PURE__ */ string$1(),
|
|
48278
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
48279
|
+
property: /* @__PURE__ */ string$1()
|
|
48280
|
+
})),
|
|
48281
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
48282
|
+
page: /* @__PURE__ */ number$2(),
|
|
48283
|
+
per_page: /* @__PURE__ */ number$2()
|
|
48284
|
+
}),
|
|
48285
|
+
period: /* @__PURE__ */ looseObject({
|
|
48286
|
+
from: /* @__PURE__ */ string$1(),
|
|
48287
|
+
preset: /* @__PURE__ */ string$1(),
|
|
48288
|
+
to: /* @__PURE__ */ string$1()
|
|
48289
|
+
}),
|
|
48290
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48291
|
+
name: /* @__PURE__ */ string$1(),
|
|
48292
|
+
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48293
|
+
})),
|
|
48294
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48295
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48296
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48297
|
+
}),
|
|
48298
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48299
|
+
"csv",
|
|
48300
|
+
"xlsx",
|
|
48301
|
+
"pdf"
|
|
48302
|
+
]))
|
|
48303
|
+
}),
|
|
47975
48304
|
execute: (input, { client }) => {
|
|
47976
48305
|
const data = input;
|
|
47977
48306
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
47978
48307
|
client.httpClient,
|
|
47979
48308
|
client.workspaceIdNumber,
|
|
47980
48309
|
data.payload ?? data.data ?? data,
|
|
48310
|
+
data.xTogglReportExport,
|
|
48311
|
+
void 0
|
|
48312
|
+
]));
|
|
48313
|
+
}
|
|
48314
|
+
},
|
|
48315
|
+
{
|
|
48316
|
+
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
48317
|
+
family: "focus",
|
|
48318
|
+
resource: "reportschedules",
|
|
48319
|
+
action: "delete-shared-report-schedule",
|
|
48320
|
+
title: "Delete Shared Report Schedule Reportschedules",
|
|
48321
|
+
description: "Delete Shared Report Schedule Reportschedules.",
|
|
48322
|
+
safety: "delete",
|
|
48323
|
+
destructive: true,
|
|
48324
|
+
cli: {
|
|
48325
|
+
group: ["reportschedules"],
|
|
48326
|
+
command: "delete-shared-report-schedule",
|
|
48327
|
+
interactive: "default"
|
|
48328
|
+
},
|
|
48329
|
+
mcp: { entityTool: "reportschedules" },
|
|
48330
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48331
|
+
execute: (input, { client }) => {
|
|
48332
|
+
const data = input;
|
|
48333
|
+
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
48334
|
+
client.httpClient,
|
|
48335
|
+
client.workspaceIdNumber,
|
|
48336
|
+
data.id,
|
|
48337
|
+
void 0
|
|
48338
|
+
]));
|
|
48339
|
+
}
|
|
48340
|
+
},
|
|
48341
|
+
{
|
|
48342
|
+
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
48343
|
+
family: "focus",
|
|
48344
|
+
resource: "reportschedules",
|
|
48345
|
+
action: "upsert-saved-view-schedule",
|
|
48346
|
+
title: "Upsert Saved View Schedule Reportschedules",
|
|
48347
|
+
description: "Upsert Saved View Schedule Reportschedules.",
|
|
48348
|
+
safety: "update",
|
|
48349
|
+
destructive: false,
|
|
48350
|
+
cli: {
|
|
48351
|
+
group: ["reportschedules"],
|
|
48352
|
+
command: "upsert-saved-view-schedule",
|
|
48353
|
+
interactive: "default"
|
|
48354
|
+
},
|
|
48355
|
+
mcp: { entityTool: "reportschedules" },
|
|
48356
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48357
|
+
id: /* @__PURE__ */ number$2(),
|
|
48358
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48359
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
48360
|
+
"daily",
|
|
48361
|
+
"weekly",
|
|
48362
|
+
"monthly"
|
|
48363
|
+
]),
|
|
48364
|
+
time: /* @__PURE__ */ string$1(),
|
|
48365
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48366
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48367
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48368
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48369
|
+
})
|
|
48370
|
+
}),
|
|
48371
|
+
execute: (input, { client }) => {
|
|
48372
|
+
const data = input;
|
|
48373
|
+
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
48374
|
+
client.httpClient,
|
|
48375
|
+
client.workspaceIdNumber,
|
|
48376
|
+
data.id,
|
|
48377
|
+
data.payload ?? data.data ?? data,
|
|
48378
|
+
void 0
|
|
48379
|
+
]));
|
|
48380
|
+
}
|
|
48381
|
+
},
|
|
48382
|
+
{
|
|
48383
|
+
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
48384
|
+
family: "focus",
|
|
48385
|
+
resource: "reportschedules",
|
|
48386
|
+
action: "upsert-shared-report-schedule",
|
|
48387
|
+
title: "Upsert Shared Report Schedule Reportschedules",
|
|
48388
|
+
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
48389
|
+
safety: "update",
|
|
48390
|
+
destructive: false,
|
|
48391
|
+
cli: {
|
|
48392
|
+
group: ["reportschedules"],
|
|
48393
|
+
command: "upsert-shared-report-schedule",
|
|
48394
|
+
interactive: "default"
|
|
48395
|
+
},
|
|
48396
|
+
mcp: { entityTool: "reportschedules" },
|
|
48397
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48398
|
+
id: /* @__PURE__ */ number$2(),
|
|
48399
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48400
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
48401
|
+
"daily",
|
|
48402
|
+
"weekly",
|
|
48403
|
+
"monthly"
|
|
48404
|
+
]),
|
|
48405
|
+
time: /* @__PURE__ */ string$1(),
|
|
48406
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48407
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48408
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48409
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48410
|
+
})
|
|
48411
|
+
}),
|
|
48412
|
+
execute: (input, { client }) => {
|
|
48413
|
+
const data = input;
|
|
48414
|
+
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
48415
|
+
client.httpClient,
|
|
48416
|
+
client.workspaceIdNumber,
|
|
48417
|
+
data.id,
|
|
48418
|
+
data.payload ?? data.data ?? data,
|
|
47981
48419
|
void 0
|
|
47982
48420
|
]));
|
|
47983
48421
|
}
|
|
@@ -48015,7 +48453,9 @@ const generatedFocusOperations = [
|
|
|
48015
48453
|
"reports.detailed",
|
|
48016
48454
|
"reports.utilization",
|
|
48017
48455
|
"reports.workload",
|
|
48018
|
-
"reports.profitability"
|
|
48456
|
+
"reports.profitability",
|
|
48457
|
+
"reports.time-off",
|
|
48458
|
+
"reports.time-accounting"
|
|
48019
48459
|
]),
|
|
48020
48460
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48021
48461
|
}) }),
|
|
@@ -48139,11 +48579,41 @@ const generatedFocusOperations = [
|
|
|
48139
48579
|
}
|
|
48140
48580
|
},
|
|
48141
48581
|
{
|
|
48142
|
-
id: "focus.search.
|
|
48582
|
+
id: "focus.search.mentions",
|
|
48143
48583
|
family: "focus",
|
|
48144
48584
|
resource: "search",
|
|
48145
|
-
action: "
|
|
48146
|
-
title: "
|
|
48585
|
+
action: "mentions",
|
|
48586
|
+
title: "Mentions Search",
|
|
48587
|
+
description: "Mentions Search.",
|
|
48588
|
+
safety: "read",
|
|
48589
|
+
destructive: false,
|
|
48590
|
+
cli: {
|
|
48591
|
+
group: ["search"],
|
|
48592
|
+
command: "mentions",
|
|
48593
|
+
interactive: "hidden"
|
|
48594
|
+
},
|
|
48595
|
+
mcp: { entityTool: "search" },
|
|
48596
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48597
|
+
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48598
|
+
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48599
|
+
}),
|
|
48600
|
+
execute: (input, { client }) => {
|
|
48601
|
+
const data = input;
|
|
48602
|
+
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
48603
|
+
client.httpClient,
|
|
48604
|
+
client.organizationId,
|
|
48605
|
+
client.workspaceIdNumber,
|
|
48606
|
+
data,
|
|
48607
|
+
void 0
|
|
48608
|
+
]));
|
|
48609
|
+
}
|
|
48610
|
+
},
|
|
48611
|
+
{
|
|
48612
|
+
id: "focus.search.search",
|
|
48613
|
+
family: "focus",
|
|
48614
|
+
resource: "search",
|
|
48615
|
+
action: "search",
|
|
48616
|
+
title: "Search Search",
|
|
48147
48617
|
description: "Search Search.",
|
|
48148
48618
|
safety: "read",
|
|
48149
48619
|
destructive: false,
|
|
@@ -48165,6 +48635,240 @@ const generatedFocusOperations = [
|
|
|
48165
48635
|
]));
|
|
48166
48636
|
}
|
|
48167
48637
|
},
|
|
48638
|
+
{
|
|
48639
|
+
id: "focus.sharedreports.add-shared-report-grants",
|
|
48640
|
+
family: "focus",
|
|
48641
|
+
resource: "sharedreports",
|
|
48642
|
+
action: "add-shared-report-grants",
|
|
48643
|
+
title: "Add Shared Report Grants Sharedreports",
|
|
48644
|
+
description: "Add Shared Report Grants Sharedreports.",
|
|
48645
|
+
safety: "update",
|
|
48646
|
+
destructive: false,
|
|
48647
|
+
cli: {
|
|
48648
|
+
group: ["sharedreports"],
|
|
48649
|
+
command: "add-shared-report-grants",
|
|
48650
|
+
interactive: "default"
|
|
48651
|
+
},
|
|
48652
|
+
mcp: { entityTool: "sharedreports" },
|
|
48653
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48654
|
+
id: /* @__PURE__ */ number$2(),
|
|
48655
|
+
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48656
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48657
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48658
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48659
|
+
})) })
|
|
48660
|
+
}),
|
|
48661
|
+
execute: (input, { client }) => {
|
|
48662
|
+
const data = input;
|
|
48663
|
+
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
48664
|
+
client.httpClient,
|
|
48665
|
+
client.workspaceIdNumber,
|
|
48666
|
+
data.id,
|
|
48667
|
+
data.payload ?? data.data ?? data,
|
|
48668
|
+
void 0
|
|
48669
|
+
]));
|
|
48670
|
+
}
|
|
48671
|
+
},
|
|
48672
|
+
{
|
|
48673
|
+
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
48674
|
+
family: "focus",
|
|
48675
|
+
resource: "sharedreports",
|
|
48676
|
+
action: "get-saved-view-shared-report",
|
|
48677
|
+
title: "Get Saved View Shared Report Sharedreports",
|
|
48678
|
+
description: "Get Saved View Shared Report Sharedreports.",
|
|
48679
|
+
safety: "read",
|
|
48680
|
+
destructive: false,
|
|
48681
|
+
cli: {
|
|
48682
|
+
group: ["sharedreports"],
|
|
48683
|
+
command: "get-saved-view-shared-report",
|
|
48684
|
+
interactive: "available"
|
|
48685
|
+
},
|
|
48686
|
+
mcp: { entityTool: "sharedreports" },
|
|
48687
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48688
|
+
execute: (input, { client }) => {
|
|
48689
|
+
const data = input;
|
|
48690
|
+
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
48691
|
+
client.httpClient,
|
|
48692
|
+
client.workspaceIdNumber,
|
|
48693
|
+
data.id,
|
|
48694
|
+
void 0
|
|
48695
|
+
]));
|
|
48696
|
+
}
|
|
48697
|
+
},
|
|
48698
|
+
{
|
|
48699
|
+
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48700
|
+
family: "focus",
|
|
48701
|
+
resource: "sharedreports",
|
|
48702
|
+
action: "get-shared-report-for-viewer",
|
|
48703
|
+
title: "Get Shared Report For Viewer Sharedreports",
|
|
48704
|
+
description: "Get Shared Report For Viewer Sharedreports.",
|
|
48705
|
+
safety: "read",
|
|
48706
|
+
destructive: false,
|
|
48707
|
+
cli: {
|
|
48708
|
+
group: ["sharedreports"],
|
|
48709
|
+
command: "get-shared-report-for-viewer",
|
|
48710
|
+
interactive: "available"
|
|
48711
|
+
},
|
|
48712
|
+
mcp: { entityTool: "sharedreports" },
|
|
48713
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48714
|
+
execute: (input, { client }) => {
|
|
48715
|
+
const data = input;
|
|
48716
|
+
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
48717
|
+
client.httpClient,
|
|
48718
|
+
client.workspaceIdNumber,
|
|
48719
|
+
data.id,
|
|
48720
|
+
void 0
|
|
48721
|
+
]));
|
|
48722
|
+
}
|
|
48723
|
+
},
|
|
48724
|
+
{
|
|
48725
|
+
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
48726
|
+
family: "focus",
|
|
48727
|
+
resource: "sharedreports",
|
|
48728
|
+
action: "get-shared-reports-shared-by-me",
|
|
48729
|
+
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
48730
|
+
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
48731
|
+
safety: "read",
|
|
48732
|
+
destructive: false,
|
|
48733
|
+
cli: {
|
|
48734
|
+
group: ["sharedreports"],
|
|
48735
|
+
command: "get-shared-reports-shared-by-me",
|
|
48736
|
+
interactive: "hidden"
|
|
48737
|
+
},
|
|
48738
|
+
mcp: { entityTool: "sharedreports" },
|
|
48739
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48740
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
48741
|
+
client.httpClient,
|
|
48742
|
+
client.workspaceIdNumber,
|
|
48743
|
+
void 0
|
|
48744
|
+
]))
|
|
48745
|
+
},
|
|
48746
|
+
{
|
|
48747
|
+
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
48748
|
+
family: "focus",
|
|
48749
|
+
resource: "sharedreports",
|
|
48750
|
+
action: "get-shared-reports-shared-with-me",
|
|
48751
|
+
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
48752
|
+
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
48753
|
+
safety: "read",
|
|
48754
|
+
destructive: false,
|
|
48755
|
+
cli: {
|
|
48756
|
+
group: ["sharedreports"],
|
|
48757
|
+
command: "get-shared-reports-shared-with-me",
|
|
48758
|
+
interactive: "hidden"
|
|
48759
|
+
},
|
|
48760
|
+
mcp: { entityTool: "sharedreports" },
|
|
48761
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48762
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
48763
|
+
client.httpClient,
|
|
48764
|
+
client.workspaceIdNumber,
|
|
48765
|
+
void 0
|
|
48766
|
+
]))
|
|
48767
|
+
},
|
|
48768
|
+
{
|
|
48769
|
+
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48770
|
+
family: "focus",
|
|
48771
|
+
resource: "sharedreports",
|
|
48772
|
+
action: "revoke-shared-report-grant",
|
|
48773
|
+
title: "Revoke Shared Report Grant Sharedreports",
|
|
48774
|
+
description: "Revoke Shared Report Grant Sharedreports.",
|
|
48775
|
+
safety: "delete",
|
|
48776
|
+
destructive: true,
|
|
48777
|
+
cli: {
|
|
48778
|
+
group: ["sharedreports"],
|
|
48779
|
+
command: "revoke-shared-report-grant",
|
|
48780
|
+
interactive: "default"
|
|
48781
|
+
},
|
|
48782
|
+
mcp: { entityTool: "sharedreports" },
|
|
48783
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48784
|
+
grant_id: /* @__PURE__ */ number$2(),
|
|
48785
|
+
id: /* @__PURE__ */ number$2()
|
|
48786
|
+
}),
|
|
48787
|
+
execute: (input, { client }) => {
|
|
48788
|
+
const data = input;
|
|
48789
|
+
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
48790
|
+
client.httpClient,
|
|
48791
|
+
client.workspaceIdNumber,
|
|
48792
|
+
data.id,
|
|
48793
|
+
data.grant_id,
|
|
48794
|
+
void 0
|
|
48795
|
+
]));
|
|
48796
|
+
}
|
|
48797
|
+
},
|
|
48798
|
+
{
|
|
48799
|
+
id: "focus.sharedreports.share-saved-view",
|
|
48800
|
+
family: "focus",
|
|
48801
|
+
resource: "sharedreports",
|
|
48802
|
+
action: "share-saved-view",
|
|
48803
|
+
title: "Share Saved View Sharedreports",
|
|
48804
|
+
description: "Share Saved View Sharedreports.",
|
|
48805
|
+
safety: "update",
|
|
48806
|
+
destructive: false,
|
|
48807
|
+
cli: {
|
|
48808
|
+
group: ["sharedreports"],
|
|
48809
|
+
command: "share-saved-view",
|
|
48810
|
+
interactive: "hidden"
|
|
48811
|
+
},
|
|
48812
|
+
mcp: { entityTool: "sharedreports" },
|
|
48813
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48814
|
+
id: /* @__PURE__ */ number$2(),
|
|
48815
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48816
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48817
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48818
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48819
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48820
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48821
|
+
})
|
|
48822
|
+
}),
|
|
48823
|
+
execute: (input, { client }) => {
|
|
48824
|
+
const data = input;
|
|
48825
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
48826
|
+
client.httpClient,
|
|
48827
|
+
client.workspaceIdNumber,
|
|
48828
|
+
data.id,
|
|
48829
|
+
data.payload ?? data.data ?? data,
|
|
48830
|
+
void 0
|
|
48831
|
+
]));
|
|
48832
|
+
}
|
|
48833
|
+
},
|
|
48834
|
+
{
|
|
48835
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
48836
|
+
family: "focus",
|
|
48837
|
+
resource: "sharedreports",
|
|
48838
|
+
action: "share-saved-view-many",
|
|
48839
|
+
title: "Share Saved View Many Sharedreports",
|
|
48840
|
+
description: "Share Saved View Many Sharedreports.",
|
|
48841
|
+
safety: "update",
|
|
48842
|
+
destructive: false,
|
|
48843
|
+
cli: {
|
|
48844
|
+
group: ["sharedreports"],
|
|
48845
|
+
command: "share-saved-view-many",
|
|
48846
|
+
interactive: "hidden"
|
|
48847
|
+
},
|
|
48848
|
+
mcp: { entityTool: "sharedreports" },
|
|
48849
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48850
|
+
id: /* @__PURE__ */ number$2(),
|
|
48851
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48852
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48853
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48854
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48855
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48856
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48857
|
+
})),
|
|
48858
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48859
|
+
})
|
|
48860
|
+
}),
|
|
48861
|
+
execute: (input, { client }) => {
|
|
48862
|
+
const data = input;
|
|
48863
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
48864
|
+
client.httpClient,
|
|
48865
|
+
client.workspaceIdNumber,
|
|
48866
|
+
data.id,
|
|
48867
|
+
data.payload ?? data.data ?? data,
|
|
48868
|
+
void 0
|
|
48869
|
+
]));
|
|
48870
|
+
}
|
|
48871
|
+
},
|
|
48168
48872
|
{
|
|
48169
48873
|
id: "focus.statuses.create-status",
|
|
48170
48874
|
family: "focus",
|
|
@@ -48430,13 +49134,172 @@ const generatedFocusOperations = [
|
|
|
48430
49134
|
command: "upsert-forced-trial",
|
|
48431
49135
|
interactive: "default"
|
|
48432
49136
|
},
|
|
48433
|
-
mcp: { entityTool: "subscriptions" },
|
|
48434
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49137
|
+
mcp: { entityTool: "subscriptions" },
|
|
49138
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49139
|
+
execute: (input, { client }) => {
|
|
49140
|
+
const data = input;
|
|
49141
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
49142
|
+
client.httpClient,
|
|
49143
|
+
client.organizationId,
|
|
49144
|
+
client.workspaceIdNumber,
|
|
49145
|
+
data.payload ?? data.data ?? data,
|
|
49146
|
+
void 0
|
|
49147
|
+
]));
|
|
49148
|
+
}
|
|
49149
|
+
},
|
|
49150
|
+
{
|
|
49151
|
+
id: "focus.tags.archive",
|
|
49152
|
+
family: "focus",
|
|
49153
|
+
resource: "tags",
|
|
49154
|
+
action: "archive",
|
|
49155
|
+
title: "Archive Tags",
|
|
49156
|
+
description: "Archive Tags.",
|
|
49157
|
+
safety: "update",
|
|
49158
|
+
destructive: false,
|
|
49159
|
+
cli: {
|
|
49160
|
+
group: ["tags"],
|
|
49161
|
+
command: "archive",
|
|
49162
|
+
interactive: "default"
|
|
49163
|
+
},
|
|
49164
|
+
mcp: { entityTool: "tags" },
|
|
49165
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49166
|
+
execute: (input, { client }) => {
|
|
49167
|
+
const data = input;
|
|
49168
|
+
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
49169
|
+
client.httpClient,
|
|
49170
|
+
client.workspaceIdNumber,
|
|
49171
|
+
data.tag_id,
|
|
49172
|
+
void 0
|
|
49173
|
+
]));
|
|
49174
|
+
}
|
|
49175
|
+
},
|
|
49176
|
+
{
|
|
49177
|
+
id: "focus.tags.bulk-archive",
|
|
49178
|
+
family: "focus",
|
|
49179
|
+
resource: "tags",
|
|
49180
|
+
action: "bulk-archive",
|
|
49181
|
+
title: "Bulk Archive Tags",
|
|
49182
|
+
description: "Bulk Archive Tags.",
|
|
49183
|
+
safety: "update",
|
|
49184
|
+
destructive: false,
|
|
49185
|
+
cli: {
|
|
49186
|
+
group: ["tags", "bulk"],
|
|
49187
|
+
command: "archive",
|
|
49188
|
+
interactive: "default"
|
|
49189
|
+
},
|
|
49190
|
+
mcp: { entityTool: "tags" },
|
|
49191
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49192
|
+
execute: (input, { client }) => {
|
|
49193
|
+
const data = input;
|
|
49194
|
+
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
49195
|
+
client.httpClient,
|
|
49196
|
+
client.workspaceIdNumber,
|
|
49197
|
+
data.payload ?? data.data ?? data,
|
|
49198
|
+
void 0
|
|
49199
|
+
]));
|
|
49200
|
+
}
|
|
49201
|
+
},
|
|
49202
|
+
{
|
|
49203
|
+
id: "focus.tags.bulk-create",
|
|
49204
|
+
family: "focus",
|
|
49205
|
+
resource: "tags",
|
|
49206
|
+
action: "bulk-create",
|
|
49207
|
+
title: "Bulk Create Tags",
|
|
49208
|
+
description: "Bulk Create Tags.",
|
|
49209
|
+
safety: "create",
|
|
49210
|
+
destructive: false,
|
|
49211
|
+
cli: {
|
|
49212
|
+
group: ["tags", "bulk"],
|
|
49213
|
+
command: "create",
|
|
49214
|
+
interactive: "default"
|
|
49215
|
+
},
|
|
49216
|
+
mcp: { entityTool: "tags" },
|
|
49217
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49218
|
+
color: /* @__PURE__ */ string$1(),
|
|
49219
|
+
name: /* @__PURE__ */ string$1()
|
|
49220
|
+
})) }) }),
|
|
49221
|
+
execute: (input, { client }) => {
|
|
49222
|
+
const data = input;
|
|
49223
|
+
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
49224
|
+
client.httpClient,
|
|
49225
|
+
client.workspaceIdNumber,
|
|
49226
|
+
data.payload ?? data.data ?? data,
|
|
49227
|
+
void 0
|
|
49228
|
+
]));
|
|
49229
|
+
}
|
|
49230
|
+
},
|
|
49231
|
+
{
|
|
49232
|
+
id: "focus.tags.bulk-delete",
|
|
49233
|
+
family: "focus",
|
|
49234
|
+
resource: "tags",
|
|
49235
|
+
action: "bulk-delete",
|
|
49236
|
+
title: "Bulk Delete Tags",
|
|
49237
|
+
description: "Bulk Delete Tags.",
|
|
49238
|
+
safety: "delete",
|
|
49239
|
+
destructive: true,
|
|
49240
|
+
cli: {
|
|
49241
|
+
group: ["tags", "bulk"],
|
|
49242
|
+
command: "delete",
|
|
49243
|
+
interactive: "default"
|
|
49244
|
+
},
|
|
49245
|
+
mcp: { entityTool: "tags" },
|
|
49246
|
+
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
49247
|
+
execute: (input, { client }) => {
|
|
49248
|
+
const data = input;
|
|
49249
|
+
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
49250
|
+
client.httpClient,
|
|
49251
|
+
client.workspaceIdNumber,
|
|
49252
|
+
data.ids,
|
|
49253
|
+
void 0
|
|
49254
|
+
]));
|
|
49255
|
+
}
|
|
49256
|
+
},
|
|
49257
|
+
{
|
|
49258
|
+
id: "focus.tags.bulk-restore",
|
|
49259
|
+
family: "focus",
|
|
49260
|
+
resource: "tags",
|
|
49261
|
+
action: "bulk-restore",
|
|
49262
|
+
title: "Bulk Restore Tags",
|
|
49263
|
+
description: "Bulk Restore Tags.",
|
|
49264
|
+
safety: "update",
|
|
49265
|
+
destructive: false,
|
|
49266
|
+
cli: {
|
|
49267
|
+
group: ["tags", "bulk"],
|
|
49268
|
+
command: "restore",
|
|
49269
|
+
interactive: "default"
|
|
49270
|
+
},
|
|
49271
|
+
mcp: { entityTool: "tags" },
|
|
49272
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49273
|
+
execute: (input, { client }) => {
|
|
49274
|
+
const data = input;
|
|
49275
|
+
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
49276
|
+
client.httpClient,
|
|
49277
|
+
client.workspaceIdNumber,
|
|
49278
|
+
data.payload ?? data.data ?? data,
|
|
49279
|
+
void 0
|
|
49280
|
+
]));
|
|
49281
|
+
}
|
|
49282
|
+
},
|
|
49283
|
+
{
|
|
49284
|
+
id: "focus.tags.bulk-unarchive",
|
|
49285
|
+
family: "focus",
|
|
49286
|
+
resource: "tags",
|
|
49287
|
+
action: "bulk-unarchive",
|
|
49288
|
+
title: "Bulk Unarchive Tags",
|
|
49289
|
+
description: "Bulk Unarchive Tags.",
|
|
49290
|
+
safety: "update",
|
|
49291
|
+
destructive: false,
|
|
49292
|
+
cli: {
|
|
49293
|
+
group: ["tags", "bulk"],
|
|
49294
|
+
command: "unarchive",
|
|
49295
|
+
interactive: "default"
|
|
49296
|
+
},
|
|
49297
|
+
mcp: { entityTool: "tags" },
|
|
49298
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
48435
49299
|
execute: (input, { client }) => {
|
|
48436
49300
|
const data = input;
|
|
48437
|
-
return client.runGeneratedRequest("
|
|
49301
|
+
return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
|
|
48438
49302
|
client.httpClient,
|
|
48439
|
-
client.organizationId,
|
|
48440
49303
|
client.workspaceIdNumber,
|
|
48441
49304
|
data.payload ?? data.data ?? data,
|
|
48442
49305
|
void 0
|
|
@@ -48527,6 +49390,35 @@ const generatedFocusOperations = [
|
|
|
48527
49390
|
return client.listTags(data);
|
|
48528
49391
|
}
|
|
48529
49392
|
},
|
|
49393
|
+
{
|
|
49394
|
+
id: "focus.tags.merge",
|
|
49395
|
+
family: "focus",
|
|
49396
|
+
resource: "tags",
|
|
49397
|
+
action: "merge",
|
|
49398
|
+
title: "Merge Tags",
|
|
49399
|
+
description: "Merge Tags.",
|
|
49400
|
+
safety: "update",
|
|
49401
|
+
destructive: false,
|
|
49402
|
+
cli: {
|
|
49403
|
+
group: ["tags"],
|
|
49404
|
+
command: "merge",
|
|
49405
|
+
interactive: "default"
|
|
49406
|
+
},
|
|
49407
|
+
mcp: { entityTool: "tags" },
|
|
49408
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
49409
|
+
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
49410
|
+
target_id: /* @__PURE__ */ number$2()
|
|
49411
|
+
}) }),
|
|
49412
|
+
execute: (input, { client }) => {
|
|
49413
|
+
const data = input;
|
|
49414
|
+
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
49415
|
+
client.httpClient,
|
|
49416
|
+
client.workspaceIdNumber,
|
|
49417
|
+
data.payload ?? data.data ?? data,
|
|
49418
|
+
void 0
|
|
49419
|
+
]));
|
|
49420
|
+
}
|
|
49421
|
+
},
|
|
48530
49422
|
{
|
|
48531
49423
|
id: "focus.tags.restore",
|
|
48532
49424
|
family: "focus",
|
|
@@ -48553,6 +49445,32 @@ const generatedFocusOperations = [
|
|
|
48553
49445
|
]));
|
|
48554
49446
|
}
|
|
48555
49447
|
},
|
|
49448
|
+
{
|
|
49449
|
+
id: "focus.tags.unarchive",
|
|
49450
|
+
family: "focus",
|
|
49451
|
+
resource: "tags",
|
|
49452
|
+
action: "unarchive",
|
|
49453
|
+
title: "Unarchive Tags",
|
|
49454
|
+
description: "Unarchive Tags.",
|
|
49455
|
+
safety: "update",
|
|
49456
|
+
destructive: false,
|
|
49457
|
+
cli: {
|
|
49458
|
+
group: ["tags"],
|
|
49459
|
+
command: "unarchive",
|
|
49460
|
+
interactive: "default"
|
|
49461
|
+
},
|
|
49462
|
+
mcp: { entityTool: "tags" },
|
|
49463
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49464
|
+
execute: (input, { client }) => {
|
|
49465
|
+
const data = input;
|
|
49466
|
+
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
49467
|
+
client.httpClient,
|
|
49468
|
+
client.workspaceIdNumber,
|
|
49469
|
+
data.tag_id,
|
|
49470
|
+
void 0
|
|
49471
|
+
]));
|
|
49472
|
+
}
|
|
49473
|
+
},
|
|
48556
49474
|
{
|
|
48557
49475
|
id: "focus.tags.update",
|
|
48558
49476
|
family: "focus",
|
|
@@ -49234,12 +50152,12 @@ const generatedFocusOperations = [
|
|
|
49234
50152
|
mcp: { entityTool: "tasks" },
|
|
49235
50153
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49236
50154
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50155
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49237
50156
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49238
50157
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49239
50158
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49240
50159
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49241
50160
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49242
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49243
50161
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49244
50162
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49245
50163
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49276,7 +50194,6 @@ const generatedFocusOperations = [
|
|
|
49276
50194
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49277
50195
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49278
50196
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49279
|
-
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49280
50197
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49281
50198
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49282
50199
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49293,7 +50210,6 @@ const generatedFocusOperations = [
|
|
|
49293
50210
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49294
50211
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49295
50212
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49296
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49297
50213
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49298
50214
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49299
50215
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49349,7 +50265,6 @@ const generatedFocusOperations = [
|
|
|
49349
50265
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49350
50266
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49351
50267
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49352
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49353
50268
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49354
50269
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49355
50270
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49390,7 +50305,6 @@ const generatedFocusOperations = [
|
|
|
49390
50305
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49391
50306
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49392
50307
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49393
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49394
50308
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49395
50309
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49396
50310
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49431,6 +50345,7 @@ const generatedFocusOperations = [
|
|
|
49431
50345
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49432
50346
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49433
50347
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50348
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49434
50349
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49435
50350
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49436
50351
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49444,7 +50359,8 @@ const generatedFocusOperations = [
|
|
|
49444
50359
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49445
50360
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49446
50361
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49447
|
-
|
|
50362
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50363
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49448
50364
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49449
50365
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49450
50366
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49460,6 +50376,7 @@ const generatedFocusOperations = [
|
|
|
49460
50376
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49461
50377
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
49462
50378
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50379
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49463
50380
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49464
50381
|
}),
|
|
49465
50382
|
execute: (input, { client }) => {
|
|
@@ -49474,6 +50391,118 @@ const generatedFocusOperations = [
|
|
|
49474
50391
|
]));
|
|
49475
50392
|
}
|
|
49476
50393
|
},
|
|
50394
|
+
{
|
|
50395
|
+
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
50396
|
+
family: "focus",
|
|
50397
|
+
resource: "tasks",
|
|
50398
|
+
action: "groups-get-user-task-groups-by-project",
|
|
50399
|
+
title: "Groups Get User Task Groups By Project Tasks",
|
|
50400
|
+
description: "Groups Get User Task Groups By Project Tasks.",
|
|
50401
|
+
safety: "read",
|
|
50402
|
+
destructive: false,
|
|
50403
|
+
cli: {
|
|
50404
|
+
group: ["tasks", "groups"],
|
|
50405
|
+
command: "get-user-task-groups-by-project",
|
|
50406
|
+
interactive: "hidden"
|
|
50407
|
+
},
|
|
50408
|
+
mcp: { entityTool: "tasks" },
|
|
50409
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50410
|
+
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
50411
|
+
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50412
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
50413
|
+
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
50414
|
+
creator_id: /* @__PURE__ */ number$2(),
|
|
50415
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50416
|
+
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
50417
|
+
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
50418
|
+
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
50419
|
+
group_id: /* @__PURE__ */ number$2(),
|
|
50420
|
+
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50421
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50422
|
+
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50423
|
+
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50424
|
+
min_days: /* @__PURE__ */ unknown$1(),
|
|
50425
|
+
name: /* @__PURE__ */ unknown$1(),
|
|
50426
|
+
priority: /* @__PURE__ */ unknown$1(),
|
|
50427
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
50428
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
50429
|
+
source: /* @__PURE__ */ unknown$1(),
|
|
50430
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50431
|
+
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
50432
|
+
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
50433
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
50434
|
+
tag_id: /* @__PURE__ */ number$2(),
|
|
50435
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
50436
|
+
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50437
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
50438
|
+
}),
|
|
50439
|
+
execute: (input, { client }) => {
|
|
50440
|
+
const data = input;
|
|
50441
|
+
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
50442
|
+
client.httpClient,
|
|
50443
|
+
client.organizationId,
|
|
50444
|
+
client.workspaceIdNumber,
|
|
50445
|
+
data,
|
|
50446
|
+
void 0
|
|
50447
|
+
]));
|
|
50448
|
+
}
|
|
50449
|
+
},
|
|
50450
|
+
{
|
|
50451
|
+
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
50452
|
+
family: "focus",
|
|
50453
|
+
resource: "tasks",
|
|
50454
|
+
action: "groups-get-user-task-groups-by-team",
|
|
50455
|
+
title: "Groups Get User Task Groups By Team Tasks",
|
|
50456
|
+
description: "Groups Get User Task Groups By Team Tasks.",
|
|
50457
|
+
safety: "read",
|
|
50458
|
+
destructive: false,
|
|
50459
|
+
cli: {
|
|
50460
|
+
group: ["tasks", "groups"],
|
|
50461
|
+
command: "get-user-task-groups-by-team",
|
|
50462
|
+
interactive: "hidden"
|
|
50463
|
+
},
|
|
50464
|
+
mcp: { entityTool: "tasks" },
|
|
50465
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50466
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50467
|
+
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50468
|
+
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50469
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50470
|
+
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50471
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50472
|
+
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50473
|
+
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50474
|
+
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50475
|
+
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50476
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50477
|
+
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50478
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50479
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50480
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50481
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50482
|
+
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50483
|
+
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50484
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50485
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50486
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50487
|
+
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50488
|
+
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50489
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50490
|
+
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50491
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50492
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50493
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50494
|
+
}),
|
|
50495
|
+
execute: (input, { client }) => {
|
|
50496
|
+
const data = input;
|
|
50497
|
+
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
50498
|
+
client.httpClient,
|
|
50499
|
+
client.organizationId,
|
|
50500
|
+
client.workspaceIdNumber,
|
|
50501
|
+
data,
|
|
50502
|
+
void 0
|
|
50503
|
+
]));
|
|
50504
|
+
}
|
|
50505
|
+
},
|
|
49477
50506
|
{
|
|
49478
50507
|
id: "focus.tasks.groups-update",
|
|
49479
50508
|
family: "focus",
|
|
@@ -49679,7 +50708,6 @@ const generatedFocusOperations = [
|
|
|
49679
50708
|
name: /* @__PURE__ */ string$1(),
|
|
49680
50709
|
status_id: /* @__PURE__ */ number$2(),
|
|
49681
50710
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49682
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49683
50711
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
49684
50712
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49685
50713
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -49699,6 +50727,7 @@ const generatedFocusOperations = [
|
|
|
49699
50727
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49700
50728
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49701
50729
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50730
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49702
50731
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
49703
50732
|
}),
|
|
49704
50733
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -50707,6 +51736,40 @@ const generatedFocusOperations = [
|
|
|
50707
51736
|
]));
|
|
50708
51737
|
}
|
|
50709
51738
|
},
|
|
51739
|
+
{
|
|
51740
|
+
id: "focus.time-entries.groups-get-users",
|
|
51741
|
+
family: "focus",
|
|
51742
|
+
resource: "time-entries",
|
|
51743
|
+
action: "groups-get-users",
|
|
51744
|
+
title: "Groups Get Users Time Entries",
|
|
51745
|
+
description: "Groups Get Users Time Entries.",
|
|
51746
|
+
safety: "read",
|
|
51747
|
+
destructive: false,
|
|
51748
|
+
cli: {
|
|
51749
|
+
group: ["time-entries", "groups"],
|
|
51750
|
+
command: "get-users",
|
|
51751
|
+
interactive: "hidden"
|
|
51752
|
+
},
|
|
51753
|
+
mcp: { entityTool: "time-entries" },
|
|
51754
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51755
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51756
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
51757
|
+
page: /* @__PURE__ */ number$2(),
|
|
51758
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
51759
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51760
|
+
user_id: /* @__PURE__ */ number$2()
|
|
51761
|
+
}),
|
|
51762
|
+
execute: (input, { client }) => {
|
|
51763
|
+
const data = input;
|
|
51764
|
+
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
51765
|
+
client.httpClient,
|
|
51766
|
+
client.organizationId,
|
|
51767
|
+
client.workspaceIdNumber,
|
|
51768
|
+
data,
|
|
51769
|
+
void 0
|
|
51770
|
+
]));
|
|
51771
|
+
}
|
|
51772
|
+
},
|
|
50710
51773
|
{
|
|
50711
51774
|
id: "focus.time-entries.list",
|
|
50712
51775
|
family: "focus",
|
|
@@ -50891,6 +51954,42 @@ const generatedFocusOperations = [
|
|
|
50891
51954
|
inputSchema: emptySchema$1,
|
|
50892
51955
|
execute: (_input, { client }) => client.stopTracking()
|
|
50893
51956
|
},
|
|
51957
|
+
{
|
|
51958
|
+
id: "focus.time-entries.sync",
|
|
51959
|
+
family: "focus",
|
|
51960
|
+
resource: "time-entries",
|
|
51961
|
+
action: "sync",
|
|
51962
|
+
title: "Sync Time Entries",
|
|
51963
|
+
description: "Sync Time Entries.",
|
|
51964
|
+
safety: "update",
|
|
51965
|
+
destructive: false,
|
|
51966
|
+
cli: {
|
|
51967
|
+
group: ["time-entries"],
|
|
51968
|
+
command: "sync",
|
|
51969
|
+
interactive: "default"
|
|
51970
|
+
},
|
|
51971
|
+
mcp: { entityTool: "time-entries" },
|
|
51972
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51973
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
51974
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51975
|
+
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
51976
|
+
client_updated_at: apiDateTimeString,
|
|
51977
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
51978
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51979
|
+
})
|
|
51980
|
+
}),
|
|
51981
|
+
execute: (input, { client }) => {
|
|
51982
|
+
const data = input;
|
|
51983
|
+
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
51984
|
+
client.httpClient,
|
|
51985
|
+
client.organizationId,
|
|
51986
|
+
client.workspaceIdNumber,
|
|
51987
|
+
data.client_uuid,
|
|
51988
|
+
data.payload ?? data.data ?? data,
|
|
51989
|
+
void 0
|
|
51990
|
+
]));
|
|
51991
|
+
}
|
|
51992
|
+
},
|
|
50894
51993
|
{
|
|
50895
51994
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
50896
51995
|
family: "focus",
|
|
@@ -50939,6 +52038,7 @@ const generatedFocusOperations = [
|
|
|
50939
52038
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50940
52039
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50941
52040
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52041
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50942
52042
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50943
52043
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50944
52044
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -50997,125 +52097,37 @@ const generatedFocusOperations = [
|
|
|
50997
52097
|
resource: "time-entries",
|
|
50998
52098
|
action: "update",
|
|
50999
52099
|
title: "Update Time Entries",
|
|
51000
|
-
description: "Update Time Entries.",
|
|
51001
|
-
safety: "update",
|
|
51002
|
-
destructive: false,
|
|
51003
|
-
cli: {
|
|
51004
|
-
group: ["time-entries"],
|
|
51005
|
-
command: "update",
|
|
51006
|
-
interactive: "default"
|
|
51007
|
-
},
|
|
51008
|
-
mcp: { entityTool: "time-entries" },
|
|
51009
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51010
|
-
payload: /* @__PURE__ */ looseObject({
|
|
51011
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
51012
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51013
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51014
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51015
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51016
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51017
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51018
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51019
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51020
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
51021
|
-
}),
|
|
51022
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
51023
|
-
}),
|
|
51024
|
-
execute: (input, { client }) => {
|
|
51025
|
-
const data = input;
|
|
51026
|
-
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
51027
|
-
client.httpClient,
|
|
51028
|
-
client.organizationId,
|
|
51029
|
-
client.workspaceIdNumber,
|
|
51030
|
-
data.time_entry_id,
|
|
51031
|
-
data.payload ?? data.data ?? data,
|
|
51032
|
-
void 0
|
|
51033
|
-
]));
|
|
51034
|
-
}
|
|
51035
|
-
},
|
|
51036
|
-
{
|
|
51037
|
-
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
51038
|
-
family: "focus",
|
|
51039
|
-
resource: "time-log-suggestions",
|
|
51040
|
-
action: "get-for-acalendar-event-title",
|
|
51041
|
-
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
51042
|
-
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
51043
|
-
safety: "update",
|
|
51044
|
-
destructive: false,
|
|
51045
|
-
cli: {
|
|
51046
|
-
group: ["time-log-suggestions"],
|
|
51047
|
-
command: "get-for-acalendar-event-title",
|
|
51048
|
-
interactive: "default"
|
|
51049
|
-
},
|
|
51050
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
51051
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
51052
|
-
execute: (input, { client }) => {
|
|
51053
|
-
const data = input;
|
|
51054
|
-
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
51055
|
-
client.httpClient,
|
|
51056
|
-
client.organizationId,
|
|
51057
|
-
client.workspaceIdNumber,
|
|
51058
|
-
data.payload ?? data.data ?? data,
|
|
51059
|
-
void 0
|
|
51060
|
-
]));
|
|
51061
|
-
}
|
|
51062
|
-
},
|
|
51063
|
-
{
|
|
51064
|
-
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
51065
|
-
family: "focus",
|
|
51066
|
-
resource: "time-log-suggestions",
|
|
51067
|
-
action: "get-for-multiple-calendar-event-titles",
|
|
51068
|
-
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
51069
|
-
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
51070
|
-
safety: "update",
|
|
51071
|
-
destructive: false,
|
|
51072
|
-
cli: {
|
|
51073
|
-
group: ["time-log-suggestions"],
|
|
51074
|
-
command: "get-for-multiple-calendar-event-titles",
|
|
51075
|
-
interactive: "default"
|
|
51076
|
-
},
|
|
51077
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
51078
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
51079
|
-
key: /* @__PURE__ */ string$1(),
|
|
51080
|
-
title: /* @__PURE__ */ string$1()
|
|
51081
|
-
})) }) }),
|
|
51082
|
-
execute: (input, { client }) => {
|
|
51083
|
-
const data = input;
|
|
51084
|
-
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
51085
|
-
client.httpClient,
|
|
51086
|
-
client.organizationId,
|
|
51087
|
-
client.workspaceIdNumber,
|
|
51088
|
-
data.payload ?? data.data ?? data,
|
|
51089
|
-
void 0
|
|
51090
|
-
]));
|
|
51091
|
-
}
|
|
51092
|
-
},
|
|
51093
|
-
{
|
|
51094
|
-
id: "focus.time-off.create-timeoff-for-ghost",
|
|
51095
|
-
family: "focus",
|
|
51096
|
-
resource: "time-off",
|
|
51097
|
-
action: "create-timeoff-for-ghost",
|
|
51098
|
-
title: "Create Timeoff For Ghost Time Off",
|
|
51099
|
-
description: "Create Timeoff For Ghost Time Off.",
|
|
51100
|
-
safety: "create",
|
|
52100
|
+
description: "Update Time Entries.",
|
|
52101
|
+
safety: "update",
|
|
51101
52102
|
destructive: false,
|
|
51102
52103
|
cli: {
|
|
51103
|
-
group: ["time-
|
|
51104
|
-
command: "
|
|
51105
|
-
interactive: "
|
|
52104
|
+
group: ["time-entries"],
|
|
52105
|
+
command: "update",
|
|
52106
|
+
interactive: "default"
|
|
51106
52107
|
},
|
|
51107
|
-
mcp: { entityTool: "time-
|
|
52108
|
+
mcp: { entityTool: "time-entries" },
|
|
51108
52109
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51109
|
-
|
|
51110
|
-
|
|
52110
|
+
payload: /* @__PURE__ */ looseObject({
|
|
52111
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52112
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52113
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52114
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52115
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52116
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52117
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52118
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52119
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52120
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52121
|
+
}),
|
|
52122
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
51111
52123
|
}),
|
|
51112
52124
|
execute: (input, { client }) => {
|
|
51113
52125
|
const data = input;
|
|
51114
|
-
return client.runGeneratedRequest("
|
|
52126
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
51115
52127
|
client.httpClient,
|
|
51116
52128
|
client.organizationId,
|
|
51117
52129
|
client.workspaceIdNumber,
|
|
51118
|
-
data.
|
|
52130
|
+
data.time_entry_id,
|
|
51119
52131
|
data.payload ?? data.data ?? data,
|
|
51120
52132
|
void 0
|
|
51121
52133
|
]));
|
|
@@ -51151,37 +52163,6 @@ const generatedFocusOperations = [
|
|
|
51151
52163
|
]));
|
|
51152
52164
|
}
|
|
51153
52165
|
},
|
|
51154
|
-
{
|
|
51155
|
-
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
51156
|
-
family: "focus",
|
|
51157
|
-
resource: "time-off",
|
|
51158
|
-
action: "delete-timeoff-for-ghost",
|
|
51159
|
-
title: "Delete Timeoff For Ghost Time Off",
|
|
51160
|
-
description: "Delete Timeoff For Ghost Time Off.",
|
|
51161
|
-
safety: "delete",
|
|
51162
|
-
destructive: true,
|
|
51163
|
-
cli: {
|
|
51164
|
-
group: ["time-off"],
|
|
51165
|
-
command: "delete-timeoff-for-ghost",
|
|
51166
|
-
interactive: "hidden"
|
|
51167
|
-
},
|
|
51168
|
-
mcp: { entityTool: "time-off" },
|
|
51169
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51170
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51171
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
51172
|
-
}),
|
|
51173
|
-
execute: (input, { client }) => {
|
|
51174
|
-
const data = input;
|
|
51175
|
-
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
51176
|
-
client.httpClient,
|
|
51177
|
-
client.organizationId,
|
|
51178
|
-
client.workspaceIdNumber,
|
|
51179
|
-
data.ghost_id,
|
|
51180
|
-
data.payload ?? data.data ?? data,
|
|
51181
|
-
void 0
|
|
51182
|
-
]));
|
|
51183
|
-
}
|
|
51184
|
-
},
|
|
51185
52166
|
{
|
|
51186
52167
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
51187
52168
|
family: "focus",
|
|
@@ -51212,38 +52193,6 @@ const generatedFocusOperations = [
|
|
|
51212
52193
|
]));
|
|
51213
52194
|
}
|
|
51214
52195
|
},
|
|
51215
|
-
{
|
|
51216
|
-
id: "focus.time-off.get-timeoff-for-ghost",
|
|
51217
|
-
family: "focus",
|
|
51218
|
-
resource: "time-off",
|
|
51219
|
-
action: "get-timeoff-for-ghost",
|
|
51220
|
-
title: "Get Timeoff For Ghost Time Off",
|
|
51221
|
-
description: "Get Timeoff For Ghost Time Off.",
|
|
51222
|
-
safety: "read",
|
|
51223
|
-
destructive: false,
|
|
51224
|
-
cli: {
|
|
51225
|
-
group: ["time-off"],
|
|
51226
|
-
command: "get-timeoff-for-ghost",
|
|
51227
|
-
interactive: "hidden"
|
|
51228
|
-
},
|
|
51229
|
-
mcp: { entityTool: "time-off" },
|
|
51230
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51231
|
-
from: /* @__PURE__ */ unknown$1(),
|
|
51232
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51233
|
-
to: /* @__PURE__ */ unknown$1()
|
|
51234
|
-
}),
|
|
51235
|
-
execute: (input, { client }) => {
|
|
51236
|
-
const data = input;
|
|
51237
|
-
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
51238
|
-
client.httpClient,
|
|
51239
|
-
client.organizationId,
|
|
51240
|
-
client.workspaceIdNumber,
|
|
51241
|
-
data.ghost_id,
|
|
51242
|
-
data,
|
|
51243
|
-
void 0
|
|
51244
|
-
]));
|
|
51245
|
-
}
|
|
51246
|
-
},
|
|
51247
52196
|
{
|
|
51248
52197
|
id: "focus.time-off.get-timeoff-for-user",
|
|
51249
52198
|
family: "focus",
|
|
@@ -51275,37 +52224,6 @@ const generatedFocusOperations = [
|
|
|
51275
52224
|
]));
|
|
51276
52225
|
}
|
|
51277
52226
|
},
|
|
51278
|
-
{
|
|
51279
|
-
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
51280
|
-
family: "focus",
|
|
51281
|
-
resource: "time-off",
|
|
51282
|
-
action: "get-timeoffs-by-ghost-ids",
|
|
51283
|
-
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
51284
|
-
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
51285
|
-
safety: "read",
|
|
51286
|
-
destructive: false,
|
|
51287
|
-
cli: {
|
|
51288
|
-
group: ["time-off"],
|
|
51289
|
-
command: "get-timeoffs-by-ghost-ids",
|
|
51290
|
-
interactive: "hidden"
|
|
51291
|
-
},
|
|
51292
|
-
mcp: { entityTool: "time-off" },
|
|
51293
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51294
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51295
|
-
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
51296
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
51297
|
-
}),
|
|
51298
|
-
execute: (input, { client }) => {
|
|
51299
|
-
const data = input;
|
|
51300
|
-
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
51301
|
-
client.httpClient,
|
|
51302
|
-
client.organizationId,
|
|
51303
|
-
client.workspaceIdNumber,
|
|
51304
|
-
data,
|
|
51305
|
-
void 0
|
|
51306
|
-
]));
|
|
51307
|
-
}
|
|
51308
|
-
},
|
|
51309
52227
|
{
|
|
51310
52228
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
51311
52229
|
family: "focus",
|
|
@@ -51336,37 +52254,6 @@ const generatedFocusOperations = [
|
|
|
51336
52254
|
]));
|
|
51337
52255
|
}
|
|
51338
52256
|
},
|
|
51339
|
-
{
|
|
51340
|
-
id: "focus.time-off.update-timeoff-for-ghost",
|
|
51341
|
-
family: "focus",
|
|
51342
|
-
resource: "time-off",
|
|
51343
|
-
action: "update-timeoff-for-ghost",
|
|
51344
|
-
title: "Update Timeoff For Ghost Time Off",
|
|
51345
|
-
description: "Update Timeoff For Ghost Time Off.",
|
|
51346
|
-
safety: "update",
|
|
51347
|
-
destructive: false,
|
|
51348
|
-
cli: {
|
|
51349
|
-
group: ["time-off"],
|
|
51350
|
-
command: "update-timeoff-for-ghost",
|
|
51351
|
-
interactive: "hidden"
|
|
51352
|
-
},
|
|
51353
|
-
mcp: { entityTool: "time-off" },
|
|
51354
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51355
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51356
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
51357
|
-
}),
|
|
51358
|
-
execute: (input, { client }) => {
|
|
51359
|
-
const data = input;
|
|
51360
|
-
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
51361
|
-
client.httpClient,
|
|
51362
|
-
client.organizationId,
|
|
51363
|
-
client.workspaceIdNumber,
|
|
51364
|
-
data.ghost_id,
|
|
51365
|
-
data.payload ?? data.data ?? data,
|
|
51366
|
-
void 0
|
|
51367
|
-
]));
|
|
51368
|
-
}
|
|
51369
|
-
},
|
|
51370
52257
|
{
|
|
51371
52258
|
id: "focus.time-off.update-timeoff-for-user",
|
|
51372
52259
|
family: "focus",
|
|
@@ -52398,6 +53285,7 @@ const generatedFocusOperations = [
|
|
|
52398
53285
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52399
53286
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52400
53287
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53288
|
+
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52401
53289
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52402
53290
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52403
53291
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -52499,37 +53387,6 @@ const generatedFocusOperations = [
|
|
|
52499
53387
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
52500
53388
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
52501
53389
|
},
|
|
52502
|
-
{
|
|
52503
|
-
id: "focus.working-hours.create-for-ghost",
|
|
52504
|
-
family: "focus",
|
|
52505
|
-
resource: "working-hours",
|
|
52506
|
-
action: "create-for-ghost",
|
|
52507
|
-
title: "Create For Ghost Working Hours",
|
|
52508
|
-
description: "Create For Ghost Working Hours.",
|
|
52509
|
-
safety: "create",
|
|
52510
|
-
destructive: false,
|
|
52511
|
-
cli: {
|
|
52512
|
-
group: ["working-hours"],
|
|
52513
|
-
command: "create-for-ghost",
|
|
52514
|
-
interactive: "hidden"
|
|
52515
|
-
},
|
|
52516
|
-
mcp: { entityTool: "working-hours" },
|
|
52517
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52518
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52519
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52520
|
-
}),
|
|
52521
|
-
execute: (input, { client }) => {
|
|
52522
|
-
const data = input;
|
|
52523
|
-
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
52524
|
-
client.httpClient,
|
|
52525
|
-
client.organizationId,
|
|
52526
|
-
client.workspaceIdNumber,
|
|
52527
|
-
data.ghost_id,
|
|
52528
|
-
data.payload ?? data.data ?? data,
|
|
52529
|
-
void 0
|
|
52530
|
-
]));
|
|
52531
|
-
}
|
|
52532
|
-
},
|
|
52533
53390
|
{
|
|
52534
53391
|
id: "focus.working-hours.create-for-user",
|
|
52535
53392
|
family: "focus",
|
|
@@ -52560,37 +53417,6 @@ const generatedFocusOperations = [
|
|
|
52560
53417
|
]));
|
|
52561
53418
|
}
|
|
52562
53419
|
},
|
|
52563
|
-
{
|
|
52564
|
-
id: "focus.working-hours.delete-for-ghost",
|
|
52565
|
-
family: "focus",
|
|
52566
|
-
resource: "working-hours",
|
|
52567
|
-
action: "delete-for-ghost",
|
|
52568
|
-
title: "Delete For Ghost Working Hours",
|
|
52569
|
-
description: "Delete For Ghost Working Hours.",
|
|
52570
|
-
safety: "delete",
|
|
52571
|
-
destructive: true,
|
|
52572
|
-
cli: {
|
|
52573
|
-
group: ["working-hours"],
|
|
52574
|
-
command: "delete-for-ghost",
|
|
52575
|
-
interactive: "hidden"
|
|
52576
|
-
},
|
|
52577
|
-
mcp: { entityTool: "working-hours" },
|
|
52578
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52579
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52580
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52581
|
-
}),
|
|
52582
|
-
execute: (input, { client }) => {
|
|
52583
|
-
const data = input;
|
|
52584
|
-
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
52585
|
-
client.httpClient,
|
|
52586
|
-
client.organizationId,
|
|
52587
|
-
client.workspaceIdNumber,
|
|
52588
|
-
data.ghost_id,
|
|
52589
|
-
data.payload ?? data.data ?? data,
|
|
52590
|
-
void 0
|
|
52591
|
-
]));
|
|
52592
|
-
}
|
|
52593
|
-
},
|
|
52594
53420
|
{
|
|
52595
53421
|
id: "focus.working-hours.delete-for-user",
|
|
52596
53422
|
family: "focus",
|
|
@@ -52621,33 +53447,6 @@ const generatedFocusOperations = [
|
|
|
52621
53447
|
]));
|
|
52622
53448
|
}
|
|
52623
53449
|
},
|
|
52624
|
-
{
|
|
52625
|
-
id: "focus.working-hours.get-for-ghost",
|
|
52626
|
-
family: "focus",
|
|
52627
|
-
resource: "working-hours",
|
|
52628
|
-
action: "get-for-ghost",
|
|
52629
|
-
title: "Get For Ghost Working Hours",
|
|
52630
|
-
description: "Get For Ghost Working Hours.",
|
|
52631
|
-
safety: "read",
|
|
52632
|
-
destructive: false,
|
|
52633
|
-
cli: {
|
|
52634
|
-
group: ["working-hours"],
|
|
52635
|
-
command: "get-for-ghost",
|
|
52636
|
-
interactive: "available"
|
|
52637
|
-
},
|
|
52638
|
-
mcp: { entityTool: "working-hours" },
|
|
52639
|
-
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
52640
|
-
execute: (input, { client }) => {
|
|
52641
|
-
const data = input;
|
|
52642
|
-
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
52643
|
-
client.httpClient,
|
|
52644
|
-
client.organizationId,
|
|
52645
|
-
client.workspaceIdNumber,
|
|
52646
|
-
data.ghost_id,
|
|
52647
|
-
void 0
|
|
52648
|
-
]));
|
|
52649
|
-
}
|
|
52650
|
-
},
|
|
52651
53450
|
{
|
|
52652
53451
|
id: "focus.working-hours.get-for-user",
|
|
52653
53452
|
family: "focus",
|
|
@@ -52674,37 +53473,6 @@ const generatedFocusOperations = [
|
|
|
52674
53473
|
]));
|
|
52675
53474
|
}
|
|
52676
53475
|
},
|
|
52677
|
-
{
|
|
52678
|
-
id: "focus.working-hours.update-for-ghost",
|
|
52679
|
-
family: "focus",
|
|
52680
|
-
resource: "working-hours",
|
|
52681
|
-
action: "update-for-ghost",
|
|
52682
|
-
title: "Update For Ghost Working Hours",
|
|
52683
|
-
description: "Update For Ghost Working Hours.",
|
|
52684
|
-
safety: "update",
|
|
52685
|
-
destructive: false,
|
|
52686
|
-
cli: {
|
|
52687
|
-
group: ["working-hours"],
|
|
52688
|
-
command: "update-for-ghost",
|
|
52689
|
-
interactive: "hidden"
|
|
52690
|
-
},
|
|
52691
|
-
mcp: { entityTool: "working-hours" },
|
|
52692
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52693
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52694
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52695
|
-
}),
|
|
52696
|
-
execute: (input, { client }) => {
|
|
52697
|
-
const data = input;
|
|
52698
|
-
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
52699
|
-
client.httpClient,
|
|
52700
|
-
client.organizationId,
|
|
52701
|
-
client.workspaceIdNumber,
|
|
52702
|
-
data.ghost_id,
|
|
52703
|
-
data.payload ?? data.data ?? data,
|
|
52704
|
-
void 0
|
|
52705
|
-
]));
|
|
52706
|
-
}
|
|
52707
|
-
},
|
|
52708
53476
|
{
|
|
52709
53477
|
id: "focus.working-hours.update-for-user",
|
|
52710
53478
|
family: "focus",
|
|
@@ -52779,6 +53547,50 @@ const generatedFocusOperations = [
|
|
|
52779
53547
|
void 0
|
|
52780
53548
|
]))
|
|
52781
53549
|
},
|
|
53550
|
+
{
|
|
53551
|
+
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
53552
|
+
family: "focus",
|
|
53553
|
+
resource: "workspace-settings",
|
|
53554
|
+
action: "get-workspace-export-branding",
|
|
53555
|
+
title: "Get Workspace Export Branding Workspace Settings",
|
|
53556
|
+
description: "Get Workspace Export Branding Workspace Settings.",
|
|
53557
|
+
safety: "read",
|
|
53558
|
+
destructive: false,
|
|
53559
|
+
cli: {
|
|
53560
|
+
group: ["workspace-settings"],
|
|
53561
|
+
command: "get-workspace-export-branding",
|
|
53562
|
+
interactive: "hidden"
|
|
53563
|
+
},
|
|
53564
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53565
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53566
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
53567
|
+
client.httpClient,
|
|
53568
|
+
client.workspaceIdNumber,
|
|
53569
|
+
void 0
|
|
53570
|
+
]))
|
|
53571
|
+
},
|
|
53572
|
+
{
|
|
53573
|
+
id: "focus.workspace-settings.get-workspace-watermark",
|
|
53574
|
+
family: "focus",
|
|
53575
|
+
resource: "workspace-settings",
|
|
53576
|
+
action: "get-workspace-watermark",
|
|
53577
|
+
title: "Get Workspace Watermark Workspace Settings",
|
|
53578
|
+
description: "Get Workspace Watermark Workspace Settings.",
|
|
53579
|
+
safety: "read",
|
|
53580
|
+
destructive: false,
|
|
53581
|
+
cli: {
|
|
53582
|
+
group: ["workspace-settings"],
|
|
53583
|
+
command: "get-workspace-watermark",
|
|
53584
|
+
interactive: "hidden"
|
|
53585
|
+
},
|
|
53586
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53587
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53588
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
53589
|
+
client.httpClient,
|
|
53590
|
+
client.workspaceIdNumber,
|
|
53591
|
+
void 0
|
|
53592
|
+
]))
|
|
53593
|
+
},
|
|
52782
53594
|
{
|
|
52783
53595
|
id: "focus.workspace-settings.list",
|
|
52784
53596
|
family: "focus",
|
|
@@ -52853,6 +53665,32 @@ const generatedFocusOperations = [
|
|
|
52853
53665
|
]));
|
|
52854
53666
|
}
|
|
52855
53667
|
},
|
|
53668
|
+
{
|
|
53669
|
+
id: "focus.workspace-settings.update-workspace-watermark",
|
|
53670
|
+
family: "focus",
|
|
53671
|
+
resource: "workspace-settings",
|
|
53672
|
+
action: "update-workspace-watermark",
|
|
53673
|
+
title: "Update Workspace Watermark Workspace Settings",
|
|
53674
|
+
description: "Update Workspace Watermark Workspace Settings.",
|
|
53675
|
+
safety: "update",
|
|
53676
|
+
destructive: false,
|
|
53677
|
+
cli: {
|
|
53678
|
+
group: ["workspace-settings"],
|
|
53679
|
+
command: "update-workspace-watermark",
|
|
53680
|
+
interactive: "default"
|
|
53681
|
+
},
|
|
53682
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53683
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
53684
|
+
execute: (input, { client }) => {
|
|
53685
|
+
const data = input;
|
|
53686
|
+
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
53687
|
+
client.httpClient,
|
|
53688
|
+
client.workspaceIdNumber,
|
|
53689
|
+
data.payload ?? data.data ?? data,
|
|
53690
|
+
void 0
|
|
53691
|
+
]));
|
|
53692
|
+
}
|
|
53693
|
+
},
|
|
52856
53694
|
{
|
|
52857
53695
|
id: "focus.workspace.get-context",
|
|
52858
53696
|
family: "focus",
|
|
@@ -53979,7 +54817,7 @@ function registerWorkspaceTools(server) {
|
|
|
53979
54817
|
//#region src/package-version.ts
|
|
53980
54818
|
function mcpPackageVersion() {
|
|
53981
54819
|
try {
|
|
53982
|
-
return "1.11.
|
|
54820
|
+
return "1.11.91";
|
|
53983
54821
|
} catch {
|
|
53984
54822
|
return "unknown";
|
|
53985
54823
|
}
|
|
@@ -54154,7 +54992,7 @@ import_main.default.config({
|
|
|
54154
54992
|
quiet: true,
|
|
54155
54993
|
ignore: ["MISSING_ENV_FILE"]
|
|
54156
54994
|
});
|
|
54157
|
-
const packageVersion = "1.11.
|
|
54995
|
+
const packageVersion = "1.11.91";
|
|
54158
54996
|
function resolvePublicUrls() {
|
|
54159
54997
|
return {
|
|
54160
54998
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -54219,4 +55057,4 @@ function bootstrapServer(options = {}) {
|
|
|
54219
55057
|
//#endregion
|
|
54220
55058
|
export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
54221
55059
|
|
|
54222
|
-
//# sourceMappingURL=src-
|
|
55060
|
+
//# sourceMappingURL=src-gPsWhdmd.js.map
|