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