@togglhq/cli 1.11.173 → 1.11.175
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-BTcLDXnP.js → program-ChUYcV7p.js} +1423 -585
- 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())),
|
|
@@ -7593,7 +7590,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7593
7590
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
7594
7591
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7595
7592
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7596
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7593
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
7597
7594
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7598
7595
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7599
7596
|
});
|
|
@@ -7737,7 +7734,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7737
7734
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
7738
7735
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7739
7736
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7740
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7737
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
7741
7738
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7742
7739
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7743
7740
|
})),
|
|
@@ -7749,9 +7746,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
7749
7746
|
id: /* @__PURE__ */ number(),
|
|
7750
7747
|
name: /* @__PURE__ */ string(),
|
|
7751
7748
|
workspace_id: /* @__PURE__ */ number(),
|
|
7749
|
+
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."))),
|
|
7752
7750
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7753
7751
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7754
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7752
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7753
|
+
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
7754
|
+
projects: /* @__PURE__ */ number(),
|
|
7755
|
+
tasks: /* @__PURE__ */ number(),
|
|
7756
|
+
time_entries: /* @__PURE__ */ number()
|
|
7757
|
+
})), /* @__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.")))
|
|
7755
7758
|
});
|
|
7756
7759
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
7757
7760
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -7762,8 +7765,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
7762
7765
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
7763
7766
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
7764
7767
|
account_locked_at: /* @__PURE__ */ string(),
|
|
7768
|
+
accounts_role_id: /* @__PURE__ */ number(),
|
|
7765
7769
|
active: /* @__PURE__ */ boolean(),
|
|
7766
|
-
admin: /* @__PURE__ */ boolean(),
|
|
7767
7770
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
7768
7771
|
created_at: /* @__PURE__ */ string(),
|
|
7769
7772
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -7812,7 +7815,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7812
7815
|
track_role_id: /* @__PURE__ */ number(),
|
|
7813
7816
|
work_role_id: /* @__PURE__ */ number(),
|
|
7814
7817
|
workspace_user_id: /* @__PURE__ */ number()
|
|
7815
|
-
}))
|
|
7818
|
+
})),
|
|
7819
|
+
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7820
|
+
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.")))
|
|
7816
7821
|
});
|
|
7817
7822
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7818
7823
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -7889,8 +7894,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7889
7894
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7890
7895
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7891
7896
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7892
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7893
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7897
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7894
7898
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7895
7899
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7896
7900
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -7906,6 +7910,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7906
7910
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7907
7911
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7908
7912
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7913
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7909
7914
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7910
7915
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7911
7916
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7915,22 +7920,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7915
7920
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7916
7921
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
7917
7922
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
7918
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
7923
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
|
|
7924
|
+
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.")))
|
|
7919
7925
|
});
|
|
7920
7926
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7921
7927
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7922
7928
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
7929
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7923
7930
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
7924
7931
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7925
7932
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7926
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7933
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7927
7934
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7928
7935
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
7929
7936
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7930
7937
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7931
7938
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7932
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7933
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7939
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
7934
7940
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7935
7941
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7936
7942
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7947,6 +7953,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7947
7953
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7948
7954
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7949
7955
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7956
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7950
7957
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7951
7958
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7952
7959
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7955,17 +7962,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7955
7962
|
});
|
|
7956
7963
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
7957
7964
|
id: /* @__PURE__ */ number(),
|
|
7965
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7958
7966
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
7959
7967
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7960
7968
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7961
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7969
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7962
7970
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7963
7971
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
7964
7972
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7965
7973
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7966
7974
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7967
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7968
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7975
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
7969
7976
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7970
7977
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7971
7978
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7982,6 +7989,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7982
7989
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7983
7990
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7984
7991
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7992
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7985
7993
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7986
7994
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7987
7995
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9905,7 +9913,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9905
9913
|
})
|
|
9906
9914
|
}).json();
|
|
9907
9915
|
}
|
|
9908
|
-
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) {
|
|
9916
|
+
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) {
|
|
9909
9917
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9910
9918
|
signal,
|
|
9911
9919
|
searchParams: buildSearchParams$2({
|
|
@@ -9925,7 +9933,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9925
9933
|
include_working_hours,
|
|
9926
9934
|
include_rates,
|
|
9927
9935
|
pinned_ids,
|
|
9928
|
-
has_group
|
|
9936
|
+
has_group,
|
|
9937
|
+
cf_filter,
|
|
9938
|
+
include_custom_fields,
|
|
9939
|
+
include_calendar_integration
|
|
9929
9940
|
}, true)
|
|
9930
9941
|
});
|
|
9931
9942
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -9944,7 +9955,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
9944
9955
|
}
|
|
9945
9956
|
//#endregion
|
|
9946
9957
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
9947
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
9958
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
|
|
9948
9959
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
9949
9960
|
signal,
|
|
9950
9961
|
searchParams: buildSearchParams$2({
|
|
@@ -9952,7 +9963,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
9952
9963
|
page,
|
|
9953
9964
|
per_page,
|
|
9954
9965
|
order_by,
|
|
9955
|
-
tag_id
|
|
9966
|
+
tag_id,
|
|
9967
|
+
include_usage,
|
|
9968
|
+
include_archived,
|
|
9969
|
+
archived
|
|
9956
9970
|
})
|
|
9957
9971
|
}).json();
|
|
9958
9972
|
}
|
|
@@ -9962,6 +9976,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
9962
9976
|
json: data
|
|
9963
9977
|
}).json();
|
|
9964
9978
|
}
|
|
9979
|
+
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
9980
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
9981
|
+
signal,
|
|
9982
|
+
json: data
|
|
9983
|
+
}).json();
|
|
9984
|
+
}
|
|
9985
|
+
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
9986
|
+
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
9987
|
+
signal,
|
|
9988
|
+
searchParams: buildSearchParams$2({ ids })
|
|
9989
|
+
}).json();
|
|
9990
|
+
}
|
|
9991
|
+
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
9992
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
9993
|
+
signal,
|
|
9994
|
+
json: data
|
|
9995
|
+
}).json();
|
|
9996
|
+
}
|
|
9997
|
+
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
9998
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
9999
|
+
signal,
|
|
10000
|
+
json: data
|
|
10001
|
+
}).json();
|
|
10002
|
+
}
|
|
10003
|
+
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
10004
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
10005
|
+
signal,
|
|
10006
|
+
json: data
|
|
10007
|
+
}).json();
|
|
10008
|
+
}
|
|
10009
|
+
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
10010
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
10011
|
+
signal,
|
|
10012
|
+
json: data
|
|
10013
|
+
}).json();
|
|
10014
|
+
}
|
|
9965
10015
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
9966
10016
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
9967
10017
|
}
|
|
@@ -9974,12 +10024,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
9974
10024
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
9975
10025
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
9976
10026
|
}
|
|
10027
|
+
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10028
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
10029
|
+
}
|
|
9977
10030
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
9978
10031
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
9979
10032
|
}
|
|
10033
|
+
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10034
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
10035
|
+
}
|
|
9980
10036
|
//#endregion
|
|
9981
10037
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
9982
|
-
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) {
|
|
10038
|
+
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) {
|
|
9983
10039
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
9984
10040
|
signal,
|
|
9985
10041
|
searchParams: buildSearchParams$2({
|
|
@@ -10001,6 +10057,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
10001
10057
|
include_rates,
|
|
10002
10058
|
include_rollover,
|
|
10003
10059
|
include_idle_recurring_templates,
|
|
10060
|
+
collapse_recurring,
|
|
10004
10061
|
include_drafts,
|
|
10005
10062
|
include_locked_private,
|
|
10006
10063
|
start_date,
|
|
@@ -10231,7 +10288,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10231
10288
|
}
|
|
10232
10289
|
//#endregion
|
|
10233
10290
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10234
|
-
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,
|
|
10291
|
+
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) {
|
|
10235
10292
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10236
10293
|
signal,
|
|
10237
10294
|
searchParams: buildSearchParams$2({
|
|
@@ -10279,10 +10336,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10279
10336
|
recurring_task_ids,
|
|
10280
10337
|
client_id,
|
|
10281
10338
|
include_rates,
|
|
10282
|
-
include_ghost_assignees,
|
|
10283
10339
|
include_assignees,
|
|
10284
10340
|
include_parent_matches,
|
|
10285
|
-
assignee_ghost_id,
|
|
10286
10341
|
disable_aggregations,
|
|
10287
10342
|
cf_filter
|
|
10288
10343
|
})
|
|
@@ -10368,7 +10423,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
10368
10423
|
})
|
|
10369
10424
|
}).json();
|
|
10370
10425
|
}
|
|
10371
|
-
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,
|
|
10426
|
+
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) {
|
|
10372
10427
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10373
10428
|
signal,
|
|
10374
10429
|
searchParams: buildSearchParams$2({
|
|
@@ -10381,14 +10436,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10381
10436
|
dates_overlap_end,
|
|
10382
10437
|
recurring_task_ids,
|
|
10383
10438
|
team_id,
|
|
10439
|
+
assignee_team_id,
|
|
10384
10440
|
assignee_user_id,
|
|
10385
10441
|
tag_id,
|
|
10386
|
-
include_ghost_assignees,
|
|
10387
10442
|
include_assignees
|
|
10388
10443
|
})
|
|
10389
10444
|
}).json();
|
|
10390
10445
|
}
|
|
10391
|
-
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,
|
|
10446
|
+
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) {
|
|
10392
10447
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10393
10448
|
signal,
|
|
10394
10449
|
searchParams: buildSearchParams$2({
|
|
@@ -10432,20 +10487,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10432
10487
|
recurring,
|
|
10433
10488
|
recurring_task_ids,
|
|
10434
10489
|
client_id,
|
|
10435
|
-
include_ghost_assignees,
|
|
10436
10490
|
include_assignees,
|
|
10437
|
-
assignee_ghost_id,
|
|
10438
10491
|
cf_filter
|
|
10439
10492
|
})
|
|
10440
10493
|
}).json();
|
|
10441
10494
|
}
|
|
10442
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, {
|
|
10495
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
10443
10496
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
10444
10497
|
signal,
|
|
10445
|
-
searchParams: buildSearchParams$2({
|
|
10446
|
-
include_ghost_assignees,
|
|
10447
|
-
include_assignees
|
|
10448
|
-
})
|
|
10498
|
+
searchParams: buildSearchParams$2({ include_assignees })
|
|
10449
10499
|
}).json();
|
|
10450
10500
|
}
|
|
10451
10501
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -10476,7 +10526,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
10476
10526
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
10477
10527
|
}).json();
|
|
10478
10528
|
}
|
|
10479
|
-
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,
|
|
10529
|
+
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) {
|
|
10480
10530
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
10481
10531
|
signal,
|
|
10482
10532
|
searchParams: buildSearchParams$2({
|
|
@@ -10489,12 +10539,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10489
10539
|
team_id,
|
|
10490
10540
|
assignee_user_id,
|
|
10491
10541
|
tag_id,
|
|
10492
|
-
include_ghost_assignees,
|
|
10493
10542
|
include_assignees
|
|
10494
10543
|
})
|
|
10495
10544
|
}).json();
|
|
10496
10545
|
}
|
|
10497
|
-
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,
|
|
10546
|
+
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) {
|
|
10498
10547
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10499
10548
|
signal,
|
|
10500
10549
|
searchParams: buildSearchParams$2({
|
|
@@ -10507,7 +10556,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
10507
10556
|
team_id,
|
|
10508
10557
|
assignee_user_id,
|
|
10509
10558
|
tag_id,
|
|
10510
|
-
include_ghost_assignees,
|
|
10511
10559
|
include_assignees
|
|
10512
10560
|
})
|
|
10513
10561
|
}).json();
|
|
@@ -10609,6 +10657,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10609
10657
|
})
|
|
10610
10658
|
}).json();
|
|
10611
10659
|
}
|
|
10660
|
+
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
10661
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
10662
|
+
signal,
|
|
10663
|
+
json: data
|
|
10664
|
+
}).json();
|
|
10665
|
+
}
|
|
10612
10666
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10613
10667
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10614
10668
|
signal,
|
|
@@ -10746,7 +10800,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10746
10800
|
]))
|
|
10747
10801
|
});
|
|
10748
10802
|
//#endregion
|
|
10749
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10803
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10750
10804
|
async function getInvitations(httpClient, signal) {
|
|
10751
10805
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10752
10806
|
}
|
|
@@ -10763,7 +10817,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10763
10817
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10764
10818
|
}
|
|
10765
10819
|
//#endregion
|
|
10766
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10820
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10767
10821
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10768
10822
|
const searchParams = new URLSearchParams();
|
|
10769
10823
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10775,7 +10829,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10775
10829
|
return searchParams;
|
|
10776
10830
|
}
|
|
10777
10831
|
//#endregion
|
|
10778
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10832
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10779
10833
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10780
10834
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10781
10835
|
}
|
|
@@ -10789,7 +10843,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10789
10843
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10790
10844
|
}
|
|
10791
10845
|
//#endregion
|
|
10792
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10846
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10793
10847
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10794
10848
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10795
10849
|
}
|
|
@@ -10809,7 +10863,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10809
10863
|
});
|
|
10810
10864
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10811
10865
|
//#endregion
|
|
10812
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10866
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10813
10867
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10814
10868
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10815
10869
|
signal,
|
|
@@ -10820,12 +10874,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10820
10874
|
})).json();
|
|
10821
10875
|
}
|
|
10822
10876
|
//#endregion
|
|
10823
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10877
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10824
10878
|
async function getStatus(httpClient, signal) {
|
|
10825
10879
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10826
10880
|
}
|
|
10827
10881
|
//#endregion
|
|
10828
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10882
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10829
10883
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10830
10884
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10831
10885
|
signal,
|
|
@@ -10853,7 +10907,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10853
10907
|
return response.json();
|
|
10854
10908
|
}
|
|
10855
10909
|
//#endregion
|
|
10856
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10910
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10857
10911
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10858
10912
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10859
10913
|
}
|
|
@@ -14430,6 +14484,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14430
14484
|
}
|
|
14431
14485
|
//#endregion
|
|
14432
14486
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14487
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14488
|
+
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14489
|
+
signal,
|
|
14490
|
+
searchParams: buildSearchParams$2({
|
|
14491
|
+
workspace_id,
|
|
14492
|
+
entity_type,
|
|
14493
|
+
entity_id,
|
|
14494
|
+
action,
|
|
14495
|
+
user_id,
|
|
14496
|
+
page_size,
|
|
14497
|
+
page_number,
|
|
14498
|
+
export: export_
|
|
14499
|
+
})
|
|
14500
|
+
}).json();
|
|
14501
|
+
}
|
|
14433
14502
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14434
14503
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14435
14504
|
signal,
|
|
@@ -14588,33 +14657,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14588
14657
|
}
|
|
14589
14658
|
//#endregion
|
|
14590
14659
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14591
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date,
|
|
14660
|
+
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) {
|
|
14592
14661
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14593
14662
|
signal,
|
|
14594
14663
|
searchParams: buildSearchParams$2({
|
|
14595
14664
|
user_id,
|
|
14596
14665
|
start_date,
|
|
14597
14666
|
end_date,
|
|
14598
|
-
ghost_id,
|
|
14599
14667
|
private: private_,
|
|
14600
14668
|
task_source,
|
|
14601
14669
|
unit,
|
|
14602
|
-
include_drafts
|
|
14670
|
+
include_drafts,
|
|
14671
|
+
include_task_estimates
|
|
14603
14672
|
})
|
|
14604
14673
|
}).json();
|
|
14605
14674
|
}
|
|
14606
14675
|
//#endregion
|
|
14607
|
-
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
14608
|
-
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
14609
|
-
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
14610
|
-
}
|
|
14611
|
-
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
14612
|
-
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
14613
|
-
signal,
|
|
14614
|
-
json: data
|
|
14615
|
-
}).json();
|
|
14616
|
-
}
|
|
14617
|
-
//#endregion
|
|
14618
14676
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
14619
14677
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
14620
14678
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -14697,6 +14755,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
14697
14755
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
14698
14756
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
14699
14757
|
}
|
|
14758
|
+
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
14759
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
14760
|
+
signal,
|
|
14761
|
+
json: data
|
|
14762
|
+
}).json();
|
|
14763
|
+
}
|
|
14700
14764
|
//#endregion
|
|
14701
14765
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14702
14766
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -14922,7 +14986,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
14922
14986
|
}
|
|
14923
14987
|
//#endregion
|
|
14924
14988
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
14925
|
-
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) {
|
|
14989
|
+
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) {
|
|
14926
14990
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
14927
14991
|
signal,
|
|
14928
14992
|
searchParams: buildSearchParams$2({
|
|
@@ -14934,6 +14998,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14934
14998
|
include_group_totals,
|
|
14935
14999
|
include_unassigned,
|
|
14936
15000
|
archived,
|
|
15001
|
+
completed,
|
|
14937
15002
|
private: private_,
|
|
14938
15003
|
name,
|
|
14939
15004
|
client_id,
|
|
@@ -14945,6 +15010,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14945
15010
|
start_date,
|
|
14946
15011
|
end_date,
|
|
14947
15012
|
user_id,
|
|
15013
|
+
only_me,
|
|
14948
15014
|
include_drafts,
|
|
14949
15015
|
cf_filter
|
|
14950
15016
|
})
|
|
@@ -15060,10 +15126,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
15060
15126
|
}
|
|
15061
15127
|
//#endregion
|
|
15062
15128
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
15063
|
-
async function
|
|
15129
|
+
async function getForecastAvailability(httpClient, workspace_id, signal) {
|
|
15130
|
+
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
15131
|
+
}
|
|
15132
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
15064
15133
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
15065
15134
|
signal,
|
|
15066
15135
|
json: data,
|
|
15136
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
15067
15137
|
searchParams: buildSearchParams$2({
|
|
15068
15138
|
response_format,
|
|
15069
15139
|
include_dicts
|
|
@@ -15087,12 +15157,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
15087
15157
|
json: data
|
|
15088
15158
|
}).json();
|
|
15089
15159
|
}
|
|
15090
|
-
async function
|
|
15160
|
+
async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
|
|
15161
|
+
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
15162
|
+
signal,
|
|
15163
|
+
json: data
|
|
15164
|
+
}).json();
|
|
15165
|
+
}
|
|
15166
|
+
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
15091
15167
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
15168
|
+
signal,
|
|
15169
|
+
json: data,
|
|
15170
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
15171
|
+
}).json();
|
|
15172
|
+
}
|
|
15173
|
+
//#endregion
|
|
15174
|
+
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
15175
|
+
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15176
|
+
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
15177
|
+
signal,
|
|
15178
|
+
json: data
|
|
15179
|
+
}).json();
|
|
15180
|
+
}
|
|
15181
|
+
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15182
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
15092
15183
|
signal,
|
|
15093
15184
|
json: data
|
|
15094
15185
|
}).json();
|
|
15095
15186
|
}
|
|
15187
|
+
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
15188
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
15189
|
+
}
|
|
15096
15190
|
//#endregion
|
|
15097
15191
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
15098
15192
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -15125,7 +15219,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15125
15219
|
}
|
|
15126
15220
|
//#endregion
|
|
15127
15221
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15128
|
-
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) {
|
|
15222
|
+
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) {
|
|
15129
15223
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15130
15224
|
signal,
|
|
15131
15225
|
searchParams: buildSearchParams$2({
|
|
@@ -15137,11 +15231,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15137
15231
|
task_id,
|
|
15138
15232
|
include_drafts,
|
|
15139
15233
|
exclude_calendar_events,
|
|
15140
|
-
group_by_tags
|
|
15234
|
+
group_by_tags,
|
|
15235
|
+
only_me
|
|
15236
|
+
})
|
|
15237
|
+
}).json();
|
|
15238
|
+
}
|
|
15239
|
+
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
15240
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
15241
|
+
signal,
|
|
15242
|
+
searchParams: buildSearchParams$2({
|
|
15243
|
+
keyword,
|
|
15244
|
+
per_group
|
|
15141
15245
|
})
|
|
15142
15246
|
}).json();
|
|
15143
15247
|
}
|
|
15144
15248
|
//#endregion
|
|
15249
|
+
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
15250
|
+
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
15251
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
15252
|
+
signal,
|
|
15253
|
+
json: data
|
|
15254
|
+
}).json();
|
|
15255
|
+
}
|
|
15256
|
+
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
15257
|
+
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
15258
|
+
}
|
|
15259
|
+
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
15260
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
15261
|
+
signal,
|
|
15262
|
+
json: data
|
|
15263
|
+
}).json();
|
|
15264
|
+
}
|
|
15265
|
+
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
15266
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
15267
|
+
}
|
|
15268
|
+
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
15269
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
15270
|
+
}
|
|
15271
|
+
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15272
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15273
|
+
}
|
|
15274
|
+
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15275
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15276
|
+
signal,
|
|
15277
|
+
json: data
|
|
15278
|
+
}).json();
|
|
15279
|
+
}
|
|
15280
|
+
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15281
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15282
|
+
}
|
|
15283
|
+
//#endregion
|
|
15145
15284
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15146
15285
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
15147
15286
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -15197,7 +15336,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15197
15336
|
}
|
|
15198
15337
|
//#endregion
|
|
15199
15338
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15200
|
-
async function
|
|
15339
|
+
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) {
|
|
15340
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15341
|
+
signal,
|
|
15342
|
+
searchParams: buildSearchParams$2({
|
|
15343
|
+
project_id,
|
|
15344
|
+
source,
|
|
15345
|
+
priority,
|
|
15346
|
+
status_id,
|
|
15347
|
+
client_id,
|
|
15348
|
+
assignee_user_id,
|
|
15349
|
+
tag_id,
|
|
15350
|
+
team_id,
|
|
15351
|
+
user_tag_id,
|
|
15352
|
+
group_id,
|
|
15353
|
+
creator_id,
|
|
15354
|
+
name,
|
|
15355
|
+
start_date,
|
|
15356
|
+
end_date,
|
|
15357
|
+
start_date_from,
|
|
15358
|
+
start_date_to,
|
|
15359
|
+
end_date_from,
|
|
15360
|
+
end_date_to,
|
|
15361
|
+
private: private_,
|
|
15362
|
+
exclude_empty,
|
|
15363
|
+
include_unassigned,
|
|
15364
|
+
include_unmaterialized,
|
|
15365
|
+
collapse_recurring,
|
|
15366
|
+
include_assignees,
|
|
15367
|
+
min_days,
|
|
15368
|
+
include_drafts,
|
|
15369
|
+
cf_filter,
|
|
15370
|
+
user_cf_filter
|
|
15371
|
+
})
|
|
15372
|
+
}).json();
|
|
15373
|
+
}
|
|
15374
|
+
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) {
|
|
15375
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15376
|
+
signal,
|
|
15377
|
+
searchParams: buildSearchParams$2({
|
|
15378
|
+
team_id,
|
|
15379
|
+
project_id,
|
|
15380
|
+
source,
|
|
15381
|
+
priority,
|
|
15382
|
+
status_id,
|
|
15383
|
+
client_id,
|
|
15384
|
+
assignee_user_id,
|
|
15385
|
+
tag_id,
|
|
15386
|
+
user_tag_id,
|
|
15387
|
+
group_id,
|
|
15388
|
+
creator_id,
|
|
15389
|
+
name,
|
|
15390
|
+
start_date,
|
|
15391
|
+
end_date,
|
|
15392
|
+
start_date_from,
|
|
15393
|
+
start_date_to,
|
|
15394
|
+
end_date_from,
|
|
15395
|
+
end_date_to,
|
|
15396
|
+
private: private_,
|
|
15397
|
+
exclude_empty,
|
|
15398
|
+
include_unassigned,
|
|
15399
|
+
include_unmaterialized,
|
|
15400
|
+
collapse_recurring,
|
|
15401
|
+
include_assignees,
|
|
15402
|
+
min_days,
|
|
15403
|
+
include_drafts,
|
|
15404
|
+
cf_filter,
|
|
15405
|
+
user_cf_filter
|
|
15406
|
+
})
|
|
15407
|
+
}).json();
|
|
15408
|
+
}
|
|
15409
|
+
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) {
|
|
15201
15410
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15202
15411
|
signal,
|
|
15203
15412
|
searchParams: buildSearchParams$2({
|
|
@@ -15221,11 +15430,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15221
15430
|
end_date_to,
|
|
15222
15431
|
private: private_,
|
|
15223
15432
|
exclude_empty,
|
|
15224
|
-
|
|
15433
|
+
include_unassigned,
|
|
15434
|
+
include_unmaterialized,
|
|
15435
|
+
collapse_recurring,
|
|
15225
15436
|
include_assignees,
|
|
15226
15437
|
min_days,
|
|
15227
15438
|
include_drafts,
|
|
15228
15439
|
cf_filter,
|
|
15440
|
+
user_cf_filter,
|
|
15229
15441
|
page,
|
|
15230
15442
|
per_page,
|
|
15231
15443
|
order_by
|
|
@@ -15362,17 +15574,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
15362
15574
|
}).json();
|
|
15363
15575
|
}
|
|
15364
15576
|
//#endregion
|
|
15365
|
-
//#region ../focus-queries/dist/time-
|
|
15366
|
-
async function
|
|
15367
|
-
return await httpClient.
|
|
15577
|
+
//#region ../focus-queries/dist/time-entry-groups/requests.ts
|
|
15578
|
+
async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
|
|
15579
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
|
|
15368
15580
|
signal,
|
|
15369
|
-
|
|
15370
|
-
|
|
15371
|
-
|
|
15372
|
-
|
|
15373
|
-
|
|
15374
|
-
|
|
15375
|
-
|
|
15581
|
+
searchParams: buildSearchParams$2({
|
|
15582
|
+
start_date,
|
|
15583
|
+
end_date,
|
|
15584
|
+
user_id,
|
|
15585
|
+
page,
|
|
15586
|
+
per_page,
|
|
15587
|
+
order_by
|
|
15588
|
+
})
|
|
15376
15589
|
}).json();
|
|
15377
15590
|
}
|
|
15378
15591
|
//#endregion
|
|
@@ -15414,43 +15627,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15414
15627
|
json: data
|
|
15415
15628
|
}).json();
|
|
15416
15629
|
}
|
|
15417
|
-
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
15418
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
15419
|
-
signal,
|
|
15420
|
-
searchParams: buildSearchParams$2({
|
|
15421
|
-
ghost_ids,
|
|
15422
|
-
start_date,
|
|
15423
|
-
end_date
|
|
15424
|
-
})
|
|
15425
|
-
}).json();
|
|
15426
|
-
}
|
|
15427
|
-
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
15428
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15429
|
-
signal,
|
|
15430
|
-
searchParams: buildSearchParams$2({
|
|
15431
|
-
from,
|
|
15432
|
-
to
|
|
15433
|
-
})
|
|
15434
|
-
}).json();
|
|
15435
|
-
}
|
|
15436
|
-
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15437
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15438
|
-
signal,
|
|
15439
|
-
json: data
|
|
15440
|
-
}).json();
|
|
15441
|
-
}
|
|
15442
|
-
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15443
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15444
|
-
signal,
|
|
15445
|
-
json: data
|
|
15446
|
-
}).json();
|
|
15447
|
-
}
|
|
15448
|
-
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15449
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15450
|
-
signal,
|
|
15451
|
-
json: data
|
|
15452
|
-
}).json();
|
|
15453
|
-
}
|
|
15454
15630
|
//#endregion
|
|
15455
15631
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15456
15632
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15643,27 +15819,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
15643
15819
|
json: data
|
|
15644
15820
|
}).json();
|
|
15645
15821
|
}
|
|
15646
|
-
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
15647
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
15648
|
-
}
|
|
15649
|
-
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15650
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15651
|
-
signal,
|
|
15652
|
-
json: data
|
|
15653
|
-
}).json();
|
|
15654
|
-
}
|
|
15655
|
-
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15656
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15657
|
-
signal,
|
|
15658
|
-
json: data
|
|
15659
|
-
}).json();
|
|
15660
|
-
}
|
|
15661
|
-
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15662
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15663
|
-
signal,
|
|
15664
|
-
json: data
|
|
15665
|
-
}).json();
|
|
15666
|
-
}
|
|
15667
15822
|
//#endregion
|
|
15668
15823
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
15669
15824
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -15680,6 +15835,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
15680
15835
|
json: data
|
|
15681
15836
|
}).json();
|
|
15682
15837
|
}
|
|
15838
|
+
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
15839
|
+
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
15840
|
+
}
|
|
15683
15841
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
15684
15842
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
15685
15843
|
}
|
|
@@ -15692,6 +15850,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
15692
15850
|
json: data
|
|
15693
15851
|
}).json();
|
|
15694
15852
|
}
|
|
15853
|
+
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
15854
|
+
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
15855
|
+
}
|
|
15856
|
+
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
15857
|
+
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
15858
|
+
signal,
|
|
15859
|
+
json: data
|
|
15860
|
+
}).json();
|
|
15861
|
+
}
|
|
15695
15862
|
//#endregion
|
|
15696
15863
|
//#region ../operations/build/index.public.js
|
|
15697
15864
|
function callGeneratedRequest(request, args) {
|
|
@@ -15827,17 +15994,17 @@ const generatedFocusOperations = [
|
|
|
15827
15994
|
]))
|
|
15828
15995
|
},
|
|
15829
15996
|
{
|
|
15830
|
-
id: "focus.audit-log.
|
|
15997
|
+
id: "focus.audit-log.get-organization",
|
|
15831
15998
|
family: "focus",
|
|
15832
15999
|
resource: "audit-log",
|
|
15833
|
-
action: "
|
|
15834
|
-
title: "
|
|
15835
|
-
description: "
|
|
16000
|
+
action: "get-organization",
|
|
16001
|
+
title: "Get Organization Audit Log",
|
|
16002
|
+
description: "Get Organization Audit Log.",
|
|
15836
16003
|
safety: "read",
|
|
15837
16004
|
destructive: false,
|
|
15838
16005
|
cli: {
|
|
15839
16006
|
group: ["audit-log"],
|
|
15840
|
-
command: "
|
|
16007
|
+
command: "get-organization",
|
|
15841
16008
|
interactive: "hidden"
|
|
15842
16009
|
},
|
|
15843
16010
|
mcp: { entityTool: "audit-log" },
|
|
@@ -15851,14 +16018,14 @@ const generatedFocusOperations = [
|
|
|
15851
16018
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15852
16019
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15853
16020
|
to: /* @__PURE__ */ string$1(),
|
|
15854
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16021
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16022
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15855
16023
|
}),
|
|
15856
16024
|
execute: (input, { client }) => {
|
|
15857
16025
|
const data = input;
|
|
15858
|
-
return client.runGeneratedRequest("
|
|
16026
|
+
return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
|
|
15859
16027
|
client.httpClient,
|
|
15860
16028
|
client.organizationId,
|
|
15861
|
-
client.workspaceIdNumber,
|
|
15862
16029
|
data.from,
|
|
15863
16030
|
data.to,
|
|
15864
16031
|
data,
|
|
@@ -15867,87 +16034,79 @@ const generatedFocusOperations = [
|
|
|
15867
16034
|
}
|
|
15868
16035
|
},
|
|
15869
16036
|
{
|
|
15870
|
-
id: "focus.
|
|
16037
|
+
id: "focus.audit-log.list",
|
|
15871
16038
|
family: "focus",
|
|
15872
|
-
resource: "
|
|
15873
|
-
action: "
|
|
15874
|
-
title: "
|
|
15875
|
-
description: "
|
|
16039
|
+
resource: "audit-log",
|
|
16040
|
+
action: "list",
|
|
16041
|
+
title: "List Audit Log",
|
|
16042
|
+
description: "List Audit Log.",
|
|
15876
16043
|
safety: "read",
|
|
15877
16044
|
destructive: false,
|
|
15878
16045
|
cli: {
|
|
15879
|
-
group: ["
|
|
15880
|
-
command: "
|
|
16046
|
+
group: ["audit-log"],
|
|
16047
|
+
command: "list",
|
|
15881
16048
|
interactive: "hidden"
|
|
15882
16049
|
},
|
|
15883
|
-
mcp: { entityTool: "
|
|
16050
|
+
mcp: { entityTool: "audit-log" },
|
|
15884
16051
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
15885
|
-
|
|
15886
|
-
|
|
15887
|
-
|
|
15888
|
-
|
|
15889
|
-
|
|
15890
|
-
|
|
15891
|
-
|
|
15892
|
-
|
|
15893
|
-
|
|
16052
|
+
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16053
|
+
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16054
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16055
|
+
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16056
|
+
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16057
|
+
from: /* @__PURE__ */ string$1(),
|
|
16058
|
+
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16059
|
+
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16060
|
+
to: /* @__PURE__ */ string$1(),
|
|
16061
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15894
16062
|
}),
|
|
15895
16063
|
execute: (input, { client }) => {
|
|
15896
16064
|
const data = input;
|
|
15897
|
-
return client.runGeneratedRequest("
|
|
16065
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
15898
16066
|
client.httpClient,
|
|
15899
16067
|
client.organizationId,
|
|
15900
16068
|
client.workspaceIdNumber,
|
|
15901
|
-
data.
|
|
16069
|
+
data.from,
|
|
16070
|
+
data.to,
|
|
15902
16071
|
data,
|
|
15903
16072
|
void 0
|
|
15904
16073
|
]));
|
|
15905
16074
|
}
|
|
15906
16075
|
},
|
|
15907
16076
|
{
|
|
15908
|
-
id: "focus.capacities.
|
|
16077
|
+
id: "focus.capacities.get-computations",
|
|
15909
16078
|
family: "focus",
|
|
15910
16079
|
resource: "capacities",
|
|
15911
|
-
action: "
|
|
15912
|
-
title: "
|
|
15913
|
-
description: "
|
|
16080
|
+
action: "get-computations",
|
|
16081
|
+
title: "Get Computations Capacities",
|
|
16082
|
+
description: "Get Computations Capacities.",
|
|
15914
16083
|
safety: "read",
|
|
15915
16084
|
destructive: false,
|
|
15916
16085
|
cli: {
|
|
15917
|
-
group: ["capacities"
|
|
15918
|
-
command: "
|
|
16086
|
+
group: ["capacities"],
|
|
16087
|
+
command: "get-computations",
|
|
15919
16088
|
interactive: "hidden"
|
|
15920
16089
|
},
|
|
15921
16090
|
mcp: { entityTool: "capacities" },
|
|
15922
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
15923
|
-
|
|
15924
|
-
|
|
15925
|
-
|
|
15926
|
-
|
|
15927
|
-
|
|
15928
|
-
|
|
15929
|
-
|
|
15930
|
-
|
|
15931
|
-
|
|
15932
|
-
|
|
15933
|
-
action: "settings-update",
|
|
15934
|
-
title: "Settings Update Capacities",
|
|
15935
|
-
description: "Settings Update Capacities.",
|
|
15936
|
-
safety: "update",
|
|
15937
|
-
destructive: false,
|
|
15938
|
-
cli: {
|
|
15939
|
-
group: ["capacities", "settings"],
|
|
15940
|
-
command: "update",
|
|
15941
|
-
interactive: "default"
|
|
15942
|
-
},
|
|
15943
|
-
mcp: { entityTool: "capacities" },
|
|
15944
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
16091
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16092
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16093
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
16094
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
16095
|
+
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
16096
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
16097
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16098
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
16099
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
16100
|
+
user_id: /* @__PURE__ */ number$2()
|
|
16101
|
+
}),
|
|
15945
16102
|
execute: (input, { client }) => {
|
|
15946
16103
|
const data = input;
|
|
15947
|
-
return client.runGeneratedRequest("
|
|
16104
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
15948
16105
|
client.httpClient,
|
|
16106
|
+
client.organizationId,
|
|
15949
16107
|
client.workspaceIdNumber,
|
|
15950
|
-
data.
|
|
16108
|
+
data.group,
|
|
16109
|
+
data,
|
|
15951
16110
|
void 0
|
|
15952
16111
|
]));
|
|
15953
16112
|
}
|
|
@@ -16146,8 +16305,7 @@ const generatedFocusOperations = [
|
|
|
16146
16305
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
16147
16306
|
start_at: apiDateTimeString,
|
|
16148
16307
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16149
|
-
})))
|
|
16150
|
-
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16308
|
+
})))
|
|
16151
16309
|
}) }),
|
|
16152
16310
|
execute: (input, { client }) => {
|
|
16153
16311
|
const data = input;
|
|
@@ -16202,6 +16360,7 @@ const generatedFocusOperations = [
|
|
|
16202
16360
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16203
16361
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16204
16362
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16363
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16205
16364
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16206
16365
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16207
16366
|
}),
|
|
@@ -16234,6 +16393,7 @@ const generatedFocusOperations = [
|
|
|
16234
16393
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16235
16394
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16236
16395
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16396
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16237
16397
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16238
16398
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16239
16399
|
}))),
|
|
@@ -16289,7 +16449,11 @@ const generatedFocusOperations = [
|
|
|
16289
16449
|
},
|
|
16290
16450
|
mcp: { entityTool: "custom-fields" },
|
|
16291
16451
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16292
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16452
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
16453
|
+
"project",
|
|
16454
|
+
"task",
|
|
16455
|
+
"user"
|
|
16456
|
+
]),
|
|
16293
16457
|
field_type: /* @__PURE__ */ picklist$1([
|
|
16294
16458
|
"select",
|
|
16295
16459
|
"multi_select",
|
|
@@ -16622,7 +16786,11 @@ const generatedFocusOperations = [
|
|
|
16622
16786
|
},
|
|
16623
16787
|
mcp: { entityTool: "custom-fields" },
|
|
16624
16788
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16625
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16789
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
16790
|
+
"project",
|
|
16791
|
+
"task",
|
|
16792
|
+
"user"
|
|
16793
|
+
]),
|
|
16626
16794
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
16627
16795
|
}) }),
|
|
16628
16796
|
execute: (input, { client }) => {
|
|
@@ -16636,6 +16804,37 @@ const generatedFocusOperations = [
|
|
|
16636
16804
|
]));
|
|
16637
16805
|
}
|
|
16638
16806
|
},
|
|
16807
|
+
{
|
|
16808
|
+
id: "focus.custom-fields.update-user-custom-field-values",
|
|
16809
|
+
family: "focus",
|
|
16810
|
+
resource: "custom-fields",
|
|
16811
|
+
action: "update-user-custom-field-values",
|
|
16812
|
+
title: "Update User Custom Field Values Custom Fields",
|
|
16813
|
+
description: "Update User Custom Field Values Custom Fields.",
|
|
16814
|
+
safety: "update",
|
|
16815
|
+
destructive: false,
|
|
16816
|
+
cli: {
|
|
16817
|
+
group: ["custom-fields"],
|
|
16818
|
+
command: "update-user-custom-field-values",
|
|
16819
|
+
interactive: "hidden"
|
|
16820
|
+
},
|
|
16821
|
+
mcp: { entityTool: "custom-fields" },
|
|
16822
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16823
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
16824
|
+
user_id: /* @__PURE__ */ number$2()
|
|
16825
|
+
}),
|
|
16826
|
+
execute: (input, { client }) => {
|
|
16827
|
+
const data = input;
|
|
16828
|
+
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
16829
|
+
client.httpClient,
|
|
16830
|
+
client.organizationId,
|
|
16831
|
+
client.workspaceIdNumber,
|
|
16832
|
+
data.user_id,
|
|
16833
|
+
data.payload ?? data.data ?? data,
|
|
16834
|
+
void 0
|
|
16835
|
+
]));
|
|
16836
|
+
}
|
|
16837
|
+
},
|
|
16639
16838
|
{
|
|
16640
16839
|
id: "focus.goals.create",
|
|
16641
16840
|
family: "focus",
|
|
@@ -16855,10 +17054,22 @@ const generatedFocusOperations = [
|
|
|
16855
17054
|
goal_id: /* @__PURE__ */ number$2(),
|
|
16856
17055
|
payload: /* @__PURE__ */ looseObject({
|
|
16857
17056
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17057
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16858
17058
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16859
17059
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16860
17060
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16861
|
-
|
|
17061
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17062
|
+
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
17063
|
+
"daily",
|
|
17064
|
+
"weekly",
|
|
17065
|
+
"daily_workdays",
|
|
17066
|
+
"monthly"
|
|
17067
|
+
])),
|
|
17068
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17069
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17070
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17071
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17072
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16862
17073
|
})
|
|
16863
17074
|
}),
|
|
16864
17075
|
execute: (input, { client }) => {
|
|
@@ -18191,6 +18402,7 @@ const generatedFocusOperations = [
|
|
|
18191
18402
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18192
18403
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18193
18404
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18405
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18194
18406
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18195
18407
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18196
18408
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -18198,6 +18410,7 @@ const generatedFocusOperations = [
|
|
|
18198
18410
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18199
18411
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18200
18412
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18413
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18201
18414
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18202
18415
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18203
18416
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -20382,7 +20595,10 @@ const generatedFocusOperations = [
|
|
|
20382
20595
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20383
20596
|
name: /* @__PURE__ */ string$1(),
|
|
20384
20597
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20385
|
-
}))
|
|
20598
|
+
})),
|
|
20599
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20600
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20601
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20386
20602
|
}),
|
|
20387
20603
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20388
20604
|
}),
|
|
@@ -20423,6 +20639,28 @@ const generatedFocusOperations = [
|
|
|
20423
20639
|
]));
|
|
20424
20640
|
}
|
|
20425
20641
|
},
|
|
20642
|
+
{
|
|
20643
|
+
id: "focus.reports.get-forecast-availability",
|
|
20644
|
+
family: "focus",
|
|
20645
|
+
resource: "reports",
|
|
20646
|
+
action: "get-forecast-availability",
|
|
20647
|
+
title: "Get Forecast Availability Reports",
|
|
20648
|
+
description: "Get Forecast Availability Reports.",
|
|
20649
|
+
safety: "read",
|
|
20650
|
+
destructive: false,
|
|
20651
|
+
cli: {
|
|
20652
|
+
group: ["reports"],
|
|
20653
|
+
command: "get-forecast-availability",
|
|
20654
|
+
interactive: "hidden"
|
|
20655
|
+
},
|
|
20656
|
+
mcp: { entityTool: "reports" },
|
|
20657
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
20658
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
20659
|
+
client.httpClient,
|
|
20660
|
+
client.workspaceIdNumber,
|
|
20661
|
+
void 0
|
|
20662
|
+
]))
|
|
20663
|
+
},
|
|
20426
20664
|
{
|
|
20427
20665
|
id: "focus.reports.get-profitability",
|
|
20428
20666
|
family: "focus",
|
|
@@ -20482,9 +20720,17 @@ const generatedFocusOperations = [
|
|
|
20482
20720
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20483
20721
|
name: /* @__PURE__ */ string$1(),
|
|
20484
20722
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20485
|
-
}))
|
|
20723
|
+
})),
|
|
20724
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20725
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20726
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20486
20727
|
}),
|
|
20487
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20728
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
20729
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20730
|
+
"csv",
|
|
20731
|
+
"xlsx",
|
|
20732
|
+
"pdf"
|
|
20733
|
+
]))
|
|
20488
20734
|
}),
|
|
20489
20735
|
execute: (input, { client }) => {
|
|
20490
20736
|
const data = input;
|
|
@@ -20494,22 +20740,23 @@ const generatedFocusOperations = [
|
|
|
20494
20740
|
data.payload ?? data.data ?? data,
|
|
20495
20741
|
data.response_format,
|
|
20496
20742
|
data.include_dicts,
|
|
20743
|
+
data.xTogglReportExport,
|
|
20497
20744
|
void 0
|
|
20498
20745
|
]));
|
|
20499
20746
|
}
|
|
20500
20747
|
},
|
|
20501
20748
|
{
|
|
20502
|
-
id: "focus.reports.get-
|
|
20749
|
+
id: "focus.reports.get-time-accounting",
|
|
20503
20750
|
family: "focus",
|
|
20504
20751
|
resource: "reports",
|
|
20505
|
-
action: "get-
|
|
20506
|
-
title: "Get
|
|
20507
|
-
description: "Get
|
|
20752
|
+
action: "get-time-accounting",
|
|
20753
|
+
title: "Get Time Accounting Reports",
|
|
20754
|
+
description: "Get Time Accounting Reports.",
|
|
20508
20755
|
safety: "update",
|
|
20509
20756
|
destructive: false,
|
|
20510
20757
|
cli: {
|
|
20511
20758
|
group: ["reports"],
|
|
20512
|
-
command: "get-
|
|
20759
|
+
command: "get-time-accounting",
|
|
20513
20760
|
interactive: "hidden"
|
|
20514
20761
|
},
|
|
20515
20762
|
mcp: { entityTool: "reports" },
|
|
@@ -20555,14 +20802,205 @@ const generatedFocusOperations = [
|
|
|
20555
20802
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20556
20803
|
name: /* @__PURE__ */ string$1(),
|
|
20557
20804
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20558
|
-
}))
|
|
20805
|
+
})),
|
|
20806
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20807
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20808
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20559
20809
|
}) }),
|
|
20810
|
+
execute: (input, { client }) => {
|
|
20811
|
+
const data = input;
|
|
20812
|
+
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
20813
|
+
client.httpClient,
|
|
20814
|
+
client.workspaceIdNumber,
|
|
20815
|
+
data.payload ?? data.data ?? data,
|
|
20816
|
+
void 0
|
|
20817
|
+
]));
|
|
20818
|
+
}
|
|
20819
|
+
},
|
|
20820
|
+
{
|
|
20821
|
+
id: "focus.reports.get-workload",
|
|
20822
|
+
family: "focus",
|
|
20823
|
+
resource: "reports",
|
|
20824
|
+
action: "get-workload",
|
|
20825
|
+
title: "Get Workload Reports",
|
|
20826
|
+
description: "Get Workload Reports.",
|
|
20827
|
+
safety: "update",
|
|
20828
|
+
destructive: false,
|
|
20829
|
+
cli: {
|
|
20830
|
+
group: ["reports"],
|
|
20831
|
+
command: "get-workload",
|
|
20832
|
+
interactive: "hidden"
|
|
20833
|
+
},
|
|
20834
|
+
mcp: { entityTool: "reports" },
|
|
20835
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
20836
|
+
payload: /* @__PURE__ */ looseObject({
|
|
20837
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20838
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
20839
|
+
function: /* @__PURE__ */ string$1(),
|
|
20840
|
+
property: /* @__PURE__ */ string$1()
|
|
20841
|
+
}),
|
|
20842
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20843
|
+
property: /* @__PURE__ */ string$1()
|
|
20844
|
+
})),
|
|
20845
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20846
|
+
function: /* @__PURE__ */ string$1(),
|
|
20847
|
+
property: /* @__PURE__ */ string$1()
|
|
20848
|
+
})),
|
|
20849
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20850
|
+
currency: /* @__PURE__ */ string$1(),
|
|
20851
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20852
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
20853
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20854
|
+
property: /* @__PURE__ */ string$1()
|
|
20855
|
+
})),
|
|
20856
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20857
|
+
property: /* @__PURE__ */ string$1(),
|
|
20858
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
20859
|
+
})),
|
|
20860
|
+
limit: /* @__PURE__ */ number$2(),
|
|
20861
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20862
|
+
direction: /* @__PURE__ */ string$1(),
|
|
20863
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
20864
|
+
property: /* @__PURE__ */ string$1()
|
|
20865
|
+
})),
|
|
20866
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
20867
|
+
page: /* @__PURE__ */ number$2(),
|
|
20868
|
+
per_page: /* @__PURE__ */ number$2()
|
|
20869
|
+
}),
|
|
20870
|
+
period: /* @__PURE__ */ looseObject({
|
|
20871
|
+
from: /* @__PURE__ */ string$1(),
|
|
20872
|
+
preset: /* @__PURE__ */ string$1(),
|
|
20873
|
+
to: /* @__PURE__ */ string$1()
|
|
20874
|
+
}),
|
|
20875
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20876
|
+
name: /* @__PURE__ */ string$1(),
|
|
20877
|
+
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20878
|
+
})),
|
|
20879
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20880
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20881
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20882
|
+
}),
|
|
20883
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20884
|
+
"csv",
|
|
20885
|
+
"xlsx",
|
|
20886
|
+
"pdf"
|
|
20887
|
+
]))
|
|
20888
|
+
}),
|
|
20560
20889
|
execute: (input, { client }) => {
|
|
20561
20890
|
const data = input;
|
|
20562
20891
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
20563
20892
|
client.httpClient,
|
|
20564
20893
|
client.workspaceIdNumber,
|
|
20565
20894
|
data.payload ?? data.data ?? data,
|
|
20895
|
+
data.xTogglReportExport,
|
|
20896
|
+
void 0
|
|
20897
|
+
]));
|
|
20898
|
+
}
|
|
20899
|
+
},
|
|
20900
|
+
{
|
|
20901
|
+
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
20902
|
+
family: "focus",
|
|
20903
|
+
resource: "reportschedules",
|
|
20904
|
+
action: "delete-shared-report-schedule",
|
|
20905
|
+
title: "Delete Shared Report Schedule Reportschedules",
|
|
20906
|
+
description: "Delete Shared Report Schedule Reportschedules.",
|
|
20907
|
+
safety: "delete",
|
|
20908
|
+
destructive: true,
|
|
20909
|
+
cli: {
|
|
20910
|
+
group: ["reportschedules"],
|
|
20911
|
+
command: "delete-shared-report-schedule",
|
|
20912
|
+
interactive: "default"
|
|
20913
|
+
},
|
|
20914
|
+
mcp: { entityTool: "reportschedules" },
|
|
20915
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
20916
|
+
execute: (input, { client }) => {
|
|
20917
|
+
const data = input;
|
|
20918
|
+
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
20919
|
+
client.httpClient,
|
|
20920
|
+
client.workspaceIdNumber,
|
|
20921
|
+
data.id,
|
|
20922
|
+
void 0
|
|
20923
|
+
]));
|
|
20924
|
+
}
|
|
20925
|
+
},
|
|
20926
|
+
{
|
|
20927
|
+
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
20928
|
+
family: "focus",
|
|
20929
|
+
resource: "reportschedules",
|
|
20930
|
+
action: "upsert-saved-view-schedule",
|
|
20931
|
+
title: "Upsert Saved View Schedule Reportschedules",
|
|
20932
|
+
description: "Upsert Saved View Schedule Reportschedules.",
|
|
20933
|
+
safety: "update",
|
|
20934
|
+
destructive: false,
|
|
20935
|
+
cli: {
|
|
20936
|
+
group: ["reportschedules"],
|
|
20937
|
+
command: "upsert-saved-view-schedule",
|
|
20938
|
+
interactive: "default"
|
|
20939
|
+
},
|
|
20940
|
+
mcp: { entityTool: "reportschedules" },
|
|
20941
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
20942
|
+
id: /* @__PURE__ */ number$2(),
|
|
20943
|
+
payload: /* @__PURE__ */ looseObject({
|
|
20944
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
20945
|
+
"daily",
|
|
20946
|
+
"weekly",
|
|
20947
|
+
"monthly"
|
|
20948
|
+
]),
|
|
20949
|
+
time: /* @__PURE__ */ string$1(),
|
|
20950
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20951
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20952
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20953
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
20954
|
+
})
|
|
20955
|
+
}),
|
|
20956
|
+
execute: (input, { client }) => {
|
|
20957
|
+
const data = input;
|
|
20958
|
+
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
20959
|
+
client.httpClient,
|
|
20960
|
+
client.workspaceIdNumber,
|
|
20961
|
+
data.id,
|
|
20962
|
+
data.payload ?? data.data ?? data,
|
|
20963
|
+
void 0
|
|
20964
|
+
]));
|
|
20965
|
+
}
|
|
20966
|
+
},
|
|
20967
|
+
{
|
|
20968
|
+
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
20969
|
+
family: "focus",
|
|
20970
|
+
resource: "reportschedules",
|
|
20971
|
+
action: "upsert-shared-report-schedule",
|
|
20972
|
+
title: "Upsert Shared Report Schedule Reportschedules",
|
|
20973
|
+
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
20974
|
+
safety: "update",
|
|
20975
|
+
destructive: false,
|
|
20976
|
+
cli: {
|
|
20977
|
+
group: ["reportschedules"],
|
|
20978
|
+
command: "upsert-shared-report-schedule",
|
|
20979
|
+
interactive: "default"
|
|
20980
|
+
},
|
|
20981
|
+
mcp: { entityTool: "reportschedules" },
|
|
20982
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
20983
|
+
id: /* @__PURE__ */ number$2(),
|
|
20984
|
+
payload: /* @__PURE__ */ looseObject({
|
|
20985
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
20986
|
+
"daily",
|
|
20987
|
+
"weekly",
|
|
20988
|
+
"monthly"
|
|
20989
|
+
]),
|
|
20990
|
+
time: /* @__PURE__ */ string$1(),
|
|
20991
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20992
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20993
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20994
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
20995
|
+
})
|
|
20996
|
+
}),
|
|
20997
|
+
execute: (input, { client }) => {
|
|
20998
|
+
const data = input;
|
|
20999
|
+
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
21000
|
+
client.httpClient,
|
|
21001
|
+
client.workspaceIdNumber,
|
|
21002
|
+
data.id,
|
|
21003
|
+
data.payload ?? data.data ?? data,
|
|
20566
21004
|
void 0
|
|
20567
21005
|
]));
|
|
20568
21006
|
}
|
|
@@ -20600,7 +21038,9 @@ const generatedFocusOperations = [
|
|
|
20600
21038
|
"reports.detailed",
|
|
20601
21039
|
"reports.utilization",
|
|
20602
21040
|
"reports.workload",
|
|
20603
|
-
"reports.profitability"
|
|
21041
|
+
"reports.profitability",
|
|
21042
|
+
"reports.time-off",
|
|
21043
|
+
"reports.time-accounting"
|
|
20604
21044
|
]),
|
|
20605
21045
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20606
21046
|
}) }),
|
|
@@ -20724,11 +21164,41 @@ const generatedFocusOperations = [
|
|
|
20724
21164
|
}
|
|
20725
21165
|
},
|
|
20726
21166
|
{
|
|
20727
|
-
id: "focus.search.
|
|
21167
|
+
id: "focus.search.mentions",
|
|
20728
21168
|
family: "focus",
|
|
20729
21169
|
resource: "search",
|
|
20730
|
-
action: "
|
|
20731
|
-
title: "
|
|
21170
|
+
action: "mentions",
|
|
21171
|
+
title: "Mentions Search",
|
|
21172
|
+
description: "Mentions Search.",
|
|
21173
|
+
safety: "read",
|
|
21174
|
+
destructive: false,
|
|
21175
|
+
cli: {
|
|
21176
|
+
group: ["search"],
|
|
21177
|
+
command: "mentions",
|
|
21178
|
+
interactive: "hidden"
|
|
21179
|
+
},
|
|
21180
|
+
mcp: { entityTool: "search" },
|
|
21181
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21182
|
+
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21183
|
+
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21184
|
+
}),
|
|
21185
|
+
execute: (input, { client }) => {
|
|
21186
|
+
const data = input;
|
|
21187
|
+
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
21188
|
+
client.httpClient,
|
|
21189
|
+
client.organizationId,
|
|
21190
|
+
client.workspaceIdNumber,
|
|
21191
|
+
data,
|
|
21192
|
+
void 0
|
|
21193
|
+
]));
|
|
21194
|
+
}
|
|
21195
|
+
},
|
|
21196
|
+
{
|
|
21197
|
+
id: "focus.search.search",
|
|
21198
|
+
family: "focus",
|
|
21199
|
+
resource: "search",
|
|
21200
|
+
action: "search",
|
|
21201
|
+
title: "Search Search",
|
|
20732
21202
|
description: "Search Search.",
|
|
20733
21203
|
safety: "read",
|
|
20734
21204
|
destructive: false,
|
|
@@ -20750,6 +21220,240 @@ const generatedFocusOperations = [
|
|
|
20750
21220
|
]));
|
|
20751
21221
|
}
|
|
20752
21222
|
},
|
|
21223
|
+
{
|
|
21224
|
+
id: "focus.sharedreports.add-shared-report-grants",
|
|
21225
|
+
family: "focus",
|
|
21226
|
+
resource: "sharedreports",
|
|
21227
|
+
action: "add-shared-report-grants",
|
|
21228
|
+
title: "Add Shared Report Grants Sharedreports",
|
|
21229
|
+
description: "Add Shared Report Grants Sharedreports.",
|
|
21230
|
+
safety: "update",
|
|
21231
|
+
destructive: false,
|
|
21232
|
+
cli: {
|
|
21233
|
+
group: ["sharedreports"],
|
|
21234
|
+
command: "add-shared-report-grants",
|
|
21235
|
+
interactive: "default"
|
|
21236
|
+
},
|
|
21237
|
+
mcp: { entityTool: "sharedreports" },
|
|
21238
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21239
|
+
id: /* @__PURE__ */ number$2(),
|
|
21240
|
+
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21241
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21242
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21243
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21244
|
+
})) })
|
|
21245
|
+
}),
|
|
21246
|
+
execute: (input, { client }) => {
|
|
21247
|
+
const data = input;
|
|
21248
|
+
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
21249
|
+
client.httpClient,
|
|
21250
|
+
client.workspaceIdNumber,
|
|
21251
|
+
data.id,
|
|
21252
|
+
data.payload ?? data.data ?? data,
|
|
21253
|
+
void 0
|
|
21254
|
+
]));
|
|
21255
|
+
}
|
|
21256
|
+
},
|
|
21257
|
+
{
|
|
21258
|
+
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
21259
|
+
family: "focus",
|
|
21260
|
+
resource: "sharedreports",
|
|
21261
|
+
action: "get-saved-view-shared-report",
|
|
21262
|
+
title: "Get Saved View Shared Report Sharedreports",
|
|
21263
|
+
description: "Get Saved View Shared Report Sharedreports.",
|
|
21264
|
+
safety: "read",
|
|
21265
|
+
destructive: false,
|
|
21266
|
+
cli: {
|
|
21267
|
+
group: ["sharedreports"],
|
|
21268
|
+
command: "get-saved-view-shared-report",
|
|
21269
|
+
interactive: "available"
|
|
21270
|
+
},
|
|
21271
|
+
mcp: { entityTool: "sharedreports" },
|
|
21272
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21273
|
+
execute: (input, { client }) => {
|
|
21274
|
+
const data = input;
|
|
21275
|
+
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
21276
|
+
client.httpClient,
|
|
21277
|
+
client.workspaceIdNumber,
|
|
21278
|
+
data.id,
|
|
21279
|
+
void 0
|
|
21280
|
+
]));
|
|
21281
|
+
}
|
|
21282
|
+
},
|
|
21283
|
+
{
|
|
21284
|
+
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21285
|
+
family: "focus",
|
|
21286
|
+
resource: "sharedreports",
|
|
21287
|
+
action: "get-shared-report-for-viewer",
|
|
21288
|
+
title: "Get Shared Report For Viewer Sharedreports",
|
|
21289
|
+
description: "Get Shared Report For Viewer Sharedreports.",
|
|
21290
|
+
safety: "read",
|
|
21291
|
+
destructive: false,
|
|
21292
|
+
cli: {
|
|
21293
|
+
group: ["sharedreports"],
|
|
21294
|
+
command: "get-shared-report-for-viewer",
|
|
21295
|
+
interactive: "available"
|
|
21296
|
+
},
|
|
21297
|
+
mcp: { entityTool: "sharedreports" },
|
|
21298
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21299
|
+
execute: (input, { client }) => {
|
|
21300
|
+
const data = input;
|
|
21301
|
+
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
21302
|
+
client.httpClient,
|
|
21303
|
+
client.workspaceIdNumber,
|
|
21304
|
+
data.id,
|
|
21305
|
+
void 0
|
|
21306
|
+
]));
|
|
21307
|
+
}
|
|
21308
|
+
},
|
|
21309
|
+
{
|
|
21310
|
+
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
21311
|
+
family: "focus",
|
|
21312
|
+
resource: "sharedreports",
|
|
21313
|
+
action: "get-shared-reports-shared-by-me",
|
|
21314
|
+
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
21315
|
+
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
21316
|
+
safety: "read",
|
|
21317
|
+
destructive: false,
|
|
21318
|
+
cli: {
|
|
21319
|
+
group: ["sharedreports"],
|
|
21320
|
+
command: "get-shared-reports-shared-by-me",
|
|
21321
|
+
interactive: "hidden"
|
|
21322
|
+
},
|
|
21323
|
+
mcp: { entityTool: "sharedreports" },
|
|
21324
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21325
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
21326
|
+
client.httpClient,
|
|
21327
|
+
client.workspaceIdNumber,
|
|
21328
|
+
void 0
|
|
21329
|
+
]))
|
|
21330
|
+
},
|
|
21331
|
+
{
|
|
21332
|
+
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
21333
|
+
family: "focus",
|
|
21334
|
+
resource: "sharedreports",
|
|
21335
|
+
action: "get-shared-reports-shared-with-me",
|
|
21336
|
+
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
21337
|
+
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
21338
|
+
safety: "read",
|
|
21339
|
+
destructive: false,
|
|
21340
|
+
cli: {
|
|
21341
|
+
group: ["sharedreports"],
|
|
21342
|
+
command: "get-shared-reports-shared-with-me",
|
|
21343
|
+
interactive: "hidden"
|
|
21344
|
+
},
|
|
21345
|
+
mcp: { entityTool: "sharedreports" },
|
|
21346
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21347
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
21348
|
+
client.httpClient,
|
|
21349
|
+
client.workspaceIdNumber,
|
|
21350
|
+
void 0
|
|
21351
|
+
]))
|
|
21352
|
+
},
|
|
21353
|
+
{
|
|
21354
|
+
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21355
|
+
family: "focus",
|
|
21356
|
+
resource: "sharedreports",
|
|
21357
|
+
action: "revoke-shared-report-grant",
|
|
21358
|
+
title: "Revoke Shared Report Grant Sharedreports",
|
|
21359
|
+
description: "Revoke Shared Report Grant Sharedreports.",
|
|
21360
|
+
safety: "delete",
|
|
21361
|
+
destructive: true,
|
|
21362
|
+
cli: {
|
|
21363
|
+
group: ["sharedreports"],
|
|
21364
|
+
command: "revoke-shared-report-grant",
|
|
21365
|
+
interactive: "default"
|
|
21366
|
+
},
|
|
21367
|
+
mcp: { entityTool: "sharedreports" },
|
|
21368
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21369
|
+
grant_id: /* @__PURE__ */ number$2(),
|
|
21370
|
+
id: /* @__PURE__ */ number$2()
|
|
21371
|
+
}),
|
|
21372
|
+
execute: (input, { client }) => {
|
|
21373
|
+
const data = input;
|
|
21374
|
+
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
21375
|
+
client.httpClient,
|
|
21376
|
+
client.workspaceIdNumber,
|
|
21377
|
+
data.id,
|
|
21378
|
+
data.grant_id,
|
|
21379
|
+
void 0
|
|
21380
|
+
]));
|
|
21381
|
+
}
|
|
21382
|
+
},
|
|
21383
|
+
{
|
|
21384
|
+
id: "focus.sharedreports.share-saved-view",
|
|
21385
|
+
family: "focus",
|
|
21386
|
+
resource: "sharedreports",
|
|
21387
|
+
action: "share-saved-view",
|
|
21388
|
+
title: "Share Saved View Sharedreports",
|
|
21389
|
+
description: "Share Saved View Sharedreports.",
|
|
21390
|
+
safety: "update",
|
|
21391
|
+
destructive: false,
|
|
21392
|
+
cli: {
|
|
21393
|
+
group: ["sharedreports"],
|
|
21394
|
+
command: "share-saved-view",
|
|
21395
|
+
interactive: "hidden"
|
|
21396
|
+
},
|
|
21397
|
+
mcp: { entityTool: "sharedreports" },
|
|
21398
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21399
|
+
id: /* @__PURE__ */ number$2(),
|
|
21400
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21401
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21402
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21403
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21404
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21405
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21406
|
+
})
|
|
21407
|
+
}),
|
|
21408
|
+
execute: (input, { client }) => {
|
|
21409
|
+
const data = input;
|
|
21410
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21411
|
+
client.httpClient,
|
|
21412
|
+
client.workspaceIdNumber,
|
|
21413
|
+
data.id,
|
|
21414
|
+
data.payload ?? data.data ?? data,
|
|
21415
|
+
void 0
|
|
21416
|
+
]));
|
|
21417
|
+
}
|
|
21418
|
+
},
|
|
21419
|
+
{
|
|
21420
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
21421
|
+
family: "focus",
|
|
21422
|
+
resource: "sharedreports",
|
|
21423
|
+
action: "share-saved-view-many",
|
|
21424
|
+
title: "Share Saved View Many Sharedreports",
|
|
21425
|
+
description: "Share Saved View Many Sharedreports.",
|
|
21426
|
+
safety: "update",
|
|
21427
|
+
destructive: false,
|
|
21428
|
+
cli: {
|
|
21429
|
+
group: ["sharedreports"],
|
|
21430
|
+
command: "share-saved-view-many",
|
|
21431
|
+
interactive: "hidden"
|
|
21432
|
+
},
|
|
21433
|
+
mcp: { entityTool: "sharedreports" },
|
|
21434
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21435
|
+
id: /* @__PURE__ */ number$2(),
|
|
21436
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21437
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21438
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21439
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21440
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21441
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21442
|
+
})),
|
|
21443
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21444
|
+
})
|
|
21445
|
+
}),
|
|
21446
|
+
execute: (input, { client }) => {
|
|
21447
|
+
const data = input;
|
|
21448
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21449
|
+
client.httpClient,
|
|
21450
|
+
client.workspaceIdNumber,
|
|
21451
|
+
data.id,
|
|
21452
|
+
data.payload ?? data.data ?? data,
|
|
21453
|
+
void 0
|
|
21454
|
+
]));
|
|
21455
|
+
}
|
|
21456
|
+
},
|
|
20753
21457
|
{
|
|
20754
21458
|
id: "focus.statuses.create-status",
|
|
20755
21459
|
family: "focus",
|
|
@@ -21015,13 +21719,172 @@ const generatedFocusOperations = [
|
|
|
21015
21719
|
command: "upsert-forced-trial",
|
|
21016
21720
|
interactive: "default"
|
|
21017
21721
|
},
|
|
21018
|
-
mcp: { entityTool: "subscriptions" },
|
|
21019
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21722
|
+
mcp: { entityTool: "subscriptions" },
|
|
21723
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21724
|
+
execute: (input, { client }) => {
|
|
21725
|
+
const data = input;
|
|
21726
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
21727
|
+
client.httpClient,
|
|
21728
|
+
client.organizationId,
|
|
21729
|
+
client.workspaceIdNumber,
|
|
21730
|
+
data.payload ?? data.data ?? data,
|
|
21731
|
+
void 0
|
|
21732
|
+
]));
|
|
21733
|
+
}
|
|
21734
|
+
},
|
|
21735
|
+
{
|
|
21736
|
+
id: "focus.tags.archive",
|
|
21737
|
+
family: "focus",
|
|
21738
|
+
resource: "tags",
|
|
21739
|
+
action: "archive",
|
|
21740
|
+
title: "Archive Tags",
|
|
21741
|
+
description: "Archive Tags.",
|
|
21742
|
+
safety: "update",
|
|
21743
|
+
destructive: false,
|
|
21744
|
+
cli: {
|
|
21745
|
+
group: ["tags"],
|
|
21746
|
+
command: "archive",
|
|
21747
|
+
interactive: "default"
|
|
21748
|
+
},
|
|
21749
|
+
mcp: { entityTool: "tags" },
|
|
21750
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
21751
|
+
execute: (input, { client }) => {
|
|
21752
|
+
const data = input;
|
|
21753
|
+
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
21754
|
+
client.httpClient,
|
|
21755
|
+
client.workspaceIdNumber,
|
|
21756
|
+
data.tag_id,
|
|
21757
|
+
void 0
|
|
21758
|
+
]));
|
|
21759
|
+
}
|
|
21760
|
+
},
|
|
21761
|
+
{
|
|
21762
|
+
id: "focus.tags.bulk-archive",
|
|
21763
|
+
family: "focus",
|
|
21764
|
+
resource: "tags",
|
|
21765
|
+
action: "bulk-archive",
|
|
21766
|
+
title: "Bulk Archive Tags",
|
|
21767
|
+
description: "Bulk Archive Tags.",
|
|
21768
|
+
safety: "update",
|
|
21769
|
+
destructive: false,
|
|
21770
|
+
cli: {
|
|
21771
|
+
group: ["tags", "bulk"],
|
|
21772
|
+
command: "archive",
|
|
21773
|
+
interactive: "default"
|
|
21774
|
+
},
|
|
21775
|
+
mcp: { entityTool: "tags" },
|
|
21776
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21777
|
+
execute: (input, { client }) => {
|
|
21778
|
+
const data = input;
|
|
21779
|
+
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
21780
|
+
client.httpClient,
|
|
21781
|
+
client.workspaceIdNumber,
|
|
21782
|
+
data.payload ?? data.data ?? data,
|
|
21783
|
+
void 0
|
|
21784
|
+
]));
|
|
21785
|
+
}
|
|
21786
|
+
},
|
|
21787
|
+
{
|
|
21788
|
+
id: "focus.tags.bulk-create",
|
|
21789
|
+
family: "focus",
|
|
21790
|
+
resource: "tags",
|
|
21791
|
+
action: "bulk-create",
|
|
21792
|
+
title: "Bulk Create Tags",
|
|
21793
|
+
description: "Bulk Create Tags.",
|
|
21794
|
+
safety: "create",
|
|
21795
|
+
destructive: false,
|
|
21796
|
+
cli: {
|
|
21797
|
+
group: ["tags", "bulk"],
|
|
21798
|
+
command: "create",
|
|
21799
|
+
interactive: "default"
|
|
21800
|
+
},
|
|
21801
|
+
mcp: { entityTool: "tags" },
|
|
21802
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21803
|
+
color: /* @__PURE__ */ string$1(),
|
|
21804
|
+
name: /* @__PURE__ */ string$1()
|
|
21805
|
+
})) }) }),
|
|
21806
|
+
execute: (input, { client }) => {
|
|
21807
|
+
const data = input;
|
|
21808
|
+
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
21809
|
+
client.httpClient,
|
|
21810
|
+
client.workspaceIdNumber,
|
|
21811
|
+
data.payload ?? data.data ?? data,
|
|
21812
|
+
void 0
|
|
21813
|
+
]));
|
|
21814
|
+
}
|
|
21815
|
+
},
|
|
21816
|
+
{
|
|
21817
|
+
id: "focus.tags.bulk-delete",
|
|
21818
|
+
family: "focus",
|
|
21819
|
+
resource: "tags",
|
|
21820
|
+
action: "bulk-delete",
|
|
21821
|
+
title: "Bulk Delete Tags",
|
|
21822
|
+
description: "Bulk Delete Tags.",
|
|
21823
|
+
safety: "delete",
|
|
21824
|
+
destructive: true,
|
|
21825
|
+
cli: {
|
|
21826
|
+
group: ["tags", "bulk"],
|
|
21827
|
+
command: "delete",
|
|
21828
|
+
interactive: "default"
|
|
21829
|
+
},
|
|
21830
|
+
mcp: { entityTool: "tags" },
|
|
21831
|
+
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
21832
|
+
execute: (input, { client }) => {
|
|
21833
|
+
const data = input;
|
|
21834
|
+
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
21835
|
+
client.httpClient,
|
|
21836
|
+
client.workspaceIdNumber,
|
|
21837
|
+
data.ids,
|
|
21838
|
+
void 0
|
|
21839
|
+
]));
|
|
21840
|
+
}
|
|
21841
|
+
},
|
|
21842
|
+
{
|
|
21843
|
+
id: "focus.tags.bulk-restore",
|
|
21844
|
+
family: "focus",
|
|
21845
|
+
resource: "tags",
|
|
21846
|
+
action: "bulk-restore",
|
|
21847
|
+
title: "Bulk Restore Tags",
|
|
21848
|
+
description: "Bulk Restore Tags.",
|
|
21849
|
+
safety: "update",
|
|
21850
|
+
destructive: false,
|
|
21851
|
+
cli: {
|
|
21852
|
+
group: ["tags", "bulk"],
|
|
21853
|
+
command: "restore",
|
|
21854
|
+
interactive: "default"
|
|
21855
|
+
},
|
|
21856
|
+
mcp: { entityTool: "tags" },
|
|
21857
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21858
|
+
execute: (input, { client }) => {
|
|
21859
|
+
const data = input;
|
|
21860
|
+
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
21861
|
+
client.httpClient,
|
|
21862
|
+
client.workspaceIdNumber,
|
|
21863
|
+
data.payload ?? data.data ?? data,
|
|
21864
|
+
void 0
|
|
21865
|
+
]));
|
|
21866
|
+
}
|
|
21867
|
+
},
|
|
21868
|
+
{
|
|
21869
|
+
id: "focus.tags.bulk-unarchive",
|
|
21870
|
+
family: "focus",
|
|
21871
|
+
resource: "tags",
|
|
21872
|
+
action: "bulk-unarchive",
|
|
21873
|
+
title: "Bulk Unarchive Tags",
|
|
21874
|
+
description: "Bulk Unarchive Tags.",
|
|
21875
|
+
safety: "update",
|
|
21876
|
+
destructive: false,
|
|
21877
|
+
cli: {
|
|
21878
|
+
group: ["tags", "bulk"],
|
|
21879
|
+
command: "unarchive",
|
|
21880
|
+
interactive: "default"
|
|
21881
|
+
},
|
|
21882
|
+
mcp: { entityTool: "tags" },
|
|
21883
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21020
21884
|
execute: (input, { client }) => {
|
|
21021
21885
|
const data = input;
|
|
21022
|
-
return client.runGeneratedRequest("
|
|
21886
|
+
return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
|
|
21023
21887
|
client.httpClient,
|
|
21024
|
-
client.organizationId,
|
|
21025
21888
|
client.workspaceIdNumber,
|
|
21026
21889
|
data.payload ?? data.data ?? data,
|
|
21027
21890
|
void 0
|
|
@@ -21112,6 +21975,35 @@ const generatedFocusOperations = [
|
|
|
21112
21975
|
return client.listTags(data);
|
|
21113
21976
|
}
|
|
21114
21977
|
},
|
|
21978
|
+
{
|
|
21979
|
+
id: "focus.tags.merge",
|
|
21980
|
+
family: "focus",
|
|
21981
|
+
resource: "tags",
|
|
21982
|
+
action: "merge",
|
|
21983
|
+
title: "Merge Tags",
|
|
21984
|
+
description: "Merge Tags.",
|
|
21985
|
+
safety: "update",
|
|
21986
|
+
destructive: false,
|
|
21987
|
+
cli: {
|
|
21988
|
+
group: ["tags"],
|
|
21989
|
+
command: "merge",
|
|
21990
|
+
interactive: "default"
|
|
21991
|
+
},
|
|
21992
|
+
mcp: { entityTool: "tags" },
|
|
21993
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
21994
|
+
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
21995
|
+
target_id: /* @__PURE__ */ number$2()
|
|
21996
|
+
}) }),
|
|
21997
|
+
execute: (input, { client }) => {
|
|
21998
|
+
const data = input;
|
|
21999
|
+
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
22000
|
+
client.httpClient,
|
|
22001
|
+
client.workspaceIdNumber,
|
|
22002
|
+
data.payload ?? data.data ?? data,
|
|
22003
|
+
void 0
|
|
22004
|
+
]));
|
|
22005
|
+
}
|
|
22006
|
+
},
|
|
21115
22007
|
{
|
|
21116
22008
|
id: "focus.tags.restore",
|
|
21117
22009
|
family: "focus",
|
|
@@ -21138,6 +22030,32 @@ const generatedFocusOperations = [
|
|
|
21138
22030
|
]));
|
|
21139
22031
|
}
|
|
21140
22032
|
},
|
|
22033
|
+
{
|
|
22034
|
+
id: "focus.tags.unarchive",
|
|
22035
|
+
family: "focus",
|
|
22036
|
+
resource: "tags",
|
|
22037
|
+
action: "unarchive",
|
|
22038
|
+
title: "Unarchive Tags",
|
|
22039
|
+
description: "Unarchive Tags.",
|
|
22040
|
+
safety: "update",
|
|
22041
|
+
destructive: false,
|
|
22042
|
+
cli: {
|
|
22043
|
+
group: ["tags"],
|
|
22044
|
+
command: "unarchive",
|
|
22045
|
+
interactive: "default"
|
|
22046
|
+
},
|
|
22047
|
+
mcp: { entityTool: "tags" },
|
|
22048
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
22049
|
+
execute: (input, { client }) => {
|
|
22050
|
+
const data = input;
|
|
22051
|
+
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
22052
|
+
client.httpClient,
|
|
22053
|
+
client.workspaceIdNumber,
|
|
22054
|
+
data.tag_id,
|
|
22055
|
+
void 0
|
|
22056
|
+
]));
|
|
22057
|
+
}
|
|
22058
|
+
},
|
|
21141
22059
|
{
|
|
21142
22060
|
id: "focus.tags.update",
|
|
21143
22061
|
family: "focus",
|
|
@@ -21819,12 +22737,12 @@ const generatedFocusOperations = [
|
|
|
21819
22737
|
mcp: { entityTool: "tasks" },
|
|
21820
22738
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21821
22739
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22740
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21822
22741
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21823
22742
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21824
22743
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21825
22744
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21826
22745
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21827
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21828
22746
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21829
22747
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21830
22748
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21861,7 +22779,6 @@ const generatedFocusOperations = [
|
|
|
21861
22779
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21862
22780
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21863
22781
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21864
|
-
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21865
22782
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21866
22783
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21867
22784
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21878,7 +22795,6 @@ const generatedFocusOperations = [
|
|
|
21878
22795
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21879
22796
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21880
22797
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21881
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21882
22798
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21883
22799
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21884
22800
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21934,7 +22850,6 @@ const generatedFocusOperations = [
|
|
|
21934
22850
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21935
22851
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21936
22852
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21937
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21938
22853
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21939
22854
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21940
22855
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21975,7 +22890,6 @@ const generatedFocusOperations = [
|
|
|
21975
22890
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21976
22891
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21977
22892
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21978
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21979
22893
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21980
22894
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21981
22895
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22016,6 +22930,7 @@ const generatedFocusOperations = [
|
|
|
22016
22930
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22017
22931
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22018
22932
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22933
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22019
22934
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22020
22935
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22021
22936
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22029,7 +22944,8 @@ const generatedFocusOperations = [
|
|
|
22029
22944
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22030
22945
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22031
22946
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22032
|
-
|
|
22947
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22948
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22033
22949
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22034
22950
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22035
22951
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22045,6 +22961,7 @@ const generatedFocusOperations = [
|
|
|
22045
22961
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22046
22962
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22047
22963
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22964
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22048
22965
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22049
22966
|
}),
|
|
22050
22967
|
execute: (input, { client }) => {
|
|
@@ -22059,6 +22976,118 @@ const generatedFocusOperations = [
|
|
|
22059
22976
|
]));
|
|
22060
22977
|
}
|
|
22061
22978
|
},
|
|
22979
|
+
{
|
|
22980
|
+
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
22981
|
+
family: "focus",
|
|
22982
|
+
resource: "tasks",
|
|
22983
|
+
action: "groups-get-user-task-groups-by-project",
|
|
22984
|
+
title: "Groups Get User Task Groups By Project Tasks",
|
|
22985
|
+
description: "Groups Get User Task Groups By Project Tasks.",
|
|
22986
|
+
safety: "read",
|
|
22987
|
+
destructive: false,
|
|
22988
|
+
cli: {
|
|
22989
|
+
group: ["tasks", "groups"],
|
|
22990
|
+
command: "get-user-task-groups-by-project",
|
|
22991
|
+
interactive: "hidden"
|
|
22992
|
+
},
|
|
22993
|
+
mcp: { entityTool: "tasks" },
|
|
22994
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22995
|
+
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
22996
|
+
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
22997
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
22998
|
+
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
22999
|
+
creator_id: /* @__PURE__ */ number$2(),
|
|
23000
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23001
|
+
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
23002
|
+
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
23003
|
+
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
23004
|
+
group_id: /* @__PURE__ */ number$2(),
|
|
23005
|
+
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23006
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23007
|
+
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23008
|
+
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23009
|
+
min_days: /* @__PURE__ */ unknown$1(),
|
|
23010
|
+
name: /* @__PURE__ */ unknown$1(),
|
|
23011
|
+
priority: /* @__PURE__ */ unknown$1(),
|
|
23012
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
23013
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
23014
|
+
source: /* @__PURE__ */ unknown$1(),
|
|
23015
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23016
|
+
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
23017
|
+
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
23018
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23019
|
+
tag_id: /* @__PURE__ */ number$2(),
|
|
23020
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
23021
|
+
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23022
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23023
|
+
}),
|
|
23024
|
+
execute: (input, { client }) => {
|
|
23025
|
+
const data = input;
|
|
23026
|
+
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
23027
|
+
client.httpClient,
|
|
23028
|
+
client.organizationId,
|
|
23029
|
+
client.workspaceIdNumber,
|
|
23030
|
+
data,
|
|
23031
|
+
void 0
|
|
23032
|
+
]));
|
|
23033
|
+
}
|
|
23034
|
+
},
|
|
23035
|
+
{
|
|
23036
|
+
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
23037
|
+
family: "focus",
|
|
23038
|
+
resource: "tasks",
|
|
23039
|
+
action: "groups-get-user-task-groups-by-team",
|
|
23040
|
+
title: "Groups Get User Task Groups By Team Tasks",
|
|
23041
|
+
description: "Groups Get User Task Groups By Team Tasks.",
|
|
23042
|
+
safety: "read",
|
|
23043
|
+
destructive: false,
|
|
23044
|
+
cli: {
|
|
23045
|
+
group: ["tasks", "groups"],
|
|
23046
|
+
command: "get-user-task-groups-by-team",
|
|
23047
|
+
interactive: "hidden"
|
|
23048
|
+
},
|
|
23049
|
+
mcp: { entityTool: "tasks" },
|
|
23050
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23051
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23052
|
+
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23053
|
+
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23054
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23055
|
+
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23056
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23057
|
+
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23058
|
+
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23059
|
+
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23060
|
+
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23061
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23062
|
+
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23063
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23064
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23065
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23066
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23067
|
+
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23068
|
+
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23069
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23070
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23071
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23072
|
+
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23073
|
+
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23074
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23075
|
+
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23076
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23077
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23078
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23079
|
+
}),
|
|
23080
|
+
execute: (input, { client }) => {
|
|
23081
|
+
const data = input;
|
|
23082
|
+
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
23083
|
+
client.httpClient,
|
|
23084
|
+
client.organizationId,
|
|
23085
|
+
client.workspaceIdNumber,
|
|
23086
|
+
data,
|
|
23087
|
+
void 0
|
|
23088
|
+
]));
|
|
23089
|
+
}
|
|
23090
|
+
},
|
|
22062
23091
|
{
|
|
22063
23092
|
id: "focus.tasks.groups-update",
|
|
22064
23093
|
family: "focus",
|
|
@@ -22264,7 +23293,6 @@ const generatedFocusOperations = [
|
|
|
22264
23293
|
name: /* @__PURE__ */ string$1(),
|
|
22265
23294
|
status_id: /* @__PURE__ */ number$2(),
|
|
22266
23295
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22267
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22268
23296
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
22269
23297
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22270
23298
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -22284,6 +23312,7 @@ const generatedFocusOperations = [
|
|
|
22284
23312
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22285
23313
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22286
23314
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23315
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22287
23316
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
22288
23317
|
}),
|
|
22289
23318
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -23292,6 +24321,40 @@ const generatedFocusOperations = [
|
|
|
23292
24321
|
]));
|
|
23293
24322
|
}
|
|
23294
24323
|
},
|
|
24324
|
+
{
|
|
24325
|
+
id: "focus.time-entries.groups-get-users",
|
|
24326
|
+
family: "focus",
|
|
24327
|
+
resource: "time-entries",
|
|
24328
|
+
action: "groups-get-users",
|
|
24329
|
+
title: "Groups Get Users Time Entries",
|
|
24330
|
+
description: "Groups Get Users Time Entries.",
|
|
24331
|
+
safety: "read",
|
|
24332
|
+
destructive: false,
|
|
24333
|
+
cli: {
|
|
24334
|
+
group: ["time-entries", "groups"],
|
|
24335
|
+
command: "get-users",
|
|
24336
|
+
interactive: "hidden"
|
|
24337
|
+
},
|
|
24338
|
+
mcp: { entityTool: "time-entries" },
|
|
24339
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24340
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24341
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
24342
|
+
page: /* @__PURE__ */ number$2(),
|
|
24343
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
24344
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24345
|
+
user_id: /* @__PURE__ */ number$2()
|
|
24346
|
+
}),
|
|
24347
|
+
execute: (input, { client }) => {
|
|
24348
|
+
const data = input;
|
|
24349
|
+
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
24350
|
+
client.httpClient,
|
|
24351
|
+
client.organizationId,
|
|
24352
|
+
client.workspaceIdNumber,
|
|
24353
|
+
data,
|
|
24354
|
+
void 0
|
|
24355
|
+
]));
|
|
24356
|
+
}
|
|
24357
|
+
},
|
|
23295
24358
|
{
|
|
23296
24359
|
id: "focus.time-entries.list",
|
|
23297
24360
|
family: "focus",
|
|
@@ -23476,6 +24539,42 @@ const generatedFocusOperations = [
|
|
|
23476
24539
|
inputSchema: emptySchema$1,
|
|
23477
24540
|
execute: (_input, { client }) => client.stopTracking()
|
|
23478
24541
|
},
|
|
24542
|
+
{
|
|
24543
|
+
id: "focus.time-entries.sync",
|
|
24544
|
+
family: "focus",
|
|
24545
|
+
resource: "time-entries",
|
|
24546
|
+
action: "sync",
|
|
24547
|
+
title: "Sync Time Entries",
|
|
24548
|
+
description: "Sync Time Entries.",
|
|
24549
|
+
safety: "update",
|
|
24550
|
+
destructive: false,
|
|
24551
|
+
cli: {
|
|
24552
|
+
group: ["time-entries"],
|
|
24553
|
+
command: "sync",
|
|
24554
|
+
interactive: "default"
|
|
24555
|
+
},
|
|
24556
|
+
mcp: { entityTool: "time-entries" },
|
|
24557
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24558
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
24559
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24560
|
+
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
24561
|
+
client_updated_at: apiDateTimeString,
|
|
24562
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24563
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24564
|
+
})
|
|
24565
|
+
}),
|
|
24566
|
+
execute: (input, { client }) => {
|
|
24567
|
+
const data = input;
|
|
24568
|
+
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
24569
|
+
client.httpClient,
|
|
24570
|
+
client.organizationId,
|
|
24571
|
+
client.workspaceIdNumber,
|
|
24572
|
+
data.client_uuid,
|
|
24573
|
+
data.payload ?? data.data ?? data,
|
|
24574
|
+
void 0
|
|
24575
|
+
]));
|
|
24576
|
+
}
|
|
24577
|
+
},
|
|
23479
24578
|
{
|
|
23480
24579
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
23481
24580
|
family: "focus",
|
|
@@ -23524,6 +24623,7 @@ const generatedFocusOperations = [
|
|
|
23524
24623
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23525
24624
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23526
24625
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24626
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23527
24627
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23528
24628
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23529
24629
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -23582,125 +24682,37 @@ const generatedFocusOperations = [
|
|
|
23582
24682
|
resource: "time-entries",
|
|
23583
24683
|
action: "update",
|
|
23584
24684
|
title: "Update Time Entries",
|
|
23585
|
-
description: "Update Time Entries.",
|
|
23586
|
-
safety: "update",
|
|
23587
|
-
destructive: false,
|
|
23588
|
-
cli: {
|
|
23589
|
-
group: ["time-entries"],
|
|
23590
|
-
command: "update",
|
|
23591
|
-
interactive: "default"
|
|
23592
|
-
},
|
|
23593
|
-
mcp: { entityTool: "time-entries" },
|
|
23594
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23595
|
-
payload: /* @__PURE__ */ looseObject({
|
|
23596
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
23597
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23598
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23599
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23600
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23601
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23602
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23603
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23604
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23605
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
23606
|
-
}),
|
|
23607
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
23608
|
-
}),
|
|
23609
|
-
execute: (input, { client }) => {
|
|
23610
|
-
const data = input;
|
|
23611
|
-
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23612
|
-
client.httpClient,
|
|
23613
|
-
client.organizationId,
|
|
23614
|
-
client.workspaceIdNumber,
|
|
23615
|
-
data.time_entry_id,
|
|
23616
|
-
data.payload ?? data.data ?? data,
|
|
23617
|
-
void 0
|
|
23618
|
-
]));
|
|
23619
|
-
}
|
|
23620
|
-
},
|
|
23621
|
-
{
|
|
23622
|
-
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
23623
|
-
family: "focus",
|
|
23624
|
-
resource: "time-log-suggestions",
|
|
23625
|
-
action: "get-for-acalendar-event-title",
|
|
23626
|
-
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
23627
|
-
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
23628
|
-
safety: "update",
|
|
23629
|
-
destructive: false,
|
|
23630
|
-
cli: {
|
|
23631
|
-
group: ["time-log-suggestions"],
|
|
23632
|
-
command: "get-for-acalendar-event-title",
|
|
23633
|
-
interactive: "default"
|
|
23634
|
-
},
|
|
23635
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
23636
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
23637
|
-
execute: (input, { client }) => {
|
|
23638
|
-
const data = input;
|
|
23639
|
-
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
23640
|
-
client.httpClient,
|
|
23641
|
-
client.organizationId,
|
|
23642
|
-
client.workspaceIdNumber,
|
|
23643
|
-
data.payload ?? data.data ?? data,
|
|
23644
|
-
void 0
|
|
23645
|
-
]));
|
|
23646
|
-
}
|
|
23647
|
-
},
|
|
23648
|
-
{
|
|
23649
|
-
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
23650
|
-
family: "focus",
|
|
23651
|
-
resource: "time-log-suggestions",
|
|
23652
|
-
action: "get-for-multiple-calendar-event-titles",
|
|
23653
|
-
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
23654
|
-
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
23655
|
-
safety: "update",
|
|
23656
|
-
destructive: false,
|
|
23657
|
-
cli: {
|
|
23658
|
-
group: ["time-log-suggestions"],
|
|
23659
|
-
command: "get-for-multiple-calendar-event-titles",
|
|
23660
|
-
interactive: "default"
|
|
23661
|
-
},
|
|
23662
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
23663
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23664
|
-
key: /* @__PURE__ */ string$1(),
|
|
23665
|
-
title: /* @__PURE__ */ string$1()
|
|
23666
|
-
})) }) }),
|
|
23667
|
-
execute: (input, { client }) => {
|
|
23668
|
-
const data = input;
|
|
23669
|
-
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
23670
|
-
client.httpClient,
|
|
23671
|
-
client.organizationId,
|
|
23672
|
-
client.workspaceIdNumber,
|
|
23673
|
-
data.payload ?? data.data ?? data,
|
|
23674
|
-
void 0
|
|
23675
|
-
]));
|
|
23676
|
-
}
|
|
23677
|
-
},
|
|
23678
|
-
{
|
|
23679
|
-
id: "focus.time-off.create-timeoff-for-ghost",
|
|
23680
|
-
family: "focus",
|
|
23681
|
-
resource: "time-off",
|
|
23682
|
-
action: "create-timeoff-for-ghost",
|
|
23683
|
-
title: "Create Timeoff For Ghost Time Off",
|
|
23684
|
-
description: "Create Timeoff For Ghost Time Off.",
|
|
23685
|
-
safety: "create",
|
|
24685
|
+
description: "Update Time Entries.",
|
|
24686
|
+
safety: "update",
|
|
23686
24687
|
destructive: false,
|
|
23687
24688
|
cli: {
|
|
23688
|
-
group: ["time-
|
|
23689
|
-
command: "
|
|
23690
|
-
interactive: "
|
|
24689
|
+
group: ["time-entries"],
|
|
24690
|
+
command: "update",
|
|
24691
|
+
interactive: "default"
|
|
23691
24692
|
},
|
|
23692
|
-
mcp: { entityTool: "time-
|
|
24693
|
+
mcp: { entityTool: "time-entries" },
|
|
23693
24694
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23694
|
-
|
|
23695
|
-
|
|
24695
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24696
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24697
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24698
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24699
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24700
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24701
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24702
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24703
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24704
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24705
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24706
|
+
}),
|
|
24707
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
23696
24708
|
}),
|
|
23697
24709
|
execute: (input, { client }) => {
|
|
23698
24710
|
const data = input;
|
|
23699
|
-
return client.runGeneratedRequest("
|
|
24711
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23700
24712
|
client.httpClient,
|
|
23701
24713
|
client.organizationId,
|
|
23702
24714
|
client.workspaceIdNumber,
|
|
23703
|
-
data.
|
|
24715
|
+
data.time_entry_id,
|
|
23704
24716
|
data.payload ?? data.data ?? data,
|
|
23705
24717
|
void 0
|
|
23706
24718
|
]));
|
|
@@ -23736,37 +24748,6 @@ const generatedFocusOperations = [
|
|
|
23736
24748
|
]));
|
|
23737
24749
|
}
|
|
23738
24750
|
},
|
|
23739
|
-
{
|
|
23740
|
-
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
23741
|
-
family: "focus",
|
|
23742
|
-
resource: "time-off",
|
|
23743
|
-
action: "delete-timeoff-for-ghost",
|
|
23744
|
-
title: "Delete Timeoff For Ghost Time Off",
|
|
23745
|
-
description: "Delete Timeoff For Ghost Time Off.",
|
|
23746
|
-
safety: "delete",
|
|
23747
|
-
destructive: true,
|
|
23748
|
-
cli: {
|
|
23749
|
-
group: ["time-off"],
|
|
23750
|
-
command: "delete-timeoff-for-ghost",
|
|
23751
|
-
interactive: "hidden"
|
|
23752
|
-
},
|
|
23753
|
-
mcp: { entityTool: "time-off" },
|
|
23754
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23755
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
23756
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
23757
|
-
}),
|
|
23758
|
-
execute: (input, { client }) => {
|
|
23759
|
-
const data = input;
|
|
23760
|
-
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
23761
|
-
client.httpClient,
|
|
23762
|
-
client.organizationId,
|
|
23763
|
-
client.workspaceIdNumber,
|
|
23764
|
-
data.ghost_id,
|
|
23765
|
-
data.payload ?? data.data ?? data,
|
|
23766
|
-
void 0
|
|
23767
|
-
]));
|
|
23768
|
-
}
|
|
23769
|
-
},
|
|
23770
24751
|
{
|
|
23771
24752
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
23772
24753
|
family: "focus",
|
|
@@ -23797,38 +24778,6 @@ const generatedFocusOperations = [
|
|
|
23797
24778
|
]));
|
|
23798
24779
|
}
|
|
23799
24780
|
},
|
|
23800
|
-
{
|
|
23801
|
-
id: "focus.time-off.get-timeoff-for-ghost",
|
|
23802
|
-
family: "focus",
|
|
23803
|
-
resource: "time-off",
|
|
23804
|
-
action: "get-timeoff-for-ghost",
|
|
23805
|
-
title: "Get Timeoff For Ghost Time Off",
|
|
23806
|
-
description: "Get Timeoff For Ghost Time Off.",
|
|
23807
|
-
safety: "read",
|
|
23808
|
-
destructive: false,
|
|
23809
|
-
cli: {
|
|
23810
|
-
group: ["time-off"],
|
|
23811
|
-
command: "get-timeoff-for-ghost",
|
|
23812
|
-
interactive: "hidden"
|
|
23813
|
-
},
|
|
23814
|
-
mcp: { entityTool: "time-off" },
|
|
23815
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23816
|
-
from: /* @__PURE__ */ unknown$1(),
|
|
23817
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
23818
|
-
to: /* @__PURE__ */ unknown$1()
|
|
23819
|
-
}),
|
|
23820
|
-
execute: (input, { client }) => {
|
|
23821
|
-
const data = input;
|
|
23822
|
-
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
23823
|
-
client.httpClient,
|
|
23824
|
-
client.organizationId,
|
|
23825
|
-
client.workspaceIdNumber,
|
|
23826
|
-
data.ghost_id,
|
|
23827
|
-
data,
|
|
23828
|
-
void 0
|
|
23829
|
-
]));
|
|
23830
|
-
}
|
|
23831
|
-
},
|
|
23832
24781
|
{
|
|
23833
24782
|
id: "focus.time-off.get-timeoff-for-user",
|
|
23834
24783
|
family: "focus",
|
|
@@ -23860,37 +24809,6 @@ const generatedFocusOperations = [
|
|
|
23860
24809
|
]));
|
|
23861
24810
|
}
|
|
23862
24811
|
},
|
|
23863
|
-
{
|
|
23864
|
-
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
23865
|
-
family: "focus",
|
|
23866
|
-
resource: "time-off",
|
|
23867
|
-
action: "get-timeoffs-by-ghost-ids",
|
|
23868
|
-
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
23869
|
-
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
23870
|
-
safety: "read",
|
|
23871
|
-
destructive: false,
|
|
23872
|
-
cli: {
|
|
23873
|
-
group: ["time-off"],
|
|
23874
|
-
command: "get-timeoffs-by-ghost-ids",
|
|
23875
|
-
interactive: "hidden"
|
|
23876
|
-
},
|
|
23877
|
-
mcp: { entityTool: "time-off" },
|
|
23878
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23879
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23880
|
-
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
23881
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
23882
|
-
}),
|
|
23883
|
-
execute: (input, { client }) => {
|
|
23884
|
-
const data = input;
|
|
23885
|
-
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
23886
|
-
client.httpClient,
|
|
23887
|
-
client.organizationId,
|
|
23888
|
-
client.workspaceIdNumber,
|
|
23889
|
-
data,
|
|
23890
|
-
void 0
|
|
23891
|
-
]));
|
|
23892
|
-
}
|
|
23893
|
-
},
|
|
23894
24812
|
{
|
|
23895
24813
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
23896
24814
|
family: "focus",
|
|
@@ -23921,37 +24839,6 @@ const generatedFocusOperations = [
|
|
|
23921
24839
|
]));
|
|
23922
24840
|
}
|
|
23923
24841
|
},
|
|
23924
|
-
{
|
|
23925
|
-
id: "focus.time-off.update-timeoff-for-ghost",
|
|
23926
|
-
family: "focus",
|
|
23927
|
-
resource: "time-off",
|
|
23928
|
-
action: "update-timeoff-for-ghost",
|
|
23929
|
-
title: "Update Timeoff For Ghost Time Off",
|
|
23930
|
-
description: "Update Timeoff For Ghost Time Off.",
|
|
23931
|
-
safety: "update",
|
|
23932
|
-
destructive: false,
|
|
23933
|
-
cli: {
|
|
23934
|
-
group: ["time-off"],
|
|
23935
|
-
command: "update-timeoff-for-ghost",
|
|
23936
|
-
interactive: "hidden"
|
|
23937
|
-
},
|
|
23938
|
-
mcp: { entityTool: "time-off" },
|
|
23939
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23940
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
23941
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
23942
|
-
}),
|
|
23943
|
-
execute: (input, { client }) => {
|
|
23944
|
-
const data = input;
|
|
23945
|
-
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
23946
|
-
client.httpClient,
|
|
23947
|
-
client.organizationId,
|
|
23948
|
-
client.workspaceIdNumber,
|
|
23949
|
-
data.ghost_id,
|
|
23950
|
-
data.payload ?? data.data ?? data,
|
|
23951
|
-
void 0
|
|
23952
|
-
]));
|
|
23953
|
-
}
|
|
23954
|
-
},
|
|
23955
24842
|
{
|
|
23956
24843
|
id: "focus.time-off.update-timeoff-for-user",
|
|
23957
24844
|
family: "focus",
|
|
@@ -24983,6 +25870,7 @@ const generatedFocusOperations = [
|
|
|
24983
25870
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24984
25871
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24985
25872
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25873
|
+
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24986
25874
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24987
25875
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24988
25876
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -25084,37 +25972,6 @@ const generatedFocusOperations = [
|
|
|
25084
25972
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25085
25973
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
25086
25974
|
},
|
|
25087
|
-
{
|
|
25088
|
-
id: "focus.working-hours.create-for-ghost",
|
|
25089
|
-
family: "focus",
|
|
25090
|
-
resource: "working-hours",
|
|
25091
|
-
action: "create-for-ghost",
|
|
25092
|
-
title: "Create For Ghost Working Hours",
|
|
25093
|
-
description: "Create For Ghost Working Hours.",
|
|
25094
|
-
safety: "create",
|
|
25095
|
-
destructive: false,
|
|
25096
|
-
cli: {
|
|
25097
|
-
group: ["working-hours"],
|
|
25098
|
-
command: "create-for-ghost",
|
|
25099
|
-
interactive: "hidden"
|
|
25100
|
-
},
|
|
25101
|
-
mcp: { entityTool: "working-hours" },
|
|
25102
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25103
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
25104
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
25105
|
-
}),
|
|
25106
|
-
execute: (input, { client }) => {
|
|
25107
|
-
const data = input;
|
|
25108
|
-
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
25109
|
-
client.httpClient,
|
|
25110
|
-
client.organizationId,
|
|
25111
|
-
client.workspaceIdNumber,
|
|
25112
|
-
data.ghost_id,
|
|
25113
|
-
data.payload ?? data.data ?? data,
|
|
25114
|
-
void 0
|
|
25115
|
-
]));
|
|
25116
|
-
}
|
|
25117
|
-
},
|
|
25118
25975
|
{
|
|
25119
25976
|
id: "focus.working-hours.create-for-user",
|
|
25120
25977
|
family: "focus",
|
|
@@ -25145,37 +26002,6 @@ const generatedFocusOperations = [
|
|
|
25145
26002
|
]));
|
|
25146
26003
|
}
|
|
25147
26004
|
},
|
|
25148
|
-
{
|
|
25149
|
-
id: "focus.working-hours.delete-for-ghost",
|
|
25150
|
-
family: "focus",
|
|
25151
|
-
resource: "working-hours",
|
|
25152
|
-
action: "delete-for-ghost",
|
|
25153
|
-
title: "Delete For Ghost Working Hours",
|
|
25154
|
-
description: "Delete For Ghost Working Hours.",
|
|
25155
|
-
safety: "delete",
|
|
25156
|
-
destructive: true,
|
|
25157
|
-
cli: {
|
|
25158
|
-
group: ["working-hours"],
|
|
25159
|
-
command: "delete-for-ghost",
|
|
25160
|
-
interactive: "hidden"
|
|
25161
|
-
},
|
|
25162
|
-
mcp: { entityTool: "working-hours" },
|
|
25163
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25164
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
25165
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
25166
|
-
}),
|
|
25167
|
-
execute: (input, { client }) => {
|
|
25168
|
-
const data = input;
|
|
25169
|
-
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
25170
|
-
client.httpClient,
|
|
25171
|
-
client.organizationId,
|
|
25172
|
-
client.workspaceIdNumber,
|
|
25173
|
-
data.ghost_id,
|
|
25174
|
-
data.payload ?? data.data ?? data,
|
|
25175
|
-
void 0
|
|
25176
|
-
]));
|
|
25177
|
-
}
|
|
25178
|
-
},
|
|
25179
26005
|
{
|
|
25180
26006
|
id: "focus.working-hours.delete-for-user",
|
|
25181
26007
|
family: "focus",
|
|
@@ -25206,33 +26032,6 @@ const generatedFocusOperations = [
|
|
|
25206
26032
|
]));
|
|
25207
26033
|
}
|
|
25208
26034
|
},
|
|
25209
|
-
{
|
|
25210
|
-
id: "focus.working-hours.get-for-ghost",
|
|
25211
|
-
family: "focus",
|
|
25212
|
-
resource: "working-hours",
|
|
25213
|
-
action: "get-for-ghost",
|
|
25214
|
-
title: "Get For Ghost Working Hours",
|
|
25215
|
-
description: "Get For Ghost Working Hours.",
|
|
25216
|
-
safety: "read",
|
|
25217
|
-
destructive: false,
|
|
25218
|
-
cli: {
|
|
25219
|
-
group: ["working-hours"],
|
|
25220
|
-
command: "get-for-ghost",
|
|
25221
|
-
interactive: "available"
|
|
25222
|
-
},
|
|
25223
|
-
mcp: { entityTool: "working-hours" },
|
|
25224
|
-
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
25225
|
-
execute: (input, { client }) => {
|
|
25226
|
-
const data = input;
|
|
25227
|
-
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
25228
|
-
client.httpClient,
|
|
25229
|
-
client.organizationId,
|
|
25230
|
-
client.workspaceIdNumber,
|
|
25231
|
-
data.ghost_id,
|
|
25232
|
-
void 0
|
|
25233
|
-
]));
|
|
25234
|
-
}
|
|
25235
|
-
},
|
|
25236
26035
|
{
|
|
25237
26036
|
id: "focus.working-hours.get-for-user",
|
|
25238
26037
|
family: "focus",
|
|
@@ -25259,37 +26058,6 @@ const generatedFocusOperations = [
|
|
|
25259
26058
|
]));
|
|
25260
26059
|
}
|
|
25261
26060
|
},
|
|
25262
|
-
{
|
|
25263
|
-
id: "focus.working-hours.update-for-ghost",
|
|
25264
|
-
family: "focus",
|
|
25265
|
-
resource: "working-hours",
|
|
25266
|
-
action: "update-for-ghost",
|
|
25267
|
-
title: "Update For Ghost Working Hours",
|
|
25268
|
-
description: "Update For Ghost Working Hours.",
|
|
25269
|
-
safety: "update",
|
|
25270
|
-
destructive: false,
|
|
25271
|
-
cli: {
|
|
25272
|
-
group: ["working-hours"],
|
|
25273
|
-
command: "update-for-ghost",
|
|
25274
|
-
interactive: "hidden"
|
|
25275
|
-
},
|
|
25276
|
-
mcp: { entityTool: "working-hours" },
|
|
25277
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25278
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
25279
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
25280
|
-
}),
|
|
25281
|
-
execute: (input, { client }) => {
|
|
25282
|
-
const data = input;
|
|
25283
|
-
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
25284
|
-
client.httpClient,
|
|
25285
|
-
client.organizationId,
|
|
25286
|
-
client.workspaceIdNumber,
|
|
25287
|
-
data.ghost_id,
|
|
25288
|
-
data.payload ?? data.data ?? data,
|
|
25289
|
-
void 0
|
|
25290
|
-
]));
|
|
25291
|
-
}
|
|
25292
|
-
},
|
|
25293
26061
|
{
|
|
25294
26062
|
id: "focus.working-hours.update-for-user",
|
|
25295
26063
|
family: "focus",
|
|
@@ -25364,6 +26132,50 @@ const generatedFocusOperations = [
|
|
|
25364
26132
|
void 0
|
|
25365
26133
|
]))
|
|
25366
26134
|
},
|
|
26135
|
+
{
|
|
26136
|
+
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
26137
|
+
family: "focus",
|
|
26138
|
+
resource: "workspace-settings",
|
|
26139
|
+
action: "get-workspace-export-branding",
|
|
26140
|
+
title: "Get Workspace Export Branding Workspace Settings",
|
|
26141
|
+
description: "Get Workspace Export Branding Workspace Settings.",
|
|
26142
|
+
safety: "read",
|
|
26143
|
+
destructive: false,
|
|
26144
|
+
cli: {
|
|
26145
|
+
group: ["workspace-settings"],
|
|
26146
|
+
command: "get-workspace-export-branding",
|
|
26147
|
+
interactive: "hidden"
|
|
26148
|
+
},
|
|
26149
|
+
mcp: { entityTool: "workspace-settings" },
|
|
26150
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26151
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
26152
|
+
client.httpClient,
|
|
26153
|
+
client.workspaceIdNumber,
|
|
26154
|
+
void 0
|
|
26155
|
+
]))
|
|
26156
|
+
},
|
|
26157
|
+
{
|
|
26158
|
+
id: "focus.workspace-settings.get-workspace-watermark",
|
|
26159
|
+
family: "focus",
|
|
26160
|
+
resource: "workspace-settings",
|
|
26161
|
+
action: "get-workspace-watermark",
|
|
26162
|
+
title: "Get Workspace Watermark Workspace Settings",
|
|
26163
|
+
description: "Get Workspace Watermark Workspace Settings.",
|
|
26164
|
+
safety: "read",
|
|
26165
|
+
destructive: false,
|
|
26166
|
+
cli: {
|
|
26167
|
+
group: ["workspace-settings"],
|
|
26168
|
+
command: "get-workspace-watermark",
|
|
26169
|
+
interactive: "hidden"
|
|
26170
|
+
},
|
|
26171
|
+
mcp: { entityTool: "workspace-settings" },
|
|
26172
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26173
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
26174
|
+
client.httpClient,
|
|
26175
|
+
client.workspaceIdNumber,
|
|
26176
|
+
void 0
|
|
26177
|
+
]))
|
|
26178
|
+
},
|
|
25367
26179
|
{
|
|
25368
26180
|
id: "focus.workspace-settings.list",
|
|
25369
26181
|
family: "focus",
|
|
@@ -25438,6 +26250,32 @@ const generatedFocusOperations = [
|
|
|
25438
26250
|
]));
|
|
25439
26251
|
}
|
|
25440
26252
|
},
|
|
26253
|
+
{
|
|
26254
|
+
id: "focus.workspace-settings.update-workspace-watermark",
|
|
26255
|
+
family: "focus",
|
|
26256
|
+
resource: "workspace-settings",
|
|
26257
|
+
action: "update-workspace-watermark",
|
|
26258
|
+
title: "Update Workspace Watermark Workspace Settings",
|
|
26259
|
+
description: "Update Workspace Watermark Workspace Settings.",
|
|
26260
|
+
safety: "update",
|
|
26261
|
+
destructive: false,
|
|
26262
|
+
cli: {
|
|
26263
|
+
group: ["workspace-settings"],
|
|
26264
|
+
command: "update-workspace-watermark",
|
|
26265
|
+
interactive: "default"
|
|
26266
|
+
},
|
|
26267
|
+
mcp: { entityTool: "workspace-settings" },
|
|
26268
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
26269
|
+
execute: (input, { client }) => {
|
|
26270
|
+
const data = input;
|
|
26271
|
+
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
26272
|
+
client.httpClient,
|
|
26273
|
+
client.workspaceIdNumber,
|
|
26274
|
+
data.payload ?? data.data ?? data,
|
|
26275
|
+
void 0
|
|
26276
|
+
]));
|
|
26277
|
+
}
|
|
26278
|
+
},
|
|
25441
26279
|
{
|
|
25442
26280
|
id: "focus.workspace.get-context",
|
|
25443
26281
|
family: "focus",
|
|
@@ -27077,4 +27915,4 @@ Common commands:
|
|
|
27077
27915
|
//#endregion
|
|
27078
27916
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27079
27917
|
|
|
27080
|
-
//# sourceMappingURL=program-
|
|
27918
|
+
//# sourceMappingURL=program-ChUYcV7p.js.map
|