@togglhq/mcp 1.11.172 → 1.11.174
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-B-g_wVRU.js → src-CxBQLOJY.js} +587 -1425
- package/package.json +1 -1
|
@@ -34645,7 +34645,11 @@ function safeParse(schema, input, config$1) {
|
|
|
34645
34645
|
}
|
|
34646
34646
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
34647
34647
|
id: /* @__PURE__ */ number(),
|
|
34648
|
-
type: /* @__PURE__ */ picklist([
|
|
34648
|
+
type: /* @__PURE__ */ picklist([
|
|
34649
|
+
"user",
|
|
34650
|
+
"ghost",
|
|
34651
|
+
"team"
|
|
34652
|
+
])
|
|
34649
34653
|
});
|
|
34650
34654
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
34651
34655
|
id: /* @__PURE__ */ number(),
|
|
@@ -34687,8 +34691,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34687
34691
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34688
34692
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
34689
34693
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34690
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
34691
|
-
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("RecurringProjectID links an instance to its recurring template, so clients can lane an entry under a collapsed series.")))
|
|
34694
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
34692
34695
|
});
|
|
34693
34696
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
34694
34697
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -34761,7 +34764,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34761
34764
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34762
34765
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34763
34766
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34764
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
34767
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34765
34768
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34766
34769
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34767
34770
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34769,6 +34772,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34769
34772
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34770
34773
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34771
34774
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34775
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34772
34776
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34773
34777
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34774
34778
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34778,7 +34782,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34778
34782
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34779
34783
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34780
34784
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34781
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34782
34785
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34783
34786
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34784
34787
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34822,7 +34825,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34822
34825
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34823
34826
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34824
34827
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34825
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
34828
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34826
34829
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34827
34830
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34828
34831
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34830,6 +34833,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34830
34833
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34831
34834
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34832
34835
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34836
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34833
34837
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34834
34838
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34835
34839
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34840,7 +34844,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34840
34844
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34841
34845
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34842
34846
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34843
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34844
34847
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34845
34848
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34846
34849
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34999,7 +35002,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34999
35002
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
35000
35003
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35001
35004
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35002
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35005
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
35003
35006
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35004
35007
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35005
35008
|
});
|
|
@@ -35143,7 +35146,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35143
35146
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
35144
35147
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35145
35148
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35146
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35149
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
35147
35150
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35148
35151
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35149
35152
|
})),
|
|
@@ -35155,15 +35158,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
35155
35158
|
id: /* @__PURE__ */ number(),
|
|
35156
35159
|
name: /* @__PURE__ */ string(),
|
|
35157
35160
|
workspace_id: /* @__PURE__ */ number(),
|
|
35158
|
-
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()), /* @__PURE__ */ description("An archived tag disappears from the apply affordance but stays attached to and readable on every existing entity. Nothing cascades."))),
|
|
35159
35161
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35160
35162
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35161
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35162
|
-
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
35163
|
-
projects: /* @__PURE__ */ number(),
|
|
35164
|
-
tasks: /* @__PURE__ */ number(),
|
|
35165
|
-
time_entries: /* @__PURE__ */ number()
|
|
35166
|
-
})), /* @__PURE__ */ description("Counts of the projects, tasks and time entries whose tag set directly contains this tag. Only present on the tags list, for callers with unrestricted project access.")))
|
|
35163
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35167
35164
|
});
|
|
35168
35165
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
35169
35166
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -35174,8 +35171,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
35174
35171
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
35175
35172
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
35176
35173
|
account_locked_at: /* @__PURE__ */ string(),
|
|
35177
|
-
accounts_role_id: /* @__PURE__ */ number(),
|
|
35178
35174
|
active: /* @__PURE__ */ boolean(),
|
|
35175
|
+
admin: /* @__PURE__ */ boolean(),
|
|
35179
35176
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
35180
35177
|
created_at: /* @__PURE__ */ string(),
|
|
35181
35178
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -35224,9 +35221,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
35224
35221
|
track_role_id: /* @__PURE__ */ number(),
|
|
35225
35222
|
work_role_id: /* @__PURE__ */ number(),
|
|
35226
35223
|
workspace_user_id: /* @__PURE__ */ number()
|
|
35227
|
-
}))
|
|
35228
|
-
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
35229
|
-
has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
|
|
35224
|
+
}))
|
|
35230
35225
|
});
|
|
35231
35226
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35232
35227
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -35303,7 +35298,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35303
35298
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35304
35299
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35305
35300
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35306
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
35301
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35302
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35307
35303
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35308
35304
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35309
35305
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -35319,7 +35315,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35319
35315
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35320
35316
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35321
35317
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35322
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35323
35318
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35324
35319
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35325
35320
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35329,23 +35324,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35329
35324
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35330
35325
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
35331
35326
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
35332
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
35333
|
-
private: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Optional privacy override applied to every duplicated task (and cascaded children). When omitted, each task keeps the source task's private flag. Used when FE must force public (plan lacks private tasks) or private (user can only create private) instead of falling back to composite create.")))
|
|
35327
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
35334
35328
|
});
|
|
35335
35329
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35336
35330
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35337
35331
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
35338
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35339
35332
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35340
35333
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35341
35334
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35342
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
35335
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35343
35336
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35344
35337
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35345
35338
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35346
35339
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35347
35340
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35348
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
35341
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35342
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35349
35343
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35350
35344
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35351
35345
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35362,7 +35356,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35362
35356
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35363
35357
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35364
35358
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35365
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35366
35359
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35367
35360
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35368
35361
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35371,17 +35364,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35371
35364
|
});
|
|
35372
35365
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
35373
35366
|
id: /* @__PURE__ */ number(),
|
|
35374
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35375
35367
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35376
35368
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35377
35369
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35378
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
35370
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35379
35371
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35380
35372
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35381
35373
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35382
35374
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35383
35375
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35384
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
35376
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35377
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35385
35378
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35386
35379
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35387
35380
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35398,7 +35391,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35398
35391
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35399
35392
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35400
35393
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35401
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35402
35394
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35403
35395
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35404
35396
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37322,7 +37314,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37322
37314
|
})
|
|
37323
37315
|
}).json();
|
|
37324
37316
|
}
|
|
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
|
|
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) {
|
|
37326
37318
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37327
37319
|
signal,
|
|
37328
37320
|
searchParams: buildSearchParams$2({
|
|
@@ -37342,10 +37334,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37342
37334
|
include_working_hours,
|
|
37343
37335
|
include_rates,
|
|
37344
37336
|
pinned_ids,
|
|
37345
|
-
has_group
|
|
37346
|
-
cf_filter,
|
|
37347
|
-
include_custom_fields,
|
|
37348
|
-
include_calendar_integration
|
|
37337
|
+
has_group
|
|
37349
37338
|
}, true)
|
|
37350
37339
|
});
|
|
37351
37340
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -37364,7 +37353,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
37364
37353
|
}
|
|
37365
37354
|
//#endregion
|
|
37366
37355
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
37367
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id
|
|
37356
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
37368
37357
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
37369
37358
|
signal,
|
|
37370
37359
|
searchParams: buildSearchParams$2({
|
|
@@ -37372,10 +37361,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
37372
37361
|
page,
|
|
37373
37362
|
per_page,
|
|
37374
37363
|
order_by,
|
|
37375
|
-
tag_id
|
|
37376
|
-
include_usage,
|
|
37377
|
-
include_archived,
|
|
37378
|
-
archived
|
|
37364
|
+
tag_id
|
|
37379
37365
|
})
|
|
37380
37366
|
}).json();
|
|
37381
37367
|
}
|
|
@@ -37385,42 +37371,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
37385
37371
|
json: data
|
|
37386
37372
|
}).json();
|
|
37387
37373
|
}
|
|
37388
|
-
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
37389
|
-
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37390
|
-
signal,
|
|
37391
|
-
json: data
|
|
37392
|
-
}).json();
|
|
37393
|
-
}
|
|
37394
|
-
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
37395
|
-
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37396
|
-
signal,
|
|
37397
|
-
searchParams: buildSearchParams$2({ ids })
|
|
37398
|
-
}).json();
|
|
37399
|
-
}
|
|
37400
|
-
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
37401
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
37402
|
-
signal,
|
|
37403
|
-
json: data
|
|
37404
|
-
}).json();
|
|
37405
|
-
}
|
|
37406
|
-
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
37407
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
37408
|
-
signal,
|
|
37409
|
-
json: data
|
|
37410
|
-
}).json();
|
|
37411
|
-
}
|
|
37412
|
-
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
37413
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
37414
|
-
signal,
|
|
37415
|
-
json: data
|
|
37416
|
-
}).json();
|
|
37417
|
-
}
|
|
37418
|
-
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
37419
|
-
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
37420
|
-
signal,
|
|
37421
|
-
json: data
|
|
37422
|
-
}).json();
|
|
37423
|
-
}
|
|
37424
37374
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
37425
37375
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37426
37376
|
}
|
|
@@ -37433,18 +37383,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
37433
37383
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
37434
37384
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37435
37385
|
}
|
|
37436
|
-
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37437
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
37438
|
-
}
|
|
37439
37386
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
37440
37387
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
37441
37388
|
}
|
|
37442
|
-
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37443
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
37444
|
-
}
|
|
37445
37389
|
//#endregion
|
|
37446
37390
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37447
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates,
|
|
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) {
|
|
37448
37392
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37449
37393
|
signal,
|
|
37450
37394
|
searchParams: buildSearchParams$2({
|
|
@@ -37466,7 +37410,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
37466
37410
|
include_rates,
|
|
37467
37411
|
include_rollover,
|
|
37468
37412
|
include_idle_recurring_templates,
|
|
37469
|
-
collapse_recurring,
|
|
37470
37413
|
include_drafts,
|
|
37471
37414
|
include_locked_private,
|
|
37472
37415
|
start_date,
|
|
@@ -37697,7 +37640,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37697
37640
|
}
|
|
37698
37641
|
//#endregion
|
|
37699
37642
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37700
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
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, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
|
|
37701
37644
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37702
37645
|
signal,
|
|
37703
37646
|
searchParams: buildSearchParams$2({
|
|
@@ -37745,8 +37688,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37745
37688
|
recurring_task_ids,
|
|
37746
37689
|
client_id,
|
|
37747
37690
|
include_rates,
|
|
37691
|
+
include_ghost_assignees,
|
|
37748
37692
|
include_assignees,
|
|
37749
37693
|
include_parent_matches,
|
|
37694
|
+
assignee_ghost_id,
|
|
37750
37695
|
disable_aggregations,
|
|
37751
37696
|
cf_filter
|
|
37752
37697
|
})
|
|
@@ -37832,7 +37777,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
37832
37777
|
})
|
|
37833
37778
|
}).json();
|
|
37834
37779
|
}
|
|
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,
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37836
37781
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37837
37782
|
signal,
|
|
37838
37783
|
searchParams: buildSearchParams$2({
|
|
@@ -37845,14 +37790,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37845
37790
|
dates_overlap_end,
|
|
37846
37791
|
recurring_task_ids,
|
|
37847
37792
|
team_id,
|
|
37848
|
-
assignee_team_id,
|
|
37849
37793
|
assignee_user_id,
|
|
37850
37794
|
tag_id,
|
|
37795
|
+
include_ghost_assignees,
|
|
37851
37796
|
include_assignees
|
|
37852
37797
|
})
|
|
37853
37798
|
}).json();
|
|
37854
37799
|
}
|
|
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) {
|
|
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, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
|
|
37856
37801
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37857
37802
|
signal,
|
|
37858
37803
|
searchParams: buildSearchParams$2({
|
|
@@ -37896,15 +37841,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37896
37841
|
recurring,
|
|
37897
37842
|
recurring_task_ids,
|
|
37898
37843
|
client_id,
|
|
37844
|
+
include_ghost_assignees,
|
|
37899
37845
|
include_assignees,
|
|
37846
|
+
assignee_ghost_id,
|
|
37900
37847
|
cf_filter
|
|
37901
37848
|
})
|
|
37902
37849
|
}).json();
|
|
37903
37850
|
}
|
|
37904
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
37851
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37905
37852
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
37906
37853
|
signal,
|
|
37907
|
-
searchParams: buildSearchParams$2({
|
|
37854
|
+
searchParams: buildSearchParams$2({
|
|
37855
|
+
include_ghost_assignees,
|
|
37856
|
+
include_assignees
|
|
37857
|
+
})
|
|
37908
37858
|
}).json();
|
|
37909
37859
|
}
|
|
37910
37860
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -37935,7 +37885,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
37935
37885
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
37936
37886
|
}).json();
|
|
37937
37887
|
}
|
|
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) {
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37939
37889
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
37940
37890
|
signal,
|
|
37941
37891
|
searchParams: buildSearchParams$2({
|
|
@@ -37948,11 +37898,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37948
37898
|
team_id,
|
|
37949
37899
|
assignee_user_id,
|
|
37950
37900
|
tag_id,
|
|
37901
|
+
include_ghost_assignees,
|
|
37951
37902
|
include_assignees
|
|
37952
37903
|
})
|
|
37953
37904
|
}).json();
|
|
37954
37905
|
}
|
|
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) {
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37956
37907
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37957
37908
|
signal,
|
|
37958
37909
|
searchParams: buildSearchParams$2({
|
|
@@ -37965,6 +37916,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
37965
37916
|
team_id,
|
|
37966
37917
|
assignee_user_id,
|
|
37967
37918
|
tag_id,
|
|
37919
|
+
include_ghost_assignees,
|
|
37968
37920
|
include_assignees
|
|
37969
37921
|
})
|
|
37970
37922
|
}).json();
|
|
@@ -38066,12 +38018,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38066
38018
|
})
|
|
38067
38019
|
}).json();
|
|
38068
38020
|
}
|
|
38069
|
-
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
38070
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
38071
|
-
signal,
|
|
38072
|
-
json: data
|
|
38073
|
-
}).json();
|
|
38074
|
-
}
|
|
38075
38021
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38076
38022
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38077
38023
|
signal,
|
|
@@ -38209,7 +38155,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38209
38155
|
]))
|
|
38210
38156
|
});
|
|
38211
38157
|
//#endregion
|
|
38212
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38158
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38213
38159
|
async function getInvitations(httpClient, signal) {
|
|
38214
38160
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38215
38161
|
}
|
|
@@ -38226,7 +38172,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38226
38172
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38227
38173
|
}
|
|
38228
38174
|
//#endregion
|
|
38229
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38175
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38230
38176
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38231
38177
|
const searchParams = new URLSearchParams();
|
|
38232
38178
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38238,7 +38184,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38238
38184
|
return searchParams;
|
|
38239
38185
|
}
|
|
38240
38186
|
//#endregion
|
|
38241
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38187
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38242
38188
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38243
38189
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38244
38190
|
}
|
|
@@ -38252,7 +38198,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38252
38198
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38253
38199
|
}
|
|
38254
38200
|
//#endregion
|
|
38255
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38201
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38256
38202
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38257
38203
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38258
38204
|
}
|
|
@@ -38272,7 +38218,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38272
38218
|
});
|
|
38273
38219
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38274
38220
|
//#endregion
|
|
38275
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38221
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38276
38222
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38277
38223
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38278
38224
|
signal,
|
|
@@ -38283,12 +38229,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38283
38229
|
})).json();
|
|
38284
38230
|
}
|
|
38285
38231
|
//#endregion
|
|
38286
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38232
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38287
38233
|
async function getStatus(httpClient, signal) {
|
|
38288
38234
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38289
38235
|
}
|
|
38290
38236
|
//#endregion
|
|
38291
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38237
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38292
38238
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38293
38239
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38294
38240
|
signal,
|
|
@@ -38316,7 +38262,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38316
38262
|
return response.json();
|
|
38317
38263
|
}
|
|
38318
38264
|
//#endregion
|
|
38319
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38265
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38320
38266
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38321
38267
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38322
38268
|
}
|
|
@@ -41920,21 +41866,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41920
41866
|
}
|
|
41921
41867
|
//#endregion
|
|
41922
41868
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41923
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41924
|
-
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41925
|
-
signal,
|
|
41926
|
-
searchParams: buildSearchParams$2({
|
|
41927
|
-
workspace_id,
|
|
41928
|
-
entity_type,
|
|
41929
|
-
entity_id,
|
|
41930
|
-
action,
|
|
41931
|
-
user_id,
|
|
41932
|
-
page_size,
|
|
41933
|
-
page_number,
|
|
41934
|
-
export: export_
|
|
41935
|
-
})
|
|
41936
|
-
}).json();
|
|
41937
|
-
}
|
|
41938
41869
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41939
41870
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41940
41871
|
signal,
|
|
@@ -42093,22 +42024,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42093
42024
|
}
|
|
42094
42025
|
//#endregion
|
|
42095
42026
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42096
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts
|
|
42027
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, ghost_id, private: private_, task_source, unit, include_drafts }, signal) {
|
|
42097
42028
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42098
42029
|
signal,
|
|
42099
42030
|
searchParams: buildSearchParams$2({
|
|
42100
42031
|
user_id,
|
|
42101
42032
|
start_date,
|
|
42102
42033
|
end_date,
|
|
42034
|
+
ghost_id,
|
|
42103
42035
|
private: private_,
|
|
42104
42036
|
task_source,
|
|
42105
42037
|
unit,
|
|
42106
|
-
include_drafts
|
|
42107
|
-
include_task_estimates
|
|
42038
|
+
include_drafts
|
|
42108
42039
|
})
|
|
42109
42040
|
}).json();
|
|
42110
42041
|
}
|
|
42111
42042
|
//#endregion
|
|
42043
|
+
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
42044
|
+
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
42045
|
+
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
42046
|
+
}
|
|
42047
|
+
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
42048
|
+
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
42049
|
+
signal,
|
|
42050
|
+
json: data
|
|
42051
|
+
}).json();
|
|
42052
|
+
}
|
|
42053
|
+
//#endregion
|
|
42112
42054
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
42113
42055
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
42114
42056
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -42191,12 +42133,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
42191
42133
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
42192
42134
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
42193
42135
|
}
|
|
42194
|
-
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
42195
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
42196
|
-
signal,
|
|
42197
|
-
json: data
|
|
42198
|
-
}).json();
|
|
42199
|
-
}
|
|
42200
42136
|
//#endregion
|
|
42201
42137
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42202
42138
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -42422,7 +42358,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42422
42358
|
}
|
|
42423
42359
|
//#endregion
|
|
42424
42360
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42425
|
-
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,
|
|
42361
|
+
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) {
|
|
42426
42362
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42427
42363
|
signal,
|
|
42428
42364
|
searchParams: buildSearchParams$2({
|
|
@@ -42434,7 +42370,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42434
42370
|
include_group_totals,
|
|
42435
42371
|
include_unassigned,
|
|
42436
42372
|
archived,
|
|
42437
|
-
completed,
|
|
42438
42373
|
private: private_,
|
|
42439
42374
|
name,
|
|
42440
42375
|
client_id,
|
|
@@ -42446,7 +42381,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42446
42381
|
start_date,
|
|
42447
42382
|
end_date,
|
|
42448
42383
|
user_id,
|
|
42449
|
-
only_me,
|
|
42450
42384
|
include_drafts,
|
|
42451
42385
|
cf_filter
|
|
42452
42386
|
})
|
|
@@ -42562,14 +42496,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
42562
42496
|
}
|
|
42563
42497
|
//#endregion
|
|
42564
42498
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
42565
|
-
async function
|
|
42566
|
-
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
42567
|
-
}
|
|
42568
|
-
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
42499
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
|
|
42569
42500
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
42570
42501
|
signal,
|
|
42571
42502
|
json: data,
|
|
42572
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
42573
42503
|
searchParams: buildSearchParams$2({
|
|
42574
42504
|
response_format,
|
|
42575
42505
|
include_dicts
|
|
@@ -42593,36 +42523,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
42593
42523
|
json: data
|
|
42594
42524
|
}).json();
|
|
42595
42525
|
}
|
|
42596
|
-
async function
|
|
42597
|
-
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
42598
|
-
signal,
|
|
42599
|
-
json: data
|
|
42600
|
-
}).json();
|
|
42601
|
-
}
|
|
42602
|
-
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
42526
|
+
async function getWorkloadReport(httpClient, workspace_id, data, signal) {
|
|
42603
42527
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
42604
|
-
signal,
|
|
42605
|
-
json: data,
|
|
42606
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
42607
|
-
}).json();
|
|
42608
|
-
}
|
|
42609
|
-
//#endregion
|
|
42610
|
-
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
42611
|
-
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42612
|
-
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
42613
|
-
signal,
|
|
42614
|
-
json: data
|
|
42615
|
-
}).json();
|
|
42616
|
-
}
|
|
42617
|
-
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42618
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
42619
42528
|
signal,
|
|
42620
42529
|
json: data
|
|
42621
42530
|
}).json();
|
|
42622
42531
|
}
|
|
42623
|
-
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
42624
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
42625
|
-
}
|
|
42626
42532
|
//#endregion
|
|
42627
42533
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
42628
42534
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -42655,7 +42561,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42655
42561
|
}
|
|
42656
42562
|
//#endregion
|
|
42657
42563
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42658
|
-
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
|
|
42564
|
+
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) {
|
|
42659
42565
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42660
42566
|
signal,
|
|
42661
42567
|
searchParams: buildSearchParams$2({
|
|
@@ -42667,56 +42573,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42667
42573
|
task_id,
|
|
42668
42574
|
include_drafts,
|
|
42669
42575
|
exclude_calendar_events,
|
|
42670
|
-
group_by_tags
|
|
42671
|
-
only_me
|
|
42672
|
-
})
|
|
42673
|
-
}).json();
|
|
42674
|
-
}
|
|
42675
|
-
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
42676
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
42677
|
-
signal,
|
|
42678
|
-
searchParams: buildSearchParams$2({
|
|
42679
|
-
keyword,
|
|
42680
|
-
per_group
|
|
42576
|
+
group_by_tags
|
|
42681
42577
|
})
|
|
42682
42578
|
}).json();
|
|
42683
42579
|
}
|
|
42684
42580
|
//#endregion
|
|
42685
|
-
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
42686
|
-
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
42687
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
42688
|
-
signal,
|
|
42689
|
-
json: data
|
|
42690
|
-
}).json();
|
|
42691
|
-
}
|
|
42692
|
-
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
42693
|
-
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
42694
|
-
}
|
|
42695
|
-
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
42696
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
42697
|
-
signal,
|
|
42698
|
-
json: data
|
|
42699
|
-
}).json();
|
|
42700
|
-
}
|
|
42701
|
-
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
42702
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
42703
|
-
}
|
|
42704
|
-
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
42705
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
42706
|
-
}
|
|
42707
|
-
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42708
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42709
|
-
}
|
|
42710
|
-
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42711
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42712
|
-
signal,
|
|
42713
|
-
json: data
|
|
42714
|
-
}).json();
|
|
42715
|
-
}
|
|
42716
|
-
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42717
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42718
|
-
}
|
|
42719
|
-
//#endregion
|
|
42720
42581
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42721
42582
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
42722
42583
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -42772,77 +42633,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42772
42633
|
}
|
|
42773
42634
|
//#endregion
|
|
42774
42635
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42775
|
-
async function
|
|
42776
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42777
|
-
signal,
|
|
42778
|
-
searchParams: buildSearchParams$2({
|
|
42779
|
-
project_id,
|
|
42780
|
-
source,
|
|
42781
|
-
priority,
|
|
42782
|
-
status_id,
|
|
42783
|
-
client_id,
|
|
42784
|
-
assignee_user_id,
|
|
42785
|
-
tag_id,
|
|
42786
|
-
team_id,
|
|
42787
|
-
user_tag_id,
|
|
42788
|
-
group_id,
|
|
42789
|
-
creator_id,
|
|
42790
|
-
name,
|
|
42791
|
-
start_date,
|
|
42792
|
-
end_date,
|
|
42793
|
-
start_date_from,
|
|
42794
|
-
start_date_to,
|
|
42795
|
-
end_date_from,
|
|
42796
|
-
end_date_to,
|
|
42797
|
-
private: private_,
|
|
42798
|
-
exclude_empty,
|
|
42799
|
-
include_unassigned,
|
|
42800
|
-
include_unmaterialized,
|
|
42801
|
-
collapse_recurring,
|
|
42802
|
-
include_assignees,
|
|
42803
|
-
min_days,
|
|
42804
|
-
include_drafts,
|
|
42805
|
-
cf_filter,
|
|
42806
|
-
user_cf_filter
|
|
42807
|
-
})
|
|
42808
|
-
}).json();
|
|
42809
|
-
}
|
|
42810
|
-
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) {
|
|
42811
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42812
|
-
signal,
|
|
42813
|
-
searchParams: buildSearchParams$2({
|
|
42814
|
-
team_id,
|
|
42815
|
-
project_id,
|
|
42816
|
-
source,
|
|
42817
|
-
priority,
|
|
42818
|
-
status_id,
|
|
42819
|
-
client_id,
|
|
42820
|
-
assignee_user_id,
|
|
42821
|
-
tag_id,
|
|
42822
|
-
user_tag_id,
|
|
42823
|
-
group_id,
|
|
42824
|
-
creator_id,
|
|
42825
|
-
name,
|
|
42826
|
-
start_date,
|
|
42827
|
-
end_date,
|
|
42828
|
-
start_date_from,
|
|
42829
|
-
start_date_to,
|
|
42830
|
-
end_date_from,
|
|
42831
|
-
end_date_to,
|
|
42832
|
-
private: private_,
|
|
42833
|
-
exclude_empty,
|
|
42834
|
-
include_unassigned,
|
|
42835
|
-
include_unmaterialized,
|
|
42836
|
-
collapse_recurring,
|
|
42837
|
-
include_assignees,
|
|
42838
|
-
min_days,
|
|
42839
|
-
include_drafts,
|
|
42840
|
-
cf_filter,
|
|
42841
|
-
user_cf_filter
|
|
42842
|
-
})
|
|
42843
|
-
}).json();
|
|
42844
|
-
}
|
|
42845
|
-
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) {
|
|
42636
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
|
|
42846
42637
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42847
42638
|
signal,
|
|
42848
42639
|
searchParams: buildSearchParams$2({
|
|
@@ -42866,14 +42657,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42866
42657
|
end_date_to,
|
|
42867
42658
|
private: private_,
|
|
42868
42659
|
exclude_empty,
|
|
42869
|
-
|
|
42870
|
-
include_unmaterialized,
|
|
42871
|
-
collapse_recurring,
|
|
42660
|
+
include_ghosts,
|
|
42872
42661
|
include_assignees,
|
|
42873
42662
|
min_days,
|
|
42874
42663
|
include_drafts,
|
|
42875
42664
|
cf_filter,
|
|
42876
|
-
user_cf_filter,
|
|
42877
42665
|
page,
|
|
42878
42666
|
per_page,
|
|
42879
42667
|
order_by
|
|
@@ -43010,18 +42798,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
43010
42798
|
}).json();
|
|
43011
42799
|
}
|
|
43012
42800
|
//#endregion
|
|
43013
|
-
//#region ../focus-queries/dist/time-
|
|
43014
|
-
async function
|
|
43015
|
-
return await httpClient.
|
|
42801
|
+
//#region ../focus-queries/dist/time-log-suggestions/requests.ts
|
|
42802
|
+
async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
|
|
42803
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
|
|
43016
42804
|
signal,
|
|
43017
|
-
|
|
43018
|
-
|
|
43019
|
-
|
|
43020
|
-
|
|
43021
|
-
|
|
43022
|
-
|
|
43023
|
-
|
|
43024
|
-
})
|
|
42805
|
+
json: data
|
|
42806
|
+
}).json();
|
|
42807
|
+
}
|
|
42808
|
+
async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
|
|
42809
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
|
|
42810
|
+
signal,
|
|
42811
|
+
json: data
|
|
43025
42812
|
}).json();
|
|
43026
42813
|
}
|
|
43027
42814
|
//#endregion
|
|
@@ -43063,6 +42850,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
43063
42850
|
json: data
|
|
43064
42851
|
}).json();
|
|
43065
42852
|
}
|
|
42853
|
+
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
42854
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
42855
|
+
signal,
|
|
42856
|
+
searchParams: buildSearchParams$2({
|
|
42857
|
+
ghost_ids,
|
|
42858
|
+
start_date,
|
|
42859
|
+
end_date
|
|
42860
|
+
})
|
|
42861
|
+
}).json();
|
|
42862
|
+
}
|
|
42863
|
+
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
42864
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42865
|
+
signal,
|
|
42866
|
+
searchParams: buildSearchParams$2({
|
|
42867
|
+
from,
|
|
42868
|
+
to
|
|
42869
|
+
})
|
|
42870
|
+
}).json();
|
|
42871
|
+
}
|
|
42872
|
+
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42873
|
+
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42874
|
+
signal,
|
|
42875
|
+
json: data
|
|
42876
|
+
}).json();
|
|
42877
|
+
}
|
|
42878
|
+
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42879
|
+
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42880
|
+
signal,
|
|
42881
|
+
json: data
|
|
42882
|
+
}).json();
|
|
42883
|
+
}
|
|
42884
|
+
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42885
|
+
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42886
|
+
signal,
|
|
42887
|
+
json: data
|
|
42888
|
+
}).json();
|
|
42889
|
+
}
|
|
43066
42890
|
//#endregion
|
|
43067
42891
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43068
42892
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43255,6 +43079,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
43255
43079
|
json: data
|
|
43256
43080
|
}).json();
|
|
43257
43081
|
}
|
|
43082
|
+
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
43083
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
43084
|
+
}
|
|
43085
|
+
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43086
|
+
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43087
|
+
signal,
|
|
43088
|
+
json: data
|
|
43089
|
+
}).json();
|
|
43090
|
+
}
|
|
43091
|
+
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43092
|
+
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43093
|
+
signal,
|
|
43094
|
+
json: data
|
|
43095
|
+
}).json();
|
|
43096
|
+
}
|
|
43097
|
+
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43098
|
+
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43099
|
+
signal,
|
|
43100
|
+
json: data
|
|
43101
|
+
}).json();
|
|
43102
|
+
}
|
|
43258
43103
|
//#endregion
|
|
43259
43104
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
43260
43105
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -43271,9 +43116,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
43271
43116
|
json: data
|
|
43272
43117
|
}).json();
|
|
43273
43118
|
}
|
|
43274
|
-
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
43275
|
-
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
43276
|
-
}
|
|
43277
43119
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
43278
43120
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
43279
43121
|
}
|
|
@@ -43286,15 +43128,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
43286
43128
|
json: data
|
|
43287
43129
|
}).json();
|
|
43288
43130
|
}
|
|
43289
|
-
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
43290
|
-
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
43291
|
-
}
|
|
43292
|
-
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
43293
|
-
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
43294
|
-
signal,
|
|
43295
|
-
json: data
|
|
43296
|
-
}).json();
|
|
43297
|
-
}
|
|
43298
43131
|
//#endregion
|
|
43299
43132
|
//#region ../operations/build/index.public.js
|
|
43300
43133
|
function callGeneratedRequest(request, args) {
|
|
@@ -43430,17 +43263,17 @@ const generatedFocusOperations = [
|
|
|
43430
43263
|
]))
|
|
43431
43264
|
},
|
|
43432
43265
|
{
|
|
43433
|
-
id: "focus.audit-log.
|
|
43266
|
+
id: "focus.audit-log.list",
|
|
43434
43267
|
family: "focus",
|
|
43435
43268
|
resource: "audit-log",
|
|
43436
|
-
action: "
|
|
43437
|
-
title: "
|
|
43438
|
-
description: "
|
|
43269
|
+
action: "list",
|
|
43270
|
+
title: "List Audit Log",
|
|
43271
|
+
description: "List Audit Log.",
|
|
43439
43272
|
safety: "read",
|
|
43440
43273
|
destructive: false,
|
|
43441
43274
|
cli: {
|
|
43442
43275
|
group: ["audit-log"],
|
|
43443
|
-
command: "
|
|
43276
|
+
command: "list",
|
|
43444
43277
|
interactive: "hidden"
|
|
43445
43278
|
},
|
|
43446
43279
|
mcp: { entityTool: "audit-log" },
|
|
@@ -43454,14 +43287,14 @@ const generatedFocusOperations = [
|
|
|
43454
43287
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43455
43288
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43456
43289
|
to: /* @__PURE__ */ string$1(),
|
|
43457
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43458
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43290
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43459
43291
|
}),
|
|
43460
43292
|
execute: (input, { client }) => {
|
|
43461
43293
|
const data = input;
|
|
43462
|
-
return client.runGeneratedRequest("
|
|
43294
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
43463
43295
|
client.httpClient,
|
|
43464
43296
|
client.organizationId,
|
|
43297
|
+
client.workspaceIdNumber,
|
|
43465
43298
|
data.from,
|
|
43466
43299
|
data.to,
|
|
43467
43300
|
data,
|
|
@@ -43470,79 +43303,87 @@ const generatedFocusOperations = [
|
|
|
43470
43303
|
}
|
|
43471
43304
|
},
|
|
43472
43305
|
{
|
|
43473
|
-
id: "focus.
|
|
43306
|
+
id: "focus.capacities.get-computations",
|
|
43474
43307
|
family: "focus",
|
|
43475
|
-
resource: "
|
|
43476
|
-
action: "
|
|
43477
|
-
title: "
|
|
43478
|
-
description: "
|
|
43308
|
+
resource: "capacities",
|
|
43309
|
+
action: "get-computations",
|
|
43310
|
+
title: "Get Computations Capacities",
|
|
43311
|
+
description: "Get Computations Capacities.",
|
|
43479
43312
|
safety: "read",
|
|
43480
43313
|
destructive: false,
|
|
43481
43314
|
cli: {
|
|
43482
|
-
group: ["
|
|
43483
|
-
command: "
|
|
43315
|
+
group: ["capacities"],
|
|
43316
|
+
command: "get-computations",
|
|
43484
43317
|
interactive: "hidden"
|
|
43485
43318
|
},
|
|
43486
|
-
mcp: { entityTool: "
|
|
43319
|
+
mcp: { entityTool: "capacities" },
|
|
43487
43320
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43488
|
-
|
|
43489
|
-
|
|
43490
|
-
|
|
43491
|
-
|
|
43492
|
-
|
|
43493
|
-
|
|
43494
|
-
|
|
43495
|
-
|
|
43496
|
-
|
|
43497
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43321
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43322
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
43323
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
43324
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
43325
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
43326
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43327
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
43328
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
43329
|
+
user_id: /* @__PURE__ */ number$2()
|
|
43498
43330
|
}),
|
|
43499
43331
|
execute: (input, { client }) => {
|
|
43500
43332
|
const data = input;
|
|
43501
|
-
return client.runGeneratedRequest("
|
|
43333
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
43502
43334
|
client.httpClient,
|
|
43503
43335
|
client.organizationId,
|
|
43504
43336
|
client.workspaceIdNumber,
|
|
43505
|
-
data.
|
|
43506
|
-
data.to,
|
|
43337
|
+
data.group,
|
|
43507
43338
|
data,
|
|
43508
43339
|
void 0
|
|
43509
43340
|
]));
|
|
43510
43341
|
}
|
|
43511
43342
|
},
|
|
43512
43343
|
{
|
|
43513
|
-
id: "focus.capacities.
|
|
43344
|
+
id: "focus.capacities.settings-list",
|
|
43514
43345
|
family: "focus",
|
|
43515
43346
|
resource: "capacities",
|
|
43516
|
-
action: "
|
|
43517
|
-
title: "
|
|
43518
|
-
description: "
|
|
43347
|
+
action: "settings-list",
|
|
43348
|
+
title: "Settings List Capacities",
|
|
43349
|
+
description: "Settings List Capacities.",
|
|
43519
43350
|
safety: "read",
|
|
43520
43351
|
destructive: false,
|
|
43521
43352
|
cli: {
|
|
43522
|
-
group: ["capacities"],
|
|
43523
|
-
command: "
|
|
43353
|
+
group: ["capacities", "settings"],
|
|
43354
|
+
command: "list",
|
|
43524
43355
|
interactive: "hidden"
|
|
43525
43356
|
},
|
|
43526
43357
|
mcp: { entityTool: "capacities" },
|
|
43527
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43528
|
-
|
|
43529
|
-
|
|
43530
|
-
|
|
43531
|
-
|
|
43532
|
-
|
|
43533
|
-
|
|
43534
|
-
|
|
43535
|
-
|
|
43536
|
-
|
|
43537
|
-
|
|
43358
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
43359
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
43360
|
+
client.httpClient,
|
|
43361
|
+
client.workspaceIdNumber,
|
|
43362
|
+
void 0
|
|
43363
|
+
]))
|
|
43364
|
+
},
|
|
43365
|
+
{
|
|
43366
|
+
id: "focus.capacities.settings-update",
|
|
43367
|
+
family: "focus",
|
|
43368
|
+
resource: "capacities",
|
|
43369
|
+
action: "settings-update",
|
|
43370
|
+
title: "Settings Update Capacities",
|
|
43371
|
+
description: "Settings Update Capacities.",
|
|
43372
|
+
safety: "update",
|
|
43373
|
+
destructive: false,
|
|
43374
|
+
cli: {
|
|
43375
|
+
group: ["capacities", "settings"],
|
|
43376
|
+
command: "update",
|
|
43377
|
+
interactive: "default"
|
|
43378
|
+
},
|
|
43379
|
+
mcp: { entityTool: "capacities" },
|
|
43380
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
43538
43381
|
execute: (input, { client }) => {
|
|
43539
43382
|
const data = input;
|
|
43540
|
-
return client.runGeneratedRequest("
|
|
43383
|
+
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
43541
43384
|
client.httpClient,
|
|
43542
|
-
client.organizationId,
|
|
43543
43385
|
client.workspaceIdNumber,
|
|
43544
|
-
data.
|
|
43545
|
-
data,
|
|
43386
|
+
data.payload ?? data.data ?? data,
|
|
43546
43387
|
void 0
|
|
43547
43388
|
]));
|
|
43548
43389
|
}
|
|
@@ -43741,7 +43582,8 @@ const generatedFocusOperations = [
|
|
|
43741
43582
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
43742
43583
|
start_at: apiDateTimeString,
|
|
43743
43584
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43744
|
-
})))
|
|
43585
|
+
}))),
|
|
43586
|
+
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
43745
43587
|
}) }),
|
|
43746
43588
|
execute: (input, { client }) => {
|
|
43747
43589
|
const data = input;
|
|
@@ -43796,7 +43638,6 @@ const generatedFocusOperations = [
|
|
|
43796
43638
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43797
43639
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43798
43640
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43799
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43800
43641
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43801
43642
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43802
43643
|
}),
|
|
@@ -43829,7 +43670,6 @@ const generatedFocusOperations = [
|
|
|
43829
43670
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43830
43671
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43831
43672
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43832
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43833
43673
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43834
43674
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43835
43675
|
}))),
|
|
@@ -43885,11 +43725,7 @@ const generatedFocusOperations = [
|
|
|
43885
43725
|
},
|
|
43886
43726
|
mcp: { entityTool: "custom-fields" },
|
|
43887
43727
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
43888
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
43889
|
-
"project",
|
|
43890
|
-
"task",
|
|
43891
|
-
"user"
|
|
43892
|
-
]),
|
|
43728
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
43893
43729
|
field_type: /* @__PURE__ */ picklist$1([
|
|
43894
43730
|
"select",
|
|
43895
43731
|
"multi_select",
|
|
@@ -44222,11 +44058,7 @@ const generatedFocusOperations = [
|
|
|
44222
44058
|
},
|
|
44223
44059
|
mcp: { entityTool: "custom-fields" },
|
|
44224
44060
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44225
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44226
|
-
"project",
|
|
44227
|
-
"task",
|
|
44228
|
-
"user"
|
|
44229
|
-
]),
|
|
44061
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
44230
44062
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
44231
44063
|
}) }),
|
|
44232
44064
|
execute: (input, { client }) => {
|
|
@@ -44240,37 +44072,6 @@ const generatedFocusOperations = [
|
|
|
44240
44072
|
]));
|
|
44241
44073
|
}
|
|
44242
44074
|
},
|
|
44243
|
-
{
|
|
44244
|
-
id: "focus.custom-fields.update-user-custom-field-values",
|
|
44245
|
-
family: "focus",
|
|
44246
|
-
resource: "custom-fields",
|
|
44247
|
-
action: "update-user-custom-field-values",
|
|
44248
|
-
title: "Update User Custom Field Values Custom Fields",
|
|
44249
|
-
description: "Update User Custom Field Values Custom Fields.",
|
|
44250
|
-
safety: "update",
|
|
44251
|
-
destructive: false,
|
|
44252
|
-
cli: {
|
|
44253
|
-
group: ["custom-fields"],
|
|
44254
|
-
command: "update-user-custom-field-values",
|
|
44255
|
-
interactive: "hidden"
|
|
44256
|
-
},
|
|
44257
|
-
mcp: { entityTool: "custom-fields" },
|
|
44258
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44259
|
-
payload: /* @__PURE__ */ unknown$1(),
|
|
44260
|
-
user_id: /* @__PURE__ */ number$2()
|
|
44261
|
-
}),
|
|
44262
|
-
execute: (input, { client }) => {
|
|
44263
|
-
const data = input;
|
|
44264
|
-
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
44265
|
-
client.httpClient,
|
|
44266
|
-
client.organizationId,
|
|
44267
|
-
client.workspaceIdNumber,
|
|
44268
|
-
data.user_id,
|
|
44269
|
-
data.payload ?? data.data ?? data,
|
|
44270
|
-
void 0
|
|
44271
|
-
]));
|
|
44272
|
-
}
|
|
44273
|
-
},
|
|
44274
44075
|
{
|
|
44275
44076
|
id: "focus.goals.create",
|
|
44276
44077
|
family: "focus",
|
|
@@ -44490,22 +44291,10 @@ const generatedFocusOperations = [
|
|
|
44490
44291
|
goal_id: /* @__PURE__ */ number$2(),
|
|
44491
44292
|
payload: /* @__PURE__ */ looseObject({
|
|
44492
44293
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44493
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44494
44294
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44495
44295
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44496
44296
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44497
|
-
|
|
44498
|
-
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
44499
|
-
"daily",
|
|
44500
|
-
"weekly",
|
|
44501
|
-
"daily_workdays",
|
|
44502
|
-
"monthly"
|
|
44503
|
-
])),
|
|
44504
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44505
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44506
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44507
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44508
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44297
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
44509
44298
|
})
|
|
44510
44299
|
}),
|
|
44511
44300
|
execute: (input, { client }) => {
|
|
@@ -45838,7 +45627,6 @@ const generatedFocusOperations = [
|
|
|
45838
45627
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45839
45628
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45840
45629
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45841
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45842
45630
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45843
45631
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45844
45632
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -45846,7 +45634,6 @@ const generatedFocusOperations = [
|
|
|
45846
45634
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45847
45635
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45848
45636
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45849
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45850
45637
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45851
45638
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45852
45639
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -48031,10 +47818,7 @@ const generatedFocusOperations = [
|
|
|
48031
47818
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48032
47819
|
name: /* @__PURE__ */ string$1(),
|
|
48033
47820
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48034
|
-
}))
|
|
48035
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48036
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48037
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47821
|
+
}))
|
|
48038
47822
|
}),
|
|
48039
47823
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48040
47824
|
}),
|
|
@@ -48075,28 +47859,6 @@ const generatedFocusOperations = [
|
|
|
48075
47859
|
]));
|
|
48076
47860
|
}
|
|
48077
47861
|
},
|
|
48078
|
-
{
|
|
48079
|
-
id: "focus.reports.get-forecast-availability",
|
|
48080
|
-
family: "focus",
|
|
48081
|
-
resource: "reports",
|
|
48082
|
-
action: "get-forecast-availability",
|
|
48083
|
-
title: "Get Forecast Availability Reports",
|
|
48084
|
-
description: "Get Forecast Availability Reports.",
|
|
48085
|
-
safety: "read",
|
|
48086
|
-
destructive: false,
|
|
48087
|
-
cli: {
|
|
48088
|
-
group: ["reports"],
|
|
48089
|
-
command: "get-forecast-availability",
|
|
48090
|
-
interactive: "hidden"
|
|
48091
|
-
},
|
|
48092
|
-
mcp: { entityTool: "reports" },
|
|
48093
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48094
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
48095
|
-
client.httpClient,
|
|
48096
|
-
client.workspaceIdNumber,
|
|
48097
|
-
void 0
|
|
48098
|
-
]))
|
|
48099
|
-
},
|
|
48100
47862
|
{
|
|
48101
47863
|
id: "focus.reports.get-profitability",
|
|
48102
47864
|
family: "focus",
|
|
@@ -48156,17 +47918,9 @@ const generatedFocusOperations = [
|
|
|
48156
47918
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48157
47919
|
name: /* @__PURE__ */ string$1(),
|
|
48158
47920
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48159
|
-
}))
|
|
48160
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48161
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48162
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47921
|
+
}))
|
|
48163
47922
|
}),
|
|
48164
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48165
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48166
|
-
"csv",
|
|
48167
|
-
"xlsx",
|
|
48168
|
-
"pdf"
|
|
48169
|
-
]))
|
|
47923
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48170
47924
|
}),
|
|
48171
47925
|
execute: (input, { client }) => {
|
|
48172
47926
|
const data = input;
|
|
@@ -48176,23 +47930,22 @@ const generatedFocusOperations = [
|
|
|
48176
47930
|
data.payload ?? data.data ?? data,
|
|
48177
47931
|
data.response_format,
|
|
48178
47932
|
data.include_dicts,
|
|
48179
|
-
data.xTogglReportExport,
|
|
48180
47933
|
void 0
|
|
48181
47934
|
]));
|
|
48182
47935
|
}
|
|
48183
47936
|
},
|
|
48184
47937
|
{
|
|
48185
|
-
id: "focus.reports.get-
|
|
47938
|
+
id: "focus.reports.get-workload",
|
|
48186
47939
|
family: "focus",
|
|
48187
47940
|
resource: "reports",
|
|
48188
|
-
action: "get-
|
|
48189
|
-
title: "Get
|
|
48190
|
-
description: "Get
|
|
47941
|
+
action: "get-workload",
|
|
47942
|
+
title: "Get Workload Reports",
|
|
47943
|
+
description: "Get Workload Reports.",
|
|
48191
47944
|
safety: "update",
|
|
48192
47945
|
destructive: false,
|
|
48193
47946
|
cli: {
|
|
48194
47947
|
group: ["reports"],
|
|
48195
|
-
command: "get-
|
|
47948
|
+
command: "get-workload",
|
|
48196
47949
|
interactive: "hidden"
|
|
48197
47950
|
},
|
|
48198
47951
|
mcp: { entityTool: "reports" },
|
|
@@ -48238,205 +47991,14 @@ const generatedFocusOperations = [
|
|
|
48238
47991
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48239
47992
|
name: /* @__PURE__ */ string$1(),
|
|
48240
47993
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48241
|
-
}))
|
|
48242
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48243
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48244
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47994
|
+
}))
|
|
48245
47995
|
}) }),
|
|
48246
|
-
execute: (input, { client }) => {
|
|
48247
|
-
const data = input;
|
|
48248
|
-
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
48249
|
-
client.httpClient,
|
|
48250
|
-
client.workspaceIdNumber,
|
|
48251
|
-
data.payload ?? data.data ?? data,
|
|
48252
|
-
void 0
|
|
48253
|
-
]));
|
|
48254
|
-
}
|
|
48255
|
-
},
|
|
48256
|
-
{
|
|
48257
|
-
id: "focus.reports.get-workload",
|
|
48258
|
-
family: "focus",
|
|
48259
|
-
resource: "reports",
|
|
48260
|
-
action: "get-workload",
|
|
48261
|
-
title: "Get Workload Reports",
|
|
48262
|
-
description: "Get Workload Reports.",
|
|
48263
|
-
safety: "update",
|
|
48264
|
-
destructive: false,
|
|
48265
|
-
cli: {
|
|
48266
|
-
group: ["reports"],
|
|
48267
|
-
command: "get-workload",
|
|
48268
|
-
interactive: "hidden"
|
|
48269
|
-
},
|
|
48270
|
-
mcp: { entityTool: "reports" },
|
|
48271
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48272
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48273
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48274
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
48275
|
-
function: /* @__PURE__ */ string$1(),
|
|
48276
|
-
property: /* @__PURE__ */ string$1()
|
|
48277
|
-
}),
|
|
48278
|
-
operator: /* @__PURE__ */ string$1(),
|
|
48279
|
-
property: /* @__PURE__ */ string$1()
|
|
48280
|
-
})),
|
|
48281
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48282
|
-
function: /* @__PURE__ */ string$1(),
|
|
48283
|
-
property: /* @__PURE__ */ string$1()
|
|
48284
|
-
})),
|
|
48285
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
48286
|
-
currency: /* @__PURE__ */ string$1(),
|
|
48287
|
-
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48288
|
-
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
48289
|
-
operator: /* @__PURE__ */ string$1(),
|
|
48290
|
-
property: /* @__PURE__ */ string$1()
|
|
48291
|
-
})),
|
|
48292
|
-
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48293
|
-
property: /* @__PURE__ */ string$1(),
|
|
48294
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
48295
|
-
})),
|
|
48296
|
-
limit: /* @__PURE__ */ number$2(),
|
|
48297
|
-
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48298
|
-
direction: /* @__PURE__ */ string$1(),
|
|
48299
|
-
nulls: /* @__PURE__ */ string$1(),
|
|
48300
|
-
property: /* @__PURE__ */ string$1()
|
|
48301
|
-
})),
|
|
48302
|
-
pagination: /* @__PURE__ */ looseObject({
|
|
48303
|
-
page: /* @__PURE__ */ number$2(),
|
|
48304
|
-
per_page: /* @__PURE__ */ number$2()
|
|
48305
|
-
}),
|
|
48306
|
-
period: /* @__PURE__ */ looseObject({
|
|
48307
|
-
from: /* @__PURE__ */ string$1(),
|
|
48308
|
-
preset: /* @__PURE__ */ string$1(),
|
|
48309
|
-
to: /* @__PURE__ */ string$1()
|
|
48310
|
-
}),
|
|
48311
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48312
|
-
name: /* @__PURE__ */ string$1(),
|
|
48313
|
-
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48314
|
-
})),
|
|
48315
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48316
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48317
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48318
|
-
}),
|
|
48319
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48320
|
-
"csv",
|
|
48321
|
-
"xlsx",
|
|
48322
|
-
"pdf"
|
|
48323
|
-
]))
|
|
48324
|
-
}),
|
|
48325
47996
|
execute: (input, { client }) => {
|
|
48326
47997
|
const data = input;
|
|
48327
47998
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
48328
47999
|
client.httpClient,
|
|
48329
48000
|
client.workspaceIdNumber,
|
|
48330
48001
|
data.payload ?? data.data ?? data,
|
|
48331
|
-
data.xTogglReportExport,
|
|
48332
|
-
void 0
|
|
48333
|
-
]));
|
|
48334
|
-
}
|
|
48335
|
-
},
|
|
48336
|
-
{
|
|
48337
|
-
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
48338
|
-
family: "focus",
|
|
48339
|
-
resource: "reportschedules",
|
|
48340
|
-
action: "delete-shared-report-schedule",
|
|
48341
|
-
title: "Delete Shared Report Schedule Reportschedules",
|
|
48342
|
-
description: "Delete Shared Report Schedule Reportschedules.",
|
|
48343
|
-
safety: "delete",
|
|
48344
|
-
destructive: true,
|
|
48345
|
-
cli: {
|
|
48346
|
-
group: ["reportschedules"],
|
|
48347
|
-
command: "delete-shared-report-schedule",
|
|
48348
|
-
interactive: "default"
|
|
48349
|
-
},
|
|
48350
|
-
mcp: { entityTool: "reportschedules" },
|
|
48351
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48352
|
-
execute: (input, { client }) => {
|
|
48353
|
-
const data = input;
|
|
48354
|
-
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
48355
|
-
client.httpClient,
|
|
48356
|
-
client.workspaceIdNumber,
|
|
48357
|
-
data.id,
|
|
48358
|
-
void 0
|
|
48359
|
-
]));
|
|
48360
|
-
}
|
|
48361
|
-
},
|
|
48362
|
-
{
|
|
48363
|
-
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
48364
|
-
family: "focus",
|
|
48365
|
-
resource: "reportschedules",
|
|
48366
|
-
action: "upsert-saved-view-schedule",
|
|
48367
|
-
title: "Upsert Saved View Schedule Reportschedules",
|
|
48368
|
-
description: "Upsert Saved View Schedule Reportschedules.",
|
|
48369
|
-
safety: "update",
|
|
48370
|
-
destructive: false,
|
|
48371
|
-
cli: {
|
|
48372
|
-
group: ["reportschedules"],
|
|
48373
|
-
command: "upsert-saved-view-schedule",
|
|
48374
|
-
interactive: "default"
|
|
48375
|
-
},
|
|
48376
|
-
mcp: { entityTool: "reportschedules" },
|
|
48377
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48378
|
-
id: /* @__PURE__ */ number$2(),
|
|
48379
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48380
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
48381
|
-
"daily",
|
|
48382
|
-
"weekly",
|
|
48383
|
-
"monthly"
|
|
48384
|
-
]),
|
|
48385
|
-
time: /* @__PURE__ */ string$1(),
|
|
48386
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48387
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48388
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48389
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48390
|
-
})
|
|
48391
|
-
}),
|
|
48392
|
-
execute: (input, { client }) => {
|
|
48393
|
-
const data = input;
|
|
48394
|
-
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
48395
|
-
client.httpClient,
|
|
48396
|
-
client.workspaceIdNumber,
|
|
48397
|
-
data.id,
|
|
48398
|
-
data.payload ?? data.data ?? data,
|
|
48399
|
-
void 0
|
|
48400
|
-
]));
|
|
48401
|
-
}
|
|
48402
|
-
},
|
|
48403
|
-
{
|
|
48404
|
-
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
48405
|
-
family: "focus",
|
|
48406
|
-
resource: "reportschedules",
|
|
48407
|
-
action: "upsert-shared-report-schedule",
|
|
48408
|
-
title: "Upsert Shared Report Schedule Reportschedules",
|
|
48409
|
-
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
48410
|
-
safety: "update",
|
|
48411
|
-
destructive: false,
|
|
48412
|
-
cli: {
|
|
48413
|
-
group: ["reportschedules"],
|
|
48414
|
-
command: "upsert-shared-report-schedule",
|
|
48415
|
-
interactive: "default"
|
|
48416
|
-
},
|
|
48417
|
-
mcp: { entityTool: "reportschedules" },
|
|
48418
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48419
|
-
id: /* @__PURE__ */ number$2(),
|
|
48420
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48421
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
48422
|
-
"daily",
|
|
48423
|
-
"weekly",
|
|
48424
|
-
"monthly"
|
|
48425
|
-
]),
|
|
48426
|
-
time: /* @__PURE__ */ string$1(),
|
|
48427
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48428
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48429
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48430
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48431
|
-
})
|
|
48432
|
-
}),
|
|
48433
|
-
execute: (input, { client }) => {
|
|
48434
|
-
const data = input;
|
|
48435
|
-
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
48436
|
-
client.httpClient,
|
|
48437
|
-
client.workspaceIdNumber,
|
|
48438
|
-
data.id,
|
|
48439
|
-
data.payload ?? data.data ?? data,
|
|
48440
48002
|
void 0
|
|
48441
48003
|
]));
|
|
48442
48004
|
}
|
|
@@ -48474,9 +48036,7 @@ const generatedFocusOperations = [
|
|
|
48474
48036
|
"reports.detailed",
|
|
48475
48037
|
"reports.utilization",
|
|
48476
48038
|
"reports.workload",
|
|
48477
|
-
"reports.profitability"
|
|
48478
|
-
"reports.time-off",
|
|
48479
|
-
"reports.time-accounting"
|
|
48039
|
+
"reports.profitability"
|
|
48480
48040
|
]),
|
|
48481
48041
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48482
48042
|
}) }),
|
|
@@ -48600,37 +48160,7 @@ const generatedFocusOperations = [
|
|
|
48600
48160
|
}
|
|
48601
48161
|
},
|
|
48602
48162
|
{
|
|
48603
|
-
id: "focus.search.
|
|
48604
|
-
family: "focus",
|
|
48605
|
-
resource: "search",
|
|
48606
|
-
action: "mentions",
|
|
48607
|
-
title: "Mentions Search",
|
|
48608
|
-
description: "Mentions Search.",
|
|
48609
|
-
safety: "read",
|
|
48610
|
-
destructive: false,
|
|
48611
|
-
cli: {
|
|
48612
|
-
group: ["search"],
|
|
48613
|
-
command: "mentions",
|
|
48614
|
-
interactive: "hidden"
|
|
48615
|
-
},
|
|
48616
|
-
mcp: { entityTool: "search" },
|
|
48617
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48618
|
-
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48619
|
-
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48620
|
-
}),
|
|
48621
|
-
execute: (input, { client }) => {
|
|
48622
|
-
const data = input;
|
|
48623
|
-
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
48624
|
-
client.httpClient,
|
|
48625
|
-
client.organizationId,
|
|
48626
|
-
client.workspaceIdNumber,
|
|
48627
|
-
data,
|
|
48628
|
-
void 0
|
|
48629
|
-
]));
|
|
48630
|
-
}
|
|
48631
|
-
},
|
|
48632
|
-
{
|
|
48633
|
-
id: "focus.search.search",
|
|
48163
|
+
id: "focus.search.search",
|
|
48634
48164
|
family: "focus",
|
|
48635
48165
|
resource: "search",
|
|
48636
48166
|
action: "search",
|
|
@@ -48656,240 +48186,6 @@ const generatedFocusOperations = [
|
|
|
48656
48186
|
]));
|
|
48657
48187
|
}
|
|
48658
48188
|
},
|
|
48659
|
-
{
|
|
48660
|
-
id: "focus.sharedreports.add-shared-report-grants",
|
|
48661
|
-
family: "focus",
|
|
48662
|
-
resource: "sharedreports",
|
|
48663
|
-
action: "add-shared-report-grants",
|
|
48664
|
-
title: "Add Shared Report Grants Sharedreports",
|
|
48665
|
-
description: "Add Shared Report Grants Sharedreports.",
|
|
48666
|
-
safety: "update",
|
|
48667
|
-
destructive: false,
|
|
48668
|
-
cli: {
|
|
48669
|
-
group: ["sharedreports"],
|
|
48670
|
-
command: "add-shared-report-grants",
|
|
48671
|
-
interactive: "default"
|
|
48672
|
-
},
|
|
48673
|
-
mcp: { entityTool: "sharedreports" },
|
|
48674
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48675
|
-
id: /* @__PURE__ */ number$2(),
|
|
48676
|
-
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48677
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48678
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48679
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48680
|
-
})) })
|
|
48681
|
-
}),
|
|
48682
|
-
execute: (input, { client }) => {
|
|
48683
|
-
const data = input;
|
|
48684
|
-
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
48685
|
-
client.httpClient,
|
|
48686
|
-
client.workspaceIdNumber,
|
|
48687
|
-
data.id,
|
|
48688
|
-
data.payload ?? data.data ?? data,
|
|
48689
|
-
void 0
|
|
48690
|
-
]));
|
|
48691
|
-
}
|
|
48692
|
-
},
|
|
48693
|
-
{
|
|
48694
|
-
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
48695
|
-
family: "focus",
|
|
48696
|
-
resource: "sharedreports",
|
|
48697
|
-
action: "get-saved-view-shared-report",
|
|
48698
|
-
title: "Get Saved View Shared Report Sharedreports",
|
|
48699
|
-
description: "Get Saved View Shared Report Sharedreports.",
|
|
48700
|
-
safety: "read",
|
|
48701
|
-
destructive: false,
|
|
48702
|
-
cli: {
|
|
48703
|
-
group: ["sharedreports"],
|
|
48704
|
-
command: "get-saved-view-shared-report",
|
|
48705
|
-
interactive: "available"
|
|
48706
|
-
},
|
|
48707
|
-
mcp: { entityTool: "sharedreports" },
|
|
48708
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48709
|
-
execute: (input, { client }) => {
|
|
48710
|
-
const data = input;
|
|
48711
|
-
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
48712
|
-
client.httpClient,
|
|
48713
|
-
client.workspaceIdNumber,
|
|
48714
|
-
data.id,
|
|
48715
|
-
void 0
|
|
48716
|
-
]));
|
|
48717
|
-
}
|
|
48718
|
-
},
|
|
48719
|
-
{
|
|
48720
|
-
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48721
|
-
family: "focus",
|
|
48722
|
-
resource: "sharedreports",
|
|
48723
|
-
action: "get-shared-report-for-viewer",
|
|
48724
|
-
title: "Get Shared Report For Viewer Sharedreports",
|
|
48725
|
-
description: "Get Shared Report For Viewer Sharedreports.",
|
|
48726
|
-
safety: "read",
|
|
48727
|
-
destructive: false,
|
|
48728
|
-
cli: {
|
|
48729
|
-
group: ["sharedreports"],
|
|
48730
|
-
command: "get-shared-report-for-viewer",
|
|
48731
|
-
interactive: "available"
|
|
48732
|
-
},
|
|
48733
|
-
mcp: { entityTool: "sharedreports" },
|
|
48734
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48735
|
-
execute: (input, { client }) => {
|
|
48736
|
-
const data = input;
|
|
48737
|
-
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
48738
|
-
client.httpClient,
|
|
48739
|
-
client.workspaceIdNumber,
|
|
48740
|
-
data.id,
|
|
48741
|
-
void 0
|
|
48742
|
-
]));
|
|
48743
|
-
}
|
|
48744
|
-
},
|
|
48745
|
-
{
|
|
48746
|
-
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
48747
|
-
family: "focus",
|
|
48748
|
-
resource: "sharedreports",
|
|
48749
|
-
action: "get-shared-reports-shared-by-me",
|
|
48750
|
-
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
48751
|
-
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
48752
|
-
safety: "read",
|
|
48753
|
-
destructive: false,
|
|
48754
|
-
cli: {
|
|
48755
|
-
group: ["sharedreports"],
|
|
48756
|
-
command: "get-shared-reports-shared-by-me",
|
|
48757
|
-
interactive: "hidden"
|
|
48758
|
-
},
|
|
48759
|
-
mcp: { entityTool: "sharedreports" },
|
|
48760
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48761
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
48762
|
-
client.httpClient,
|
|
48763
|
-
client.workspaceIdNumber,
|
|
48764
|
-
void 0
|
|
48765
|
-
]))
|
|
48766
|
-
},
|
|
48767
|
-
{
|
|
48768
|
-
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
48769
|
-
family: "focus",
|
|
48770
|
-
resource: "sharedreports",
|
|
48771
|
-
action: "get-shared-reports-shared-with-me",
|
|
48772
|
-
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
48773
|
-
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
48774
|
-
safety: "read",
|
|
48775
|
-
destructive: false,
|
|
48776
|
-
cli: {
|
|
48777
|
-
group: ["sharedreports"],
|
|
48778
|
-
command: "get-shared-reports-shared-with-me",
|
|
48779
|
-
interactive: "hidden"
|
|
48780
|
-
},
|
|
48781
|
-
mcp: { entityTool: "sharedreports" },
|
|
48782
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48783
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
48784
|
-
client.httpClient,
|
|
48785
|
-
client.workspaceIdNumber,
|
|
48786
|
-
void 0
|
|
48787
|
-
]))
|
|
48788
|
-
},
|
|
48789
|
-
{
|
|
48790
|
-
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48791
|
-
family: "focus",
|
|
48792
|
-
resource: "sharedreports",
|
|
48793
|
-
action: "revoke-shared-report-grant",
|
|
48794
|
-
title: "Revoke Shared Report Grant Sharedreports",
|
|
48795
|
-
description: "Revoke Shared Report Grant Sharedreports.",
|
|
48796
|
-
safety: "delete",
|
|
48797
|
-
destructive: true,
|
|
48798
|
-
cli: {
|
|
48799
|
-
group: ["sharedreports"],
|
|
48800
|
-
command: "revoke-shared-report-grant",
|
|
48801
|
-
interactive: "default"
|
|
48802
|
-
},
|
|
48803
|
-
mcp: { entityTool: "sharedreports" },
|
|
48804
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48805
|
-
grant_id: /* @__PURE__ */ number$2(),
|
|
48806
|
-
id: /* @__PURE__ */ number$2()
|
|
48807
|
-
}),
|
|
48808
|
-
execute: (input, { client }) => {
|
|
48809
|
-
const data = input;
|
|
48810
|
-
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
48811
|
-
client.httpClient,
|
|
48812
|
-
client.workspaceIdNumber,
|
|
48813
|
-
data.id,
|
|
48814
|
-
data.grant_id,
|
|
48815
|
-
void 0
|
|
48816
|
-
]));
|
|
48817
|
-
}
|
|
48818
|
-
},
|
|
48819
|
-
{
|
|
48820
|
-
id: "focus.sharedreports.share-saved-view",
|
|
48821
|
-
family: "focus",
|
|
48822
|
-
resource: "sharedreports",
|
|
48823
|
-
action: "share-saved-view",
|
|
48824
|
-
title: "Share Saved View Sharedreports",
|
|
48825
|
-
description: "Share Saved View Sharedreports.",
|
|
48826
|
-
safety: "update",
|
|
48827
|
-
destructive: false,
|
|
48828
|
-
cli: {
|
|
48829
|
-
group: ["sharedreports"],
|
|
48830
|
-
command: "share-saved-view",
|
|
48831
|
-
interactive: "hidden"
|
|
48832
|
-
},
|
|
48833
|
-
mcp: { entityTool: "sharedreports" },
|
|
48834
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48835
|
-
id: /* @__PURE__ */ number$2(),
|
|
48836
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48837
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48838
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48839
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48840
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48841
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48842
|
-
})
|
|
48843
|
-
}),
|
|
48844
|
-
execute: (input, { client }) => {
|
|
48845
|
-
const data = input;
|
|
48846
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
48847
|
-
client.httpClient,
|
|
48848
|
-
client.workspaceIdNumber,
|
|
48849
|
-
data.id,
|
|
48850
|
-
data.payload ?? data.data ?? data,
|
|
48851
|
-
void 0
|
|
48852
|
-
]));
|
|
48853
|
-
}
|
|
48854
|
-
},
|
|
48855
|
-
{
|
|
48856
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
48857
|
-
family: "focus",
|
|
48858
|
-
resource: "sharedreports",
|
|
48859
|
-
action: "share-saved-view-many",
|
|
48860
|
-
title: "Share Saved View Many Sharedreports",
|
|
48861
|
-
description: "Share Saved View Many Sharedreports.",
|
|
48862
|
-
safety: "update",
|
|
48863
|
-
destructive: false,
|
|
48864
|
-
cli: {
|
|
48865
|
-
group: ["sharedreports"],
|
|
48866
|
-
command: "share-saved-view-many",
|
|
48867
|
-
interactive: "hidden"
|
|
48868
|
-
},
|
|
48869
|
-
mcp: { entityTool: "sharedreports" },
|
|
48870
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48871
|
-
id: /* @__PURE__ */ number$2(),
|
|
48872
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48873
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48874
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48875
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48876
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48877
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48878
|
-
})),
|
|
48879
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48880
|
-
})
|
|
48881
|
-
}),
|
|
48882
|
-
execute: (input, { client }) => {
|
|
48883
|
-
const data = input;
|
|
48884
|
-
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
48885
|
-
client.httpClient,
|
|
48886
|
-
client.workspaceIdNumber,
|
|
48887
|
-
data.id,
|
|
48888
|
-
data.payload ?? data.data ?? data,
|
|
48889
|
-
void 0
|
|
48890
|
-
]));
|
|
48891
|
-
}
|
|
48892
|
-
},
|
|
48893
48189
|
{
|
|
48894
48190
|
id: "focus.statuses.create-status",
|
|
48895
48191
|
family: "focus",
|
|
@@ -49146,181 +48442,22 @@ const generatedFocusOperations = [
|
|
|
49146
48442
|
family: "focus",
|
|
49147
48443
|
resource: "subscriptions",
|
|
49148
48444
|
action: "upsert-forced-trial",
|
|
49149
|
-
title: "Upsert Forced Trial Subscriptions",
|
|
49150
|
-
description: "Upsert Forced Trial Subscriptions.",
|
|
49151
|
-
safety: "update",
|
|
49152
|
-
destructive: false,
|
|
49153
|
-
cli: {
|
|
49154
|
-
group: ["subscriptions"],
|
|
49155
|
-
command: "upsert-forced-trial",
|
|
49156
|
-
interactive: "default"
|
|
49157
|
-
},
|
|
49158
|
-
mcp: { entityTool: "subscriptions" },
|
|
49159
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49160
|
-
execute: (input, { client }) => {
|
|
49161
|
-
const data = input;
|
|
49162
|
-
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
49163
|
-
client.httpClient,
|
|
49164
|
-
client.organizationId,
|
|
49165
|
-
client.workspaceIdNumber,
|
|
49166
|
-
data.payload ?? data.data ?? data,
|
|
49167
|
-
void 0
|
|
49168
|
-
]));
|
|
49169
|
-
}
|
|
49170
|
-
},
|
|
49171
|
-
{
|
|
49172
|
-
id: "focus.tags.archive",
|
|
49173
|
-
family: "focus",
|
|
49174
|
-
resource: "tags",
|
|
49175
|
-
action: "archive",
|
|
49176
|
-
title: "Archive Tags",
|
|
49177
|
-
description: "Archive Tags.",
|
|
49178
|
-
safety: "update",
|
|
49179
|
-
destructive: false,
|
|
49180
|
-
cli: {
|
|
49181
|
-
group: ["tags"],
|
|
49182
|
-
command: "archive",
|
|
49183
|
-
interactive: "default"
|
|
49184
|
-
},
|
|
49185
|
-
mcp: { entityTool: "tags" },
|
|
49186
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49187
|
-
execute: (input, { client }) => {
|
|
49188
|
-
const data = input;
|
|
49189
|
-
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
49190
|
-
client.httpClient,
|
|
49191
|
-
client.workspaceIdNumber,
|
|
49192
|
-
data.tag_id,
|
|
49193
|
-
void 0
|
|
49194
|
-
]));
|
|
49195
|
-
}
|
|
49196
|
-
},
|
|
49197
|
-
{
|
|
49198
|
-
id: "focus.tags.bulk-archive",
|
|
49199
|
-
family: "focus",
|
|
49200
|
-
resource: "tags",
|
|
49201
|
-
action: "bulk-archive",
|
|
49202
|
-
title: "Bulk Archive Tags",
|
|
49203
|
-
description: "Bulk Archive Tags.",
|
|
49204
|
-
safety: "update",
|
|
49205
|
-
destructive: false,
|
|
49206
|
-
cli: {
|
|
49207
|
-
group: ["tags", "bulk"],
|
|
49208
|
-
command: "archive",
|
|
49209
|
-
interactive: "default"
|
|
49210
|
-
},
|
|
49211
|
-
mcp: { entityTool: "tags" },
|
|
49212
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49213
|
-
execute: (input, { client }) => {
|
|
49214
|
-
const data = input;
|
|
49215
|
-
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
49216
|
-
client.httpClient,
|
|
49217
|
-
client.workspaceIdNumber,
|
|
49218
|
-
data.payload ?? data.data ?? data,
|
|
49219
|
-
void 0
|
|
49220
|
-
]));
|
|
49221
|
-
}
|
|
49222
|
-
},
|
|
49223
|
-
{
|
|
49224
|
-
id: "focus.tags.bulk-create",
|
|
49225
|
-
family: "focus",
|
|
49226
|
-
resource: "tags",
|
|
49227
|
-
action: "bulk-create",
|
|
49228
|
-
title: "Bulk Create Tags",
|
|
49229
|
-
description: "Bulk Create Tags.",
|
|
49230
|
-
safety: "create",
|
|
49231
|
-
destructive: false,
|
|
49232
|
-
cli: {
|
|
49233
|
-
group: ["tags", "bulk"],
|
|
49234
|
-
command: "create",
|
|
49235
|
-
interactive: "default"
|
|
49236
|
-
},
|
|
49237
|
-
mcp: { entityTool: "tags" },
|
|
49238
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49239
|
-
color: /* @__PURE__ */ string$1(),
|
|
49240
|
-
name: /* @__PURE__ */ string$1()
|
|
49241
|
-
})) }) }),
|
|
49242
|
-
execute: (input, { client }) => {
|
|
49243
|
-
const data = input;
|
|
49244
|
-
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
49245
|
-
client.httpClient,
|
|
49246
|
-
client.workspaceIdNumber,
|
|
49247
|
-
data.payload ?? data.data ?? data,
|
|
49248
|
-
void 0
|
|
49249
|
-
]));
|
|
49250
|
-
}
|
|
49251
|
-
},
|
|
49252
|
-
{
|
|
49253
|
-
id: "focus.tags.bulk-delete",
|
|
49254
|
-
family: "focus",
|
|
49255
|
-
resource: "tags",
|
|
49256
|
-
action: "bulk-delete",
|
|
49257
|
-
title: "Bulk Delete Tags",
|
|
49258
|
-
description: "Bulk Delete Tags.",
|
|
49259
|
-
safety: "delete",
|
|
49260
|
-
destructive: true,
|
|
49261
|
-
cli: {
|
|
49262
|
-
group: ["tags", "bulk"],
|
|
49263
|
-
command: "delete",
|
|
49264
|
-
interactive: "default"
|
|
49265
|
-
},
|
|
49266
|
-
mcp: { entityTool: "tags" },
|
|
49267
|
-
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
49268
|
-
execute: (input, { client }) => {
|
|
49269
|
-
const data = input;
|
|
49270
|
-
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
49271
|
-
client.httpClient,
|
|
49272
|
-
client.workspaceIdNumber,
|
|
49273
|
-
data.ids,
|
|
49274
|
-
void 0
|
|
49275
|
-
]));
|
|
49276
|
-
}
|
|
49277
|
-
},
|
|
49278
|
-
{
|
|
49279
|
-
id: "focus.tags.bulk-restore",
|
|
49280
|
-
family: "focus",
|
|
49281
|
-
resource: "tags",
|
|
49282
|
-
action: "bulk-restore",
|
|
49283
|
-
title: "Bulk Restore Tags",
|
|
49284
|
-
description: "Bulk Restore Tags.",
|
|
49285
|
-
safety: "update",
|
|
49286
|
-
destructive: false,
|
|
49287
|
-
cli: {
|
|
49288
|
-
group: ["tags", "bulk"],
|
|
49289
|
-
command: "restore",
|
|
49290
|
-
interactive: "default"
|
|
49291
|
-
},
|
|
49292
|
-
mcp: { entityTool: "tags" },
|
|
49293
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49294
|
-
execute: (input, { client }) => {
|
|
49295
|
-
const data = input;
|
|
49296
|
-
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
49297
|
-
client.httpClient,
|
|
49298
|
-
client.workspaceIdNumber,
|
|
49299
|
-
data.payload ?? data.data ?? data,
|
|
49300
|
-
void 0
|
|
49301
|
-
]));
|
|
49302
|
-
}
|
|
49303
|
-
},
|
|
49304
|
-
{
|
|
49305
|
-
id: "focus.tags.bulk-unarchive",
|
|
49306
|
-
family: "focus",
|
|
49307
|
-
resource: "tags",
|
|
49308
|
-
action: "bulk-unarchive",
|
|
49309
|
-
title: "Bulk Unarchive Tags",
|
|
49310
|
-
description: "Bulk Unarchive Tags.",
|
|
48445
|
+
title: "Upsert Forced Trial Subscriptions",
|
|
48446
|
+
description: "Upsert Forced Trial Subscriptions.",
|
|
49311
48447
|
safety: "update",
|
|
49312
48448
|
destructive: false,
|
|
49313
48449
|
cli: {
|
|
49314
|
-
group: ["
|
|
49315
|
-
command: "
|
|
48450
|
+
group: ["subscriptions"],
|
|
48451
|
+
command: "upsert-forced-trial",
|
|
49316
48452
|
interactive: "default"
|
|
49317
48453
|
},
|
|
49318
|
-
mcp: { entityTool: "
|
|
49319
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
48454
|
+
mcp: { entityTool: "subscriptions" },
|
|
48455
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49320
48456
|
execute: (input, { client }) => {
|
|
49321
48457
|
const data = input;
|
|
49322
|
-
return client.runGeneratedRequest("
|
|
48458
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
49323
48459
|
client.httpClient,
|
|
48460
|
+
client.organizationId,
|
|
49324
48461
|
client.workspaceIdNumber,
|
|
49325
48462
|
data.payload ?? data.data ?? data,
|
|
49326
48463
|
void 0
|
|
@@ -49411,35 +48548,6 @@ const generatedFocusOperations = [
|
|
|
49411
48548
|
return client.listTags(data);
|
|
49412
48549
|
}
|
|
49413
48550
|
},
|
|
49414
|
-
{
|
|
49415
|
-
id: "focus.tags.merge",
|
|
49416
|
-
family: "focus",
|
|
49417
|
-
resource: "tags",
|
|
49418
|
-
action: "merge",
|
|
49419
|
-
title: "Merge Tags",
|
|
49420
|
-
description: "Merge Tags.",
|
|
49421
|
-
safety: "update",
|
|
49422
|
-
destructive: false,
|
|
49423
|
-
cli: {
|
|
49424
|
-
group: ["tags"],
|
|
49425
|
-
command: "merge",
|
|
49426
|
-
interactive: "default"
|
|
49427
|
-
},
|
|
49428
|
-
mcp: { entityTool: "tags" },
|
|
49429
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
49430
|
-
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
49431
|
-
target_id: /* @__PURE__ */ number$2()
|
|
49432
|
-
}) }),
|
|
49433
|
-
execute: (input, { client }) => {
|
|
49434
|
-
const data = input;
|
|
49435
|
-
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
49436
|
-
client.httpClient,
|
|
49437
|
-
client.workspaceIdNumber,
|
|
49438
|
-
data.payload ?? data.data ?? data,
|
|
49439
|
-
void 0
|
|
49440
|
-
]));
|
|
49441
|
-
}
|
|
49442
|
-
},
|
|
49443
48551
|
{
|
|
49444
48552
|
id: "focus.tags.restore",
|
|
49445
48553
|
family: "focus",
|
|
@@ -49466,32 +48574,6 @@ const generatedFocusOperations = [
|
|
|
49466
48574
|
]));
|
|
49467
48575
|
}
|
|
49468
48576
|
},
|
|
49469
|
-
{
|
|
49470
|
-
id: "focus.tags.unarchive",
|
|
49471
|
-
family: "focus",
|
|
49472
|
-
resource: "tags",
|
|
49473
|
-
action: "unarchive",
|
|
49474
|
-
title: "Unarchive Tags",
|
|
49475
|
-
description: "Unarchive Tags.",
|
|
49476
|
-
safety: "update",
|
|
49477
|
-
destructive: false,
|
|
49478
|
-
cli: {
|
|
49479
|
-
group: ["tags"],
|
|
49480
|
-
command: "unarchive",
|
|
49481
|
-
interactive: "default"
|
|
49482
|
-
},
|
|
49483
|
-
mcp: { entityTool: "tags" },
|
|
49484
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49485
|
-
execute: (input, { client }) => {
|
|
49486
|
-
const data = input;
|
|
49487
|
-
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
49488
|
-
client.httpClient,
|
|
49489
|
-
client.workspaceIdNumber,
|
|
49490
|
-
data.tag_id,
|
|
49491
|
-
void 0
|
|
49492
|
-
]));
|
|
49493
|
-
}
|
|
49494
|
-
},
|
|
49495
48577
|
{
|
|
49496
48578
|
id: "focus.tags.update",
|
|
49497
48579
|
family: "focus",
|
|
@@ -50173,12 +49255,12 @@ const generatedFocusOperations = [
|
|
|
50173
49255
|
mcp: { entityTool: "tasks" },
|
|
50174
49256
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50175
49257
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50176
|
-
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50177
49258
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50178
49259
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50179
49260
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50180
49261
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50181
49262
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49263
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50182
49264
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50183
49265
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50184
49266
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50215,6 +49297,7 @@ const generatedFocusOperations = [
|
|
|
50215
49297
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50216
49298
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50217
49299
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49300
|
+
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50218
49301
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50219
49302
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50220
49303
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50231,6 +49314,7 @@ const generatedFocusOperations = [
|
|
|
50231
49314
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50232
49315
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50233
49316
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49317
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50234
49318
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50235
49319
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50236
49320
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50286,6 +49370,7 @@ const generatedFocusOperations = [
|
|
|
50286
49370
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50287
49371
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50288
49372
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49373
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50289
49374
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50290
49375
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50291
49376
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50326,6 +49411,7 @@ const generatedFocusOperations = [
|
|
|
50326
49411
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50327
49412
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50328
49413
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49414
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50329
49415
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50330
49416
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50331
49417
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50366,7 +49452,6 @@ const generatedFocusOperations = [
|
|
|
50366
49452
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50367
49453
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50368
49454
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50369
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50370
49455
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50371
49456
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50372
49457
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50380,8 +49465,7 @@ const generatedFocusOperations = [
|
|
|
50380
49465
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50381
49466
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50382
49467
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50383
|
-
|
|
50384
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49468
|
+
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50385
49469
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50386
49470
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50387
49471
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50397,7 +49481,6 @@ const generatedFocusOperations = [
|
|
|
50397
49481
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50398
49482
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50399
49483
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50400
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50401
49484
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50402
49485
|
}),
|
|
50403
49486
|
execute: (input, { client }) => {
|
|
@@ -50412,118 +49495,6 @@ const generatedFocusOperations = [
|
|
|
50412
49495
|
]));
|
|
50413
49496
|
}
|
|
50414
49497
|
},
|
|
50415
|
-
{
|
|
50416
|
-
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
50417
|
-
family: "focus",
|
|
50418
|
-
resource: "tasks",
|
|
50419
|
-
action: "groups-get-user-task-groups-by-project",
|
|
50420
|
-
title: "Groups Get User Task Groups By Project Tasks",
|
|
50421
|
-
description: "Groups Get User Task Groups By Project Tasks.",
|
|
50422
|
-
safety: "read",
|
|
50423
|
-
destructive: false,
|
|
50424
|
-
cli: {
|
|
50425
|
-
group: ["tasks", "groups"],
|
|
50426
|
-
command: "get-user-task-groups-by-project",
|
|
50427
|
-
interactive: "hidden"
|
|
50428
|
-
},
|
|
50429
|
-
mcp: { entityTool: "tasks" },
|
|
50430
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50431
|
-
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
50432
|
-
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50433
|
-
client_id: /* @__PURE__ */ number$2(),
|
|
50434
|
-
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
50435
|
-
creator_id: /* @__PURE__ */ number$2(),
|
|
50436
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50437
|
-
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
50438
|
-
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
50439
|
-
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
50440
|
-
group_id: /* @__PURE__ */ number$2(),
|
|
50441
|
-
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50442
|
-
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50443
|
-
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50444
|
-
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50445
|
-
min_days: /* @__PURE__ */ unknown$1(),
|
|
50446
|
-
name: /* @__PURE__ */ unknown$1(),
|
|
50447
|
-
priority: /* @__PURE__ */ unknown$1(),
|
|
50448
|
-
private_: /* @__PURE__ */ unknown$1(),
|
|
50449
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
50450
|
-
source: /* @__PURE__ */ unknown$1(),
|
|
50451
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50452
|
-
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
50453
|
-
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
50454
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
50455
|
-
tag_id: /* @__PURE__ */ number$2(),
|
|
50456
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
50457
|
-
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50458
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50459
|
-
}),
|
|
50460
|
-
execute: (input, { client }) => {
|
|
50461
|
-
const data = input;
|
|
50462
|
-
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
50463
|
-
client.httpClient,
|
|
50464
|
-
client.organizationId,
|
|
50465
|
-
client.workspaceIdNumber,
|
|
50466
|
-
data,
|
|
50467
|
-
void 0
|
|
50468
|
-
]));
|
|
50469
|
-
}
|
|
50470
|
-
},
|
|
50471
|
-
{
|
|
50472
|
-
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
50473
|
-
family: "focus",
|
|
50474
|
-
resource: "tasks",
|
|
50475
|
-
action: "groups-get-user-task-groups-by-team",
|
|
50476
|
-
title: "Groups Get User Task Groups By Team Tasks",
|
|
50477
|
-
description: "Groups Get User Task Groups By Team Tasks.",
|
|
50478
|
-
safety: "read",
|
|
50479
|
-
destructive: false,
|
|
50480
|
-
cli: {
|
|
50481
|
-
group: ["tasks", "groups"],
|
|
50482
|
-
command: "get-user-task-groups-by-team",
|
|
50483
|
-
interactive: "hidden"
|
|
50484
|
-
},
|
|
50485
|
-
mcp: { entityTool: "tasks" },
|
|
50486
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50487
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50488
|
-
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50489
|
-
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50490
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50491
|
-
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50492
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50493
|
-
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50494
|
-
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50495
|
-
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50496
|
-
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50497
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50498
|
-
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50499
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50500
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50501
|
-
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50502
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50503
|
-
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50504
|
-
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50505
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50506
|
-
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50507
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50508
|
-
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50509
|
-
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50510
|
-
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50511
|
-
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50512
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50513
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50514
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50515
|
-
}),
|
|
50516
|
-
execute: (input, { client }) => {
|
|
50517
|
-
const data = input;
|
|
50518
|
-
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
50519
|
-
client.httpClient,
|
|
50520
|
-
client.organizationId,
|
|
50521
|
-
client.workspaceIdNumber,
|
|
50522
|
-
data,
|
|
50523
|
-
void 0
|
|
50524
|
-
]));
|
|
50525
|
-
}
|
|
50526
|
-
},
|
|
50527
49498
|
{
|
|
50528
49499
|
id: "focus.tasks.groups-update",
|
|
50529
49500
|
family: "focus",
|
|
@@ -50729,6 +49700,7 @@ const generatedFocusOperations = [
|
|
|
50729
49700
|
name: /* @__PURE__ */ string$1(),
|
|
50730
49701
|
status_id: /* @__PURE__ */ number$2(),
|
|
50731
49702
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49703
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50732
49704
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50733
49705
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50734
49706
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -50748,7 +49720,6 @@ const generatedFocusOperations = [
|
|
|
50748
49720
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50749
49721
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50750
49722
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50751
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50752
49723
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
50753
49724
|
}),
|
|
50754
49725
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -51757,40 +50728,6 @@ const generatedFocusOperations = [
|
|
|
51757
50728
|
]));
|
|
51758
50729
|
}
|
|
51759
50730
|
},
|
|
51760
|
-
{
|
|
51761
|
-
id: "focus.time-entries.groups-get-users",
|
|
51762
|
-
family: "focus",
|
|
51763
|
-
resource: "time-entries",
|
|
51764
|
-
action: "groups-get-users",
|
|
51765
|
-
title: "Groups Get Users Time Entries",
|
|
51766
|
-
description: "Groups Get Users Time Entries.",
|
|
51767
|
-
safety: "read",
|
|
51768
|
-
destructive: false,
|
|
51769
|
-
cli: {
|
|
51770
|
-
group: ["time-entries", "groups"],
|
|
51771
|
-
command: "get-users",
|
|
51772
|
-
interactive: "hidden"
|
|
51773
|
-
},
|
|
51774
|
-
mcp: { entityTool: "time-entries" },
|
|
51775
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51776
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51777
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
51778
|
-
page: /* @__PURE__ */ number$2(),
|
|
51779
|
-
per_page: /* @__PURE__ */ unknown$1(),
|
|
51780
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51781
|
-
user_id: /* @__PURE__ */ number$2()
|
|
51782
|
-
}),
|
|
51783
|
-
execute: (input, { client }) => {
|
|
51784
|
-
const data = input;
|
|
51785
|
-
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
51786
|
-
client.httpClient,
|
|
51787
|
-
client.organizationId,
|
|
51788
|
-
client.workspaceIdNumber,
|
|
51789
|
-
data,
|
|
51790
|
-
void 0
|
|
51791
|
-
]));
|
|
51792
|
-
}
|
|
51793
|
-
},
|
|
51794
50731
|
{
|
|
51795
50732
|
id: "focus.time-entries.list",
|
|
51796
50733
|
family: "focus",
|
|
@@ -51975,42 +50912,6 @@ const generatedFocusOperations = [
|
|
|
51975
50912
|
inputSchema: emptySchema$1,
|
|
51976
50913
|
execute: (_input, { client }) => client.stopTracking()
|
|
51977
50914
|
},
|
|
51978
|
-
{
|
|
51979
|
-
id: "focus.time-entries.sync",
|
|
51980
|
-
family: "focus",
|
|
51981
|
-
resource: "time-entries",
|
|
51982
|
-
action: "sync",
|
|
51983
|
-
title: "Sync Time Entries",
|
|
51984
|
-
description: "Sync Time Entries.",
|
|
51985
|
-
safety: "update",
|
|
51986
|
-
destructive: false,
|
|
51987
|
-
cli: {
|
|
51988
|
-
group: ["time-entries"],
|
|
51989
|
-
command: "sync",
|
|
51990
|
-
interactive: "default"
|
|
51991
|
-
},
|
|
51992
|
-
mcp: { entityTool: "time-entries" },
|
|
51993
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51994
|
-
client_uuid: /* @__PURE__ */ string$1(),
|
|
51995
|
-
payload: /* @__PURE__ */ looseObject({
|
|
51996
|
-
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
51997
|
-
client_updated_at: apiDateTimeString,
|
|
51998
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
51999
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
52000
|
-
})
|
|
52001
|
-
}),
|
|
52002
|
-
execute: (input, { client }) => {
|
|
52003
|
-
const data = input;
|
|
52004
|
-
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
52005
|
-
client.httpClient,
|
|
52006
|
-
client.organizationId,
|
|
52007
|
-
client.workspaceIdNumber,
|
|
52008
|
-
data.client_uuid,
|
|
52009
|
-
data.payload ?? data.data ?? data,
|
|
52010
|
-
void 0
|
|
52011
|
-
]));
|
|
52012
|
-
}
|
|
52013
|
-
},
|
|
52014
50915
|
{
|
|
52015
50916
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
52016
50917
|
family: "focus",
|
|
@@ -52059,7 +50960,6 @@ const generatedFocusOperations = [
|
|
|
52059
50960
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52060
50961
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
52061
50962
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52062
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52063
50963
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52064
50964
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52065
50965
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -52122,33 +51022,121 @@ const generatedFocusOperations = [
|
|
|
52122
51022
|
safety: "update",
|
|
52123
51023
|
destructive: false,
|
|
52124
51024
|
cli: {
|
|
52125
|
-
group: ["time-entries"],
|
|
52126
|
-
command: "update",
|
|
52127
|
-
interactive: "default"
|
|
51025
|
+
group: ["time-entries"],
|
|
51026
|
+
command: "update",
|
|
51027
|
+
interactive: "default"
|
|
51028
|
+
},
|
|
51029
|
+
mcp: { entityTool: "time-entries" },
|
|
51030
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51031
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51032
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
51033
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51034
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51035
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51036
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51037
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51038
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51039
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51040
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51041
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
51042
|
+
}),
|
|
51043
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
51044
|
+
}),
|
|
51045
|
+
execute: (input, { client }) => {
|
|
51046
|
+
const data = input;
|
|
51047
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
51048
|
+
client.httpClient,
|
|
51049
|
+
client.organizationId,
|
|
51050
|
+
client.workspaceIdNumber,
|
|
51051
|
+
data.time_entry_id,
|
|
51052
|
+
data.payload ?? data.data ?? data,
|
|
51053
|
+
void 0
|
|
51054
|
+
]));
|
|
51055
|
+
}
|
|
51056
|
+
},
|
|
51057
|
+
{
|
|
51058
|
+
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
51059
|
+
family: "focus",
|
|
51060
|
+
resource: "time-log-suggestions",
|
|
51061
|
+
action: "get-for-acalendar-event-title",
|
|
51062
|
+
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
51063
|
+
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
51064
|
+
safety: "update",
|
|
51065
|
+
destructive: false,
|
|
51066
|
+
cli: {
|
|
51067
|
+
group: ["time-log-suggestions"],
|
|
51068
|
+
command: "get-for-acalendar-event-title",
|
|
51069
|
+
interactive: "default"
|
|
51070
|
+
},
|
|
51071
|
+
mcp: { entityTool: "time-log-suggestions" },
|
|
51072
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
51073
|
+
execute: (input, { client }) => {
|
|
51074
|
+
const data = input;
|
|
51075
|
+
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
51076
|
+
client.httpClient,
|
|
51077
|
+
client.organizationId,
|
|
51078
|
+
client.workspaceIdNumber,
|
|
51079
|
+
data.payload ?? data.data ?? data,
|
|
51080
|
+
void 0
|
|
51081
|
+
]));
|
|
51082
|
+
}
|
|
51083
|
+
},
|
|
51084
|
+
{
|
|
51085
|
+
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
51086
|
+
family: "focus",
|
|
51087
|
+
resource: "time-log-suggestions",
|
|
51088
|
+
action: "get-for-multiple-calendar-event-titles",
|
|
51089
|
+
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
51090
|
+
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
51091
|
+
safety: "update",
|
|
51092
|
+
destructive: false,
|
|
51093
|
+
cli: {
|
|
51094
|
+
group: ["time-log-suggestions"],
|
|
51095
|
+
command: "get-for-multiple-calendar-event-titles",
|
|
51096
|
+
interactive: "default"
|
|
51097
|
+
},
|
|
51098
|
+
mcp: { entityTool: "time-log-suggestions" },
|
|
51099
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
51100
|
+
key: /* @__PURE__ */ string$1(),
|
|
51101
|
+
title: /* @__PURE__ */ string$1()
|
|
51102
|
+
})) }) }),
|
|
51103
|
+
execute: (input, { client }) => {
|
|
51104
|
+
const data = input;
|
|
51105
|
+
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
51106
|
+
client.httpClient,
|
|
51107
|
+
client.organizationId,
|
|
51108
|
+
client.workspaceIdNumber,
|
|
51109
|
+
data.payload ?? data.data ?? data,
|
|
51110
|
+
void 0
|
|
51111
|
+
]));
|
|
51112
|
+
}
|
|
51113
|
+
},
|
|
51114
|
+
{
|
|
51115
|
+
id: "focus.time-off.create-timeoff-for-ghost",
|
|
51116
|
+
family: "focus",
|
|
51117
|
+
resource: "time-off",
|
|
51118
|
+
action: "create-timeoff-for-ghost",
|
|
51119
|
+
title: "Create Timeoff For Ghost Time Off",
|
|
51120
|
+
description: "Create Timeoff For Ghost Time Off.",
|
|
51121
|
+
safety: "create",
|
|
51122
|
+
destructive: false,
|
|
51123
|
+
cli: {
|
|
51124
|
+
group: ["time-off"],
|
|
51125
|
+
command: "create-timeoff-for-ghost",
|
|
51126
|
+
interactive: "hidden"
|
|
52128
51127
|
},
|
|
52129
|
-
mcp: { entityTool: "time-
|
|
51128
|
+
mcp: { entityTool: "time-off" },
|
|
52130
51129
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52131
|
-
|
|
52132
|
-
|
|
52133
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52134
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52135
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52136
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52137
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52138
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52139
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52140
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52141
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52142
|
-
}),
|
|
52143
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
51130
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
51131
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
52144
51132
|
}),
|
|
52145
51133
|
execute: (input, { client }) => {
|
|
52146
51134
|
const data = input;
|
|
52147
|
-
return client.runGeneratedRequest("
|
|
51135
|
+
return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
|
|
52148
51136
|
client.httpClient,
|
|
52149
51137
|
client.organizationId,
|
|
52150
51138
|
client.workspaceIdNumber,
|
|
52151
|
-
data.
|
|
51139
|
+
data.ghost_id,
|
|
52152
51140
|
data.payload ?? data.data ?? data,
|
|
52153
51141
|
void 0
|
|
52154
51142
|
]));
|
|
@@ -52184,6 +51172,37 @@ const generatedFocusOperations = [
|
|
|
52184
51172
|
]));
|
|
52185
51173
|
}
|
|
52186
51174
|
},
|
|
51175
|
+
{
|
|
51176
|
+
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
51177
|
+
family: "focus",
|
|
51178
|
+
resource: "time-off",
|
|
51179
|
+
action: "delete-timeoff-for-ghost",
|
|
51180
|
+
title: "Delete Timeoff For Ghost Time Off",
|
|
51181
|
+
description: "Delete Timeoff For Ghost Time Off.",
|
|
51182
|
+
safety: "delete",
|
|
51183
|
+
destructive: true,
|
|
51184
|
+
cli: {
|
|
51185
|
+
group: ["time-off"],
|
|
51186
|
+
command: "delete-timeoff-for-ghost",
|
|
51187
|
+
interactive: "hidden"
|
|
51188
|
+
},
|
|
51189
|
+
mcp: { entityTool: "time-off" },
|
|
51190
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51191
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
51192
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
51193
|
+
}),
|
|
51194
|
+
execute: (input, { client }) => {
|
|
51195
|
+
const data = input;
|
|
51196
|
+
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
51197
|
+
client.httpClient,
|
|
51198
|
+
client.organizationId,
|
|
51199
|
+
client.workspaceIdNumber,
|
|
51200
|
+
data.ghost_id,
|
|
51201
|
+
data.payload ?? data.data ?? data,
|
|
51202
|
+
void 0
|
|
51203
|
+
]));
|
|
51204
|
+
}
|
|
51205
|
+
},
|
|
52187
51206
|
{
|
|
52188
51207
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
52189
51208
|
family: "focus",
|
|
@@ -52214,6 +51233,38 @@ const generatedFocusOperations = [
|
|
|
52214
51233
|
]));
|
|
52215
51234
|
}
|
|
52216
51235
|
},
|
|
51236
|
+
{
|
|
51237
|
+
id: "focus.time-off.get-timeoff-for-ghost",
|
|
51238
|
+
family: "focus",
|
|
51239
|
+
resource: "time-off",
|
|
51240
|
+
action: "get-timeoff-for-ghost",
|
|
51241
|
+
title: "Get Timeoff For Ghost Time Off",
|
|
51242
|
+
description: "Get Timeoff For Ghost Time Off.",
|
|
51243
|
+
safety: "read",
|
|
51244
|
+
destructive: false,
|
|
51245
|
+
cli: {
|
|
51246
|
+
group: ["time-off"],
|
|
51247
|
+
command: "get-timeoff-for-ghost",
|
|
51248
|
+
interactive: "hidden"
|
|
51249
|
+
},
|
|
51250
|
+
mcp: { entityTool: "time-off" },
|
|
51251
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51252
|
+
from: /* @__PURE__ */ unknown$1(),
|
|
51253
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
51254
|
+
to: /* @__PURE__ */ unknown$1()
|
|
51255
|
+
}),
|
|
51256
|
+
execute: (input, { client }) => {
|
|
51257
|
+
const data = input;
|
|
51258
|
+
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
51259
|
+
client.httpClient,
|
|
51260
|
+
client.organizationId,
|
|
51261
|
+
client.workspaceIdNumber,
|
|
51262
|
+
data.ghost_id,
|
|
51263
|
+
data,
|
|
51264
|
+
void 0
|
|
51265
|
+
]));
|
|
51266
|
+
}
|
|
51267
|
+
},
|
|
52217
51268
|
{
|
|
52218
51269
|
id: "focus.time-off.get-timeoff-for-user",
|
|
52219
51270
|
family: "focus",
|
|
@@ -52245,6 +51296,37 @@ const generatedFocusOperations = [
|
|
|
52245
51296
|
]));
|
|
52246
51297
|
}
|
|
52247
51298
|
},
|
|
51299
|
+
{
|
|
51300
|
+
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
51301
|
+
family: "focus",
|
|
51302
|
+
resource: "time-off",
|
|
51303
|
+
action: "get-timeoffs-by-ghost-ids",
|
|
51304
|
+
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
51305
|
+
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
51306
|
+
safety: "read",
|
|
51307
|
+
destructive: false,
|
|
51308
|
+
cli: {
|
|
51309
|
+
group: ["time-off"],
|
|
51310
|
+
command: "get-timeoffs-by-ghost-ids",
|
|
51311
|
+
interactive: "hidden"
|
|
51312
|
+
},
|
|
51313
|
+
mcp: { entityTool: "time-off" },
|
|
51314
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51315
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51316
|
+
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
51317
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
51318
|
+
}),
|
|
51319
|
+
execute: (input, { client }) => {
|
|
51320
|
+
const data = input;
|
|
51321
|
+
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
51322
|
+
client.httpClient,
|
|
51323
|
+
client.organizationId,
|
|
51324
|
+
client.workspaceIdNumber,
|
|
51325
|
+
data,
|
|
51326
|
+
void 0
|
|
51327
|
+
]));
|
|
51328
|
+
}
|
|
51329
|
+
},
|
|
52248
51330
|
{
|
|
52249
51331
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
52250
51332
|
family: "focus",
|
|
@@ -52275,6 +51357,37 @@ const generatedFocusOperations = [
|
|
|
52275
51357
|
]));
|
|
52276
51358
|
}
|
|
52277
51359
|
},
|
|
51360
|
+
{
|
|
51361
|
+
id: "focus.time-off.update-timeoff-for-ghost",
|
|
51362
|
+
family: "focus",
|
|
51363
|
+
resource: "time-off",
|
|
51364
|
+
action: "update-timeoff-for-ghost",
|
|
51365
|
+
title: "Update Timeoff For Ghost Time Off",
|
|
51366
|
+
description: "Update Timeoff For Ghost Time Off.",
|
|
51367
|
+
safety: "update",
|
|
51368
|
+
destructive: false,
|
|
51369
|
+
cli: {
|
|
51370
|
+
group: ["time-off"],
|
|
51371
|
+
command: "update-timeoff-for-ghost",
|
|
51372
|
+
interactive: "hidden"
|
|
51373
|
+
},
|
|
51374
|
+
mcp: { entityTool: "time-off" },
|
|
51375
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51376
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
51377
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
51378
|
+
}),
|
|
51379
|
+
execute: (input, { client }) => {
|
|
51380
|
+
const data = input;
|
|
51381
|
+
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
51382
|
+
client.httpClient,
|
|
51383
|
+
client.organizationId,
|
|
51384
|
+
client.workspaceIdNumber,
|
|
51385
|
+
data.ghost_id,
|
|
51386
|
+
data.payload ?? data.data ?? data,
|
|
51387
|
+
void 0
|
|
51388
|
+
]));
|
|
51389
|
+
}
|
|
51390
|
+
},
|
|
52278
51391
|
{
|
|
52279
51392
|
id: "focus.time-off.update-timeoff-for-user",
|
|
52280
51393
|
family: "focus",
|
|
@@ -53306,7 +52419,6 @@ const generatedFocusOperations = [
|
|
|
53306
52419
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
53307
52420
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
53308
52421
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53309
|
-
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53310
52422
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53311
52423
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53312
52424
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -53408,6 +52520,37 @@ const generatedFocusOperations = [
|
|
|
53408
52520
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53409
52521
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
53410
52522
|
},
|
|
52523
|
+
{
|
|
52524
|
+
id: "focus.working-hours.create-for-ghost",
|
|
52525
|
+
family: "focus",
|
|
52526
|
+
resource: "working-hours",
|
|
52527
|
+
action: "create-for-ghost",
|
|
52528
|
+
title: "Create For Ghost Working Hours",
|
|
52529
|
+
description: "Create For Ghost Working Hours.",
|
|
52530
|
+
safety: "create",
|
|
52531
|
+
destructive: false,
|
|
52532
|
+
cli: {
|
|
52533
|
+
group: ["working-hours"],
|
|
52534
|
+
command: "create-for-ghost",
|
|
52535
|
+
interactive: "hidden"
|
|
52536
|
+
},
|
|
52537
|
+
mcp: { entityTool: "working-hours" },
|
|
52538
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52539
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
52540
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
52541
|
+
}),
|
|
52542
|
+
execute: (input, { client }) => {
|
|
52543
|
+
const data = input;
|
|
52544
|
+
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
52545
|
+
client.httpClient,
|
|
52546
|
+
client.organizationId,
|
|
52547
|
+
client.workspaceIdNumber,
|
|
52548
|
+
data.ghost_id,
|
|
52549
|
+
data.payload ?? data.data ?? data,
|
|
52550
|
+
void 0
|
|
52551
|
+
]));
|
|
52552
|
+
}
|
|
52553
|
+
},
|
|
53411
52554
|
{
|
|
53412
52555
|
id: "focus.working-hours.create-for-user",
|
|
53413
52556
|
family: "focus",
|
|
@@ -53438,6 +52581,37 @@ const generatedFocusOperations = [
|
|
|
53438
52581
|
]));
|
|
53439
52582
|
}
|
|
53440
52583
|
},
|
|
52584
|
+
{
|
|
52585
|
+
id: "focus.working-hours.delete-for-ghost",
|
|
52586
|
+
family: "focus",
|
|
52587
|
+
resource: "working-hours",
|
|
52588
|
+
action: "delete-for-ghost",
|
|
52589
|
+
title: "Delete For Ghost Working Hours",
|
|
52590
|
+
description: "Delete For Ghost Working Hours.",
|
|
52591
|
+
safety: "delete",
|
|
52592
|
+
destructive: true,
|
|
52593
|
+
cli: {
|
|
52594
|
+
group: ["working-hours"],
|
|
52595
|
+
command: "delete-for-ghost",
|
|
52596
|
+
interactive: "hidden"
|
|
52597
|
+
},
|
|
52598
|
+
mcp: { entityTool: "working-hours" },
|
|
52599
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52600
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
52601
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
52602
|
+
}),
|
|
52603
|
+
execute: (input, { client }) => {
|
|
52604
|
+
const data = input;
|
|
52605
|
+
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
52606
|
+
client.httpClient,
|
|
52607
|
+
client.organizationId,
|
|
52608
|
+
client.workspaceIdNumber,
|
|
52609
|
+
data.ghost_id,
|
|
52610
|
+
data.payload ?? data.data ?? data,
|
|
52611
|
+
void 0
|
|
52612
|
+
]));
|
|
52613
|
+
}
|
|
52614
|
+
},
|
|
53441
52615
|
{
|
|
53442
52616
|
id: "focus.working-hours.delete-for-user",
|
|
53443
52617
|
family: "focus",
|
|
@@ -53468,6 +52642,33 @@ const generatedFocusOperations = [
|
|
|
53468
52642
|
]));
|
|
53469
52643
|
}
|
|
53470
52644
|
},
|
|
52645
|
+
{
|
|
52646
|
+
id: "focus.working-hours.get-for-ghost",
|
|
52647
|
+
family: "focus",
|
|
52648
|
+
resource: "working-hours",
|
|
52649
|
+
action: "get-for-ghost",
|
|
52650
|
+
title: "Get For Ghost Working Hours",
|
|
52651
|
+
description: "Get For Ghost Working Hours.",
|
|
52652
|
+
safety: "read",
|
|
52653
|
+
destructive: false,
|
|
52654
|
+
cli: {
|
|
52655
|
+
group: ["working-hours"],
|
|
52656
|
+
command: "get-for-ghost",
|
|
52657
|
+
interactive: "available"
|
|
52658
|
+
},
|
|
52659
|
+
mcp: { entityTool: "working-hours" },
|
|
52660
|
+
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
52661
|
+
execute: (input, { client }) => {
|
|
52662
|
+
const data = input;
|
|
52663
|
+
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
52664
|
+
client.httpClient,
|
|
52665
|
+
client.organizationId,
|
|
52666
|
+
client.workspaceIdNumber,
|
|
52667
|
+
data.ghost_id,
|
|
52668
|
+
void 0
|
|
52669
|
+
]));
|
|
52670
|
+
}
|
|
52671
|
+
},
|
|
53471
52672
|
{
|
|
53472
52673
|
id: "focus.working-hours.get-for-user",
|
|
53473
52674
|
family: "focus",
|
|
@@ -53494,6 +52695,37 @@ const generatedFocusOperations = [
|
|
|
53494
52695
|
]));
|
|
53495
52696
|
}
|
|
53496
52697
|
},
|
|
52698
|
+
{
|
|
52699
|
+
id: "focus.working-hours.update-for-ghost",
|
|
52700
|
+
family: "focus",
|
|
52701
|
+
resource: "working-hours",
|
|
52702
|
+
action: "update-for-ghost",
|
|
52703
|
+
title: "Update For Ghost Working Hours",
|
|
52704
|
+
description: "Update For Ghost Working Hours.",
|
|
52705
|
+
safety: "update",
|
|
52706
|
+
destructive: false,
|
|
52707
|
+
cli: {
|
|
52708
|
+
group: ["working-hours"],
|
|
52709
|
+
command: "update-for-ghost",
|
|
52710
|
+
interactive: "hidden"
|
|
52711
|
+
},
|
|
52712
|
+
mcp: { entityTool: "working-hours" },
|
|
52713
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52714
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
52715
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
52716
|
+
}),
|
|
52717
|
+
execute: (input, { client }) => {
|
|
52718
|
+
const data = input;
|
|
52719
|
+
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
52720
|
+
client.httpClient,
|
|
52721
|
+
client.organizationId,
|
|
52722
|
+
client.workspaceIdNumber,
|
|
52723
|
+
data.ghost_id,
|
|
52724
|
+
data.payload ?? data.data ?? data,
|
|
52725
|
+
void 0
|
|
52726
|
+
]));
|
|
52727
|
+
}
|
|
52728
|
+
},
|
|
53497
52729
|
{
|
|
53498
52730
|
id: "focus.working-hours.update-for-user",
|
|
53499
52731
|
family: "focus",
|
|
@@ -53568,50 +52800,6 @@ const generatedFocusOperations = [
|
|
|
53568
52800
|
void 0
|
|
53569
52801
|
]))
|
|
53570
52802
|
},
|
|
53571
|
-
{
|
|
53572
|
-
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
53573
|
-
family: "focus",
|
|
53574
|
-
resource: "workspace-settings",
|
|
53575
|
-
action: "get-workspace-export-branding",
|
|
53576
|
-
title: "Get Workspace Export Branding Workspace Settings",
|
|
53577
|
-
description: "Get Workspace Export Branding Workspace Settings.",
|
|
53578
|
-
safety: "read",
|
|
53579
|
-
destructive: false,
|
|
53580
|
-
cli: {
|
|
53581
|
-
group: ["workspace-settings"],
|
|
53582
|
-
command: "get-workspace-export-branding",
|
|
53583
|
-
interactive: "hidden"
|
|
53584
|
-
},
|
|
53585
|
-
mcp: { entityTool: "workspace-settings" },
|
|
53586
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53587
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
53588
|
-
client.httpClient,
|
|
53589
|
-
client.workspaceIdNumber,
|
|
53590
|
-
void 0
|
|
53591
|
-
]))
|
|
53592
|
-
},
|
|
53593
|
-
{
|
|
53594
|
-
id: "focus.workspace-settings.get-workspace-watermark",
|
|
53595
|
-
family: "focus",
|
|
53596
|
-
resource: "workspace-settings",
|
|
53597
|
-
action: "get-workspace-watermark",
|
|
53598
|
-
title: "Get Workspace Watermark Workspace Settings",
|
|
53599
|
-
description: "Get Workspace Watermark Workspace Settings.",
|
|
53600
|
-
safety: "read",
|
|
53601
|
-
destructive: false,
|
|
53602
|
-
cli: {
|
|
53603
|
-
group: ["workspace-settings"],
|
|
53604
|
-
command: "get-workspace-watermark",
|
|
53605
|
-
interactive: "hidden"
|
|
53606
|
-
},
|
|
53607
|
-
mcp: { entityTool: "workspace-settings" },
|
|
53608
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53609
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
53610
|
-
client.httpClient,
|
|
53611
|
-
client.workspaceIdNumber,
|
|
53612
|
-
void 0
|
|
53613
|
-
]))
|
|
53614
|
-
},
|
|
53615
52803
|
{
|
|
53616
52804
|
id: "focus.workspace-settings.list",
|
|
53617
52805
|
family: "focus",
|
|
@@ -53686,32 +52874,6 @@ const generatedFocusOperations = [
|
|
|
53686
52874
|
]));
|
|
53687
52875
|
}
|
|
53688
52876
|
},
|
|
53689
|
-
{
|
|
53690
|
-
id: "focus.workspace-settings.update-workspace-watermark",
|
|
53691
|
-
family: "focus",
|
|
53692
|
-
resource: "workspace-settings",
|
|
53693
|
-
action: "update-workspace-watermark",
|
|
53694
|
-
title: "Update Workspace Watermark Workspace Settings",
|
|
53695
|
-
description: "Update Workspace Watermark Workspace Settings.",
|
|
53696
|
-
safety: "update",
|
|
53697
|
-
destructive: false,
|
|
53698
|
-
cli: {
|
|
53699
|
-
group: ["workspace-settings"],
|
|
53700
|
-
command: "update-workspace-watermark",
|
|
53701
|
-
interactive: "default"
|
|
53702
|
-
},
|
|
53703
|
-
mcp: { entityTool: "workspace-settings" },
|
|
53704
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
53705
|
-
execute: (input, { client }) => {
|
|
53706
|
-
const data = input;
|
|
53707
|
-
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
53708
|
-
client.httpClient,
|
|
53709
|
-
client.workspaceIdNumber,
|
|
53710
|
-
data.payload ?? data.data ?? data,
|
|
53711
|
-
void 0
|
|
53712
|
-
]));
|
|
53713
|
-
}
|
|
53714
|
-
},
|
|
53715
52877
|
{
|
|
53716
52878
|
id: "focus.workspace.get-context",
|
|
53717
52879
|
family: "focus",
|
|
@@ -54838,7 +54000,7 @@ function registerWorkspaceTools(server) {
|
|
|
54838
54000
|
//#region src/package-version.ts
|
|
54839
54001
|
function mcpPackageVersion() {
|
|
54840
54002
|
try {
|
|
54841
|
-
return "1.11.
|
|
54003
|
+
return "1.11.174";
|
|
54842
54004
|
} catch {
|
|
54843
54005
|
return "unknown";
|
|
54844
54006
|
}
|
|
@@ -55013,7 +54175,7 @@ import_main.default.config({
|
|
|
55013
54175
|
quiet: true,
|
|
55014
54176
|
ignore: ["MISSING_ENV_FILE"]
|
|
55015
54177
|
});
|
|
55016
|
-
const packageVersion = "1.11.
|
|
54178
|
+
const packageVersion = "1.11.174";
|
|
55017
54179
|
function resolvePublicUrls() {
|
|
55018
54180
|
return {
|
|
55019
54181
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55078,4 +54240,4 @@ function bootstrapServer(options = {}) {
|
|
|
55078
54240
|
//#endregion
|
|
55079
54241
|
export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
55080
54242
|
|
|
55081
|
-
//# sourceMappingURL=src-
|
|
54243
|
+
//# sourceMappingURL=src-CxBQLOJY.js.map
|