@togglhq/mcp 1.11.68 → 1.11.69
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-CemumtMM.js → src-C40qQeNj.js} +1417 -579
- package/package.json +1 -1
|
@@ -34645,11 +34645,7 @@ function safeParse(schema, input, config$1) {
|
|
|
34645
34645
|
}
|
|
34646
34646
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
34647
34647
|
id: /* @__PURE__ */ number(),
|
|
34648
|
-
type: /* @__PURE__ */ picklist([
|
|
34649
|
-
"user",
|
|
34650
|
-
"ghost",
|
|
34651
|
-
"team"
|
|
34652
|
-
])
|
|
34648
|
+
type: /* @__PURE__ */ picklist(["user", "team"])
|
|
34653
34649
|
});
|
|
34654
34650
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
34655
34651
|
id: /* @__PURE__ */ number(),
|
|
@@ -34691,7 +34687,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34691
34687
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34692
34688
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
34693
34689
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34694
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
34690
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
34691
|
+
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("RecurringProjectID links an instance to its recurring template, so clients can lane an entry under a collapsed series.")))
|
|
34695
34692
|
});
|
|
34696
34693
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
34697
34694
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -34764,7 +34761,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34764
34761
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34765
34762
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34766
34763
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34767
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34764
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
34768
34765
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34769
34766
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34770
34767
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34772,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34772
34769
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34773
34770
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34774
34771
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34775
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34776
34772
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34777
34773
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34778
34774
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34782,6 +34778,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34782
34778
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34783
34779
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34784
34780
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34781
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34785
34782
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34786
34783
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34787
34784
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34825,7 +34822,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34825
34822
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34826
34823
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34827
34824
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34828
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34825
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
34829
34826
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34830
34827
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34831
34828
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34833,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34833
34830
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34834
34831
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34835
34832
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34836
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34837
34833
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34838
34834
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34839
34835
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34844,6 +34840,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34844
34840
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34845
34841
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34846
34842
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34843
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34847
34844
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34848
34845
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34849
34846
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -35002,7 +34999,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
35002
34999
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
35003
35000
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35004
35001
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35005
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35002
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
35006
35003
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35007
35004
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35008
35005
|
});
|
|
@@ -35146,7 +35143,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35146
35143
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
35147
35144
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35148
35145
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35149
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35146
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
35150
35147
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35151
35148
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35152
35149
|
})),
|
|
@@ -35158,9 +35155,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
35158
35155
|
id: /* @__PURE__ */ number(),
|
|
35159
35156
|
name: /* @__PURE__ */ string(),
|
|
35160
35157
|
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."))),
|
|
35161
35159
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35162
35160
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35163
|
-
updated_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.")))
|
|
35164
35167
|
});
|
|
35165
35168
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
35166
35169
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -35171,8 +35174,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
35171
35174
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
35172
35175
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
35173
35176
|
account_locked_at: /* @__PURE__ */ string(),
|
|
35177
|
+
accounts_role_id: /* @__PURE__ */ number(),
|
|
35174
35178
|
active: /* @__PURE__ */ boolean(),
|
|
35175
|
-
admin: /* @__PURE__ */ boolean(),
|
|
35176
35179
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
35177
35180
|
created_at: /* @__PURE__ */ string(),
|
|
35178
35181
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -35221,7 +35224,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
35221
35224
|
track_role_id: /* @__PURE__ */ number(),
|
|
35222
35225
|
work_role_id: /* @__PURE__ */ number(),
|
|
35223
35226
|
workspace_user_id: /* @__PURE__ */ number()
|
|
35224
|
-
}))
|
|
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.")))
|
|
35225
35230
|
});
|
|
35226
35231
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35227
35232
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -35298,8 +35303,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35298
35303
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35299
35304
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35300
35305
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35301
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35302
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35306
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35303
35307
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35304
35308
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35305
35309
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -35315,6 +35319,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35315
35319
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35316
35320
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35317
35321
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35322
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35318
35323
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35319
35324
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35320
35325
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35324,22 +35329,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35324
35329
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35325
35330
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
35326
35331
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
35327
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
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.")))
|
|
35328
35334
|
});
|
|
35329
35335
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35330
35336
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35331
35337
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
35338
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35332
35339
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35333
35340
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35334
35341
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35335
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35342
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35336
35343
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35337
35344
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35338
35345
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35339
35346
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35340
35347
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35341
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35342
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35348
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
35343
35349
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35344
35350
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35345
35351
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35356,6 +35362,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35356
35362
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35357
35363
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35358
35364
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35365
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35359
35366
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35360
35367
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35361
35368
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35364,17 +35371,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35364
35371
|
});
|
|
35365
35372
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
35366
35373
|
id: /* @__PURE__ */ number(),
|
|
35374
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35367
35375
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35368
35376
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35369
35377
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35370
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35378
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35371
35379
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35372
35380
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35373
35381
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35374
35382
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35375
35383
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35376
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35377
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35384
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
35378
35385
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35379
35386
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35380
35387
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35391,6 +35398,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35391
35398
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35392
35399
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35393
35400
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35401
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35394
35402
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35395
35403
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35396
35404
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37314,7 +37322,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37314
37322
|
})
|
|
37315
37323
|
}).json();
|
|
37316
37324
|
}
|
|
37317
|
-
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) {
|
|
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, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
37318
37326
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37319
37327
|
signal,
|
|
37320
37328
|
searchParams: buildSearchParams$2({
|
|
@@ -37334,7 +37342,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37334
37342
|
include_working_hours,
|
|
37335
37343
|
include_rates,
|
|
37336
37344
|
pinned_ids,
|
|
37337
|
-
has_group
|
|
37345
|
+
has_group,
|
|
37346
|
+
cf_filter,
|
|
37347
|
+
include_custom_fields,
|
|
37348
|
+
include_calendar_integration
|
|
37338
37349
|
}, true)
|
|
37339
37350
|
});
|
|
37340
37351
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -37353,7 +37364,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
37353
37364
|
}
|
|
37354
37365
|
//#endregion
|
|
37355
37366
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
37356
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
37367
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
|
|
37357
37368
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
37358
37369
|
signal,
|
|
37359
37370
|
searchParams: buildSearchParams$2({
|
|
@@ -37361,7 +37372,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
37361
37372
|
page,
|
|
37362
37373
|
per_page,
|
|
37363
37374
|
order_by,
|
|
37364
|
-
tag_id
|
|
37375
|
+
tag_id,
|
|
37376
|
+
include_usage,
|
|
37377
|
+
include_archived,
|
|
37378
|
+
archived
|
|
37365
37379
|
})
|
|
37366
37380
|
}).json();
|
|
37367
37381
|
}
|
|
@@ -37371,6 +37385,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
37371
37385
|
json: data
|
|
37372
37386
|
}).json();
|
|
37373
37387
|
}
|
|
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
|
+
}
|
|
37374
37424
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
37375
37425
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37376
37426
|
}
|
|
@@ -37383,12 +37433,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
37383
37433
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
37384
37434
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37385
37435
|
}
|
|
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
|
+
}
|
|
37386
37439
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
37387
37440
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
37388
37441
|
}
|
|
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
|
+
}
|
|
37389
37445
|
//#endregion
|
|
37390
37446
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37391
|
-
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) {
|
|
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, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37392
37448
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37393
37449
|
signal,
|
|
37394
37450
|
searchParams: buildSearchParams$2({
|
|
@@ -37410,6 +37466,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
37410
37466
|
include_rates,
|
|
37411
37467
|
include_rollover,
|
|
37412
37468
|
include_idle_recurring_templates,
|
|
37469
|
+
collapse_recurring,
|
|
37413
37470
|
include_drafts,
|
|
37414
37471
|
include_locked_private,
|
|
37415
37472
|
start_date,
|
|
@@ -37640,7 +37697,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37640
37697
|
}
|
|
37641
37698
|
//#endregion
|
|
37642
37699
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37643
|
-
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,
|
|
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) {
|
|
37644
37701
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37645
37702
|
signal,
|
|
37646
37703
|
searchParams: buildSearchParams$2({
|
|
@@ -37688,10 +37745,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37688
37745
|
recurring_task_ids,
|
|
37689
37746
|
client_id,
|
|
37690
37747
|
include_rates,
|
|
37691
|
-
include_ghost_assignees,
|
|
37692
37748
|
include_assignees,
|
|
37693
37749
|
include_parent_matches,
|
|
37694
|
-
assignee_ghost_id,
|
|
37695
37750
|
disable_aggregations,
|
|
37696
37751
|
cf_filter
|
|
37697
37752
|
})
|
|
@@ -37777,7 +37832,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
37777
37832
|
})
|
|
37778
37833
|
}).json();
|
|
37779
37834
|
}
|
|
37780
|
-
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,
|
|
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, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
37781
37836
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37782
37837
|
signal,
|
|
37783
37838
|
searchParams: buildSearchParams$2({
|
|
@@ -37790,14 +37845,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37790
37845
|
dates_overlap_end,
|
|
37791
37846
|
recurring_task_ids,
|
|
37792
37847
|
team_id,
|
|
37848
|
+
assignee_team_id,
|
|
37793
37849
|
assignee_user_id,
|
|
37794
37850
|
tag_id,
|
|
37795
|
-
include_ghost_assignees,
|
|
37796
37851
|
include_assignees
|
|
37797
37852
|
})
|
|
37798
37853
|
}).json();
|
|
37799
37854
|
}
|
|
37800
|
-
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,
|
|
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) {
|
|
37801
37856
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37802
37857
|
signal,
|
|
37803
37858
|
searchParams: buildSearchParams$2({
|
|
@@ -37841,20 +37896,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37841
37896
|
recurring,
|
|
37842
37897
|
recurring_task_ids,
|
|
37843
37898
|
client_id,
|
|
37844
|
-
include_ghost_assignees,
|
|
37845
37899
|
include_assignees,
|
|
37846
|
-
assignee_ghost_id,
|
|
37847
37900
|
cf_filter
|
|
37848
37901
|
})
|
|
37849
37902
|
}).json();
|
|
37850
37903
|
}
|
|
37851
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, {
|
|
37904
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
37852
37905
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
37853
37906
|
signal,
|
|
37854
|
-
searchParams: buildSearchParams$2({
|
|
37855
|
-
include_ghost_assignees,
|
|
37856
|
-
include_assignees
|
|
37857
|
-
})
|
|
37907
|
+
searchParams: buildSearchParams$2({ include_assignees })
|
|
37858
37908
|
}).json();
|
|
37859
37909
|
}
|
|
37860
37910
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -37885,7 +37935,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
37885
37935
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
37886
37936
|
}).json();
|
|
37887
37937
|
}
|
|
37888
|
-
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,
|
|
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) {
|
|
37889
37939
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
37890
37940
|
signal,
|
|
37891
37941
|
searchParams: buildSearchParams$2({
|
|
@@ -37898,12 +37948,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37898
37948
|
team_id,
|
|
37899
37949
|
assignee_user_id,
|
|
37900
37950
|
tag_id,
|
|
37901
|
-
include_ghost_assignees,
|
|
37902
37951
|
include_assignees
|
|
37903
37952
|
})
|
|
37904
37953
|
}).json();
|
|
37905
37954
|
}
|
|
37906
|
-
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,
|
|
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) {
|
|
37907
37956
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37908
37957
|
signal,
|
|
37909
37958
|
searchParams: buildSearchParams$2({
|
|
@@ -37916,7 +37965,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
37916
37965
|
team_id,
|
|
37917
37966
|
assignee_user_id,
|
|
37918
37967
|
tag_id,
|
|
37919
|
-
include_ghost_assignees,
|
|
37920
37968
|
include_assignees
|
|
37921
37969
|
})
|
|
37922
37970
|
}).json();
|
|
@@ -38018,6 +38066,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38018
38066
|
})
|
|
38019
38067
|
}).json();
|
|
38020
38068
|
}
|
|
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
|
+
}
|
|
38021
38075
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38022
38076
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38023
38077
|
signal,
|
|
@@ -41751,6 +41805,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41751
41805
|
}
|
|
41752
41806
|
//#endregion
|
|
41753
41807
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41808
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41809
|
+
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41810
|
+
signal,
|
|
41811
|
+
searchParams: buildSearchParams$2({
|
|
41812
|
+
workspace_id,
|
|
41813
|
+
entity_type,
|
|
41814
|
+
entity_id,
|
|
41815
|
+
action,
|
|
41816
|
+
user_id,
|
|
41817
|
+
page_size,
|
|
41818
|
+
page_number,
|
|
41819
|
+
export: export_
|
|
41820
|
+
})
|
|
41821
|
+
}).json();
|
|
41822
|
+
}
|
|
41754
41823
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41755
41824
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41756
41825
|
signal,
|
|
@@ -41909,33 +41978,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
41909
41978
|
}
|
|
41910
41979
|
//#endregion
|
|
41911
41980
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
41912
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date,
|
|
41981
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
41913
41982
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
41914
41983
|
signal,
|
|
41915
41984
|
searchParams: buildSearchParams$2({
|
|
41916
41985
|
user_id,
|
|
41917
41986
|
start_date,
|
|
41918
41987
|
end_date,
|
|
41919
|
-
ghost_id,
|
|
41920
41988
|
private: private_,
|
|
41921
41989
|
task_source,
|
|
41922
41990
|
unit,
|
|
41923
|
-
include_drafts
|
|
41991
|
+
include_drafts,
|
|
41992
|
+
include_task_estimates
|
|
41924
41993
|
})
|
|
41925
41994
|
}).json();
|
|
41926
41995
|
}
|
|
41927
41996
|
//#endregion
|
|
41928
|
-
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
41929
|
-
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
41930
|
-
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
41931
|
-
}
|
|
41932
|
-
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
41933
|
-
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
41934
|
-
signal,
|
|
41935
|
-
json: data
|
|
41936
|
-
}).json();
|
|
41937
|
-
}
|
|
41938
|
-
//#endregion
|
|
41939
41997
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
41940
41998
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
41941
41999
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -42018,6 +42076,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
42018
42076
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
42019
42077
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
42020
42078
|
}
|
|
42079
|
+
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
42080
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
42081
|
+
signal,
|
|
42082
|
+
json: data
|
|
42083
|
+
}).json();
|
|
42084
|
+
}
|
|
42021
42085
|
//#endregion
|
|
42022
42086
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42023
42087
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -42243,7 +42307,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42243
42307
|
}
|
|
42244
42308
|
//#endregion
|
|
42245
42309
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42246
|
-
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) {
|
|
42310
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
42247
42311
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42248
42312
|
signal,
|
|
42249
42313
|
searchParams: buildSearchParams$2({
|
|
@@ -42255,6 +42319,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42255
42319
|
include_group_totals,
|
|
42256
42320
|
include_unassigned,
|
|
42257
42321
|
archived,
|
|
42322
|
+
completed,
|
|
42258
42323
|
private: private_,
|
|
42259
42324
|
name,
|
|
42260
42325
|
client_id,
|
|
@@ -42266,6 +42331,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42266
42331
|
start_date,
|
|
42267
42332
|
end_date,
|
|
42268
42333
|
user_id,
|
|
42334
|
+
only_me,
|
|
42269
42335
|
include_drafts,
|
|
42270
42336
|
cf_filter
|
|
42271
42337
|
})
|
|
@@ -42381,10 +42447,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
42381
42447
|
}
|
|
42382
42448
|
//#endregion
|
|
42383
42449
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
42384
|
-
async function
|
|
42450
|
+
async function getForecastAvailability(httpClient, workspace_id, signal) {
|
|
42451
|
+
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
42452
|
+
}
|
|
42453
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
42385
42454
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
42386
42455
|
signal,
|
|
42387
42456
|
json: data,
|
|
42457
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
42388
42458
|
searchParams: buildSearchParams$2({
|
|
42389
42459
|
response_format,
|
|
42390
42460
|
include_dicts
|
|
@@ -42408,12 +42478,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
42408
42478
|
json: data
|
|
42409
42479
|
}).json();
|
|
42410
42480
|
}
|
|
42411
|
-
async function
|
|
42481
|
+
async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
|
|
42482
|
+
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
42483
|
+
signal,
|
|
42484
|
+
json: data
|
|
42485
|
+
}).json();
|
|
42486
|
+
}
|
|
42487
|
+
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
42412
42488
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
42489
|
+
signal,
|
|
42490
|
+
json: data,
|
|
42491
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
42492
|
+
}).json();
|
|
42493
|
+
}
|
|
42494
|
+
//#endregion
|
|
42495
|
+
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
42496
|
+
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42497
|
+
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
42498
|
+
signal,
|
|
42499
|
+
json: data
|
|
42500
|
+
}).json();
|
|
42501
|
+
}
|
|
42502
|
+
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42503
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
42413
42504
|
signal,
|
|
42414
42505
|
json: data
|
|
42415
42506
|
}).json();
|
|
42416
42507
|
}
|
|
42508
|
+
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
42509
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
42510
|
+
}
|
|
42417
42511
|
//#endregion
|
|
42418
42512
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
42419
42513
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -42446,7 +42540,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42446
42540
|
}
|
|
42447
42541
|
//#endregion
|
|
42448
42542
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42449
|
-
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) {
|
|
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, only_me }, signal) {
|
|
42450
42544
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42451
42545
|
signal,
|
|
42452
42546
|
searchParams: buildSearchParams$2({
|
|
@@ -42458,11 +42552,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42458
42552
|
task_id,
|
|
42459
42553
|
include_drafts,
|
|
42460
42554
|
exclude_calendar_events,
|
|
42461
|
-
group_by_tags
|
|
42555
|
+
group_by_tags,
|
|
42556
|
+
only_me
|
|
42557
|
+
})
|
|
42558
|
+
}).json();
|
|
42559
|
+
}
|
|
42560
|
+
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
42561
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
42562
|
+
signal,
|
|
42563
|
+
searchParams: buildSearchParams$2({
|
|
42564
|
+
keyword,
|
|
42565
|
+
per_group
|
|
42462
42566
|
})
|
|
42463
42567
|
}).json();
|
|
42464
42568
|
}
|
|
42465
42569
|
//#endregion
|
|
42570
|
+
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
42571
|
+
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
42572
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
42573
|
+
signal,
|
|
42574
|
+
json: data
|
|
42575
|
+
}).json();
|
|
42576
|
+
}
|
|
42577
|
+
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
42578
|
+
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
42579
|
+
}
|
|
42580
|
+
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
42581
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
42582
|
+
signal,
|
|
42583
|
+
json: data
|
|
42584
|
+
}).json();
|
|
42585
|
+
}
|
|
42586
|
+
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
42587
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
42588
|
+
}
|
|
42589
|
+
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
42590
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
42591
|
+
}
|
|
42592
|
+
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42593
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42594
|
+
}
|
|
42595
|
+
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42596
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42597
|
+
signal,
|
|
42598
|
+
json: data
|
|
42599
|
+
}).json();
|
|
42600
|
+
}
|
|
42601
|
+
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42602
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42603
|
+
}
|
|
42604
|
+
//#endregion
|
|
42466
42605
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42467
42606
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
42468
42607
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -42518,7 +42657,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42518
42657
|
}
|
|
42519
42658
|
//#endregion
|
|
42520
42659
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42521
|
-
async function
|
|
42660
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
|
|
42661
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42662
|
+
signal,
|
|
42663
|
+
searchParams: buildSearchParams$2({
|
|
42664
|
+
project_id,
|
|
42665
|
+
source,
|
|
42666
|
+
priority,
|
|
42667
|
+
status_id,
|
|
42668
|
+
client_id,
|
|
42669
|
+
assignee_user_id,
|
|
42670
|
+
tag_id,
|
|
42671
|
+
team_id,
|
|
42672
|
+
user_tag_id,
|
|
42673
|
+
group_id,
|
|
42674
|
+
creator_id,
|
|
42675
|
+
name,
|
|
42676
|
+
start_date,
|
|
42677
|
+
end_date,
|
|
42678
|
+
start_date_from,
|
|
42679
|
+
start_date_to,
|
|
42680
|
+
end_date_from,
|
|
42681
|
+
end_date_to,
|
|
42682
|
+
private: private_,
|
|
42683
|
+
exclude_empty,
|
|
42684
|
+
include_unassigned,
|
|
42685
|
+
include_unmaterialized,
|
|
42686
|
+
collapse_recurring,
|
|
42687
|
+
include_assignees,
|
|
42688
|
+
min_days,
|
|
42689
|
+
include_drafts,
|
|
42690
|
+
cf_filter,
|
|
42691
|
+
user_cf_filter
|
|
42692
|
+
})
|
|
42693
|
+
}).json();
|
|
42694
|
+
}
|
|
42695
|
+
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) {
|
|
42696
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42697
|
+
signal,
|
|
42698
|
+
searchParams: buildSearchParams$2({
|
|
42699
|
+
team_id,
|
|
42700
|
+
project_id,
|
|
42701
|
+
source,
|
|
42702
|
+
priority,
|
|
42703
|
+
status_id,
|
|
42704
|
+
client_id,
|
|
42705
|
+
assignee_user_id,
|
|
42706
|
+
tag_id,
|
|
42707
|
+
user_tag_id,
|
|
42708
|
+
group_id,
|
|
42709
|
+
creator_id,
|
|
42710
|
+
name,
|
|
42711
|
+
start_date,
|
|
42712
|
+
end_date,
|
|
42713
|
+
start_date_from,
|
|
42714
|
+
start_date_to,
|
|
42715
|
+
end_date_from,
|
|
42716
|
+
end_date_to,
|
|
42717
|
+
private: private_,
|
|
42718
|
+
exclude_empty,
|
|
42719
|
+
include_unassigned,
|
|
42720
|
+
include_unmaterialized,
|
|
42721
|
+
collapse_recurring,
|
|
42722
|
+
include_assignees,
|
|
42723
|
+
min_days,
|
|
42724
|
+
include_drafts,
|
|
42725
|
+
cf_filter,
|
|
42726
|
+
user_cf_filter
|
|
42727
|
+
})
|
|
42728
|
+
}).json();
|
|
42729
|
+
}
|
|
42730
|
+
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) {
|
|
42522
42731
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42523
42732
|
signal,
|
|
42524
42733
|
searchParams: buildSearchParams$2({
|
|
@@ -42542,11 +42751,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42542
42751
|
end_date_to,
|
|
42543
42752
|
private: private_,
|
|
42544
42753
|
exclude_empty,
|
|
42545
|
-
|
|
42754
|
+
include_unassigned,
|
|
42755
|
+
include_unmaterialized,
|
|
42756
|
+
collapse_recurring,
|
|
42546
42757
|
include_assignees,
|
|
42547
42758
|
min_days,
|
|
42548
42759
|
include_drafts,
|
|
42549
42760
|
cf_filter,
|
|
42761
|
+
user_cf_filter,
|
|
42550
42762
|
page,
|
|
42551
42763
|
per_page,
|
|
42552
42764
|
order_by
|
|
@@ -42683,17 +42895,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
42683
42895
|
}).json();
|
|
42684
42896
|
}
|
|
42685
42897
|
//#endregion
|
|
42686
|
-
//#region ../focus-queries/dist/time-
|
|
42687
|
-
async function
|
|
42688
|
-
return await httpClient.
|
|
42898
|
+
//#region ../focus-queries/dist/time-entry-groups/requests.ts
|
|
42899
|
+
async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
|
|
42900
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
|
|
42689
42901
|
signal,
|
|
42690
|
-
|
|
42691
|
-
|
|
42692
|
-
|
|
42693
|
-
|
|
42694
|
-
|
|
42695
|
-
|
|
42696
|
-
|
|
42902
|
+
searchParams: buildSearchParams$2({
|
|
42903
|
+
start_date,
|
|
42904
|
+
end_date,
|
|
42905
|
+
user_id,
|
|
42906
|
+
page,
|
|
42907
|
+
per_page,
|
|
42908
|
+
order_by
|
|
42909
|
+
})
|
|
42697
42910
|
}).json();
|
|
42698
42911
|
}
|
|
42699
42912
|
//#endregion
|
|
@@ -42735,43 +42948,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
42735
42948
|
json: data
|
|
42736
42949
|
}).json();
|
|
42737
42950
|
}
|
|
42738
|
-
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
42739
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
42740
|
-
signal,
|
|
42741
|
-
searchParams: buildSearchParams$2({
|
|
42742
|
-
ghost_ids,
|
|
42743
|
-
start_date,
|
|
42744
|
-
end_date
|
|
42745
|
-
})
|
|
42746
|
-
}).json();
|
|
42747
|
-
}
|
|
42748
|
-
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
42749
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42750
|
-
signal,
|
|
42751
|
-
searchParams: buildSearchParams$2({
|
|
42752
|
-
from,
|
|
42753
|
-
to
|
|
42754
|
-
})
|
|
42755
|
-
}).json();
|
|
42756
|
-
}
|
|
42757
|
-
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42758
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42759
|
-
signal,
|
|
42760
|
-
json: data
|
|
42761
|
-
}).json();
|
|
42762
|
-
}
|
|
42763
|
-
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42764
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42765
|
-
signal,
|
|
42766
|
-
json: data
|
|
42767
|
-
}).json();
|
|
42768
|
-
}
|
|
42769
|
-
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42770
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42771
|
-
signal,
|
|
42772
|
-
json: data
|
|
42773
|
-
}).json();
|
|
42774
|
-
}
|
|
42775
42951
|
//#endregion
|
|
42776
42952
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
42777
42953
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -42964,27 +43140,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
42964
43140
|
json: data
|
|
42965
43141
|
}).json();
|
|
42966
43142
|
}
|
|
42967
|
-
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
42968
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
42969
|
-
}
|
|
42970
|
-
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42971
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
42972
|
-
signal,
|
|
42973
|
-
json: data
|
|
42974
|
-
}).json();
|
|
42975
|
-
}
|
|
42976
|
-
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42977
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
42978
|
-
signal,
|
|
42979
|
-
json: data
|
|
42980
|
-
}).json();
|
|
42981
|
-
}
|
|
42982
|
-
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42983
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
42984
|
-
signal,
|
|
42985
|
-
json: data
|
|
42986
|
-
}).json();
|
|
42987
|
-
}
|
|
42988
43143
|
//#endregion
|
|
42989
43144
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
42990
43145
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -43001,6 +43156,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
43001
43156
|
json: data
|
|
43002
43157
|
}).json();
|
|
43003
43158
|
}
|
|
43159
|
+
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
43160
|
+
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
43161
|
+
}
|
|
43004
43162
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
43005
43163
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
43006
43164
|
}
|
|
@@ -43013,6 +43171,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
43013
43171
|
json: data
|
|
43014
43172
|
}).json();
|
|
43015
43173
|
}
|
|
43174
|
+
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
43175
|
+
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
43176
|
+
}
|
|
43177
|
+
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
43178
|
+
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
43179
|
+
signal,
|
|
43180
|
+
json: data
|
|
43181
|
+
}).json();
|
|
43182
|
+
}
|
|
43016
43183
|
//#endregion
|
|
43017
43184
|
//#region ../operations/build/index.public.js
|
|
43018
43185
|
function callGeneratedRequest(request, args) {
|
|
@@ -43148,17 +43315,17 @@ const generatedFocusOperations = [
|
|
|
43148
43315
|
]))
|
|
43149
43316
|
},
|
|
43150
43317
|
{
|
|
43151
|
-
id: "focus.audit-log.
|
|
43318
|
+
id: "focus.audit-log.get-organization",
|
|
43152
43319
|
family: "focus",
|
|
43153
43320
|
resource: "audit-log",
|
|
43154
|
-
action: "
|
|
43155
|
-
title: "
|
|
43156
|
-
description: "
|
|
43321
|
+
action: "get-organization",
|
|
43322
|
+
title: "Get Organization Audit Log",
|
|
43323
|
+
description: "Get Organization Audit Log.",
|
|
43157
43324
|
safety: "read",
|
|
43158
43325
|
destructive: false,
|
|
43159
43326
|
cli: {
|
|
43160
43327
|
group: ["audit-log"],
|
|
43161
|
-
command: "
|
|
43328
|
+
command: "get-organization",
|
|
43162
43329
|
interactive: "hidden"
|
|
43163
43330
|
},
|
|
43164
43331
|
mcp: { entityTool: "audit-log" },
|
|
@@ -43172,14 +43339,14 @@ const generatedFocusOperations = [
|
|
|
43172
43339
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43173
43340
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43174
43341
|
to: /* @__PURE__ */ string$1(),
|
|
43175
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43342
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43343
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43176
43344
|
}),
|
|
43177
43345
|
execute: (input, { client }) => {
|
|
43178
43346
|
const data = input;
|
|
43179
|
-
return client.runGeneratedRequest("
|
|
43347
|
+
return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
|
|
43180
43348
|
client.httpClient,
|
|
43181
43349
|
client.organizationId,
|
|
43182
|
-
client.workspaceIdNumber,
|
|
43183
43350
|
data.from,
|
|
43184
43351
|
data.to,
|
|
43185
43352
|
data,
|
|
@@ -43188,87 +43355,79 @@ const generatedFocusOperations = [
|
|
|
43188
43355
|
}
|
|
43189
43356
|
},
|
|
43190
43357
|
{
|
|
43191
|
-
id: "focus.
|
|
43358
|
+
id: "focus.audit-log.list",
|
|
43192
43359
|
family: "focus",
|
|
43193
|
-
resource: "
|
|
43194
|
-
action: "
|
|
43195
|
-
title: "
|
|
43196
|
-
description: "
|
|
43360
|
+
resource: "audit-log",
|
|
43361
|
+
action: "list",
|
|
43362
|
+
title: "List Audit Log",
|
|
43363
|
+
description: "List Audit Log.",
|
|
43197
43364
|
safety: "read",
|
|
43198
43365
|
destructive: false,
|
|
43199
43366
|
cli: {
|
|
43200
|
-
group: ["
|
|
43201
|
-
command: "
|
|
43367
|
+
group: ["audit-log"],
|
|
43368
|
+
command: "list",
|
|
43202
43369
|
interactive: "hidden"
|
|
43203
43370
|
},
|
|
43204
|
-
mcp: { entityTool: "
|
|
43371
|
+
mcp: { entityTool: "audit-log" },
|
|
43205
43372
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43206
|
-
|
|
43207
|
-
|
|
43208
|
-
|
|
43209
|
-
|
|
43210
|
-
|
|
43211
|
-
|
|
43212
|
-
|
|
43213
|
-
|
|
43214
|
-
|
|
43373
|
+
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43374
|
+
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43375
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43376
|
+
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43377
|
+
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43378
|
+
from: /* @__PURE__ */ string$1(),
|
|
43379
|
+
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43380
|
+
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43381
|
+
to: /* @__PURE__ */ string$1(),
|
|
43382
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43215
43383
|
}),
|
|
43216
43384
|
execute: (input, { client }) => {
|
|
43217
43385
|
const data = input;
|
|
43218
|
-
return client.runGeneratedRequest("
|
|
43386
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
43219
43387
|
client.httpClient,
|
|
43220
43388
|
client.organizationId,
|
|
43221
43389
|
client.workspaceIdNumber,
|
|
43222
|
-
data.
|
|
43390
|
+
data.from,
|
|
43391
|
+
data.to,
|
|
43223
43392
|
data,
|
|
43224
43393
|
void 0
|
|
43225
43394
|
]));
|
|
43226
43395
|
}
|
|
43227
43396
|
},
|
|
43228
43397
|
{
|
|
43229
|
-
id: "focus.capacities.
|
|
43398
|
+
id: "focus.capacities.get-computations",
|
|
43230
43399
|
family: "focus",
|
|
43231
43400
|
resource: "capacities",
|
|
43232
|
-
action: "
|
|
43233
|
-
title: "
|
|
43234
|
-
description: "
|
|
43401
|
+
action: "get-computations",
|
|
43402
|
+
title: "Get Computations Capacities",
|
|
43403
|
+
description: "Get Computations Capacities.",
|
|
43235
43404
|
safety: "read",
|
|
43236
43405
|
destructive: false,
|
|
43237
43406
|
cli: {
|
|
43238
|
-
group: ["capacities"
|
|
43239
|
-
command: "
|
|
43407
|
+
group: ["capacities"],
|
|
43408
|
+
command: "get-computations",
|
|
43240
43409
|
interactive: "hidden"
|
|
43241
43410
|
},
|
|
43242
43411
|
mcp: { entityTool: "capacities" },
|
|
43243
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43244
|
-
|
|
43245
|
-
|
|
43246
|
-
|
|
43247
|
-
|
|
43248
|
-
|
|
43249
|
-
|
|
43250
|
-
|
|
43251
|
-
|
|
43252
|
-
|
|
43253
|
-
|
|
43254
|
-
action: "settings-update",
|
|
43255
|
-
title: "Settings Update Capacities",
|
|
43256
|
-
description: "Settings Update Capacities.",
|
|
43257
|
-
safety: "update",
|
|
43258
|
-
destructive: false,
|
|
43259
|
-
cli: {
|
|
43260
|
-
group: ["capacities", "settings"],
|
|
43261
|
-
command: "update",
|
|
43262
|
-
interactive: "default"
|
|
43263
|
-
},
|
|
43264
|
-
mcp: { entityTool: "capacities" },
|
|
43265
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
43412
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
43413
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43414
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
43415
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
43416
|
+
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
43417
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
43418
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43419
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
43420
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
43421
|
+
user_id: /* @__PURE__ */ number$2()
|
|
43422
|
+
}),
|
|
43266
43423
|
execute: (input, { client }) => {
|
|
43267
43424
|
const data = input;
|
|
43268
|
-
return client.runGeneratedRequest("
|
|
43425
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
43269
43426
|
client.httpClient,
|
|
43427
|
+
client.organizationId,
|
|
43270
43428
|
client.workspaceIdNumber,
|
|
43271
|
-
data.
|
|
43429
|
+
data.group,
|
|
43430
|
+
data,
|
|
43272
43431
|
void 0
|
|
43273
43432
|
]));
|
|
43274
43433
|
}
|
|
@@ -43467,8 +43626,7 @@ const generatedFocusOperations = [
|
|
|
43467
43626
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
43468
43627
|
start_at: apiDateTimeString,
|
|
43469
43628
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43470
|
-
})))
|
|
43471
|
-
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
43629
|
+
})))
|
|
43472
43630
|
}) }),
|
|
43473
43631
|
execute: (input, { client }) => {
|
|
43474
43632
|
const data = input;
|
|
@@ -43523,6 +43681,7 @@ const generatedFocusOperations = [
|
|
|
43523
43681
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43524
43682
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43525
43683
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43684
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43526
43685
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43527
43686
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43528
43687
|
}),
|
|
@@ -43555,6 +43714,7 @@ const generatedFocusOperations = [
|
|
|
43555
43714
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43556
43715
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43557
43716
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43717
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43558
43718
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43559
43719
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43560
43720
|
}))),
|
|
@@ -43610,7 +43770,11 @@ const generatedFocusOperations = [
|
|
|
43610
43770
|
},
|
|
43611
43771
|
mcp: { entityTool: "custom-fields" },
|
|
43612
43772
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
43613
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
43773
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
43774
|
+
"project",
|
|
43775
|
+
"task",
|
|
43776
|
+
"user"
|
|
43777
|
+
]),
|
|
43614
43778
|
field_type: /* @__PURE__ */ picklist$1([
|
|
43615
43779
|
"select",
|
|
43616
43780
|
"multi_select",
|
|
@@ -43943,7 +44107,11 @@ const generatedFocusOperations = [
|
|
|
43943
44107
|
},
|
|
43944
44108
|
mcp: { entityTool: "custom-fields" },
|
|
43945
44109
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
43946
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44110
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
44111
|
+
"project",
|
|
44112
|
+
"task",
|
|
44113
|
+
"user"
|
|
44114
|
+
]),
|
|
43947
44115
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
43948
44116
|
}) }),
|
|
43949
44117
|
execute: (input, { client }) => {
|
|
@@ -43957,6 +44125,37 @@ const generatedFocusOperations = [
|
|
|
43957
44125
|
]));
|
|
43958
44126
|
}
|
|
43959
44127
|
},
|
|
44128
|
+
{
|
|
44129
|
+
id: "focus.custom-fields.update-user-custom-field-values",
|
|
44130
|
+
family: "focus",
|
|
44131
|
+
resource: "custom-fields",
|
|
44132
|
+
action: "update-user-custom-field-values",
|
|
44133
|
+
title: "Update User Custom Field Values Custom Fields",
|
|
44134
|
+
description: "Update User Custom Field Values Custom Fields.",
|
|
44135
|
+
safety: "update",
|
|
44136
|
+
destructive: false,
|
|
44137
|
+
cli: {
|
|
44138
|
+
group: ["custom-fields"],
|
|
44139
|
+
command: "update-user-custom-field-values",
|
|
44140
|
+
interactive: "hidden"
|
|
44141
|
+
},
|
|
44142
|
+
mcp: { entityTool: "custom-fields" },
|
|
44143
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44144
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
44145
|
+
user_id: /* @__PURE__ */ number$2()
|
|
44146
|
+
}),
|
|
44147
|
+
execute: (input, { client }) => {
|
|
44148
|
+
const data = input;
|
|
44149
|
+
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
44150
|
+
client.httpClient,
|
|
44151
|
+
client.organizationId,
|
|
44152
|
+
client.workspaceIdNumber,
|
|
44153
|
+
data.user_id,
|
|
44154
|
+
data.payload ?? data.data ?? data,
|
|
44155
|
+
void 0
|
|
44156
|
+
]));
|
|
44157
|
+
}
|
|
44158
|
+
},
|
|
43960
44159
|
{
|
|
43961
44160
|
id: "focus.goals.create",
|
|
43962
44161
|
family: "focus",
|
|
@@ -44176,10 +44375,22 @@ const generatedFocusOperations = [
|
|
|
44176
44375
|
goal_id: /* @__PURE__ */ number$2(),
|
|
44177
44376
|
payload: /* @__PURE__ */ looseObject({
|
|
44178
44377
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44378
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44179
44379
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44180
44380
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44181
44381
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44182
|
-
|
|
44382
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44383
|
+
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
44384
|
+
"daily",
|
|
44385
|
+
"weekly",
|
|
44386
|
+
"daily_workdays",
|
|
44387
|
+
"monthly"
|
|
44388
|
+
])),
|
|
44389
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44390
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44391
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44392
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44393
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44183
44394
|
})
|
|
44184
44395
|
}),
|
|
44185
44396
|
execute: (input, { client }) => {
|
|
@@ -45512,6 +45723,7 @@ const generatedFocusOperations = [
|
|
|
45512
45723
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45513
45724
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45514
45725
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45726
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45515
45727
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45516
45728
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45517
45729
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -45519,6 +45731,7 @@ const generatedFocusOperations = [
|
|
|
45519
45731
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45520
45732
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45521
45733
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45734
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45522
45735
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45523
45736
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45524
45737
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -47703,7 +47916,10 @@ const generatedFocusOperations = [
|
|
|
47703
47916
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47704
47917
|
name: /* @__PURE__ */ string$1(),
|
|
47705
47918
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
47706
|
-
}))
|
|
47919
|
+
})),
|
|
47920
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
47921
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
47922
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47707
47923
|
}),
|
|
47708
47924
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
47709
47925
|
}),
|
|
@@ -47744,6 +47960,28 @@ const generatedFocusOperations = [
|
|
|
47744
47960
|
]));
|
|
47745
47961
|
}
|
|
47746
47962
|
},
|
|
47963
|
+
{
|
|
47964
|
+
id: "focus.reports.get-forecast-availability",
|
|
47965
|
+
family: "focus",
|
|
47966
|
+
resource: "reports",
|
|
47967
|
+
action: "get-forecast-availability",
|
|
47968
|
+
title: "Get Forecast Availability Reports",
|
|
47969
|
+
description: "Get Forecast Availability Reports.",
|
|
47970
|
+
safety: "read",
|
|
47971
|
+
destructive: false,
|
|
47972
|
+
cli: {
|
|
47973
|
+
group: ["reports"],
|
|
47974
|
+
command: "get-forecast-availability",
|
|
47975
|
+
interactive: "hidden"
|
|
47976
|
+
},
|
|
47977
|
+
mcp: { entityTool: "reports" },
|
|
47978
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
47979
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
47980
|
+
client.httpClient,
|
|
47981
|
+
client.workspaceIdNumber,
|
|
47982
|
+
void 0
|
|
47983
|
+
]))
|
|
47984
|
+
},
|
|
47747
47985
|
{
|
|
47748
47986
|
id: "focus.reports.get-profitability",
|
|
47749
47987
|
family: "focus",
|
|
@@ -47803,9 +48041,17 @@ const generatedFocusOperations = [
|
|
|
47803
48041
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47804
48042
|
name: /* @__PURE__ */ string$1(),
|
|
47805
48043
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
47806
|
-
}))
|
|
48044
|
+
})),
|
|
48045
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48046
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48047
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47807
48048
|
}),
|
|
47808
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48049
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
48050
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48051
|
+
"csv",
|
|
48052
|
+
"xlsx",
|
|
48053
|
+
"pdf"
|
|
48054
|
+
]))
|
|
47809
48055
|
}),
|
|
47810
48056
|
execute: (input, { client }) => {
|
|
47811
48057
|
const data = input;
|
|
@@ -47815,22 +48061,23 @@ const generatedFocusOperations = [
|
|
|
47815
48061
|
data.payload ?? data.data ?? data,
|
|
47816
48062
|
data.response_format,
|
|
47817
48063
|
data.include_dicts,
|
|
48064
|
+
data.xTogglReportExport,
|
|
47818
48065
|
void 0
|
|
47819
48066
|
]));
|
|
47820
48067
|
}
|
|
47821
48068
|
},
|
|
47822
48069
|
{
|
|
47823
|
-
id: "focus.reports.get-
|
|
48070
|
+
id: "focus.reports.get-time-accounting",
|
|
47824
48071
|
family: "focus",
|
|
47825
48072
|
resource: "reports",
|
|
47826
|
-
action: "get-
|
|
47827
|
-
title: "Get
|
|
47828
|
-
description: "Get
|
|
48073
|
+
action: "get-time-accounting",
|
|
48074
|
+
title: "Get Time Accounting Reports",
|
|
48075
|
+
description: "Get Time Accounting Reports.",
|
|
47829
48076
|
safety: "update",
|
|
47830
48077
|
destructive: false,
|
|
47831
48078
|
cli: {
|
|
47832
48079
|
group: ["reports"],
|
|
47833
|
-
command: "get-
|
|
48080
|
+
command: "get-time-accounting",
|
|
47834
48081
|
interactive: "hidden"
|
|
47835
48082
|
},
|
|
47836
48083
|
mcp: { entityTool: "reports" },
|
|
@@ -47876,14 +48123,205 @@ const generatedFocusOperations = [
|
|
|
47876
48123
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47877
48124
|
name: /* @__PURE__ */ string$1(),
|
|
47878
48125
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
47879
|
-
}))
|
|
48126
|
+
})),
|
|
48127
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48128
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48129
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47880
48130
|
}) }),
|
|
48131
|
+
execute: (input, { client }) => {
|
|
48132
|
+
const data = input;
|
|
48133
|
+
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
48134
|
+
client.httpClient,
|
|
48135
|
+
client.workspaceIdNumber,
|
|
48136
|
+
data.payload ?? data.data ?? data,
|
|
48137
|
+
void 0
|
|
48138
|
+
]));
|
|
48139
|
+
}
|
|
48140
|
+
},
|
|
48141
|
+
{
|
|
48142
|
+
id: "focus.reports.get-workload",
|
|
48143
|
+
family: "focus",
|
|
48144
|
+
resource: "reports",
|
|
48145
|
+
action: "get-workload",
|
|
48146
|
+
title: "Get Workload Reports",
|
|
48147
|
+
description: "Get Workload Reports.",
|
|
48148
|
+
safety: "update",
|
|
48149
|
+
destructive: false,
|
|
48150
|
+
cli: {
|
|
48151
|
+
group: ["reports"],
|
|
48152
|
+
command: "get-workload",
|
|
48153
|
+
interactive: "hidden"
|
|
48154
|
+
},
|
|
48155
|
+
mcp: { entityTool: "reports" },
|
|
48156
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48157
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48158
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48159
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48160
|
+
function: /* @__PURE__ */ string$1(),
|
|
48161
|
+
property: /* @__PURE__ */ string$1()
|
|
48162
|
+
}),
|
|
48163
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48164
|
+
property: /* @__PURE__ */ string$1()
|
|
48165
|
+
})),
|
|
48166
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48167
|
+
function: /* @__PURE__ */ string$1(),
|
|
48168
|
+
property: /* @__PURE__ */ string$1()
|
|
48169
|
+
})),
|
|
48170
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
48171
|
+
currency: /* @__PURE__ */ string$1(),
|
|
48172
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48173
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
48174
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48175
|
+
property: /* @__PURE__ */ string$1()
|
|
48176
|
+
})),
|
|
48177
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48178
|
+
property: /* @__PURE__ */ string$1(),
|
|
48179
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48180
|
+
})),
|
|
48181
|
+
limit: /* @__PURE__ */ number$2(),
|
|
48182
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48183
|
+
direction: /* @__PURE__ */ string$1(),
|
|
48184
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
48185
|
+
property: /* @__PURE__ */ string$1()
|
|
48186
|
+
})),
|
|
48187
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
48188
|
+
page: /* @__PURE__ */ number$2(),
|
|
48189
|
+
per_page: /* @__PURE__ */ number$2()
|
|
48190
|
+
}),
|
|
48191
|
+
period: /* @__PURE__ */ looseObject({
|
|
48192
|
+
from: /* @__PURE__ */ string$1(),
|
|
48193
|
+
preset: /* @__PURE__ */ string$1(),
|
|
48194
|
+
to: /* @__PURE__ */ string$1()
|
|
48195
|
+
}),
|
|
48196
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48197
|
+
name: /* @__PURE__ */ string$1(),
|
|
48198
|
+
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48199
|
+
})),
|
|
48200
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48201
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48202
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48203
|
+
}),
|
|
48204
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48205
|
+
"csv",
|
|
48206
|
+
"xlsx",
|
|
48207
|
+
"pdf"
|
|
48208
|
+
]))
|
|
48209
|
+
}),
|
|
47881
48210
|
execute: (input, { client }) => {
|
|
47882
48211
|
const data = input;
|
|
47883
48212
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
47884
48213
|
client.httpClient,
|
|
47885
48214
|
client.workspaceIdNumber,
|
|
47886
48215
|
data.payload ?? data.data ?? data,
|
|
48216
|
+
data.xTogglReportExport,
|
|
48217
|
+
void 0
|
|
48218
|
+
]));
|
|
48219
|
+
}
|
|
48220
|
+
},
|
|
48221
|
+
{
|
|
48222
|
+
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
48223
|
+
family: "focus",
|
|
48224
|
+
resource: "reportschedules",
|
|
48225
|
+
action: "delete-shared-report-schedule",
|
|
48226
|
+
title: "Delete Shared Report Schedule Reportschedules",
|
|
48227
|
+
description: "Delete Shared Report Schedule Reportschedules.",
|
|
48228
|
+
safety: "delete",
|
|
48229
|
+
destructive: true,
|
|
48230
|
+
cli: {
|
|
48231
|
+
group: ["reportschedules"],
|
|
48232
|
+
command: "delete-shared-report-schedule",
|
|
48233
|
+
interactive: "default"
|
|
48234
|
+
},
|
|
48235
|
+
mcp: { entityTool: "reportschedules" },
|
|
48236
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48237
|
+
execute: (input, { client }) => {
|
|
48238
|
+
const data = input;
|
|
48239
|
+
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
48240
|
+
client.httpClient,
|
|
48241
|
+
client.workspaceIdNumber,
|
|
48242
|
+
data.id,
|
|
48243
|
+
void 0
|
|
48244
|
+
]));
|
|
48245
|
+
}
|
|
48246
|
+
},
|
|
48247
|
+
{
|
|
48248
|
+
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
48249
|
+
family: "focus",
|
|
48250
|
+
resource: "reportschedules",
|
|
48251
|
+
action: "upsert-saved-view-schedule",
|
|
48252
|
+
title: "Upsert Saved View Schedule Reportschedules",
|
|
48253
|
+
description: "Upsert Saved View Schedule Reportschedules.",
|
|
48254
|
+
safety: "update",
|
|
48255
|
+
destructive: false,
|
|
48256
|
+
cli: {
|
|
48257
|
+
group: ["reportschedules"],
|
|
48258
|
+
command: "upsert-saved-view-schedule",
|
|
48259
|
+
interactive: "default"
|
|
48260
|
+
},
|
|
48261
|
+
mcp: { entityTool: "reportschedules" },
|
|
48262
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48263
|
+
id: /* @__PURE__ */ number$2(),
|
|
48264
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48265
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
48266
|
+
"daily",
|
|
48267
|
+
"weekly",
|
|
48268
|
+
"monthly"
|
|
48269
|
+
]),
|
|
48270
|
+
time: /* @__PURE__ */ string$1(),
|
|
48271
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48272
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48273
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48274
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48275
|
+
})
|
|
48276
|
+
}),
|
|
48277
|
+
execute: (input, { client }) => {
|
|
48278
|
+
const data = input;
|
|
48279
|
+
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
48280
|
+
client.httpClient,
|
|
48281
|
+
client.workspaceIdNumber,
|
|
48282
|
+
data.id,
|
|
48283
|
+
data.payload ?? data.data ?? data,
|
|
48284
|
+
void 0
|
|
48285
|
+
]));
|
|
48286
|
+
}
|
|
48287
|
+
},
|
|
48288
|
+
{
|
|
48289
|
+
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
48290
|
+
family: "focus",
|
|
48291
|
+
resource: "reportschedules",
|
|
48292
|
+
action: "upsert-shared-report-schedule",
|
|
48293
|
+
title: "Upsert Shared Report Schedule Reportschedules",
|
|
48294
|
+
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
48295
|
+
safety: "update",
|
|
48296
|
+
destructive: false,
|
|
48297
|
+
cli: {
|
|
48298
|
+
group: ["reportschedules"],
|
|
48299
|
+
command: "upsert-shared-report-schedule",
|
|
48300
|
+
interactive: "default"
|
|
48301
|
+
},
|
|
48302
|
+
mcp: { entityTool: "reportschedules" },
|
|
48303
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48304
|
+
id: /* @__PURE__ */ number$2(),
|
|
48305
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48306
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
48307
|
+
"daily",
|
|
48308
|
+
"weekly",
|
|
48309
|
+
"monthly"
|
|
48310
|
+
]),
|
|
48311
|
+
time: /* @__PURE__ */ string$1(),
|
|
48312
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48313
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48314
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48315
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48316
|
+
})
|
|
48317
|
+
}),
|
|
48318
|
+
execute: (input, { client }) => {
|
|
48319
|
+
const data = input;
|
|
48320
|
+
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
48321
|
+
client.httpClient,
|
|
48322
|
+
client.workspaceIdNumber,
|
|
48323
|
+
data.id,
|
|
48324
|
+
data.payload ?? data.data ?? data,
|
|
47887
48325
|
void 0
|
|
47888
48326
|
]));
|
|
47889
48327
|
}
|
|
@@ -47921,7 +48359,9 @@ const generatedFocusOperations = [
|
|
|
47921
48359
|
"reports.detailed",
|
|
47922
48360
|
"reports.utilization",
|
|
47923
48361
|
"reports.workload",
|
|
47924
|
-
"reports.profitability"
|
|
48362
|
+
"reports.profitability",
|
|
48363
|
+
"reports.time-off",
|
|
48364
|
+
"reports.time-accounting"
|
|
47925
48365
|
]),
|
|
47926
48366
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
47927
48367
|
}) }),
|
|
@@ -48045,11 +48485,41 @@ const generatedFocusOperations = [
|
|
|
48045
48485
|
}
|
|
48046
48486
|
},
|
|
48047
48487
|
{
|
|
48048
|
-
id: "focus.search.
|
|
48488
|
+
id: "focus.search.mentions",
|
|
48049
48489
|
family: "focus",
|
|
48050
48490
|
resource: "search",
|
|
48051
|
-
action: "
|
|
48052
|
-
title: "
|
|
48491
|
+
action: "mentions",
|
|
48492
|
+
title: "Mentions Search",
|
|
48493
|
+
description: "Mentions Search.",
|
|
48494
|
+
safety: "read",
|
|
48495
|
+
destructive: false,
|
|
48496
|
+
cli: {
|
|
48497
|
+
group: ["search"],
|
|
48498
|
+
command: "mentions",
|
|
48499
|
+
interactive: "hidden"
|
|
48500
|
+
},
|
|
48501
|
+
mcp: { entityTool: "search" },
|
|
48502
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48503
|
+
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48504
|
+
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48505
|
+
}),
|
|
48506
|
+
execute: (input, { client }) => {
|
|
48507
|
+
const data = input;
|
|
48508
|
+
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
48509
|
+
client.httpClient,
|
|
48510
|
+
client.organizationId,
|
|
48511
|
+
client.workspaceIdNumber,
|
|
48512
|
+
data,
|
|
48513
|
+
void 0
|
|
48514
|
+
]));
|
|
48515
|
+
}
|
|
48516
|
+
},
|
|
48517
|
+
{
|
|
48518
|
+
id: "focus.search.search",
|
|
48519
|
+
family: "focus",
|
|
48520
|
+
resource: "search",
|
|
48521
|
+
action: "search",
|
|
48522
|
+
title: "Search Search",
|
|
48053
48523
|
description: "Search Search.",
|
|
48054
48524
|
safety: "read",
|
|
48055
48525
|
destructive: false,
|
|
@@ -48071,6 +48541,240 @@ const generatedFocusOperations = [
|
|
|
48071
48541
|
]));
|
|
48072
48542
|
}
|
|
48073
48543
|
},
|
|
48544
|
+
{
|
|
48545
|
+
id: "focus.sharedreports.add-shared-report-grants",
|
|
48546
|
+
family: "focus",
|
|
48547
|
+
resource: "sharedreports",
|
|
48548
|
+
action: "add-shared-report-grants",
|
|
48549
|
+
title: "Add Shared Report Grants Sharedreports",
|
|
48550
|
+
description: "Add Shared Report Grants Sharedreports.",
|
|
48551
|
+
safety: "update",
|
|
48552
|
+
destructive: false,
|
|
48553
|
+
cli: {
|
|
48554
|
+
group: ["sharedreports"],
|
|
48555
|
+
command: "add-shared-report-grants",
|
|
48556
|
+
interactive: "default"
|
|
48557
|
+
},
|
|
48558
|
+
mcp: { entityTool: "sharedreports" },
|
|
48559
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48560
|
+
id: /* @__PURE__ */ number$2(),
|
|
48561
|
+
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48562
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48563
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48564
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48565
|
+
})) })
|
|
48566
|
+
}),
|
|
48567
|
+
execute: (input, { client }) => {
|
|
48568
|
+
const data = input;
|
|
48569
|
+
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
48570
|
+
client.httpClient,
|
|
48571
|
+
client.workspaceIdNumber,
|
|
48572
|
+
data.id,
|
|
48573
|
+
data.payload ?? data.data ?? data,
|
|
48574
|
+
void 0
|
|
48575
|
+
]));
|
|
48576
|
+
}
|
|
48577
|
+
},
|
|
48578
|
+
{
|
|
48579
|
+
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
48580
|
+
family: "focus",
|
|
48581
|
+
resource: "sharedreports",
|
|
48582
|
+
action: "get-saved-view-shared-report",
|
|
48583
|
+
title: "Get Saved View Shared Report Sharedreports",
|
|
48584
|
+
description: "Get Saved View Shared Report Sharedreports.",
|
|
48585
|
+
safety: "read",
|
|
48586
|
+
destructive: false,
|
|
48587
|
+
cli: {
|
|
48588
|
+
group: ["sharedreports"],
|
|
48589
|
+
command: "get-saved-view-shared-report",
|
|
48590
|
+
interactive: "available"
|
|
48591
|
+
},
|
|
48592
|
+
mcp: { entityTool: "sharedreports" },
|
|
48593
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48594
|
+
execute: (input, { client }) => {
|
|
48595
|
+
const data = input;
|
|
48596
|
+
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
48597
|
+
client.httpClient,
|
|
48598
|
+
client.workspaceIdNumber,
|
|
48599
|
+
data.id,
|
|
48600
|
+
void 0
|
|
48601
|
+
]));
|
|
48602
|
+
}
|
|
48603
|
+
},
|
|
48604
|
+
{
|
|
48605
|
+
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48606
|
+
family: "focus",
|
|
48607
|
+
resource: "sharedreports",
|
|
48608
|
+
action: "get-shared-report-for-viewer",
|
|
48609
|
+
title: "Get Shared Report For Viewer Sharedreports",
|
|
48610
|
+
description: "Get Shared Report For Viewer Sharedreports.",
|
|
48611
|
+
safety: "read",
|
|
48612
|
+
destructive: false,
|
|
48613
|
+
cli: {
|
|
48614
|
+
group: ["sharedreports"],
|
|
48615
|
+
command: "get-shared-report-for-viewer",
|
|
48616
|
+
interactive: "available"
|
|
48617
|
+
},
|
|
48618
|
+
mcp: { entityTool: "sharedreports" },
|
|
48619
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48620
|
+
execute: (input, { client }) => {
|
|
48621
|
+
const data = input;
|
|
48622
|
+
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
48623
|
+
client.httpClient,
|
|
48624
|
+
client.workspaceIdNumber,
|
|
48625
|
+
data.id,
|
|
48626
|
+
void 0
|
|
48627
|
+
]));
|
|
48628
|
+
}
|
|
48629
|
+
},
|
|
48630
|
+
{
|
|
48631
|
+
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
48632
|
+
family: "focus",
|
|
48633
|
+
resource: "sharedreports",
|
|
48634
|
+
action: "get-shared-reports-shared-by-me",
|
|
48635
|
+
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
48636
|
+
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
48637
|
+
safety: "read",
|
|
48638
|
+
destructive: false,
|
|
48639
|
+
cli: {
|
|
48640
|
+
group: ["sharedreports"],
|
|
48641
|
+
command: "get-shared-reports-shared-by-me",
|
|
48642
|
+
interactive: "hidden"
|
|
48643
|
+
},
|
|
48644
|
+
mcp: { entityTool: "sharedreports" },
|
|
48645
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48646
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
48647
|
+
client.httpClient,
|
|
48648
|
+
client.workspaceIdNumber,
|
|
48649
|
+
void 0
|
|
48650
|
+
]))
|
|
48651
|
+
},
|
|
48652
|
+
{
|
|
48653
|
+
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
48654
|
+
family: "focus",
|
|
48655
|
+
resource: "sharedreports",
|
|
48656
|
+
action: "get-shared-reports-shared-with-me",
|
|
48657
|
+
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
48658
|
+
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
48659
|
+
safety: "read",
|
|
48660
|
+
destructive: false,
|
|
48661
|
+
cli: {
|
|
48662
|
+
group: ["sharedreports"],
|
|
48663
|
+
command: "get-shared-reports-shared-with-me",
|
|
48664
|
+
interactive: "hidden"
|
|
48665
|
+
},
|
|
48666
|
+
mcp: { entityTool: "sharedreports" },
|
|
48667
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48668
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
48669
|
+
client.httpClient,
|
|
48670
|
+
client.workspaceIdNumber,
|
|
48671
|
+
void 0
|
|
48672
|
+
]))
|
|
48673
|
+
},
|
|
48674
|
+
{
|
|
48675
|
+
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48676
|
+
family: "focus",
|
|
48677
|
+
resource: "sharedreports",
|
|
48678
|
+
action: "revoke-shared-report-grant",
|
|
48679
|
+
title: "Revoke Shared Report Grant Sharedreports",
|
|
48680
|
+
description: "Revoke Shared Report Grant Sharedreports.",
|
|
48681
|
+
safety: "delete",
|
|
48682
|
+
destructive: true,
|
|
48683
|
+
cli: {
|
|
48684
|
+
group: ["sharedreports"],
|
|
48685
|
+
command: "revoke-shared-report-grant",
|
|
48686
|
+
interactive: "default"
|
|
48687
|
+
},
|
|
48688
|
+
mcp: { entityTool: "sharedreports" },
|
|
48689
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48690
|
+
grant_id: /* @__PURE__ */ number$2(),
|
|
48691
|
+
id: /* @__PURE__ */ number$2()
|
|
48692
|
+
}),
|
|
48693
|
+
execute: (input, { client }) => {
|
|
48694
|
+
const data = input;
|
|
48695
|
+
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
48696
|
+
client.httpClient,
|
|
48697
|
+
client.workspaceIdNumber,
|
|
48698
|
+
data.id,
|
|
48699
|
+
data.grant_id,
|
|
48700
|
+
void 0
|
|
48701
|
+
]));
|
|
48702
|
+
}
|
|
48703
|
+
},
|
|
48704
|
+
{
|
|
48705
|
+
id: "focus.sharedreports.share-saved-view",
|
|
48706
|
+
family: "focus",
|
|
48707
|
+
resource: "sharedreports",
|
|
48708
|
+
action: "share-saved-view",
|
|
48709
|
+
title: "Share Saved View Sharedreports",
|
|
48710
|
+
description: "Share Saved View Sharedreports.",
|
|
48711
|
+
safety: "update",
|
|
48712
|
+
destructive: false,
|
|
48713
|
+
cli: {
|
|
48714
|
+
group: ["sharedreports"],
|
|
48715
|
+
command: "share-saved-view",
|
|
48716
|
+
interactive: "hidden"
|
|
48717
|
+
},
|
|
48718
|
+
mcp: { entityTool: "sharedreports" },
|
|
48719
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48720
|
+
id: /* @__PURE__ */ number$2(),
|
|
48721
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48722
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48723
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48724
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48725
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48726
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48727
|
+
})
|
|
48728
|
+
}),
|
|
48729
|
+
execute: (input, { client }) => {
|
|
48730
|
+
const data = input;
|
|
48731
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
48732
|
+
client.httpClient,
|
|
48733
|
+
client.workspaceIdNumber,
|
|
48734
|
+
data.id,
|
|
48735
|
+
data.payload ?? data.data ?? data,
|
|
48736
|
+
void 0
|
|
48737
|
+
]));
|
|
48738
|
+
}
|
|
48739
|
+
},
|
|
48740
|
+
{
|
|
48741
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
48742
|
+
family: "focus",
|
|
48743
|
+
resource: "sharedreports",
|
|
48744
|
+
action: "share-saved-view-many",
|
|
48745
|
+
title: "Share Saved View Many Sharedreports",
|
|
48746
|
+
description: "Share Saved View Many Sharedreports.",
|
|
48747
|
+
safety: "update",
|
|
48748
|
+
destructive: false,
|
|
48749
|
+
cli: {
|
|
48750
|
+
group: ["sharedreports"],
|
|
48751
|
+
command: "share-saved-view-many",
|
|
48752
|
+
interactive: "hidden"
|
|
48753
|
+
},
|
|
48754
|
+
mcp: { entityTool: "sharedreports" },
|
|
48755
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48756
|
+
id: /* @__PURE__ */ number$2(),
|
|
48757
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48758
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48759
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48760
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48761
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48762
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48763
|
+
})),
|
|
48764
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48765
|
+
})
|
|
48766
|
+
}),
|
|
48767
|
+
execute: (input, { client }) => {
|
|
48768
|
+
const data = input;
|
|
48769
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
48770
|
+
client.httpClient,
|
|
48771
|
+
client.workspaceIdNumber,
|
|
48772
|
+
data.id,
|
|
48773
|
+
data.payload ?? data.data ?? data,
|
|
48774
|
+
void 0
|
|
48775
|
+
]));
|
|
48776
|
+
}
|
|
48777
|
+
},
|
|
48074
48778
|
{
|
|
48075
48779
|
id: "focus.statuses.create-status",
|
|
48076
48780
|
family: "focus",
|
|
@@ -48336,13 +49040,172 @@ const generatedFocusOperations = [
|
|
|
48336
49040
|
command: "upsert-forced-trial",
|
|
48337
49041
|
interactive: "default"
|
|
48338
49042
|
},
|
|
48339
|
-
mcp: { entityTool: "subscriptions" },
|
|
48340
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49043
|
+
mcp: { entityTool: "subscriptions" },
|
|
49044
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49045
|
+
execute: (input, { client }) => {
|
|
49046
|
+
const data = input;
|
|
49047
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
49048
|
+
client.httpClient,
|
|
49049
|
+
client.organizationId,
|
|
49050
|
+
client.workspaceIdNumber,
|
|
49051
|
+
data.payload ?? data.data ?? data,
|
|
49052
|
+
void 0
|
|
49053
|
+
]));
|
|
49054
|
+
}
|
|
49055
|
+
},
|
|
49056
|
+
{
|
|
49057
|
+
id: "focus.tags.archive",
|
|
49058
|
+
family: "focus",
|
|
49059
|
+
resource: "tags",
|
|
49060
|
+
action: "archive",
|
|
49061
|
+
title: "Archive Tags",
|
|
49062
|
+
description: "Archive Tags.",
|
|
49063
|
+
safety: "update",
|
|
49064
|
+
destructive: false,
|
|
49065
|
+
cli: {
|
|
49066
|
+
group: ["tags"],
|
|
49067
|
+
command: "archive",
|
|
49068
|
+
interactive: "default"
|
|
49069
|
+
},
|
|
49070
|
+
mcp: { entityTool: "tags" },
|
|
49071
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49072
|
+
execute: (input, { client }) => {
|
|
49073
|
+
const data = input;
|
|
49074
|
+
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
49075
|
+
client.httpClient,
|
|
49076
|
+
client.workspaceIdNumber,
|
|
49077
|
+
data.tag_id,
|
|
49078
|
+
void 0
|
|
49079
|
+
]));
|
|
49080
|
+
}
|
|
49081
|
+
},
|
|
49082
|
+
{
|
|
49083
|
+
id: "focus.tags.bulk-archive",
|
|
49084
|
+
family: "focus",
|
|
49085
|
+
resource: "tags",
|
|
49086
|
+
action: "bulk-archive",
|
|
49087
|
+
title: "Bulk Archive Tags",
|
|
49088
|
+
description: "Bulk Archive Tags.",
|
|
49089
|
+
safety: "update",
|
|
49090
|
+
destructive: false,
|
|
49091
|
+
cli: {
|
|
49092
|
+
group: ["tags", "bulk"],
|
|
49093
|
+
command: "archive",
|
|
49094
|
+
interactive: "default"
|
|
49095
|
+
},
|
|
49096
|
+
mcp: { entityTool: "tags" },
|
|
49097
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49098
|
+
execute: (input, { client }) => {
|
|
49099
|
+
const data = input;
|
|
49100
|
+
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
49101
|
+
client.httpClient,
|
|
49102
|
+
client.workspaceIdNumber,
|
|
49103
|
+
data.payload ?? data.data ?? data,
|
|
49104
|
+
void 0
|
|
49105
|
+
]));
|
|
49106
|
+
}
|
|
49107
|
+
},
|
|
49108
|
+
{
|
|
49109
|
+
id: "focus.tags.bulk-create",
|
|
49110
|
+
family: "focus",
|
|
49111
|
+
resource: "tags",
|
|
49112
|
+
action: "bulk-create",
|
|
49113
|
+
title: "Bulk Create Tags",
|
|
49114
|
+
description: "Bulk Create Tags.",
|
|
49115
|
+
safety: "create",
|
|
49116
|
+
destructive: false,
|
|
49117
|
+
cli: {
|
|
49118
|
+
group: ["tags", "bulk"],
|
|
49119
|
+
command: "create",
|
|
49120
|
+
interactive: "default"
|
|
49121
|
+
},
|
|
49122
|
+
mcp: { entityTool: "tags" },
|
|
49123
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49124
|
+
color: /* @__PURE__ */ string$1(),
|
|
49125
|
+
name: /* @__PURE__ */ string$1()
|
|
49126
|
+
})) }) }),
|
|
49127
|
+
execute: (input, { client }) => {
|
|
49128
|
+
const data = input;
|
|
49129
|
+
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
49130
|
+
client.httpClient,
|
|
49131
|
+
client.workspaceIdNumber,
|
|
49132
|
+
data.payload ?? data.data ?? data,
|
|
49133
|
+
void 0
|
|
49134
|
+
]));
|
|
49135
|
+
}
|
|
49136
|
+
},
|
|
49137
|
+
{
|
|
49138
|
+
id: "focus.tags.bulk-delete",
|
|
49139
|
+
family: "focus",
|
|
49140
|
+
resource: "tags",
|
|
49141
|
+
action: "bulk-delete",
|
|
49142
|
+
title: "Bulk Delete Tags",
|
|
49143
|
+
description: "Bulk Delete Tags.",
|
|
49144
|
+
safety: "delete",
|
|
49145
|
+
destructive: true,
|
|
49146
|
+
cli: {
|
|
49147
|
+
group: ["tags", "bulk"],
|
|
49148
|
+
command: "delete",
|
|
49149
|
+
interactive: "default"
|
|
49150
|
+
},
|
|
49151
|
+
mcp: { entityTool: "tags" },
|
|
49152
|
+
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
49153
|
+
execute: (input, { client }) => {
|
|
49154
|
+
const data = input;
|
|
49155
|
+
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
49156
|
+
client.httpClient,
|
|
49157
|
+
client.workspaceIdNumber,
|
|
49158
|
+
data.ids,
|
|
49159
|
+
void 0
|
|
49160
|
+
]));
|
|
49161
|
+
}
|
|
49162
|
+
},
|
|
49163
|
+
{
|
|
49164
|
+
id: "focus.tags.bulk-restore",
|
|
49165
|
+
family: "focus",
|
|
49166
|
+
resource: "tags",
|
|
49167
|
+
action: "bulk-restore",
|
|
49168
|
+
title: "Bulk Restore Tags",
|
|
49169
|
+
description: "Bulk Restore Tags.",
|
|
49170
|
+
safety: "update",
|
|
49171
|
+
destructive: false,
|
|
49172
|
+
cli: {
|
|
49173
|
+
group: ["tags", "bulk"],
|
|
49174
|
+
command: "restore",
|
|
49175
|
+
interactive: "default"
|
|
49176
|
+
},
|
|
49177
|
+
mcp: { entityTool: "tags" },
|
|
49178
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49179
|
+
execute: (input, { client }) => {
|
|
49180
|
+
const data = input;
|
|
49181
|
+
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
49182
|
+
client.httpClient,
|
|
49183
|
+
client.workspaceIdNumber,
|
|
49184
|
+
data.payload ?? data.data ?? data,
|
|
49185
|
+
void 0
|
|
49186
|
+
]));
|
|
49187
|
+
}
|
|
49188
|
+
},
|
|
49189
|
+
{
|
|
49190
|
+
id: "focus.tags.bulk-unarchive",
|
|
49191
|
+
family: "focus",
|
|
49192
|
+
resource: "tags",
|
|
49193
|
+
action: "bulk-unarchive",
|
|
49194
|
+
title: "Bulk Unarchive Tags",
|
|
49195
|
+
description: "Bulk Unarchive Tags.",
|
|
49196
|
+
safety: "update",
|
|
49197
|
+
destructive: false,
|
|
49198
|
+
cli: {
|
|
49199
|
+
group: ["tags", "bulk"],
|
|
49200
|
+
command: "unarchive",
|
|
49201
|
+
interactive: "default"
|
|
49202
|
+
},
|
|
49203
|
+
mcp: { entityTool: "tags" },
|
|
49204
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
48341
49205
|
execute: (input, { client }) => {
|
|
48342
49206
|
const data = input;
|
|
48343
|
-
return client.runGeneratedRequest("
|
|
49207
|
+
return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
|
|
48344
49208
|
client.httpClient,
|
|
48345
|
-
client.organizationId,
|
|
48346
49209
|
client.workspaceIdNumber,
|
|
48347
49210
|
data.payload ?? data.data ?? data,
|
|
48348
49211
|
void 0
|
|
@@ -48433,6 +49296,35 @@ const generatedFocusOperations = [
|
|
|
48433
49296
|
return client.listTags(data);
|
|
48434
49297
|
}
|
|
48435
49298
|
},
|
|
49299
|
+
{
|
|
49300
|
+
id: "focus.tags.merge",
|
|
49301
|
+
family: "focus",
|
|
49302
|
+
resource: "tags",
|
|
49303
|
+
action: "merge",
|
|
49304
|
+
title: "Merge Tags",
|
|
49305
|
+
description: "Merge Tags.",
|
|
49306
|
+
safety: "update",
|
|
49307
|
+
destructive: false,
|
|
49308
|
+
cli: {
|
|
49309
|
+
group: ["tags"],
|
|
49310
|
+
command: "merge",
|
|
49311
|
+
interactive: "default"
|
|
49312
|
+
},
|
|
49313
|
+
mcp: { entityTool: "tags" },
|
|
49314
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
49315
|
+
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
49316
|
+
target_id: /* @__PURE__ */ number$2()
|
|
49317
|
+
}) }),
|
|
49318
|
+
execute: (input, { client }) => {
|
|
49319
|
+
const data = input;
|
|
49320
|
+
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
49321
|
+
client.httpClient,
|
|
49322
|
+
client.workspaceIdNumber,
|
|
49323
|
+
data.payload ?? data.data ?? data,
|
|
49324
|
+
void 0
|
|
49325
|
+
]));
|
|
49326
|
+
}
|
|
49327
|
+
},
|
|
48436
49328
|
{
|
|
48437
49329
|
id: "focus.tags.restore",
|
|
48438
49330
|
family: "focus",
|
|
@@ -48459,6 +49351,32 @@ const generatedFocusOperations = [
|
|
|
48459
49351
|
]));
|
|
48460
49352
|
}
|
|
48461
49353
|
},
|
|
49354
|
+
{
|
|
49355
|
+
id: "focus.tags.unarchive",
|
|
49356
|
+
family: "focus",
|
|
49357
|
+
resource: "tags",
|
|
49358
|
+
action: "unarchive",
|
|
49359
|
+
title: "Unarchive Tags",
|
|
49360
|
+
description: "Unarchive Tags.",
|
|
49361
|
+
safety: "update",
|
|
49362
|
+
destructive: false,
|
|
49363
|
+
cli: {
|
|
49364
|
+
group: ["tags"],
|
|
49365
|
+
command: "unarchive",
|
|
49366
|
+
interactive: "default"
|
|
49367
|
+
},
|
|
49368
|
+
mcp: { entityTool: "tags" },
|
|
49369
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49370
|
+
execute: (input, { client }) => {
|
|
49371
|
+
const data = input;
|
|
49372
|
+
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
49373
|
+
client.httpClient,
|
|
49374
|
+
client.workspaceIdNumber,
|
|
49375
|
+
data.tag_id,
|
|
49376
|
+
void 0
|
|
49377
|
+
]));
|
|
49378
|
+
}
|
|
49379
|
+
},
|
|
48462
49380
|
{
|
|
48463
49381
|
id: "focus.tags.update",
|
|
48464
49382
|
family: "focus",
|
|
@@ -49140,12 +50058,12 @@ const generatedFocusOperations = [
|
|
|
49140
50058
|
mcp: { entityTool: "tasks" },
|
|
49141
50059
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49142
50060
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50061
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49143
50062
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49144
50063
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49145
50064
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49146
50065
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49147
50066
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49148
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49149
50067
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49150
50068
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49151
50069
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49182,7 +50100,6 @@ const generatedFocusOperations = [
|
|
|
49182
50100
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49183
50101
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49184
50102
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49185
|
-
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49186
50103
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49187
50104
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49188
50105
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49199,7 +50116,6 @@ const generatedFocusOperations = [
|
|
|
49199
50116
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49200
50117
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49201
50118
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49202
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49203
50119
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49204
50120
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49205
50121
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49255,7 +50171,6 @@ const generatedFocusOperations = [
|
|
|
49255
50171
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49256
50172
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49257
50173
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49258
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49259
50174
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49260
50175
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49261
50176
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49296,7 +50211,6 @@ const generatedFocusOperations = [
|
|
|
49296
50211
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49297
50212
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49298
50213
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49299
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49300
50214
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49301
50215
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49302
50216
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49337,6 +50251,7 @@ const generatedFocusOperations = [
|
|
|
49337
50251
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49338
50252
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49339
50253
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50254
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49340
50255
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49341
50256
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49342
50257
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49350,7 +50265,8 @@ const generatedFocusOperations = [
|
|
|
49350
50265
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49351
50266
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49352
50267
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49353
|
-
|
|
50268
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50269
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49354
50270
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49355
50271
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49356
50272
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49366,6 +50282,7 @@ const generatedFocusOperations = [
|
|
|
49366
50282
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49367
50283
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
49368
50284
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50285
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49369
50286
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49370
50287
|
}),
|
|
49371
50288
|
execute: (input, { client }) => {
|
|
@@ -49380,6 +50297,118 @@ const generatedFocusOperations = [
|
|
|
49380
50297
|
]));
|
|
49381
50298
|
}
|
|
49382
50299
|
},
|
|
50300
|
+
{
|
|
50301
|
+
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
50302
|
+
family: "focus",
|
|
50303
|
+
resource: "tasks",
|
|
50304
|
+
action: "groups-get-user-task-groups-by-project",
|
|
50305
|
+
title: "Groups Get User Task Groups By Project Tasks",
|
|
50306
|
+
description: "Groups Get User Task Groups By Project Tasks.",
|
|
50307
|
+
safety: "read",
|
|
50308
|
+
destructive: false,
|
|
50309
|
+
cli: {
|
|
50310
|
+
group: ["tasks", "groups"],
|
|
50311
|
+
command: "get-user-task-groups-by-project",
|
|
50312
|
+
interactive: "hidden"
|
|
50313
|
+
},
|
|
50314
|
+
mcp: { entityTool: "tasks" },
|
|
50315
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50316
|
+
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
50317
|
+
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50318
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
50319
|
+
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
50320
|
+
creator_id: /* @__PURE__ */ number$2(),
|
|
50321
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50322
|
+
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
50323
|
+
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
50324
|
+
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
50325
|
+
group_id: /* @__PURE__ */ number$2(),
|
|
50326
|
+
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50327
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50328
|
+
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50329
|
+
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50330
|
+
min_days: /* @__PURE__ */ unknown$1(),
|
|
50331
|
+
name: /* @__PURE__ */ unknown$1(),
|
|
50332
|
+
priority: /* @__PURE__ */ unknown$1(),
|
|
50333
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
50334
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
50335
|
+
source: /* @__PURE__ */ unknown$1(),
|
|
50336
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50337
|
+
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
50338
|
+
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
50339
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
50340
|
+
tag_id: /* @__PURE__ */ number$2(),
|
|
50341
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
50342
|
+
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50343
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
50344
|
+
}),
|
|
50345
|
+
execute: (input, { client }) => {
|
|
50346
|
+
const data = input;
|
|
50347
|
+
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
50348
|
+
client.httpClient,
|
|
50349
|
+
client.organizationId,
|
|
50350
|
+
client.workspaceIdNumber,
|
|
50351
|
+
data,
|
|
50352
|
+
void 0
|
|
50353
|
+
]));
|
|
50354
|
+
}
|
|
50355
|
+
},
|
|
50356
|
+
{
|
|
50357
|
+
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
50358
|
+
family: "focus",
|
|
50359
|
+
resource: "tasks",
|
|
50360
|
+
action: "groups-get-user-task-groups-by-team",
|
|
50361
|
+
title: "Groups Get User Task Groups By Team Tasks",
|
|
50362
|
+
description: "Groups Get User Task Groups By Team Tasks.",
|
|
50363
|
+
safety: "read",
|
|
50364
|
+
destructive: false,
|
|
50365
|
+
cli: {
|
|
50366
|
+
group: ["tasks", "groups"],
|
|
50367
|
+
command: "get-user-task-groups-by-team",
|
|
50368
|
+
interactive: "hidden"
|
|
50369
|
+
},
|
|
50370
|
+
mcp: { entityTool: "tasks" },
|
|
50371
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50372
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50373
|
+
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50374
|
+
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50375
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50376
|
+
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50377
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50378
|
+
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50379
|
+
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50380
|
+
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50381
|
+
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50382
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50383
|
+
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50384
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50385
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50386
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50387
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50388
|
+
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50389
|
+
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50390
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50391
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50392
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50393
|
+
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50394
|
+
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50395
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50396
|
+
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50397
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50398
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50399
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50400
|
+
}),
|
|
50401
|
+
execute: (input, { client }) => {
|
|
50402
|
+
const data = input;
|
|
50403
|
+
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
50404
|
+
client.httpClient,
|
|
50405
|
+
client.organizationId,
|
|
50406
|
+
client.workspaceIdNumber,
|
|
50407
|
+
data,
|
|
50408
|
+
void 0
|
|
50409
|
+
]));
|
|
50410
|
+
}
|
|
50411
|
+
},
|
|
49383
50412
|
{
|
|
49384
50413
|
id: "focus.tasks.groups-update",
|
|
49385
50414
|
family: "focus",
|
|
@@ -49585,7 +50614,6 @@ const generatedFocusOperations = [
|
|
|
49585
50614
|
name: /* @__PURE__ */ string$1(),
|
|
49586
50615
|
status_id: /* @__PURE__ */ number$2(),
|
|
49587
50616
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49588
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49589
50617
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
49590
50618
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49591
50619
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -49605,6 +50633,7 @@ const generatedFocusOperations = [
|
|
|
49605
50633
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49606
50634
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49607
50635
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50636
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49608
50637
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
49609
50638
|
}),
|
|
49610
50639
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -50613,6 +51642,40 @@ const generatedFocusOperations = [
|
|
|
50613
51642
|
]));
|
|
50614
51643
|
}
|
|
50615
51644
|
},
|
|
51645
|
+
{
|
|
51646
|
+
id: "focus.time-entries.groups-get-users",
|
|
51647
|
+
family: "focus",
|
|
51648
|
+
resource: "time-entries",
|
|
51649
|
+
action: "groups-get-users",
|
|
51650
|
+
title: "Groups Get Users Time Entries",
|
|
51651
|
+
description: "Groups Get Users Time Entries.",
|
|
51652
|
+
safety: "read",
|
|
51653
|
+
destructive: false,
|
|
51654
|
+
cli: {
|
|
51655
|
+
group: ["time-entries", "groups"],
|
|
51656
|
+
command: "get-users",
|
|
51657
|
+
interactive: "hidden"
|
|
51658
|
+
},
|
|
51659
|
+
mcp: { entityTool: "time-entries" },
|
|
51660
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51661
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51662
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
51663
|
+
page: /* @__PURE__ */ number$2(),
|
|
51664
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
51665
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51666
|
+
user_id: /* @__PURE__ */ number$2()
|
|
51667
|
+
}),
|
|
51668
|
+
execute: (input, { client }) => {
|
|
51669
|
+
const data = input;
|
|
51670
|
+
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
51671
|
+
client.httpClient,
|
|
51672
|
+
client.organizationId,
|
|
51673
|
+
client.workspaceIdNumber,
|
|
51674
|
+
data,
|
|
51675
|
+
void 0
|
|
51676
|
+
]));
|
|
51677
|
+
}
|
|
51678
|
+
},
|
|
50616
51679
|
{
|
|
50617
51680
|
id: "focus.time-entries.list",
|
|
50618
51681
|
family: "focus",
|
|
@@ -50797,6 +51860,42 @@ const generatedFocusOperations = [
|
|
|
50797
51860
|
inputSchema: emptySchema$1,
|
|
50798
51861
|
execute: (_input, { client }) => client.stopTracking()
|
|
50799
51862
|
},
|
|
51863
|
+
{
|
|
51864
|
+
id: "focus.time-entries.sync",
|
|
51865
|
+
family: "focus",
|
|
51866
|
+
resource: "time-entries",
|
|
51867
|
+
action: "sync",
|
|
51868
|
+
title: "Sync Time Entries",
|
|
51869
|
+
description: "Sync Time Entries.",
|
|
51870
|
+
safety: "update",
|
|
51871
|
+
destructive: false,
|
|
51872
|
+
cli: {
|
|
51873
|
+
group: ["time-entries"],
|
|
51874
|
+
command: "sync",
|
|
51875
|
+
interactive: "default"
|
|
51876
|
+
},
|
|
51877
|
+
mcp: { entityTool: "time-entries" },
|
|
51878
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51879
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
51880
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51881
|
+
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
51882
|
+
client_updated_at: apiDateTimeString,
|
|
51883
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
51884
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51885
|
+
})
|
|
51886
|
+
}),
|
|
51887
|
+
execute: (input, { client }) => {
|
|
51888
|
+
const data = input;
|
|
51889
|
+
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
51890
|
+
client.httpClient,
|
|
51891
|
+
client.organizationId,
|
|
51892
|
+
client.workspaceIdNumber,
|
|
51893
|
+
data.client_uuid,
|
|
51894
|
+
data.payload ?? data.data ?? data,
|
|
51895
|
+
void 0
|
|
51896
|
+
]));
|
|
51897
|
+
}
|
|
51898
|
+
},
|
|
50800
51899
|
{
|
|
50801
51900
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
50802
51901
|
family: "focus",
|
|
@@ -50845,6 +51944,7 @@ const generatedFocusOperations = [
|
|
|
50845
51944
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50846
51945
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50847
51946
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51947
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50848
51948
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50849
51949
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50850
51950
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -50903,125 +52003,37 @@ const generatedFocusOperations = [
|
|
|
50903
52003
|
resource: "time-entries",
|
|
50904
52004
|
action: "update",
|
|
50905
52005
|
title: "Update Time Entries",
|
|
50906
|
-
description: "Update Time Entries.",
|
|
50907
|
-
safety: "update",
|
|
50908
|
-
destructive: false,
|
|
50909
|
-
cli: {
|
|
50910
|
-
group: ["time-entries"],
|
|
50911
|
-
command: "update",
|
|
50912
|
-
interactive: "default"
|
|
50913
|
-
},
|
|
50914
|
-
mcp: { entityTool: "time-entries" },
|
|
50915
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50916
|
-
payload: /* @__PURE__ */ looseObject({
|
|
50917
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
50918
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50919
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50920
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50921
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
50922
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50923
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50924
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
50925
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50926
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
50927
|
-
}),
|
|
50928
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
50929
|
-
}),
|
|
50930
|
-
execute: (input, { client }) => {
|
|
50931
|
-
const data = input;
|
|
50932
|
-
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
50933
|
-
client.httpClient,
|
|
50934
|
-
client.organizationId,
|
|
50935
|
-
client.workspaceIdNumber,
|
|
50936
|
-
data.time_entry_id,
|
|
50937
|
-
data.payload ?? data.data ?? data,
|
|
50938
|
-
void 0
|
|
50939
|
-
]));
|
|
50940
|
-
}
|
|
50941
|
-
},
|
|
50942
|
-
{
|
|
50943
|
-
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
50944
|
-
family: "focus",
|
|
50945
|
-
resource: "time-log-suggestions",
|
|
50946
|
-
action: "get-for-acalendar-event-title",
|
|
50947
|
-
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
50948
|
-
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
50949
|
-
safety: "update",
|
|
50950
|
-
destructive: false,
|
|
50951
|
-
cli: {
|
|
50952
|
-
group: ["time-log-suggestions"],
|
|
50953
|
-
command: "get-for-acalendar-event-title",
|
|
50954
|
-
interactive: "default"
|
|
50955
|
-
},
|
|
50956
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
50957
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
50958
|
-
execute: (input, { client }) => {
|
|
50959
|
-
const data = input;
|
|
50960
|
-
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
50961
|
-
client.httpClient,
|
|
50962
|
-
client.organizationId,
|
|
50963
|
-
client.workspaceIdNumber,
|
|
50964
|
-
data.payload ?? data.data ?? data,
|
|
50965
|
-
void 0
|
|
50966
|
-
]));
|
|
50967
|
-
}
|
|
50968
|
-
},
|
|
50969
|
-
{
|
|
50970
|
-
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
50971
|
-
family: "focus",
|
|
50972
|
-
resource: "time-log-suggestions",
|
|
50973
|
-
action: "get-for-multiple-calendar-event-titles",
|
|
50974
|
-
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
50975
|
-
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
50976
|
-
safety: "update",
|
|
50977
|
-
destructive: false,
|
|
50978
|
-
cli: {
|
|
50979
|
-
group: ["time-log-suggestions"],
|
|
50980
|
-
command: "get-for-multiple-calendar-event-titles",
|
|
50981
|
-
interactive: "default"
|
|
50982
|
-
},
|
|
50983
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
50984
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
50985
|
-
key: /* @__PURE__ */ string$1(),
|
|
50986
|
-
title: /* @__PURE__ */ string$1()
|
|
50987
|
-
})) }) }),
|
|
50988
|
-
execute: (input, { client }) => {
|
|
50989
|
-
const data = input;
|
|
50990
|
-
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
50991
|
-
client.httpClient,
|
|
50992
|
-
client.organizationId,
|
|
50993
|
-
client.workspaceIdNumber,
|
|
50994
|
-
data.payload ?? data.data ?? data,
|
|
50995
|
-
void 0
|
|
50996
|
-
]));
|
|
50997
|
-
}
|
|
50998
|
-
},
|
|
50999
|
-
{
|
|
51000
|
-
id: "focus.time-off.create-timeoff-for-ghost",
|
|
51001
|
-
family: "focus",
|
|
51002
|
-
resource: "time-off",
|
|
51003
|
-
action: "create-timeoff-for-ghost",
|
|
51004
|
-
title: "Create Timeoff For Ghost Time Off",
|
|
51005
|
-
description: "Create Timeoff For Ghost Time Off.",
|
|
51006
|
-
safety: "create",
|
|
52006
|
+
description: "Update Time Entries.",
|
|
52007
|
+
safety: "update",
|
|
51007
52008
|
destructive: false,
|
|
51008
52009
|
cli: {
|
|
51009
|
-
group: ["time-
|
|
51010
|
-
command: "
|
|
51011
|
-
interactive: "
|
|
52010
|
+
group: ["time-entries"],
|
|
52011
|
+
command: "update",
|
|
52012
|
+
interactive: "default"
|
|
51012
52013
|
},
|
|
51013
|
-
mcp: { entityTool: "time-
|
|
52014
|
+
mcp: { entityTool: "time-entries" },
|
|
51014
52015
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51015
|
-
|
|
51016
|
-
|
|
52016
|
+
payload: /* @__PURE__ */ looseObject({
|
|
52017
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52018
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52019
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52020
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52021
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52022
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52023
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52024
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52025
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52026
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52027
|
+
}),
|
|
52028
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
51017
52029
|
}),
|
|
51018
52030
|
execute: (input, { client }) => {
|
|
51019
52031
|
const data = input;
|
|
51020
|
-
return client.runGeneratedRequest("
|
|
52032
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
51021
52033
|
client.httpClient,
|
|
51022
52034
|
client.organizationId,
|
|
51023
52035
|
client.workspaceIdNumber,
|
|
51024
|
-
data.
|
|
52036
|
+
data.time_entry_id,
|
|
51025
52037
|
data.payload ?? data.data ?? data,
|
|
51026
52038
|
void 0
|
|
51027
52039
|
]));
|
|
@@ -51057,37 +52069,6 @@ const generatedFocusOperations = [
|
|
|
51057
52069
|
]));
|
|
51058
52070
|
}
|
|
51059
52071
|
},
|
|
51060
|
-
{
|
|
51061
|
-
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
51062
|
-
family: "focus",
|
|
51063
|
-
resource: "time-off",
|
|
51064
|
-
action: "delete-timeoff-for-ghost",
|
|
51065
|
-
title: "Delete Timeoff For Ghost Time Off",
|
|
51066
|
-
description: "Delete Timeoff For Ghost Time Off.",
|
|
51067
|
-
safety: "delete",
|
|
51068
|
-
destructive: true,
|
|
51069
|
-
cli: {
|
|
51070
|
-
group: ["time-off"],
|
|
51071
|
-
command: "delete-timeoff-for-ghost",
|
|
51072
|
-
interactive: "hidden"
|
|
51073
|
-
},
|
|
51074
|
-
mcp: { entityTool: "time-off" },
|
|
51075
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51076
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51077
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
51078
|
-
}),
|
|
51079
|
-
execute: (input, { client }) => {
|
|
51080
|
-
const data = input;
|
|
51081
|
-
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
51082
|
-
client.httpClient,
|
|
51083
|
-
client.organizationId,
|
|
51084
|
-
client.workspaceIdNumber,
|
|
51085
|
-
data.ghost_id,
|
|
51086
|
-
data.payload ?? data.data ?? data,
|
|
51087
|
-
void 0
|
|
51088
|
-
]));
|
|
51089
|
-
}
|
|
51090
|
-
},
|
|
51091
52072
|
{
|
|
51092
52073
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
51093
52074
|
family: "focus",
|
|
@@ -51118,38 +52099,6 @@ const generatedFocusOperations = [
|
|
|
51118
52099
|
]));
|
|
51119
52100
|
}
|
|
51120
52101
|
},
|
|
51121
|
-
{
|
|
51122
|
-
id: "focus.time-off.get-timeoff-for-ghost",
|
|
51123
|
-
family: "focus",
|
|
51124
|
-
resource: "time-off",
|
|
51125
|
-
action: "get-timeoff-for-ghost",
|
|
51126
|
-
title: "Get Timeoff For Ghost Time Off",
|
|
51127
|
-
description: "Get Timeoff For Ghost Time Off.",
|
|
51128
|
-
safety: "read",
|
|
51129
|
-
destructive: false,
|
|
51130
|
-
cli: {
|
|
51131
|
-
group: ["time-off"],
|
|
51132
|
-
command: "get-timeoff-for-ghost",
|
|
51133
|
-
interactive: "hidden"
|
|
51134
|
-
},
|
|
51135
|
-
mcp: { entityTool: "time-off" },
|
|
51136
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51137
|
-
from: /* @__PURE__ */ unknown$1(),
|
|
51138
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51139
|
-
to: /* @__PURE__ */ unknown$1()
|
|
51140
|
-
}),
|
|
51141
|
-
execute: (input, { client }) => {
|
|
51142
|
-
const data = input;
|
|
51143
|
-
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
51144
|
-
client.httpClient,
|
|
51145
|
-
client.organizationId,
|
|
51146
|
-
client.workspaceIdNumber,
|
|
51147
|
-
data.ghost_id,
|
|
51148
|
-
data,
|
|
51149
|
-
void 0
|
|
51150
|
-
]));
|
|
51151
|
-
}
|
|
51152
|
-
},
|
|
51153
52102
|
{
|
|
51154
52103
|
id: "focus.time-off.get-timeoff-for-user",
|
|
51155
52104
|
family: "focus",
|
|
@@ -51181,37 +52130,6 @@ const generatedFocusOperations = [
|
|
|
51181
52130
|
]));
|
|
51182
52131
|
}
|
|
51183
52132
|
},
|
|
51184
|
-
{
|
|
51185
|
-
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
51186
|
-
family: "focus",
|
|
51187
|
-
resource: "time-off",
|
|
51188
|
-
action: "get-timeoffs-by-ghost-ids",
|
|
51189
|
-
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
51190
|
-
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
51191
|
-
safety: "read",
|
|
51192
|
-
destructive: false,
|
|
51193
|
-
cli: {
|
|
51194
|
-
group: ["time-off"],
|
|
51195
|
-
command: "get-timeoffs-by-ghost-ids",
|
|
51196
|
-
interactive: "hidden"
|
|
51197
|
-
},
|
|
51198
|
-
mcp: { entityTool: "time-off" },
|
|
51199
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51200
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51201
|
-
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
51202
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
51203
|
-
}),
|
|
51204
|
-
execute: (input, { client }) => {
|
|
51205
|
-
const data = input;
|
|
51206
|
-
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
51207
|
-
client.httpClient,
|
|
51208
|
-
client.organizationId,
|
|
51209
|
-
client.workspaceIdNumber,
|
|
51210
|
-
data,
|
|
51211
|
-
void 0
|
|
51212
|
-
]));
|
|
51213
|
-
}
|
|
51214
|
-
},
|
|
51215
52133
|
{
|
|
51216
52134
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
51217
52135
|
family: "focus",
|
|
@@ -51242,37 +52160,6 @@ const generatedFocusOperations = [
|
|
|
51242
52160
|
]));
|
|
51243
52161
|
}
|
|
51244
52162
|
},
|
|
51245
|
-
{
|
|
51246
|
-
id: "focus.time-off.update-timeoff-for-ghost",
|
|
51247
|
-
family: "focus",
|
|
51248
|
-
resource: "time-off",
|
|
51249
|
-
action: "update-timeoff-for-ghost",
|
|
51250
|
-
title: "Update Timeoff For Ghost Time Off",
|
|
51251
|
-
description: "Update Timeoff For Ghost Time Off.",
|
|
51252
|
-
safety: "update",
|
|
51253
|
-
destructive: false,
|
|
51254
|
-
cli: {
|
|
51255
|
-
group: ["time-off"],
|
|
51256
|
-
command: "update-timeoff-for-ghost",
|
|
51257
|
-
interactive: "hidden"
|
|
51258
|
-
},
|
|
51259
|
-
mcp: { entityTool: "time-off" },
|
|
51260
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51261
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51262
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
51263
|
-
}),
|
|
51264
|
-
execute: (input, { client }) => {
|
|
51265
|
-
const data = input;
|
|
51266
|
-
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
51267
|
-
client.httpClient,
|
|
51268
|
-
client.organizationId,
|
|
51269
|
-
client.workspaceIdNumber,
|
|
51270
|
-
data.ghost_id,
|
|
51271
|
-
data.payload ?? data.data ?? data,
|
|
51272
|
-
void 0
|
|
51273
|
-
]));
|
|
51274
|
-
}
|
|
51275
|
-
},
|
|
51276
52163
|
{
|
|
51277
52164
|
id: "focus.time-off.update-timeoff-for-user",
|
|
51278
52165
|
family: "focus",
|
|
@@ -52304,6 +53191,7 @@ const generatedFocusOperations = [
|
|
|
52304
53191
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52305
53192
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52306
53193
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53194
|
+
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52307
53195
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52308
53196
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52309
53197
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -52405,37 +53293,6 @@ const generatedFocusOperations = [
|
|
|
52405
53293
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
52406
53294
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
52407
53295
|
},
|
|
52408
|
-
{
|
|
52409
|
-
id: "focus.working-hours.create-for-ghost",
|
|
52410
|
-
family: "focus",
|
|
52411
|
-
resource: "working-hours",
|
|
52412
|
-
action: "create-for-ghost",
|
|
52413
|
-
title: "Create For Ghost Working Hours",
|
|
52414
|
-
description: "Create For Ghost Working Hours.",
|
|
52415
|
-
safety: "create",
|
|
52416
|
-
destructive: false,
|
|
52417
|
-
cli: {
|
|
52418
|
-
group: ["working-hours"],
|
|
52419
|
-
command: "create-for-ghost",
|
|
52420
|
-
interactive: "hidden"
|
|
52421
|
-
},
|
|
52422
|
-
mcp: { entityTool: "working-hours" },
|
|
52423
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52424
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52425
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52426
|
-
}),
|
|
52427
|
-
execute: (input, { client }) => {
|
|
52428
|
-
const data = input;
|
|
52429
|
-
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
52430
|
-
client.httpClient,
|
|
52431
|
-
client.organizationId,
|
|
52432
|
-
client.workspaceIdNumber,
|
|
52433
|
-
data.ghost_id,
|
|
52434
|
-
data.payload ?? data.data ?? data,
|
|
52435
|
-
void 0
|
|
52436
|
-
]));
|
|
52437
|
-
}
|
|
52438
|
-
},
|
|
52439
53296
|
{
|
|
52440
53297
|
id: "focus.working-hours.create-for-user",
|
|
52441
53298
|
family: "focus",
|
|
@@ -52466,37 +53323,6 @@ const generatedFocusOperations = [
|
|
|
52466
53323
|
]));
|
|
52467
53324
|
}
|
|
52468
53325
|
},
|
|
52469
|
-
{
|
|
52470
|
-
id: "focus.working-hours.delete-for-ghost",
|
|
52471
|
-
family: "focus",
|
|
52472
|
-
resource: "working-hours",
|
|
52473
|
-
action: "delete-for-ghost",
|
|
52474
|
-
title: "Delete For Ghost Working Hours",
|
|
52475
|
-
description: "Delete For Ghost Working Hours.",
|
|
52476
|
-
safety: "delete",
|
|
52477
|
-
destructive: true,
|
|
52478
|
-
cli: {
|
|
52479
|
-
group: ["working-hours"],
|
|
52480
|
-
command: "delete-for-ghost",
|
|
52481
|
-
interactive: "hidden"
|
|
52482
|
-
},
|
|
52483
|
-
mcp: { entityTool: "working-hours" },
|
|
52484
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52485
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52486
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52487
|
-
}),
|
|
52488
|
-
execute: (input, { client }) => {
|
|
52489
|
-
const data = input;
|
|
52490
|
-
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
52491
|
-
client.httpClient,
|
|
52492
|
-
client.organizationId,
|
|
52493
|
-
client.workspaceIdNumber,
|
|
52494
|
-
data.ghost_id,
|
|
52495
|
-
data.payload ?? data.data ?? data,
|
|
52496
|
-
void 0
|
|
52497
|
-
]));
|
|
52498
|
-
}
|
|
52499
|
-
},
|
|
52500
53326
|
{
|
|
52501
53327
|
id: "focus.working-hours.delete-for-user",
|
|
52502
53328
|
family: "focus",
|
|
@@ -52527,33 +53353,6 @@ const generatedFocusOperations = [
|
|
|
52527
53353
|
]));
|
|
52528
53354
|
}
|
|
52529
53355
|
},
|
|
52530
|
-
{
|
|
52531
|
-
id: "focus.working-hours.get-for-ghost",
|
|
52532
|
-
family: "focus",
|
|
52533
|
-
resource: "working-hours",
|
|
52534
|
-
action: "get-for-ghost",
|
|
52535
|
-
title: "Get For Ghost Working Hours",
|
|
52536
|
-
description: "Get For Ghost Working Hours.",
|
|
52537
|
-
safety: "read",
|
|
52538
|
-
destructive: false,
|
|
52539
|
-
cli: {
|
|
52540
|
-
group: ["working-hours"],
|
|
52541
|
-
command: "get-for-ghost",
|
|
52542
|
-
interactive: "available"
|
|
52543
|
-
},
|
|
52544
|
-
mcp: { entityTool: "working-hours" },
|
|
52545
|
-
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
52546
|
-
execute: (input, { client }) => {
|
|
52547
|
-
const data = input;
|
|
52548
|
-
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
52549
|
-
client.httpClient,
|
|
52550
|
-
client.organizationId,
|
|
52551
|
-
client.workspaceIdNumber,
|
|
52552
|
-
data.ghost_id,
|
|
52553
|
-
void 0
|
|
52554
|
-
]));
|
|
52555
|
-
}
|
|
52556
|
-
},
|
|
52557
53356
|
{
|
|
52558
53357
|
id: "focus.working-hours.get-for-user",
|
|
52559
53358
|
family: "focus",
|
|
@@ -52580,37 +53379,6 @@ const generatedFocusOperations = [
|
|
|
52580
53379
|
]));
|
|
52581
53380
|
}
|
|
52582
53381
|
},
|
|
52583
|
-
{
|
|
52584
|
-
id: "focus.working-hours.update-for-ghost",
|
|
52585
|
-
family: "focus",
|
|
52586
|
-
resource: "working-hours",
|
|
52587
|
-
action: "update-for-ghost",
|
|
52588
|
-
title: "Update For Ghost Working Hours",
|
|
52589
|
-
description: "Update For Ghost Working Hours.",
|
|
52590
|
-
safety: "update",
|
|
52591
|
-
destructive: false,
|
|
52592
|
-
cli: {
|
|
52593
|
-
group: ["working-hours"],
|
|
52594
|
-
command: "update-for-ghost",
|
|
52595
|
-
interactive: "hidden"
|
|
52596
|
-
},
|
|
52597
|
-
mcp: { entityTool: "working-hours" },
|
|
52598
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52599
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52600
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52601
|
-
}),
|
|
52602
|
-
execute: (input, { client }) => {
|
|
52603
|
-
const data = input;
|
|
52604
|
-
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
52605
|
-
client.httpClient,
|
|
52606
|
-
client.organizationId,
|
|
52607
|
-
client.workspaceIdNumber,
|
|
52608
|
-
data.ghost_id,
|
|
52609
|
-
data.payload ?? data.data ?? data,
|
|
52610
|
-
void 0
|
|
52611
|
-
]));
|
|
52612
|
-
}
|
|
52613
|
-
},
|
|
52614
53382
|
{
|
|
52615
53383
|
id: "focus.working-hours.update-for-user",
|
|
52616
53384
|
family: "focus",
|
|
@@ -52685,6 +53453,50 @@ const generatedFocusOperations = [
|
|
|
52685
53453
|
void 0
|
|
52686
53454
|
]))
|
|
52687
53455
|
},
|
|
53456
|
+
{
|
|
53457
|
+
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
53458
|
+
family: "focus",
|
|
53459
|
+
resource: "workspace-settings",
|
|
53460
|
+
action: "get-workspace-export-branding",
|
|
53461
|
+
title: "Get Workspace Export Branding Workspace Settings",
|
|
53462
|
+
description: "Get Workspace Export Branding Workspace Settings.",
|
|
53463
|
+
safety: "read",
|
|
53464
|
+
destructive: false,
|
|
53465
|
+
cli: {
|
|
53466
|
+
group: ["workspace-settings"],
|
|
53467
|
+
command: "get-workspace-export-branding",
|
|
53468
|
+
interactive: "hidden"
|
|
53469
|
+
},
|
|
53470
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53471
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53472
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
53473
|
+
client.httpClient,
|
|
53474
|
+
client.workspaceIdNumber,
|
|
53475
|
+
void 0
|
|
53476
|
+
]))
|
|
53477
|
+
},
|
|
53478
|
+
{
|
|
53479
|
+
id: "focus.workspace-settings.get-workspace-watermark",
|
|
53480
|
+
family: "focus",
|
|
53481
|
+
resource: "workspace-settings",
|
|
53482
|
+
action: "get-workspace-watermark",
|
|
53483
|
+
title: "Get Workspace Watermark Workspace Settings",
|
|
53484
|
+
description: "Get Workspace Watermark Workspace Settings.",
|
|
53485
|
+
safety: "read",
|
|
53486
|
+
destructive: false,
|
|
53487
|
+
cli: {
|
|
53488
|
+
group: ["workspace-settings"],
|
|
53489
|
+
command: "get-workspace-watermark",
|
|
53490
|
+
interactive: "hidden"
|
|
53491
|
+
},
|
|
53492
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53493
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53494
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
53495
|
+
client.httpClient,
|
|
53496
|
+
client.workspaceIdNumber,
|
|
53497
|
+
void 0
|
|
53498
|
+
]))
|
|
53499
|
+
},
|
|
52688
53500
|
{
|
|
52689
53501
|
id: "focus.workspace-settings.list",
|
|
52690
53502
|
family: "focus",
|
|
@@ -52759,6 +53571,32 @@ const generatedFocusOperations = [
|
|
|
52759
53571
|
]));
|
|
52760
53572
|
}
|
|
52761
53573
|
},
|
|
53574
|
+
{
|
|
53575
|
+
id: "focus.workspace-settings.update-workspace-watermark",
|
|
53576
|
+
family: "focus",
|
|
53577
|
+
resource: "workspace-settings",
|
|
53578
|
+
action: "update-workspace-watermark",
|
|
53579
|
+
title: "Update Workspace Watermark Workspace Settings",
|
|
53580
|
+
description: "Update Workspace Watermark Workspace Settings.",
|
|
53581
|
+
safety: "update",
|
|
53582
|
+
destructive: false,
|
|
53583
|
+
cli: {
|
|
53584
|
+
group: ["workspace-settings"],
|
|
53585
|
+
command: "update-workspace-watermark",
|
|
53586
|
+
interactive: "default"
|
|
53587
|
+
},
|
|
53588
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53589
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
53590
|
+
execute: (input, { client }) => {
|
|
53591
|
+
const data = input;
|
|
53592
|
+
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
53593
|
+
client.httpClient,
|
|
53594
|
+
client.workspaceIdNumber,
|
|
53595
|
+
data.payload ?? data.data ?? data,
|
|
53596
|
+
void 0
|
|
53597
|
+
]));
|
|
53598
|
+
}
|
|
53599
|
+
},
|
|
52762
53600
|
{
|
|
52763
53601
|
id: "focus.workspace.get-context",
|
|
52764
53602
|
family: "focus",
|
|
@@ -53885,7 +54723,7 @@ function registerWorkspaceTools(server) {
|
|
|
53885
54723
|
//#region src/package-version.ts
|
|
53886
54724
|
function mcpPackageVersion() {
|
|
53887
54725
|
try {
|
|
53888
|
-
return "1.11.
|
|
54726
|
+
return "1.11.69";
|
|
53889
54727
|
} catch {
|
|
53890
54728
|
return "unknown";
|
|
53891
54729
|
}
|
|
@@ -54060,7 +54898,7 @@ import_main.default.config({
|
|
|
54060
54898
|
quiet: true,
|
|
54061
54899
|
ignore: ["MISSING_ENV_FILE"]
|
|
54062
54900
|
});
|
|
54063
|
-
const packageVersion = "1.11.
|
|
54901
|
+
const packageVersion = "1.11.69";
|
|
54064
54902
|
function resolvePublicUrls() {
|
|
54065
54903
|
return {
|
|
54066
54904
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -54125,4 +54963,4 @@ function bootstrapServer(options = {}) {
|
|
|
54125
54963
|
//#endregion
|
|
54126
54964
|
export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
54127
54965
|
|
|
54128
|
-
//# sourceMappingURL=src-
|
|
54966
|
+
//# sourceMappingURL=src-C40qQeNj.js.map
|