@togglhq/cli 1.11.59 → 1.11.60
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-Br391Isp.js → program-1HbC_GOf.js} +579 -1417
- package/build/program.js +1 -1
- package/package.json +1 -1
|
@@ -7236,7 +7236,11 @@ function pipe(...pipe$1) {
|
|
|
7236
7236
|
}
|
|
7237
7237
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
7238
7238
|
id: /* @__PURE__ */ number(),
|
|
7239
|
-
type: /* @__PURE__ */ picklist([
|
|
7239
|
+
type: /* @__PURE__ */ picklist([
|
|
7240
|
+
"user",
|
|
7241
|
+
"ghost",
|
|
7242
|
+
"team"
|
|
7243
|
+
])
|
|
7240
7244
|
});
|
|
7241
7245
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
7242
7246
|
id: /* @__PURE__ */ number(),
|
|
@@ -7278,8 +7282,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
7278
7282
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7279
7283
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7280
7284
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7281
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
7282
|
-
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.")))
|
|
7285
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
7283
7286
|
});
|
|
7284
7287
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
7285
7288
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7352,7 +7355,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7352
7355
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7353
7356
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
7354
7357
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7355
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7358
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7356
7359
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7357
7360
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7358
7361
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7360,6 +7363,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7360
7363
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7361
7364
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7362
7365
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7366
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7363
7367
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7364
7368
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7365
7369
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7369,7 +7373,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7369
7373
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7370
7374
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7371
7375
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7372
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7373
7376
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7374
7377
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7375
7378
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -7413,7 +7416,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7413
7416
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7414
7417
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
7415
7418
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7416
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7419
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7417
7420
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7418
7421
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7419
7422
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7421,6 +7424,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7421
7424
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7422
7425
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7423
7426
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7427
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7424
7428
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7425
7429
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7426
7430
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7431,7 +7435,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7431
7435
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7432
7436
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7433
7437
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7434
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7435
7438
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7436
7439
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7437
7440
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -7586,7 +7589,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
|
|
|
7586
7589
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7587
7590
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7588
7591
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7589
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7592
|
+
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."))),
|
|
7590
7593
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7591
7594
|
});
|
|
7592
7595
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
@@ -7612,7 +7615,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7612
7615
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
7613
7616
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7614
7617
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7615
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7618
|
+
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."))),
|
|
7616
7619
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7617
7620
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7618
7621
|
});
|
|
@@ -7735,7 +7738,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7735
7738
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7736
7739
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7737
7740
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
7738
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7741
|
+
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."))),
|
|
7739
7742
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7740
7743
|
})),
|
|
7741
7744
|
page: /* @__PURE__ */ number(),
|
|
@@ -7778,7 +7781,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7778
7781
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
7779
7782
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7780
7783
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7781
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7784
|
+
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."))),
|
|
7782
7785
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7783
7786
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7784
7787
|
})),
|
|
@@ -7790,15 +7793,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
7790
7793
|
id: /* @__PURE__ */ number(),
|
|
7791
7794
|
name: /* @__PURE__ */ string(),
|
|
7792
7795
|
workspace_id: /* @__PURE__ */ number(),
|
|
7793
|
-
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."))),
|
|
7794
7796
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7795
7797
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7796
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7797
|
-
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
7798
|
-
projects: /* @__PURE__ */ number(),
|
|
7799
|
-
tasks: /* @__PURE__ */ number(),
|
|
7800
|
-
time_entries: /* @__PURE__ */ number()
|
|
7801
|
-
})), /* @__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.")))
|
|
7798
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7802
7799
|
});
|
|
7803
7800
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
7804
7801
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -7809,8 +7806,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
7809
7806
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
7810
7807
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
7811
7808
|
account_locked_at: /* @__PURE__ */ string(),
|
|
7812
|
-
accounts_role_id: /* @__PURE__ */ number(),
|
|
7813
7809
|
active: /* @__PURE__ */ boolean(),
|
|
7810
|
+
admin: /* @__PURE__ */ boolean(),
|
|
7814
7811
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
7815
7812
|
created_at: /* @__PURE__ */ string(),
|
|
7816
7813
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -7859,9 +7856,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7859
7856
|
track_role_id: /* @__PURE__ */ number(),
|
|
7860
7857
|
work_role_id: /* @__PURE__ */ number(),
|
|
7861
7858
|
workspace_user_id: /* @__PURE__ */ number()
|
|
7862
|
-
}))
|
|
7863
|
-
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7864
|
-
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.")))
|
|
7859
|
+
}))
|
|
7865
7860
|
});
|
|
7866
7861
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7867
7862
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -7938,7 +7933,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7938
7933
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7939
7934
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7940
7935
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7941
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7936
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7937
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7942
7938
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7943
7939
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7944
7940
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -7954,7 +7950,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7954
7950
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7955
7951
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7956
7952
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7957
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7958
7953
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7959
7954
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7960
7955
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7964,23 +7959,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7964
7959
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7965
7960
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
7966
7961
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
7967
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
7968
|
-
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.")))
|
|
7962
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
7969
7963
|
});
|
|
7970
7964
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7971
7965
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7972
7966
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
7973
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7974
7967
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
7975
7968
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7976
7969
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7977
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
7970
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7978
7971
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7979
7972
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
7980
7973
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7981
7974
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7982
7975
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7983
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
7976
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7977
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7984
7978
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7985
7979
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7986
7980
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7997,7 +7991,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7997
7991
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7998
7992
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7999
7993
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8000
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8001
7994
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8002
7995
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
8003
7996
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -8006,17 +7999,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
8006
7999
|
});
|
|
8007
8000
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
8008
8001
|
id: /* @__PURE__ */ number(),
|
|
8009
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8010
8002
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
8011
8003
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8012
8004
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
8013
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
8005
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8014
8006
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8015
8007
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
8016
8008
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8017
8009
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
8018
8010
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
8019
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
8011
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8012
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8020
8013
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
8021
8014
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8022
8015
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -8033,7 +8026,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
8033
8026
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8034
8027
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8035
8028
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8036
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8037
8029
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8038
8030
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
8039
8031
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9979,7 +9971,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9979
9971
|
})
|
|
9980
9972
|
}).json();
|
|
9981
9973
|
}
|
|
9982
|
-
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
|
|
9974
|
+
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) {
|
|
9983
9975
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9984
9976
|
signal,
|
|
9985
9977
|
searchParams: buildSearchParams$2({
|
|
@@ -9999,10 +9991,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9999
9991
|
include_working_hours,
|
|
10000
9992
|
include_rates,
|
|
10001
9993
|
pinned_ids,
|
|
10002
|
-
has_group
|
|
10003
|
-
cf_filter,
|
|
10004
|
-
include_custom_fields,
|
|
10005
|
-
include_calendar_integration
|
|
9994
|
+
has_group
|
|
10006
9995
|
}, true)
|
|
10007
9996
|
});
|
|
10008
9997
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -10021,7 +10010,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
10021
10010
|
}
|
|
10022
10011
|
//#endregion
|
|
10023
10012
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
10024
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id
|
|
10013
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
10025
10014
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
10026
10015
|
signal,
|
|
10027
10016
|
searchParams: buildSearchParams$2({
|
|
@@ -10029,10 +10018,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
10029
10018
|
page,
|
|
10030
10019
|
per_page,
|
|
10031
10020
|
order_by,
|
|
10032
|
-
tag_id
|
|
10033
|
-
include_usage,
|
|
10034
|
-
include_archived,
|
|
10035
|
-
archived
|
|
10021
|
+
tag_id
|
|
10036
10022
|
})
|
|
10037
10023
|
}).json();
|
|
10038
10024
|
}
|
|
@@ -10042,42 +10028,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
10042
10028
|
json: data
|
|
10043
10029
|
}).json();
|
|
10044
10030
|
}
|
|
10045
|
-
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
10046
|
-
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
10047
|
-
signal,
|
|
10048
|
-
json: data
|
|
10049
|
-
}).json();
|
|
10050
|
-
}
|
|
10051
|
-
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
10052
|
-
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
10053
|
-
signal,
|
|
10054
|
-
searchParams: buildSearchParams$2({ ids })
|
|
10055
|
-
}).json();
|
|
10056
|
-
}
|
|
10057
|
-
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
10058
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
10059
|
-
signal,
|
|
10060
|
-
json: data
|
|
10061
|
-
}).json();
|
|
10062
|
-
}
|
|
10063
|
-
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
10064
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
10065
|
-
signal,
|
|
10066
|
-
json: data
|
|
10067
|
-
}).json();
|
|
10068
|
-
}
|
|
10069
|
-
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
10070
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
10071
|
-
signal,
|
|
10072
|
-
json: data
|
|
10073
|
-
}).json();
|
|
10074
|
-
}
|
|
10075
|
-
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
10076
|
-
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
10077
|
-
signal,
|
|
10078
|
-
json: data
|
|
10079
|
-
}).json();
|
|
10080
|
-
}
|
|
10081
10031
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
10082
10032
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
10083
10033
|
}
|
|
@@ -10090,18 +10040,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
10090
10040
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
10091
10041
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
10092
10042
|
}
|
|
10093
|
-
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10094
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
10095
|
-
}
|
|
10096
10043
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
10097
10044
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
10098
10045
|
}
|
|
10099
|
-
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10100
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
10101
|
-
}
|
|
10102
10046
|
//#endregion
|
|
10103
10047
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10104
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates,
|
|
10048
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10105
10049
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10106
10050
|
signal,
|
|
10107
10051
|
searchParams: buildSearchParams$2({
|
|
@@ -10123,7 +10067,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
10123
10067
|
include_rates,
|
|
10124
10068
|
include_rollover,
|
|
10125
10069
|
include_idle_recurring_templates,
|
|
10126
|
-
collapse_recurring,
|
|
10127
10070
|
include_drafts,
|
|
10128
10071
|
include_locked_private,
|
|
10129
10072
|
start_date,
|
|
@@ -10354,7 +10297,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10354
10297
|
}
|
|
10355
10298
|
//#endregion
|
|
10356
10299
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10357
|
-
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) {
|
|
10300
|
+
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) {
|
|
10358
10301
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10359
10302
|
signal,
|
|
10360
10303
|
searchParams: buildSearchParams$2({
|
|
@@ -10402,8 +10345,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10402
10345
|
recurring_task_ids,
|
|
10403
10346
|
client_id,
|
|
10404
10347
|
include_rates,
|
|
10348
|
+
include_ghost_assignees,
|
|
10405
10349
|
include_assignees,
|
|
10406
10350
|
include_parent_matches,
|
|
10351
|
+
assignee_ghost_id,
|
|
10407
10352
|
disable_aggregations,
|
|
10408
10353
|
cf_filter
|
|
10409
10354
|
})
|
|
@@ -10489,7 +10434,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
10489
10434
|
})
|
|
10490
10435
|
}).json();
|
|
10491
10436
|
}
|
|
10492
|
-
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,
|
|
10437
|
+
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) {
|
|
10493
10438
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10494
10439
|
signal,
|
|
10495
10440
|
searchParams: buildSearchParams$2({
|
|
@@ -10502,14 +10447,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10502
10447
|
dates_overlap_end,
|
|
10503
10448
|
recurring_task_ids,
|
|
10504
10449
|
team_id,
|
|
10505
|
-
assignee_team_id,
|
|
10506
10450
|
assignee_user_id,
|
|
10507
10451
|
tag_id,
|
|
10452
|
+
include_ghost_assignees,
|
|
10508
10453
|
include_assignees
|
|
10509
10454
|
})
|
|
10510
10455
|
}).json();
|
|
10511
10456
|
}
|
|
10512
|
-
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) {
|
|
10457
|
+
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) {
|
|
10513
10458
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10514
10459
|
signal,
|
|
10515
10460
|
searchParams: buildSearchParams$2({
|
|
@@ -10553,15 +10498,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10553
10498
|
recurring,
|
|
10554
10499
|
recurring_task_ids,
|
|
10555
10500
|
client_id,
|
|
10501
|
+
include_ghost_assignees,
|
|
10556
10502
|
include_assignees,
|
|
10503
|
+
assignee_ghost_id,
|
|
10557
10504
|
cf_filter
|
|
10558
10505
|
})
|
|
10559
10506
|
}).json();
|
|
10560
10507
|
}
|
|
10561
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
10508
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10562
10509
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
10563
10510
|
signal,
|
|
10564
|
-
searchParams: buildSearchParams$2({
|
|
10511
|
+
searchParams: buildSearchParams$2({
|
|
10512
|
+
include_ghost_assignees,
|
|
10513
|
+
include_assignees
|
|
10514
|
+
})
|
|
10565
10515
|
}).json();
|
|
10566
10516
|
}
|
|
10567
10517
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -10592,7 +10542,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
10592
10542
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
10593
10543
|
}).json();
|
|
10594
10544
|
}
|
|
10595
|
-
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) {
|
|
10545
|
+
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) {
|
|
10596
10546
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
10597
10547
|
signal,
|
|
10598
10548
|
searchParams: buildSearchParams$2({
|
|
@@ -10605,11 +10555,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10605
10555
|
team_id,
|
|
10606
10556
|
assignee_user_id,
|
|
10607
10557
|
tag_id,
|
|
10558
|
+
include_ghost_assignees,
|
|
10608
10559
|
include_assignees
|
|
10609
10560
|
})
|
|
10610
10561
|
}).json();
|
|
10611
10562
|
}
|
|
10612
|
-
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) {
|
|
10563
|
+
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) {
|
|
10613
10564
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10614
10565
|
signal,
|
|
10615
10566
|
searchParams: buildSearchParams$2({
|
|
@@ -10622,6 +10573,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
10622
10573
|
team_id,
|
|
10623
10574
|
assignee_user_id,
|
|
10624
10575
|
tag_id,
|
|
10576
|
+
include_ghost_assignees,
|
|
10625
10577
|
include_assignees
|
|
10626
10578
|
})
|
|
10627
10579
|
}).json();
|
|
@@ -10821,12 +10773,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10821
10773
|
})
|
|
10822
10774
|
}).json();
|
|
10823
10775
|
}
|
|
10824
|
-
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
10825
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
10826
|
-
signal,
|
|
10827
|
-
json: data
|
|
10828
|
-
}).json();
|
|
10829
|
-
}
|
|
10830
10776
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10831
10777
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10832
10778
|
signal,
|
|
@@ -14718,21 +14664,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14718
14664
|
}
|
|
14719
14665
|
//#endregion
|
|
14720
14666
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14721
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14722
|
-
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14723
|
-
signal,
|
|
14724
|
-
searchParams: buildSearchParams$2({
|
|
14725
|
-
workspace_id,
|
|
14726
|
-
entity_type,
|
|
14727
|
-
entity_id,
|
|
14728
|
-
action,
|
|
14729
|
-
user_id,
|
|
14730
|
-
page_size,
|
|
14731
|
-
page_number,
|
|
14732
|
-
export: export_
|
|
14733
|
-
})
|
|
14734
|
-
}).json();
|
|
14735
|
-
}
|
|
14736
14667
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14737
14668
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14738
14669
|
signal,
|
|
@@ -14891,22 +14822,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14891
14822
|
}
|
|
14892
14823
|
//#endregion
|
|
14893
14824
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14894
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts
|
|
14825
|
+
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) {
|
|
14895
14826
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14896
14827
|
signal,
|
|
14897
14828
|
searchParams: buildSearchParams$2({
|
|
14898
14829
|
user_id,
|
|
14899
14830
|
start_date,
|
|
14900
14831
|
end_date,
|
|
14832
|
+
ghost_id,
|
|
14901
14833
|
private: private_,
|
|
14902
14834
|
task_source,
|
|
14903
14835
|
unit,
|
|
14904
|
-
include_drafts
|
|
14905
|
-
include_task_estimates
|
|
14836
|
+
include_drafts
|
|
14906
14837
|
})
|
|
14907
14838
|
}).json();
|
|
14908
14839
|
}
|
|
14909
14840
|
//#endregion
|
|
14841
|
+
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
14842
|
+
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
14843
|
+
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
14844
|
+
}
|
|
14845
|
+
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
14846
|
+
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
14847
|
+
signal,
|
|
14848
|
+
json: data
|
|
14849
|
+
}).json();
|
|
14850
|
+
}
|
|
14851
|
+
//#endregion
|
|
14910
14852
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
14911
14853
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
14912
14854
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -14989,12 +14931,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
14989
14931
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
14990
14932
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
14991
14933
|
}
|
|
14992
|
-
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
14993
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
14994
|
-
signal,
|
|
14995
|
-
json: data
|
|
14996
|
-
}).json();
|
|
14997
|
-
}
|
|
14998
14934
|
//#endregion
|
|
14999
14935
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
15000
14936
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -15220,7 +15156,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15220
15156
|
}
|
|
15221
15157
|
//#endregion
|
|
15222
15158
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15223
|
-
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,
|
|
15159
|
+
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) {
|
|
15224
15160
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15225
15161
|
signal,
|
|
15226
15162
|
searchParams: buildSearchParams$2({
|
|
@@ -15232,7 +15168,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15232
15168
|
include_group_totals,
|
|
15233
15169
|
include_unassigned,
|
|
15234
15170
|
archived,
|
|
15235
|
-
completed,
|
|
15236
15171
|
private: private_,
|
|
15237
15172
|
name,
|
|
15238
15173
|
client_id,
|
|
@@ -15244,7 +15179,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15244
15179
|
start_date,
|
|
15245
15180
|
end_date,
|
|
15246
15181
|
user_id,
|
|
15247
|
-
only_me,
|
|
15248
15182
|
include_drafts,
|
|
15249
15183
|
cf_filter
|
|
15250
15184
|
})
|
|
@@ -15360,14 +15294,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
15360
15294
|
}
|
|
15361
15295
|
//#endregion
|
|
15362
15296
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
15363
|
-
async function
|
|
15364
|
-
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
15365
|
-
}
|
|
15366
|
-
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
15297
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
|
|
15367
15298
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
15368
15299
|
signal,
|
|
15369
15300
|
json: data,
|
|
15370
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
15371
15301
|
searchParams: buildSearchParams$2({
|
|
15372
15302
|
response_format,
|
|
15373
15303
|
include_dicts
|
|
@@ -15391,36 +15321,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
15391
15321
|
json: data
|
|
15392
15322
|
}).json();
|
|
15393
15323
|
}
|
|
15394
|
-
async function
|
|
15395
|
-
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
15396
|
-
signal,
|
|
15397
|
-
json: data
|
|
15398
|
-
}).json();
|
|
15399
|
-
}
|
|
15400
|
-
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
15324
|
+
async function getWorkloadReport(httpClient, workspace_id, data, signal) {
|
|
15401
15325
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
15402
|
-
signal,
|
|
15403
|
-
json: data,
|
|
15404
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
15405
|
-
}).json();
|
|
15406
|
-
}
|
|
15407
|
-
//#endregion
|
|
15408
|
-
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
15409
|
-
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15410
|
-
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
15411
|
-
signal,
|
|
15412
|
-
json: data
|
|
15413
|
-
}).json();
|
|
15414
|
-
}
|
|
15415
|
-
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15416
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
15417
15326
|
signal,
|
|
15418
15327
|
json: data
|
|
15419
15328
|
}).json();
|
|
15420
15329
|
}
|
|
15421
|
-
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
15422
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
15423
|
-
}
|
|
15424
15330
|
//#endregion
|
|
15425
15331
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
15426
15332
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -15453,7 +15359,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15453
15359
|
}
|
|
15454
15360
|
//#endregion
|
|
15455
15361
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15456
|
-
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
|
|
15362
|
+
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) {
|
|
15457
15363
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15458
15364
|
signal,
|
|
15459
15365
|
searchParams: buildSearchParams$2({
|
|
@@ -15465,56 +15371,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15465
15371
|
task_id,
|
|
15466
15372
|
include_drafts,
|
|
15467
15373
|
exclude_calendar_events,
|
|
15468
|
-
group_by_tags
|
|
15469
|
-
only_me
|
|
15470
|
-
})
|
|
15471
|
-
}).json();
|
|
15472
|
-
}
|
|
15473
|
-
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
15474
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
15475
|
-
signal,
|
|
15476
|
-
searchParams: buildSearchParams$2({
|
|
15477
|
-
keyword,
|
|
15478
|
-
per_group
|
|
15374
|
+
group_by_tags
|
|
15479
15375
|
})
|
|
15480
15376
|
}).json();
|
|
15481
15377
|
}
|
|
15482
15378
|
//#endregion
|
|
15483
|
-
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
15484
|
-
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
15485
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
15486
|
-
signal,
|
|
15487
|
-
json: data
|
|
15488
|
-
}).json();
|
|
15489
|
-
}
|
|
15490
|
-
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
15491
|
-
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
15492
|
-
}
|
|
15493
|
-
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
15494
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
15495
|
-
signal,
|
|
15496
|
-
json: data
|
|
15497
|
-
}).json();
|
|
15498
|
-
}
|
|
15499
|
-
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
15500
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
15501
|
-
}
|
|
15502
|
-
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
15503
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
15504
|
-
}
|
|
15505
|
-
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15506
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15507
|
-
}
|
|
15508
|
-
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15509
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15510
|
-
signal,
|
|
15511
|
-
json: data
|
|
15512
|
-
}).json();
|
|
15513
|
-
}
|
|
15514
|
-
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15515
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15516
|
-
}
|
|
15517
|
-
//#endregion
|
|
15518
15379
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15519
15380
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
15520
15381
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -15570,77 +15431,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15570
15431
|
}
|
|
15571
15432
|
//#endregion
|
|
15572
15433
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15573
|
-
async function
|
|
15574
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15575
|
-
signal,
|
|
15576
|
-
searchParams: buildSearchParams$2({
|
|
15577
|
-
project_id,
|
|
15578
|
-
source,
|
|
15579
|
-
priority,
|
|
15580
|
-
status_id,
|
|
15581
|
-
client_id,
|
|
15582
|
-
assignee_user_id,
|
|
15583
|
-
tag_id,
|
|
15584
|
-
team_id,
|
|
15585
|
-
user_tag_id,
|
|
15586
|
-
group_id,
|
|
15587
|
-
creator_id,
|
|
15588
|
-
name,
|
|
15589
|
-
start_date,
|
|
15590
|
-
end_date,
|
|
15591
|
-
start_date_from,
|
|
15592
|
-
start_date_to,
|
|
15593
|
-
end_date_from,
|
|
15594
|
-
end_date_to,
|
|
15595
|
-
private: private_,
|
|
15596
|
-
exclude_empty,
|
|
15597
|
-
include_unassigned,
|
|
15598
|
-
include_unmaterialized,
|
|
15599
|
-
collapse_recurring,
|
|
15600
|
-
include_assignees,
|
|
15601
|
-
min_days,
|
|
15602
|
-
include_drafts,
|
|
15603
|
-
cf_filter,
|
|
15604
|
-
user_cf_filter
|
|
15605
|
-
})
|
|
15606
|
-
}).json();
|
|
15607
|
-
}
|
|
15608
|
-
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) {
|
|
15609
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15610
|
-
signal,
|
|
15611
|
-
searchParams: buildSearchParams$2({
|
|
15612
|
-
team_id,
|
|
15613
|
-
project_id,
|
|
15614
|
-
source,
|
|
15615
|
-
priority,
|
|
15616
|
-
status_id,
|
|
15617
|
-
client_id,
|
|
15618
|
-
assignee_user_id,
|
|
15619
|
-
tag_id,
|
|
15620
|
-
user_tag_id,
|
|
15621
|
-
group_id,
|
|
15622
|
-
creator_id,
|
|
15623
|
-
name,
|
|
15624
|
-
start_date,
|
|
15625
|
-
end_date,
|
|
15626
|
-
start_date_from,
|
|
15627
|
-
start_date_to,
|
|
15628
|
-
end_date_from,
|
|
15629
|
-
end_date_to,
|
|
15630
|
-
private: private_,
|
|
15631
|
-
exclude_empty,
|
|
15632
|
-
include_unassigned,
|
|
15633
|
-
include_unmaterialized,
|
|
15634
|
-
collapse_recurring,
|
|
15635
|
-
include_assignees,
|
|
15636
|
-
min_days,
|
|
15637
|
-
include_drafts,
|
|
15638
|
-
cf_filter,
|
|
15639
|
-
user_cf_filter
|
|
15640
|
-
})
|
|
15641
|
-
}).json();
|
|
15642
|
-
}
|
|
15643
|
-
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) {
|
|
15434
|
+
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) {
|
|
15644
15435
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15645
15436
|
signal,
|
|
15646
15437
|
searchParams: buildSearchParams$2({
|
|
@@ -15664,14 +15455,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15664
15455
|
end_date_to,
|
|
15665
15456
|
private: private_,
|
|
15666
15457
|
exclude_empty,
|
|
15667
|
-
|
|
15668
|
-
include_unmaterialized,
|
|
15669
|
-
collapse_recurring,
|
|
15458
|
+
include_ghosts,
|
|
15670
15459
|
include_assignees,
|
|
15671
15460
|
min_days,
|
|
15672
15461
|
include_drafts,
|
|
15673
15462
|
cf_filter,
|
|
15674
|
-
user_cf_filter,
|
|
15675
15463
|
page,
|
|
15676
15464
|
per_page,
|
|
15677
15465
|
order_by
|
|
@@ -15710,18 +15498,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
15710
15498
|
}).json();
|
|
15711
15499
|
}
|
|
15712
15500
|
//#endregion
|
|
15713
|
-
//#region ../focus-queries/dist/time-
|
|
15714
|
-
async function
|
|
15715
|
-
return await httpClient.
|
|
15501
|
+
//#region ../focus-queries/dist/time-log-suggestions/requests.ts
|
|
15502
|
+
async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
|
|
15503
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
|
|
15716
15504
|
signal,
|
|
15717
|
-
|
|
15718
|
-
|
|
15719
|
-
|
|
15720
|
-
|
|
15721
|
-
|
|
15722
|
-
|
|
15723
|
-
|
|
15724
|
-
})
|
|
15505
|
+
json: data
|
|
15506
|
+
}).json();
|
|
15507
|
+
}
|
|
15508
|
+
async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
|
|
15509
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
|
|
15510
|
+
signal,
|
|
15511
|
+
json: data
|
|
15725
15512
|
}).json();
|
|
15726
15513
|
}
|
|
15727
15514
|
//#endregion
|
|
@@ -15763,6 +15550,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15763
15550
|
json: data
|
|
15764
15551
|
}).json();
|
|
15765
15552
|
}
|
|
15553
|
+
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
15554
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
15555
|
+
signal,
|
|
15556
|
+
searchParams: buildSearchParams$2({
|
|
15557
|
+
ghost_ids,
|
|
15558
|
+
start_date,
|
|
15559
|
+
end_date
|
|
15560
|
+
})
|
|
15561
|
+
}).json();
|
|
15562
|
+
}
|
|
15563
|
+
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
15564
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15565
|
+
signal,
|
|
15566
|
+
searchParams: buildSearchParams$2({
|
|
15567
|
+
from,
|
|
15568
|
+
to
|
|
15569
|
+
})
|
|
15570
|
+
}).json();
|
|
15571
|
+
}
|
|
15572
|
+
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15573
|
+
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15574
|
+
signal,
|
|
15575
|
+
json: data
|
|
15576
|
+
}).json();
|
|
15577
|
+
}
|
|
15578
|
+
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15579
|
+
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15580
|
+
signal,
|
|
15581
|
+
json: data
|
|
15582
|
+
}).json();
|
|
15583
|
+
}
|
|
15584
|
+
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15585
|
+
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15586
|
+
signal,
|
|
15587
|
+
json: data
|
|
15588
|
+
}).json();
|
|
15589
|
+
}
|
|
15766
15590
|
//#endregion
|
|
15767
15591
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15768
15592
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15955,6 +15779,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
15955
15779
|
json: data
|
|
15956
15780
|
}).json();
|
|
15957
15781
|
}
|
|
15782
|
+
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
15783
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
15784
|
+
}
|
|
15785
|
+
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15786
|
+
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15787
|
+
signal,
|
|
15788
|
+
json: data
|
|
15789
|
+
}).json();
|
|
15790
|
+
}
|
|
15791
|
+
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15792
|
+
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15793
|
+
signal,
|
|
15794
|
+
json: data
|
|
15795
|
+
}).json();
|
|
15796
|
+
}
|
|
15797
|
+
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15798
|
+
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15799
|
+
signal,
|
|
15800
|
+
json: data
|
|
15801
|
+
}).json();
|
|
15802
|
+
}
|
|
15958
15803
|
//#endregion
|
|
15959
15804
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
15960
15805
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -15971,9 +15816,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
15971
15816
|
json: data
|
|
15972
15817
|
}).json();
|
|
15973
15818
|
}
|
|
15974
|
-
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
15975
|
-
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
15976
|
-
}
|
|
15977
15819
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
15978
15820
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
15979
15821
|
}
|
|
@@ -15986,15 +15828,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
15986
15828
|
json: data
|
|
15987
15829
|
}).json();
|
|
15988
15830
|
}
|
|
15989
|
-
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
15990
|
-
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
15991
|
-
}
|
|
15992
|
-
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
15993
|
-
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
15994
|
-
signal,
|
|
15995
|
-
json: data
|
|
15996
|
-
}).json();
|
|
15997
|
-
}
|
|
15998
15831
|
//#endregion
|
|
15999
15832
|
//#region ../operations/build/index.public.js
|
|
16000
15833
|
function callGeneratedRequest(request, args) {
|
|
@@ -16130,17 +15963,17 @@ const generatedFocusOperations = [
|
|
|
16130
15963
|
]))
|
|
16131
15964
|
},
|
|
16132
15965
|
{
|
|
16133
|
-
id: "focus.audit-log.
|
|
15966
|
+
id: "focus.audit-log.list",
|
|
16134
15967
|
family: "focus",
|
|
16135
15968
|
resource: "audit-log",
|
|
16136
|
-
action: "
|
|
16137
|
-
title: "
|
|
16138
|
-
description: "
|
|
15969
|
+
action: "list",
|
|
15970
|
+
title: "List Audit Log",
|
|
15971
|
+
description: "List Audit Log.",
|
|
16139
15972
|
safety: "read",
|
|
16140
15973
|
destructive: false,
|
|
16141
15974
|
cli: {
|
|
16142
15975
|
group: ["audit-log"],
|
|
16143
|
-
command: "
|
|
15976
|
+
command: "list",
|
|
16144
15977
|
interactive: "hidden"
|
|
16145
15978
|
},
|
|
16146
15979
|
mcp: { entityTool: "audit-log" },
|
|
@@ -16154,14 +15987,14 @@ const generatedFocusOperations = [
|
|
|
16154
15987
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16155
15988
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16156
15989
|
to: /* @__PURE__ */ string$1(),
|
|
16157
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16158
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15990
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16159
15991
|
}),
|
|
16160
15992
|
execute: (input, { client }) => {
|
|
16161
15993
|
const data = input;
|
|
16162
|
-
return client.runGeneratedRequest("
|
|
15994
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
16163
15995
|
client.httpClient,
|
|
16164
15996
|
client.organizationId,
|
|
15997
|
+
client.workspaceIdNumber,
|
|
16165
15998
|
data.from,
|
|
16166
15999
|
data.to,
|
|
16167
16000
|
data,
|
|
@@ -16170,79 +16003,87 @@ const generatedFocusOperations = [
|
|
|
16170
16003
|
}
|
|
16171
16004
|
},
|
|
16172
16005
|
{
|
|
16173
|
-
id: "focus.
|
|
16006
|
+
id: "focus.capacities.get-computations",
|
|
16174
16007
|
family: "focus",
|
|
16175
|
-
resource: "
|
|
16176
|
-
action: "
|
|
16177
|
-
title: "
|
|
16178
|
-
description: "
|
|
16008
|
+
resource: "capacities",
|
|
16009
|
+
action: "get-computations",
|
|
16010
|
+
title: "Get Computations Capacities",
|
|
16011
|
+
description: "Get Computations Capacities.",
|
|
16179
16012
|
safety: "read",
|
|
16180
16013
|
destructive: false,
|
|
16181
16014
|
cli: {
|
|
16182
|
-
group: ["
|
|
16183
|
-
command: "
|
|
16015
|
+
group: ["capacities"],
|
|
16016
|
+
command: "get-computations",
|
|
16184
16017
|
interactive: "hidden"
|
|
16185
16018
|
},
|
|
16186
|
-
mcp: { entityTool: "
|
|
16019
|
+
mcp: { entityTool: "capacities" },
|
|
16187
16020
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16188
|
-
|
|
16189
|
-
|
|
16190
|
-
|
|
16191
|
-
|
|
16192
|
-
|
|
16193
|
-
|
|
16194
|
-
|
|
16195
|
-
|
|
16196
|
-
|
|
16197
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16021
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16022
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
16023
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
16024
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
16025
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
16026
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16027
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
16028
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
16029
|
+
user_id: /* @__PURE__ */ number$2()
|
|
16198
16030
|
}),
|
|
16199
16031
|
execute: (input, { client }) => {
|
|
16200
16032
|
const data = input;
|
|
16201
|
-
return client.runGeneratedRequest("
|
|
16033
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
16202
16034
|
client.httpClient,
|
|
16203
16035
|
client.organizationId,
|
|
16204
16036
|
client.workspaceIdNumber,
|
|
16205
|
-
data.
|
|
16206
|
-
data.to,
|
|
16037
|
+
data.group,
|
|
16207
16038
|
data,
|
|
16208
16039
|
void 0
|
|
16209
16040
|
]));
|
|
16210
16041
|
}
|
|
16211
16042
|
},
|
|
16212
16043
|
{
|
|
16213
|
-
id: "focus.capacities.
|
|
16044
|
+
id: "focus.capacities.settings-list",
|
|
16214
16045
|
family: "focus",
|
|
16215
16046
|
resource: "capacities",
|
|
16216
|
-
action: "
|
|
16217
|
-
title: "
|
|
16218
|
-
description: "
|
|
16047
|
+
action: "settings-list",
|
|
16048
|
+
title: "Settings List Capacities",
|
|
16049
|
+
description: "Settings List Capacities.",
|
|
16219
16050
|
safety: "read",
|
|
16220
16051
|
destructive: false,
|
|
16221
16052
|
cli: {
|
|
16222
|
-
group: ["capacities"],
|
|
16223
|
-
command: "
|
|
16053
|
+
group: ["capacities", "settings"],
|
|
16054
|
+
command: "list",
|
|
16224
16055
|
interactive: "hidden"
|
|
16225
16056
|
},
|
|
16226
16057
|
mcp: { entityTool: "capacities" },
|
|
16227
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16228
|
-
|
|
16229
|
-
|
|
16230
|
-
|
|
16231
|
-
|
|
16232
|
-
|
|
16233
|
-
|
|
16234
|
-
|
|
16235
|
-
|
|
16236
|
-
|
|
16237
|
-
|
|
16058
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
16059
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
16060
|
+
client.httpClient,
|
|
16061
|
+
client.workspaceIdNumber,
|
|
16062
|
+
void 0
|
|
16063
|
+
]))
|
|
16064
|
+
},
|
|
16065
|
+
{
|
|
16066
|
+
id: "focus.capacities.settings-update",
|
|
16067
|
+
family: "focus",
|
|
16068
|
+
resource: "capacities",
|
|
16069
|
+
action: "settings-update",
|
|
16070
|
+
title: "Settings Update Capacities",
|
|
16071
|
+
description: "Settings Update Capacities.",
|
|
16072
|
+
safety: "update",
|
|
16073
|
+
destructive: false,
|
|
16074
|
+
cli: {
|
|
16075
|
+
group: ["capacities", "settings"],
|
|
16076
|
+
command: "update",
|
|
16077
|
+
interactive: "default"
|
|
16078
|
+
},
|
|
16079
|
+
mcp: { entityTool: "capacities" },
|
|
16080
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
16238
16081
|
execute: (input, { client }) => {
|
|
16239
16082
|
const data = input;
|
|
16240
|
-
return client.runGeneratedRequest("
|
|
16083
|
+
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
16241
16084
|
client.httpClient,
|
|
16242
|
-
client.organizationId,
|
|
16243
16085
|
client.workspaceIdNumber,
|
|
16244
|
-
data.
|
|
16245
|
-
data,
|
|
16086
|
+
data.payload ?? data.data ?? data,
|
|
16246
16087
|
void 0
|
|
16247
16088
|
]));
|
|
16248
16089
|
}
|
|
@@ -16441,7 +16282,8 @@ const generatedFocusOperations = [
|
|
|
16441
16282
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
16442
16283
|
start_at: apiDateTimeString,
|
|
16443
16284
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16444
|
-
})))
|
|
16285
|
+
}))),
|
|
16286
|
+
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16445
16287
|
}) }),
|
|
16446
16288
|
execute: (input, { client }) => {
|
|
16447
16289
|
const data = input;
|
|
@@ -16496,7 +16338,6 @@ const generatedFocusOperations = [
|
|
|
16496
16338
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16497
16339
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16498
16340
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16499
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16500
16341
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16501
16342
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16502
16343
|
}),
|
|
@@ -16529,7 +16370,6 @@ const generatedFocusOperations = [
|
|
|
16529
16370
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16530
16371
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16531
16372
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16532
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16533
16373
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16534
16374
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16535
16375
|
}))),
|
|
@@ -16585,11 +16425,7 @@ const generatedFocusOperations = [
|
|
|
16585
16425
|
},
|
|
16586
16426
|
mcp: { entityTool: "custom-fields" },
|
|
16587
16427
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16588
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16589
|
-
"project",
|
|
16590
|
-
"task",
|
|
16591
|
-
"user"
|
|
16592
|
-
]),
|
|
16428
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
16593
16429
|
field_type: /* @__PURE__ */ picklist$1([
|
|
16594
16430
|
"select",
|
|
16595
16431
|
"multi_select",
|
|
@@ -16922,11 +16758,7 @@ const generatedFocusOperations = [
|
|
|
16922
16758
|
},
|
|
16923
16759
|
mcp: { entityTool: "custom-fields" },
|
|
16924
16760
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16925
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16926
|
-
"project",
|
|
16927
|
-
"task",
|
|
16928
|
-
"user"
|
|
16929
|
-
]),
|
|
16761
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
16930
16762
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
16931
16763
|
}) }),
|
|
16932
16764
|
execute: (input, { client }) => {
|
|
@@ -16940,37 +16772,6 @@ const generatedFocusOperations = [
|
|
|
16940
16772
|
]));
|
|
16941
16773
|
}
|
|
16942
16774
|
},
|
|
16943
|
-
{
|
|
16944
|
-
id: "focus.custom-fields.update-user-custom-field-values",
|
|
16945
|
-
family: "focus",
|
|
16946
|
-
resource: "custom-fields",
|
|
16947
|
-
action: "update-user-custom-field-values",
|
|
16948
|
-
title: "Update User Custom Field Values Custom Fields",
|
|
16949
|
-
description: "Update User Custom Field Values Custom Fields.",
|
|
16950
|
-
safety: "update",
|
|
16951
|
-
destructive: false,
|
|
16952
|
-
cli: {
|
|
16953
|
-
group: ["custom-fields"],
|
|
16954
|
-
command: "update-user-custom-field-values",
|
|
16955
|
-
interactive: "hidden"
|
|
16956
|
-
},
|
|
16957
|
-
mcp: { entityTool: "custom-fields" },
|
|
16958
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16959
|
-
payload: /* @__PURE__ */ unknown$1(),
|
|
16960
|
-
user_id: /* @__PURE__ */ number$2()
|
|
16961
|
-
}),
|
|
16962
|
-
execute: (input, { client }) => {
|
|
16963
|
-
const data = input;
|
|
16964
|
-
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
16965
|
-
client.httpClient,
|
|
16966
|
-
client.organizationId,
|
|
16967
|
-
client.workspaceIdNumber,
|
|
16968
|
-
data.user_id,
|
|
16969
|
-
data.payload ?? data.data ?? data,
|
|
16970
|
-
void 0
|
|
16971
|
-
]));
|
|
16972
|
-
}
|
|
16973
|
-
},
|
|
16974
16775
|
{
|
|
16975
16776
|
id: "focus.goals.create",
|
|
16976
16777
|
family: "focus",
|
|
@@ -17190,22 +16991,10 @@ const generatedFocusOperations = [
|
|
|
17190
16991
|
goal_id: /* @__PURE__ */ number$2(),
|
|
17191
16992
|
payload: /* @__PURE__ */ looseObject({
|
|
17192
16993
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17193
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17194
16994
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17195
16995
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17196
16996
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17197
|
-
|
|
17198
|
-
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
17199
|
-
"daily",
|
|
17200
|
-
"weekly",
|
|
17201
|
-
"daily_workdays",
|
|
17202
|
-
"monthly"
|
|
17203
|
-
])),
|
|
17204
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17205
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17206
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17207
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17208
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16997
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
17209
16998
|
})
|
|
17210
16999
|
}),
|
|
17211
17000
|
execute: (input, { client }) => {
|
|
@@ -18538,7 +18327,6 @@ const generatedFocusOperations = [
|
|
|
18538
18327
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18539
18328
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18540
18329
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18541
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18542
18330
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18543
18331
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18544
18332
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -18546,7 +18334,6 @@ const generatedFocusOperations = [
|
|
|
18546
18334
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18547
18335
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18548
18336
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18549
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18550
18337
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18551
18338
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18552
18339
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -20731,10 +20518,7 @@ const generatedFocusOperations = [
|
|
|
20731
20518
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20732
20519
|
name: /* @__PURE__ */ string$1(),
|
|
20733
20520
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20734
|
-
}))
|
|
20735
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20736
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20737
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20521
|
+
}))
|
|
20738
20522
|
}),
|
|
20739
20523
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20740
20524
|
}),
|
|
@@ -20775,28 +20559,6 @@ const generatedFocusOperations = [
|
|
|
20775
20559
|
]));
|
|
20776
20560
|
}
|
|
20777
20561
|
},
|
|
20778
|
-
{
|
|
20779
|
-
id: "focus.reports.get-forecast-availability",
|
|
20780
|
-
family: "focus",
|
|
20781
|
-
resource: "reports",
|
|
20782
|
-
action: "get-forecast-availability",
|
|
20783
|
-
title: "Get Forecast Availability Reports",
|
|
20784
|
-
description: "Get Forecast Availability Reports.",
|
|
20785
|
-
safety: "read",
|
|
20786
|
-
destructive: false,
|
|
20787
|
-
cli: {
|
|
20788
|
-
group: ["reports"],
|
|
20789
|
-
command: "get-forecast-availability",
|
|
20790
|
-
interactive: "hidden"
|
|
20791
|
-
},
|
|
20792
|
-
mcp: { entityTool: "reports" },
|
|
20793
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
20794
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
20795
|
-
client.httpClient,
|
|
20796
|
-
client.workspaceIdNumber,
|
|
20797
|
-
void 0
|
|
20798
|
-
]))
|
|
20799
|
-
},
|
|
20800
20562
|
{
|
|
20801
20563
|
id: "focus.reports.get-profitability",
|
|
20802
20564
|
family: "focus",
|
|
@@ -20856,17 +20618,9 @@ const generatedFocusOperations = [
|
|
|
20856
20618
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20857
20619
|
name: /* @__PURE__ */ string$1(),
|
|
20858
20620
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20859
|
-
}))
|
|
20860
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20861
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20862
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20621
|
+
}))
|
|
20863
20622
|
}),
|
|
20864
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20865
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20866
|
-
"csv",
|
|
20867
|
-
"xlsx",
|
|
20868
|
-
"pdf"
|
|
20869
|
-
]))
|
|
20623
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20870
20624
|
}),
|
|
20871
20625
|
execute: (input, { client }) => {
|
|
20872
20626
|
const data = input;
|
|
@@ -20876,23 +20630,22 @@ const generatedFocusOperations = [
|
|
|
20876
20630
|
data.payload ?? data.data ?? data,
|
|
20877
20631
|
data.response_format,
|
|
20878
20632
|
data.include_dicts,
|
|
20879
|
-
data.xTogglReportExport,
|
|
20880
20633
|
void 0
|
|
20881
20634
|
]));
|
|
20882
20635
|
}
|
|
20883
20636
|
},
|
|
20884
20637
|
{
|
|
20885
|
-
id: "focus.reports.get-
|
|
20638
|
+
id: "focus.reports.get-workload",
|
|
20886
20639
|
family: "focus",
|
|
20887
20640
|
resource: "reports",
|
|
20888
|
-
action: "get-
|
|
20889
|
-
title: "Get
|
|
20890
|
-
description: "Get
|
|
20641
|
+
action: "get-workload",
|
|
20642
|
+
title: "Get Workload Reports",
|
|
20643
|
+
description: "Get Workload Reports.",
|
|
20891
20644
|
safety: "update",
|
|
20892
20645
|
destructive: false,
|
|
20893
20646
|
cli: {
|
|
20894
20647
|
group: ["reports"],
|
|
20895
|
-
command: "get-
|
|
20648
|
+
command: "get-workload",
|
|
20896
20649
|
interactive: "hidden"
|
|
20897
20650
|
},
|
|
20898
20651
|
mcp: { entityTool: "reports" },
|
|
@@ -20938,205 +20691,14 @@ const generatedFocusOperations = [
|
|
|
20938
20691
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20939
20692
|
name: /* @__PURE__ */ string$1(),
|
|
20940
20693
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20941
|
-
}))
|
|
20942
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20943
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20944
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20694
|
+
}))
|
|
20945
20695
|
}) }),
|
|
20946
|
-
execute: (input, { client }) => {
|
|
20947
|
-
const data = input;
|
|
20948
|
-
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
20949
|
-
client.httpClient,
|
|
20950
|
-
client.workspaceIdNumber,
|
|
20951
|
-
data.payload ?? data.data ?? data,
|
|
20952
|
-
void 0
|
|
20953
|
-
]));
|
|
20954
|
-
}
|
|
20955
|
-
},
|
|
20956
|
-
{
|
|
20957
|
-
id: "focus.reports.get-workload",
|
|
20958
|
-
family: "focus",
|
|
20959
|
-
resource: "reports",
|
|
20960
|
-
action: "get-workload",
|
|
20961
|
-
title: "Get Workload Reports",
|
|
20962
|
-
description: "Get Workload Reports.",
|
|
20963
|
-
safety: "update",
|
|
20964
|
-
destructive: false,
|
|
20965
|
-
cli: {
|
|
20966
|
-
group: ["reports"],
|
|
20967
|
-
command: "get-workload",
|
|
20968
|
-
interactive: "hidden"
|
|
20969
|
-
},
|
|
20970
|
-
mcp: { entityTool: "reports" },
|
|
20971
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20972
|
-
payload: /* @__PURE__ */ looseObject({
|
|
20973
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20974
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
20975
|
-
function: /* @__PURE__ */ string$1(),
|
|
20976
|
-
property: /* @__PURE__ */ string$1()
|
|
20977
|
-
}),
|
|
20978
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20979
|
-
property: /* @__PURE__ */ string$1()
|
|
20980
|
-
})),
|
|
20981
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20982
|
-
function: /* @__PURE__ */ string$1(),
|
|
20983
|
-
property: /* @__PURE__ */ string$1()
|
|
20984
|
-
})),
|
|
20985
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20986
|
-
currency: /* @__PURE__ */ string$1(),
|
|
20987
|
-
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20988
|
-
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
20989
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20990
|
-
property: /* @__PURE__ */ string$1()
|
|
20991
|
-
})),
|
|
20992
|
-
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20993
|
-
property: /* @__PURE__ */ string$1(),
|
|
20994
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
20995
|
-
})),
|
|
20996
|
-
limit: /* @__PURE__ */ number$2(),
|
|
20997
|
-
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20998
|
-
direction: /* @__PURE__ */ string$1(),
|
|
20999
|
-
nulls: /* @__PURE__ */ string$1(),
|
|
21000
|
-
property: /* @__PURE__ */ string$1()
|
|
21001
|
-
})),
|
|
21002
|
-
pagination: /* @__PURE__ */ looseObject({
|
|
21003
|
-
page: /* @__PURE__ */ number$2(),
|
|
21004
|
-
per_page: /* @__PURE__ */ number$2()
|
|
21005
|
-
}),
|
|
21006
|
-
period: /* @__PURE__ */ looseObject({
|
|
21007
|
-
from: /* @__PURE__ */ string$1(),
|
|
21008
|
-
preset: /* @__PURE__ */ string$1(),
|
|
21009
|
-
to: /* @__PURE__ */ string$1()
|
|
21010
|
-
}),
|
|
21011
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21012
|
-
name: /* @__PURE__ */ string$1(),
|
|
21013
|
-
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
21014
|
-
})),
|
|
21015
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
21016
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21017
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21018
|
-
}),
|
|
21019
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
21020
|
-
"csv",
|
|
21021
|
-
"xlsx",
|
|
21022
|
-
"pdf"
|
|
21023
|
-
]))
|
|
21024
|
-
}),
|
|
21025
20696
|
execute: (input, { client }) => {
|
|
21026
20697
|
const data = input;
|
|
21027
20698
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
21028
20699
|
client.httpClient,
|
|
21029
20700
|
client.workspaceIdNumber,
|
|
21030
20701
|
data.payload ?? data.data ?? data,
|
|
21031
|
-
data.xTogglReportExport,
|
|
21032
|
-
void 0
|
|
21033
|
-
]));
|
|
21034
|
-
}
|
|
21035
|
-
},
|
|
21036
|
-
{
|
|
21037
|
-
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
21038
|
-
family: "focus",
|
|
21039
|
-
resource: "reportschedules",
|
|
21040
|
-
action: "delete-shared-report-schedule",
|
|
21041
|
-
title: "Delete Shared Report Schedule Reportschedules",
|
|
21042
|
-
description: "Delete Shared Report Schedule Reportschedules.",
|
|
21043
|
-
safety: "delete",
|
|
21044
|
-
destructive: true,
|
|
21045
|
-
cli: {
|
|
21046
|
-
group: ["reportschedules"],
|
|
21047
|
-
command: "delete-shared-report-schedule",
|
|
21048
|
-
interactive: "default"
|
|
21049
|
-
},
|
|
21050
|
-
mcp: { entityTool: "reportschedules" },
|
|
21051
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21052
|
-
execute: (input, { client }) => {
|
|
21053
|
-
const data = input;
|
|
21054
|
-
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
21055
|
-
client.httpClient,
|
|
21056
|
-
client.workspaceIdNumber,
|
|
21057
|
-
data.id,
|
|
21058
|
-
void 0
|
|
21059
|
-
]));
|
|
21060
|
-
}
|
|
21061
|
-
},
|
|
21062
|
-
{
|
|
21063
|
-
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
21064
|
-
family: "focus",
|
|
21065
|
-
resource: "reportschedules",
|
|
21066
|
-
action: "upsert-saved-view-schedule",
|
|
21067
|
-
title: "Upsert Saved View Schedule Reportschedules",
|
|
21068
|
-
description: "Upsert Saved View Schedule Reportschedules.",
|
|
21069
|
-
safety: "update",
|
|
21070
|
-
destructive: false,
|
|
21071
|
-
cli: {
|
|
21072
|
-
group: ["reportschedules"],
|
|
21073
|
-
command: "upsert-saved-view-schedule",
|
|
21074
|
-
interactive: "default"
|
|
21075
|
-
},
|
|
21076
|
-
mcp: { entityTool: "reportschedules" },
|
|
21077
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21078
|
-
id: /* @__PURE__ */ number$2(),
|
|
21079
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21080
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
21081
|
-
"daily",
|
|
21082
|
-
"weekly",
|
|
21083
|
-
"monthly"
|
|
21084
|
-
]),
|
|
21085
|
-
time: /* @__PURE__ */ string$1(),
|
|
21086
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21087
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21088
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21089
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
21090
|
-
})
|
|
21091
|
-
}),
|
|
21092
|
-
execute: (input, { client }) => {
|
|
21093
|
-
const data = input;
|
|
21094
|
-
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
21095
|
-
client.httpClient,
|
|
21096
|
-
client.workspaceIdNumber,
|
|
21097
|
-
data.id,
|
|
21098
|
-
data.payload ?? data.data ?? data,
|
|
21099
|
-
void 0
|
|
21100
|
-
]));
|
|
21101
|
-
}
|
|
21102
|
-
},
|
|
21103
|
-
{
|
|
21104
|
-
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
21105
|
-
family: "focus",
|
|
21106
|
-
resource: "reportschedules",
|
|
21107
|
-
action: "upsert-shared-report-schedule",
|
|
21108
|
-
title: "Upsert Shared Report Schedule Reportschedules",
|
|
21109
|
-
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
21110
|
-
safety: "update",
|
|
21111
|
-
destructive: false,
|
|
21112
|
-
cli: {
|
|
21113
|
-
group: ["reportschedules"],
|
|
21114
|
-
command: "upsert-shared-report-schedule",
|
|
21115
|
-
interactive: "default"
|
|
21116
|
-
},
|
|
21117
|
-
mcp: { entityTool: "reportschedules" },
|
|
21118
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21119
|
-
id: /* @__PURE__ */ number$2(),
|
|
21120
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21121
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
21122
|
-
"daily",
|
|
21123
|
-
"weekly",
|
|
21124
|
-
"monthly"
|
|
21125
|
-
]),
|
|
21126
|
-
time: /* @__PURE__ */ string$1(),
|
|
21127
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21128
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21129
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21130
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
21131
|
-
})
|
|
21132
|
-
}),
|
|
21133
|
-
execute: (input, { client }) => {
|
|
21134
|
-
const data = input;
|
|
21135
|
-
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
21136
|
-
client.httpClient,
|
|
21137
|
-
client.workspaceIdNumber,
|
|
21138
|
-
data.id,
|
|
21139
|
-
data.payload ?? data.data ?? data,
|
|
21140
20702
|
void 0
|
|
21141
20703
|
]));
|
|
21142
20704
|
}
|
|
@@ -21174,9 +20736,7 @@ const generatedFocusOperations = [
|
|
|
21174
20736
|
"reports.detailed",
|
|
21175
20737
|
"reports.utilization",
|
|
21176
20738
|
"reports.workload",
|
|
21177
|
-
"reports.profitability"
|
|
21178
|
-
"reports.time-off",
|
|
21179
|
-
"reports.time-accounting"
|
|
20739
|
+
"reports.profitability"
|
|
21180
20740
|
]),
|
|
21181
20741
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21182
20742
|
}) }),
|
|
@@ -21300,37 +20860,7 @@ const generatedFocusOperations = [
|
|
|
21300
20860
|
}
|
|
21301
20861
|
},
|
|
21302
20862
|
{
|
|
21303
|
-
id: "focus.search.
|
|
21304
|
-
family: "focus",
|
|
21305
|
-
resource: "search",
|
|
21306
|
-
action: "mentions",
|
|
21307
|
-
title: "Mentions Search",
|
|
21308
|
-
description: "Mentions Search.",
|
|
21309
|
-
safety: "read",
|
|
21310
|
-
destructive: false,
|
|
21311
|
-
cli: {
|
|
21312
|
-
group: ["search"],
|
|
21313
|
-
command: "mentions",
|
|
21314
|
-
interactive: "hidden"
|
|
21315
|
-
},
|
|
21316
|
-
mcp: { entityTool: "search" },
|
|
21317
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21318
|
-
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21319
|
-
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21320
|
-
}),
|
|
21321
|
-
execute: (input, { client }) => {
|
|
21322
|
-
const data = input;
|
|
21323
|
-
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
21324
|
-
client.httpClient,
|
|
21325
|
-
client.organizationId,
|
|
21326
|
-
client.workspaceIdNumber,
|
|
21327
|
-
data,
|
|
21328
|
-
void 0
|
|
21329
|
-
]));
|
|
21330
|
-
}
|
|
21331
|
-
},
|
|
21332
|
-
{
|
|
21333
|
-
id: "focus.search.search",
|
|
20863
|
+
id: "focus.search.search",
|
|
21334
20864
|
family: "focus",
|
|
21335
20865
|
resource: "search",
|
|
21336
20866
|
action: "search",
|
|
@@ -21356,240 +20886,6 @@ const generatedFocusOperations = [
|
|
|
21356
20886
|
]));
|
|
21357
20887
|
}
|
|
21358
20888
|
},
|
|
21359
|
-
{
|
|
21360
|
-
id: "focus.sharedreports.add-shared-report-grants",
|
|
21361
|
-
family: "focus",
|
|
21362
|
-
resource: "sharedreports",
|
|
21363
|
-
action: "add-shared-report-grants",
|
|
21364
|
-
title: "Add Shared Report Grants Sharedreports",
|
|
21365
|
-
description: "Add Shared Report Grants Sharedreports.",
|
|
21366
|
-
safety: "update",
|
|
21367
|
-
destructive: false,
|
|
21368
|
-
cli: {
|
|
21369
|
-
group: ["sharedreports"],
|
|
21370
|
-
command: "add-shared-report-grants",
|
|
21371
|
-
interactive: "default"
|
|
21372
|
-
},
|
|
21373
|
-
mcp: { entityTool: "sharedreports" },
|
|
21374
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21375
|
-
id: /* @__PURE__ */ number$2(),
|
|
21376
|
-
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21377
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21378
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21379
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21380
|
-
})) })
|
|
21381
|
-
}),
|
|
21382
|
-
execute: (input, { client }) => {
|
|
21383
|
-
const data = input;
|
|
21384
|
-
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
21385
|
-
client.httpClient,
|
|
21386
|
-
client.workspaceIdNumber,
|
|
21387
|
-
data.id,
|
|
21388
|
-
data.payload ?? data.data ?? data,
|
|
21389
|
-
void 0
|
|
21390
|
-
]));
|
|
21391
|
-
}
|
|
21392
|
-
},
|
|
21393
|
-
{
|
|
21394
|
-
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
21395
|
-
family: "focus",
|
|
21396
|
-
resource: "sharedreports",
|
|
21397
|
-
action: "get-saved-view-shared-report",
|
|
21398
|
-
title: "Get Saved View Shared Report Sharedreports",
|
|
21399
|
-
description: "Get Saved View Shared Report Sharedreports.",
|
|
21400
|
-
safety: "read",
|
|
21401
|
-
destructive: false,
|
|
21402
|
-
cli: {
|
|
21403
|
-
group: ["sharedreports"],
|
|
21404
|
-
command: "get-saved-view-shared-report",
|
|
21405
|
-
interactive: "available"
|
|
21406
|
-
},
|
|
21407
|
-
mcp: { entityTool: "sharedreports" },
|
|
21408
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21409
|
-
execute: (input, { client }) => {
|
|
21410
|
-
const data = input;
|
|
21411
|
-
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
21412
|
-
client.httpClient,
|
|
21413
|
-
client.workspaceIdNumber,
|
|
21414
|
-
data.id,
|
|
21415
|
-
void 0
|
|
21416
|
-
]));
|
|
21417
|
-
}
|
|
21418
|
-
},
|
|
21419
|
-
{
|
|
21420
|
-
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21421
|
-
family: "focus",
|
|
21422
|
-
resource: "sharedreports",
|
|
21423
|
-
action: "get-shared-report-for-viewer",
|
|
21424
|
-
title: "Get Shared Report For Viewer Sharedreports",
|
|
21425
|
-
description: "Get Shared Report For Viewer Sharedreports.",
|
|
21426
|
-
safety: "read",
|
|
21427
|
-
destructive: false,
|
|
21428
|
-
cli: {
|
|
21429
|
-
group: ["sharedreports"],
|
|
21430
|
-
command: "get-shared-report-for-viewer",
|
|
21431
|
-
interactive: "available"
|
|
21432
|
-
},
|
|
21433
|
-
mcp: { entityTool: "sharedreports" },
|
|
21434
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21435
|
-
execute: (input, { client }) => {
|
|
21436
|
-
const data = input;
|
|
21437
|
-
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
21438
|
-
client.httpClient,
|
|
21439
|
-
client.workspaceIdNumber,
|
|
21440
|
-
data.id,
|
|
21441
|
-
void 0
|
|
21442
|
-
]));
|
|
21443
|
-
}
|
|
21444
|
-
},
|
|
21445
|
-
{
|
|
21446
|
-
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
21447
|
-
family: "focus",
|
|
21448
|
-
resource: "sharedreports",
|
|
21449
|
-
action: "get-shared-reports-shared-by-me",
|
|
21450
|
-
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
21451
|
-
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
21452
|
-
safety: "read",
|
|
21453
|
-
destructive: false,
|
|
21454
|
-
cli: {
|
|
21455
|
-
group: ["sharedreports"],
|
|
21456
|
-
command: "get-shared-reports-shared-by-me",
|
|
21457
|
-
interactive: "hidden"
|
|
21458
|
-
},
|
|
21459
|
-
mcp: { entityTool: "sharedreports" },
|
|
21460
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21461
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
21462
|
-
client.httpClient,
|
|
21463
|
-
client.workspaceIdNumber,
|
|
21464
|
-
void 0
|
|
21465
|
-
]))
|
|
21466
|
-
},
|
|
21467
|
-
{
|
|
21468
|
-
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
21469
|
-
family: "focus",
|
|
21470
|
-
resource: "sharedreports",
|
|
21471
|
-
action: "get-shared-reports-shared-with-me",
|
|
21472
|
-
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
21473
|
-
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
21474
|
-
safety: "read",
|
|
21475
|
-
destructive: false,
|
|
21476
|
-
cli: {
|
|
21477
|
-
group: ["sharedreports"],
|
|
21478
|
-
command: "get-shared-reports-shared-with-me",
|
|
21479
|
-
interactive: "hidden"
|
|
21480
|
-
},
|
|
21481
|
-
mcp: { entityTool: "sharedreports" },
|
|
21482
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21483
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
21484
|
-
client.httpClient,
|
|
21485
|
-
client.workspaceIdNumber,
|
|
21486
|
-
void 0
|
|
21487
|
-
]))
|
|
21488
|
-
},
|
|
21489
|
-
{
|
|
21490
|
-
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21491
|
-
family: "focus",
|
|
21492
|
-
resource: "sharedreports",
|
|
21493
|
-
action: "revoke-shared-report-grant",
|
|
21494
|
-
title: "Revoke Shared Report Grant Sharedreports",
|
|
21495
|
-
description: "Revoke Shared Report Grant Sharedreports.",
|
|
21496
|
-
safety: "delete",
|
|
21497
|
-
destructive: true,
|
|
21498
|
-
cli: {
|
|
21499
|
-
group: ["sharedreports"],
|
|
21500
|
-
command: "revoke-shared-report-grant",
|
|
21501
|
-
interactive: "default"
|
|
21502
|
-
},
|
|
21503
|
-
mcp: { entityTool: "sharedreports" },
|
|
21504
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21505
|
-
grant_id: /* @__PURE__ */ number$2(),
|
|
21506
|
-
id: /* @__PURE__ */ number$2()
|
|
21507
|
-
}),
|
|
21508
|
-
execute: (input, { client }) => {
|
|
21509
|
-
const data = input;
|
|
21510
|
-
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
21511
|
-
client.httpClient,
|
|
21512
|
-
client.workspaceIdNumber,
|
|
21513
|
-
data.id,
|
|
21514
|
-
data.grant_id,
|
|
21515
|
-
void 0
|
|
21516
|
-
]));
|
|
21517
|
-
}
|
|
21518
|
-
},
|
|
21519
|
-
{
|
|
21520
|
-
id: "focus.sharedreports.share-saved-view",
|
|
21521
|
-
family: "focus",
|
|
21522
|
-
resource: "sharedreports",
|
|
21523
|
-
action: "share-saved-view",
|
|
21524
|
-
title: "Share Saved View Sharedreports",
|
|
21525
|
-
description: "Share Saved View Sharedreports.",
|
|
21526
|
-
safety: "update",
|
|
21527
|
-
destructive: false,
|
|
21528
|
-
cli: {
|
|
21529
|
-
group: ["sharedreports"],
|
|
21530
|
-
command: "share-saved-view",
|
|
21531
|
-
interactive: "hidden"
|
|
21532
|
-
},
|
|
21533
|
-
mcp: { entityTool: "sharedreports" },
|
|
21534
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21535
|
-
id: /* @__PURE__ */ number$2(),
|
|
21536
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21537
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21538
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21539
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21540
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21541
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21542
|
-
})
|
|
21543
|
-
}),
|
|
21544
|
-
execute: (input, { client }) => {
|
|
21545
|
-
const data = input;
|
|
21546
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21547
|
-
client.httpClient,
|
|
21548
|
-
client.workspaceIdNumber,
|
|
21549
|
-
data.id,
|
|
21550
|
-
data.payload ?? data.data ?? data,
|
|
21551
|
-
void 0
|
|
21552
|
-
]));
|
|
21553
|
-
}
|
|
21554
|
-
},
|
|
21555
|
-
{
|
|
21556
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
21557
|
-
family: "focus",
|
|
21558
|
-
resource: "sharedreports",
|
|
21559
|
-
action: "share-saved-view-many",
|
|
21560
|
-
title: "Share Saved View Many Sharedreports",
|
|
21561
|
-
description: "Share Saved View Many Sharedreports.",
|
|
21562
|
-
safety: "update",
|
|
21563
|
-
destructive: false,
|
|
21564
|
-
cli: {
|
|
21565
|
-
group: ["sharedreports"],
|
|
21566
|
-
command: "share-saved-view-many",
|
|
21567
|
-
interactive: "hidden"
|
|
21568
|
-
},
|
|
21569
|
-
mcp: { entityTool: "sharedreports" },
|
|
21570
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21571
|
-
id: /* @__PURE__ */ number$2(),
|
|
21572
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21573
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21574
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21575
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21576
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21577
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21578
|
-
})),
|
|
21579
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21580
|
-
})
|
|
21581
|
-
}),
|
|
21582
|
-
execute: (input, { client }) => {
|
|
21583
|
-
const data = input;
|
|
21584
|
-
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21585
|
-
client.httpClient,
|
|
21586
|
-
client.workspaceIdNumber,
|
|
21587
|
-
data.id,
|
|
21588
|
-
data.payload ?? data.data ?? data,
|
|
21589
|
-
void 0
|
|
21590
|
-
]));
|
|
21591
|
-
}
|
|
21592
|
-
},
|
|
21593
20889
|
{
|
|
21594
20890
|
id: "focus.statuses.create-status",
|
|
21595
20891
|
family: "focus",
|
|
@@ -21846,181 +21142,22 @@ const generatedFocusOperations = [
|
|
|
21846
21142
|
family: "focus",
|
|
21847
21143
|
resource: "subscriptions",
|
|
21848
21144
|
action: "upsert-forced-trial",
|
|
21849
|
-
title: "Upsert Forced Trial Subscriptions",
|
|
21850
|
-
description: "Upsert Forced Trial Subscriptions.",
|
|
21851
|
-
safety: "update",
|
|
21852
|
-
destructive: false,
|
|
21853
|
-
cli: {
|
|
21854
|
-
group: ["subscriptions"],
|
|
21855
|
-
command: "upsert-forced-trial",
|
|
21856
|
-
interactive: "default"
|
|
21857
|
-
},
|
|
21858
|
-
mcp: { entityTool: "subscriptions" },
|
|
21859
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21860
|
-
execute: (input, { client }) => {
|
|
21861
|
-
const data = input;
|
|
21862
|
-
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
21863
|
-
client.httpClient,
|
|
21864
|
-
client.organizationId,
|
|
21865
|
-
client.workspaceIdNumber,
|
|
21866
|
-
data.payload ?? data.data ?? data,
|
|
21867
|
-
void 0
|
|
21868
|
-
]));
|
|
21869
|
-
}
|
|
21870
|
-
},
|
|
21871
|
-
{
|
|
21872
|
-
id: "focus.tags.archive",
|
|
21873
|
-
family: "focus",
|
|
21874
|
-
resource: "tags",
|
|
21875
|
-
action: "archive",
|
|
21876
|
-
title: "Archive Tags",
|
|
21877
|
-
description: "Archive Tags.",
|
|
21878
|
-
safety: "update",
|
|
21879
|
-
destructive: false,
|
|
21880
|
-
cli: {
|
|
21881
|
-
group: ["tags"],
|
|
21882
|
-
command: "archive",
|
|
21883
|
-
interactive: "default"
|
|
21884
|
-
},
|
|
21885
|
-
mcp: { entityTool: "tags" },
|
|
21886
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
21887
|
-
execute: (input, { client }) => {
|
|
21888
|
-
const data = input;
|
|
21889
|
-
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
21890
|
-
client.httpClient,
|
|
21891
|
-
client.workspaceIdNumber,
|
|
21892
|
-
data.tag_id,
|
|
21893
|
-
void 0
|
|
21894
|
-
]));
|
|
21895
|
-
}
|
|
21896
|
-
},
|
|
21897
|
-
{
|
|
21898
|
-
id: "focus.tags.bulk-archive",
|
|
21899
|
-
family: "focus",
|
|
21900
|
-
resource: "tags",
|
|
21901
|
-
action: "bulk-archive",
|
|
21902
|
-
title: "Bulk Archive Tags",
|
|
21903
|
-
description: "Bulk Archive Tags.",
|
|
21904
|
-
safety: "update",
|
|
21905
|
-
destructive: false,
|
|
21906
|
-
cli: {
|
|
21907
|
-
group: ["tags", "bulk"],
|
|
21908
|
-
command: "archive",
|
|
21909
|
-
interactive: "default"
|
|
21910
|
-
},
|
|
21911
|
-
mcp: { entityTool: "tags" },
|
|
21912
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21913
|
-
execute: (input, { client }) => {
|
|
21914
|
-
const data = input;
|
|
21915
|
-
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
21916
|
-
client.httpClient,
|
|
21917
|
-
client.workspaceIdNumber,
|
|
21918
|
-
data.payload ?? data.data ?? data,
|
|
21919
|
-
void 0
|
|
21920
|
-
]));
|
|
21921
|
-
}
|
|
21922
|
-
},
|
|
21923
|
-
{
|
|
21924
|
-
id: "focus.tags.bulk-create",
|
|
21925
|
-
family: "focus",
|
|
21926
|
-
resource: "tags",
|
|
21927
|
-
action: "bulk-create",
|
|
21928
|
-
title: "Bulk Create Tags",
|
|
21929
|
-
description: "Bulk Create Tags.",
|
|
21930
|
-
safety: "create",
|
|
21931
|
-
destructive: false,
|
|
21932
|
-
cli: {
|
|
21933
|
-
group: ["tags", "bulk"],
|
|
21934
|
-
command: "create",
|
|
21935
|
-
interactive: "default"
|
|
21936
|
-
},
|
|
21937
|
-
mcp: { entityTool: "tags" },
|
|
21938
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21939
|
-
color: /* @__PURE__ */ string$1(),
|
|
21940
|
-
name: /* @__PURE__ */ string$1()
|
|
21941
|
-
})) }) }),
|
|
21942
|
-
execute: (input, { client }) => {
|
|
21943
|
-
const data = input;
|
|
21944
|
-
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
21945
|
-
client.httpClient,
|
|
21946
|
-
client.workspaceIdNumber,
|
|
21947
|
-
data.payload ?? data.data ?? data,
|
|
21948
|
-
void 0
|
|
21949
|
-
]));
|
|
21950
|
-
}
|
|
21951
|
-
},
|
|
21952
|
-
{
|
|
21953
|
-
id: "focus.tags.bulk-delete",
|
|
21954
|
-
family: "focus",
|
|
21955
|
-
resource: "tags",
|
|
21956
|
-
action: "bulk-delete",
|
|
21957
|
-
title: "Bulk Delete Tags",
|
|
21958
|
-
description: "Bulk Delete Tags.",
|
|
21959
|
-
safety: "delete",
|
|
21960
|
-
destructive: true,
|
|
21961
|
-
cli: {
|
|
21962
|
-
group: ["tags", "bulk"],
|
|
21963
|
-
command: "delete",
|
|
21964
|
-
interactive: "default"
|
|
21965
|
-
},
|
|
21966
|
-
mcp: { entityTool: "tags" },
|
|
21967
|
-
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
21968
|
-
execute: (input, { client }) => {
|
|
21969
|
-
const data = input;
|
|
21970
|
-
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
21971
|
-
client.httpClient,
|
|
21972
|
-
client.workspaceIdNumber,
|
|
21973
|
-
data.ids,
|
|
21974
|
-
void 0
|
|
21975
|
-
]));
|
|
21976
|
-
}
|
|
21977
|
-
},
|
|
21978
|
-
{
|
|
21979
|
-
id: "focus.tags.bulk-restore",
|
|
21980
|
-
family: "focus",
|
|
21981
|
-
resource: "tags",
|
|
21982
|
-
action: "bulk-restore",
|
|
21983
|
-
title: "Bulk Restore Tags",
|
|
21984
|
-
description: "Bulk Restore Tags.",
|
|
21985
|
-
safety: "update",
|
|
21986
|
-
destructive: false,
|
|
21987
|
-
cli: {
|
|
21988
|
-
group: ["tags", "bulk"],
|
|
21989
|
-
command: "restore",
|
|
21990
|
-
interactive: "default"
|
|
21991
|
-
},
|
|
21992
|
-
mcp: { entityTool: "tags" },
|
|
21993
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21994
|
-
execute: (input, { client }) => {
|
|
21995
|
-
const data = input;
|
|
21996
|
-
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
21997
|
-
client.httpClient,
|
|
21998
|
-
client.workspaceIdNumber,
|
|
21999
|
-
data.payload ?? data.data ?? data,
|
|
22000
|
-
void 0
|
|
22001
|
-
]));
|
|
22002
|
-
}
|
|
22003
|
-
},
|
|
22004
|
-
{
|
|
22005
|
-
id: "focus.tags.bulk-unarchive",
|
|
22006
|
-
family: "focus",
|
|
22007
|
-
resource: "tags",
|
|
22008
|
-
action: "bulk-unarchive",
|
|
22009
|
-
title: "Bulk Unarchive Tags",
|
|
22010
|
-
description: "Bulk Unarchive Tags.",
|
|
21145
|
+
title: "Upsert Forced Trial Subscriptions",
|
|
21146
|
+
description: "Upsert Forced Trial Subscriptions.",
|
|
22011
21147
|
safety: "update",
|
|
22012
21148
|
destructive: false,
|
|
22013
21149
|
cli: {
|
|
22014
|
-
group: ["
|
|
22015
|
-
command: "
|
|
21150
|
+
group: ["subscriptions"],
|
|
21151
|
+
command: "upsert-forced-trial",
|
|
22016
21152
|
interactive: "default"
|
|
22017
21153
|
},
|
|
22018
|
-
mcp: { entityTool: "
|
|
22019
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
21154
|
+
mcp: { entityTool: "subscriptions" },
|
|
21155
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
22020
21156
|
execute: (input, { client }) => {
|
|
22021
21157
|
const data = input;
|
|
22022
|
-
return client.runGeneratedRequest("
|
|
21158
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
22023
21159
|
client.httpClient,
|
|
21160
|
+
client.organizationId,
|
|
22024
21161
|
client.workspaceIdNumber,
|
|
22025
21162
|
data.payload ?? data.data ?? data,
|
|
22026
21163
|
void 0
|
|
@@ -22111,35 +21248,6 @@ const generatedFocusOperations = [
|
|
|
22111
21248
|
return client.listTags(data);
|
|
22112
21249
|
}
|
|
22113
21250
|
},
|
|
22114
|
-
{
|
|
22115
|
-
id: "focus.tags.merge",
|
|
22116
|
-
family: "focus",
|
|
22117
|
-
resource: "tags",
|
|
22118
|
-
action: "merge",
|
|
22119
|
-
title: "Merge Tags",
|
|
22120
|
-
description: "Merge Tags.",
|
|
22121
|
-
safety: "update",
|
|
22122
|
-
destructive: false,
|
|
22123
|
-
cli: {
|
|
22124
|
-
group: ["tags"],
|
|
22125
|
-
command: "merge",
|
|
22126
|
-
interactive: "default"
|
|
22127
|
-
},
|
|
22128
|
-
mcp: { entityTool: "tags" },
|
|
22129
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
22130
|
-
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
22131
|
-
target_id: /* @__PURE__ */ number$2()
|
|
22132
|
-
}) }),
|
|
22133
|
-
execute: (input, { client }) => {
|
|
22134
|
-
const data = input;
|
|
22135
|
-
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
22136
|
-
client.httpClient,
|
|
22137
|
-
client.workspaceIdNumber,
|
|
22138
|
-
data.payload ?? data.data ?? data,
|
|
22139
|
-
void 0
|
|
22140
|
-
]));
|
|
22141
|
-
}
|
|
22142
|
-
},
|
|
22143
21251
|
{
|
|
22144
21252
|
id: "focus.tags.restore",
|
|
22145
21253
|
family: "focus",
|
|
@@ -22166,32 +21274,6 @@ const generatedFocusOperations = [
|
|
|
22166
21274
|
]));
|
|
22167
21275
|
}
|
|
22168
21276
|
},
|
|
22169
|
-
{
|
|
22170
|
-
id: "focus.tags.unarchive",
|
|
22171
|
-
family: "focus",
|
|
22172
|
-
resource: "tags",
|
|
22173
|
-
action: "unarchive",
|
|
22174
|
-
title: "Unarchive Tags",
|
|
22175
|
-
description: "Unarchive Tags.",
|
|
22176
|
-
safety: "update",
|
|
22177
|
-
destructive: false,
|
|
22178
|
-
cli: {
|
|
22179
|
-
group: ["tags"],
|
|
22180
|
-
command: "unarchive",
|
|
22181
|
-
interactive: "default"
|
|
22182
|
-
},
|
|
22183
|
-
mcp: { entityTool: "tags" },
|
|
22184
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
22185
|
-
execute: (input, { client }) => {
|
|
22186
|
-
const data = input;
|
|
22187
|
-
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
22188
|
-
client.httpClient,
|
|
22189
|
-
client.workspaceIdNumber,
|
|
22190
|
-
data.tag_id,
|
|
22191
|
-
void 0
|
|
22192
|
-
]));
|
|
22193
|
-
}
|
|
22194
|
-
},
|
|
22195
21277
|
{
|
|
22196
21278
|
id: "focus.tags.update",
|
|
22197
21279
|
family: "focus",
|
|
@@ -22873,12 +21955,12 @@ const generatedFocusOperations = [
|
|
|
22873
21955
|
mcp: { entityTool: "tasks" },
|
|
22874
21956
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22875
21957
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22876
|
-
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22877
21958
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22878
21959
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22879
21960
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22880
21961
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22881
21962
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21963
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22882
21964
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22883
21965
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22884
21966
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22915,6 +21997,7 @@ const generatedFocusOperations = [
|
|
|
22915
21997
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22916
21998
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22917
21999
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22000
|
+
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22918
22001
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22919
22002
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22920
22003
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22931,6 +22014,7 @@ const generatedFocusOperations = [
|
|
|
22931
22014
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22932
22015
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22933
22016
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22017
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22934
22018
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22935
22019
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22936
22020
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22986,6 +22070,7 @@ const generatedFocusOperations = [
|
|
|
22986
22070
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22987
22071
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22988
22072
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22073
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22989
22074
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22990
22075
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22991
22076
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23026,6 +22111,7 @@ const generatedFocusOperations = [
|
|
|
23026
22111
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23027
22112
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23028
22113
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22114
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23029
22115
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23030
22116
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23031
22117
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23066,7 +22152,6 @@ const generatedFocusOperations = [
|
|
|
23066
22152
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23067
22153
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23068
22154
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23069
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23070
22155
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23071
22156
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23072
22157
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23080,8 +22165,7 @@ const generatedFocusOperations = [
|
|
|
23080
22165
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23081
22166
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23082
22167
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23083
|
-
|
|
23084
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22168
|
+
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23085
22169
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23086
22170
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23087
22171
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23097,7 +22181,6 @@ const generatedFocusOperations = [
|
|
|
23097
22181
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23098
22182
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23099
22183
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23100
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23101
22184
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23102
22185
|
}),
|
|
23103
22186
|
execute: (input, { client }) => {
|
|
@@ -23112,118 +22195,6 @@ const generatedFocusOperations = [
|
|
|
23112
22195
|
]));
|
|
23113
22196
|
}
|
|
23114
22197
|
},
|
|
23115
|
-
{
|
|
23116
|
-
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
23117
|
-
family: "focus",
|
|
23118
|
-
resource: "tasks",
|
|
23119
|
-
action: "groups-get-user-task-groups-by-project",
|
|
23120
|
-
title: "Groups Get User Task Groups By Project Tasks",
|
|
23121
|
-
description: "Groups Get User Task Groups By Project Tasks.",
|
|
23122
|
-
safety: "read",
|
|
23123
|
-
destructive: false,
|
|
23124
|
-
cli: {
|
|
23125
|
-
group: ["tasks", "groups"],
|
|
23126
|
-
command: "get-user-task-groups-by-project",
|
|
23127
|
-
interactive: "hidden"
|
|
23128
|
-
},
|
|
23129
|
-
mcp: { entityTool: "tasks" },
|
|
23130
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23131
|
-
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
23132
|
-
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23133
|
-
client_id: /* @__PURE__ */ number$2(),
|
|
23134
|
-
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
23135
|
-
creator_id: /* @__PURE__ */ number$2(),
|
|
23136
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23137
|
-
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
23138
|
-
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
23139
|
-
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
23140
|
-
group_id: /* @__PURE__ */ number$2(),
|
|
23141
|
-
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23142
|
-
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23143
|
-
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23144
|
-
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23145
|
-
min_days: /* @__PURE__ */ unknown$1(),
|
|
23146
|
-
name: /* @__PURE__ */ unknown$1(),
|
|
23147
|
-
priority: /* @__PURE__ */ unknown$1(),
|
|
23148
|
-
private_: /* @__PURE__ */ unknown$1(),
|
|
23149
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
23150
|
-
source: /* @__PURE__ */ unknown$1(),
|
|
23151
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23152
|
-
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
23153
|
-
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
23154
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
23155
|
-
tag_id: /* @__PURE__ */ number$2(),
|
|
23156
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
23157
|
-
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23158
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23159
|
-
}),
|
|
23160
|
-
execute: (input, { client }) => {
|
|
23161
|
-
const data = input;
|
|
23162
|
-
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
23163
|
-
client.httpClient,
|
|
23164
|
-
client.organizationId,
|
|
23165
|
-
client.workspaceIdNumber,
|
|
23166
|
-
data,
|
|
23167
|
-
void 0
|
|
23168
|
-
]));
|
|
23169
|
-
}
|
|
23170
|
-
},
|
|
23171
|
-
{
|
|
23172
|
-
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
23173
|
-
family: "focus",
|
|
23174
|
-
resource: "tasks",
|
|
23175
|
-
action: "groups-get-user-task-groups-by-team",
|
|
23176
|
-
title: "Groups Get User Task Groups By Team Tasks",
|
|
23177
|
-
description: "Groups Get User Task Groups By Team Tasks.",
|
|
23178
|
-
safety: "read",
|
|
23179
|
-
destructive: false,
|
|
23180
|
-
cli: {
|
|
23181
|
-
group: ["tasks", "groups"],
|
|
23182
|
-
command: "get-user-task-groups-by-team",
|
|
23183
|
-
interactive: "hidden"
|
|
23184
|
-
},
|
|
23185
|
-
mcp: { entityTool: "tasks" },
|
|
23186
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23187
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23188
|
-
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23189
|
-
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23190
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23191
|
-
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23192
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23193
|
-
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23194
|
-
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23195
|
-
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23196
|
-
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23197
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23198
|
-
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23199
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23200
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23201
|
-
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23202
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23203
|
-
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23204
|
-
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23205
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23206
|
-
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23207
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23208
|
-
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23209
|
-
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23210
|
-
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23211
|
-
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23212
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23213
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23214
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23215
|
-
}),
|
|
23216
|
-
execute: (input, { client }) => {
|
|
23217
|
-
const data = input;
|
|
23218
|
-
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
23219
|
-
client.httpClient,
|
|
23220
|
-
client.organizationId,
|
|
23221
|
-
client.workspaceIdNumber,
|
|
23222
|
-
data,
|
|
23223
|
-
void 0
|
|
23224
|
-
]));
|
|
23225
|
-
}
|
|
23226
|
-
},
|
|
23227
22198
|
{
|
|
23228
22199
|
id: "focus.tasks.groups-update",
|
|
23229
22200
|
family: "focus",
|
|
@@ -23429,6 +22400,7 @@ const generatedFocusOperations = [
|
|
|
23429
22400
|
name: /* @__PURE__ */ string$1(),
|
|
23430
22401
|
status_id: /* @__PURE__ */ number$2(),
|
|
23431
22402
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22403
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23432
22404
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23433
22405
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23434
22406
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -23448,7 +22420,6 @@ const generatedFocusOperations = [
|
|
|
23448
22420
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23449
22421
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23450
22422
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23451
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23452
22423
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
23453
22424
|
}),
|
|
23454
22425
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -24359,40 +23330,6 @@ const generatedFocusOperations = [
|
|
|
24359
23330
|
]));
|
|
24360
23331
|
}
|
|
24361
23332
|
},
|
|
24362
|
-
{
|
|
24363
|
-
id: "focus.time-entries.groups-get-users",
|
|
24364
|
-
family: "focus",
|
|
24365
|
-
resource: "time-entries",
|
|
24366
|
-
action: "groups-get-users",
|
|
24367
|
-
title: "Groups Get Users Time Entries",
|
|
24368
|
-
description: "Groups Get Users Time Entries.",
|
|
24369
|
-
safety: "read",
|
|
24370
|
-
destructive: false,
|
|
24371
|
-
cli: {
|
|
24372
|
-
group: ["time-entries", "groups"],
|
|
24373
|
-
command: "get-users",
|
|
24374
|
-
interactive: "hidden"
|
|
24375
|
-
},
|
|
24376
|
-
mcp: { entityTool: "time-entries" },
|
|
24377
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24378
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24379
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
24380
|
-
page: /* @__PURE__ */ number$2(),
|
|
24381
|
-
per_page: /* @__PURE__ */ unknown$1(),
|
|
24382
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24383
|
-
user_id: /* @__PURE__ */ number$2()
|
|
24384
|
-
}),
|
|
24385
|
-
execute: (input, { client }) => {
|
|
24386
|
-
const data = input;
|
|
24387
|
-
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
24388
|
-
client.httpClient,
|
|
24389
|
-
client.organizationId,
|
|
24390
|
-
client.workspaceIdNumber,
|
|
24391
|
-
data,
|
|
24392
|
-
void 0
|
|
24393
|
-
]));
|
|
24394
|
-
}
|
|
24395
|
-
},
|
|
24396
23333
|
{
|
|
24397
23334
|
id: "focus.time-entries.list",
|
|
24398
23335
|
family: "focus",
|
|
@@ -24577,42 +23514,6 @@ const generatedFocusOperations = [
|
|
|
24577
23514
|
inputSchema: emptySchema$1,
|
|
24578
23515
|
execute: (_input, { client }) => client.stopTracking()
|
|
24579
23516
|
},
|
|
24580
|
-
{
|
|
24581
|
-
id: "focus.time-entries.sync",
|
|
24582
|
-
family: "focus",
|
|
24583
|
-
resource: "time-entries",
|
|
24584
|
-
action: "sync",
|
|
24585
|
-
title: "Sync Time Entries",
|
|
24586
|
-
description: "Sync Time Entries.",
|
|
24587
|
-
safety: "update",
|
|
24588
|
-
destructive: false,
|
|
24589
|
-
cli: {
|
|
24590
|
-
group: ["time-entries"],
|
|
24591
|
-
command: "sync",
|
|
24592
|
-
interactive: "default"
|
|
24593
|
-
},
|
|
24594
|
-
mcp: { entityTool: "time-entries" },
|
|
24595
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24596
|
-
client_uuid: /* @__PURE__ */ string$1(),
|
|
24597
|
-
payload: /* @__PURE__ */ looseObject({
|
|
24598
|
-
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
24599
|
-
client_updated_at: apiDateTimeString,
|
|
24600
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24601
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24602
|
-
})
|
|
24603
|
-
}),
|
|
24604
|
-
execute: (input, { client }) => {
|
|
24605
|
-
const data = input;
|
|
24606
|
-
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
24607
|
-
client.httpClient,
|
|
24608
|
-
client.organizationId,
|
|
24609
|
-
client.workspaceIdNumber,
|
|
24610
|
-
data.client_uuid,
|
|
24611
|
-
data.payload ?? data.data ?? data,
|
|
24612
|
-
void 0
|
|
24613
|
-
]));
|
|
24614
|
-
}
|
|
24615
|
-
},
|
|
24616
23517
|
{
|
|
24617
23518
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
24618
23519
|
family: "focus",
|
|
@@ -24661,7 +23562,6 @@ const generatedFocusOperations = [
|
|
|
24661
23562
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24662
23563
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24663
23564
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24664
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24665
23565
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24666
23566
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24667
23567
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -24724,33 +23624,121 @@ const generatedFocusOperations = [
|
|
|
24724
23624
|
safety: "update",
|
|
24725
23625
|
destructive: false,
|
|
24726
23626
|
cli: {
|
|
24727
|
-
group: ["time-entries"],
|
|
24728
|
-
command: "update",
|
|
24729
|
-
interactive: "default"
|
|
23627
|
+
group: ["time-entries"],
|
|
23628
|
+
command: "update",
|
|
23629
|
+
interactive: "default"
|
|
23630
|
+
},
|
|
23631
|
+
mcp: { entityTool: "time-entries" },
|
|
23632
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23633
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23634
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
23635
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23636
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23637
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23638
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23639
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23640
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23641
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23642
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23643
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
23644
|
+
}),
|
|
23645
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
23646
|
+
}),
|
|
23647
|
+
execute: (input, { client }) => {
|
|
23648
|
+
const data = input;
|
|
23649
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23650
|
+
client.httpClient,
|
|
23651
|
+
client.organizationId,
|
|
23652
|
+
client.workspaceIdNumber,
|
|
23653
|
+
data.time_entry_id,
|
|
23654
|
+
data.payload ?? data.data ?? data,
|
|
23655
|
+
void 0
|
|
23656
|
+
]));
|
|
23657
|
+
}
|
|
23658
|
+
},
|
|
23659
|
+
{
|
|
23660
|
+
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
23661
|
+
family: "focus",
|
|
23662
|
+
resource: "time-log-suggestions",
|
|
23663
|
+
action: "get-for-acalendar-event-title",
|
|
23664
|
+
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
23665
|
+
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
23666
|
+
safety: "update",
|
|
23667
|
+
destructive: false,
|
|
23668
|
+
cli: {
|
|
23669
|
+
group: ["time-log-suggestions"],
|
|
23670
|
+
command: "get-for-acalendar-event-title",
|
|
23671
|
+
interactive: "default"
|
|
23672
|
+
},
|
|
23673
|
+
mcp: { entityTool: "time-log-suggestions" },
|
|
23674
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
23675
|
+
execute: (input, { client }) => {
|
|
23676
|
+
const data = input;
|
|
23677
|
+
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
23678
|
+
client.httpClient,
|
|
23679
|
+
client.organizationId,
|
|
23680
|
+
client.workspaceIdNumber,
|
|
23681
|
+
data.payload ?? data.data ?? data,
|
|
23682
|
+
void 0
|
|
23683
|
+
]));
|
|
23684
|
+
}
|
|
23685
|
+
},
|
|
23686
|
+
{
|
|
23687
|
+
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
23688
|
+
family: "focus",
|
|
23689
|
+
resource: "time-log-suggestions",
|
|
23690
|
+
action: "get-for-multiple-calendar-event-titles",
|
|
23691
|
+
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
23692
|
+
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
23693
|
+
safety: "update",
|
|
23694
|
+
destructive: false,
|
|
23695
|
+
cli: {
|
|
23696
|
+
group: ["time-log-suggestions"],
|
|
23697
|
+
command: "get-for-multiple-calendar-event-titles",
|
|
23698
|
+
interactive: "default"
|
|
23699
|
+
},
|
|
23700
|
+
mcp: { entityTool: "time-log-suggestions" },
|
|
23701
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23702
|
+
key: /* @__PURE__ */ string$1(),
|
|
23703
|
+
title: /* @__PURE__ */ string$1()
|
|
23704
|
+
})) }) }),
|
|
23705
|
+
execute: (input, { client }) => {
|
|
23706
|
+
const data = input;
|
|
23707
|
+
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
23708
|
+
client.httpClient,
|
|
23709
|
+
client.organizationId,
|
|
23710
|
+
client.workspaceIdNumber,
|
|
23711
|
+
data.payload ?? data.data ?? data,
|
|
23712
|
+
void 0
|
|
23713
|
+
]));
|
|
23714
|
+
}
|
|
23715
|
+
},
|
|
23716
|
+
{
|
|
23717
|
+
id: "focus.time-off.create-timeoff-for-ghost",
|
|
23718
|
+
family: "focus",
|
|
23719
|
+
resource: "time-off",
|
|
23720
|
+
action: "create-timeoff-for-ghost",
|
|
23721
|
+
title: "Create Timeoff For Ghost Time Off",
|
|
23722
|
+
description: "Create Timeoff For Ghost Time Off.",
|
|
23723
|
+
safety: "create",
|
|
23724
|
+
destructive: false,
|
|
23725
|
+
cli: {
|
|
23726
|
+
group: ["time-off"],
|
|
23727
|
+
command: "create-timeoff-for-ghost",
|
|
23728
|
+
interactive: "hidden"
|
|
24730
23729
|
},
|
|
24731
|
-
mcp: { entityTool: "time-
|
|
23730
|
+
mcp: { entityTool: "time-off" },
|
|
24732
23731
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24733
|
-
|
|
24734
|
-
|
|
24735
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24736
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24737
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24738
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24739
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24740
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24741
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24742
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24743
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24744
|
-
}),
|
|
24745
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
23732
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23733
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
24746
23734
|
}),
|
|
24747
23735
|
execute: (input, { client }) => {
|
|
24748
23736
|
const data = input;
|
|
24749
|
-
return client.runGeneratedRequest("
|
|
23737
|
+
return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
|
|
24750
23738
|
client.httpClient,
|
|
24751
23739
|
client.organizationId,
|
|
24752
23740
|
client.workspaceIdNumber,
|
|
24753
|
-
data.
|
|
23741
|
+
data.ghost_id,
|
|
24754
23742
|
data.payload ?? data.data ?? data,
|
|
24755
23743
|
void 0
|
|
24756
23744
|
]));
|
|
@@ -24786,6 +23774,37 @@ const generatedFocusOperations = [
|
|
|
24786
23774
|
]));
|
|
24787
23775
|
}
|
|
24788
23776
|
},
|
|
23777
|
+
{
|
|
23778
|
+
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
23779
|
+
family: "focus",
|
|
23780
|
+
resource: "time-off",
|
|
23781
|
+
action: "delete-timeoff-for-ghost",
|
|
23782
|
+
title: "Delete Timeoff For Ghost Time Off",
|
|
23783
|
+
description: "Delete Timeoff For Ghost Time Off.",
|
|
23784
|
+
safety: "delete",
|
|
23785
|
+
destructive: true,
|
|
23786
|
+
cli: {
|
|
23787
|
+
group: ["time-off"],
|
|
23788
|
+
command: "delete-timeoff-for-ghost",
|
|
23789
|
+
interactive: "hidden"
|
|
23790
|
+
},
|
|
23791
|
+
mcp: { entityTool: "time-off" },
|
|
23792
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23793
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23794
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
23795
|
+
}),
|
|
23796
|
+
execute: (input, { client }) => {
|
|
23797
|
+
const data = input;
|
|
23798
|
+
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
23799
|
+
client.httpClient,
|
|
23800
|
+
client.organizationId,
|
|
23801
|
+
client.workspaceIdNumber,
|
|
23802
|
+
data.ghost_id,
|
|
23803
|
+
data.payload ?? data.data ?? data,
|
|
23804
|
+
void 0
|
|
23805
|
+
]));
|
|
23806
|
+
}
|
|
23807
|
+
},
|
|
24789
23808
|
{
|
|
24790
23809
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
24791
23810
|
family: "focus",
|
|
@@ -24816,6 +23835,38 @@ const generatedFocusOperations = [
|
|
|
24816
23835
|
]));
|
|
24817
23836
|
}
|
|
24818
23837
|
},
|
|
23838
|
+
{
|
|
23839
|
+
id: "focus.time-off.get-timeoff-for-ghost",
|
|
23840
|
+
family: "focus",
|
|
23841
|
+
resource: "time-off",
|
|
23842
|
+
action: "get-timeoff-for-ghost",
|
|
23843
|
+
title: "Get Timeoff For Ghost Time Off",
|
|
23844
|
+
description: "Get Timeoff For Ghost Time Off.",
|
|
23845
|
+
safety: "read",
|
|
23846
|
+
destructive: false,
|
|
23847
|
+
cli: {
|
|
23848
|
+
group: ["time-off"],
|
|
23849
|
+
command: "get-timeoff-for-ghost",
|
|
23850
|
+
interactive: "hidden"
|
|
23851
|
+
},
|
|
23852
|
+
mcp: { entityTool: "time-off" },
|
|
23853
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23854
|
+
from: /* @__PURE__ */ unknown$1(),
|
|
23855
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23856
|
+
to: /* @__PURE__ */ unknown$1()
|
|
23857
|
+
}),
|
|
23858
|
+
execute: (input, { client }) => {
|
|
23859
|
+
const data = input;
|
|
23860
|
+
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
23861
|
+
client.httpClient,
|
|
23862
|
+
client.organizationId,
|
|
23863
|
+
client.workspaceIdNumber,
|
|
23864
|
+
data.ghost_id,
|
|
23865
|
+
data,
|
|
23866
|
+
void 0
|
|
23867
|
+
]));
|
|
23868
|
+
}
|
|
23869
|
+
},
|
|
24819
23870
|
{
|
|
24820
23871
|
id: "focus.time-off.get-timeoff-for-user",
|
|
24821
23872
|
family: "focus",
|
|
@@ -24847,6 +23898,37 @@ const generatedFocusOperations = [
|
|
|
24847
23898
|
]));
|
|
24848
23899
|
}
|
|
24849
23900
|
},
|
|
23901
|
+
{
|
|
23902
|
+
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
23903
|
+
family: "focus",
|
|
23904
|
+
resource: "time-off",
|
|
23905
|
+
action: "get-timeoffs-by-ghost-ids",
|
|
23906
|
+
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
23907
|
+
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
23908
|
+
safety: "read",
|
|
23909
|
+
destructive: false,
|
|
23910
|
+
cli: {
|
|
23911
|
+
group: ["time-off"],
|
|
23912
|
+
command: "get-timeoffs-by-ghost-ids",
|
|
23913
|
+
interactive: "hidden"
|
|
23914
|
+
},
|
|
23915
|
+
mcp: { entityTool: "time-off" },
|
|
23916
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23917
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23918
|
+
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
23919
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
23920
|
+
}),
|
|
23921
|
+
execute: (input, { client }) => {
|
|
23922
|
+
const data = input;
|
|
23923
|
+
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
23924
|
+
client.httpClient,
|
|
23925
|
+
client.organizationId,
|
|
23926
|
+
client.workspaceIdNumber,
|
|
23927
|
+
data,
|
|
23928
|
+
void 0
|
|
23929
|
+
]));
|
|
23930
|
+
}
|
|
23931
|
+
},
|
|
24850
23932
|
{
|
|
24851
23933
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
24852
23934
|
family: "focus",
|
|
@@ -24877,6 +23959,37 @@ const generatedFocusOperations = [
|
|
|
24877
23959
|
]));
|
|
24878
23960
|
}
|
|
24879
23961
|
},
|
|
23962
|
+
{
|
|
23963
|
+
id: "focus.time-off.update-timeoff-for-ghost",
|
|
23964
|
+
family: "focus",
|
|
23965
|
+
resource: "time-off",
|
|
23966
|
+
action: "update-timeoff-for-ghost",
|
|
23967
|
+
title: "Update Timeoff For Ghost Time Off",
|
|
23968
|
+
description: "Update Timeoff For Ghost Time Off.",
|
|
23969
|
+
safety: "update",
|
|
23970
|
+
destructive: false,
|
|
23971
|
+
cli: {
|
|
23972
|
+
group: ["time-off"],
|
|
23973
|
+
command: "update-timeoff-for-ghost",
|
|
23974
|
+
interactive: "hidden"
|
|
23975
|
+
},
|
|
23976
|
+
mcp: { entityTool: "time-off" },
|
|
23977
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23978
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23979
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
23980
|
+
}),
|
|
23981
|
+
execute: (input, { client }) => {
|
|
23982
|
+
const data = input;
|
|
23983
|
+
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
23984
|
+
client.httpClient,
|
|
23985
|
+
client.organizationId,
|
|
23986
|
+
client.workspaceIdNumber,
|
|
23987
|
+
data.ghost_id,
|
|
23988
|
+
data.payload ?? data.data ?? data,
|
|
23989
|
+
void 0
|
|
23990
|
+
]));
|
|
23991
|
+
}
|
|
23992
|
+
},
|
|
24880
23993
|
{
|
|
24881
23994
|
id: "focus.time-off.update-timeoff-for-user",
|
|
24882
23995
|
family: "focus",
|
|
@@ -25908,7 +25021,6 @@ const generatedFocusOperations = [
|
|
|
25908
25021
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25909
25022
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25910
25023
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25911
|
-
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25912
25024
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25913
25025
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25914
25026
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -26010,6 +25122,37 @@ const generatedFocusOperations = [
|
|
|
26010
25122
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26011
25123
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
26012
25124
|
},
|
|
25125
|
+
{
|
|
25126
|
+
id: "focus.working-hours.create-for-ghost",
|
|
25127
|
+
family: "focus",
|
|
25128
|
+
resource: "working-hours",
|
|
25129
|
+
action: "create-for-ghost",
|
|
25130
|
+
title: "Create For Ghost Working Hours",
|
|
25131
|
+
description: "Create For Ghost Working Hours.",
|
|
25132
|
+
safety: "create",
|
|
25133
|
+
destructive: false,
|
|
25134
|
+
cli: {
|
|
25135
|
+
group: ["working-hours"],
|
|
25136
|
+
command: "create-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("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
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
|
+
},
|
|
26013
25156
|
{
|
|
26014
25157
|
id: "focus.working-hours.create-for-user",
|
|
26015
25158
|
family: "focus",
|
|
@@ -26040,6 +25183,37 @@ const generatedFocusOperations = [
|
|
|
26040
25183
|
]));
|
|
26041
25184
|
}
|
|
26042
25185
|
},
|
|
25186
|
+
{
|
|
25187
|
+
id: "focus.working-hours.delete-for-ghost",
|
|
25188
|
+
family: "focus",
|
|
25189
|
+
resource: "working-hours",
|
|
25190
|
+
action: "delete-for-ghost",
|
|
25191
|
+
title: "Delete For Ghost Working Hours",
|
|
25192
|
+
description: "Delete For Ghost Working Hours.",
|
|
25193
|
+
safety: "delete",
|
|
25194
|
+
destructive: true,
|
|
25195
|
+
cli: {
|
|
25196
|
+
group: ["working-hours"],
|
|
25197
|
+
command: "delete-for-ghost",
|
|
25198
|
+
interactive: "hidden"
|
|
25199
|
+
},
|
|
25200
|
+
mcp: { entityTool: "working-hours" },
|
|
25201
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25202
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
25203
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
25204
|
+
}),
|
|
25205
|
+
execute: (input, { client }) => {
|
|
25206
|
+
const data = input;
|
|
25207
|
+
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
25208
|
+
client.httpClient,
|
|
25209
|
+
client.organizationId,
|
|
25210
|
+
client.workspaceIdNumber,
|
|
25211
|
+
data.ghost_id,
|
|
25212
|
+
data.payload ?? data.data ?? data,
|
|
25213
|
+
void 0
|
|
25214
|
+
]));
|
|
25215
|
+
}
|
|
25216
|
+
},
|
|
26043
25217
|
{
|
|
26044
25218
|
id: "focus.working-hours.delete-for-user",
|
|
26045
25219
|
family: "focus",
|
|
@@ -26070,6 +25244,33 @@ const generatedFocusOperations = [
|
|
|
26070
25244
|
]));
|
|
26071
25245
|
}
|
|
26072
25246
|
},
|
|
25247
|
+
{
|
|
25248
|
+
id: "focus.working-hours.get-for-ghost",
|
|
25249
|
+
family: "focus",
|
|
25250
|
+
resource: "working-hours",
|
|
25251
|
+
action: "get-for-ghost",
|
|
25252
|
+
title: "Get For Ghost Working Hours",
|
|
25253
|
+
description: "Get For Ghost Working Hours.",
|
|
25254
|
+
safety: "read",
|
|
25255
|
+
destructive: false,
|
|
25256
|
+
cli: {
|
|
25257
|
+
group: ["working-hours"],
|
|
25258
|
+
command: "get-for-ghost",
|
|
25259
|
+
interactive: "available"
|
|
25260
|
+
},
|
|
25261
|
+
mcp: { entityTool: "working-hours" },
|
|
25262
|
+
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
25263
|
+
execute: (input, { client }) => {
|
|
25264
|
+
const data = input;
|
|
25265
|
+
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
25266
|
+
client.httpClient,
|
|
25267
|
+
client.organizationId,
|
|
25268
|
+
client.workspaceIdNumber,
|
|
25269
|
+
data.ghost_id,
|
|
25270
|
+
void 0
|
|
25271
|
+
]));
|
|
25272
|
+
}
|
|
25273
|
+
},
|
|
26073
25274
|
{
|
|
26074
25275
|
id: "focus.working-hours.get-for-user",
|
|
26075
25276
|
family: "focus",
|
|
@@ -26096,6 +25297,37 @@ const generatedFocusOperations = [
|
|
|
26096
25297
|
]));
|
|
26097
25298
|
}
|
|
26098
25299
|
},
|
|
25300
|
+
{
|
|
25301
|
+
id: "focus.working-hours.update-for-ghost",
|
|
25302
|
+
family: "focus",
|
|
25303
|
+
resource: "working-hours",
|
|
25304
|
+
action: "update-for-ghost",
|
|
25305
|
+
title: "Update For Ghost Working Hours",
|
|
25306
|
+
description: "Update For Ghost Working Hours.",
|
|
25307
|
+
safety: "update",
|
|
25308
|
+
destructive: false,
|
|
25309
|
+
cli: {
|
|
25310
|
+
group: ["working-hours"],
|
|
25311
|
+
command: "update-for-ghost",
|
|
25312
|
+
interactive: "hidden"
|
|
25313
|
+
},
|
|
25314
|
+
mcp: { entityTool: "working-hours" },
|
|
25315
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25316
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
25317
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
25318
|
+
}),
|
|
25319
|
+
execute: (input, { client }) => {
|
|
25320
|
+
const data = input;
|
|
25321
|
+
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
25322
|
+
client.httpClient,
|
|
25323
|
+
client.organizationId,
|
|
25324
|
+
client.workspaceIdNumber,
|
|
25325
|
+
data.ghost_id,
|
|
25326
|
+
data.payload ?? data.data ?? data,
|
|
25327
|
+
void 0
|
|
25328
|
+
]));
|
|
25329
|
+
}
|
|
25330
|
+
},
|
|
26099
25331
|
{
|
|
26100
25332
|
id: "focus.working-hours.update-for-user",
|
|
26101
25333
|
family: "focus",
|
|
@@ -26170,50 +25402,6 @@ const generatedFocusOperations = [
|
|
|
26170
25402
|
void 0
|
|
26171
25403
|
]))
|
|
26172
25404
|
},
|
|
26173
|
-
{
|
|
26174
|
-
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
26175
|
-
family: "focus",
|
|
26176
|
-
resource: "workspace-settings",
|
|
26177
|
-
action: "get-workspace-export-branding",
|
|
26178
|
-
title: "Get Workspace Export Branding Workspace Settings",
|
|
26179
|
-
description: "Get Workspace Export Branding Workspace Settings.",
|
|
26180
|
-
safety: "read",
|
|
26181
|
-
destructive: false,
|
|
26182
|
-
cli: {
|
|
26183
|
-
group: ["workspace-settings"],
|
|
26184
|
-
command: "get-workspace-export-branding",
|
|
26185
|
-
interactive: "hidden"
|
|
26186
|
-
},
|
|
26187
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26188
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26189
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
26190
|
-
client.httpClient,
|
|
26191
|
-
client.workspaceIdNumber,
|
|
26192
|
-
void 0
|
|
26193
|
-
]))
|
|
26194
|
-
},
|
|
26195
|
-
{
|
|
26196
|
-
id: "focus.workspace-settings.get-workspace-watermark",
|
|
26197
|
-
family: "focus",
|
|
26198
|
-
resource: "workspace-settings",
|
|
26199
|
-
action: "get-workspace-watermark",
|
|
26200
|
-
title: "Get Workspace Watermark Workspace Settings",
|
|
26201
|
-
description: "Get Workspace Watermark Workspace Settings.",
|
|
26202
|
-
safety: "read",
|
|
26203
|
-
destructive: false,
|
|
26204
|
-
cli: {
|
|
26205
|
-
group: ["workspace-settings"],
|
|
26206
|
-
command: "get-workspace-watermark",
|
|
26207
|
-
interactive: "hidden"
|
|
26208
|
-
},
|
|
26209
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26210
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26211
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
26212
|
-
client.httpClient,
|
|
26213
|
-
client.workspaceIdNumber,
|
|
26214
|
-
void 0
|
|
26215
|
-
]))
|
|
26216
|
-
},
|
|
26217
25405
|
{
|
|
26218
25406
|
id: "focus.workspace-settings.list",
|
|
26219
25407
|
family: "focus",
|
|
@@ -26288,32 +25476,6 @@ const generatedFocusOperations = [
|
|
|
26288
25476
|
]));
|
|
26289
25477
|
}
|
|
26290
25478
|
},
|
|
26291
|
-
{
|
|
26292
|
-
id: "focus.workspace-settings.update-workspace-watermark",
|
|
26293
|
-
family: "focus",
|
|
26294
|
-
resource: "workspace-settings",
|
|
26295
|
-
action: "update-workspace-watermark",
|
|
26296
|
-
title: "Update Workspace Watermark Workspace Settings",
|
|
26297
|
-
description: "Update Workspace Watermark Workspace Settings.",
|
|
26298
|
-
safety: "update",
|
|
26299
|
-
destructive: false,
|
|
26300
|
-
cli: {
|
|
26301
|
-
group: ["workspace-settings"],
|
|
26302
|
-
command: "update-workspace-watermark",
|
|
26303
|
-
interactive: "default"
|
|
26304
|
-
},
|
|
26305
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26306
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
26307
|
-
execute: (input, { client }) => {
|
|
26308
|
-
const data = input;
|
|
26309
|
-
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
26310
|
-
client.httpClient,
|
|
26311
|
-
client.workspaceIdNumber,
|
|
26312
|
-
data.payload ?? data.data ?? data,
|
|
26313
|
-
void 0
|
|
26314
|
-
]));
|
|
26315
|
-
}
|
|
26316
|
-
},
|
|
26317
25479
|
{
|
|
26318
25480
|
id: "focus.workspace.get-context",
|
|
26319
25481
|
family: "focus",
|
|
@@ -27960,4 +27122,4 @@ Common commands:
|
|
|
27960
27122
|
//#endregion
|
|
27961
27123
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27962
27124
|
|
|
27963
|
-
//# sourceMappingURL=program-
|
|
27125
|
+
//# sourceMappingURL=program-1HbC_GOf.js.map
|