@togglhq/cli 1.11.60 → 1.11.62
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-1HbC_GOf.js → program-BH4LUeUT.js} +1425 -587
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -7236,11 +7236,7 @@ function pipe(...pipe$1) {
|
|
|
7236
7236
|
}
|
|
7237
7237
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
7238
7238
|
id: /* @__PURE__ */ number(),
|
|
7239
|
-
type: /* @__PURE__ */ picklist([
|
|
7240
|
-
"user",
|
|
7241
|
-
"ghost",
|
|
7242
|
-
"team"
|
|
7243
|
-
])
|
|
7239
|
+
type: /* @__PURE__ */ picklist(["user", "team"])
|
|
7244
7240
|
});
|
|
7245
7241
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
7246
7242
|
id: /* @__PURE__ */ number(),
|
|
@@ -7282,7 +7278,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
7282
7278
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7283
7279
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7284
7280
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7285
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
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.")))
|
|
7286
7283
|
});
|
|
7287
7284
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
7288
7285
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7355,7 +7352,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7355
7352
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7356
7353
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
7357
7354
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7358
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7355
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7359
7356
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7360
7357
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7361
7358
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7363,7 +7360,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7363
7360
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7364
7361
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7365
7362
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7366
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7367
7363
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7368
7364
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7369
7365
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7373,6 +7369,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7373
7369
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7374
7370
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7375
7371
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7372
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7376
7373
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7377
7374
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7378
7375
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -7416,7 +7413,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7416
7413
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7417
7414
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
7418
7415
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7419
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7416
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7420
7417
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7421
7418
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7422
7419
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7424,7 +7421,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7424
7421
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7425
7422
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7426
7423
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7427
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7428
7424
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7429
7425
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7430
7426
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7435,6 +7431,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7435
7431
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7436
7432
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7437
7433
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7434
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7438
7435
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7439
7436
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7440
7437
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -7589,7 +7586,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
|
|
|
7589
7586
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7590
7587
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7591
7588
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7592
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7589
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
7593
7590
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7594
7591
|
});
|
|
7595
7592
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
@@ -7615,7 +7612,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7615
7612
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
7616
7613
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7617
7614
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7618
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7615
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
7619
7616
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7620
7617
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7621
7618
|
});
|
|
@@ -7738,7 +7735,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7738
7735
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7739
7736
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7740
7737
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
7741
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7738
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
7742
7739
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7743
7740
|
})),
|
|
7744
7741
|
page: /* @__PURE__ */ number(),
|
|
@@ -7781,7 +7778,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7781
7778
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
7782
7779
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7783
7780
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7784
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7781
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
7785
7782
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7786
7783
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7787
7784
|
})),
|
|
@@ -7793,9 +7790,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
7793
7790
|
id: /* @__PURE__ */ number(),
|
|
7794
7791
|
name: /* @__PURE__ */ string(),
|
|
7795
7792
|
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."))),
|
|
7796
7794
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7797
7795
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7798
|
-
updated_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.")))
|
|
7799
7802
|
});
|
|
7800
7803
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
7801
7804
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -7806,8 +7809,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
7806
7809
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
7807
7810
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
7808
7811
|
account_locked_at: /* @__PURE__ */ string(),
|
|
7812
|
+
accounts_role_id: /* @__PURE__ */ number(),
|
|
7809
7813
|
active: /* @__PURE__ */ boolean(),
|
|
7810
|
-
admin: /* @__PURE__ */ boolean(),
|
|
7811
7814
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
7812
7815
|
created_at: /* @__PURE__ */ string(),
|
|
7813
7816
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -7856,7 +7859,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7856
7859
|
track_role_id: /* @__PURE__ */ number(),
|
|
7857
7860
|
work_role_id: /* @__PURE__ */ number(),
|
|
7858
7861
|
workspace_user_id: /* @__PURE__ */ number()
|
|
7859
|
-
}))
|
|
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.")))
|
|
7860
7865
|
});
|
|
7861
7866
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7862
7867
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -7933,8 +7938,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7933
7938
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7934
7939
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7935
7940
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7936
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7937
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7941
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7938
7942
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7939
7943
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7940
7944
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -7950,6 +7954,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7950
7954
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7951
7955
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7952
7956
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7957
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7953
7958
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7954
7959
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7955
7960
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7959,22 +7964,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7959
7964
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7960
7965
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
7961
7966
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
7962
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
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.")))
|
|
7963
7969
|
});
|
|
7964
7970
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7965
7971
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7966
7972
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
7973
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7967
7974
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
7968
7975
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7969
7976
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7970
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7977
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7971
7978
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7972
7979
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
7973
7980
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7974
7981
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7975
7982
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7976
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7977
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7983
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
7978
7984
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7979
7985
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7980
7986
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7991,6 +7997,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7991
7997
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7992
7998
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7993
7999
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8000
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7994
8001
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7995
8002
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7996
8003
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7999,17 +8006,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7999
8006
|
});
|
|
8000
8007
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
8001
8008
|
id: /* @__PURE__ */ number(),
|
|
8009
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8002
8010
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
8003
8011
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8004
8012
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
8005
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8013
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
8006
8014
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8007
8015
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
8008
8016
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8009
8017
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
8010
8018
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
8011
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8012
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8019
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
8013
8020
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
8014
8021
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8015
8022
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -8026,6 +8033,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
8026
8033
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8027
8034
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8028
8035
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8036
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8029
8037
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8030
8038
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
8031
8039
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9971,7 +9979,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9971
9979
|
})
|
|
9972
9980
|
}).json();
|
|
9973
9981
|
}
|
|
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) {
|
|
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, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9975
9983
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9976
9984
|
signal,
|
|
9977
9985
|
searchParams: buildSearchParams$2({
|
|
@@ -9991,7 +9999,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9991
9999
|
include_working_hours,
|
|
9992
10000
|
include_rates,
|
|
9993
10001
|
pinned_ids,
|
|
9994
|
-
has_group
|
|
10002
|
+
has_group,
|
|
10003
|
+
cf_filter,
|
|
10004
|
+
include_custom_fields,
|
|
10005
|
+
include_calendar_integration
|
|
9995
10006
|
}, true)
|
|
9996
10007
|
});
|
|
9997
10008
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -10010,7 +10021,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
10010
10021
|
}
|
|
10011
10022
|
//#endregion
|
|
10012
10023
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
10013
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
10024
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
|
|
10014
10025
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
10015
10026
|
signal,
|
|
10016
10027
|
searchParams: buildSearchParams$2({
|
|
@@ -10018,7 +10029,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
10018
10029
|
page,
|
|
10019
10030
|
per_page,
|
|
10020
10031
|
order_by,
|
|
10021
|
-
tag_id
|
|
10032
|
+
tag_id,
|
|
10033
|
+
include_usage,
|
|
10034
|
+
include_archived,
|
|
10035
|
+
archived
|
|
10022
10036
|
})
|
|
10023
10037
|
}).json();
|
|
10024
10038
|
}
|
|
@@ -10028,6 +10042,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
10028
10042
|
json: data
|
|
10029
10043
|
}).json();
|
|
10030
10044
|
}
|
|
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
|
+
}
|
|
10031
10081
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
10032
10082
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
10033
10083
|
}
|
|
@@ -10040,12 +10090,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
10040
10090
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
10041
10091
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
10042
10092
|
}
|
|
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
|
+
}
|
|
10043
10096
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
10044
10097
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
10045
10098
|
}
|
|
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
|
+
}
|
|
10046
10102
|
//#endregion
|
|
10047
10103
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
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) {
|
|
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, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10049
10105
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10050
10106
|
signal,
|
|
10051
10107
|
searchParams: buildSearchParams$2({
|
|
@@ -10067,6 +10123,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
10067
10123
|
include_rates,
|
|
10068
10124
|
include_rollover,
|
|
10069
10125
|
include_idle_recurring_templates,
|
|
10126
|
+
collapse_recurring,
|
|
10070
10127
|
include_drafts,
|
|
10071
10128
|
include_locked_private,
|
|
10072
10129
|
start_date,
|
|
@@ -10297,7 +10354,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10297
10354
|
}
|
|
10298
10355
|
//#endregion
|
|
10299
10356
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
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,
|
|
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) {
|
|
10301
10358
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10302
10359
|
signal,
|
|
10303
10360
|
searchParams: buildSearchParams$2({
|
|
@@ -10345,10 +10402,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10345
10402
|
recurring_task_ids,
|
|
10346
10403
|
client_id,
|
|
10347
10404
|
include_rates,
|
|
10348
|
-
include_ghost_assignees,
|
|
10349
10405
|
include_assignees,
|
|
10350
10406
|
include_parent_matches,
|
|
10351
|
-
assignee_ghost_id,
|
|
10352
10407
|
disable_aggregations,
|
|
10353
10408
|
cf_filter
|
|
10354
10409
|
})
|
|
@@ -10434,7 +10489,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
10434
10489
|
})
|
|
10435
10490
|
}).json();
|
|
10436
10491
|
}
|
|
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,
|
|
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, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10438
10493
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10439
10494
|
signal,
|
|
10440
10495
|
searchParams: buildSearchParams$2({
|
|
@@ -10447,14 +10502,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10447
10502
|
dates_overlap_end,
|
|
10448
10503
|
recurring_task_ids,
|
|
10449
10504
|
team_id,
|
|
10505
|
+
assignee_team_id,
|
|
10450
10506
|
assignee_user_id,
|
|
10451
10507
|
tag_id,
|
|
10452
|
-
include_ghost_assignees,
|
|
10453
10508
|
include_assignees
|
|
10454
10509
|
})
|
|
10455
10510
|
}).json();
|
|
10456
10511
|
}
|
|
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,
|
|
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) {
|
|
10458
10513
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10459
10514
|
signal,
|
|
10460
10515
|
searchParams: buildSearchParams$2({
|
|
@@ -10498,20 +10553,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10498
10553
|
recurring,
|
|
10499
10554
|
recurring_task_ids,
|
|
10500
10555
|
client_id,
|
|
10501
|
-
include_ghost_assignees,
|
|
10502
10556
|
include_assignees,
|
|
10503
|
-
assignee_ghost_id,
|
|
10504
10557
|
cf_filter
|
|
10505
10558
|
})
|
|
10506
10559
|
}).json();
|
|
10507
10560
|
}
|
|
10508
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, {
|
|
10561
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
10509
10562
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
10510
10563
|
signal,
|
|
10511
|
-
searchParams: buildSearchParams$2({
|
|
10512
|
-
include_ghost_assignees,
|
|
10513
|
-
include_assignees
|
|
10514
|
-
})
|
|
10564
|
+
searchParams: buildSearchParams$2({ include_assignees })
|
|
10515
10565
|
}).json();
|
|
10516
10566
|
}
|
|
10517
10567
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -10542,7 +10592,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
10542
10592
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
10543
10593
|
}).json();
|
|
10544
10594
|
}
|
|
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,
|
|
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) {
|
|
10546
10596
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
10547
10597
|
signal,
|
|
10548
10598
|
searchParams: buildSearchParams$2({
|
|
@@ -10555,12 +10605,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10555
10605
|
team_id,
|
|
10556
10606
|
assignee_user_id,
|
|
10557
10607
|
tag_id,
|
|
10558
|
-
include_ghost_assignees,
|
|
10559
10608
|
include_assignees
|
|
10560
10609
|
})
|
|
10561
10610
|
}).json();
|
|
10562
10611
|
}
|
|
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,
|
|
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) {
|
|
10564
10613
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10565
10614
|
signal,
|
|
10566
10615
|
searchParams: buildSearchParams$2({
|
|
@@ -10573,7 +10622,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
10573
10622
|
team_id,
|
|
10574
10623
|
assignee_user_id,
|
|
10575
10624
|
tag_id,
|
|
10576
|
-
include_ghost_assignees,
|
|
10577
10625
|
include_assignees
|
|
10578
10626
|
})
|
|
10579
10627
|
}).json();
|
|
@@ -10773,6 +10821,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10773
10821
|
})
|
|
10774
10822
|
}).json();
|
|
10775
10823
|
}
|
|
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
|
+
}
|
|
10776
10830
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10777
10831
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10778
10832
|
signal,
|
|
@@ -10909,7 +10963,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10909
10963
|
]))
|
|
10910
10964
|
});
|
|
10911
10965
|
//#endregion
|
|
10912
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10966
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10913
10967
|
async function getInvitations(httpClient, signal) {
|
|
10914
10968
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10915
10969
|
}
|
|
@@ -10926,7 +10980,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10926
10980
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10927
10981
|
}
|
|
10928
10982
|
//#endregion
|
|
10929
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10983
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10930
10984
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10931
10985
|
const searchParams = new URLSearchParams();
|
|
10932
10986
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10938,7 +10992,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10938
10992
|
return searchParams;
|
|
10939
10993
|
}
|
|
10940
10994
|
//#endregion
|
|
10941
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10995
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10942
10996
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10943
10997
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10944
10998
|
}
|
|
@@ -10952,7 +11006,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10952
11006
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10953
11007
|
}
|
|
10954
11008
|
//#endregion
|
|
10955
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11009
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10956
11010
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10957
11011
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10958
11012
|
}
|
|
@@ -10972,7 +11026,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10972
11026
|
});
|
|
10973
11027
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10974
11028
|
//#endregion
|
|
10975
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11029
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10976
11030
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10977
11031
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10978
11032
|
signal,
|
|
@@ -10983,12 +11037,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10983
11037
|
})).json();
|
|
10984
11038
|
}
|
|
10985
11039
|
//#endregion
|
|
10986
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11040
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10987
11041
|
async function getStatus(httpClient, signal) {
|
|
10988
11042
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10989
11043
|
}
|
|
10990
11044
|
//#endregion
|
|
10991
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11045
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10992
11046
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10993
11047
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10994
11048
|
signal,
|
|
@@ -11016,7 +11070,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11016
11070
|
return response.json();
|
|
11017
11071
|
}
|
|
11018
11072
|
//#endregion
|
|
11019
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11073
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.61_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5b1ad259140c982e9bee11c281a9b25b/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11020
11074
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11021
11075
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11022
11076
|
}
|
|
@@ -14664,6 +14718,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14664
14718
|
}
|
|
14665
14719
|
//#endregion
|
|
14666
14720
|
//#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
|
+
}
|
|
14667
14736
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14668
14737
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14669
14738
|
signal,
|
|
@@ -14822,33 +14891,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14822
14891
|
}
|
|
14823
14892
|
//#endregion
|
|
14824
14893
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14825
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date,
|
|
14894
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14826
14895
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14827
14896
|
signal,
|
|
14828
14897
|
searchParams: buildSearchParams$2({
|
|
14829
14898
|
user_id,
|
|
14830
14899
|
start_date,
|
|
14831
14900
|
end_date,
|
|
14832
|
-
ghost_id,
|
|
14833
14901
|
private: private_,
|
|
14834
14902
|
task_source,
|
|
14835
14903
|
unit,
|
|
14836
|
-
include_drafts
|
|
14904
|
+
include_drafts,
|
|
14905
|
+
include_task_estimates
|
|
14837
14906
|
})
|
|
14838
14907
|
}).json();
|
|
14839
14908
|
}
|
|
14840
14909
|
//#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
|
|
14852
14910
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
14853
14911
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
14854
14912
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -14931,6 +14989,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
14931
14989
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
14932
14990
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
14933
14991
|
}
|
|
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
|
+
}
|
|
14934
14998
|
//#endregion
|
|
14935
14999
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14936
15000
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -15156,7 +15220,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15156
15220
|
}
|
|
15157
15221
|
//#endregion
|
|
15158
15222
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
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) {
|
|
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, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
15160
15224
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15161
15225
|
signal,
|
|
15162
15226
|
searchParams: buildSearchParams$2({
|
|
@@ -15168,6 +15232,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15168
15232
|
include_group_totals,
|
|
15169
15233
|
include_unassigned,
|
|
15170
15234
|
archived,
|
|
15235
|
+
completed,
|
|
15171
15236
|
private: private_,
|
|
15172
15237
|
name,
|
|
15173
15238
|
client_id,
|
|
@@ -15179,6 +15244,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15179
15244
|
start_date,
|
|
15180
15245
|
end_date,
|
|
15181
15246
|
user_id,
|
|
15247
|
+
only_me,
|
|
15182
15248
|
include_drafts,
|
|
15183
15249
|
cf_filter
|
|
15184
15250
|
})
|
|
@@ -15294,10 +15360,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
15294
15360
|
}
|
|
15295
15361
|
//#endregion
|
|
15296
15362
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
15297
|
-
async function
|
|
15363
|
+
async function getForecastAvailability(httpClient, workspace_id, signal) {
|
|
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) {
|
|
15298
15367
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
15299
15368
|
signal,
|
|
15300
15369
|
json: data,
|
|
15370
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
15301
15371
|
searchParams: buildSearchParams$2({
|
|
15302
15372
|
response_format,
|
|
15303
15373
|
include_dicts
|
|
@@ -15321,12 +15391,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
15321
15391
|
json: data
|
|
15322
15392
|
}).json();
|
|
15323
15393
|
}
|
|
15324
|
-
async function
|
|
15394
|
+
async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
|
|
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) {
|
|
15325
15401
|
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`, {
|
|
15326
15417
|
signal,
|
|
15327
15418
|
json: data
|
|
15328
15419
|
}).json();
|
|
15329
15420
|
}
|
|
15421
|
+
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
15422
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
15423
|
+
}
|
|
15330
15424
|
//#endregion
|
|
15331
15425
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
15332
15426
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -15359,7 +15453,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15359
15453
|
}
|
|
15360
15454
|
//#endregion
|
|
15361
15455
|
//#region ../focus-queries/dist/search/requests.ts
|
|
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) {
|
|
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, only_me }, signal) {
|
|
15363
15457
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15364
15458
|
signal,
|
|
15365
15459
|
searchParams: buildSearchParams$2({
|
|
@@ -15371,11 +15465,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15371
15465
|
task_id,
|
|
15372
15466
|
include_drafts,
|
|
15373
15467
|
exclude_calendar_events,
|
|
15374
|
-
group_by_tags
|
|
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
|
|
15375
15479
|
})
|
|
15376
15480
|
}).json();
|
|
15377
15481
|
}
|
|
15378
15482
|
//#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
|
|
15379
15518
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15380
15519
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
15381
15520
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -15431,7 +15570,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15431
15570
|
}
|
|
15432
15571
|
//#endregion
|
|
15433
15572
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15434
|
-
async function
|
|
15573
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
|
|
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) {
|
|
15435
15644
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15436
15645
|
signal,
|
|
15437
15646
|
searchParams: buildSearchParams$2({
|
|
@@ -15455,11 +15664,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15455
15664
|
end_date_to,
|
|
15456
15665
|
private: private_,
|
|
15457
15666
|
exclude_empty,
|
|
15458
|
-
|
|
15667
|
+
include_unassigned,
|
|
15668
|
+
include_unmaterialized,
|
|
15669
|
+
collapse_recurring,
|
|
15459
15670
|
include_assignees,
|
|
15460
15671
|
min_days,
|
|
15461
15672
|
include_drafts,
|
|
15462
15673
|
cf_filter,
|
|
15674
|
+
user_cf_filter,
|
|
15463
15675
|
page,
|
|
15464
15676
|
per_page,
|
|
15465
15677
|
order_by
|
|
@@ -15498,17 +15710,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
15498
15710
|
}).json();
|
|
15499
15711
|
}
|
|
15500
15712
|
//#endregion
|
|
15501
|
-
//#region ../focus-queries/dist/time-
|
|
15502
|
-
async function
|
|
15503
|
-
return await httpClient.
|
|
15713
|
+
//#region ../focus-queries/dist/time-entry-groups/requests.ts
|
|
15714
|
+
async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
|
|
15715
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
|
|
15504
15716
|
signal,
|
|
15505
|
-
|
|
15506
|
-
|
|
15507
|
-
|
|
15508
|
-
|
|
15509
|
-
|
|
15510
|
-
|
|
15511
|
-
|
|
15717
|
+
searchParams: buildSearchParams$2({
|
|
15718
|
+
start_date,
|
|
15719
|
+
end_date,
|
|
15720
|
+
user_id,
|
|
15721
|
+
page,
|
|
15722
|
+
per_page,
|
|
15723
|
+
order_by
|
|
15724
|
+
})
|
|
15512
15725
|
}).json();
|
|
15513
15726
|
}
|
|
15514
15727
|
//#endregion
|
|
@@ -15550,43 +15763,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15550
15763
|
json: data
|
|
15551
15764
|
}).json();
|
|
15552
15765
|
}
|
|
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
|
-
}
|
|
15590
15766
|
//#endregion
|
|
15591
15767
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15592
15768
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15779,27 +15955,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
15779
15955
|
json: data
|
|
15780
15956
|
}).json();
|
|
15781
15957
|
}
|
|
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
|
-
}
|
|
15803
15958
|
//#endregion
|
|
15804
15959
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
15805
15960
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -15816,6 +15971,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
15816
15971
|
json: data
|
|
15817
15972
|
}).json();
|
|
15818
15973
|
}
|
|
15974
|
+
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
15975
|
+
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
15976
|
+
}
|
|
15819
15977
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
15820
15978
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
15821
15979
|
}
|
|
@@ -15828,6 +15986,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
15828
15986
|
json: data
|
|
15829
15987
|
}).json();
|
|
15830
15988
|
}
|
|
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
|
+
}
|
|
15831
15998
|
//#endregion
|
|
15832
15999
|
//#region ../operations/build/index.public.js
|
|
15833
16000
|
function callGeneratedRequest(request, args) {
|
|
@@ -15963,17 +16130,17 @@ const generatedFocusOperations = [
|
|
|
15963
16130
|
]))
|
|
15964
16131
|
},
|
|
15965
16132
|
{
|
|
15966
|
-
id: "focus.audit-log.
|
|
16133
|
+
id: "focus.audit-log.get-organization",
|
|
15967
16134
|
family: "focus",
|
|
15968
16135
|
resource: "audit-log",
|
|
15969
|
-
action: "
|
|
15970
|
-
title: "
|
|
15971
|
-
description: "
|
|
16136
|
+
action: "get-organization",
|
|
16137
|
+
title: "Get Organization Audit Log",
|
|
16138
|
+
description: "Get Organization Audit Log.",
|
|
15972
16139
|
safety: "read",
|
|
15973
16140
|
destructive: false,
|
|
15974
16141
|
cli: {
|
|
15975
16142
|
group: ["audit-log"],
|
|
15976
|
-
command: "
|
|
16143
|
+
command: "get-organization",
|
|
15977
16144
|
interactive: "hidden"
|
|
15978
16145
|
},
|
|
15979
16146
|
mcp: { entityTool: "audit-log" },
|
|
@@ -15987,14 +16154,14 @@ const generatedFocusOperations = [
|
|
|
15987
16154
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15988
16155
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15989
16156
|
to: /* @__PURE__ */ string$1(),
|
|
15990
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16157
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16158
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15991
16159
|
}),
|
|
15992
16160
|
execute: (input, { client }) => {
|
|
15993
16161
|
const data = input;
|
|
15994
|
-
return client.runGeneratedRequest("
|
|
16162
|
+
return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
|
|
15995
16163
|
client.httpClient,
|
|
15996
16164
|
client.organizationId,
|
|
15997
|
-
client.workspaceIdNumber,
|
|
15998
16165
|
data.from,
|
|
15999
16166
|
data.to,
|
|
16000
16167
|
data,
|
|
@@ -16003,87 +16170,79 @@ const generatedFocusOperations = [
|
|
|
16003
16170
|
}
|
|
16004
16171
|
},
|
|
16005
16172
|
{
|
|
16006
|
-
id: "focus.
|
|
16173
|
+
id: "focus.audit-log.list",
|
|
16007
16174
|
family: "focus",
|
|
16008
|
-
resource: "
|
|
16009
|
-
action: "
|
|
16010
|
-
title: "
|
|
16011
|
-
description: "
|
|
16175
|
+
resource: "audit-log",
|
|
16176
|
+
action: "list",
|
|
16177
|
+
title: "List Audit Log",
|
|
16178
|
+
description: "List Audit Log.",
|
|
16012
16179
|
safety: "read",
|
|
16013
16180
|
destructive: false,
|
|
16014
16181
|
cli: {
|
|
16015
|
-
group: ["
|
|
16016
|
-
command: "
|
|
16182
|
+
group: ["audit-log"],
|
|
16183
|
+
command: "list",
|
|
16017
16184
|
interactive: "hidden"
|
|
16018
16185
|
},
|
|
16019
|
-
mcp: { entityTool: "
|
|
16186
|
+
mcp: { entityTool: "audit-log" },
|
|
16020
16187
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16021
|
-
|
|
16022
|
-
|
|
16023
|
-
|
|
16024
|
-
|
|
16025
|
-
|
|
16026
|
-
|
|
16027
|
-
|
|
16028
|
-
|
|
16029
|
-
|
|
16188
|
+
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16189
|
+
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16190
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16191
|
+
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16192
|
+
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16193
|
+
from: /* @__PURE__ */ string$1(),
|
|
16194
|
+
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16195
|
+
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16196
|
+
to: /* @__PURE__ */ string$1(),
|
|
16197
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16030
16198
|
}),
|
|
16031
16199
|
execute: (input, { client }) => {
|
|
16032
16200
|
const data = input;
|
|
16033
|
-
return client.runGeneratedRequest("
|
|
16201
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
16034
16202
|
client.httpClient,
|
|
16035
16203
|
client.organizationId,
|
|
16036
16204
|
client.workspaceIdNumber,
|
|
16037
|
-
data.
|
|
16205
|
+
data.from,
|
|
16206
|
+
data.to,
|
|
16038
16207
|
data,
|
|
16039
16208
|
void 0
|
|
16040
16209
|
]));
|
|
16041
16210
|
}
|
|
16042
16211
|
},
|
|
16043
16212
|
{
|
|
16044
|
-
id: "focus.capacities.
|
|
16213
|
+
id: "focus.capacities.get-computations",
|
|
16045
16214
|
family: "focus",
|
|
16046
16215
|
resource: "capacities",
|
|
16047
|
-
action: "
|
|
16048
|
-
title: "
|
|
16049
|
-
description: "
|
|
16216
|
+
action: "get-computations",
|
|
16217
|
+
title: "Get Computations Capacities",
|
|
16218
|
+
description: "Get Computations Capacities.",
|
|
16050
16219
|
safety: "read",
|
|
16051
16220
|
destructive: false,
|
|
16052
16221
|
cli: {
|
|
16053
|
-
group: ["capacities"
|
|
16054
|
-
command: "
|
|
16222
|
+
group: ["capacities"],
|
|
16223
|
+
command: "get-computations",
|
|
16055
16224
|
interactive: "hidden"
|
|
16056
16225
|
},
|
|
16057
16226
|
mcp: { entityTool: "capacities" },
|
|
16058
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16059
|
-
|
|
16060
|
-
|
|
16061
|
-
|
|
16062
|
-
|
|
16063
|
-
|
|
16064
|
-
|
|
16065
|
-
|
|
16066
|
-
|
|
16067
|
-
|
|
16068
|
-
|
|
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() }) }),
|
|
16227
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16228
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16229
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
16230
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
16231
|
+
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
16232
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
16233
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16234
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
16235
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
16236
|
+
user_id: /* @__PURE__ */ number$2()
|
|
16237
|
+
}),
|
|
16081
16238
|
execute: (input, { client }) => {
|
|
16082
16239
|
const data = input;
|
|
16083
|
-
return client.runGeneratedRequest("
|
|
16240
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
16084
16241
|
client.httpClient,
|
|
16242
|
+
client.organizationId,
|
|
16085
16243
|
client.workspaceIdNumber,
|
|
16086
|
-
data.
|
|
16244
|
+
data.group,
|
|
16245
|
+
data,
|
|
16087
16246
|
void 0
|
|
16088
16247
|
]));
|
|
16089
16248
|
}
|
|
@@ -16282,8 +16441,7 @@ const generatedFocusOperations = [
|
|
|
16282
16441
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
16283
16442
|
start_at: apiDateTimeString,
|
|
16284
16443
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16285
|
-
})))
|
|
16286
|
-
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16444
|
+
})))
|
|
16287
16445
|
}) }),
|
|
16288
16446
|
execute: (input, { client }) => {
|
|
16289
16447
|
const data = input;
|
|
@@ -16338,6 +16496,7 @@ const generatedFocusOperations = [
|
|
|
16338
16496
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16339
16497
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16340
16498
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16499
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16341
16500
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16342
16501
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16343
16502
|
}),
|
|
@@ -16370,6 +16529,7 @@ const generatedFocusOperations = [
|
|
|
16370
16529
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16371
16530
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16372
16531
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16532
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16373
16533
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16374
16534
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16375
16535
|
}))),
|
|
@@ -16425,7 +16585,11 @@ const generatedFocusOperations = [
|
|
|
16425
16585
|
},
|
|
16426
16586
|
mcp: { entityTool: "custom-fields" },
|
|
16427
16587
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16428
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16588
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
16589
|
+
"project",
|
|
16590
|
+
"task",
|
|
16591
|
+
"user"
|
|
16592
|
+
]),
|
|
16429
16593
|
field_type: /* @__PURE__ */ picklist$1([
|
|
16430
16594
|
"select",
|
|
16431
16595
|
"multi_select",
|
|
@@ -16758,7 +16922,11 @@ const generatedFocusOperations = [
|
|
|
16758
16922
|
},
|
|
16759
16923
|
mcp: { entityTool: "custom-fields" },
|
|
16760
16924
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16761
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16925
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
16926
|
+
"project",
|
|
16927
|
+
"task",
|
|
16928
|
+
"user"
|
|
16929
|
+
]),
|
|
16762
16930
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
16763
16931
|
}) }),
|
|
16764
16932
|
execute: (input, { client }) => {
|
|
@@ -16772,6 +16940,37 @@ const generatedFocusOperations = [
|
|
|
16772
16940
|
]));
|
|
16773
16941
|
}
|
|
16774
16942
|
},
|
|
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
|
+
},
|
|
16775
16974
|
{
|
|
16776
16975
|
id: "focus.goals.create",
|
|
16777
16976
|
family: "focus",
|
|
@@ -16991,10 +17190,22 @@ const generatedFocusOperations = [
|
|
|
16991
17190
|
goal_id: /* @__PURE__ */ number$2(),
|
|
16992
17191
|
payload: /* @__PURE__ */ looseObject({
|
|
16993
17192
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17193
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16994
17194
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16995
17195
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16996
17196
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16997
|
-
|
|
17197
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
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()))
|
|
16998
17209
|
})
|
|
16999
17210
|
}),
|
|
17000
17211
|
execute: (input, { client }) => {
|
|
@@ -18327,6 +18538,7 @@ const generatedFocusOperations = [
|
|
|
18327
18538
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18328
18539
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18329
18540
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18541
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18330
18542
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18331
18543
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18332
18544
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -18334,6 +18546,7 @@ const generatedFocusOperations = [
|
|
|
18334
18546
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18335
18547
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18336
18548
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18549
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18337
18550
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18338
18551
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18339
18552
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -20518,7 +20731,10 @@ const generatedFocusOperations = [
|
|
|
20518
20731
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20519
20732
|
name: /* @__PURE__ */ string$1(),
|
|
20520
20733
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20521
|
-
}))
|
|
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())
|
|
20522
20738
|
}),
|
|
20523
20739
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20524
20740
|
}),
|
|
@@ -20559,6 +20775,28 @@ const generatedFocusOperations = [
|
|
|
20559
20775
|
]));
|
|
20560
20776
|
}
|
|
20561
20777
|
},
|
|
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
|
+
},
|
|
20562
20800
|
{
|
|
20563
20801
|
id: "focus.reports.get-profitability",
|
|
20564
20802
|
family: "focus",
|
|
@@ -20618,9 +20856,17 @@ const generatedFocusOperations = [
|
|
|
20618
20856
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20619
20857
|
name: /* @__PURE__ */ string$1(),
|
|
20620
20858
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20621
|
-
}))
|
|
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())
|
|
20622
20863
|
}),
|
|
20623
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
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
|
+
]))
|
|
20624
20870
|
}),
|
|
20625
20871
|
execute: (input, { client }) => {
|
|
20626
20872
|
const data = input;
|
|
@@ -20630,22 +20876,23 @@ const generatedFocusOperations = [
|
|
|
20630
20876
|
data.payload ?? data.data ?? data,
|
|
20631
20877
|
data.response_format,
|
|
20632
20878
|
data.include_dicts,
|
|
20879
|
+
data.xTogglReportExport,
|
|
20633
20880
|
void 0
|
|
20634
20881
|
]));
|
|
20635
20882
|
}
|
|
20636
20883
|
},
|
|
20637
20884
|
{
|
|
20638
|
-
id: "focus.reports.get-
|
|
20885
|
+
id: "focus.reports.get-time-accounting",
|
|
20639
20886
|
family: "focus",
|
|
20640
20887
|
resource: "reports",
|
|
20641
|
-
action: "get-
|
|
20642
|
-
title: "Get
|
|
20643
|
-
description: "Get
|
|
20888
|
+
action: "get-time-accounting",
|
|
20889
|
+
title: "Get Time Accounting Reports",
|
|
20890
|
+
description: "Get Time Accounting Reports.",
|
|
20644
20891
|
safety: "update",
|
|
20645
20892
|
destructive: false,
|
|
20646
20893
|
cli: {
|
|
20647
20894
|
group: ["reports"],
|
|
20648
|
-
command: "get-
|
|
20895
|
+
command: "get-time-accounting",
|
|
20649
20896
|
interactive: "hidden"
|
|
20650
20897
|
},
|
|
20651
20898
|
mcp: { entityTool: "reports" },
|
|
@@ -20691,14 +20938,205 @@ const generatedFocusOperations = [
|
|
|
20691
20938
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20692
20939
|
name: /* @__PURE__ */ string$1(),
|
|
20693
20940
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20694
|
-
}))
|
|
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())
|
|
20695
20945
|
}) }),
|
|
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
|
+
}),
|
|
20696
21025
|
execute: (input, { client }) => {
|
|
20697
21026
|
const data = input;
|
|
20698
21027
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
20699
21028
|
client.httpClient,
|
|
20700
21029
|
client.workspaceIdNumber,
|
|
20701
21030
|
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,
|
|
20702
21140
|
void 0
|
|
20703
21141
|
]));
|
|
20704
21142
|
}
|
|
@@ -20736,7 +21174,9 @@ const generatedFocusOperations = [
|
|
|
20736
21174
|
"reports.detailed",
|
|
20737
21175
|
"reports.utilization",
|
|
20738
21176
|
"reports.workload",
|
|
20739
|
-
"reports.profitability"
|
|
21177
|
+
"reports.profitability",
|
|
21178
|
+
"reports.time-off",
|
|
21179
|
+
"reports.time-accounting"
|
|
20740
21180
|
]),
|
|
20741
21181
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20742
21182
|
}) }),
|
|
@@ -20860,11 +21300,41 @@ const generatedFocusOperations = [
|
|
|
20860
21300
|
}
|
|
20861
21301
|
},
|
|
20862
21302
|
{
|
|
20863
|
-
id: "focus.search.
|
|
21303
|
+
id: "focus.search.mentions",
|
|
20864
21304
|
family: "focus",
|
|
20865
21305
|
resource: "search",
|
|
20866
|
-
action: "
|
|
20867
|
-
title: "
|
|
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",
|
|
21334
|
+
family: "focus",
|
|
21335
|
+
resource: "search",
|
|
21336
|
+
action: "search",
|
|
21337
|
+
title: "Search Search",
|
|
20868
21338
|
description: "Search Search.",
|
|
20869
21339
|
safety: "read",
|
|
20870
21340
|
destructive: false,
|
|
@@ -20886,6 +21356,240 @@ const generatedFocusOperations = [
|
|
|
20886
21356
|
]));
|
|
20887
21357
|
}
|
|
20888
21358
|
},
|
|
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
|
+
},
|
|
20889
21593
|
{
|
|
20890
21594
|
id: "focus.statuses.create-status",
|
|
20891
21595
|
family: "focus",
|
|
@@ -21151,13 +21855,172 @@ const generatedFocusOperations = [
|
|
|
21151
21855
|
command: "upsert-forced-trial",
|
|
21152
21856
|
interactive: "default"
|
|
21153
21857
|
},
|
|
21154
|
-
mcp: { entityTool: "subscriptions" },
|
|
21155
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
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.",
|
|
22011
|
+
safety: "update",
|
|
22012
|
+
destructive: false,
|
|
22013
|
+
cli: {
|
|
22014
|
+
group: ["tags", "bulk"],
|
|
22015
|
+
command: "unarchive",
|
|
22016
|
+
interactive: "default"
|
|
22017
|
+
},
|
|
22018
|
+
mcp: { entityTool: "tags" },
|
|
22019
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21156
22020
|
execute: (input, { client }) => {
|
|
21157
22021
|
const data = input;
|
|
21158
|
-
return client.runGeneratedRequest("
|
|
22022
|
+
return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
|
|
21159
22023
|
client.httpClient,
|
|
21160
|
-
client.organizationId,
|
|
21161
22024
|
client.workspaceIdNumber,
|
|
21162
22025
|
data.payload ?? data.data ?? data,
|
|
21163
22026
|
void 0
|
|
@@ -21248,6 +22111,35 @@ const generatedFocusOperations = [
|
|
|
21248
22111
|
return client.listTags(data);
|
|
21249
22112
|
}
|
|
21250
22113
|
},
|
|
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
|
+
},
|
|
21251
22143
|
{
|
|
21252
22144
|
id: "focus.tags.restore",
|
|
21253
22145
|
family: "focus",
|
|
@@ -21274,6 +22166,32 @@ const generatedFocusOperations = [
|
|
|
21274
22166
|
]));
|
|
21275
22167
|
}
|
|
21276
22168
|
},
|
|
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
|
+
},
|
|
21277
22195
|
{
|
|
21278
22196
|
id: "focus.tags.update",
|
|
21279
22197
|
family: "focus",
|
|
@@ -21955,12 +22873,12 @@ const generatedFocusOperations = [
|
|
|
21955
22873
|
mcp: { entityTool: "tasks" },
|
|
21956
22874
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21957
22875
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22876
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21958
22877
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21959
22878
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21960
22879
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21961
22880
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21962
22881
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21963
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21964
22882
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21965
22883
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21966
22884
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21997,7 +22915,6 @@ const generatedFocusOperations = [
|
|
|
21997
22915
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21998
22916
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21999
22917
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22000
|
-
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22001
22918
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22002
22919
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22003
22920
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22014,7 +22931,6 @@ const generatedFocusOperations = [
|
|
|
22014
22931
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22015
22932
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22016
22933
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22017
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22018
22934
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22019
22935
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22020
22936
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22070,7 +22986,6 @@ const generatedFocusOperations = [
|
|
|
22070
22986
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22071
22987
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22072
22988
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22073
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22074
22989
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22075
22990
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22076
22991
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22111,7 +23026,6 @@ const generatedFocusOperations = [
|
|
|
22111
23026
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22112
23027
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22113
23028
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22114
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22115
23029
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22116
23030
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22117
23031
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22152,6 +23066,7 @@ const generatedFocusOperations = [
|
|
|
22152
23066
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22153
23067
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22154
23068
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23069
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22155
23070
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22156
23071
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22157
23072
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22165,7 +23080,8 @@ const generatedFocusOperations = [
|
|
|
22165
23080
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22166
23081
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22167
23082
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22168
|
-
|
|
23083
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23084
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22169
23085
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22170
23086
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22171
23087
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22181,6 +23097,7 @@ const generatedFocusOperations = [
|
|
|
22181
23097
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22182
23098
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22183
23099
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23100
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22184
23101
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22185
23102
|
}),
|
|
22186
23103
|
execute: (input, { client }) => {
|
|
@@ -22195,6 +23112,118 @@ const generatedFocusOperations = [
|
|
|
22195
23112
|
]));
|
|
22196
23113
|
}
|
|
22197
23114
|
},
|
|
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
|
+
},
|
|
22198
23227
|
{
|
|
22199
23228
|
id: "focus.tasks.groups-update",
|
|
22200
23229
|
family: "focus",
|
|
@@ -22400,7 +23429,6 @@ const generatedFocusOperations = [
|
|
|
22400
23429
|
name: /* @__PURE__ */ string$1(),
|
|
22401
23430
|
status_id: /* @__PURE__ */ number$2(),
|
|
22402
23431
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22403
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22404
23432
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
22405
23433
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22406
23434
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -22420,6 +23448,7 @@ const generatedFocusOperations = [
|
|
|
22420
23448
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22421
23449
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22422
23450
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23451
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22423
23452
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
22424
23453
|
}),
|
|
22425
23454
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -23330,6 +24359,40 @@ const generatedFocusOperations = [
|
|
|
23330
24359
|
]));
|
|
23331
24360
|
}
|
|
23332
24361
|
},
|
|
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
|
+
},
|
|
23333
24396
|
{
|
|
23334
24397
|
id: "focus.time-entries.list",
|
|
23335
24398
|
family: "focus",
|
|
@@ -23514,6 +24577,42 @@ const generatedFocusOperations = [
|
|
|
23514
24577
|
inputSchema: emptySchema$1,
|
|
23515
24578
|
execute: (_input, { client }) => client.stopTracking()
|
|
23516
24579
|
},
|
|
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
|
+
},
|
|
23517
24616
|
{
|
|
23518
24617
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
23519
24618
|
family: "focus",
|
|
@@ -23562,6 +24661,7 @@ const generatedFocusOperations = [
|
|
|
23562
24661
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23563
24662
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23564
24663
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24664
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23565
24665
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23566
24666
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23567
24667
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -23620,125 +24720,37 @@ const generatedFocusOperations = [
|
|
|
23620
24720
|
resource: "time-entries",
|
|
23621
24721
|
action: "update",
|
|
23622
24722
|
title: "Update Time Entries",
|
|
23623
|
-
description: "Update Time Entries.",
|
|
23624
|
-
safety: "update",
|
|
23625
|
-
destructive: false,
|
|
23626
|
-
cli: {
|
|
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",
|
|
24723
|
+
description: "Update Time Entries.",
|
|
24724
|
+
safety: "update",
|
|
23724
24725
|
destructive: false,
|
|
23725
24726
|
cli: {
|
|
23726
|
-
group: ["time-
|
|
23727
|
-
command: "
|
|
23728
|
-
interactive: "
|
|
24727
|
+
group: ["time-entries"],
|
|
24728
|
+
command: "update",
|
|
24729
|
+
interactive: "default"
|
|
23729
24730
|
},
|
|
23730
|
-
mcp: { entityTool: "time-
|
|
24731
|
+
mcp: { entityTool: "time-entries" },
|
|
23731
24732
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23732
|
-
|
|
23733
|
-
|
|
24733
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24734
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
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()
|
|
23734
24746
|
}),
|
|
23735
24747
|
execute: (input, { client }) => {
|
|
23736
24748
|
const data = input;
|
|
23737
|
-
return client.runGeneratedRequest("
|
|
24749
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23738
24750
|
client.httpClient,
|
|
23739
24751
|
client.organizationId,
|
|
23740
24752
|
client.workspaceIdNumber,
|
|
23741
|
-
data.
|
|
24753
|
+
data.time_entry_id,
|
|
23742
24754
|
data.payload ?? data.data ?? data,
|
|
23743
24755
|
void 0
|
|
23744
24756
|
]));
|
|
@@ -23774,37 +24786,6 @@ const generatedFocusOperations = [
|
|
|
23774
24786
|
]));
|
|
23775
24787
|
}
|
|
23776
24788
|
},
|
|
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
|
-
},
|
|
23808
24789
|
{
|
|
23809
24790
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
23810
24791
|
family: "focus",
|
|
@@ -23835,38 +24816,6 @@ const generatedFocusOperations = [
|
|
|
23835
24816
|
]));
|
|
23836
24817
|
}
|
|
23837
24818
|
},
|
|
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
|
-
},
|
|
23870
24819
|
{
|
|
23871
24820
|
id: "focus.time-off.get-timeoff-for-user",
|
|
23872
24821
|
family: "focus",
|
|
@@ -23898,37 +24847,6 @@ const generatedFocusOperations = [
|
|
|
23898
24847
|
]));
|
|
23899
24848
|
}
|
|
23900
24849
|
},
|
|
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
|
-
},
|
|
23932
24850
|
{
|
|
23933
24851
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
23934
24852
|
family: "focus",
|
|
@@ -23959,37 +24877,6 @@ const generatedFocusOperations = [
|
|
|
23959
24877
|
]));
|
|
23960
24878
|
}
|
|
23961
24879
|
},
|
|
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
|
-
},
|
|
23993
24880
|
{
|
|
23994
24881
|
id: "focus.time-off.update-timeoff-for-user",
|
|
23995
24882
|
family: "focus",
|
|
@@ -25021,6 +25908,7 @@ const generatedFocusOperations = [
|
|
|
25021
25908
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25022
25909
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25023
25910
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25911
|
+
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25024
25912
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25025
25913
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25026
25914
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -25122,37 +26010,6 @@ const generatedFocusOperations = [
|
|
|
25122
26010
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25123
26011
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
25124
26012
|
},
|
|
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
|
-
},
|
|
25156
26013
|
{
|
|
25157
26014
|
id: "focus.working-hours.create-for-user",
|
|
25158
26015
|
family: "focus",
|
|
@@ -25183,37 +26040,6 @@ const generatedFocusOperations = [
|
|
|
25183
26040
|
]));
|
|
25184
26041
|
}
|
|
25185
26042
|
},
|
|
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
|
-
},
|
|
25217
26043
|
{
|
|
25218
26044
|
id: "focus.working-hours.delete-for-user",
|
|
25219
26045
|
family: "focus",
|
|
@@ -25244,33 +26070,6 @@ const generatedFocusOperations = [
|
|
|
25244
26070
|
]));
|
|
25245
26071
|
}
|
|
25246
26072
|
},
|
|
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
|
-
},
|
|
25274
26073
|
{
|
|
25275
26074
|
id: "focus.working-hours.get-for-user",
|
|
25276
26075
|
family: "focus",
|
|
@@ -25297,37 +26096,6 @@ const generatedFocusOperations = [
|
|
|
25297
26096
|
]));
|
|
25298
26097
|
}
|
|
25299
26098
|
},
|
|
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
|
-
},
|
|
25331
26099
|
{
|
|
25332
26100
|
id: "focus.working-hours.update-for-user",
|
|
25333
26101
|
family: "focus",
|
|
@@ -25402,6 +26170,50 @@ const generatedFocusOperations = [
|
|
|
25402
26170
|
void 0
|
|
25403
26171
|
]))
|
|
25404
26172
|
},
|
|
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
|
+
},
|
|
25405
26217
|
{
|
|
25406
26218
|
id: "focus.workspace-settings.list",
|
|
25407
26219
|
family: "focus",
|
|
@@ -25476,6 +26288,32 @@ const generatedFocusOperations = [
|
|
|
25476
26288
|
]));
|
|
25477
26289
|
}
|
|
25478
26290
|
},
|
|
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
|
+
},
|
|
25479
26317
|
{
|
|
25480
26318
|
id: "focus.workspace.get-context",
|
|
25481
26319
|
family: "focus",
|
|
@@ -27122,4 +27960,4 @@ Common commands:
|
|
|
27122
27960
|
//#endregion
|
|
27123
27961
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27124
27962
|
|
|
27125
|
-
//# sourceMappingURL=program-
|
|
27963
|
+
//# sourceMappingURL=program-BH4LUeUT.js.map
|