@togglhq/mcp 1.11.88 → 1.11.90
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-dkhZSWKr.js → src-vwN1hCt9.js} +639 -1497
- package/package.json +1 -1
|
@@ -32773,10 +32773,6 @@ function _joinExpects$1(values$1, separator) {
|
|
|
32773
32773
|
*/
|
|
32774
32774
|
const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
|
|
32775
32775
|
/**
|
|
32776
|
-
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
|
|
32777
|
-
*/
|
|
32778
|
-
const ISO_DATE_TIME_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3]):[0-5]\d$/u;
|
|
32779
|
-
/**
|
|
32780
32776
|
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
|
|
32781
32777
|
* space as a date/time separator and an optional space before the UTC offset.
|
|
32782
32778
|
*/
|
|
@@ -32830,22 +32826,6 @@ function isoDate$1(message$1) {
|
|
|
32830
32826
|
};
|
|
32831
32827
|
}
|
|
32832
32828
|
/* @__NO_SIDE_EFFECTS__ */
|
|
32833
|
-
function isoDateTime$1(message$1) {
|
|
32834
|
-
return {
|
|
32835
|
-
kind: "validation",
|
|
32836
|
-
type: "iso_date_time",
|
|
32837
|
-
reference: isoDateTime$1,
|
|
32838
|
-
async: false,
|
|
32839
|
-
expects: null,
|
|
32840
|
-
requirement: ISO_DATE_TIME_REGEX$1,
|
|
32841
|
-
message: message$1,
|
|
32842
|
-
"~run"(dataset, config$1) {
|
|
32843
|
-
if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
|
|
32844
|
-
return dataset;
|
|
32845
|
-
}
|
|
32846
|
-
};
|
|
32847
|
-
}
|
|
32848
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
32849
32829
|
function isoTimestamp(message$1) {
|
|
32850
32830
|
return {
|
|
32851
32831
|
kind: "validation",
|
|
@@ -34645,7 +34625,11 @@ function safeParse(schema, input, config$1) {
|
|
|
34645
34625
|
}
|
|
34646
34626
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
34647
34627
|
id: /* @__PURE__ */ number(),
|
|
34648
|
-
type: /* @__PURE__ */ picklist([
|
|
34628
|
+
type: /* @__PURE__ */ picklist([
|
|
34629
|
+
"user",
|
|
34630
|
+
"ghost",
|
|
34631
|
+
"team"
|
|
34632
|
+
])
|
|
34649
34633
|
});
|
|
34650
34634
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
34651
34635
|
id: /* @__PURE__ */ number(),
|
|
@@ -34687,8 +34671,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34687
34671
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34688
34672
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
34689
34673
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34690
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
34691
|
-
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("RecurringProjectID links an instance to its recurring template, so clients can lane an entry under a collapsed series.")))
|
|
34674
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
34692
34675
|
});
|
|
34693
34676
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
34694
34677
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -34761,7 +34744,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34761
34744
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34762
34745
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34763
34746
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34764
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
34747
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34765
34748
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34766
34749
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34767
34750
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34769,6 +34752,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34769
34752
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34770
34753
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34771
34754
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34755
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34772
34756
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34773
34757
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34774
34758
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34778,7 +34762,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34778
34762
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34779
34763
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34780
34764
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34781
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34782
34765
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34783
34766
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34784
34767
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34822,7 +34805,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34822
34805
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34823
34806
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34824
34807
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34825
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
34808
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34826
34809
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34827
34810
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34828
34811
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34830,6 +34813,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34830
34813
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34831
34814
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34832
34815
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34816
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34833
34817
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34834
34818
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34835
34819
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34840,7 +34824,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34840
34824
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34841
34825
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34842
34826
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34843
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34844
34827
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34845
34828
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34846
34829
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34999,7 +34982,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34999
34982
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
35000
34983
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35001
34984
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35002
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
34985
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
35003
34986
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35004
34987
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35005
34988
|
});
|
|
@@ -35143,7 +35126,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35143
35126
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
35144
35127
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35145
35128
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35146
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35129
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
35147
35130
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35148
35131
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35149
35132
|
})),
|
|
@@ -35155,15 +35138,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
35155
35138
|
id: /* @__PURE__ */ number(),
|
|
35156
35139
|
name: /* @__PURE__ */ string(),
|
|
35157
35140
|
workspace_id: /* @__PURE__ */ number(),
|
|
35158
|
-
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."))),
|
|
35159
35141
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35160
35142
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35161
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35162
|
-
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
35163
|
-
projects: /* @__PURE__ */ number(),
|
|
35164
|
-
tasks: /* @__PURE__ */ number(),
|
|
35165
|
-
time_entries: /* @__PURE__ */ number()
|
|
35166
|
-
})), /* @__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.")))
|
|
35143
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35167
35144
|
});
|
|
35168
35145
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
35169
35146
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -35174,8 +35151,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
35174
35151
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
35175
35152
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
35176
35153
|
account_locked_at: /* @__PURE__ */ string(),
|
|
35177
|
-
accounts_role_id: /* @__PURE__ */ number(),
|
|
35178
35154
|
active: /* @__PURE__ */ boolean(),
|
|
35155
|
+
admin: /* @__PURE__ */ boolean(),
|
|
35179
35156
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
35180
35157
|
created_at: /* @__PURE__ */ string(),
|
|
35181
35158
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -35224,9 +35201,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
35224
35201
|
track_role_id: /* @__PURE__ */ number(),
|
|
35225
35202
|
work_role_id: /* @__PURE__ */ number(),
|
|
35226
35203
|
workspace_user_id: /* @__PURE__ */ number()
|
|
35227
|
-
}))
|
|
35228
|
-
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
35229
|
-
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.")))
|
|
35204
|
+
}))
|
|
35230
35205
|
});
|
|
35231
35206
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35232
35207
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -35303,7 +35278,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35303
35278
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35304
35279
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35305
35280
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35306
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
35281
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35282
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35307
35283
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35308
35284
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35309
35285
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -35319,7 +35295,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35319
35295
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35320
35296
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35321
35297
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35322
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35323
35298
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35324
35299
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35325
35300
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35329,23 +35304,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35329
35304
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35330
35305
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
35331
35306
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
35332
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
35333
|
-
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.")))
|
|
35307
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
35334
35308
|
});
|
|
35335
35309
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35336
35310
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35337
35311
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
35338
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35339
35312
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35340
35313
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35341
35314
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35342
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
35315
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35343
35316
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35344
35317
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35345
35318
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35346
35319
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35347
35320
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35348
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
35321
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35322
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35349
35323
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35350
35324
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35351
35325
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35362,7 +35336,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35362
35336
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35363
35337
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35364
35338
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35365
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35366
35339
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35367
35340
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35368
35341
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35371,17 +35344,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35371
35344
|
});
|
|
35372
35345
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
35373
35346
|
id: /* @__PURE__ */ number(),
|
|
35374
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35375
35347
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35376
35348
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35377
35349
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35378
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
35350
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35379
35351
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35380
35352
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35381
35353
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35382
35354
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35383
35355
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35384
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
35356
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35357
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35385
35358
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35386
35359
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35387
35360
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35398,7 +35371,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35398
35371
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35399
35372
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35400
35373
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35401
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35402
35374
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35403
35375
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35404
35376
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37322,7 +37294,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37322
37294
|
})
|
|
37323
37295
|
}).json();
|
|
37324
37296
|
}
|
|
37325
|
-
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
|
|
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) {
|
|
37326
37298
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37327
37299
|
signal,
|
|
37328
37300
|
searchParams: buildSearchParams$2({
|
|
@@ -37342,10 +37314,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37342
37314
|
include_working_hours,
|
|
37343
37315
|
include_rates,
|
|
37344
37316
|
pinned_ids,
|
|
37345
|
-
has_group
|
|
37346
|
-
cf_filter,
|
|
37347
|
-
include_custom_fields,
|
|
37348
|
-
include_calendar_integration
|
|
37317
|
+
has_group
|
|
37349
37318
|
}, true)
|
|
37350
37319
|
});
|
|
37351
37320
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -37364,7 +37333,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
37364
37333
|
}
|
|
37365
37334
|
//#endregion
|
|
37366
37335
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
37367
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id
|
|
37336
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
37368
37337
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
37369
37338
|
signal,
|
|
37370
37339
|
searchParams: buildSearchParams$2({
|
|
@@ -37372,10 +37341,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
37372
37341
|
page,
|
|
37373
37342
|
per_page,
|
|
37374
37343
|
order_by,
|
|
37375
|
-
tag_id
|
|
37376
|
-
include_usage,
|
|
37377
|
-
include_archived,
|
|
37378
|
-
archived
|
|
37344
|
+
tag_id
|
|
37379
37345
|
})
|
|
37380
37346
|
}).json();
|
|
37381
37347
|
}
|
|
@@ -37385,42 +37351,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
37385
37351
|
json: data
|
|
37386
37352
|
}).json();
|
|
37387
37353
|
}
|
|
37388
|
-
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
37389
|
-
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37390
|
-
signal,
|
|
37391
|
-
json: data
|
|
37392
|
-
}).json();
|
|
37393
|
-
}
|
|
37394
|
-
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
37395
|
-
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37396
|
-
signal,
|
|
37397
|
-
searchParams: buildSearchParams$2({ ids })
|
|
37398
|
-
}).json();
|
|
37399
|
-
}
|
|
37400
|
-
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
37401
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
37402
|
-
signal,
|
|
37403
|
-
json: data
|
|
37404
|
-
}).json();
|
|
37405
|
-
}
|
|
37406
|
-
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
37407
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
37408
|
-
signal,
|
|
37409
|
-
json: data
|
|
37410
|
-
}).json();
|
|
37411
|
-
}
|
|
37412
|
-
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
37413
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
37414
|
-
signal,
|
|
37415
|
-
json: data
|
|
37416
|
-
}).json();
|
|
37417
|
-
}
|
|
37418
|
-
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
37419
|
-
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
37420
|
-
signal,
|
|
37421
|
-
json: data
|
|
37422
|
-
}).json();
|
|
37423
|
-
}
|
|
37424
37354
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
37425
37355
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37426
37356
|
}
|
|
@@ -37433,18 +37363,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
37433
37363
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
37434
37364
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37435
37365
|
}
|
|
37436
|
-
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37437
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
37438
|
-
}
|
|
37439
37366
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
37440
37367
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
37441
37368
|
}
|
|
37442
|
-
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37443
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
37444
|
-
}
|
|
37445
37369
|
//#endregion
|
|
37446
37370
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37447
|
-
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,
|
|
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) {
|
|
37448
37372
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37449
37373
|
signal,
|
|
37450
37374
|
searchParams: buildSearchParams$2({
|
|
@@ -37466,7 +37390,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
37466
37390
|
include_rates,
|
|
37467
37391
|
include_rollover,
|
|
37468
37392
|
include_idle_recurring_templates,
|
|
37469
|
-
collapse_recurring,
|
|
37470
37393
|
include_drafts,
|
|
37471
37394
|
include_locked_private,
|
|
37472
37395
|
start_date,
|
|
@@ -37697,7 +37620,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37697
37620
|
}
|
|
37698
37621
|
//#endregion
|
|
37699
37622
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37700
|
-
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) {
|
|
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, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
|
|
37701
37624
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37702
37625
|
signal,
|
|
37703
37626
|
searchParams: buildSearchParams$2({
|
|
@@ -37745,8 +37668,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37745
37668
|
recurring_task_ids,
|
|
37746
37669
|
client_id,
|
|
37747
37670
|
include_rates,
|
|
37671
|
+
include_ghost_assignees,
|
|
37748
37672
|
include_assignees,
|
|
37749
37673
|
include_parent_matches,
|
|
37674
|
+
assignee_ghost_id,
|
|
37750
37675
|
disable_aggregations,
|
|
37751
37676
|
cf_filter
|
|
37752
37677
|
})
|
|
@@ -37832,7 +37757,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
37832
37757
|
})
|
|
37833
37758
|
}).json();
|
|
37834
37759
|
}
|
|
37835
|
-
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,
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37836
37761
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37837
37762
|
signal,
|
|
37838
37763
|
searchParams: buildSearchParams$2({
|
|
@@ -37845,14 +37770,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37845
37770
|
dates_overlap_end,
|
|
37846
37771
|
recurring_task_ids,
|
|
37847
37772
|
team_id,
|
|
37848
|
-
assignee_team_id,
|
|
37849
37773
|
assignee_user_id,
|
|
37850
37774
|
tag_id,
|
|
37775
|
+
include_ghost_assignees,
|
|
37851
37776
|
include_assignees
|
|
37852
37777
|
})
|
|
37853
37778
|
}).json();
|
|
37854
37779
|
}
|
|
37855
|
-
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) {
|
|
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, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
|
|
37856
37781
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37857
37782
|
signal,
|
|
37858
37783
|
searchParams: buildSearchParams$2({
|
|
@@ -37896,15 +37821,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37896
37821
|
recurring,
|
|
37897
37822
|
recurring_task_ids,
|
|
37898
37823
|
client_id,
|
|
37824
|
+
include_ghost_assignees,
|
|
37899
37825
|
include_assignees,
|
|
37826
|
+
assignee_ghost_id,
|
|
37900
37827
|
cf_filter
|
|
37901
37828
|
})
|
|
37902
37829
|
}).json();
|
|
37903
37830
|
}
|
|
37904
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
37831
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37905
37832
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
37906
37833
|
signal,
|
|
37907
|
-
searchParams: buildSearchParams$2({
|
|
37834
|
+
searchParams: buildSearchParams$2({
|
|
37835
|
+
include_ghost_assignees,
|
|
37836
|
+
include_assignees
|
|
37837
|
+
})
|
|
37908
37838
|
}).json();
|
|
37909
37839
|
}
|
|
37910
37840
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -37935,7 +37865,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
37935
37865
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
37936
37866
|
}).json();
|
|
37937
37867
|
}
|
|
37938
|
-
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) {
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37939
37869
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
37940
37870
|
signal,
|
|
37941
37871
|
searchParams: buildSearchParams$2({
|
|
@@ -37948,11 +37878,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37948
37878
|
team_id,
|
|
37949
37879
|
assignee_user_id,
|
|
37950
37880
|
tag_id,
|
|
37881
|
+
include_ghost_assignees,
|
|
37951
37882
|
include_assignees
|
|
37952
37883
|
})
|
|
37953
37884
|
}).json();
|
|
37954
37885
|
}
|
|
37955
|
-
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) {
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37956
37887
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37957
37888
|
signal,
|
|
37958
37889
|
searchParams: buildSearchParams$2({
|
|
@@ -37965,6 +37896,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
37965
37896
|
team_id,
|
|
37966
37897
|
assignee_user_id,
|
|
37967
37898
|
tag_id,
|
|
37899
|
+
include_ghost_assignees,
|
|
37968
37900
|
include_assignees
|
|
37969
37901
|
})
|
|
37970
37902
|
}).json();
|
|
@@ -38066,12 +37998,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38066
37998
|
})
|
|
38067
37999
|
}).json();
|
|
38068
38000
|
}
|
|
38069
|
-
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
38070
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
38071
|
-
signal,
|
|
38072
|
-
json: data
|
|
38073
|
-
}).json();
|
|
38074
|
-
}
|
|
38075
38001
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38076
38002
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38077
38003
|
signal,
|
|
@@ -38208,7 +38134,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38208
38134
|
]))
|
|
38209
38135
|
});
|
|
38210
38136
|
//#endregion
|
|
38211
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38137
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38212
38138
|
async function getInvitations(httpClient, signal) {
|
|
38213
38139
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38214
38140
|
}
|
|
@@ -38225,7 +38151,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38225
38151
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38226
38152
|
}
|
|
38227
38153
|
//#endregion
|
|
38228
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38154
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38229
38155
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38230
38156
|
const searchParams = new URLSearchParams();
|
|
38231
38157
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38237,7 +38163,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38237
38163
|
return searchParams;
|
|
38238
38164
|
}
|
|
38239
38165
|
//#endregion
|
|
38240
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38166
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38241
38167
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38242
38168
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38243
38169
|
}
|
|
@@ -38251,7 +38177,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38251
38177
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38252
38178
|
}
|
|
38253
38179
|
//#endregion
|
|
38254
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38180
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38255
38181
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38256
38182
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38257
38183
|
}
|
|
@@ -38260,7 +38186,7 @@ async function getWorkspaceUserMeRoles(httpClient, organization_id, workspace_id
|
|
|
38260
38186
|
}
|
|
38261
38187
|
const WorkingHoursCreateInputSchema = /* @__PURE__ */ object$2({
|
|
38262
38188
|
working_hours: /* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(168)),
|
|
38263
|
-
starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */
|
|
38189
|
+
starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(24))),
|
|
38264
38190
|
weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(6)))
|
|
38265
38191
|
});
|
|
38266
38192
|
const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
@@ -38271,7 +38197,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38271
38197
|
});
|
|
38272
38198
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38273
38199
|
//#endregion
|
|
38274
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38200
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38275
38201
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38276
38202
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38277
38203
|
signal,
|
|
@@ -38282,12 +38208,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38282
38208
|
})).json();
|
|
38283
38209
|
}
|
|
38284
38210
|
//#endregion
|
|
38285
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38211
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38286
38212
|
async function getStatus(httpClient, signal) {
|
|
38287
38213
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38288
38214
|
}
|
|
38289
38215
|
//#endregion
|
|
38290
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38216
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38291
38217
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38292
38218
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38293
38219
|
signal,
|
|
@@ -38315,7 +38241,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38315
38241
|
return response.json();
|
|
38316
38242
|
}
|
|
38317
38243
|
//#endregion
|
|
38318
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38244
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38319
38245
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38320
38246
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38321
38247
|
}
|
|
@@ -41919,21 +41845,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41919
41845
|
}
|
|
41920
41846
|
//#endregion
|
|
41921
41847
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41922
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41923
|
-
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41924
|
-
signal,
|
|
41925
|
-
searchParams: buildSearchParams$2({
|
|
41926
|
-
workspace_id,
|
|
41927
|
-
entity_type,
|
|
41928
|
-
entity_id,
|
|
41929
|
-
action,
|
|
41930
|
-
user_id,
|
|
41931
|
-
page_size,
|
|
41932
|
-
page_number,
|
|
41933
|
-
export: export_
|
|
41934
|
-
})
|
|
41935
|
-
}).json();
|
|
41936
|
-
}
|
|
41937
41848
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41938
41849
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41939
41850
|
signal,
|
|
@@ -42092,22 +42003,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42092
42003
|
}
|
|
42093
42004
|
//#endregion
|
|
42094
42005
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42095
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts
|
|
42006
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, ghost_id, private: private_, task_source, unit, include_drafts }, signal) {
|
|
42096
42007
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42097
42008
|
signal,
|
|
42098
42009
|
searchParams: buildSearchParams$2({
|
|
42099
42010
|
user_id,
|
|
42100
42011
|
start_date,
|
|
42101
42012
|
end_date,
|
|
42013
|
+
ghost_id,
|
|
42102
42014
|
private: private_,
|
|
42103
42015
|
task_source,
|
|
42104
42016
|
unit,
|
|
42105
|
-
include_drafts
|
|
42106
|
-
include_task_estimates
|
|
42017
|
+
include_drafts
|
|
42107
42018
|
})
|
|
42108
42019
|
}).json();
|
|
42109
42020
|
}
|
|
42110
42021
|
//#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
|
|
42111
42033
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
42112
42034
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
42113
42035
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -42190,12 +42112,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
42190
42112
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
42191
42113
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
42192
42114
|
}
|
|
42193
|
-
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
42194
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
42195
|
-
signal,
|
|
42196
|
-
json: data
|
|
42197
|
-
}).json();
|
|
42198
|
-
}
|
|
42199
42115
|
//#endregion
|
|
42200
42116
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42201
42117
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -42421,7 +42337,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42421
42337
|
}
|
|
42422
42338
|
//#endregion
|
|
42423
42339
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42424
|
-
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,
|
|
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) {
|
|
42425
42341
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42426
42342
|
signal,
|
|
42427
42343
|
searchParams: buildSearchParams$2({
|
|
@@ -42433,7 +42349,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42433
42349
|
include_group_totals,
|
|
42434
42350
|
include_unassigned,
|
|
42435
42351
|
archived,
|
|
42436
|
-
completed,
|
|
42437
42352
|
private: private_,
|
|
42438
42353
|
name,
|
|
42439
42354
|
client_id,
|
|
@@ -42445,7 +42360,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42445
42360
|
start_date,
|
|
42446
42361
|
end_date,
|
|
42447
42362
|
user_id,
|
|
42448
|
-
only_me,
|
|
42449
42363
|
include_drafts,
|
|
42450
42364
|
cf_filter
|
|
42451
42365
|
})
|
|
@@ -42561,14 +42475,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
42561
42475
|
}
|
|
42562
42476
|
//#endregion
|
|
42563
42477
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
42564
|
-
async function
|
|
42565
|
-
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
42566
|
-
}
|
|
42567
|
-
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
42478
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
|
|
42568
42479
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
42569
42480
|
signal,
|
|
42570
42481
|
json: data,
|
|
42571
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
42572
42482
|
searchParams: buildSearchParams$2({
|
|
42573
42483
|
response_format,
|
|
42574
42484
|
include_dicts
|
|
@@ -42592,36 +42502,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
42592
42502
|
json: data
|
|
42593
42503
|
}).json();
|
|
42594
42504
|
}
|
|
42595
|
-
async function
|
|
42596
|
-
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
42597
|
-
signal,
|
|
42598
|
-
json: data
|
|
42599
|
-
}).json();
|
|
42600
|
-
}
|
|
42601
|
-
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
42505
|
+
async function getWorkloadReport(httpClient, workspace_id, data, signal) {
|
|
42602
42506
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
42603
|
-
signal,
|
|
42604
|
-
json: data,
|
|
42605
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
42606
|
-
}).json();
|
|
42607
|
-
}
|
|
42608
|
-
//#endregion
|
|
42609
|
-
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
42610
|
-
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42611
|
-
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
42612
|
-
signal,
|
|
42613
|
-
json: data
|
|
42614
|
-
}).json();
|
|
42615
|
-
}
|
|
42616
|
-
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42617
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
42618
42507
|
signal,
|
|
42619
42508
|
json: data
|
|
42620
42509
|
}).json();
|
|
42621
42510
|
}
|
|
42622
|
-
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
42623
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
42624
|
-
}
|
|
42625
42511
|
//#endregion
|
|
42626
42512
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
42627
42513
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -42654,7 +42540,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42654
42540
|
}
|
|
42655
42541
|
//#endregion
|
|
42656
42542
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42657
|
-
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
|
|
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) {
|
|
42658
42544
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42659
42545
|
signal,
|
|
42660
42546
|
searchParams: buildSearchParams$2({
|
|
@@ -42666,56 +42552,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42666
42552
|
task_id,
|
|
42667
42553
|
include_drafts,
|
|
42668
42554
|
exclude_calendar_events,
|
|
42669
|
-
group_by_tags
|
|
42670
|
-
only_me
|
|
42671
|
-
})
|
|
42672
|
-
}).json();
|
|
42673
|
-
}
|
|
42674
|
-
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
42675
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
42676
|
-
signal,
|
|
42677
|
-
searchParams: buildSearchParams$2({
|
|
42678
|
-
keyword,
|
|
42679
|
-
per_group
|
|
42555
|
+
group_by_tags
|
|
42680
42556
|
})
|
|
42681
42557
|
}).json();
|
|
42682
42558
|
}
|
|
42683
42559
|
//#endregion
|
|
42684
|
-
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
42685
|
-
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
42686
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
42687
|
-
signal,
|
|
42688
|
-
json: data
|
|
42689
|
-
}).json();
|
|
42690
|
-
}
|
|
42691
|
-
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
42692
|
-
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
42693
|
-
}
|
|
42694
|
-
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
42695
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
42696
|
-
signal,
|
|
42697
|
-
json: data
|
|
42698
|
-
}).json();
|
|
42699
|
-
}
|
|
42700
|
-
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
42701
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
42702
|
-
}
|
|
42703
|
-
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
42704
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
42705
|
-
}
|
|
42706
|
-
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42707
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42708
|
-
}
|
|
42709
|
-
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42710
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42711
|
-
signal,
|
|
42712
|
-
json: data
|
|
42713
|
-
}).json();
|
|
42714
|
-
}
|
|
42715
|
-
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42716
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42717
|
-
}
|
|
42718
|
-
//#endregion
|
|
42719
42560
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42720
42561
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
42721
42562
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -42771,77 +42612,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42771
42612
|
}
|
|
42772
42613
|
//#endregion
|
|
42773
42614
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42774
|
-
async function
|
|
42775
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42776
|
-
signal,
|
|
42777
|
-
searchParams: buildSearchParams$2({
|
|
42778
|
-
project_id,
|
|
42779
|
-
source,
|
|
42780
|
-
priority,
|
|
42781
|
-
status_id,
|
|
42782
|
-
client_id,
|
|
42783
|
-
assignee_user_id,
|
|
42784
|
-
tag_id,
|
|
42785
|
-
team_id,
|
|
42786
|
-
user_tag_id,
|
|
42787
|
-
group_id,
|
|
42788
|
-
creator_id,
|
|
42789
|
-
name,
|
|
42790
|
-
start_date,
|
|
42791
|
-
end_date,
|
|
42792
|
-
start_date_from,
|
|
42793
|
-
start_date_to,
|
|
42794
|
-
end_date_from,
|
|
42795
|
-
end_date_to,
|
|
42796
|
-
private: private_,
|
|
42797
|
-
exclude_empty,
|
|
42798
|
-
include_unassigned,
|
|
42799
|
-
include_unmaterialized,
|
|
42800
|
-
collapse_recurring,
|
|
42801
|
-
include_assignees,
|
|
42802
|
-
min_days,
|
|
42803
|
-
include_drafts,
|
|
42804
|
-
cf_filter,
|
|
42805
|
-
user_cf_filter
|
|
42806
|
-
})
|
|
42807
|
-
}).json();
|
|
42808
|
-
}
|
|
42809
|
-
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) {
|
|
42810
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42811
|
-
signal,
|
|
42812
|
-
searchParams: buildSearchParams$2({
|
|
42813
|
-
team_id,
|
|
42814
|
-
project_id,
|
|
42815
|
-
source,
|
|
42816
|
-
priority,
|
|
42817
|
-
status_id,
|
|
42818
|
-
client_id,
|
|
42819
|
-
assignee_user_id,
|
|
42820
|
-
tag_id,
|
|
42821
|
-
user_tag_id,
|
|
42822
|
-
group_id,
|
|
42823
|
-
creator_id,
|
|
42824
|
-
name,
|
|
42825
|
-
start_date,
|
|
42826
|
-
end_date,
|
|
42827
|
-
start_date_from,
|
|
42828
|
-
start_date_to,
|
|
42829
|
-
end_date_from,
|
|
42830
|
-
end_date_to,
|
|
42831
|
-
private: private_,
|
|
42832
|
-
exclude_empty,
|
|
42833
|
-
include_unassigned,
|
|
42834
|
-
include_unmaterialized,
|
|
42835
|
-
collapse_recurring,
|
|
42836
|
-
include_assignees,
|
|
42837
|
-
min_days,
|
|
42838
|
-
include_drafts,
|
|
42839
|
-
cf_filter,
|
|
42840
|
-
user_cf_filter
|
|
42841
|
-
})
|
|
42842
|
-
}).json();
|
|
42843
|
-
}
|
|
42844
|
-
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) {
|
|
42615
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
|
|
42845
42616
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42846
42617
|
signal,
|
|
42847
42618
|
searchParams: buildSearchParams$2({
|
|
@@ -42865,14 +42636,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42865
42636
|
end_date_to,
|
|
42866
42637
|
private: private_,
|
|
42867
42638
|
exclude_empty,
|
|
42868
|
-
|
|
42869
|
-
include_unmaterialized,
|
|
42870
|
-
collapse_recurring,
|
|
42639
|
+
include_ghosts,
|
|
42871
42640
|
include_assignees,
|
|
42872
42641
|
min_days,
|
|
42873
42642
|
include_drafts,
|
|
42874
42643
|
cf_filter,
|
|
42875
|
-
user_cf_filter,
|
|
42876
42644
|
page,
|
|
42877
42645
|
per_page,
|
|
42878
42646
|
order_by
|
|
@@ -43009,18 +42777,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
43009
42777
|
}).json();
|
|
43010
42778
|
}
|
|
43011
42779
|
//#endregion
|
|
43012
|
-
//#region ../focus-queries/dist/time-
|
|
43013
|
-
async function
|
|
43014
|
-
return await httpClient.
|
|
42780
|
+
//#region ../focus-queries/dist/time-log-suggestions/requests.ts
|
|
42781
|
+
async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
|
|
42782
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
|
|
43015
42783
|
signal,
|
|
43016
|
-
|
|
43017
|
-
|
|
43018
|
-
|
|
43019
|
-
|
|
43020
|
-
|
|
43021
|
-
|
|
43022
|
-
|
|
43023
|
-
})
|
|
42784
|
+
json: data
|
|
42785
|
+
}).json();
|
|
42786
|
+
}
|
|
42787
|
+
async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
|
|
42788
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
|
|
42789
|
+
signal,
|
|
42790
|
+
json: data
|
|
43024
42791
|
}).json();
|
|
43025
42792
|
}
|
|
43026
42793
|
//#endregion
|
|
@@ -43062,6 +42829,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
43062
42829
|
json: data
|
|
43063
42830
|
}).json();
|
|
43064
42831
|
}
|
|
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
|
+
}
|
|
43065
42869
|
//#endregion
|
|
43066
42870
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43067
42871
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43254,6 +43058,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
43254
43058
|
json: data
|
|
43255
43059
|
}).json();
|
|
43256
43060
|
}
|
|
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
|
+
}
|
|
43257
43082
|
//#endregion
|
|
43258
43083
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
43259
43084
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -43270,9 +43095,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
43270
43095
|
json: data
|
|
43271
43096
|
}).json();
|
|
43272
43097
|
}
|
|
43273
|
-
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
43274
|
-
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
43275
|
-
}
|
|
43276
43098
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
43277
43099
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
43278
43100
|
}
|
|
@@ -43285,15 +43107,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
43285
43107
|
json: data
|
|
43286
43108
|
}).json();
|
|
43287
43109
|
}
|
|
43288
|
-
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
43289
|
-
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
43290
|
-
}
|
|
43291
|
-
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
43292
|
-
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
43293
|
-
signal,
|
|
43294
|
-
json: data
|
|
43295
|
-
}).json();
|
|
43296
|
-
}
|
|
43297
43110
|
//#endregion
|
|
43298
43111
|
//#region ../operations/build/index.public.js
|
|
43299
43112
|
function callGeneratedRequest(request, args) {
|
|
@@ -43429,17 +43242,17 @@ const generatedFocusOperations = [
|
|
|
43429
43242
|
]))
|
|
43430
43243
|
},
|
|
43431
43244
|
{
|
|
43432
|
-
id: "focus.audit-log.
|
|
43245
|
+
id: "focus.audit-log.list",
|
|
43433
43246
|
family: "focus",
|
|
43434
43247
|
resource: "audit-log",
|
|
43435
|
-
action: "
|
|
43436
|
-
title: "
|
|
43437
|
-
description: "
|
|
43248
|
+
action: "list",
|
|
43249
|
+
title: "List Audit Log",
|
|
43250
|
+
description: "List Audit Log.",
|
|
43438
43251
|
safety: "read",
|
|
43439
43252
|
destructive: false,
|
|
43440
43253
|
cli: {
|
|
43441
43254
|
group: ["audit-log"],
|
|
43442
|
-
command: "
|
|
43255
|
+
command: "list",
|
|
43443
43256
|
interactive: "hidden"
|
|
43444
43257
|
},
|
|
43445
43258
|
mcp: { entityTool: "audit-log" },
|
|
@@ -43453,47 +43266,7 @@ const generatedFocusOperations = [
|
|
|
43453
43266
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43454
43267
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43455
43268
|
to: /* @__PURE__ */ string$1(),
|
|
43456
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43457
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43458
|
-
}),
|
|
43459
|
-
execute: (input, { client }) => {
|
|
43460
|
-
const data = input;
|
|
43461
|
-
return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
|
|
43462
|
-
client.httpClient,
|
|
43463
|
-
client.organizationId,
|
|
43464
|
-
data.from,
|
|
43465
|
-
data.to,
|
|
43466
|
-
data,
|
|
43467
|
-
void 0
|
|
43468
|
-
]));
|
|
43469
|
-
}
|
|
43470
|
-
},
|
|
43471
|
-
{
|
|
43472
|
-
id: "focus.audit-log.list",
|
|
43473
|
-
family: "focus",
|
|
43474
|
-
resource: "audit-log",
|
|
43475
|
-
action: "list",
|
|
43476
|
-
title: "List Audit Log",
|
|
43477
|
-
description: "List Audit Log.",
|
|
43478
|
-
safety: "read",
|
|
43479
|
-
destructive: false,
|
|
43480
|
-
cli: {
|
|
43481
|
-
group: ["audit-log"],
|
|
43482
|
-
command: "list",
|
|
43483
|
-
interactive: "hidden"
|
|
43484
|
-
},
|
|
43485
|
-
mcp: { entityTool: "audit-log" },
|
|
43486
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43487
|
-
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43488
|
-
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43489
|
-
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43490
|
-
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43491
|
-
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43492
|
-
from: /* @__PURE__ */ string$1(),
|
|
43493
|
-
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43494
|
-
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43495
|
-
to: /* @__PURE__ */ string$1(),
|
|
43496
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43269
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43497
43270
|
}),
|
|
43498
43271
|
execute: (input, { client }) => {
|
|
43499
43272
|
const data = input;
|
|
@@ -43525,9 +43298,9 @@ const generatedFocusOperations = [
|
|
|
43525
43298
|
mcp: { entityTool: "capacities" },
|
|
43526
43299
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43527
43300
|
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43301
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
43528
43302
|
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
43529
43303
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
43530
|
-
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
43531
43304
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43532
43305
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43533
43306
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
@@ -43546,6 +43319,54 @@ const generatedFocusOperations = [
|
|
|
43546
43319
|
]));
|
|
43547
43320
|
}
|
|
43548
43321
|
},
|
|
43322
|
+
{
|
|
43323
|
+
id: "focus.capacities.settings-list",
|
|
43324
|
+
family: "focus",
|
|
43325
|
+
resource: "capacities",
|
|
43326
|
+
action: "settings-list",
|
|
43327
|
+
title: "Settings List Capacities",
|
|
43328
|
+
description: "Settings List Capacities.",
|
|
43329
|
+
safety: "read",
|
|
43330
|
+
destructive: false,
|
|
43331
|
+
cli: {
|
|
43332
|
+
group: ["capacities", "settings"],
|
|
43333
|
+
command: "list",
|
|
43334
|
+
interactive: "hidden"
|
|
43335
|
+
},
|
|
43336
|
+
mcp: { entityTool: "capacities" },
|
|
43337
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
43338
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
43339
|
+
client.httpClient,
|
|
43340
|
+
client.workspaceIdNumber,
|
|
43341
|
+
void 0
|
|
43342
|
+
]))
|
|
43343
|
+
},
|
|
43344
|
+
{
|
|
43345
|
+
id: "focus.capacities.settings-update",
|
|
43346
|
+
family: "focus",
|
|
43347
|
+
resource: "capacities",
|
|
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() }) }),
|
|
43360
|
+
execute: (input, { client }) => {
|
|
43361
|
+
const data = input;
|
|
43362
|
+
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
43363
|
+
client.httpClient,
|
|
43364
|
+
client.workspaceIdNumber,
|
|
43365
|
+
data.payload ?? data.data ?? data,
|
|
43366
|
+
void 0
|
|
43367
|
+
]));
|
|
43368
|
+
}
|
|
43369
|
+
},
|
|
43549
43370
|
{
|
|
43550
43371
|
id: "focus.clients.create",
|
|
43551
43372
|
family: "focus",
|
|
@@ -43740,7 +43561,8 @@ const generatedFocusOperations = [
|
|
|
43740
43561
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
43741
43562
|
start_at: apiDateTimeString,
|
|
43742
43563
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43743
|
-
})))
|
|
43564
|
+
}))),
|
|
43565
|
+
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
43744
43566
|
}) }),
|
|
43745
43567
|
execute: (input, { client }) => {
|
|
43746
43568
|
const data = input;
|
|
@@ -43795,7 +43617,6 @@ const generatedFocusOperations = [
|
|
|
43795
43617
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43796
43618
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43797
43619
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43798
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43799
43620
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43800
43621
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43801
43622
|
}),
|
|
@@ -43828,7 +43649,6 @@ const generatedFocusOperations = [
|
|
|
43828
43649
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43829
43650
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43830
43651
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43831
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43832
43652
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43833
43653
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43834
43654
|
}))),
|
|
@@ -43884,11 +43704,7 @@ const generatedFocusOperations = [
|
|
|
43884
43704
|
},
|
|
43885
43705
|
mcp: { entityTool: "custom-fields" },
|
|
43886
43706
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
43887
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
43888
|
-
"project",
|
|
43889
|
-
"task",
|
|
43890
|
-
"user"
|
|
43891
|
-
]),
|
|
43707
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
43892
43708
|
field_type: /* @__PURE__ */ picklist$1([
|
|
43893
43709
|
"select",
|
|
43894
43710
|
"multi_select",
|
|
@@ -44221,11 +44037,7 @@ const generatedFocusOperations = [
|
|
|
44221
44037
|
},
|
|
44222
44038
|
mcp: { entityTool: "custom-fields" },
|
|
44223
44039
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44224
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44225
|
-
"project",
|
|
44226
|
-
"task",
|
|
44227
|
-
"user"
|
|
44228
|
-
]),
|
|
44040
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
44229
44041
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
44230
44042
|
}) }),
|
|
44231
44043
|
execute: (input, { client }) => {
|
|
@@ -44239,37 +44051,6 @@ const generatedFocusOperations = [
|
|
|
44239
44051
|
]));
|
|
44240
44052
|
}
|
|
44241
44053
|
},
|
|
44242
|
-
{
|
|
44243
|
-
id: "focus.custom-fields.update-user-custom-field-values",
|
|
44244
|
-
family: "focus",
|
|
44245
|
-
resource: "custom-fields",
|
|
44246
|
-
action: "update-user-custom-field-values",
|
|
44247
|
-
title: "Update User Custom Field Values Custom Fields",
|
|
44248
|
-
description: "Update User Custom Field Values Custom Fields.",
|
|
44249
|
-
safety: "update",
|
|
44250
|
-
destructive: false,
|
|
44251
|
-
cli: {
|
|
44252
|
-
group: ["custom-fields"],
|
|
44253
|
-
command: "update-user-custom-field-values",
|
|
44254
|
-
interactive: "hidden"
|
|
44255
|
-
},
|
|
44256
|
-
mcp: { entityTool: "custom-fields" },
|
|
44257
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44258
|
-
payload: /* @__PURE__ */ unknown$1(),
|
|
44259
|
-
user_id: /* @__PURE__ */ number$2()
|
|
44260
|
-
}),
|
|
44261
|
-
execute: (input, { client }) => {
|
|
44262
|
-
const data = input;
|
|
44263
|
-
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
44264
|
-
client.httpClient,
|
|
44265
|
-
client.organizationId,
|
|
44266
|
-
client.workspaceIdNumber,
|
|
44267
|
-
data.user_id,
|
|
44268
|
-
data.payload ?? data.data ?? data,
|
|
44269
|
-
void 0
|
|
44270
|
-
]));
|
|
44271
|
-
}
|
|
44272
|
-
},
|
|
44273
44054
|
{
|
|
44274
44055
|
id: "focus.goals.create",
|
|
44275
44056
|
family: "focus",
|
|
@@ -44489,22 +44270,10 @@ const generatedFocusOperations = [
|
|
|
44489
44270
|
goal_id: /* @__PURE__ */ number$2(),
|
|
44490
44271
|
payload: /* @__PURE__ */ looseObject({
|
|
44491
44272
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44492
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44493
44273
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44494
44274
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44495
44275
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44496
|
-
|
|
44497
|
-
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
44498
|
-
"daily",
|
|
44499
|
-
"weekly",
|
|
44500
|
-
"daily_workdays",
|
|
44501
|
-
"monthly"
|
|
44502
|
-
])),
|
|
44503
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44504
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44505
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44506
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44507
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44276
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
44508
44277
|
})
|
|
44509
44278
|
}),
|
|
44510
44279
|
execute: (input, { client }) => {
|
|
@@ -45837,7 +45606,6 @@ const generatedFocusOperations = [
|
|
|
45837
45606
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45838
45607
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45839
45608
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45840
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45841
45609
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45842
45610
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45843
45611
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -45845,7 +45613,6 @@ const generatedFocusOperations = [
|
|
|
45845
45613
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45846
45614
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45847
45615
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45848
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45849
45616
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45850
45617
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45851
45618
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -48030,10 +47797,7 @@ const generatedFocusOperations = [
|
|
|
48030
47797
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48031
47798
|
name: /* @__PURE__ */ string$1(),
|
|
48032
47799
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48033
|
-
}))
|
|
48034
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48035
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48036
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47800
|
+
}))
|
|
48037
47801
|
}),
|
|
48038
47802
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48039
47803
|
}),
|
|
@@ -48074,28 +47838,6 @@ const generatedFocusOperations = [
|
|
|
48074
47838
|
]));
|
|
48075
47839
|
}
|
|
48076
47840
|
},
|
|
48077
|
-
{
|
|
48078
|
-
id: "focus.reports.get-forecast-availability",
|
|
48079
|
-
family: "focus",
|
|
48080
|
-
resource: "reports",
|
|
48081
|
-
action: "get-forecast-availability",
|
|
48082
|
-
title: "Get Forecast Availability Reports",
|
|
48083
|
-
description: "Get Forecast Availability Reports.",
|
|
48084
|
-
safety: "read",
|
|
48085
|
-
destructive: false,
|
|
48086
|
-
cli: {
|
|
48087
|
-
group: ["reports"],
|
|
48088
|
-
command: "get-forecast-availability",
|
|
48089
|
-
interactive: "hidden"
|
|
48090
|
-
},
|
|
48091
|
-
mcp: { entityTool: "reports" },
|
|
48092
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48093
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
48094
|
-
client.httpClient,
|
|
48095
|
-
client.workspaceIdNumber,
|
|
48096
|
-
void 0
|
|
48097
|
-
]))
|
|
48098
|
-
},
|
|
48099
47841
|
{
|
|
48100
47842
|
id: "focus.reports.get-profitability",
|
|
48101
47843
|
family: "focus",
|
|
@@ -48155,17 +47897,9 @@ const generatedFocusOperations = [
|
|
|
48155
47897
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48156
47898
|
name: /* @__PURE__ */ string$1(),
|
|
48157
47899
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48158
|
-
}))
|
|
48159
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48160
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48161
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47900
|
+
}))
|
|
48162
47901
|
}),
|
|
48163
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48164
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48165
|
-
"csv",
|
|
48166
|
-
"xlsx",
|
|
48167
|
-
"pdf"
|
|
48168
|
-
]))
|
|
47902
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48169
47903
|
}),
|
|
48170
47904
|
execute: (input, { client }) => {
|
|
48171
47905
|
const data = input;
|
|
@@ -48175,23 +47909,22 @@ const generatedFocusOperations = [
|
|
|
48175
47909
|
data.payload ?? data.data ?? data,
|
|
48176
47910
|
data.response_format,
|
|
48177
47911
|
data.include_dicts,
|
|
48178
|
-
data.xTogglReportExport,
|
|
48179
47912
|
void 0
|
|
48180
47913
|
]));
|
|
48181
47914
|
}
|
|
48182
47915
|
},
|
|
48183
47916
|
{
|
|
48184
|
-
id: "focus.reports.get-
|
|
47917
|
+
id: "focus.reports.get-workload",
|
|
48185
47918
|
family: "focus",
|
|
48186
47919
|
resource: "reports",
|
|
48187
|
-
action: "get-
|
|
48188
|
-
title: "Get
|
|
48189
|
-
description: "Get
|
|
47920
|
+
action: "get-workload",
|
|
47921
|
+
title: "Get Workload Reports",
|
|
47922
|
+
description: "Get Workload Reports.",
|
|
48190
47923
|
safety: "update",
|
|
48191
47924
|
destructive: false,
|
|
48192
47925
|
cli: {
|
|
48193
47926
|
group: ["reports"],
|
|
48194
|
-
command: "get-
|
|
47927
|
+
command: "get-workload",
|
|
48195
47928
|
interactive: "hidden"
|
|
48196
47929
|
},
|
|
48197
47930
|
mcp: { entityTool: "reports" },
|
|
@@ -48237,14 +47970,11 @@ const generatedFocusOperations = [
|
|
|
48237
47970
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48238
47971
|
name: /* @__PURE__ */ string$1(),
|
|
48239
47972
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48240
|
-
}))
|
|
48241
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48242
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48243
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47973
|
+
}))
|
|
48244
47974
|
}) }),
|
|
48245
47975
|
execute: (input, { client }) => {
|
|
48246
47976
|
const data = input;
|
|
48247
|
-
return client.runGeneratedRequest("
|
|
47977
|
+
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
48248
47978
|
client.httpClient,
|
|
48249
47979
|
client.workspaceIdNumber,
|
|
48250
47980
|
data.payload ?? data.data ?? data,
|
|
@@ -48253,104 +47983,71 @@ const generatedFocusOperations = [
|
|
|
48253
47983
|
}
|
|
48254
47984
|
},
|
|
48255
47985
|
{
|
|
48256
|
-
id: "focus.
|
|
47986
|
+
id: "focus.saved-views.create",
|
|
48257
47987
|
family: "focus",
|
|
48258
|
-
resource: "
|
|
48259
|
-
action: "
|
|
48260
|
-
title: "
|
|
48261
|
-
description: "
|
|
48262
|
-
safety: "
|
|
47988
|
+
resource: "saved-views",
|
|
47989
|
+
action: "create",
|
|
47990
|
+
title: "Create Saved Views",
|
|
47991
|
+
description: "Create Saved Views.",
|
|
47992
|
+
safety: "create",
|
|
48263
47993
|
destructive: false,
|
|
48264
47994
|
cli: {
|
|
48265
|
-
group: ["
|
|
48266
|
-
command: "
|
|
47995
|
+
group: ["saved-views"],
|
|
47996
|
+
command: "create",
|
|
48267
47997
|
interactive: "hidden"
|
|
48268
47998
|
},
|
|
48269
|
-
mcp: { entityTool: "
|
|
48270
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48271
|
-
|
|
48272
|
-
|
|
48273
|
-
|
|
48274
|
-
|
|
48275
|
-
|
|
48276
|
-
|
|
48277
|
-
|
|
48278
|
-
|
|
48279
|
-
|
|
48280
|
-
|
|
48281
|
-
|
|
48282
|
-
|
|
48283
|
-
|
|
48284
|
-
|
|
48285
|
-
|
|
48286
|
-
|
|
48287
|
-
|
|
48288
|
-
|
|
48289
|
-
|
|
48290
|
-
|
|
48291
|
-
|
|
48292
|
-
property: /* @__PURE__ */ string$1(),
|
|
48293
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
48294
|
-
})),
|
|
48295
|
-
limit: /* @__PURE__ */ number$2(),
|
|
48296
|
-
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48297
|
-
direction: /* @__PURE__ */ string$1(),
|
|
48298
|
-
nulls: /* @__PURE__ */ string$1(),
|
|
48299
|
-
property: /* @__PURE__ */ string$1()
|
|
48300
|
-
})),
|
|
48301
|
-
pagination: /* @__PURE__ */ looseObject({
|
|
48302
|
-
page: /* @__PURE__ */ number$2(),
|
|
48303
|
-
per_page: /* @__PURE__ */ number$2()
|
|
48304
|
-
}),
|
|
48305
|
-
period: /* @__PURE__ */ looseObject({
|
|
48306
|
-
from: /* @__PURE__ */ string$1(),
|
|
48307
|
-
preset: /* @__PURE__ */ string$1(),
|
|
48308
|
-
to: /* @__PURE__ */ string$1()
|
|
48309
|
-
}),
|
|
48310
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48311
|
-
name: /* @__PURE__ */ string$1(),
|
|
48312
|
-
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48313
|
-
})),
|
|
48314
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48315
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48316
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48317
|
-
}),
|
|
48318
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48319
|
-
"csv",
|
|
48320
|
-
"xlsx",
|
|
48321
|
-
"pdf"
|
|
48322
|
-
]))
|
|
48323
|
-
}),
|
|
47999
|
+
mcp: { entityTool: "saved-views" },
|
|
48000
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
48001
|
+
name: /* @__PURE__ */ string$1(),
|
|
48002
|
+
params: /* @__PURE__ */ unknown$1(),
|
|
48003
|
+
pinned: /* @__PURE__ */ boolean$1(),
|
|
48004
|
+
type: /* @__PURE__ */ picklist$1([
|
|
48005
|
+
"inbox",
|
|
48006
|
+
"archive",
|
|
48007
|
+
"board",
|
|
48008
|
+
"timeline",
|
|
48009
|
+
"project",
|
|
48010
|
+
"project.tasks",
|
|
48011
|
+
"project.board",
|
|
48012
|
+
"project.timeline",
|
|
48013
|
+
"projects",
|
|
48014
|
+
"reports.summary",
|
|
48015
|
+
"reports.detailed",
|
|
48016
|
+
"reports.utilization",
|
|
48017
|
+
"reports.workload",
|
|
48018
|
+
"reports.profitability"
|
|
48019
|
+
]),
|
|
48020
|
+
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48021
|
+
}) }),
|
|
48324
48022
|
execute: (input, { client }) => {
|
|
48325
48023
|
const data = input;
|
|
48326
|
-
return client.runGeneratedRequest("
|
|
48024
|
+
return client.runGeneratedRequest("createANewSavedView", () => callGeneratedRequest(createANewSavedView, [
|
|
48327
48025
|
client.httpClient,
|
|
48328
48026
|
client.workspaceIdNumber,
|
|
48329
48027
|
data.payload ?? data.data ?? data,
|
|
48330
|
-
data.xTogglReportExport,
|
|
48331
48028
|
void 0
|
|
48332
48029
|
]));
|
|
48333
48030
|
}
|
|
48334
48031
|
},
|
|
48335
48032
|
{
|
|
48336
|
-
id: "focus.
|
|
48033
|
+
id: "focus.saved-views.delete",
|
|
48337
48034
|
family: "focus",
|
|
48338
|
-
resource: "
|
|
48339
|
-
action: "delete
|
|
48340
|
-
title: "Delete
|
|
48341
|
-
description: "Delete
|
|
48035
|
+
resource: "saved-views",
|
|
48036
|
+
action: "delete",
|
|
48037
|
+
title: "Delete Saved Views",
|
|
48038
|
+
description: "Delete Saved Views.",
|
|
48342
48039
|
safety: "delete",
|
|
48343
48040
|
destructive: true,
|
|
48344
48041
|
cli: {
|
|
48345
|
-
group: ["
|
|
48346
|
-
command: "delete
|
|
48042
|
+
group: ["saved-views"],
|
|
48043
|
+
command: "delete",
|
|
48347
48044
|
interactive: "default"
|
|
48348
48045
|
},
|
|
48349
|
-
mcp: { entityTool: "
|
|
48350
|
-
inputSchema:
|
|
48046
|
+
mcp: { entityTool: "saved-views" },
|
|
48047
|
+
inputSchema: savedViewIdSchema,
|
|
48351
48048
|
execute: (input, { client }) => {
|
|
48352
48049
|
const data = input;
|
|
48353
|
-
return client.runGeneratedRequest("
|
|
48050
|
+
return client.runGeneratedRequest("deleteASavedView", () => callGeneratedRequest(deleteASavedView, [
|
|
48354
48051
|
client.httpClient,
|
|
48355
48052
|
client.workspaceIdNumber,
|
|
48356
48053
|
data.id,
|
|
@@ -48359,190 +48056,33 @@ const generatedFocusOperations = [
|
|
|
48359
48056
|
}
|
|
48360
48057
|
},
|
|
48361
48058
|
{
|
|
48362
|
-
id: "focus.
|
|
48059
|
+
id: "focus.saved-views.get",
|
|
48363
48060
|
family: "focus",
|
|
48364
|
-
resource: "
|
|
48365
|
-
action: "
|
|
48366
|
-
title: "
|
|
48367
|
-
description: "
|
|
48368
|
-
safety: "
|
|
48061
|
+
resource: "saved-views",
|
|
48062
|
+
action: "get",
|
|
48063
|
+
title: "Get Saved Views",
|
|
48064
|
+
description: "Get Saved Views.",
|
|
48065
|
+
safety: "read",
|
|
48369
48066
|
destructive: false,
|
|
48370
48067
|
cli: {
|
|
48371
|
-
group: ["
|
|
48372
|
-
command: "
|
|
48373
|
-
interactive: "
|
|
48068
|
+
group: ["saved-views"],
|
|
48069
|
+
command: "get",
|
|
48070
|
+
interactive: "available"
|
|
48374
48071
|
},
|
|
48375
|
-
mcp: { entityTool: "
|
|
48376
|
-
inputSchema:
|
|
48377
|
-
id: /* @__PURE__ */ number$2(),
|
|
48378
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48379
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
48380
|
-
"daily",
|
|
48381
|
-
"weekly",
|
|
48382
|
-
"monthly"
|
|
48383
|
-
]),
|
|
48384
|
-
time: /* @__PURE__ */ string$1(),
|
|
48385
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48386
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48387
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48388
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48389
|
-
})
|
|
48390
|
-
}),
|
|
48072
|
+
mcp: { entityTool: "saved-views" },
|
|
48073
|
+
inputSchema: savedViewIdSchema,
|
|
48391
48074
|
execute: (input, { client }) => {
|
|
48392
48075
|
const data = input;
|
|
48393
|
-
return client.runGeneratedRequest("
|
|
48076
|
+
return client.runGeneratedRequest("getASavedView", () => callGeneratedRequest(getASavedView, [
|
|
48394
48077
|
client.httpClient,
|
|
48395
48078
|
client.workspaceIdNumber,
|
|
48396
48079
|
data.id,
|
|
48397
|
-
data.payload ?? data.data ?? data,
|
|
48398
48080
|
void 0
|
|
48399
48081
|
]));
|
|
48400
48082
|
}
|
|
48401
48083
|
},
|
|
48402
48084
|
{
|
|
48403
|
-
id: "focus.
|
|
48404
|
-
family: "focus",
|
|
48405
|
-
resource: "reportschedules",
|
|
48406
|
-
action: "upsert-shared-report-schedule",
|
|
48407
|
-
title: "Upsert Shared Report Schedule Reportschedules",
|
|
48408
|
-
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
48409
|
-
safety: "update",
|
|
48410
|
-
destructive: false,
|
|
48411
|
-
cli: {
|
|
48412
|
-
group: ["reportschedules"],
|
|
48413
|
-
command: "upsert-shared-report-schedule",
|
|
48414
|
-
interactive: "default"
|
|
48415
|
-
},
|
|
48416
|
-
mcp: { entityTool: "reportschedules" },
|
|
48417
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48418
|
-
id: /* @__PURE__ */ number$2(),
|
|
48419
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48420
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
48421
|
-
"daily",
|
|
48422
|
-
"weekly",
|
|
48423
|
-
"monthly"
|
|
48424
|
-
]),
|
|
48425
|
-
time: /* @__PURE__ */ string$1(),
|
|
48426
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48427
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48428
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48429
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48430
|
-
})
|
|
48431
|
-
}),
|
|
48432
|
-
execute: (input, { client }) => {
|
|
48433
|
-
const data = input;
|
|
48434
|
-
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
48435
|
-
client.httpClient,
|
|
48436
|
-
client.workspaceIdNumber,
|
|
48437
|
-
data.id,
|
|
48438
|
-
data.payload ?? data.data ?? data,
|
|
48439
|
-
void 0
|
|
48440
|
-
]));
|
|
48441
|
-
}
|
|
48442
|
-
},
|
|
48443
|
-
{
|
|
48444
|
-
id: "focus.saved-views.create",
|
|
48445
|
-
family: "focus",
|
|
48446
|
-
resource: "saved-views",
|
|
48447
|
-
action: "create",
|
|
48448
|
-
title: "Create Saved Views",
|
|
48449
|
-
description: "Create Saved Views.",
|
|
48450
|
-
safety: "create",
|
|
48451
|
-
destructive: false,
|
|
48452
|
-
cli: {
|
|
48453
|
-
group: ["saved-views"],
|
|
48454
|
-
command: "create",
|
|
48455
|
-
interactive: "hidden"
|
|
48456
|
-
},
|
|
48457
|
-
mcp: { entityTool: "saved-views" },
|
|
48458
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
48459
|
-
name: /* @__PURE__ */ string$1(),
|
|
48460
|
-
params: /* @__PURE__ */ unknown$1(),
|
|
48461
|
-
pinned: /* @__PURE__ */ boolean$1(),
|
|
48462
|
-
type: /* @__PURE__ */ picklist$1([
|
|
48463
|
-
"inbox",
|
|
48464
|
-
"archive",
|
|
48465
|
-
"board",
|
|
48466
|
-
"timeline",
|
|
48467
|
-
"project",
|
|
48468
|
-
"project.tasks",
|
|
48469
|
-
"project.board",
|
|
48470
|
-
"project.timeline",
|
|
48471
|
-
"projects",
|
|
48472
|
-
"reports.summary",
|
|
48473
|
-
"reports.detailed",
|
|
48474
|
-
"reports.utilization",
|
|
48475
|
-
"reports.workload",
|
|
48476
|
-
"reports.profitability",
|
|
48477
|
-
"reports.time-off",
|
|
48478
|
-
"reports.time-accounting"
|
|
48479
|
-
]),
|
|
48480
|
-
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48481
|
-
}) }),
|
|
48482
|
-
execute: (input, { client }) => {
|
|
48483
|
-
const data = input;
|
|
48484
|
-
return client.runGeneratedRequest("createANewSavedView", () => callGeneratedRequest(createANewSavedView, [
|
|
48485
|
-
client.httpClient,
|
|
48486
|
-
client.workspaceIdNumber,
|
|
48487
|
-
data.payload ?? data.data ?? data,
|
|
48488
|
-
void 0
|
|
48489
|
-
]));
|
|
48490
|
-
}
|
|
48491
|
-
},
|
|
48492
|
-
{
|
|
48493
|
-
id: "focus.saved-views.delete",
|
|
48494
|
-
family: "focus",
|
|
48495
|
-
resource: "saved-views",
|
|
48496
|
-
action: "delete",
|
|
48497
|
-
title: "Delete Saved Views",
|
|
48498
|
-
description: "Delete Saved Views.",
|
|
48499
|
-
safety: "delete",
|
|
48500
|
-
destructive: true,
|
|
48501
|
-
cli: {
|
|
48502
|
-
group: ["saved-views"],
|
|
48503
|
-
command: "delete",
|
|
48504
|
-
interactive: "default"
|
|
48505
|
-
},
|
|
48506
|
-
mcp: { entityTool: "saved-views" },
|
|
48507
|
-
inputSchema: savedViewIdSchema,
|
|
48508
|
-
execute: (input, { client }) => {
|
|
48509
|
-
const data = input;
|
|
48510
|
-
return client.runGeneratedRequest("deleteASavedView", () => callGeneratedRequest(deleteASavedView, [
|
|
48511
|
-
client.httpClient,
|
|
48512
|
-
client.workspaceIdNumber,
|
|
48513
|
-
data.id,
|
|
48514
|
-
void 0
|
|
48515
|
-
]));
|
|
48516
|
-
}
|
|
48517
|
-
},
|
|
48518
|
-
{
|
|
48519
|
-
id: "focus.saved-views.get",
|
|
48520
|
-
family: "focus",
|
|
48521
|
-
resource: "saved-views",
|
|
48522
|
-
action: "get",
|
|
48523
|
-
title: "Get Saved Views",
|
|
48524
|
-
description: "Get Saved Views.",
|
|
48525
|
-
safety: "read",
|
|
48526
|
-
destructive: false,
|
|
48527
|
-
cli: {
|
|
48528
|
-
group: ["saved-views"],
|
|
48529
|
-
command: "get",
|
|
48530
|
-
interactive: "available"
|
|
48531
|
-
},
|
|
48532
|
-
mcp: { entityTool: "saved-views" },
|
|
48533
|
-
inputSchema: savedViewIdSchema,
|
|
48534
|
-
execute: (input, { client }) => {
|
|
48535
|
-
const data = input;
|
|
48536
|
-
return client.runGeneratedRequest("getASavedView", () => callGeneratedRequest(getASavedView, [
|
|
48537
|
-
client.httpClient,
|
|
48538
|
-
client.workspaceIdNumber,
|
|
48539
|
-
data.id,
|
|
48540
|
-
void 0
|
|
48541
|
-
]));
|
|
48542
|
-
}
|
|
48543
|
-
},
|
|
48544
|
-
{
|
|
48545
|
-
id: "focus.saved-views.list",
|
|
48085
|
+
id: "focus.saved-views.list",
|
|
48546
48086
|
family: "focus",
|
|
48547
48087
|
resource: "saved-views",
|
|
48548
48088
|
action: "list",
|
|
@@ -48598,36 +48138,6 @@ const generatedFocusOperations = [
|
|
|
48598
48138
|
]));
|
|
48599
48139
|
}
|
|
48600
48140
|
},
|
|
48601
|
-
{
|
|
48602
|
-
id: "focus.search.mentions",
|
|
48603
|
-
family: "focus",
|
|
48604
|
-
resource: "search",
|
|
48605
|
-
action: "mentions",
|
|
48606
|
-
title: "Mentions Search",
|
|
48607
|
-
description: "Mentions Search.",
|
|
48608
|
-
safety: "read",
|
|
48609
|
-
destructive: false,
|
|
48610
|
-
cli: {
|
|
48611
|
-
group: ["search"],
|
|
48612
|
-
command: "mentions",
|
|
48613
|
-
interactive: "hidden"
|
|
48614
|
-
},
|
|
48615
|
-
mcp: { entityTool: "search" },
|
|
48616
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48617
|
-
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48618
|
-
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48619
|
-
}),
|
|
48620
|
-
execute: (input, { client }) => {
|
|
48621
|
-
const data = input;
|
|
48622
|
-
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
48623
|
-
client.httpClient,
|
|
48624
|
-
client.organizationId,
|
|
48625
|
-
client.workspaceIdNumber,
|
|
48626
|
-
data,
|
|
48627
|
-
void 0
|
|
48628
|
-
]));
|
|
48629
|
-
}
|
|
48630
|
-
},
|
|
48631
48141
|
{
|
|
48632
48142
|
id: "focus.search.search",
|
|
48633
48143
|
family: "focus",
|
|
@@ -48655,240 +48165,6 @@ const generatedFocusOperations = [
|
|
|
48655
48165
|
]));
|
|
48656
48166
|
}
|
|
48657
48167
|
},
|
|
48658
|
-
{
|
|
48659
|
-
id: "focus.sharedreports.add-shared-report-grants",
|
|
48660
|
-
family: "focus",
|
|
48661
|
-
resource: "sharedreports",
|
|
48662
|
-
action: "add-shared-report-grants",
|
|
48663
|
-
title: "Add Shared Report Grants Sharedreports",
|
|
48664
|
-
description: "Add Shared Report Grants Sharedreports.",
|
|
48665
|
-
safety: "update",
|
|
48666
|
-
destructive: false,
|
|
48667
|
-
cli: {
|
|
48668
|
-
group: ["sharedreports"],
|
|
48669
|
-
command: "add-shared-report-grants",
|
|
48670
|
-
interactive: "default"
|
|
48671
|
-
},
|
|
48672
|
-
mcp: { entityTool: "sharedreports" },
|
|
48673
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48674
|
-
id: /* @__PURE__ */ number$2(),
|
|
48675
|
-
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48676
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48677
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48678
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48679
|
-
})) })
|
|
48680
|
-
}),
|
|
48681
|
-
execute: (input, { client }) => {
|
|
48682
|
-
const data = input;
|
|
48683
|
-
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
48684
|
-
client.httpClient,
|
|
48685
|
-
client.workspaceIdNumber,
|
|
48686
|
-
data.id,
|
|
48687
|
-
data.payload ?? data.data ?? data,
|
|
48688
|
-
void 0
|
|
48689
|
-
]));
|
|
48690
|
-
}
|
|
48691
|
-
},
|
|
48692
|
-
{
|
|
48693
|
-
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
48694
|
-
family: "focus",
|
|
48695
|
-
resource: "sharedreports",
|
|
48696
|
-
action: "get-saved-view-shared-report",
|
|
48697
|
-
title: "Get Saved View Shared Report Sharedreports",
|
|
48698
|
-
description: "Get Saved View Shared Report Sharedreports.",
|
|
48699
|
-
safety: "read",
|
|
48700
|
-
destructive: false,
|
|
48701
|
-
cli: {
|
|
48702
|
-
group: ["sharedreports"],
|
|
48703
|
-
command: "get-saved-view-shared-report",
|
|
48704
|
-
interactive: "available"
|
|
48705
|
-
},
|
|
48706
|
-
mcp: { entityTool: "sharedreports" },
|
|
48707
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48708
|
-
execute: (input, { client }) => {
|
|
48709
|
-
const data = input;
|
|
48710
|
-
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
48711
|
-
client.httpClient,
|
|
48712
|
-
client.workspaceIdNumber,
|
|
48713
|
-
data.id,
|
|
48714
|
-
void 0
|
|
48715
|
-
]));
|
|
48716
|
-
}
|
|
48717
|
-
},
|
|
48718
|
-
{
|
|
48719
|
-
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48720
|
-
family: "focus",
|
|
48721
|
-
resource: "sharedreports",
|
|
48722
|
-
action: "get-shared-report-for-viewer",
|
|
48723
|
-
title: "Get Shared Report For Viewer Sharedreports",
|
|
48724
|
-
description: "Get Shared Report For Viewer Sharedreports.",
|
|
48725
|
-
safety: "read",
|
|
48726
|
-
destructive: false,
|
|
48727
|
-
cli: {
|
|
48728
|
-
group: ["sharedreports"],
|
|
48729
|
-
command: "get-shared-report-for-viewer",
|
|
48730
|
-
interactive: "available"
|
|
48731
|
-
},
|
|
48732
|
-
mcp: { entityTool: "sharedreports" },
|
|
48733
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48734
|
-
execute: (input, { client }) => {
|
|
48735
|
-
const data = input;
|
|
48736
|
-
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
48737
|
-
client.httpClient,
|
|
48738
|
-
client.workspaceIdNumber,
|
|
48739
|
-
data.id,
|
|
48740
|
-
void 0
|
|
48741
|
-
]));
|
|
48742
|
-
}
|
|
48743
|
-
},
|
|
48744
|
-
{
|
|
48745
|
-
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
48746
|
-
family: "focus",
|
|
48747
|
-
resource: "sharedreports",
|
|
48748
|
-
action: "get-shared-reports-shared-by-me",
|
|
48749
|
-
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
48750
|
-
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
48751
|
-
safety: "read",
|
|
48752
|
-
destructive: false,
|
|
48753
|
-
cli: {
|
|
48754
|
-
group: ["sharedreports"],
|
|
48755
|
-
command: "get-shared-reports-shared-by-me",
|
|
48756
|
-
interactive: "hidden"
|
|
48757
|
-
},
|
|
48758
|
-
mcp: { entityTool: "sharedreports" },
|
|
48759
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48760
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
48761
|
-
client.httpClient,
|
|
48762
|
-
client.workspaceIdNumber,
|
|
48763
|
-
void 0
|
|
48764
|
-
]))
|
|
48765
|
-
},
|
|
48766
|
-
{
|
|
48767
|
-
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
48768
|
-
family: "focus",
|
|
48769
|
-
resource: "sharedreports",
|
|
48770
|
-
action: "get-shared-reports-shared-with-me",
|
|
48771
|
-
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
48772
|
-
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
48773
|
-
safety: "read",
|
|
48774
|
-
destructive: false,
|
|
48775
|
-
cli: {
|
|
48776
|
-
group: ["sharedreports"],
|
|
48777
|
-
command: "get-shared-reports-shared-with-me",
|
|
48778
|
-
interactive: "hidden"
|
|
48779
|
-
},
|
|
48780
|
-
mcp: { entityTool: "sharedreports" },
|
|
48781
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48782
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
48783
|
-
client.httpClient,
|
|
48784
|
-
client.workspaceIdNumber,
|
|
48785
|
-
void 0
|
|
48786
|
-
]))
|
|
48787
|
-
},
|
|
48788
|
-
{
|
|
48789
|
-
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48790
|
-
family: "focus",
|
|
48791
|
-
resource: "sharedreports",
|
|
48792
|
-
action: "revoke-shared-report-grant",
|
|
48793
|
-
title: "Revoke Shared Report Grant Sharedreports",
|
|
48794
|
-
description: "Revoke Shared Report Grant Sharedreports.",
|
|
48795
|
-
safety: "delete",
|
|
48796
|
-
destructive: true,
|
|
48797
|
-
cli: {
|
|
48798
|
-
group: ["sharedreports"],
|
|
48799
|
-
command: "revoke-shared-report-grant",
|
|
48800
|
-
interactive: "default"
|
|
48801
|
-
},
|
|
48802
|
-
mcp: { entityTool: "sharedreports" },
|
|
48803
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48804
|
-
grant_id: /* @__PURE__ */ number$2(),
|
|
48805
|
-
id: /* @__PURE__ */ number$2()
|
|
48806
|
-
}),
|
|
48807
|
-
execute: (input, { client }) => {
|
|
48808
|
-
const data = input;
|
|
48809
|
-
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
48810
|
-
client.httpClient,
|
|
48811
|
-
client.workspaceIdNumber,
|
|
48812
|
-
data.id,
|
|
48813
|
-
data.grant_id,
|
|
48814
|
-
void 0
|
|
48815
|
-
]));
|
|
48816
|
-
}
|
|
48817
|
-
},
|
|
48818
|
-
{
|
|
48819
|
-
id: "focus.sharedreports.share-saved-view",
|
|
48820
|
-
family: "focus",
|
|
48821
|
-
resource: "sharedreports",
|
|
48822
|
-
action: "share-saved-view",
|
|
48823
|
-
title: "Share Saved View Sharedreports",
|
|
48824
|
-
description: "Share Saved View Sharedreports.",
|
|
48825
|
-
safety: "update",
|
|
48826
|
-
destructive: false,
|
|
48827
|
-
cli: {
|
|
48828
|
-
group: ["sharedreports"],
|
|
48829
|
-
command: "share-saved-view",
|
|
48830
|
-
interactive: "hidden"
|
|
48831
|
-
},
|
|
48832
|
-
mcp: { entityTool: "sharedreports" },
|
|
48833
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48834
|
-
id: /* @__PURE__ */ number$2(),
|
|
48835
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48836
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48837
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48838
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48839
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48840
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48841
|
-
})
|
|
48842
|
-
}),
|
|
48843
|
-
execute: (input, { client }) => {
|
|
48844
|
-
const data = input;
|
|
48845
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
48846
|
-
client.httpClient,
|
|
48847
|
-
client.workspaceIdNumber,
|
|
48848
|
-
data.id,
|
|
48849
|
-
data.payload ?? data.data ?? data,
|
|
48850
|
-
void 0
|
|
48851
|
-
]));
|
|
48852
|
-
}
|
|
48853
|
-
},
|
|
48854
|
-
{
|
|
48855
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
48856
|
-
family: "focus",
|
|
48857
|
-
resource: "sharedreports",
|
|
48858
|
-
action: "share-saved-view-many",
|
|
48859
|
-
title: "Share Saved View Many Sharedreports",
|
|
48860
|
-
description: "Share Saved View Many Sharedreports.",
|
|
48861
|
-
safety: "update",
|
|
48862
|
-
destructive: false,
|
|
48863
|
-
cli: {
|
|
48864
|
-
group: ["sharedreports"],
|
|
48865
|
-
command: "share-saved-view-many",
|
|
48866
|
-
interactive: "hidden"
|
|
48867
|
-
},
|
|
48868
|
-
mcp: { entityTool: "sharedreports" },
|
|
48869
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48870
|
-
id: /* @__PURE__ */ number$2(),
|
|
48871
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48872
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48873
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48874
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48875
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48876
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48877
|
-
})),
|
|
48878
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48879
|
-
})
|
|
48880
|
-
}),
|
|
48881
|
-
execute: (input, { client }) => {
|
|
48882
|
-
const data = input;
|
|
48883
|
-
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
48884
|
-
client.httpClient,
|
|
48885
|
-
client.workspaceIdNumber,
|
|
48886
|
-
data.id,
|
|
48887
|
-
data.payload ?? data.data ?? data,
|
|
48888
|
-
void 0
|
|
48889
|
-
]));
|
|
48890
|
-
}
|
|
48891
|
-
},
|
|
48892
48168
|
{
|
|
48893
48169
|
id: "focus.statuses.create-status",
|
|
48894
48170
|
family: "focus",
|
|
@@ -49145,181 +48421,22 @@ const generatedFocusOperations = [
|
|
|
49145
48421
|
family: "focus",
|
|
49146
48422
|
resource: "subscriptions",
|
|
49147
48423
|
action: "upsert-forced-trial",
|
|
49148
|
-
title: "Upsert Forced Trial Subscriptions",
|
|
49149
|
-
description: "Upsert Forced Trial Subscriptions.",
|
|
49150
|
-
safety: "update",
|
|
49151
|
-
destructive: false,
|
|
49152
|
-
cli: {
|
|
49153
|
-
group: ["subscriptions"],
|
|
49154
|
-
command: "upsert-forced-trial",
|
|
49155
|
-
interactive: "default"
|
|
49156
|
-
},
|
|
49157
|
-
mcp: { entityTool: "subscriptions" },
|
|
49158
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49159
|
-
execute: (input, { client }) => {
|
|
49160
|
-
const data = input;
|
|
49161
|
-
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
49162
|
-
client.httpClient,
|
|
49163
|
-
client.organizationId,
|
|
49164
|
-
client.workspaceIdNumber,
|
|
49165
|
-
data.payload ?? data.data ?? data,
|
|
49166
|
-
void 0
|
|
49167
|
-
]));
|
|
49168
|
-
}
|
|
49169
|
-
},
|
|
49170
|
-
{
|
|
49171
|
-
id: "focus.tags.archive",
|
|
49172
|
-
family: "focus",
|
|
49173
|
-
resource: "tags",
|
|
49174
|
-
action: "archive",
|
|
49175
|
-
title: "Archive Tags",
|
|
49176
|
-
description: "Archive Tags.",
|
|
49177
|
-
safety: "update",
|
|
49178
|
-
destructive: false,
|
|
49179
|
-
cli: {
|
|
49180
|
-
group: ["tags"],
|
|
49181
|
-
command: "archive",
|
|
49182
|
-
interactive: "default"
|
|
49183
|
-
},
|
|
49184
|
-
mcp: { entityTool: "tags" },
|
|
49185
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49186
|
-
execute: (input, { client }) => {
|
|
49187
|
-
const data = input;
|
|
49188
|
-
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
49189
|
-
client.httpClient,
|
|
49190
|
-
client.workspaceIdNumber,
|
|
49191
|
-
data.tag_id,
|
|
49192
|
-
void 0
|
|
49193
|
-
]));
|
|
49194
|
-
}
|
|
49195
|
-
},
|
|
49196
|
-
{
|
|
49197
|
-
id: "focus.tags.bulk-archive",
|
|
49198
|
-
family: "focus",
|
|
49199
|
-
resource: "tags",
|
|
49200
|
-
action: "bulk-archive",
|
|
49201
|
-
title: "Bulk Archive Tags",
|
|
49202
|
-
description: "Bulk Archive Tags.",
|
|
49203
|
-
safety: "update",
|
|
49204
|
-
destructive: false,
|
|
49205
|
-
cli: {
|
|
49206
|
-
group: ["tags", "bulk"],
|
|
49207
|
-
command: "archive",
|
|
49208
|
-
interactive: "default"
|
|
49209
|
-
},
|
|
49210
|
-
mcp: { entityTool: "tags" },
|
|
49211
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49212
|
-
execute: (input, { client }) => {
|
|
49213
|
-
const data = input;
|
|
49214
|
-
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
49215
|
-
client.httpClient,
|
|
49216
|
-
client.workspaceIdNumber,
|
|
49217
|
-
data.payload ?? data.data ?? data,
|
|
49218
|
-
void 0
|
|
49219
|
-
]));
|
|
49220
|
-
}
|
|
49221
|
-
},
|
|
49222
|
-
{
|
|
49223
|
-
id: "focus.tags.bulk-create",
|
|
49224
|
-
family: "focus",
|
|
49225
|
-
resource: "tags",
|
|
49226
|
-
action: "bulk-create",
|
|
49227
|
-
title: "Bulk Create Tags",
|
|
49228
|
-
description: "Bulk Create Tags.",
|
|
49229
|
-
safety: "create",
|
|
49230
|
-
destructive: false,
|
|
49231
|
-
cli: {
|
|
49232
|
-
group: ["tags", "bulk"],
|
|
49233
|
-
command: "create",
|
|
49234
|
-
interactive: "default"
|
|
49235
|
-
},
|
|
49236
|
-
mcp: { entityTool: "tags" },
|
|
49237
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49238
|
-
color: /* @__PURE__ */ string$1(),
|
|
49239
|
-
name: /* @__PURE__ */ string$1()
|
|
49240
|
-
})) }) }),
|
|
49241
|
-
execute: (input, { client }) => {
|
|
49242
|
-
const data = input;
|
|
49243
|
-
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
49244
|
-
client.httpClient,
|
|
49245
|
-
client.workspaceIdNumber,
|
|
49246
|
-
data.payload ?? data.data ?? data,
|
|
49247
|
-
void 0
|
|
49248
|
-
]));
|
|
49249
|
-
}
|
|
49250
|
-
},
|
|
49251
|
-
{
|
|
49252
|
-
id: "focus.tags.bulk-delete",
|
|
49253
|
-
family: "focus",
|
|
49254
|
-
resource: "tags",
|
|
49255
|
-
action: "bulk-delete",
|
|
49256
|
-
title: "Bulk Delete Tags",
|
|
49257
|
-
description: "Bulk Delete Tags.",
|
|
49258
|
-
safety: "delete",
|
|
49259
|
-
destructive: true,
|
|
49260
|
-
cli: {
|
|
49261
|
-
group: ["tags", "bulk"],
|
|
49262
|
-
command: "delete",
|
|
49263
|
-
interactive: "default"
|
|
49264
|
-
},
|
|
49265
|
-
mcp: { entityTool: "tags" },
|
|
49266
|
-
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
49267
|
-
execute: (input, { client }) => {
|
|
49268
|
-
const data = input;
|
|
49269
|
-
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
49270
|
-
client.httpClient,
|
|
49271
|
-
client.workspaceIdNumber,
|
|
49272
|
-
data.ids,
|
|
49273
|
-
void 0
|
|
49274
|
-
]));
|
|
49275
|
-
}
|
|
49276
|
-
},
|
|
49277
|
-
{
|
|
49278
|
-
id: "focus.tags.bulk-restore",
|
|
49279
|
-
family: "focus",
|
|
49280
|
-
resource: "tags",
|
|
49281
|
-
action: "bulk-restore",
|
|
49282
|
-
title: "Bulk Restore Tags",
|
|
49283
|
-
description: "Bulk Restore Tags.",
|
|
49284
|
-
safety: "update",
|
|
49285
|
-
destructive: false,
|
|
49286
|
-
cli: {
|
|
49287
|
-
group: ["tags", "bulk"],
|
|
49288
|
-
command: "restore",
|
|
49289
|
-
interactive: "default"
|
|
49290
|
-
},
|
|
49291
|
-
mcp: { entityTool: "tags" },
|
|
49292
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49293
|
-
execute: (input, { client }) => {
|
|
49294
|
-
const data = input;
|
|
49295
|
-
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
49296
|
-
client.httpClient,
|
|
49297
|
-
client.workspaceIdNumber,
|
|
49298
|
-
data.payload ?? data.data ?? data,
|
|
49299
|
-
void 0
|
|
49300
|
-
]));
|
|
49301
|
-
}
|
|
49302
|
-
},
|
|
49303
|
-
{
|
|
49304
|
-
id: "focus.tags.bulk-unarchive",
|
|
49305
|
-
family: "focus",
|
|
49306
|
-
resource: "tags",
|
|
49307
|
-
action: "bulk-unarchive",
|
|
49308
|
-
title: "Bulk Unarchive Tags",
|
|
49309
|
-
description: "Bulk Unarchive Tags.",
|
|
48424
|
+
title: "Upsert Forced Trial Subscriptions",
|
|
48425
|
+
description: "Upsert Forced Trial Subscriptions.",
|
|
49310
48426
|
safety: "update",
|
|
49311
48427
|
destructive: false,
|
|
49312
48428
|
cli: {
|
|
49313
|
-
group: ["
|
|
49314
|
-
command: "
|
|
48429
|
+
group: ["subscriptions"],
|
|
48430
|
+
command: "upsert-forced-trial",
|
|
49315
48431
|
interactive: "default"
|
|
49316
48432
|
},
|
|
49317
|
-
mcp: { entityTool: "
|
|
49318
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
48433
|
+
mcp: { entityTool: "subscriptions" },
|
|
48434
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49319
48435
|
execute: (input, { client }) => {
|
|
49320
48436
|
const data = input;
|
|
49321
|
-
return client.runGeneratedRequest("
|
|
48437
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
49322
48438
|
client.httpClient,
|
|
48439
|
+
client.organizationId,
|
|
49323
48440
|
client.workspaceIdNumber,
|
|
49324
48441
|
data.payload ?? data.data ?? data,
|
|
49325
48442
|
void 0
|
|
@@ -49410,35 +48527,6 @@ const generatedFocusOperations = [
|
|
|
49410
48527
|
return client.listTags(data);
|
|
49411
48528
|
}
|
|
49412
48529
|
},
|
|
49413
|
-
{
|
|
49414
|
-
id: "focus.tags.merge",
|
|
49415
|
-
family: "focus",
|
|
49416
|
-
resource: "tags",
|
|
49417
|
-
action: "merge",
|
|
49418
|
-
title: "Merge Tags",
|
|
49419
|
-
description: "Merge Tags.",
|
|
49420
|
-
safety: "update",
|
|
49421
|
-
destructive: false,
|
|
49422
|
-
cli: {
|
|
49423
|
-
group: ["tags"],
|
|
49424
|
-
command: "merge",
|
|
49425
|
-
interactive: "default"
|
|
49426
|
-
},
|
|
49427
|
-
mcp: { entityTool: "tags" },
|
|
49428
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
49429
|
-
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
49430
|
-
target_id: /* @__PURE__ */ number$2()
|
|
49431
|
-
}) }),
|
|
49432
|
-
execute: (input, { client }) => {
|
|
49433
|
-
const data = input;
|
|
49434
|
-
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
49435
|
-
client.httpClient,
|
|
49436
|
-
client.workspaceIdNumber,
|
|
49437
|
-
data.payload ?? data.data ?? data,
|
|
49438
|
-
void 0
|
|
49439
|
-
]));
|
|
49440
|
-
}
|
|
49441
|
-
},
|
|
49442
48530
|
{
|
|
49443
48531
|
id: "focus.tags.restore",
|
|
49444
48532
|
family: "focus",
|
|
@@ -49465,32 +48553,6 @@ const generatedFocusOperations = [
|
|
|
49465
48553
|
]));
|
|
49466
48554
|
}
|
|
49467
48555
|
},
|
|
49468
|
-
{
|
|
49469
|
-
id: "focus.tags.unarchive",
|
|
49470
|
-
family: "focus",
|
|
49471
|
-
resource: "tags",
|
|
49472
|
-
action: "unarchive",
|
|
49473
|
-
title: "Unarchive Tags",
|
|
49474
|
-
description: "Unarchive Tags.",
|
|
49475
|
-
safety: "update",
|
|
49476
|
-
destructive: false,
|
|
49477
|
-
cli: {
|
|
49478
|
-
group: ["tags"],
|
|
49479
|
-
command: "unarchive",
|
|
49480
|
-
interactive: "default"
|
|
49481
|
-
},
|
|
49482
|
-
mcp: { entityTool: "tags" },
|
|
49483
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49484
|
-
execute: (input, { client }) => {
|
|
49485
|
-
const data = input;
|
|
49486
|
-
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
49487
|
-
client.httpClient,
|
|
49488
|
-
client.workspaceIdNumber,
|
|
49489
|
-
data.tag_id,
|
|
49490
|
-
void 0
|
|
49491
|
-
]));
|
|
49492
|
-
}
|
|
49493
|
-
},
|
|
49494
48556
|
{
|
|
49495
48557
|
id: "focus.tags.update",
|
|
49496
48558
|
family: "focus",
|
|
@@ -50172,12 +49234,12 @@ const generatedFocusOperations = [
|
|
|
50172
49234
|
mcp: { entityTool: "tasks" },
|
|
50173
49235
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50174
49236
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50175
|
-
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50176
49237
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50177
49238
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50178
49239
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50179
49240
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50180
49241
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49242
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50181
49243
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50182
49244
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50183
49245
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50214,6 +49276,7 @@ const generatedFocusOperations = [
|
|
|
50214
49276
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50215
49277
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50216
49278
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49279
|
+
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50217
49280
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50218
49281
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50219
49282
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50230,6 +49293,7 @@ const generatedFocusOperations = [
|
|
|
50230
49293
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50231
49294
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50232
49295
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49296
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50233
49297
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50234
49298
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50235
49299
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50285,6 +49349,7 @@ const generatedFocusOperations = [
|
|
|
50285
49349
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50286
49350
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50287
49351
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49352
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50288
49353
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50289
49354
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50290
49355
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50325,6 +49390,7 @@ const generatedFocusOperations = [
|
|
|
50325
49390
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50326
49391
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50327
49392
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49393
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50328
49394
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50329
49395
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50330
49396
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50365,7 +49431,6 @@ const generatedFocusOperations = [
|
|
|
50365
49431
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50366
49432
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50367
49433
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50368
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50369
49434
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50370
49435
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50371
49436
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50379,8 +49444,7 @@ const generatedFocusOperations = [
|
|
|
50379
49444
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50380
49445
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50381
49446
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50382
|
-
|
|
50383
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49447
|
+
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50384
49448
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50385
49449
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50386
49450
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50396,7 +49460,6 @@ const generatedFocusOperations = [
|
|
|
50396
49460
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50397
49461
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50398
49462
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50399
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50400
49463
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50401
49464
|
}),
|
|
50402
49465
|
execute: (input, { client }) => {
|
|
@@ -50411,118 +49474,6 @@ const generatedFocusOperations = [
|
|
|
50411
49474
|
]));
|
|
50412
49475
|
}
|
|
50413
49476
|
},
|
|
50414
|
-
{
|
|
50415
|
-
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
50416
|
-
family: "focus",
|
|
50417
|
-
resource: "tasks",
|
|
50418
|
-
action: "groups-get-user-task-groups-by-project",
|
|
50419
|
-
title: "Groups Get User Task Groups By Project Tasks",
|
|
50420
|
-
description: "Groups Get User Task Groups By Project Tasks.",
|
|
50421
|
-
safety: "read",
|
|
50422
|
-
destructive: false,
|
|
50423
|
-
cli: {
|
|
50424
|
-
group: ["tasks", "groups"],
|
|
50425
|
-
command: "get-user-task-groups-by-project",
|
|
50426
|
-
interactive: "hidden"
|
|
50427
|
-
},
|
|
50428
|
-
mcp: { entityTool: "tasks" },
|
|
50429
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50430
|
-
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
50431
|
-
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50432
|
-
client_id: /* @__PURE__ */ number$2(),
|
|
50433
|
-
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
50434
|
-
creator_id: /* @__PURE__ */ number$2(),
|
|
50435
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50436
|
-
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
50437
|
-
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
50438
|
-
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
50439
|
-
group_id: /* @__PURE__ */ number$2(),
|
|
50440
|
-
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50441
|
-
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50442
|
-
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50443
|
-
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50444
|
-
min_days: /* @__PURE__ */ unknown$1(),
|
|
50445
|
-
name: /* @__PURE__ */ unknown$1(),
|
|
50446
|
-
priority: /* @__PURE__ */ unknown$1(),
|
|
50447
|
-
private_: /* @__PURE__ */ unknown$1(),
|
|
50448
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
50449
|
-
source: /* @__PURE__ */ unknown$1(),
|
|
50450
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50451
|
-
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
50452
|
-
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
50453
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
50454
|
-
tag_id: /* @__PURE__ */ number$2(),
|
|
50455
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
50456
|
-
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50457
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50458
|
-
}),
|
|
50459
|
-
execute: (input, { client }) => {
|
|
50460
|
-
const data = input;
|
|
50461
|
-
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
50462
|
-
client.httpClient,
|
|
50463
|
-
client.organizationId,
|
|
50464
|
-
client.workspaceIdNumber,
|
|
50465
|
-
data,
|
|
50466
|
-
void 0
|
|
50467
|
-
]));
|
|
50468
|
-
}
|
|
50469
|
-
},
|
|
50470
|
-
{
|
|
50471
|
-
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
50472
|
-
family: "focus",
|
|
50473
|
-
resource: "tasks",
|
|
50474
|
-
action: "groups-get-user-task-groups-by-team",
|
|
50475
|
-
title: "Groups Get User Task Groups By Team Tasks",
|
|
50476
|
-
description: "Groups Get User Task Groups By Team Tasks.",
|
|
50477
|
-
safety: "read",
|
|
50478
|
-
destructive: false,
|
|
50479
|
-
cli: {
|
|
50480
|
-
group: ["tasks", "groups"],
|
|
50481
|
-
command: "get-user-task-groups-by-team",
|
|
50482
|
-
interactive: "hidden"
|
|
50483
|
-
},
|
|
50484
|
-
mcp: { entityTool: "tasks" },
|
|
50485
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50486
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50487
|
-
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50488
|
-
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50489
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50490
|
-
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50491
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50492
|
-
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50493
|
-
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50494
|
-
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50495
|
-
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50496
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50497
|
-
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50498
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50499
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50500
|
-
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50501
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50502
|
-
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50503
|
-
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50504
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50505
|
-
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50506
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50507
|
-
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50508
|
-
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50509
|
-
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50510
|
-
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50511
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50512
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50513
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50514
|
-
}),
|
|
50515
|
-
execute: (input, { client }) => {
|
|
50516
|
-
const data = input;
|
|
50517
|
-
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
50518
|
-
client.httpClient,
|
|
50519
|
-
client.organizationId,
|
|
50520
|
-
client.workspaceIdNumber,
|
|
50521
|
-
data,
|
|
50522
|
-
void 0
|
|
50523
|
-
]));
|
|
50524
|
-
}
|
|
50525
|
-
},
|
|
50526
49477
|
{
|
|
50527
49478
|
id: "focus.tasks.groups-update",
|
|
50528
49479
|
family: "focus",
|
|
@@ -50728,6 +49679,7 @@ const generatedFocusOperations = [
|
|
|
50728
49679
|
name: /* @__PURE__ */ string$1(),
|
|
50729
49680
|
status_id: /* @__PURE__ */ number$2(),
|
|
50730
49681
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49682
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50731
49683
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50732
49684
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50733
49685
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -50747,7 +49699,6 @@ const generatedFocusOperations = [
|
|
|
50747
49699
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50748
49700
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50749
49701
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50750
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50751
49702
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
50752
49703
|
}),
|
|
50753
49704
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -51756,40 +50707,6 @@ const generatedFocusOperations = [
|
|
|
51756
50707
|
]));
|
|
51757
50708
|
}
|
|
51758
50709
|
},
|
|
51759
|
-
{
|
|
51760
|
-
id: "focus.time-entries.groups-get-users",
|
|
51761
|
-
family: "focus",
|
|
51762
|
-
resource: "time-entries",
|
|
51763
|
-
action: "groups-get-users",
|
|
51764
|
-
title: "Groups Get Users Time Entries",
|
|
51765
|
-
description: "Groups Get Users Time Entries.",
|
|
51766
|
-
safety: "read",
|
|
51767
|
-
destructive: false,
|
|
51768
|
-
cli: {
|
|
51769
|
-
group: ["time-entries", "groups"],
|
|
51770
|
-
command: "get-users",
|
|
51771
|
-
interactive: "hidden"
|
|
51772
|
-
},
|
|
51773
|
-
mcp: { entityTool: "time-entries" },
|
|
51774
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51775
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51776
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
51777
|
-
page: /* @__PURE__ */ number$2(),
|
|
51778
|
-
per_page: /* @__PURE__ */ unknown$1(),
|
|
51779
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51780
|
-
user_id: /* @__PURE__ */ number$2()
|
|
51781
|
-
}),
|
|
51782
|
-
execute: (input, { client }) => {
|
|
51783
|
-
const data = input;
|
|
51784
|
-
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
51785
|
-
client.httpClient,
|
|
51786
|
-
client.organizationId,
|
|
51787
|
-
client.workspaceIdNumber,
|
|
51788
|
-
data,
|
|
51789
|
-
void 0
|
|
51790
|
-
]));
|
|
51791
|
-
}
|
|
51792
|
-
},
|
|
51793
50710
|
{
|
|
51794
50711
|
id: "focus.time-entries.list",
|
|
51795
50712
|
family: "focus",
|
|
@@ -51974,42 +50891,6 @@ const generatedFocusOperations = [
|
|
|
51974
50891
|
inputSchema: emptySchema$1,
|
|
51975
50892
|
execute: (_input, { client }) => client.stopTracking()
|
|
51976
50893
|
},
|
|
51977
|
-
{
|
|
51978
|
-
id: "focus.time-entries.sync",
|
|
51979
|
-
family: "focus",
|
|
51980
|
-
resource: "time-entries",
|
|
51981
|
-
action: "sync",
|
|
51982
|
-
title: "Sync Time Entries",
|
|
51983
|
-
description: "Sync Time Entries.",
|
|
51984
|
-
safety: "update",
|
|
51985
|
-
destructive: false,
|
|
51986
|
-
cli: {
|
|
51987
|
-
group: ["time-entries"],
|
|
51988
|
-
command: "sync",
|
|
51989
|
-
interactive: "default"
|
|
51990
|
-
},
|
|
51991
|
-
mcp: { entityTool: "time-entries" },
|
|
51992
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51993
|
-
client_uuid: /* @__PURE__ */ string$1(),
|
|
51994
|
-
payload: /* @__PURE__ */ looseObject({
|
|
51995
|
-
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
51996
|
-
client_updated_at: apiDateTimeString,
|
|
51997
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
51998
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51999
|
-
})
|
|
52000
|
-
}),
|
|
52001
|
-
execute: (input, { client }) => {
|
|
52002
|
-
const data = input;
|
|
52003
|
-
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
52004
|
-
client.httpClient,
|
|
52005
|
-
client.organizationId,
|
|
52006
|
-
client.workspaceIdNumber,
|
|
52007
|
-
data.client_uuid,
|
|
52008
|
-
data.payload ?? data.data ?? data,
|
|
52009
|
-
void 0
|
|
52010
|
-
]));
|
|
52011
|
-
}
|
|
52012
|
-
},
|
|
52013
50894
|
{
|
|
52014
50895
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
52015
50896
|
family: "focus",
|
|
@@ -52058,7 +50939,6 @@ const generatedFocusOperations = [
|
|
|
52058
50939
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52059
50940
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
52060
50941
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52061
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52062
50942
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52063
50943
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52064
50944
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -52121,33 +51001,121 @@ const generatedFocusOperations = [
|
|
|
52121
51001
|
safety: "update",
|
|
52122
51002
|
destructive: false,
|
|
52123
51003
|
cli: {
|
|
52124
|
-
group: ["time-entries"],
|
|
52125
|
-
command: "update",
|
|
52126
|
-
interactive: "default"
|
|
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",
|
|
51101
|
+
destructive: false,
|
|
51102
|
+
cli: {
|
|
51103
|
+
group: ["time-off"],
|
|
51104
|
+
command: "create-timeoff-for-ghost",
|
|
51105
|
+
interactive: "hidden"
|
|
52127
51106
|
},
|
|
52128
|
-
mcp: { entityTool: "time-
|
|
51107
|
+
mcp: { entityTool: "time-off" },
|
|
52129
51108
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52130
|
-
|
|
52131
|
-
|
|
52132
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52133
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52134
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52135
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52136
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52137
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52138
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52139
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52140
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52141
|
-
}),
|
|
52142
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
51109
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
51110
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
52143
51111
|
}),
|
|
52144
51112
|
execute: (input, { client }) => {
|
|
52145
51113
|
const data = input;
|
|
52146
|
-
return client.runGeneratedRequest("
|
|
51114
|
+
return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
|
|
52147
51115
|
client.httpClient,
|
|
52148
51116
|
client.organizationId,
|
|
52149
51117
|
client.workspaceIdNumber,
|
|
52150
|
-
data.
|
|
51118
|
+
data.ghost_id,
|
|
52151
51119
|
data.payload ?? data.data ?? data,
|
|
52152
51120
|
void 0
|
|
52153
51121
|
]));
|
|
@@ -52183,6 +51151,37 @@ const generatedFocusOperations = [
|
|
|
52183
51151
|
]));
|
|
52184
51152
|
}
|
|
52185
51153
|
},
|
|
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
|
+
},
|
|
52186
51185
|
{
|
|
52187
51186
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
52188
51187
|
family: "focus",
|
|
@@ -52213,6 +51212,38 @@ const generatedFocusOperations = [
|
|
|
52213
51212
|
]));
|
|
52214
51213
|
}
|
|
52215
51214
|
},
|
|
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
|
+
},
|
|
52216
51247
|
{
|
|
52217
51248
|
id: "focus.time-off.get-timeoff-for-user",
|
|
52218
51249
|
family: "focus",
|
|
@@ -52244,6 +51275,37 @@ const generatedFocusOperations = [
|
|
|
52244
51275
|
]));
|
|
52245
51276
|
}
|
|
52246
51277
|
},
|
|
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
|
+
},
|
|
52247
51309
|
{
|
|
52248
51310
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
52249
51311
|
family: "focus",
|
|
@@ -52274,6 +51336,37 @@ const generatedFocusOperations = [
|
|
|
52274
51336
|
]));
|
|
52275
51337
|
}
|
|
52276
51338
|
},
|
|
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
|
+
},
|
|
52277
51370
|
{
|
|
52278
51371
|
id: "focus.time-off.update-timeoff-for-user",
|
|
52279
51372
|
family: "focus",
|
|
@@ -53305,7 +52398,6 @@ const generatedFocusOperations = [
|
|
|
53305
52398
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
53306
52399
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
53307
52400
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53308
|
-
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53309
52401
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53310
52402
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53311
52403
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -53407,6 +52499,37 @@ const generatedFocusOperations = [
|
|
|
53407
52499
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53408
52500
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
53409
52501
|
},
|
|
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
|
+
},
|
|
53410
52533
|
{
|
|
53411
52534
|
id: "focus.working-hours.create-for-user",
|
|
53412
52535
|
family: "focus",
|
|
@@ -53437,6 +52560,37 @@ const generatedFocusOperations = [
|
|
|
53437
52560
|
]));
|
|
53438
52561
|
}
|
|
53439
52562
|
},
|
|
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
|
+
},
|
|
53440
52594
|
{
|
|
53441
52595
|
id: "focus.working-hours.delete-for-user",
|
|
53442
52596
|
family: "focus",
|
|
@@ -53467,6 +52621,33 @@ const generatedFocusOperations = [
|
|
|
53467
52621
|
]));
|
|
53468
52622
|
}
|
|
53469
52623
|
},
|
|
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
|
+
},
|
|
53470
52651
|
{
|
|
53471
52652
|
id: "focus.working-hours.get-for-user",
|
|
53472
52653
|
family: "focus",
|
|
@@ -53493,6 +52674,37 @@ const generatedFocusOperations = [
|
|
|
53493
52674
|
]));
|
|
53494
52675
|
}
|
|
53495
52676
|
},
|
|
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
|
+
},
|
|
53496
52708
|
{
|
|
53497
52709
|
id: "focus.working-hours.update-for-user",
|
|
53498
52710
|
family: "focus",
|
|
@@ -53567,50 +52779,6 @@ const generatedFocusOperations = [
|
|
|
53567
52779
|
void 0
|
|
53568
52780
|
]))
|
|
53569
52781
|
},
|
|
53570
|
-
{
|
|
53571
|
-
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
53572
|
-
family: "focus",
|
|
53573
|
-
resource: "workspace-settings",
|
|
53574
|
-
action: "get-workspace-export-branding",
|
|
53575
|
-
title: "Get Workspace Export Branding Workspace Settings",
|
|
53576
|
-
description: "Get Workspace Export Branding Workspace Settings.",
|
|
53577
|
-
safety: "read",
|
|
53578
|
-
destructive: false,
|
|
53579
|
-
cli: {
|
|
53580
|
-
group: ["workspace-settings"],
|
|
53581
|
-
command: "get-workspace-export-branding",
|
|
53582
|
-
interactive: "hidden"
|
|
53583
|
-
},
|
|
53584
|
-
mcp: { entityTool: "workspace-settings" },
|
|
53585
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53586
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
53587
|
-
client.httpClient,
|
|
53588
|
-
client.workspaceIdNumber,
|
|
53589
|
-
void 0
|
|
53590
|
-
]))
|
|
53591
|
-
},
|
|
53592
|
-
{
|
|
53593
|
-
id: "focus.workspace-settings.get-workspace-watermark",
|
|
53594
|
-
family: "focus",
|
|
53595
|
-
resource: "workspace-settings",
|
|
53596
|
-
action: "get-workspace-watermark",
|
|
53597
|
-
title: "Get Workspace Watermark Workspace Settings",
|
|
53598
|
-
description: "Get Workspace Watermark Workspace Settings.",
|
|
53599
|
-
safety: "read",
|
|
53600
|
-
destructive: false,
|
|
53601
|
-
cli: {
|
|
53602
|
-
group: ["workspace-settings"],
|
|
53603
|
-
command: "get-workspace-watermark",
|
|
53604
|
-
interactive: "hidden"
|
|
53605
|
-
},
|
|
53606
|
-
mcp: { entityTool: "workspace-settings" },
|
|
53607
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53608
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
53609
|
-
client.httpClient,
|
|
53610
|
-
client.workspaceIdNumber,
|
|
53611
|
-
void 0
|
|
53612
|
-
]))
|
|
53613
|
-
},
|
|
53614
52782
|
{
|
|
53615
52783
|
id: "focus.workspace-settings.list",
|
|
53616
52784
|
family: "focus",
|
|
@@ -53685,32 +52853,6 @@ const generatedFocusOperations = [
|
|
|
53685
52853
|
]));
|
|
53686
52854
|
}
|
|
53687
52855
|
},
|
|
53688
|
-
{
|
|
53689
|
-
id: "focus.workspace-settings.update-workspace-watermark",
|
|
53690
|
-
family: "focus",
|
|
53691
|
-
resource: "workspace-settings",
|
|
53692
|
-
action: "update-workspace-watermark",
|
|
53693
|
-
title: "Update Workspace Watermark Workspace Settings",
|
|
53694
|
-
description: "Update Workspace Watermark Workspace Settings.",
|
|
53695
|
-
safety: "update",
|
|
53696
|
-
destructive: false,
|
|
53697
|
-
cli: {
|
|
53698
|
-
group: ["workspace-settings"],
|
|
53699
|
-
command: "update-workspace-watermark",
|
|
53700
|
-
interactive: "default"
|
|
53701
|
-
},
|
|
53702
|
-
mcp: { entityTool: "workspace-settings" },
|
|
53703
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
53704
|
-
execute: (input, { client }) => {
|
|
53705
|
-
const data = input;
|
|
53706
|
-
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
53707
|
-
client.httpClient,
|
|
53708
|
-
client.workspaceIdNumber,
|
|
53709
|
-
data.payload ?? data.data ?? data,
|
|
53710
|
-
void 0
|
|
53711
|
-
]));
|
|
53712
|
-
}
|
|
53713
|
-
},
|
|
53714
52856
|
{
|
|
53715
52857
|
id: "focus.workspace.get-context",
|
|
53716
52858
|
family: "focus",
|
|
@@ -54837,7 +53979,7 @@ function registerWorkspaceTools(server) {
|
|
|
54837
53979
|
//#region src/package-version.ts
|
|
54838
53980
|
function mcpPackageVersion() {
|
|
54839
53981
|
try {
|
|
54840
|
-
return "1.11.
|
|
53982
|
+
return "1.11.90";
|
|
54841
53983
|
} catch {
|
|
54842
53984
|
return "unknown";
|
|
54843
53985
|
}
|
|
@@ -55012,7 +54154,7 @@ import_main.default.config({
|
|
|
55012
54154
|
quiet: true,
|
|
55013
54155
|
ignore: ["MISSING_ENV_FILE"]
|
|
55014
54156
|
});
|
|
55015
|
-
const packageVersion = "1.11.
|
|
54157
|
+
const packageVersion = "1.11.90";
|
|
55016
54158
|
function resolvePublicUrls() {
|
|
55017
54159
|
return {
|
|
55018
54160
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55077,4 +54219,4 @@ function bootstrapServer(options = {}) {
|
|
|
55077
54219
|
//#endregion
|
|
55078
54220
|
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 };
|
|
55079
54221
|
|
|
55080
|
-
//# sourceMappingURL=src-
|
|
54222
|
+
//# sourceMappingURL=src-vwN1hCt9.js.map
|