@togglhq/cli 1.11.143 → 1.11.145
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 +1 -1
- package/build/index.js +1 -1
- package/build/{program-BHn1diU9.js → program-CqcSajOt.js} +588 -1428
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -7216,7 +7216,11 @@ function pipe(...pipe$1) {
|
|
|
7216
7216
|
}
|
|
7217
7217
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
7218
7218
|
id: /* @__PURE__ */ number(),
|
|
7219
|
-
type: /* @__PURE__ */ picklist([
|
|
7219
|
+
type: /* @__PURE__ */ picklist([
|
|
7220
|
+
"user",
|
|
7221
|
+
"ghost",
|
|
7222
|
+
"team"
|
|
7223
|
+
])
|
|
7220
7224
|
});
|
|
7221
7225
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
7222
7226
|
id: /* @__PURE__ */ number(),
|
|
@@ -7258,8 +7262,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
7258
7262
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7259
7263
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7260
7264
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7261
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
7262
|
-
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.")))
|
|
7265
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
7263
7266
|
});
|
|
7264
7267
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
7265
7268
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7269,7 +7272,6 @@ const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
|
7269
7272
|
extension_url: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7270
7273
|
external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7271
7274
|
ical_uid: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7272
|
-
last_asserted_track_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("LastAssertedTrackProjectID is the Track planned_task.project_id that the Focus→Track mirror last successfully wrote for this task. Track→Focus uses it to distinguish a stale echo (Track still holds this value after a Focus-side project move) from an intentional Track-side project move. Internal mirror state, written by toggl_api focus_sync_worker; not user-facing."))),
|
|
7273
7275
|
meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7274
7276
|
project_assignment: /* @__PURE__ */ optional(/* @__PURE__ */ object({
|
|
7275
7277
|
origin: /* @__PURE__ */ picklist([
|
|
@@ -7332,7 +7334,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7332
7334
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7333
7335
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
7334
7336
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7335
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7337
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7336
7338
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7337
7339
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7338
7340
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7340,6 +7342,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7340
7342
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7341
7343
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7342
7344
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7345
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7343
7346
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7344
7347
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7345
7348
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7349,7 +7352,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7349
7352
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7350
7353
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7351
7354
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7352
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7353
7355
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7354
7356
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7355
7357
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -7393,7 +7395,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7393
7395
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7394
7396
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
7395
7397
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7396
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7398
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7397
7399
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7398
7400
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7399
7401
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7401,6 +7403,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7401
7403
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7402
7404
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7403
7405
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7406
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7404
7407
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7405
7408
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7406
7409
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7411,7 +7414,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7411
7414
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7412
7415
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7413
7416
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7414
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7415
7417
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7416
7418
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7417
7419
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -7570,7 +7572,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7570
7572
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
7571
7573
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7572
7574
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7573
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7575
|
+
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."))),
|
|
7574
7576
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7575
7577
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7576
7578
|
});
|
|
@@ -7714,7 +7716,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7714
7716
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
7715
7717
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7716
7718
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7717
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7719
|
+
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."))),
|
|
7718
7720
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7719
7721
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7720
7722
|
})),
|
|
@@ -7726,15 +7728,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
7726
7728
|
id: /* @__PURE__ */ number(),
|
|
7727
7729
|
name: /* @__PURE__ */ string(),
|
|
7728
7730
|
workspace_id: /* @__PURE__ */ number(),
|
|
7729
|
-
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."))),
|
|
7730
7731
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7731
7732
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7732
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7733
|
-
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
7734
|
-
projects: /* @__PURE__ */ number(),
|
|
7735
|
-
tasks: /* @__PURE__ */ number(),
|
|
7736
|
-
time_entries: /* @__PURE__ */ number()
|
|
7737
|
-
})), /* @__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.")))
|
|
7733
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7738
7734
|
});
|
|
7739
7735
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
7740
7736
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -7745,8 +7741,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
7745
7741
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
7746
7742
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
7747
7743
|
account_locked_at: /* @__PURE__ */ string(),
|
|
7748
|
-
accounts_role_id: /* @__PURE__ */ number(),
|
|
7749
7744
|
active: /* @__PURE__ */ boolean(),
|
|
7745
|
+
admin: /* @__PURE__ */ boolean(),
|
|
7750
7746
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
7751
7747
|
created_at: /* @__PURE__ */ string(),
|
|
7752
7748
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -7795,9 +7791,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7795
7791
|
track_role_id: /* @__PURE__ */ number(),
|
|
7796
7792
|
work_role_id: /* @__PURE__ */ number(),
|
|
7797
7793
|
workspace_user_id: /* @__PURE__ */ number()
|
|
7798
|
-
}))
|
|
7799
|
-
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7800
|
-
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.")))
|
|
7794
|
+
}))
|
|
7801
7795
|
});
|
|
7802
7796
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7803
7797
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -7874,7 +7868,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7874
7868
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7875
7869
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7876
7870
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7877
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7871
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7872
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7878
7873
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7879
7874
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7880
7875
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -7890,7 +7885,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7890
7885
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7891
7886
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7892
7887
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7893
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7894
7888
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7895
7889
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7896
7890
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7900,23 +7894,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7900
7894
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7901
7895
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
7902
7896
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
7903
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
7904
|
-
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.")))
|
|
7897
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
7905
7898
|
});
|
|
7906
7899
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7907
7900
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7908
7901
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
7909
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7910
7902
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
7911
7903
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7912
7904
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7913
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7905
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7914
7906
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7915
7907
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
7916
7908
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7917
7909
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7918
7910
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7919
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
7911
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7912
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7920
7913
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7921
7914
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7922
7915
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7933,7 +7926,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7933
7926
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7934
7927
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7935
7928
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7936
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7937
7929
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7938
7930
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7939
7931
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7942,17 +7934,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7942
7934
|
});
|
|
7943
7935
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
7944
7936
|
id: /* @__PURE__ */ number(),
|
|
7945
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7946
7937
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
7947
7938
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7948
7939
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7949
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7940
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7950
7941
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7951
7942
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
7952
7943
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7953
7944
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7954
7945
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7955
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
7946
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7947
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7956
7948
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7957
7949
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7958
7950
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7969,7 +7961,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7969
7961
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7970
7962
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7971
7963
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7972
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7973
7964
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7974
7965
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7975
7966
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9893,7 +9884,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9893
9884
|
})
|
|
9894
9885
|
}).json();
|
|
9895
9886
|
}
|
|
9896
|
-
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
|
|
9887
|
+
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) {
|
|
9897
9888
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9898
9889
|
signal,
|
|
9899
9890
|
searchParams: buildSearchParams$2({
|
|
@@ -9913,10 +9904,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9913
9904
|
include_working_hours,
|
|
9914
9905
|
include_rates,
|
|
9915
9906
|
pinned_ids,
|
|
9916
|
-
has_group
|
|
9917
|
-
cf_filter,
|
|
9918
|
-
include_custom_fields,
|
|
9919
|
-
include_calendar_integration
|
|
9907
|
+
has_group
|
|
9920
9908
|
}, true)
|
|
9921
9909
|
});
|
|
9922
9910
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -9935,7 +9923,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
9935
9923
|
}
|
|
9936
9924
|
//#endregion
|
|
9937
9925
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
9938
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id
|
|
9926
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
9939
9927
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
9940
9928
|
signal,
|
|
9941
9929
|
searchParams: buildSearchParams$2({
|
|
@@ -9943,10 +9931,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
9943
9931
|
page,
|
|
9944
9932
|
per_page,
|
|
9945
9933
|
order_by,
|
|
9946
|
-
tag_id
|
|
9947
|
-
include_usage,
|
|
9948
|
-
include_archived,
|
|
9949
|
-
archived
|
|
9934
|
+
tag_id
|
|
9950
9935
|
})
|
|
9951
9936
|
}).json();
|
|
9952
9937
|
}
|
|
@@ -9956,42 +9941,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
9956
9941
|
json: data
|
|
9957
9942
|
}).json();
|
|
9958
9943
|
}
|
|
9959
|
-
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
9960
|
-
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
9961
|
-
signal,
|
|
9962
|
-
json: data
|
|
9963
|
-
}).json();
|
|
9964
|
-
}
|
|
9965
|
-
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
9966
|
-
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
9967
|
-
signal,
|
|
9968
|
-
searchParams: buildSearchParams$2({ ids })
|
|
9969
|
-
}).json();
|
|
9970
|
-
}
|
|
9971
|
-
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
9972
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
9973
|
-
signal,
|
|
9974
|
-
json: data
|
|
9975
|
-
}).json();
|
|
9976
|
-
}
|
|
9977
|
-
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
9978
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
9979
|
-
signal,
|
|
9980
|
-
json: data
|
|
9981
|
-
}).json();
|
|
9982
|
-
}
|
|
9983
|
-
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
9984
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
9985
|
-
signal,
|
|
9986
|
-
json: data
|
|
9987
|
-
}).json();
|
|
9988
|
-
}
|
|
9989
|
-
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
9990
|
-
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
9991
|
-
signal,
|
|
9992
|
-
json: data
|
|
9993
|
-
}).json();
|
|
9994
|
-
}
|
|
9995
9944
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
9996
9945
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
9997
9946
|
}
|
|
@@ -10004,18 +9953,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
10004
9953
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
10005
9954
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
10006
9955
|
}
|
|
10007
|
-
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10008
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
10009
|
-
}
|
|
10010
9956
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
10011
9957
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
10012
9958
|
}
|
|
10013
|
-
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10014
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
10015
|
-
}
|
|
10016
9959
|
//#endregion
|
|
10017
9960
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10018
|
-
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,
|
|
9961
|
+
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, 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) {
|
|
10019
9962
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10020
9963
|
signal,
|
|
10021
9964
|
searchParams: buildSearchParams$2({
|
|
@@ -10033,11 +9976,9 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
10033
9976
|
assignee_user_id,
|
|
10034
9977
|
project_id,
|
|
10035
9978
|
user_id,
|
|
10036
|
-
only_me,
|
|
10037
9979
|
include_rates,
|
|
10038
9980
|
include_rollover,
|
|
10039
9981
|
include_idle_recurring_templates,
|
|
10040
|
-
collapse_recurring,
|
|
10041
9982
|
include_drafts,
|
|
10042
9983
|
include_locked_private,
|
|
10043
9984
|
start_date,
|
|
@@ -10268,7 +10209,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10268
10209
|
}
|
|
10269
10210
|
//#endregion
|
|
10270
10211
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10271
|
-
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) {
|
|
10212
|
+
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) {
|
|
10272
10213
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10273
10214
|
signal,
|
|
10274
10215
|
searchParams: buildSearchParams$2({
|
|
@@ -10316,8 +10257,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10316
10257
|
recurring_task_ids,
|
|
10317
10258
|
client_id,
|
|
10318
10259
|
include_rates,
|
|
10260
|
+
include_ghost_assignees,
|
|
10319
10261
|
include_assignees,
|
|
10320
10262
|
include_parent_matches,
|
|
10263
|
+
assignee_ghost_id,
|
|
10321
10264
|
disable_aggregations,
|
|
10322
10265
|
cf_filter
|
|
10323
10266
|
})
|
|
@@ -10403,7 +10346,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
10403
10346
|
})
|
|
10404
10347
|
}).json();
|
|
10405
10348
|
}
|
|
10406
|
-
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,
|
|
10349
|
+
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) {
|
|
10407
10350
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10408
10351
|
signal,
|
|
10409
10352
|
searchParams: buildSearchParams$2({
|
|
@@ -10416,14 +10359,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10416
10359
|
dates_overlap_end,
|
|
10417
10360
|
recurring_task_ids,
|
|
10418
10361
|
team_id,
|
|
10419
|
-
assignee_team_id,
|
|
10420
10362
|
assignee_user_id,
|
|
10421
10363
|
tag_id,
|
|
10364
|
+
include_ghost_assignees,
|
|
10422
10365
|
include_assignees
|
|
10423
10366
|
})
|
|
10424
10367
|
}).json();
|
|
10425
10368
|
}
|
|
10426
|
-
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) {
|
|
10369
|
+
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) {
|
|
10427
10370
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10428
10371
|
signal,
|
|
10429
10372
|
searchParams: buildSearchParams$2({
|
|
@@ -10467,15 +10410,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10467
10410
|
recurring,
|
|
10468
10411
|
recurring_task_ids,
|
|
10469
10412
|
client_id,
|
|
10413
|
+
include_ghost_assignees,
|
|
10470
10414
|
include_assignees,
|
|
10415
|
+
assignee_ghost_id,
|
|
10471
10416
|
cf_filter
|
|
10472
10417
|
})
|
|
10473
10418
|
}).json();
|
|
10474
10419
|
}
|
|
10475
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
10420
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10476
10421
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
10477
10422
|
signal,
|
|
10478
|
-
searchParams: buildSearchParams$2({
|
|
10423
|
+
searchParams: buildSearchParams$2({
|
|
10424
|
+
include_ghost_assignees,
|
|
10425
|
+
include_assignees
|
|
10426
|
+
})
|
|
10479
10427
|
}).json();
|
|
10480
10428
|
}
|
|
10481
10429
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -10506,7 +10454,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
10506
10454
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
10507
10455
|
}).json();
|
|
10508
10456
|
}
|
|
10509
|
-
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) {
|
|
10457
|
+
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) {
|
|
10510
10458
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
10511
10459
|
signal,
|
|
10512
10460
|
searchParams: buildSearchParams$2({
|
|
@@ -10519,11 +10467,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10519
10467
|
team_id,
|
|
10520
10468
|
assignee_user_id,
|
|
10521
10469
|
tag_id,
|
|
10470
|
+
include_ghost_assignees,
|
|
10522
10471
|
include_assignees
|
|
10523
10472
|
})
|
|
10524
10473
|
}).json();
|
|
10525
10474
|
}
|
|
10526
|
-
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) {
|
|
10475
|
+
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) {
|
|
10527
10476
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10528
10477
|
signal,
|
|
10529
10478
|
searchParams: buildSearchParams$2({
|
|
@@ -10536,6 +10485,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
10536
10485
|
team_id,
|
|
10537
10486
|
assignee_user_id,
|
|
10538
10487
|
tag_id,
|
|
10488
|
+
include_ghost_assignees,
|
|
10539
10489
|
include_assignees
|
|
10540
10490
|
})
|
|
10541
10491
|
}).json();
|
|
@@ -10637,12 +10587,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10637
10587
|
})
|
|
10638
10588
|
}).json();
|
|
10639
10589
|
}
|
|
10640
|
-
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
10641
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
10642
|
-
signal,
|
|
10643
|
-
json: data
|
|
10644
|
-
}).json();
|
|
10645
|
-
}
|
|
10646
10590
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10647
10591
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10648
10592
|
signal,
|
|
@@ -10779,7 +10723,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10779
10723
|
]))
|
|
10780
10724
|
});
|
|
10781
10725
|
//#endregion
|
|
10782
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10726
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10783
10727
|
async function getInvitations(httpClient, signal) {
|
|
10784
10728
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10785
10729
|
}
|
|
@@ -10796,7 +10740,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10796
10740
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10797
10741
|
}
|
|
10798
10742
|
//#endregion
|
|
10799
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10743
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10800
10744
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10801
10745
|
const searchParams = new URLSearchParams();
|
|
10802
10746
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10808,7 +10752,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10808
10752
|
return searchParams;
|
|
10809
10753
|
}
|
|
10810
10754
|
//#endregion
|
|
10811
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10755
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10812
10756
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10813
10757
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10814
10758
|
}
|
|
@@ -10822,7 +10766,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10822
10766
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10823
10767
|
}
|
|
10824
10768
|
//#endregion
|
|
10825
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10769
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10826
10770
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10827
10771
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10828
10772
|
}
|
|
@@ -10842,7 +10786,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10842
10786
|
});
|
|
10843
10787
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10844
10788
|
//#endregion
|
|
10845
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10789
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10846
10790
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10847
10791
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10848
10792
|
signal,
|
|
@@ -10853,12 +10797,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10853
10797
|
})).json();
|
|
10854
10798
|
}
|
|
10855
10799
|
//#endregion
|
|
10856
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10800
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10857
10801
|
async function getStatus(httpClient, signal) {
|
|
10858
10802
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10859
10803
|
}
|
|
10860
10804
|
//#endregion
|
|
10861
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10805
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10862
10806
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10863
10807
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10864
10808
|
signal,
|
|
@@ -10886,7 +10830,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10886
10830
|
return response.json();
|
|
10887
10831
|
}
|
|
10888
10832
|
//#endregion
|
|
10889
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10833
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10890
10834
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10891
10835
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10892
10836
|
}
|
|
@@ -14463,21 +14407,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14463
14407
|
}
|
|
14464
14408
|
//#endregion
|
|
14465
14409
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14466
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14467
|
-
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14468
|
-
signal,
|
|
14469
|
-
searchParams: buildSearchParams$2({
|
|
14470
|
-
workspace_id,
|
|
14471
|
-
entity_type,
|
|
14472
|
-
entity_id,
|
|
14473
|
-
action,
|
|
14474
|
-
user_id,
|
|
14475
|
-
page_size,
|
|
14476
|
-
page_number,
|
|
14477
|
-
export: export_
|
|
14478
|
-
})
|
|
14479
|
-
}).json();
|
|
14480
|
-
}
|
|
14481
14410
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14482
14411
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14483
14412
|
signal,
|
|
@@ -14636,22 +14565,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14636
14565
|
}
|
|
14637
14566
|
//#endregion
|
|
14638
14567
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14639
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts
|
|
14568
|
+
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) {
|
|
14640
14569
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14641
14570
|
signal,
|
|
14642
14571
|
searchParams: buildSearchParams$2({
|
|
14643
14572
|
user_id,
|
|
14644
14573
|
start_date,
|
|
14645
14574
|
end_date,
|
|
14575
|
+
ghost_id,
|
|
14646
14576
|
private: private_,
|
|
14647
14577
|
task_source,
|
|
14648
14578
|
unit,
|
|
14649
|
-
include_drafts
|
|
14650
|
-
include_task_estimates
|
|
14579
|
+
include_drafts
|
|
14651
14580
|
})
|
|
14652
14581
|
}).json();
|
|
14653
14582
|
}
|
|
14654
14583
|
//#endregion
|
|
14584
|
+
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
14585
|
+
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
14586
|
+
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
14587
|
+
}
|
|
14588
|
+
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
14589
|
+
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
14590
|
+
signal,
|
|
14591
|
+
json: data
|
|
14592
|
+
}).json();
|
|
14593
|
+
}
|
|
14594
|
+
//#endregion
|
|
14655
14595
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
14656
14596
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
14657
14597
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -14734,12 +14674,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
14734
14674
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
14735
14675
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
14736
14676
|
}
|
|
14737
|
-
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
14738
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
14739
|
-
signal,
|
|
14740
|
-
json: data
|
|
14741
|
-
}).json();
|
|
14742
|
-
}
|
|
14743
14677
|
//#endregion
|
|
14744
14678
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14745
14679
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -14965,7 +14899,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
14965
14899
|
}
|
|
14966
14900
|
//#endregion
|
|
14967
14901
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
14968
|
-
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,
|
|
14902
|
+
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) {
|
|
14969
14903
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
14970
14904
|
signal,
|
|
14971
14905
|
searchParams: buildSearchParams$2({
|
|
@@ -14977,7 +14911,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14977
14911
|
include_group_totals,
|
|
14978
14912
|
include_unassigned,
|
|
14979
14913
|
archived,
|
|
14980
|
-
completed,
|
|
14981
14914
|
private: private_,
|
|
14982
14915
|
name,
|
|
14983
14916
|
client_id,
|
|
@@ -14989,7 +14922,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14989
14922
|
start_date,
|
|
14990
14923
|
end_date,
|
|
14991
14924
|
user_id,
|
|
14992
|
-
only_me,
|
|
14993
14925
|
include_drafts,
|
|
14994
14926
|
cf_filter
|
|
14995
14927
|
})
|
|
@@ -15105,14 +15037,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
15105
15037
|
}
|
|
15106
15038
|
//#endregion
|
|
15107
15039
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
15108
|
-
async function
|
|
15109
|
-
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
15110
|
-
}
|
|
15111
|
-
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
15040
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
|
|
15112
15041
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
15113
15042
|
signal,
|
|
15114
15043
|
json: data,
|
|
15115
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
15116
15044
|
searchParams: buildSearchParams$2({
|
|
15117
15045
|
response_format,
|
|
15118
15046
|
include_dicts
|
|
@@ -15136,36 +15064,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
15136
15064
|
json: data
|
|
15137
15065
|
}).json();
|
|
15138
15066
|
}
|
|
15139
|
-
async function
|
|
15140
|
-
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
15141
|
-
signal,
|
|
15142
|
-
json: data
|
|
15143
|
-
}).json();
|
|
15144
|
-
}
|
|
15145
|
-
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
15067
|
+
async function getWorkloadReport(httpClient, workspace_id, data, signal) {
|
|
15146
15068
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
15147
|
-
signal,
|
|
15148
|
-
json: data,
|
|
15149
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
15150
|
-
}).json();
|
|
15151
|
-
}
|
|
15152
|
-
//#endregion
|
|
15153
|
-
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
15154
|
-
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15155
|
-
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
15156
|
-
signal,
|
|
15157
|
-
json: data
|
|
15158
|
-
}).json();
|
|
15159
|
-
}
|
|
15160
|
-
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15161
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
15162
15069
|
signal,
|
|
15163
15070
|
json: data
|
|
15164
15071
|
}).json();
|
|
15165
15072
|
}
|
|
15166
|
-
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
15167
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
15168
|
-
}
|
|
15169
15073
|
//#endregion
|
|
15170
15074
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
15171
15075
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -15198,7 +15102,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15198
15102
|
}
|
|
15199
15103
|
//#endregion
|
|
15200
15104
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15201
|
-
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
|
|
15105
|
+
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) {
|
|
15202
15106
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15203
15107
|
signal,
|
|
15204
15108
|
searchParams: buildSearchParams$2({
|
|
@@ -15210,56 +15114,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15210
15114
|
task_id,
|
|
15211
15115
|
include_drafts,
|
|
15212
15116
|
exclude_calendar_events,
|
|
15213
|
-
group_by_tags
|
|
15214
|
-
only_me
|
|
15215
|
-
})
|
|
15216
|
-
}).json();
|
|
15217
|
-
}
|
|
15218
|
-
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
15219
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
15220
|
-
signal,
|
|
15221
|
-
searchParams: buildSearchParams$2({
|
|
15222
|
-
keyword,
|
|
15223
|
-
per_group
|
|
15117
|
+
group_by_tags
|
|
15224
15118
|
})
|
|
15225
15119
|
}).json();
|
|
15226
15120
|
}
|
|
15227
15121
|
//#endregion
|
|
15228
|
-
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
15229
|
-
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
15230
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
15231
|
-
signal,
|
|
15232
|
-
json: data
|
|
15233
|
-
}).json();
|
|
15234
|
-
}
|
|
15235
|
-
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
15236
|
-
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
15237
|
-
}
|
|
15238
|
-
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
15239
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
15240
|
-
signal,
|
|
15241
|
-
json: data
|
|
15242
|
-
}).json();
|
|
15243
|
-
}
|
|
15244
|
-
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
15245
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
15246
|
-
}
|
|
15247
|
-
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
15248
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
15249
|
-
}
|
|
15250
|
-
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15251
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15252
|
-
}
|
|
15253
|
-
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15254
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15255
|
-
signal,
|
|
15256
|
-
json: data
|
|
15257
|
-
}).json();
|
|
15258
|
-
}
|
|
15259
|
-
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15260
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15261
|
-
}
|
|
15262
|
-
//#endregion
|
|
15263
15122
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15264
15123
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
15265
15124
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -15315,77 +15174,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15315
15174
|
}
|
|
15316
15175
|
//#endregion
|
|
15317
15176
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15318
|
-
async function
|
|
15319
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15320
|
-
signal,
|
|
15321
|
-
searchParams: buildSearchParams$2({
|
|
15322
|
-
project_id,
|
|
15323
|
-
source,
|
|
15324
|
-
priority,
|
|
15325
|
-
status_id,
|
|
15326
|
-
client_id,
|
|
15327
|
-
assignee_user_id,
|
|
15328
|
-
tag_id,
|
|
15329
|
-
team_id,
|
|
15330
|
-
user_tag_id,
|
|
15331
|
-
group_id,
|
|
15332
|
-
creator_id,
|
|
15333
|
-
name,
|
|
15334
|
-
start_date,
|
|
15335
|
-
end_date,
|
|
15336
|
-
start_date_from,
|
|
15337
|
-
start_date_to,
|
|
15338
|
-
end_date_from,
|
|
15339
|
-
end_date_to,
|
|
15340
|
-
private: private_,
|
|
15341
|
-
exclude_empty,
|
|
15342
|
-
include_unassigned,
|
|
15343
|
-
include_unmaterialized,
|
|
15344
|
-
collapse_recurring,
|
|
15345
|
-
include_assignees,
|
|
15346
|
-
min_days,
|
|
15347
|
-
include_drafts,
|
|
15348
|
-
cf_filter,
|
|
15349
|
-
user_cf_filter
|
|
15350
|
-
})
|
|
15351
|
-
}).json();
|
|
15352
|
-
}
|
|
15353
|
-
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) {
|
|
15354
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15355
|
-
signal,
|
|
15356
|
-
searchParams: buildSearchParams$2({
|
|
15357
|
-
team_id,
|
|
15358
|
-
project_id,
|
|
15359
|
-
source,
|
|
15360
|
-
priority,
|
|
15361
|
-
status_id,
|
|
15362
|
-
client_id,
|
|
15363
|
-
assignee_user_id,
|
|
15364
|
-
tag_id,
|
|
15365
|
-
user_tag_id,
|
|
15366
|
-
group_id,
|
|
15367
|
-
creator_id,
|
|
15368
|
-
name,
|
|
15369
|
-
start_date,
|
|
15370
|
-
end_date,
|
|
15371
|
-
start_date_from,
|
|
15372
|
-
start_date_to,
|
|
15373
|
-
end_date_from,
|
|
15374
|
-
end_date_to,
|
|
15375
|
-
private: private_,
|
|
15376
|
-
exclude_empty,
|
|
15377
|
-
include_unassigned,
|
|
15378
|
-
include_unmaterialized,
|
|
15379
|
-
collapse_recurring,
|
|
15380
|
-
include_assignees,
|
|
15381
|
-
min_days,
|
|
15382
|
-
include_drafts,
|
|
15383
|
-
cf_filter,
|
|
15384
|
-
user_cf_filter
|
|
15385
|
-
})
|
|
15386
|
-
}).json();
|
|
15387
|
-
}
|
|
15388
|
-
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) {
|
|
15177
|
+
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) {
|
|
15389
15178
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15390
15179
|
signal,
|
|
15391
15180
|
searchParams: buildSearchParams$2({
|
|
@@ -15409,14 +15198,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15409
15198
|
end_date_to,
|
|
15410
15199
|
private: private_,
|
|
15411
15200
|
exclude_empty,
|
|
15412
|
-
|
|
15413
|
-
include_unmaterialized,
|
|
15414
|
-
collapse_recurring,
|
|
15201
|
+
include_ghosts,
|
|
15415
15202
|
include_assignees,
|
|
15416
15203
|
min_days,
|
|
15417
15204
|
include_drafts,
|
|
15418
15205
|
cf_filter,
|
|
15419
|
-
user_cf_filter,
|
|
15420
15206
|
page,
|
|
15421
15207
|
per_page,
|
|
15422
15208
|
order_by
|
|
@@ -15553,18 +15339,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
15553
15339
|
}).json();
|
|
15554
15340
|
}
|
|
15555
15341
|
//#endregion
|
|
15556
|
-
//#region ../focus-queries/dist/time-
|
|
15557
|
-
async function
|
|
15558
|
-
return await httpClient.
|
|
15342
|
+
//#region ../focus-queries/dist/time-log-suggestions/requests.ts
|
|
15343
|
+
async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
|
|
15344
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
|
|
15559
15345
|
signal,
|
|
15560
|
-
|
|
15561
|
-
|
|
15562
|
-
|
|
15563
|
-
|
|
15564
|
-
|
|
15565
|
-
|
|
15566
|
-
|
|
15567
|
-
})
|
|
15346
|
+
json: data
|
|
15347
|
+
}).json();
|
|
15348
|
+
}
|
|
15349
|
+
async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
|
|
15350
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
|
|
15351
|
+
signal,
|
|
15352
|
+
json: data
|
|
15568
15353
|
}).json();
|
|
15569
15354
|
}
|
|
15570
15355
|
//#endregion
|
|
@@ -15606,6 +15391,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15606
15391
|
json: data
|
|
15607
15392
|
}).json();
|
|
15608
15393
|
}
|
|
15394
|
+
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
15395
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
15396
|
+
signal,
|
|
15397
|
+
searchParams: buildSearchParams$2({
|
|
15398
|
+
ghost_ids,
|
|
15399
|
+
start_date,
|
|
15400
|
+
end_date
|
|
15401
|
+
})
|
|
15402
|
+
}).json();
|
|
15403
|
+
}
|
|
15404
|
+
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
15405
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15406
|
+
signal,
|
|
15407
|
+
searchParams: buildSearchParams$2({
|
|
15408
|
+
from,
|
|
15409
|
+
to
|
|
15410
|
+
})
|
|
15411
|
+
}).json();
|
|
15412
|
+
}
|
|
15413
|
+
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15414
|
+
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15415
|
+
signal,
|
|
15416
|
+
json: data
|
|
15417
|
+
}).json();
|
|
15418
|
+
}
|
|
15419
|
+
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15420
|
+
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15421
|
+
signal,
|
|
15422
|
+
json: data
|
|
15423
|
+
}).json();
|
|
15424
|
+
}
|
|
15425
|
+
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15426
|
+
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15427
|
+
signal,
|
|
15428
|
+
json: data
|
|
15429
|
+
}).json();
|
|
15430
|
+
}
|
|
15609
15431
|
//#endregion
|
|
15610
15432
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15611
15433
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15798,6 +15620,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
15798
15620
|
json: data
|
|
15799
15621
|
}).json();
|
|
15800
15622
|
}
|
|
15623
|
+
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
15624
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
15625
|
+
}
|
|
15626
|
+
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15627
|
+
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15628
|
+
signal,
|
|
15629
|
+
json: data
|
|
15630
|
+
}).json();
|
|
15631
|
+
}
|
|
15632
|
+
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15633
|
+
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15634
|
+
signal,
|
|
15635
|
+
json: data
|
|
15636
|
+
}).json();
|
|
15637
|
+
}
|
|
15638
|
+
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15639
|
+
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15640
|
+
signal,
|
|
15641
|
+
json: data
|
|
15642
|
+
}).json();
|
|
15643
|
+
}
|
|
15801
15644
|
//#endregion
|
|
15802
15645
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
15803
15646
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -15814,9 +15657,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
15814
15657
|
json: data
|
|
15815
15658
|
}).json();
|
|
15816
15659
|
}
|
|
15817
|
-
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
15818
|
-
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
15819
|
-
}
|
|
15820
15660
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
15821
15661
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
15822
15662
|
}
|
|
@@ -15829,15 +15669,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
15829
15669
|
json: data
|
|
15830
15670
|
}).json();
|
|
15831
15671
|
}
|
|
15832
|
-
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
15833
|
-
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
15834
|
-
}
|
|
15835
|
-
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
15836
|
-
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
15837
|
-
signal,
|
|
15838
|
-
json: data
|
|
15839
|
-
}).json();
|
|
15840
|
-
}
|
|
15841
15672
|
//#endregion
|
|
15842
15673
|
//#region ../operations/build/index.public.js
|
|
15843
15674
|
function callGeneratedRequest(request, args) {
|
|
@@ -15973,17 +15804,17 @@ const generatedFocusOperations = [
|
|
|
15973
15804
|
]))
|
|
15974
15805
|
},
|
|
15975
15806
|
{
|
|
15976
|
-
id: "focus.audit-log.
|
|
15807
|
+
id: "focus.audit-log.list",
|
|
15977
15808
|
family: "focus",
|
|
15978
15809
|
resource: "audit-log",
|
|
15979
|
-
action: "
|
|
15980
|
-
title: "
|
|
15981
|
-
description: "
|
|
15810
|
+
action: "list",
|
|
15811
|
+
title: "List Audit Log",
|
|
15812
|
+
description: "List Audit Log.",
|
|
15982
15813
|
safety: "read",
|
|
15983
15814
|
destructive: false,
|
|
15984
15815
|
cli: {
|
|
15985
15816
|
group: ["audit-log"],
|
|
15986
|
-
command: "
|
|
15817
|
+
command: "list",
|
|
15987
15818
|
interactive: "hidden"
|
|
15988
15819
|
},
|
|
15989
15820
|
mcp: { entityTool: "audit-log" },
|
|
@@ -15997,14 +15828,14 @@ const generatedFocusOperations = [
|
|
|
15997
15828
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15998
15829
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15999
15830
|
to: /* @__PURE__ */ string$1(),
|
|
16000
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16001
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15831
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16002
15832
|
}),
|
|
16003
15833
|
execute: (input, { client }) => {
|
|
16004
15834
|
const data = input;
|
|
16005
|
-
return client.runGeneratedRequest("
|
|
15835
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
16006
15836
|
client.httpClient,
|
|
16007
15837
|
client.organizationId,
|
|
15838
|
+
client.workspaceIdNumber,
|
|
16008
15839
|
data.from,
|
|
16009
15840
|
data.to,
|
|
16010
15841
|
data,
|
|
@@ -16013,79 +15844,87 @@ const generatedFocusOperations = [
|
|
|
16013
15844
|
}
|
|
16014
15845
|
},
|
|
16015
15846
|
{
|
|
16016
|
-
id: "focus.
|
|
15847
|
+
id: "focus.capacities.get-computations",
|
|
16017
15848
|
family: "focus",
|
|
16018
|
-
resource: "
|
|
16019
|
-
action: "
|
|
16020
|
-
title: "
|
|
16021
|
-
description: "
|
|
15849
|
+
resource: "capacities",
|
|
15850
|
+
action: "get-computations",
|
|
15851
|
+
title: "Get Computations Capacities",
|
|
15852
|
+
description: "Get Computations Capacities.",
|
|
16022
15853
|
safety: "read",
|
|
16023
15854
|
destructive: false,
|
|
16024
15855
|
cli: {
|
|
16025
|
-
group: ["
|
|
16026
|
-
command: "
|
|
15856
|
+
group: ["capacities"],
|
|
15857
|
+
command: "get-computations",
|
|
16027
15858
|
interactive: "hidden"
|
|
16028
15859
|
},
|
|
16029
|
-
mcp: { entityTool: "
|
|
15860
|
+
mcp: { entityTool: "capacities" },
|
|
16030
15861
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16031
|
-
|
|
16032
|
-
|
|
16033
|
-
|
|
16034
|
-
|
|
16035
|
-
|
|
16036
|
-
|
|
16037
|
-
|
|
16038
|
-
|
|
16039
|
-
|
|
16040
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15862
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
15863
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
15864
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
15865
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
15866
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
15867
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
15868
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
15869
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
15870
|
+
user_id: /* @__PURE__ */ number$2()
|
|
16041
15871
|
}),
|
|
16042
15872
|
execute: (input, { client }) => {
|
|
16043
15873
|
const data = input;
|
|
16044
|
-
return client.runGeneratedRequest("
|
|
15874
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
16045
15875
|
client.httpClient,
|
|
16046
15876
|
client.organizationId,
|
|
16047
15877
|
client.workspaceIdNumber,
|
|
16048
|
-
data.
|
|
16049
|
-
data.to,
|
|
15878
|
+
data.group,
|
|
16050
15879
|
data,
|
|
16051
15880
|
void 0
|
|
16052
15881
|
]));
|
|
16053
15882
|
}
|
|
16054
15883
|
},
|
|
16055
15884
|
{
|
|
16056
|
-
id: "focus.capacities.
|
|
15885
|
+
id: "focus.capacities.settings-list",
|
|
16057
15886
|
family: "focus",
|
|
16058
15887
|
resource: "capacities",
|
|
16059
|
-
action: "
|
|
16060
|
-
title: "
|
|
16061
|
-
description: "
|
|
15888
|
+
action: "settings-list",
|
|
15889
|
+
title: "Settings List Capacities",
|
|
15890
|
+
description: "Settings List Capacities.",
|
|
16062
15891
|
safety: "read",
|
|
16063
15892
|
destructive: false,
|
|
16064
15893
|
cli: {
|
|
16065
|
-
group: ["capacities"],
|
|
16066
|
-
command: "
|
|
15894
|
+
group: ["capacities", "settings"],
|
|
15895
|
+
command: "list",
|
|
16067
15896
|
interactive: "hidden"
|
|
16068
15897
|
},
|
|
16069
15898
|
mcp: { entityTool: "capacities" },
|
|
16070
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
|
|
16076
|
-
|
|
16077
|
-
|
|
16078
|
-
|
|
16079
|
-
|
|
16080
|
-
|
|
15899
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
15900
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
15901
|
+
client.httpClient,
|
|
15902
|
+
client.workspaceIdNumber,
|
|
15903
|
+
void 0
|
|
15904
|
+
]))
|
|
15905
|
+
},
|
|
15906
|
+
{
|
|
15907
|
+
id: "focus.capacities.settings-update",
|
|
15908
|
+
family: "focus",
|
|
15909
|
+
resource: "capacities",
|
|
15910
|
+
action: "settings-update",
|
|
15911
|
+
title: "Settings Update Capacities",
|
|
15912
|
+
description: "Settings Update Capacities.",
|
|
15913
|
+
safety: "update",
|
|
15914
|
+
destructive: false,
|
|
15915
|
+
cli: {
|
|
15916
|
+
group: ["capacities", "settings"],
|
|
15917
|
+
command: "update",
|
|
15918
|
+
interactive: "default"
|
|
15919
|
+
},
|
|
15920
|
+
mcp: { entityTool: "capacities" },
|
|
15921
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
16081
15922
|
execute: (input, { client }) => {
|
|
16082
15923
|
const data = input;
|
|
16083
|
-
return client.runGeneratedRequest("
|
|
15924
|
+
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
16084
15925
|
client.httpClient,
|
|
16085
|
-
client.organizationId,
|
|
16086
15926
|
client.workspaceIdNumber,
|
|
16087
|
-
data.
|
|
16088
|
-
data,
|
|
15927
|
+
data.payload ?? data.data ?? data,
|
|
16089
15928
|
void 0
|
|
16090
15929
|
]));
|
|
16091
15930
|
}
|
|
@@ -16284,7 +16123,8 @@ const generatedFocusOperations = [
|
|
|
16284
16123
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
16285
16124
|
start_at: apiDateTimeString,
|
|
16286
16125
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16287
|
-
})))
|
|
16126
|
+
}))),
|
|
16127
|
+
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16288
16128
|
}) }),
|
|
16289
16129
|
execute: (input, { client }) => {
|
|
16290
16130
|
const data = input;
|
|
@@ -16339,7 +16179,6 @@ const generatedFocusOperations = [
|
|
|
16339
16179
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16340
16180
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16341
16181
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16342
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16343
16182
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16344
16183
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16345
16184
|
}),
|
|
@@ -16372,7 +16211,6 @@ const generatedFocusOperations = [
|
|
|
16372
16211
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16373
16212
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16374
16213
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16375
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16376
16214
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16377
16215
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16378
16216
|
}))),
|
|
@@ -16428,11 +16266,7 @@ const generatedFocusOperations = [
|
|
|
16428
16266
|
},
|
|
16429
16267
|
mcp: { entityTool: "custom-fields" },
|
|
16430
16268
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16431
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16432
|
-
"project",
|
|
16433
|
-
"task",
|
|
16434
|
-
"user"
|
|
16435
|
-
]),
|
|
16269
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
16436
16270
|
field_type: /* @__PURE__ */ picklist$1([
|
|
16437
16271
|
"select",
|
|
16438
16272
|
"multi_select",
|
|
@@ -16765,11 +16599,7 @@ const generatedFocusOperations = [
|
|
|
16765
16599
|
},
|
|
16766
16600
|
mcp: { entityTool: "custom-fields" },
|
|
16767
16601
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16768
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16769
|
-
"project",
|
|
16770
|
-
"task",
|
|
16771
|
-
"user"
|
|
16772
|
-
]),
|
|
16602
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
16773
16603
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
16774
16604
|
}) }),
|
|
16775
16605
|
execute: (input, { client }) => {
|
|
@@ -16783,37 +16613,6 @@ const generatedFocusOperations = [
|
|
|
16783
16613
|
]));
|
|
16784
16614
|
}
|
|
16785
16615
|
},
|
|
16786
|
-
{
|
|
16787
|
-
id: "focus.custom-fields.update-user-custom-field-values",
|
|
16788
|
-
family: "focus",
|
|
16789
|
-
resource: "custom-fields",
|
|
16790
|
-
action: "update-user-custom-field-values",
|
|
16791
|
-
title: "Update User Custom Field Values Custom Fields",
|
|
16792
|
-
description: "Update User Custom Field Values Custom Fields.",
|
|
16793
|
-
safety: "update",
|
|
16794
|
-
destructive: false,
|
|
16795
|
-
cli: {
|
|
16796
|
-
group: ["custom-fields"],
|
|
16797
|
-
command: "update-user-custom-field-values",
|
|
16798
|
-
interactive: "hidden"
|
|
16799
|
-
},
|
|
16800
|
-
mcp: { entityTool: "custom-fields" },
|
|
16801
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16802
|
-
payload: /* @__PURE__ */ unknown$1(),
|
|
16803
|
-
user_id: /* @__PURE__ */ number$2()
|
|
16804
|
-
}),
|
|
16805
|
-
execute: (input, { client }) => {
|
|
16806
|
-
const data = input;
|
|
16807
|
-
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
16808
|
-
client.httpClient,
|
|
16809
|
-
client.organizationId,
|
|
16810
|
-
client.workspaceIdNumber,
|
|
16811
|
-
data.user_id,
|
|
16812
|
-
data.payload ?? data.data ?? data,
|
|
16813
|
-
void 0
|
|
16814
|
-
]));
|
|
16815
|
-
}
|
|
16816
|
-
},
|
|
16817
16616
|
{
|
|
16818
16617
|
id: "focus.goals.create",
|
|
16819
16618
|
family: "focus",
|
|
@@ -17033,22 +16832,10 @@ const generatedFocusOperations = [
|
|
|
17033
16832
|
goal_id: /* @__PURE__ */ number$2(),
|
|
17034
16833
|
payload: /* @__PURE__ */ looseObject({
|
|
17035
16834
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17036
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17037
16835
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17038
16836
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17039
16837
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17040
|
-
|
|
17041
|
-
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
17042
|
-
"daily",
|
|
17043
|
-
"weekly",
|
|
17044
|
-
"daily_workdays",
|
|
17045
|
-
"monthly"
|
|
17046
|
-
])),
|
|
17047
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17048
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17049
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17050
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17051
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16838
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
17052
16839
|
})
|
|
17053
16840
|
}),
|
|
17054
16841
|
execute: (input, { client }) => {
|
|
@@ -18381,7 +18168,6 @@ const generatedFocusOperations = [
|
|
|
18381
18168
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18382
18169
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18383
18170
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18384
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18385
18171
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18386
18172
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18387
18173
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -18389,7 +18175,6 @@ const generatedFocusOperations = [
|
|
|
18389
18175
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18390
18176
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18391
18177
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18392
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18393
18178
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18394
18179
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18395
18180
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -20574,10 +20359,7 @@ const generatedFocusOperations = [
|
|
|
20574
20359
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20575
20360
|
name: /* @__PURE__ */ string$1(),
|
|
20576
20361
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20577
|
-
}))
|
|
20578
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20579
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20580
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20362
|
+
}))
|
|
20581
20363
|
}),
|
|
20582
20364
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20583
20365
|
}),
|
|
@@ -20618,28 +20400,6 @@ const generatedFocusOperations = [
|
|
|
20618
20400
|
]));
|
|
20619
20401
|
}
|
|
20620
20402
|
},
|
|
20621
|
-
{
|
|
20622
|
-
id: "focus.reports.get-forecast-availability",
|
|
20623
|
-
family: "focus",
|
|
20624
|
-
resource: "reports",
|
|
20625
|
-
action: "get-forecast-availability",
|
|
20626
|
-
title: "Get Forecast Availability Reports",
|
|
20627
|
-
description: "Get Forecast Availability Reports.",
|
|
20628
|
-
safety: "read",
|
|
20629
|
-
destructive: false,
|
|
20630
|
-
cli: {
|
|
20631
|
-
group: ["reports"],
|
|
20632
|
-
command: "get-forecast-availability",
|
|
20633
|
-
interactive: "hidden"
|
|
20634
|
-
},
|
|
20635
|
-
mcp: { entityTool: "reports" },
|
|
20636
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
20637
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
20638
|
-
client.httpClient,
|
|
20639
|
-
client.workspaceIdNumber,
|
|
20640
|
-
void 0
|
|
20641
|
-
]))
|
|
20642
|
-
},
|
|
20643
20403
|
{
|
|
20644
20404
|
id: "focus.reports.get-profitability",
|
|
20645
20405
|
family: "focus",
|
|
@@ -20699,17 +20459,9 @@ const generatedFocusOperations = [
|
|
|
20699
20459
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20700
20460
|
name: /* @__PURE__ */ string$1(),
|
|
20701
20461
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20702
|
-
}))
|
|
20703
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20704
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20705
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20462
|
+
}))
|
|
20706
20463
|
}),
|
|
20707
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20708
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20709
|
-
"csv",
|
|
20710
|
-
"xlsx",
|
|
20711
|
-
"pdf"
|
|
20712
|
-
]))
|
|
20464
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20713
20465
|
}),
|
|
20714
20466
|
execute: (input, { client }) => {
|
|
20715
20467
|
const data = input;
|
|
@@ -20719,23 +20471,22 @@ const generatedFocusOperations = [
|
|
|
20719
20471
|
data.payload ?? data.data ?? data,
|
|
20720
20472
|
data.response_format,
|
|
20721
20473
|
data.include_dicts,
|
|
20722
|
-
data.xTogglReportExport,
|
|
20723
20474
|
void 0
|
|
20724
20475
|
]));
|
|
20725
20476
|
}
|
|
20726
20477
|
},
|
|
20727
20478
|
{
|
|
20728
|
-
id: "focus.reports.get-
|
|
20479
|
+
id: "focus.reports.get-workload",
|
|
20729
20480
|
family: "focus",
|
|
20730
20481
|
resource: "reports",
|
|
20731
|
-
action: "get-
|
|
20732
|
-
title: "Get
|
|
20733
|
-
description: "Get
|
|
20482
|
+
action: "get-workload",
|
|
20483
|
+
title: "Get Workload Reports",
|
|
20484
|
+
description: "Get Workload Reports.",
|
|
20734
20485
|
safety: "update",
|
|
20735
20486
|
destructive: false,
|
|
20736
20487
|
cli: {
|
|
20737
20488
|
group: ["reports"],
|
|
20738
|
-
command: "get-
|
|
20489
|
+
command: "get-workload",
|
|
20739
20490
|
interactive: "hidden"
|
|
20740
20491
|
},
|
|
20741
20492
|
mcp: { entityTool: "reports" },
|
|
@@ -20781,205 +20532,14 @@ const generatedFocusOperations = [
|
|
|
20781
20532
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20782
20533
|
name: /* @__PURE__ */ string$1(),
|
|
20783
20534
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20784
|
-
}))
|
|
20785
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20786
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20787
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20535
|
+
}))
|
|
20788
20536
|
}) }),
|
|
20789
|
-
execute: (input, { client }) => {
|
|
20790
|
-
const data = input;
|
|
20791
|
-
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
20792
|
-
client.httpClient,
|
|
20793
|
-
client.workspaceIdNumber,
|
|
20794
|
-
data.payload ?? data.data ?? data,
|
|
20795
|
-
void 0
|
|
20796
|
-
]));
|
|
20797
|
-
}
|
|
20798
|
-
},
|
|
20799
|
-
{
|
|
20800
|
-
id: "focus.reports.get-workload",
|
|
20801
|
-
family: "focus",
|
|
20802
|
-
resource: "reports",
|
|
20803
|
-
action: "get-workload",
|
|
20804
|
-
title: "Get Workload Reports",
|
|
20805
|
-
description: "Get Workload Reports.",
|
|
20806
|
-
safety: "update",
|
|
20807
|
-
destructive: false,
|
|
20808
|
-
cli: {
|
|
20809
|
-
group: ["reports"],
|
|
20810
|
-
command: "get-workload",
|
|
20811
|
-
interactive: "hidden"
|
|
20812
|
-
},
|
|
20813
|
-
mcp: { entityTool: "reports" },
|
|
20814
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20815
|
-
payload: /* @__PURE__ */ looseObject({
|
|
20816
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20817
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
20818
|
-
function: /* @__PURE__ */ string$1(),
|
|
20819
|
-
property: /* @__PURE__ */ string$1()
|
|
20820
|
-
}),
|
|
20821
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20822
|
-
property: /* @__PURE__ */ string$1()
|
|
20823
|
-
})),
|
|
20824
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20825
|
-
function: /* @__PURE__ */ string$1(),
|
|
20826
|
-
property: /* @__PURE__ */ string$1()
|
|
20827
|
-
})),
|
|
20828
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20829
|
-
currency: /* @__PURE__ */ string$1(),
|
|
20830
|
-
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20831
|
-
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
20832
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20833
|
-
property: /* @__PURE__ */ string$1()
|
|
20834
|
-
})),
|
|
20835
|
-
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20836
|
-
property: /* @__PURE__ */ string$1(),
|
|
20837
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
20838
|
-
})),
|
|
20839
|
-
limit: /* @__PURE__ */ number$2(),
|
|
20840
|
-
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20841
|
-
direction: /* @__PURE__ */ string$1(),
|
|
20842
|
-
nulls: /* @__PURE__ */ string$1(),
|
|
20843
|
-
property: /* @__PURE__ */ string$1()
|
|
20844
|
-
})),
|
|
20845
|
-
pagination: /* @__PURE__ */ looseObject({
|
|
20846
|
-
page: /* @__PURE__ */ number$2(),
|
|
20847
|
-
per_page: /* @__PURE__ */ number$2()
|
|
20848
|
-
}),
|
|
20849
|
-
period: /* @__PURE__ */ looseObject({
|
|
20850
|
-
from: /* @__PURE__ */ string$1(),
|
|
20851
|
-
preset: /* @__PURE__ */ string$1(),
|
|
20852
|
-
to: /* @__PURE__ */ string$1()
|
|
20853
|
-
}),
|
|
20854
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20855
|
-
name: /* @__PURE__ */ string$1(),
|
|
20856
|
-
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20857
|
-
})),
|
|
20858
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20859
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20860
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20861
|
-
}),
|
|
20862
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20863
|
-
"csv",
|
|
20864
|
-
"xlsx",
|
|
20865
|
-
"pdf"
|
|
20866
|
-
]))
|
|
20867
|
-
}),
|
|
20868
20537
|
execute: (input, { client }) => {
|
|
20869
20538
|
const data = input;
|
|
20870
20539
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
20871
20540
|
client.httpClient,
|
|
20872
20541
|
client.workspaceIdNumber,
|
|
20873
20542
|
data.payload ?? data.data ?? data,
|
|
20874
|
-
data.xTogglReportExport,
|
|
20875
|
-
void 0
|
|
20876
|
-
]));
|
|
20877
|
-
}
|
|
20878
|
-
},
|
|
20879
|
-
{
|
|
20880
|
-
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
20881
|
-
family: "focus",
|
|
20882
|
-
resource: "reportschedules",
|
|
20883
|
-
action: "delete-shared-report-schedule",
|
|
20884
|
-
title: "Delete Shared Report Schedule Reportschedules",
|
|
20885
|
-
description: "Delete Shared Report Schedule Reportschedules.",
|
|
20886
|
-
safety: "delete",
|
|
20887
|
-
destructive: true,
|
|
20888
|
-
cli: {
|
|
20889
|
-
group: ["reportschedules"],
|
|
20890
|
-
command: "delete-shared-report-schedule",
|
|
20891
|
-
interactive: "default"
|
|
20892
|
-
},
|
|
20893
|
-
mcp: { entityTool: "reportschedules" },
|
|
20894
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
20895
|
-
execute: (input, { client }) => {
|
|
20896
|
-
const data = input;
|
|
20897
|
-
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
20898
|
-
client.httpClient,
|
|
20899
|
-
client.workspaceIdNumber,
|
|
20900
|
-
data.id,
|
|
20901
|
-
void 0
|
|
20902
|
-
]));
|
|
20903
|
-
}
|
|
20904
|
-
},
|
|
20905
|
-
{
|
|
20906
|
-
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
20907
|
-
family: "focus",
|
|
20908
|
-
resource: "reportschedules",
|
|
20909
|
-
action: "upsert-saved-view-schedule",
|
|
20910
|
-
title: "Upsert Saved View Schedule Reportschedules",
|
|
20911
|
-
description: "Upsert Saved View Schedule Reportschedules.",
|
|
20912
|
-
safety: "update",
|
|
20913
|
-
destructive: false,
|
|
20914
|
-
cli: {
|
|
20915
|
-
group: ["reportschedules"],
|
|
20916
|
-
command: "upsert-saved-view-schedule",
|
|
20917
|
-
interactive: "default"
|
|
20918
|
-
},
|
|
20919
|
-
mcp: { entityTool: "reportschedules" },
|
|
20920
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20921
|
-
id: /* @__PURE__ */ number$2(),
|
|
20922
|
-
payload: /* @__PURE__ */ looseObject({
|
|
20923
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
20924
|
-
"daily",
|
|
20925
|
-
"weekly",
|
|
20926
|
-
"monthly"
|
|
20927
|
-
]),
|
|
20928
|
-
time: /* @__PURE__ */ string$1(),
|
|
20929
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20930
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20931
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20932
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
20933
|
-
})
|
|
20934
|
-
}),
|
|
20935
|
-
execute: (input, { client }) => {
|
|
20936
|
-
const data = input;
|
|
20937
|
-
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
20938
|
-
client.httpClient,
|
|
20939
|
-
client.workspaceIdNumber,
|
|
20940
|
-
data.id,
|
|
20941
|
-
data.payload ?? data.data ?? data,
|
|
20942
|
-
void 0
|
|
20943
|
-
]));
|
|
20944
|
-
}
|
|
20945
|
-
},
|
|
20946
|
-
{
|
|
20947
|
-
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
20948
|
-
family: "focus",
|
|
20949
|
-
resource: "reportschedules",
|
|
20950
|
-
action: "upsert-shared-report-schedule",
|
|
20951
|
-
title: "Upsert Shared Report Schedule Reportschedules",
|
|
20952
|
-
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
20953
|
-
safety: "update",
|
|
20954
|
-
destructive: false,
|
|
20955
|
-
cli: {
|
|
20956
|
-
group: ["reportschedules"],
|
|
20957
|
-
command: "upsert-shared-report-schedule",
|
|
20958
|
-
interactive: "default"
|
|
20959
|
-
},
|
|
20960
|
-
mcp: { entityTool: "reportschedules" },
|
|
20961
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20962
|
-
id: /* @__PURE__ */ number$2(),
|
|
20963
|
-
payload: /* @__PURE__ */ looseObject({
|
|
20964
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
20965
|
-
"daily",
|
|
20966
|
-
"weekly",
|
|
20967
|
-
"monthly"
|
|
20968
|
-
]),
|
|
20969
|
-
time: /* @__PURE__ */ string$1(),
|
|
20970
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20971
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20972
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20973
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
20974
|
-
})
|
|
20975
|
-
}),
|
|
20976
|
-
execute: (input, { client }) => {
|
|
20977
|
-
const data = input;
|
|
20978
|
-
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
20979
|
-
client.httpClient,
|
|
20980
|
-
client.workspaceIdNumber,
|
|
20981
|
-
data.id,
|
|
20982
|
-
data.payload ?? data.data ?? data,
|
|
20983
20543
|
void 0
|
|
20984
20544
|
]));
|
|
20985
20545
|
}
|
|
@@ -21017,9 +20577,7 @@ const generatedFocusOperations = [
|
|
|
21017
20577
|
"reports.detailed",
|
|
21018
20578
|
"reports.utilization",
|
|
21019
20579
|
"reports.workload",
|
|
21020
|
-
"reports.profitability"
|
|
21021
|
-
"reports.time-off",
|
|
21022
|
-
"reports.time-accounting"
|
|
20580
|
+
"reports.profitability"
|
|
21023
20581
|
]),
|
|
21024
20582
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21025
20583
|
}) }),
|
|
@@ -21143,42 +20701,12 @@ const generatedFocusOperations = [
|
|
|
21143
20701
|
}
|
|
21144
20702
|
},
|
|
21145
20703
|
{
|
|
21146
|
-
id: "focus.search.
|
|
20704
|
+
id: "focus.search.search",
|
|
21147
20705
|
family: "focus",
|
|
21148
20706
|
resource: "search",
|
|
21149
|
-
action: "
|
|
21150
|
-
title: "
|
|
21151
|
-
description: "
|
|
21152
|
-
safety: "read",
|
|
21153
|
-
destructive: false,
|
|
21154
|
-
cli: {
|
|
21155
|
-
group: ["search"],
|
|
21156
|
-
command: "mentions",
|
|
21157
|
-
interactive: "hidden"
|
|
21158
|
-
},
|
|
21159
|
-
mcp: { entityTool: "search" },
|
|
21160
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21161
|
-
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21162
|
-
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21163
|
-
}),
|
|
21164
|
-
execute: (input, { client }) => {
|
|
21165
|
-
const data = input;
|
|
21166
|
-
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
21167
|
-
client.httpClient,
|
|
21168
|
-
client.organizationId,
|
|
21169
|
-
client.workspaceIdNumber,
|
|
21170
|
-
data,
|
|
21171
|
-
void 0
|
|
21172
|
-
]));
|
|
21173
|
-
}
|
|
21174
|
-
},
|
|
21175
|
-
{
|
|
21176
|
-
id: "focus.search.search",
|
|
21177
|
-
family: "focus",
|
|
21178
|
-
resource: "search",
|
|
21179
|
-
action: "search",
|
|
21180
|
-
title: "Search Search",
|
|
21181
|
-
description: "Search Search.",
|
|
20707
|
+
action: "search",
|
|
20708
|
+
title: "Search Search",
|
|
20709
|
+
description: "Search Search.",
|
|
21182
20710
|
safety: "read",
|
|
21183
20711
|
destructive: false,
|
|
21184
20712
|
cli: {
|
|
@@ -21199,240 +20727,6 @@ const generatedFocusOperations = [
|
|
|
21199
20727
|
]));
|
|
21200
20728
|
}
|
|
21201
20729
|
},
|
|
21202
|
-
{
|
|
21203
|
-
id: "focus.sharedreports.add-shared-report-grants",
|
|
21204
|
-
family: "focus",
|
|
21205
|
-
resource: "sharedreports",
|
|
21206
|
-
action: "add-shared-report-grants",
|
|
21207
|
-
title: "Add Shared Report Grants Sharedreports",
|
|
21208
|
-
description: "Add Shared Report Grants Sharedreports.",
|
|
21209
|
-
safety: "update",
|
|
21210
|
-
destructive: false,
|
|
21211
|
-
cli: {
|
|
21212
|
-
group: ["sharedreports"],
|
|
21213
|
-
command: "add-shared-report-grants",
|
|
21214
|
-
interactive: "default"
|
|
21215
|
-
},
|
|
21216
|
-
mcp: { entityTool: "sharedreports" },
|
|
21217
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21218
|
-
id: /* @__PURE__ */ number$2(),
|
|
21219
|
-
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21220
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21221
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21222
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21223
|
-
})) })
|
|
21224
|
-
}),
|
|
21225
|
-
execute: (input, { client }) => {
|
|
21226
|
-
const data = input;
|
|
21227
|
-
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
21228
|
-
client.httpClient,
|
|
21229
|
-
client.workspaceIdNumber,
|
|
21230
|
-
data.id,
|
|
21231
|
-
data.payload ?? data.data ?? data,
|
|
21232
|
-
void 0
|
|
21233
|
-
]));
|
|
21234
|
-
}
|
|
21235
|
-
},
|
|
21236
|
-
{
|
|
21237
|
-
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
21238
|
-
family: "focus",
|
|
21239
|
-
resource: "sharedreports",
|
|
21240
|
-
action: "get-saved-view-shared-report",
|
|
21241
|
-
title: "Get Saved View Shared Report Sharedreports",
|
|
21242
|
-
description: "Get Saved View Shared Report Sharedreports.",
|
|
21243
|
-
safety: "read",
|
|
21244
|
-
destructive: false,
|
|
21245
|
-
cli: {
|
|
21246
|
-
group: ["sharedreports"],
|
|
21247
|
-
command: "get-saved-view-shared-report",
|
|
21248
|
-
interactive: "available"
|
|
21249
|
-
},
|
|
21250
|
-
mcp: { entityTool: "sharedreports" },
|
|
21251
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21252
|
-
execute: (input, { client }) => {
|
|
21253
|
-
const data = input;
|
|
21254
|
-
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
21255
|
-
client.httpClient,
|
|
21256
|
-
client.workspaceIdNumber,
|
|
21257
|
-
data.id,
|
|
21258
|
-
void 0
|
|
21259
|
-
]));
|
|
21260
|
-
}
|
|
21261
|
-
},
|
|
21262
|
-
{
|
|
21263
|
-
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21264
|
-
family: "focus",
|
|
21265
|
-
resource: "sharedreports",
|
|
21266
|
-
action: "get-shared-report-for-viewer",
|
|
21267
|
-
title: "Get Shared Report For Viewer Sharedreports",
|
|
21268
|
-
description: "Get Shared Report For Viewer Sharedreports.",
|
|
21269
|
-
safety: "read",
|
|
21270
|
-
destructive: false,
|
|
21271
|
-
cli: {
|
|
21272
|
-
group: ["sharedreports"],
|
|
21273
|
-
command: "get-shared-report-for-viewer",
|
|
21274
|
-
interactive: "available"
|
|
21275
|
-
},
|
|
21276
|
-
mcp: { entityTool: "sharedreports" },
|
|
21277
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21278
|
-
execute: (input, { client }) => {
|
|
21279
|
-
const data = input;
|
|
21280
|
-
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
21281
|
-
client.httpClient,
|
|
21282
|
-
client.workspaceIdNumber,
|
|
21283
|
-
data.id,
|
|
21284
|
-
void 0
|
|
21285
|
-
]));
|
|
21286
|
-
}
|
|
21287
|
-
},
|
|
21288
|
-
{
|
|
21289
|
-
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
21290
|
-
family: "focus",
|
|
21291
|
-
resource: "sharedreports",
|
|
21292
|
-
action: "get-shared-reports-shared-by-me",
|
|
21293
|
-
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
21294
|
-
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
21295
|
-
safety: "read",
|
|
21296
|
-
destructive: false,
|
|
21297
|
-
cli: {
|
|
21298
|
-
group: ["sharedreports"],
|
|
21299
|
-
command: "get-shared-reports-shared-by-me",
|
|
21300
|
-
interactive: "hidden"
|
|
21301
|
-
},
|
|
21302
|
-
mcp: { entityTool: "sharedreports" },
|
|
21303
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21304
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
21305
|
-
client.httpClient,
|
|
21306
|
-
client.workspaceIdNumber,
|
|
21307
|
-
void 0
|
|
21308
|
-
]))
|
|
21309
|
-
},
|
|
21310
|
-
{
|
|
21311
|
-
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
21312
|
-
family: "focus",
|
|
21313
|
-
resource: "sharedreports",
|
|
21314
|
-
action: "get-shared-reports-shared-with-me",
|
|
21315
|
-
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
21316
|
-
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
21317
|
-
safety: "read",
|
|
21318
|
-
destructive: false,
|
|
21319
|
-
cli: {
|
|
21320
|
-
group: ["sharedreports"],
|
|
21321
|
-
command: "get-shared-reports-shared-with-me",
|
|
21322
|
-
interactive: "hidden"
|
|
21323
|
-
},
|
|
21324
|
-
mcp: { entityTool: "sharedreports" },
|
|
21325
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21326
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
21327
|
-
client.httpClient,
|
|
21328
|
-
client.workspaceIdNumber,
|
|
21329
|
-
void 0
|
|
21330
|
-
]))
|
|
21331
|
-
},
|
|
21332
|
-
{
|
|
21333
|
-
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21334
|
-
family: "focus",
|
|
21335
|
-
resource: "sharedreports",
|
|
21336
|
-
action: "revoke-shared-report-grant",
|
|
21337
|
-
title: "Revoke Shared Report Grant Sharedreports",
|
|
21338
|
-
description: "Revoke Shared Report Grant Sharedreports.",
|
|
21339
|
-
safety: "delete",
|
|
21340
|
-
destructive: true,
|
|
21341
|
-
cli: {
|
|
21342
|
-
group: ["sharedreports"],
|
|
21343
|
-
command: "revoke-shared-report-grant",
|
|
21344
|
-
interactive: "default"
|
|
21345
|
-
},
|
|
21346
|
-
mcp: { entityTool: "sharedreports" },
|
|
21347
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21348
|
-
grant_id: /* @__PURE__ */ number$2(),
|
|
21349
|
-
id: /* @__PURE__ */ number$2()
|
|
21350
|
-
}),
|
|
21351
|
-
execute: (input, { client }) => {
|
|
21352
|
-
const data = input;
|
|
21353
|
-
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
21354
|
-
client.httpClient,
|
|
21355
|
-
client.workspaceIdNumber,
|
|
21356
|
-
data.id,
|
|
21357
|
-
data.grant_id,
|
|
21358
|
-
void 0
|
|
21359
|
-
]));
|
|
21360
|
-
}
|
|
21361
|
-
},
|
|
21362
|
-
{
|
|
21363
|
-
id: "focus.sharedreports.share-saved-view",
|
|
21364
|
-
family: "focus",
|
|
21365
|
-
resource: "sharedreports",
|
|
21366
|
-
action: "share-saved-view",
|
|
21367
|
-
title: "Share Saved View Sharedreports",
|
|
21368
|
-
description: "Share Saved View Sharedreports.",
|
|
21369
|
-
safety: "update",
|
|
21370
|
-
destructive: false,
|
|
21371
|
-
cli: {
|
|
21372
|
-
group: ["sharedreports"],
|
|
21373
|
-
command: "share-saved-view",
|
|
21374
|
-
interactive: "hidden"
|
|
21375
|
-
},
|
|
21376
|
-
mcp: { entityTool: "sharedreports" },
|
|
21377
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21378
|
-
id: /* @__PURE__ */ number$2(),
|
|
21379
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21380
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21381
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21382
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21383
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21384
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21385
|
-
})
|
|
21386
|
-
}),
|
|
21387
|
-
execute: (input, { client }) => {
|
|
21388
|
-
const data = input;
|
|
21389
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21390
|
-
client.httpClient,
|
|
21391
|
-
client.workspaceIdNumber,
|
|
21392
|
-
data.id,
|
|
21393
|
-
data.payload ?? data.data ?? data,
|
|
21394
|
-
void 0
|
|
21395
|
-
]));
|
|
21396
|
-
}
|
|
21397
|
-
},
|
|
21398
|
-
{
|
|
21399
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
21400
|
-
family: "focus",
|
|
21401
|
-
resource: "sharedreports",
|
|
21402
|
-
action: "share-saved-view-many",
|
|
21403
|
-
title: "Share Saved View Many Sharedreports",
|
|
21404
|
-
description: "Share Saved View Many Sharedreports.",
|
|
21405
|
-
safety: "update",
|
|
21406
|
-
destructive: false,
|
|
21407
|
-
cli: {
|
|
21408
|
-
group: ["sharedreports"],
|
|
21409
|
-
command: "share-saved-view-many",
|
|
21410
|
-
interactive: "hidden"
|
|
21411
|
-
},
|
|
21412
|
-
mcp: { entityTool: "sharedreports" },
|
|
21413
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21414
|
-
id: /* @__PURE__ */ number$2(),
|
|
21415
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21416
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21417
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21418
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21419
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21420
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21421
|
-
})),
|
|
21422
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21423
|
-
})
|
|
21424
|
-
}),
|
|
21425
|
-
execute: (input, { client }) => {
|
|
21426
|
-
const data = input;
|
|
21427
|
-
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21428
|
-
client.httpClient,
|
|
21429
|
-
client.workspaceIdNumber,
|
|
21430
|
-
data.id,
|
|
21431
|
-
data.payload ?? data.data ?? data,
|
|
21432
|
-
void 0
|
|
21433
|
-
]));
|
|
21434
|
-
}
|
|
21435
|
-
},
|
|
21436
20730
|
{
|
|
21437
20731
|
id: "focus.statuses.create-status",
|
|
21438
20732
|
family: "focus",
|
|
@@ -21689,181 +20983,22 @@ const generatedFocusOperations = [
|
|
|
21689
20983
|
family: "focus",
|
|
21690
20984
|
resource: "subscriptions",
|
|
21691
20985
|
action: "upsert-forced-trial",
|
|
21692
|
-
title: "Upsert Forced Trial Subscriptions",
|
|
21693
|
-
description: "Upsert Forced Trial Subscriptions.",
|
|
21694
|
-
safety: "update",
|
|
21695
|
-
destructive: false,
|
|
21696
|
-
cli: {
|
|
21697
|
-
group: ["subscriptions"],
|
|
21698
|
-
command: "upsert-forced-trial",
|
|
21699
|
-
interactive: "default"
|
|
21700
|
-
},
|
|
21701
|
-
mcp: { entityTool: "subscriptions" },
|
|
21702
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21703
|
-
execute: (input, { client }) => {
|
|
21704
|
-
const data = input;
|
|
21705
|
-
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
21706
|
-
client.httpClient,
|
|
21707
|
-
client.organizationId,
|
|
21708
|
-
client.workspaceIdNumber,
|
|
21709
|
-
data.payload ?? data.data ?? data,
|
|
21710
|
-
void 0
|
|
21711
|
-
]));
|
|
21712
|
-
}
|
|
21713
|
-
},
|
|
21714
|
-
{
|
|
21715
|
-
id: "focus.tags.archive",
|
|
21716
|
-
family: "focus",
|
|
21717
|
-
resource: "tags",
|
|
21718
|
-
action: "archive",
|
|
21719
|
-
title: "Archive Tags",
|
|
21720
|
-
description: "Archive Tags.",
|
|
21721
|
-
safety: "update",
|
|
21722
|
-
destructive: false,
|
|
21723
|
-
cli: {
|
|
21724
|
-
group: ["tags"],
|
|
21725
|
-
command: "archive",
|
|
21726
|
-
interactive: "default"
|
|
21727
|
-
},
|
|
21728
|
-
mcp: { entityTool: "tags" },
|
|
21729
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
21730
|
-
execute: (input, { client }) => {
|
|
21731
|
-
const data = input;
|
|
21732
|
-
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
21733
|
-
client.httpClient,
|
|
21734
|
-
client.workspaceIdNumber,
|
|
21735
|
-
data.tag_id,
|
|
21736
|
-
void 0
|
|
21737
|
-
]));
|
|
21738
|
-
}
|
|
21739
|
-
},
|
|
21740
|
-
{
|
|
21741
|
-
id: "focus.tags.bulk-archive",
|
|
21742
|
-
family: "focus",
|
|
21743
|
-
resource: "tags",
|
|
21744
|
-
action: "bulk-archive",
|
|
21745
|
-
title: "Bulk Archive Tags",
|
|
21746
|
-
description: "Bulk Archive Tags.",
|
|
21747
|
-
safety: "update",
|
|
21748
|
-
destructive: false,
|
|
21749
|
-
cli: {
|
|
21750
|
-
group: ["tags", "bulk"],
|
|
21751
|
-
command: "archive",
|
|
21752
|
-
interactive: "default"
|
|
21753
|
-
},
|
|
21754
|
-
mcp: { entityTool: "tags" },
|
|
21755
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21756
|
-
execute: (input, { client }) => {
|
|
21757
|
-
const data = input;
|
|
21758
|
-
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
21759
|
-
client.httpClient,
|
|
21760
|
-
client.workspaceIdNumber,
|
|
21761
|
-
data.payload ?? data.data ?? data,
|
|
21762
|
-
void 0
|
|
21763
|
-
]));
|
|
21764
|
-
}
|
|
21765
|
-
},
|
|
21766
|
-
{
|
|
21767
|
-
id: "focus.tags.bulk-create",
|
|
21768
|
-
family: "focus",
|
|
21769
|
-
resource: "tags",
|
|
21770
|
-
action: "bulk-create",
|
|
21771
|
-
title: "Bulk Create Tags",
|
|
21772
|
-
description: "Bulk Create Tags.",
|
|
21773
|
-
safety: "create",
|
|
21774
|
-
destructive: false,
|
|
21775
|
-
cli: {
|
|
21776
|
-
group: ["tags", "bulk"],
|
|
21777
|
-
command: "create",
|
|
21778
|
-
interactive: "default"
|
|
21779
|
-
},
|
|
21780
|
-
mcp: { entityTool: "tags" },
|
|
21781
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21782
|
-
color: /* @__PURE__ */ string$1(),
|
|
21783
|
-
name: /* @__PURE__ */ string$1()
|
|
21784
|
-
})) }) }),
|
|
21785
|
-
execute: (input, { client }) => {
|
|
21786
|
-
const data = input;
|
|
21787
|
-
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
21788
|
-
client.httpClient,
|
|
21789
|
-
client.workspaceIdNumber,
|
|
21790
|
-
data.payload ?? data.data ?? data,
|
|
21791
|
-
void 0
|
|
21792
|
-
]));
|
|
21793
|
-
}
|
|
21794
|
-
},
|
|
21795
|
-
{
|
|
21796
|
-
id: "focus.tags.bulk-delete",
|
|
21797
|
-
family: "focus",
|
|
21798
|
-
resource: "tags",
|
|
21799
|
-
action: "bulk-delete",
|
|
21800
|
-
title: "Bulk Delete Tags",
|
|
21801
|
-
description: "Bulk Delete Tags.",
|
|
21802
|
-
safety: "delete",
|
|
21803
|
-
destructive: true,
|
|
21804
|
-
cli: {
|
|
21805
|
-
group: ["tags", "bulk"],
|
|
21806
|
-
command: "delete",
|
|
21807
|
-
interactive: "default"
|
|
21808
|
-
},
|
|
21809
|
-
mcp: { entityTool: "tags" },
|
|
21810
|
-
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
21811
|
-
execute: (input, { client }) => {
|
|
21812
|
-
const data = input;
|
|
21813
|
-
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
21814
|
-
client.httpClient,
|
|
21815
|
-
client.workspaceIdNumber,
|
|
21816
|
-
data.ids,
|
|
21817
|
-
void 0
|
|
21818
|
-
]));
|
|
21819
|
-
}
|
|
21820
|
-
},
|
|
21821
|
-
{
|
|
21822
|
-
id: "focus.tags.bulk-restore",
|
|
21823
|
-
family: "focus",
|
|
21824
|
-
resource: "tags",
|
|
21825
|
-
action: "bulk-restore",
|
|
21826
|
-
title: "Bulk Restore Tags",
|
|
21827
|
-
description: "Bulk Restore Tags.",
|
|
21828
|
-
safety: "update",
|
|
21829
|
-
destructive: false,
|
|
21830
|
-
cli: {
|
|
21831
|
-
group: ["tags", "bulk"],
|
|
21832
|
-
command: "restore",
|
|
21833
|
-
interactive: "default"
|
|
21834
|
-
},
|
|
21835
|
-
mcp: { entityTool: "tags" },
|
|
21836
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21837
|
-
execute: (input, { client }) => {
|
|
21838
|
-
const data = input;
|
|
21839
|
-
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
21840
|
-
client.httpClient,
|
|
21841
|
-
client.workspaceIdNumber,
|
|
21842
|
-
data.payload ?? data.data ?? data,
|
|
21843
|
-
void 0
|
|
21844
|
-
]));
|
|
21845
|
-
}
|
|
21846
|
-
},
|
|
21847
|
-
{
|
|
21848
|
-
id: "focus.tags.bulk-unarchive",
|
|
21849
|
-
family: "focus",
|
|
21850
|
-
resource: "tags",
|
|
21851
|
-
action: "bulk-unarchive",
|
|
21852
|
-
title: "Bulk Unarchive Tags",
|
|
21853
|
-
description: "Bulk Unarchive Tags.",
|
|
20986
|
+
title: "Upsert Forced Trial Subscriptions",
|
|
20987
|
+
description: "Upsert Forced Trial Subscriptions.",
|
|
21854
20988
|
safety: "update",
|
|
21855
20989
|
destructive: false,
|
|
21856
20990
|
cli: {
|
|
21857
|
-
group: ["
|
|
21858
|
-
command: "
|
|
20991
|
+
group: ["subscriptions"],
|
|
20992
|
+
command: "upsert-forced-trial",
|
|
21859
20993
|
interactive: "default"
|
|
21860
20994
|
},
|
|
21861
|
-
mcp: { entityTool: "
|
|
21862
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
20995
|
+
mcp: { entityTool: "subscriptions" },
|
|
20996
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21863
20997
|
execute: (input, { client }) => {
|
|
21864
20998
|
const data = input;
|
|
21865
|
-
return client.runGeneratedRequest("
|
|
20999
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
21866
21000
|
client.httpClient,
|
|
21001
|
+
client.organizationId,
|
|
21867
21002
|
client.workspaceIdNumber,
|
|
21868
21003
|
data.payload ?? data.data ?? data,
|
|
21869
21004
|
void 0
|
|
@@ -21954,35 +21089,6 @@ const generatedFocusOperations = [
|
|
|
21954
21089
|
return client.listTags(data);
|
|
21955
21090
|
}
|
|
21956
21091
|
},
|
|
21957
|
-
{
|
|
21958
|
-
id: "focus.tags.merge",
|
|
21959
|
-
family: "focus",
|
|
21960
|
-
resource: "tags",
|
|
21961
|
-
action: "merge",
|
|
21962
|
-
title: "Merge Tags",
|
|
21963
|
-
description: "Merge Tags.",
|
|
21964
|
-
safety: "update",
|
|
21965
|
-
destructive: false,
|
|
21966
|
-
cli: {
|
|
21967
|
-
group: ["tags"],
|
|
21968
|
-
command: "merge",
|
|
21969
|
-
interactive: "default"
|
|
21970
|
-
},
|
|
21971
|
-
mcp: { entityTool: "tags" },
|
|
21972
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
21973
|
-
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
21974
|
-
target_id: /* @__PURE__ */ number$2()
|
|
21975
|
-
}) }),
|
|
21976
|
-
execute: (input, { client }) => {
|
|
21977
|
-
const data = input;
|
|
21978
|
-
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
21979
|
-
client.httpClient,
|
|
21980
|
-
client.workspaceIdNumber,
|
|
21981
|
-
data.payload ?? data.data ?? data,
|
|
21982
|
-
void 0
|
|
21983
|
-
]));
|
|
21984
|
-
}
|
|
21985
|
-
},
|
|
21986
21092
|
{
|
|
21987
21093
|
id: "focus.tags.restore",
|
|
21988
21094
|
family: "focus",
|
|
@@ -22009,32 +21115,6 @@ const generatedFocusOperations = [
|
|
|
22009
21115
|
]));
|
|
22010
21116
|
}
|
|
22011
21117
|
},
|
|
22012
|
-
{
|
|
22013
|
-
id: "focus.tags.unarchive",
|
|
22014
|
-
family: "focus",
|
|
22015
|
-
resource: "tags",
|
|
22016
|
-
action: "unarchive",
|
|
22017
|
-
title: "Unarchive Tags",
|
|
22018
|
-
description: "Unarchive Tags.",
|
|
22019
|
-
safety: "update",
|
|
22020
|
-
destructive: false,
|
|
22021
|
-
cli: {
|
|
22022
|
-
group: ["tags"],
|
|
22023
|
-
command: "unarchive",
|
|
22024
|
-
interactive: "default"
|
|
22025
|
-
},
|
|
22026
|
-
mcp: { entityTool: "tags" },
|
|
22027
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
22028
|
-
execute: (input, { client }) => {
|
|
22029
|
-
const data = input;
|
|
22030
|
-
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
22031
|
-
client.httpClient,
|
|
22032
|
-
client.workspaceIdNumber,
|
|
22033
|
-
data.tag_id,
|
|
22034
|
-
void 0
|
|
22035
|
-
]));
|
|
22036
|
-
}
|
|
22037
|
-
},
|
|
22038
21118
|
{
|
|
22039
21119
|
id: "focus.tags.update",
|
|
22040
21120
|
family: "focus",
|
|
@@ -22716,12 +21796,12 @@ const generatedFocusOperations = [
|
|
|
22716
21796
|
mcp: { entityTool: "tasks" },
|
|
22717
21797
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22718
21798
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22719
|
-
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22720
21799
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22721
21800
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22722
21801
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22723
21802
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22724
21803
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21804
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22725
21805
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22726
21806
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22727
21807
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22758,6 +21838,7 @@ const generatedFocusOperations = [
|
|
|
22758
21838
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22759
21839
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22760
21840
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21841
|
+
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22761
21842
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22762
21843
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22763
21844
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22774,6 +21855,7 @@ const generatedFocusOperations = [
|
|
|
22774
21855
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22775
21856
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22776
21857
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21858
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22777
21859
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22778
21860
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22779
21861
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22829,6 +21911,7 @@ const generatedFocusOperations = [
|
|
|
22829
21911
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22830
21912
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22831
21913
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21914
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22832
21915
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22833
21916
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22834
21917
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22869,6 +21952,7 @@ const generatedFocusOperations = [
|
|
|
22869
21952
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22870
21953
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22871
21954
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21955
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22872
21956
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22873
21957
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22874
21958
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22909,7 +21993,6 @@ const generatedFocusOperations = [
|
|
|
22909
21993
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22910
21994
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22911
21995
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22912
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22913
21996
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22914
21997
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22915
21998
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22923,8 +22006,7 @@ const generatedFocusOperations = [
|
|
|
22923
22006
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22924
22007
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22925
22008
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22926
|
-
|
|
22927
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22009
|
+
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22928
22010
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22929
22011
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22930
22012
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22940,7 +22022,6 @@ const generatedFocusOperations = [
|
|
|
22940
22022
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22941
22023
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22942
22024
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22943
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22944
22025
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22945
22026
|
}),
|
|
22946
22027
|
execute: (input, { client }) => {
|
|
@@ -22955,118 +22036,6 @@ const generatedFocusOperations = [
|
|
|
22955
22036
|
]));
|
|
22956
22037
|
}
|
|
22957
22038
|
},
|
|
22958
|
-
{
|
|
22959
|
-
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
22960
|
-
family: "focus",
|
|
22961
|
-
resource: "tasks",
|
|
22962
|
-
action: "groups-get-user-task-groups-by-project",
|
|
22963
|
-
title: "Groups Get User Task Groups By Project Tasks",
|
|
22964
|
-
description: "Groups Get User Task Groups By Project Tasks.",
|
|
22965
|
-
safety: "read",
|
|
22966
|
-
destructive: false,
|
|
22967
|
-
cli: {
|
|
22968
|
-
group: ["tasks", "groups"],
|
|
22969
|
-
command: "get-user-task-groups-by-project",
|
|
22970
|
-
interactive: "hidden"
|
|
22971
|
-
},
|
|
22972
|
-
mcp: { entityTool: "tasks" },
|
|
22973
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22974
|
-
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
22975
|
-
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
22976
|
-
client_id: /* @__PURE__ */ number$2(),
|
|
22977
|
-
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
22978
|
-
creator_id: /* @__PURE__ */ number$2(),
|
|
22979
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
22980
|
-
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
22981
|
-
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
22982
|
-
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
22983
|
-
group_id: /* @__PURE__ */ number$2(),
|
|
22984
|
-
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
22985
|
-
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
22986
|
-
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
22987
|
-
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
22988
|
-
min_days: /* @__PURE__ */ unknown$1(),
|
|
22989
|
-
name: /* @__PURE__ */ unknown$1(),
|
|
22990
|
-
priority: /* @__PURE__ */ unknown$1(),
|
|
22991
|
-
private_: /* @__PURE__ */ unknown$1(),
|
|
22992
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
22993
|
-
source: /* @__PURE__ */ unknown$1(),
|
|
22994
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
22995
|
-
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
22996
|
-
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
22997
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
22998
|
-
tag_id: /* @__PURE__ */ number$2(),
|
|
22999
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
23000
|
-
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23001
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23002
|
-
}),
|
|
23003
|
-
execute: (input, { client }) => {
|
|
23004
|
-
const data = input;
|
|
23005
|
-
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
23006
|
-
client.httpClient,
|
|
23007
|
-
client.organizationId,
|
|
23008
|
-
client.workspaceIdNumber,
|
|
23009
|
-
data,
|
|
23010
|
-
void 0
|
|
23011
|
-
]));
|
|
23012
|
-
}
|
|
23013
|
-
},
|
|
23014
|
-
{
|
|
23015
|
-
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
23016
|
-
family: "focus",
|
|
23017
|
-
resource: "tasks",
|
|
23018
|
-
action: "groups-get-user-task-groups-by-team",
|
|
23019
|
-
title: "Groups Get User Task Groups By Team Tasks",
|
|
23020
|
-
description: "Groups Get User Task Groups By Team Tasks.",
|
|
23021
|
-
safety: "read",
|
|
23022
|
-
destructive: false,
|
|
23023
|
-
cli: {
|
|
23024
|
-
group: ["tasks", "groups"],
|
|
23025
|
-
command: "get-user-task-groups-by-team",
|
|
23026
|
-
interactive: "hidden"
|
|
23027
|
-
},
|
|
23028
|
-
mcp: { entityTool: "tasks" },
|
|
23029
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23030
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23031
|
-
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23032
|
-
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23033
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23034
|
-
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23035
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23036
|
-
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23037
|
-
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23038
|
-
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23039
|
-
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23040
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23041
|
-
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23042
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23043
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23044
|
-
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23045
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23046
|
-
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23047
|
-
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23048
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23049
|
-
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23050
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23051
|
-
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23052
|
-
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23053
|
-
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23054
|
-
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23055
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23056
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23057
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23058
|
-
}),
|
|
23059
|
-
execute: (input, { client }) => {
|
|
23060
|
-
const data = input;
|
|
23061
|
-
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
23062
|
-
client.httpClient,
|
|
23063
|
-
client.organizationId,
|
|
23064
|
-
client.workspaceIdNumber,
|
|
23065
|
-
data,
|
|
23066
|
-
void 0
|
|
23067
|
-
]));
|
|
23068
|
-
}
|
|
23069
|
-
},
|
|
23070
22039
|
{
|
|
23071
22040
|
id: "focus.tasks.groups-update",
|
|
23072
22041
|
family: "focus",
|
|
@@ -23272,6 +22241,7 @@ const generatedFocusOperations = [
|
|
|
23272
22241
|
name: /* @__PURE__ */ string$1(),
|
|
23273
22242
|
status_id: /* @__PURE__ */ number$2(),
|
|
23274
22243
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22244
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23275
22245
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23276
22246
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23277
22247
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -23291,7 +22261,6 @@ const generatedFocusOperations = [
|
|
|
23291
22261
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23292
22262
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23293
22263
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23294
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23295
22264
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
23296
22265
|
}),
|
|
23297
22266
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -24300,40 +23269,6 @@ const generatedFocusOperations = [
|
|
|
24300
23269
|
]));
|
|
24301
23270
|
}
|
|
24302
23271
|
},
|
|
24303
|
-
{
|
|
24304
|
-
id: "focus.time-entries.groups-get-users",
|
|
24305
|
-
family: "focus",
|
|
24306
|
-
resource: "time-entries",
|
|
24307
|
-
action: "groups-get-users",
|
|
24308
|
-
title: "Groups Get Users Time Entries",
|
|
24309
|
-
description: "Groups Get Users Time Entries.",
|
|
24310
|
-
safety: "read",
|
|
24311
|
-
destructive: false,
|
|
24312
|
-
cli: {
|
|
24313
|
-
group: ["time-entries", "groups"],
|
|
24314
|
-
command: "get-users",
|
|
24315
|
-
interactive: "hidden"
|
|
24316
|
-
},
|
|
24317
|
-
mcp: { entityTool: "time-entries" },
|
|
24318
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24319
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24320
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
24321
|
-
page: /* @__PURE__ */ number$2(),
|
|
24322
|
-
per_page: /* @__PURE__ */ unknown$1(),
|
|
24323
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24324
|
-
user_id: /* @__PURE__ */ number$2()
|
|
24325
|
-
}),
|
|
24326
|
-
execute: (input, { client }) => {
|
|
24327
|
-
const data = input;
|
|
24328
|
-
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
24329
|
-
client.httpClient,
|
|
24330
|
-
client.organizationId,
|
|
24331
|
-
client.workspaceIdNumber,
|
|
24332
|
-
data,
|
|
24333
|
-
void 0
|
|
24334
|
-
]));
|
|
24335
|
-
}
|
|
24336
|
-
},
|
|
24337
23272
|
{
|
|
24338
23273
|
id: "focus.time-entries.list",
|
|
24339
23274
|
family: "focus",
|
|
@@ -24518,42 +23453,6 @@ const generatedFocusOperations = [
|
|
|
24518
23453
|
inputSchema: emptySchema$1,
|
|
24519
23454
|
execute: (_input, { client }) => client.stopTracking()
|
|
24520
23455
|
},
|
|
24521
|
-
{
|
|
24522
|
-
id: "focus.time-entries.sync",
|
|
24523
|
-
family: "focus",
|
|
24524
|
-
resource: "time-entries",
|
|
24525
|
-
action: "sync",
|
|
24526
|
-
title: "Sync Time Entries",
|
|
24527
|
-
description: "Sync Time Entries.",
|
|
24528
|
-
safety: "update",
|
|
24529
|
-
destructive: false,
|
|
24530
|
-
cli: {
|
|
24531
|
-
group: ["time-entries"],
|
|
24532
|
-
command: "sync",
|
|
24533
|
-
interactive: "default"
|
|
24534
|
-
},
|
|
24535
|
-
mcp: { entityTool: "time-entries" },
|
|
24536
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24537
|
-
client_uuid: /* @__PURE__ */ string$1(),
|
|
24538
|
-
payload: /* @__PURE__ */ looseObject({
|
|
24539
|
-
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
24540
|
-
client_updated_at: apiDateTimeString,
|
|
24541
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24542
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24543
|
-
})
|
|
24544
|
-
}),
|
|
24545
|
-
execute: (input, { client }) => {
|
|
24546
|
-
const data = input;
|
|
24547
|
-
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
24548
|
-
client.httpClient,
|
|
24549
|
-
client.organizationId,
|
|
24550
|
-
client.workspaceIdNumber,
|
|
24551
|
-
data.client_uuid,
|
|
24552
|
-
data.payload ?? data.data ?? data,
|
|
24553
|
-
void 0
|
|
24554
|
-
]));
|
|
24555
|
-
}
|
|
24556
|
-
},
|
|
24557
23456
|
{
|
|
24558
23457
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
24559
23458
|
family: "focus",
|
|
@@ -24602,7 +23501,6 @@ const generatedFocusOperations = [
|
|
|
24602
23501
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24603
23502
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24604
23503
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24605
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24606
23504
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24607
23505
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24608
23506
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -24665,33 +23563,121 @@ const generatedFocusOperations = [
|
|
|
24665
23563
|
safety: "update",
|
|
24666
23564
|
destructive: false,
|
|
24667
23565
|
cli: {
|
|
24668
|
-
group: ["time-entries"],
|
|
24669
|
-
command: "update",
|
|
24670
|
-
interactive: "default"
|
|
23566
|
+
group: ["time-entries"],
|
|
23567
|
+
command: "update",
|
|
23568
|
+
interactive: "default"
|
|
23569
|
+
},
|
|
23570
|
+
mcp: { entityTool: "time-entries" },
|
|
23571
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23572
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23573
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
23574
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23575
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23576
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23577
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23578
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23579
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23580
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23581
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23582
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
23583
|
+
}),
|
|
23584
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
23585
|
+
}),
|
|
23586
|
+
execute: (input, { client }) => {
|
|
23587
|
+
const data = input;
|
|
23588
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23589
|
+
client.httpClient,
|
|
23590
|
+
client.organizationId,
|
|
23591
|
+
client.workspaceIdNumber,
|
|
23592
|
+
data.time_entry_id,
|
|
23593
|
+
data.payload ?? data.data ?? data,
|
|
23594
|
+
void 0
|
|
23595
|
+
]));
|
|
23596
|
+
}
|
|
23597
|
+
},
|
|
23598
|
+
{
|
|
23599
|
+
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
23600
|
+
family: "focus",
|
|
23601
|
+
resource: "time-log-suggestions",
|
|
23602
|
+
action: "get-for-acalendar-event-title",
|
|
23603
|
+
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
23604
|
+
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
23605
|
+
safety: "update",
|
|
23606
|
+
destructive: false,
|
|
23607
|
+
cli: {
|
|
23608
|
+
group: ["time-log-suggestions"],
|
|
23609
|
+
command: "get-for-acalendar-event-title",
|
|
23610
|
+
interactive: "default"
|
|
23611
|
+
},
|
|
23612
|
+
mcp: { entityTool: "time-log-suggestions" },
|
|
23613
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
23614
|
+
execute: (input, { client }) => {
|
|
23615
|
+
const data = input;
|
|
23616
|
+
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
23617
|
+
client.httpClient,
|
|
23618
|
+
client.organizationId,
|
|
23619
|
+
client.workspaceIdNumber,
|
|
23620
|
+
data.payload ?? data.data ?? data,
|
|
23621
|
+
void 0
|
|
23622
|
+
]));
|
|
23623
|
+
}
|
|
23624
|
+
},
|
|
23625
|
+
{
|
|
23626
|
+
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
23627
|
+
family: "focus",
|
|
23628
|
+
resource: "time-log-suggestions",
|
|
23629
|
+
action: "get-for-multiple-calendar-event-titles",
|
|
23630
|
+
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
23631
|
+
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
23632
|
+
safety: "update",
|
|
23633
|
+
destructive: false,
|
|
23634
|
+
cli: {
|
|
23635
|
+
group: ["time-log-suggestions"],
|
|
23636
|
+
command: "get-for-multiple-calendar-event-titles",
|
|
23637
|
+
interactive: "default"
|
|
23638
|
+
},
|
|
23639
|
+
mcp: { entityTool: "time-log-suggestions" },
|
|
23640
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23641
|
+
key: /* @__PURE__ */ string$1(),
|
|
23642
|
+
title: /* @__PURE__ */ string$1()
|
|
23643
|
+
})) }) }),
|
|
23644
|
+
execute: (input, { client }) => {
|
|
23645
|
+
const data = input;
|
|
23646
|
+
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
23647
|
+
client.httpClient,
|
|
23648
|
+
client.organizationId,
|
|
23649
|
+
client.workspaceIdNumber,
|
|
23650
|
+
data.payload ?? data.data ?? data,
|
|
23651
|
+
void 0
|
|
23652
|
+
]));
|
|
23653
|
+
}
|
|
23654
|
+
},
|
|
23655
|
+
{
|
|
23656
|
+
id: "focus.time-off.create-timeoff-for-ghost",
|
|
23657
|
+
family: "focus",
|
|
23658
|
+
resource: "time-off",
|
|
23659
|
+
action: "create-timeoff-for-ghost",
|
|
23660
|
+
title: "Create Timeoff For Ghost Time Off",
|
|
23661
|
+
description: "Create Timeoff For Ghost Time Off.",
|
|
23662
|
+
safety: "create",
|
|
23663
|
+
destructive: false,
|
|
23664
|
+
cli: {
|
|
23665
|
+
group: ["time-off"],
|
|
23666
|
+
command: "create-timeoff-for-ghost",
|
|
23667
|
+
interactive: "hidden"
|
|
24671
23668
|
},
|
|
24672
|
-
mcp: { entityTool: "time-
|
|
23669
|
+
mcp: { entityTool: "time-off" },
|
|
24673
23670
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24674
|
-
|
|
24675
|
-
|
|
24676
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24677
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24678
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24679
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24680
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24681
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24682
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24683
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24684
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24685
|
-
}),
|
|
24686
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
23671
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23672
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
24687
23673
|
}),
|
|
24688
23674
|
execute: (input, { client }) => {
|
|
24689
23675
|
const data = input;
|
|
24690
|
-
return client.runGeneratedRequest("
|
|
23676
|
+
return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
|
|
24691
23677
|
client.httpClient,
|
|
24692
23678
|
client.organizationId,
|
|
24693
23679
|
client.workspaceIdNumber,
|
|
24694
|
-
data.
|
|
23680
|
+
data.ghost_id,
|
|
24695
23681
|
data.payload ?? data.data ?? data,
|
|
24696
23682
|
void 0
|
|
24697
23683
|
]));
|
|
@@ -24727,6 +23713,37 @@ const generatedFocusOperations = [
|
|
|
24727
23713
|
]));
|
|
24728
23714
|
}
|
|
24729
23715
|
},
|
|
23716
|
+
{
|
|
23717
|
+
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
23718
|
+
family: "focus",
|
|
23719
|
+
resource: "time-off",
|
|
23720
|
+
action: "delete-timeoff-for-ghost",
|
|
23721
|
+
title: "Delete Timeoff For Ghost Time Off",
|
|
23722
|
+
description: "Delete Timeoff For Ghost Time Off.",
|
|
23723
|
+
safety: "delete",
|
|
23724
|
+
destructive: true,
|
|
23725
|
+
cli: {
|
|
23726
|
+
group: ["time-off"],
|
|
23727
|
+
command: "delete-timeoff-for-ghost",
|
|
23728
|
+
interactive: "hidden"
|
|
23729
|
+
},
|
|
23730
|
+
mcp: { entityTool: "time-off" },
|
|
23731
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23732
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23733
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
23734
|
+
}),
|
|
23735
|
+
execute: (input, { client }) => {
|
|
23736
|
+
const data = input;
|
|
23737
|
+
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
23738
|
+
client.httpClient,
|
|
23739
|
+
client.organizationId,
|
|
23740
|
+
client.workspaceIdNumber,
|
|
23741
|
+
data.ghost_id,
|
|
23742
|
+
data.payload ?? data.data ?? data,
|
|
23743
|
+
void 0
|
|
23744
|
+
]));
|
|
23745
|
+
}
|
|
23746
|
+
},
|
|
24730
23747
|
{
|
|
24731
23748
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
24732
23749
|
family: "focus",
|
|
@@ -24757,6 +23774,38 @@ const generatedFocusOperations = [
|
|
|
24757
23774
|
]));
|
|
24758
23775
|
}
|
|
24759
23776
|
},
|
|
23777
|
+
{
|
|
23778
|
+
id: "focus.time-off.get-timeoff-for-ghost",
|
|
23779
|
+
family: "focus",
|
|
23780
|
+
resource: "time-off",
|
|
23781
|
+
action: "get-timeoff-for-ghost",
|
|
23782
|
+
title: "Get Timeoff For Ghost Time Off",
|
|
23783
|
+
description: "Get Timeoff For Ghost Time Off.",
|
|
23784
|
+
safety: "read",
|
|
23785
|
+
destructive: false,
|
|
23786
|
+
cli: {
|
|
23787
|
+
group: ["time-off"],
|
|
23788
|
+
command: "get-timeoff-for-ghost",
|
|
23789
|
+
interactive: "hidden"
|
|
23790
|
+
},
|
|
23791
|
+
mcp: { entityTool: "time-off" },
|
|
23792
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23793
|
+
from: /* @__PURE__ */ unknown$1(),
|
|
23794
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23795
|
+
to: /* @__PURE__ */ unknown$1()
|
|
23796
|
+
}),
|
|
23797
|
+
execute: (input, { client }) => {
|
|
23798
|
+
const data = input;
|
|
23799
|
+
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
23800
|
+
client.httpClient,
|
|
23801
|
+
client.organizationId,
|
|
23802
|
+
client.workspaceIdNumber,
|
|
23803
|
+
data.ghost_id,
|
|
23804
|
+
data,
|
|
23805
|
+
void 0
|
|
23806
|
+
]));
|
|
23807
|
+
}
|
|
23808
|
+
},
|
|
24760
23809
|
{
|
|
24761
23810
|
id: "focus.time-off.get-timeoff-for-user",
|
|
24762
23811
|
family: "focus",
|
|
@@ -24788,6 +23837,37 @@ const generatedFocusOperations = [
|
|
|
24788
23837
|
]));
|
|
24789
23838
|
}
|
|
24790
23839
|
},
|
|
23840
|
+
{
|
|
23841
|
+
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
23842
|
+
family: "focus",
|
|
23843
|
+
resource: "time-off",
|
|
23844
|
+
action: "get-timeoffs-by-ghost-ids",
|
|
23845
|
+
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
23846
|
+
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
23847
|
+
safety: "read",
|
|
23848
|
+
destructive: false,
|
|
23849
|
+
cli: {
|
|
23850
|
+
group: ["time-off"],
|
|
23851
|
+
command: "get-timeoffs-by-ghost-ids",
|
|
23852
|
+
interactive: "hidden"
|
|
23853
|
+
},
|
|
23854
|
+
mcp: { entityTool: "time-off" },
|
|
23855
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23856
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23857
|
+
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
23858
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
23859
|
+
}),
|
|
23860
|
+
execute: (input, { client }) => {
|
|
23861
|
+
const data = input;
|
|
23862
|
+
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
23863
|
+
client.httpClient,
|
|
23864
|
+
client.organizationId,
|
|
23865
|
+
client.workspaceIdNumber,
|
|
23866
|
+
data,
|
|
23867
|
+
void 0
|
|
23868
|
+
]));
|
|
23869
|
+
}
|
|
23870
|
+
},
|
|
24791
23871
|
{
|
|
24792
23872
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
24793
23873
|
family: "focus",
|
|
@@ -24818,6 +23898,37 @@ const generatedFocusOperations = [
|
|
|
24818
23898
|
]));
|
|
24819
23899
|
}
|
|
24820
23900
|
},
|
|
23901
|
+
{
|
|
23902
|
+
id: "focus.time-off.update-timeoff-for-ghost",
|
|
23903
|
+
family: "focus",
|
|
23904
|
+
resource: "time-off",
|
|
23905
|
+
action: "update-timeoff-for-ghost",
|
|
23906
|
+
title: "Update Timeoff For Ghost Time Off",
|
|
23907
|
+
description: "Update Timeoff For Ghost Time Off.",
|
|
23908
|
+
safety: "update",
|
|
23909
|
+
destructive: false,
|
|
23910
|
+
cli: {
|
|
23911
|
+
group: ["time-off"],
|
|
23912
|
+
command: "update-timeoff-for-ghost",
|
|
23913
|
+
interactive: "hidden"
|
|
23914
|
+
},
|
|
23915
|
+
mcp: { entityTool: "time-off" },
|
|
23916
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23917
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23918
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
23919
|
+
}),
|
|
23920
|
+
execute: (input, { client }) => {
|
|
23921
|
+
const data = input;
|
|
23922
|
+
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
23923
|
+
client.httpClient,
|
|
23924
|
+
client.organizationId,
|
|
23925
|
+
client.workspaceIdNumber,
|
|
23926
|
+
data.ghost_id,
|
|
23927
|
+
data.payload ?? data.data ?? data,
|
|
23928
|
+
void 0
|
|
23929
|
+
]));
|
|
23930
|
+
}
|
|
23931
|
+
},
|
|
24821
23932
|
{
|
|
24822
23933
|
id: "focus.time-off.update-timeoff-for-user",
|
|
24823
23934
|
family: "focus",
|
|
@@ -25849,7 +24960,6 @@ const generatedFocusOperations = [
|
|
|
25849
24960
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25850
24961
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25851
24962
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25852
|
-
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25853
24963
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25854
24964
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25855
24965
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -25951,6 +25061,37 @@ const generatedFocusOperations = [
|
|
|
25951
25061
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25952
25062
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
25953
25063
|
},
|
|
25064
|
+
{
|
|
25065
|
+
id: "focus.working-hours.create-for-ghost",
|
|
25066
|
+
family: "focus",
|
|
25067
|
+
resource: "working-hours",
|
|
25068
|
+
action: "create-for-ghost",
|
|
25069
|
+
title: "Create For Ghost Working Hours",
|
|
25070
|
+
description: "Create For Ghost Working Hours.",
|
|
25071
|
+
safety: "create",
|
|
25072
|
+
destructive: false,
|
|
25073
|
+
cli: {
|
|
25074
|
+
group: ["working-hours"],
|
|
25075
|
+
command: "create-for-ghost",
|
|
25076
|
+
interactive: "hidden"
|
|
25077
|
+
},
|
|
25078
|
+
mcp: { entityTool: "working-hours" },
|
|
25079
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25080
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
25081
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
25082
|
+
}),
|
|
25083
|
+
execute: (input, { client }) => {
|
|
25084
|
+
const data = input;
|
|
25085
|
+
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
25086
|
+
client.httpClient,
|
|
25087
|
+
client.organizationId,
|
|
25088
|
+
client.workspaceIdNumber,
|
|
25089
|
+
data.ghost_id,
|
|
25090
|
+
data.payload ?? data.data ?? data,
|
|
25091
|
+
void 0
|
|
25092
|
+
]));
|
|
25093
|
+
}
|
|
25094
|
+
},
|
|
25954
25095
|
{
|
|
25955
25096
|
id: "focus.working-hours.create-for-user",
|
|
25956
25097
|
family: "focus",
|
|
@@ -25981,6 +25122,37 @@ const generatedFocusOperations = [
|
|
|
25981
25122
|
]));
|
|
25982
25123
|
}
|
|
25983
25124
|
},
|
|
25125
|
+
{
|
|
25126
|
+
id: "focus.working-hours.delete-for-ghost",
|
|
25127
|
+
family: "focus",
|
|
25128
|
+
resource: "working-hours",
|
|
25129
|
+
action: "delete-for-ghost",
|
|
25130
|
+
title: "Delete For Ghost Working Hours",
|
|
25131
|
+
description: "Delete For Ghost Working Hours.",
|
|
25132
|
+
safety: "delete",
|
|
25133
|
+
destructive: true,
|
|
25134
|
+
cli: {
|
|
25135
|
+
group: ["working-hours"],
|
|
25136
|
+
command: "delete-for-ghost",
|
|
25137
|
+
interactive: "hidden"
|
|
25138
|
+
},
|
|
25139
|
+
mcp: { entityTool: "working-hours" },
|
|
25140
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25141
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
25142
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
25143
|
+
}),
|
|
25144
|
+
execute: (input, { client }) => {
|
|
25145
|
+
const data = input;
|
|
25146
|
+
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
25147
|
+
client.httpClient,
|
|
25148
|
+
client.organizationId,
|
|
25149
|
+
client.workspaceIdNumber,
|
|
25150
|
+
data.ghost_id,
|
|
25151
|
+
data.payload ?? data.data ?? data,
|
|
25152
|
+
void 0
|
|
25153
|
+
]));
|
|
25154
|
+
}
|
|
25155
|
+
},
|
|
25984
25156
|
{
|
|
25985
25157
|
id: "focus.working-hours.delete-for-user",
|
|
25986
25158
|
family: "focus",
|
|
@@ -26011,6 +25183,33 @@ const generatedFocusOperations = [
|
|
|
26011
25183
|
]));
|
|
26012
25184
|
}
|
|
26013
25185
|
},
|
|
25186
|
+
{
|
|
25187
|
+
id: "focus.working-hours.get-for-ghost",
|
|
25188
|
+
family: "focus",
|
|
25189
|
+
resource: "working-hours",
|
|
25190
|
+
action: "get-for-ghost",
|
|
25191
|
+
title: "Get For Ghost Working Hours",
|
|
25192
|
+
description: "Get For Ghost Working Hours.",
|
|
25193
|
+
safety: "read",
|
|
25194
|
+
destructive: false,
|
|
25195
|
+
cli: {
|
|
25196
|
+
group: ["working-hours"],
|
|
25197
|
+
command: "get-for-ghost",
|
|
25198
|
+
interactive: "available"
|
|
25199
|
+
},
|
|
25200
|
+
mcp: { entityTool: "working-hours" },
|
|
25201
|
+
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
25202
|
+
execute: (input, { client }) => {
|
|
25203
|
+
const data = input;
|
|
25204
|
+
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
25205
|
+
client.httpClient,
|
|
25206
|
+
client.organizationId,
|
|
25207
|
+
client.workspaceIdNumber,
|
|
25208
|
+
data.ghost_id,
|
|
25209
|
+
void 0
|
|
25210
|
+
]));
|
|
25211
|
+
}
|
|
25212
|
+
},
|
|
26014
25213
|
{
|
|
26015
25214
|
id: "focus.working-hours.get-for-user",
|
|
26016
25215
|
family: "focus",
|
|
@@ -26037,6 +25236,37 @@ const generatedFocusOperations = [
|
|
|
26037
25236
|
]));
|
|
26038
25237
|
}
|
|
26039
25238
|
},
|
|
25239
|
+
{
|
|
25240
|
+
id: "focus.working-hours.update-for-ghost",
|
|
25241
|
+
family: "focus",
|
|
25242
|
+
resource: "working-hours",
|
|
25243
|
+
action: "update-for-ghost",
|
|
25244
|
+
title: "Update For Ghost Working Hours",
|
|
25245
|
+
description: "Update For Ghost Working Hours.",
|
|
25246
|
+
safety: "update",
|
|
25247
|
+
destructive: false,
|
|
25248
|
+
cli: {
|
|
25249
|
+
group: ["working-hours"],
|
|
25250
|
+
command: "update-for-ghost",
|
|
25251
|
+
interactive: "hidden"
|
|
25252
|
+
},
|
|
25253
|
+
mcp: { entityTool: "working-hours" },
|
|
25254
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25255
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
25256
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
25257
|
+
}),
|
|
25258
|
+
execute: (input, { client }) => {
|
|
25259
|
+
const data = input;
|
|
25260
|
+
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
25261
|
+
client.httpClient,
|
|
25262
|
+
client.organizationId,
|
|
25263
|
+
client.workspaceIdNumber,
|
|
25264
|
+
data.ghost_id,
|
|
25265
|
+
data.payload ?? data.data ?? data,
|
|
25266
|
+
void 0
|
|
25267
|
+
]));
|
|
25268
|
+
}
|
|
25269
|
+
},
|
|
26040
25270
|
{
|
|
26041
25271
|
id: "focus.working-hours.update-for-user",
|
|
26042
25272
|
family: "focus",
|
|
@@ -26111,50 +25341,6 @@ const generatedFocusOperations = [
|
|
|
26111
25341
|
void 0
|
|
26112
25342
|
]))
|
|
26113
25343
|
},
|
|
26114
|
-
{
|
|
26115
|
-
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
26116
|
-
family: "focus",
|
|
26117
|
-
resource: "workspace-settings",
|
|
26118
|
-
action: "get-workspace-export-branding",
|
|
26119
|
-
title: "Get Workspace Export Branding Workspace Settings",
|
|
26120
|
-
description: "Get Workspace Export Branding Workspace Settings.",
|
|
26121
|
-
safety: "read",
|
|
26122
|
-
destructive: false,
|
|
26123
|
-
cli: {
|
|
26124
|
-
group: ["workspace-settings"],
|
|
26125
|
-
command: "get-workspace-export-branding",
|
|
26126
|
-
interactive: "hidden"
|
|
26127
|
-
},
|
|
26128
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26129
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26130
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
26131
|
-
client.httpClient,
|
|
26132
|
-
client.workspaceIdNumber,
|
|
26133
|
-
void 0
|
|
26134
|
-
]))
|
|
26135
|
-
},
|
|
26136
|
-
{
|
|
26137
|
-
id: "focus.workspace-settings.get-workspace-watermark",
|
|
26138
|
-
family: "focus",
|
|
26139
|
-
resource: "workspace-settings",
|
|
26140
|
-
action: "get-workspace-watermark",
|
|
26141
|
-
title: "Get Workspace Watermark Workspace Settings",
|
|
26142
|
-
description: "Get Workspace Watermark Workspace Settings.",
|
|
26143
|
-
safety: "read",
|
|
26144
|
-
destructive: false,
|
|
26145
|
-
cli: {
|
|
26146
|
-
group: ["workspace-settings"],
|
|
26147
|
-
command: "get-workspace-watermark",
|
|
26148
|
-
interactive: "hidden"
|
|
26149
|
-
},
|
|
26150
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26151
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26152
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
26153
|
-
client.httpClient,
|
|
26154
|
-
client.workspaceIdNumber,
|
|
26155
|
-
void 0
|
|
26156
|
-
]))
|
|
26157
|
-
},
|
|
26158
25344
|
{
|
|
26159
25345
|
id: "focus.workspace-settings.list",
|
|
26160
25346
|
family: "focus",
|
|
@@ -26229,32 +25415,6 @@ const generatedFocusOperations = [
|
|
|
26229
25415
|
]));
|
|
26230
25416
|
}
|
|
26231
25417
|
},
|
|
26232
|
-
{
|
|
26233
|
-
id: "focus.workspace-settings.update-workspace-watermark",
|
|
26234
|
-
family: "focus",
|
|
26235
|
-
resource: "workspace-settings",
|
|
26236
|
-
action: "update-workspace-watermark",
|
|
26237
|
-
title: "Update Workspace Watermark Workspace Settings",
|
|
26238
|
-
description: "Update Workspace Watermark Workspace Settings.",
|
|
26239
|
-
safety: "update",
|
|
26240
|
-
destructive: false,
|
|
26241
|
-
cli: {
|
|
26242
|
-
group: ["workspace-settings"],
|
|
26243
|
-
command: "update-workspace-watermark",
|
|
26244
|
-
interactive: "default"
|
|
26245
|
-
},
|
|
26246
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26247
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
26248
|
-
execute: (input, { client }) => {
|
|
26249
|
-
const data = input;
|
|
26250
|
-
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
26251
|
-
client.httpClient,
|
|
26252
|
-
client.workspaceIdNumber,
|
|
26253
|
-
data.payload ?? data.data ?? data,
|
|
26254
|
-
void 0
|
|
26255
|
-
]));
|
|
26256
|
-
}
|
|
26257
|
-
},
|
|
26258
25418
|
{
|
|
26259
25419
|
id: "focus.workspace.get-context",
|
|
26260
25420
|
family: "focus",
|
|
@@ -27894,4 +27054,4 @@ Common commands:
|
|
|
27894
27054
|
//#endregion
|
|
27895
27055
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27896
27056
|
|
|
27897
|
-
//# sourceMappingURL=program-
|
|
27057
|
+
//# sourceMappingURL=program-CqcSajOt.js.map
|