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