@togglhq/cli 1.11.67 → 1.11.68
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-C0-wDCc4.js → program-C-9XYyqg.js} +585 -1423
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -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, only_me, include_rates, include_rollover, include_idle_recurring_templates,
|
|
9982
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10039
9983
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10040
9984
|
signal,
|
|
10041
9985
|
searchParams: buildSearchParams$2({
|
|
@@ -10057,7 +10001,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
10057
10001
|
include_rates,
|
|
10058
10002
|
include_rollover,
|
|
10059
10003
|
include_idle_recurring_templates,
|
|
10060
|
-
collapse_recurring,
|
|
10061
10004
|
include_drafts,
|
|
10062
10005
|
include_locked_private,
|
|
10063
10006
|
start_date,
|
|
@@ -10288,7 +10231,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10288
10231
|
}
|
|
10289
10232
|
//#endregion
|
|
10290
10233
|
//#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) {
|
|
10234
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
|
|
10292
10235
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10293
10236
|
signal,
|
|
10294
10237
|
searchParams: buildSearchParams$2({
|
|
@@ -10336,8 +10279,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10336
10279
|
recurring_task_ids,
|
|
10337
10280
|
client_id,
|
|
10338
10281
|
include_rates,
|
|
10282
|
+
include_ghost_assignees,
|
|
10339
10283
|
include_assignees,
|
|
10340
10284
|
include_parent_matches,
|
|
10285
|
+
assignee_ghost_id,
|
|
10341
10286
|
disable_aggregations,
|
|
10342
10287
|
cf_filter
|
|
10343
10288
|
})
|
|
@@ -10423,7 +10368,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
10423
10368
|
})
|
|
10424
10369
|
}).json();
|
|
10425
10370
|
}
|
|
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,
|
|
10371
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10427
10372
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10428
10373
|
signal,
|
|
10429
10374
|
searchParams: buildSearchParams$2({
|
|
@@ -10436,14 +10381,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10436
10381
|
dates_overlap_end,
|
|
10437
10382
|
recurring_task_ids,
|
|
10438
10383
|
team_id,
|
|
10439
|
-
assignee_team_id,
|
|
10440
10384
|
assignee_user_id,
|
|
10441
10385
|
tag_id,
|
|
10386
|
+
include_ghost_assignees,
|
|
10442
10387
|
include_assignees
|
|
10443
10388
|
})
|
|
10444
10389
|
}).json();
|
|
10445
10390
|
}
|
|
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) {
|
|
10391
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
|
|
10447
10392
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10448
10393
|
signal,
|
|
10449
10394
|
searchParams: buildSearchParams$2({
|
|
@@ -10487,15 +10432,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10487
10432
|
recurring,
|
|
10488
10433
|
recurring_task_ids,
|
|
10489
10434
|
client_id,
|
|
10435
|
+
include_ghost_assignees,
|
|
10490
10436
|
include_assignees,
|
|
10437
|
+
assignee_ghost_id,
|
|
10491
10438
|
cf_filter
|
|
10492
10439
|
})
|
|
10493
10440
|
}).json();
|
|
10494
10441
|
}
|
|
10495
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
10442
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10496
10443
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
10497
10444
|
signal,
|
|
10498
|
-
searchParams: buildSearchParams$2({
|
|
10445
|
+
searchParams: buildSearchParams$2({
|
|
10446
|
+
include_ghost_assignees,
|
|
10447
|
+
include_assignees
|
|
10448
|
+
})
|
|
10499
10449
|
}).json();
|
|
10500
10450
|
}
|
|
10501
10451
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -10526,7 +10476,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
10526
10476
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
10527
10477
|
}).json();
|
|
10528
10478
|
}
|
|
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) {
|
|
10479
|
+
async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10530
10480
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
10531
10481
|
signal,
|
|
10532
10482
|
searchParams: buildSearchParams$2({
|
|
@@ -10539,11 +10489,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10539
10489
|
team_id,
|
|
10540
10490
|
assignee_user_id,
|
|
10541
10491
|
tag_id,
|
|
10492
|
+
include_ghost_assignees,
|
|
10542
10493
|
include_assignees
|
|
10543
10494
|
})
|
|
10544
10495
|
}).json();
|
|
10545
10496
|
}
|
|
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) {
|
|
10497
|
+
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
10547
10498
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10548
10499
|
signal,
|
|
10549
10500
|
searchParams: buildSearchParams$2({
|
|
@@ -10556,6 +10507,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
10556
10507
|
team_id,
|
|
10557
10508
|
assignee_user_id,
|
|
10558
10509
|
tag_id,
|
|
10510
|
+
include_ghost_assignees,
|
|
10559
10511
|
include_assignees
|
|
10560
10512
|
})
|
|
10561
10513
|
}).json();
|
|
@@ -10657,12 +10609,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10657
10609
|
})
|
|
10658
10610
|
}).json();
|
|
10659
10611
|
}
|
|
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
10612
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10667
10613
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10668
10614
|
signal,
|
|
@@ -10799,7 +10745,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10799
10745
|
]))
|
|
10800
10746
|
});
|
|
10801
10747
|
//#endregion
|
|
10802
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10748
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10803
10749
|
async function getInvitations(httpClient, signal) {
|
|
10804
10750
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10805
10751
|
}
|
|
@@ -10816,7 +10762,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10816
10762
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10817
10763
|
}
|
|
10818
10764
|
//#endregion
|
|
10819
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10765
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10820
10766
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10821
10767
|
const searchParams = new URLSearchParams();
|
|
10822
10768
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10828,7 +10774,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10828
10774
|
return searchParams;
|
|
10829
10775
|
}
|
|
10830
10776
|
//#endregion
|
|
10831
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10777
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10832
10778
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10833
10779
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10834
10780
|
}
|
|
@@ -10842,7 +10788,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10842
10788
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10843
10789
|
}
|
|
10844
10790
|
//#endregion
|
|
10845
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10791
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10846
10792
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10847
10793
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10848
10794
|
}
|
|
@@ -10862,7 +10808,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10862
10808
|
});
|
|
10863
10809
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10864
10810
|
//#endregion
|
|
10865
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10811
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10866
10812
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10867
10813
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10868
10814
|
signal,
|
|
@@ -10873,12 +10819,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10873
10819
|
})).json();
|
|
10874
10820
|
}
|
|
10875
10821
|
//#endregion
|
|
10876
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10822
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10877
10823
|
async function getStatus(httpClient, signal) {
|
|
10878
10824
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10879
10825
|
}
|
|
10880
10826
|
//#endregion
|
|
10881
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10827
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10882
10828
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10883
10829
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10884
10830
|
signal,
|
|
@@ -10906,7 +10852,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10906
10852
|
return response.json();
|
|
10907
10853
|
}
|
|
10908
10854
|
//#endregion
|
|
10909
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10855
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10910
10856
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10911
10857
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10912
10858
|
}
|
|
@@ -14369,21 +14315,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14369
14315
|
}
|
|
14370
14316
|
//#endregion
|
|
14371
14317
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14372
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14373
|
-
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14374
|
-
signal,
|
|
14375
|
-
searchParams: buildSearchParams$2({
|
|
14376
|
-
workspace_id,
|
|
14377
|
-
entity_type,
|
|
14378
|
-
entity_id,
|
|
14379
|
-
action,
|
|
14380
|
-
user_id,
|
|
14381
|
-
page_size,
|
|
14382
|
-
page_number,
|
|
14383
|
-
export: export_
|
|
14384
|
-
})
|
|
14385
|
-
}).json();
|
|
14386
|
-
}
|
|
14387
14318
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14388
14319
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14389
14320
|
signal,
|
|
@@ -14542,22 +14473,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14542
14473
|
}
|
|
14543
14474
|
//#endregion
|
|
14544
14475
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14545
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts
|
|
14476
|
+
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) {
|
|
14546
14477
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14547
14478
|
signal,
|
|
14548
14479
|
searchParams: buildSearchParams$2({
|
|
14549
14480
|
user_id,
|
|
14550
14481
|
start_date,
|
|
14551
14482
|
end_date,
|
|
14483
|
+
ghost_id,
|
|
14552
14484
|
private: private_,
|
|
14553
14485
|
task_source,
|
|
14554
14486
|
unit,
|
|
14555
|
-
include_drafts
|
|
14556
|
-
include_task_estimates
|
|
14487
|
+
include_drafts
|
|
14557
14488
|
})
|
|
14558
14489
|
}).json();
|
|
14559
14490
|
}
|
|
14560
14491
|
//#endregion
|
|
14492
|
+
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
14493
|
+
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
14494
|
+
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
14495
|
+
}
|
|
14496
|
+
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
14497
|
+
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
14498
|
+
signal,
|
|
14499
|
+
json: data
|
|
14500
|
+
}).json();
|
|
14501
|
+
}
|
|
14502
|
+
//#endregion
|
|
14561
14503
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
14562
14504
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
14563
14505
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -14640,12 +14582,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
14640
14582
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
14641
14583
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
14642
14584
|
}
|
|
14643
|
-
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
14644
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
14645
|
-
signal,
|
|
14646
|
-
json: data
|
|
14647
|
-
}).json();
|
|
14648
|
-
}
|
|
14649
14585
|
//#endregion
|
|
14650
14586
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14651
14587
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -14871,7 +14807,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
14871
14807
|
}
|
|
14872
14808
|
//#endregion
|
|
14873
14809
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
14874
|
-
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,
|
|
14810
|
+
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) {
|
|
14875
14811
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
14876
14812
|
signal,
|
|
14877
14813
|
searchParams: buildSearchParams$2({
|
|
@@ -14883,7 +14819,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14883
14819
|
include_group_totals,
|
|
14884
14820
|
include_unassigned,
|
|
14885
14821
|
archived,
|
|
14886
|
-
completed,
|
|
14887
14822
|
private: private_,
|
|
14888
14823
|
name,
|
|
14889
14824
|
client_id,
|
|
@@ -14895,7 +14830,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14895
14830
|
start_date,
|
|
14896
14831
|
end_date,
|
|
14897
14832
|
user_id,
|
|
14898
|
-
only_me,
|
|
14899
14833
|
include_drafts,
|
|
14900
14834
|
cf_filter
|
|
14901
14835
|
})
|
|
@@ -15011,14 +14945,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
15011
14945
|
}
|
|
15012
14946
|
//#endregion
|
|
15013
14947
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
15014
|
-
async function
|
|
15015
|
-
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
15016
|
-
}
|
|
15017
|
-
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
14948
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
|
|
15018
14949
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
15019
14950
|
signal,
|
|
15020
14951
|
json: data,
|
|
15021
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
15022
14952
|
searchParams: buildSearchParams$2({
|
|
15023
14953
|
response_format,
|
|
15024
14954
|
include_dicts
|
|
@@ -15042,36 +14972,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
15042
14972
|
json: data
|
|
15043
14973
|
}).json();
|
|
15044
14974
|
}
|
|
15045
|
-
async function
|
|
15046
|
-
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
15047
|
-
signal,
|
|
15048
|
-
json: data
|
|
15049
|
-
}).json();
|
|
15050
|
-
}
|
|
15051
|
-
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
14975
|
+
async function getWorkloadReport(httpClient, workspace_id, data, signal) {
|
|
15052
14976
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
15053
|
-
signal,
|
|
15054
|
-
json: data,
|
|
15055
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
15056
|
-
}).json();
|
|
15057
|
-
}
|
|
15058
|
-
//#endregion
|
|
15059
|
-
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
15060
|
-
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15061
|
-
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
15062
|
-
signal,
|
|
15063
|
-
json: data
|
|
15064
|
-
}).json();
|
|
15065
|
-
}
|
|
15066
|
-
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15067
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
15068
14977
|
signal,
|
|
15069
14978
|
json: data
|
|
15070
14979
|
}).json();
|
|
15071
14980
|
}
|
|
15072
|
-
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
15073
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
15074
|
-
}
|
|
15075
14981
|
//#endregion
|
|
15076
14982
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
15077
14983
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -15104,7 +15010,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15104
15010
|
}
|
|
15105
15011
|
//#endregion
|
|
15106
15012
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15107
|
-
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
|
|
15013
|
+
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) {
|
|
15108
15014
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15109
15015
|
signal,
|
|
15110
15016
|
searchParams: buildSearchParams$2({
|
|
@@ -15116,56 +15022,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15116
15022
|
task_id,
|
|
15117
15023
|
include_drafts,
|
|
15118
15024
|
exclude_calendar_events,
|
|
15119
|
-
group_by_tags
|
|
15120
|
-
only_me
|
|
15121
|
-
})
|
|
15122
|
-
}).json();
|
|
15123
|
-
}
|
|
15124
|
-
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
15125
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
15126
|
-
signal,
|
|
15127
|
-
searchParams: buildSearchParams$2({
|
|
15128
|
-
keyword,
|
|
15129
|
-
per_group
|
|
15025
|
+
group_by_tags
|
|
15130
15026
|
})
|
|
15131
15027
|
}).json();
|
|
15132
15028
|
}
|
|
15133
15029
|
//#endregion
|
|
15134
|
-
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
15135
|
-
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
15136
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
15137
|
-
signal,
|
|
15138
|
-
json: data
|
|
15139
|
-
}).json();
|
|
15140
|
-
}
|
|
15141
|
-
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
15142
|
-
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
15143
|
-
}
|
|
15144
|
-
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
15145
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
15146
|
-
signal,
|
|
15147
|
-
json: data
|
|
15148
|
-
}).json();
|
|
15149
|
-
}
|
|
15150
|
-
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
15151
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
15152
|
-
}
|
|
15153
|
-
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
15154
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
15155
|
-
}
|
|
15156
|
-
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15157
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15158
|
-
}
|
|
15159
|
-
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15160
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15161
|
-
signal,
|
|
15162
|
-
json: data
|
|
15163
|
-
}).json();
|
|
15164
|
-
}
|
|
15165
|
-
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15166
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15167
|
-
}
|
|
15168
|
-
//#endregion
|
|
15169
15030
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15170
15031
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
15171
15032
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -15221,77 +15082,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15221
15082
|
}
|
|
15222
15083
|
//#endregion
|
|
15223
15084
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15224
|
-
async function
|
|
15225
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15226
|
-
signal,
|
|
15227
|
-
searchParams: buildSearchParams$2({
|
|
15228
|
-
project_id,
|
|
15229
|
-
source,
|
|
15230
|
-
priority,
|
|
15231
|
-
status_id,
|
|
15232
|
-
client_id,
|
|
15233
|
-
assignee_user_id,
|
|
15234
|
-
tag_id,
|
|
15235
|
-
team_id,
|
|
15236
|
-
user_tag_id,
|
|
15237
|
-
group_id,
|
|
15238
|
-
creator_id,
|
|
15239
|
-
name,
|
|
15240
|
-
start_date,
|
|
15241
|
-
end_date,
|
|
15242
|
-
start_date_from,
|
|
15243
|
-
start_date_to,
|
|
15244
|
-
end_date_from,
|
|
15245
|
-
end_date_to,
|
|
15246
|
-
private: private_,
|
|
15247
|
-
exclude_empty,
|
|
15248
|
-
include_unassigned,
|
|
15249
|
-
include_unmaterialized,
|
|
15250
|
-
collapse_recurring,
|
|
15251
|
-
include_assignees,
|
|
15252
|
-
min_days,
|
|
15253
|
-
include_drafts,
|
|
15254
|
-
cf_filter,
|
|
15255
|
-
user_cf_filter
|
|
15256
|
-
})
|
|
15257
|
-
}).json();
|
|
15258
|
-
}
|
|
15259
|
-
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) {
|
|
15260
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15261
|
-
signal,
|
|
15262
|
-
searchParams: buildSearchParams$2({
|
|
15263
|
-
team_id,
|
|
15264
|
-
project_id,
|
|
15265
|
-
source,
|
|
15266
|
-
priority,
|
|
15267
|
-
status_id,
|
|
15268
|
-
client_id,
|
|
15269
|
-
assignee_user_id,
|
|
15270
|
-
tag_id,
|
|
15271
|
-
user_tag_id,
|
|
15272
|
-
group_id,
|
|
15273
|
-
creator_id,
|
|
15274
|
-
name,
|
|
15275
|
-
start_date,
|
|
15276
|
-
end_date,
|
|
15277
|
-
start_date_from,
|
|
15278
|
-
start_date_to,
|
|
15279
|
-
end_date_from,
|
|
15280
|
-
end_date_to,
|
|
15281
|
-
private: private_,
|
|
15282
|
-
exclude_empty,
|
|
15283
|
-
include_unassigned,
|
|
15284
|
-
include_unmaterialized,
|
|
15285
|
-
collapse_recurring,
|
|
15286
|
-
include_assignees,
|
|
15287
|
-
min_days,
|
|
15288
|
-
include_drafts,
|
|
15289
|
-
cf_filter,
|
|
15290
|
-
user_cf_filter
|
|
15291
|
-
})
|
|
15292
|
-
}).json();
|
|
15293
|
-
}
|
|
15294
|
-
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) {
|
|
15085
|
+
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) {
|
|
15295
15086
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15296
15087
|
signal,
|
|
15297
15088
|
searchParams: buildSearchParams$2({
|
|
@@ -15315,14 +15106,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15315
15106
|
end_date_to,
|
|
15316
15107
|
private: private_,
|
|
15317
15108
|
exclude_empty,
|
|
15318
|
-
|
|
15319
|
-
include_unmaterialized,
|
|
15320
|
-
collapse_recurring,
|
|
15109
|
+
include_ghosts,
|
|
15321
15110
|
include_assignees,
|
|
15322
15111
|
min_days,
|
|
15323
15112
|
include_drafts,
|
|
15324
15113
|
cf_filter,
|
|
15325
|
-
user_cf_filter,
|
|
15326
15114
|
page,
|
|
15327
15115
|
per_page,
|
|
15328
15116
|
order_by
|
|
@@ -15459,18 +15247,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
15459
15247
|
}).json();
|
|
15460
15248
|
}
|
|
15461
15249
|
//#endregion
|
|
15462
|
-
//#region ../focus-queries/dist/time-
|
|
15463
|
-
async function
|
|
15464
|
-
return await httpClient.
|
|
15250
|
+
//#region ../focus-queries/dist/time-log-suggestions/requests.ts
|
|
15251
|
+
async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
|
|
15252
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
|
|
15465
15253
|
signal,
|
|
15466
|
-
|
|
15467
|
-
|
|
15468
|
-
|
|
15469
|
-
|
|
15470
|
-
|
|
15471
|
-
|
|
15472
|
-
|
|
15473
|
-
})
|
|
15254
|
+
json: data
|
|
15255
|
+
}).json();
|
|
15256
|
+
}
|
|
15257
|
+
async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
|
|
15258
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
|
|
15259
|
+
signal,
|
|
15260
|
+
json: data
|
|
15474
15261
|
}).json();
|
|
15475
15262
|
}
|
|
15476
15263
|
//#endregion
|
|
@@ -15512,6 +15299,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15512
15299
|
json: data
|
|
15513
15300
|
}).json();
|
|
15514
15301
|
}
|
|
15302
|
+
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
15303
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
15304
|
+
signal,
|
|
15305
|
+
searchParams: buildSearchParams$2({
|
|
15306
|
+
ghost_ids,
|
|
15307
|
+
start_date,
|
|
15308
|
+
end_date
|
|
15309
|
+
})
|
|
15310
|
+
}).json();
|
|
15311
|
+
}
|
|
15312
|
+
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
15313
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15314
|
+
signal,
|
|
15315
|
+
searchParams: buildSearchParams$2({
|
|
15316
|
+
from,
|
|
15317
|
+
to
|
|
15318
|
+
})
|
|
15319
|
+
}).json();
|
|
15320
|
+
}
|
|
15321
|
+
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15322
|
+
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15323
|
+
signal,
|
|
15324
|
+
json: data
|
|
15325
|
+
}).json();
|
|
15326
|
+
}
|
|
15327
|
+
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15328
|
+
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15329
|
+
signal,
|
|
15330
|
+
json: data
|
|
15331
|
+
}).json();
|
|
15332
|
+
}
|
|
15333
|
+
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15334
|
+
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15335
|
+
signal,
|
|
15336
|
+
json: data
|
|
15337
|
+
}).json();
|
|
15338
|
+
}
|
|
15515
15339
|
//#endregion
|
|
15516
15340
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15517
15341
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15704,6 +15528,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
15704
15528
|
json: data
|
|
15705
15529
|
}).json();
|
|
15706
15530
|
}
|
|
15531
|
+
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
15532
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
15533
|
+
}
|
|
15534
|
+
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15535
|
+
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15536
|
+
signal,
|
|
15537
|
+
json: data
|
|
15538
|
+
}).json();
|
|
15539
|
+
}
|
|
15540
|
+
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15541
|
+
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15542
|
+
signal,
|
|
15543
|
+
json: data
|
|
15544
|
+
}).json();
|
|
15545
|
+
}
|
|
15546
|
+
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15547
|
+
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15548
|
+
signal,
|
|
15549
|
+
json: data
|
|
15550
|
+
}).json();
|
|
15551
|
+
}
|
|
15707
15552
|
//#endregion
|
|
15708
15553
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
15709
15554
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -15720,9 +15565,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
15720
15565
|
json: data
|
|
15721
15566
|
}).json();
|
|
15722
15567
|
}
|
|
15723
|
-
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
15724
|
-
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
15725
|
-
}
|
|
15726
15568
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
15727
15569
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
15728
15570
|
}
|
|
@@ -15735,15 +15577,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
15735
15577
|
json: data
|
|
15736
15578
|
}).json();
|
|
15737
15579
|
}
|
|
15738
|
-
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
15739
|
-
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
15740
|
-
}
|
|
15741
|
-
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
15742
|
-
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
15743
|
-
signal,
|
|
15744
|
-
json: data
|
|
15745
|
-
}).json();
|
|
15746
|
-
}
|
|
15747
15580
|
//#endregion
|
|
15748
15581
|
//#region ../operations/build/index.public.js
|
|
15749
15582
|
function callGeneratedRequest(request, args) {
|
|
@@ -15879,17 +15712,17 @@ const generatedFocusOperations = [
|
|
|
15879
15712
|
]))
|
|
15880
15713
|
},
|
|
15881
15714
|
{
|
|
15882
|
-
id: "focus.audit-log.
|
|
15715
|
+
id: "focus.audit-log.list",
|
|
15883
15716
|
family: "focus",
|
|
15884
15717
|
resource: "audit-log",
|
|
15885
|
-
action: "
|
|
15886
|
-
title: "
|
|
15887
|
-
description: "
|
|
15718
|
+
action: "list",
|
|
15719
|
+
title: "List Audit Log",
|
|
15720
|
+
description: "List Audit Log.",
|
|
15888
15721
|
safety: "read",
|
|
15889
15722
|
destructive: false,
|
|
15890
15723
|
cli: {
|
|
15891
15724
|
group: ["audit-log"],
|
|
15892
|
-
command: "
|
|
15725
|
+
command: "list",
|
|
15893
15726
|
interactive: "hidden"
|
|
15894
15727
|
},
|
|
15895
15728
|
mcp: { entityTool: "audit-log" },
|
|
@@ -15903,14 +15736,14 @@ const generatedFocusOperations = [
|
|
|
15903
15736
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15904
15737
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15905
15738
|
to: /* @__PURE__ */ string$1(),
|
|
15906
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15907
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15739
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15908
15740
|
}),
|
|
15909
15741
|
execute: (input, { client }) => {
|
|
15910
15742
|
const data = input;
|
|
15911
|
-
return client.runGeneratedRequest("
|
|
15743
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
15912
15744
|
client.httpClient,
|
|
15913
15745
|
client.organizationId,
|
|
15746
|
+
client.workspaceIdNumber,
|
|
15914
15747
|
data.from,
|
|
15915
15748
|
data.to,
|
|
15916
15749
|
data,
|
|
@@ -15919,79 +15752,87 @@ const generatedFocusOperations = [
|
|
|
15919
15752
|
}
|
|
15920
15753
|
},
|
|
15921
15754
|
{
|
|
15922
|
-
id: "focus.
|
|
15755
|
+
id: "focus.capacities.get-computations",
|
|
15923
15756
|
family: "focus",
|
|
15924
|
-
resource: "
|
|
15925
|
-
action: "
|
|
15926
|
-
title: "
|
|
15927
|
-
description: "
|
|
15757
|
+
resource: "capacities",
|
|
15758
|
+
action: "get-computations",
|
|
15759
|
+
title: "Get Computations Capacities",
|
|
15760
|
+
description: "Get Computations Capacities.",
|
|
15928
15761
|
safety: "read",
|
|
15929
15762
|
destructive: false,
|
|
15930
15763
|
cli: {
|
|
15931
|
-
group: ["
|
|
15932
|
-
command: "
|
|
15764
|
+
group: ["capacities"],
|
|
15765
|
+
command: "get-computations",
|
|
15933
15766
|
interactive: "hidden"
|
|
15934
15767
|
},
|
|
15935
|
-
mcp: { entityTool: "
|
|
15768
|
+
mcp: { entityTool: "capacities" },
|
|
15936
15769
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
15937
|
-
|
|
15938
|
-
|
|
15939
|
-
|
|
15940
|
-
|
|
15941
|
-
|
|
15942
|
-
|
|
15943
|
-
|
|
15944
|
-
|
|
15945
|
-
|
|
15946
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15770
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
15771
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
15772
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
15773
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
15774
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
15775
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
15776
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
15777
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
15778
|
+
user_id: /* @__PURE__ */ number$2()
|
|
15947
15779
|
}),
|
|
15948
15780
|
execute: (input, { client }) => {
|
|
15949
15781
|
const data = input;
|
|
15950
|
-
return client.runGeneratedRequest("
|
|
15782
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
15951
15783
|
client.httpClient,
|
|
15952
15784
|
client.organizationId,
|
|
15953
15785
|
client.workspaceIdNumber,
|
|
15954
|
-
data.
|
|
15955
|
-
data.to,
|
|
15786
|
+
data.group,
|
|
15956
15787
|
data,
|
|
15957
15788
|
void 0
|
|
15958
15789
|
]));
|
|
15959
15790
|
}
|
|
15960
15791
|
},
|
|
15961
15792
|
{
|
|
15962
|
-
id: "focus.capacities.
|
|
15793
|
+
id: "focus.capacities.settings-list",
|
|
15963
15794
|
family: "focus",
|
|
15964
15795
|
resource: "capacities",
|
|
15965
|
-
action: "
|
|
15966
|
-
title: "
|
|
15967
|
-
description: "
|
|
15796
|
+
action: "settings-list",
|
|
15797
|
+
title: "Settings List Capacities",
|
|
15798
|
+
description: "Settings List Capacities.",
|
|
15968
15799
|
safety: "read",
|
|
15969
15800
|
destructive: false,
|
|
15970
15801
|
cli: {
|
|
15971
|
-
group: ["capacities"],
|
|
15972
|
-
command: "
|
|
15802
|
+
group: ["capacities", "settings"],
|
|
15803
|
+
command: "list",
|
|
15973
15804
|
interactive: "hidden"
|
|
15974
15805
|
},
|
|
15975
15806
|
mcp: { entityTool: "capacities" },
|
|
15976
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
15977
|
-
|
|
15978
|
-
|
|
15979
|
-
|
|
15980
|
-
|
|
15981
|
-
|
|
15982
|
-
|
|
15983
|
-
|
|
15984
|
-
|
|
15985
|
-
|
|
15986
|
-
|
|
15807
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
15808
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
15809
|
+
client.httpClient,
|
|
15810
|
+
client.workspaceIdNumber,
|
|
15811
|
+
void 0
|
|
15812
|
+
]))
|
|
15813
|
+
},
|
|
15814
|
+
{
|
|
15815
|
+
id: "focus.capacities.settings-update",
|
|
15816
|
+
family: "focus",
|
|
15817
|
+
resource: "capacities",
|
|
15818
|
+
action: "settings-update",
|
|
15819
|
+
title: "Settings Update Capacities",
|
|
15820
|
+
description: "Settings Update Capacities.",
|
|
15821
|
+
safety: "update",
|
|
15822
|
+
destructive: false,
|
|
15823
|
+
cli: {
|
|
15824
|
+
group: ["capacities", "settings"],
|
|
15825
|
+
command: "update",
|
|
15826
|
+
interactive: "default"
|
|
15827
|
+
},
|
|
15828
|
+
mcp: { entityTool: "capacities" },
|
|
15829
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
15987
15830
|
execute: (input, { client }) => {
|
|
15988
15831
|
const data = input;
|
|
15989
|
-
return client.runGeneratedRequest("
|
|
15832
|
+
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
15990
15833
|
client.httpClient,
|
|
15991
|
-
client.organizationId,
|
|
15992
15834
|
client.workspaceIdNumber,
|
|
15993
|
-
data.
|
|
15994
|
-
data,
|
|
15835
|
+
data.payload ?? data.data ?? data,
|
|
15995
15836
|
void 0
|
|
15996
15837
|
]));
|
|
15997
15838
|
}
|
|
@@ -16190,7 +16031,8 @@ const generatedFocusOperations = [
|
|
|
16190
16031
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
16191
16032
|
start_at: apiDateTimeString,
|
|
16192
16033
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16193
|
-
})))
|
|
16034
|
+
}))),
|
|
16035
|
+
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16194
16036
|
}) }),
|
|
16195
16037
|
execute: (input, { client }) => {
|
|
16196
16038
|
const data = input;
|
|
@@ -16245,7 +16087,6 @@ const generatedFocusOperations = [
|
|
|
16245
16087
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16246
16088
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16247
16089
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16248
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16249
16090
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16250
16091
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16251
16092
|
}),
|
|
@@ -16278,7 +16119,6 @@ const generatedFocusOperations = [
|
|
|
16278
16119
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16279
16120
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16280
16121
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16281
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16282
16122
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16283
16123
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16284
16124
|
}))),
|
|
@@ -16334,11 +16174,7 @@ const generatedFocusOperations = [
|
|
|
16334
16174
|
},
|
|
16335
16175
|
mcp: { entityTool: "custom-fields" },
|
|
16336
16176
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16337
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16338
|
-
"project",
|
|
16339
|
-
"task",
|
|
16340
|
-
"user"
|
|
16341
|
-
]),
|
|
16177
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
16342
16178
|
field_type: /* @__PURE__ */ picklist$1([
|
|
16343
16179
|
"select",
|
|
16344
16180
|
"multi_select",
|
|
@@ -16671,11 +16507,7 @@ const generatedFocusOperations = [
|
|
|
16671
16507
|
},
|
|
16672
16508
|
mcp: { entityTool: "custom-fields" },
|
|
16673
16509
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16674
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16675
|
-
"project",
|
|
16676
|
-
"task",
|
|
16677
|
-
"user"
|
|
16678
|
-
]),
|
|
16510
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
16679
16511
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
16680
16512
|
}) }),
|
|
16681
16513
|
execute: (input, { client }) => {
|
|
@@ -16689,37 +16521,6 @@ const generatedFocusOperations = [
|
|
|
16689
16521
|
]));
|
|
16690
16522
|
}
|
|
16691
16523
|
},
|
|
16692
|
-
{
|
|
16693
|
-
id: "focus.custom-fields.update-user-custom-field-values",
|
|
16694
|
-
family: "focus",
|
|
16695
|
-
resource: "custom-fields",
|
|
16696
|
-
action: "update-user-custom-field-values",
|
|
16697
|
-
title: "Update User Custom Field Values Custom Fields",
|
|
16698
|
-
description: "Update User Custom Field Values Custom Fields.",
|
|
16699
|
-
safety: "update",
|
|
16700
|
-
destructive: false,
|
|
16701
|
-
cli: {
|
|
16702
|
-
group: ["custom-fields"],
|
|
16703
|
-
command: "update-user-custom-field-values",
|
|
16704
|
-
interactive: "hidden"
|
|
16705
|
-
},
|
|
16706
|
-
mcp: { entityTool: "custom-fields" },
|
|
16707
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16708
|
-
payload: /* @__PURE__ */ unknown$1(),
|
|
16709
|
-
user_id: /* @__PURE__ */ number$2()
|
|
16710
|
-
}),
|
|
16711
|
-
execute: (input, { client }) => {
|
|
16712
|
-
const data = input;
|
|
16713
|
-
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
16714
|
-
client.httpClient,
|
|
16715
|
-
client.organizationId,
|
|
16716
|
-
client.workspaceIdNumber,
|
|
16717
|
-
data.user_id,
|
|
16718
|
-
data.payload ?? data.data ?? data,
|
|
16719
|
-
void 0
|
|
16720
|
-
]));
|
|
16721
|
-
}
|
|
16722
|
-
},
|
|
16723
16524
|
{
|
|
16724
16525
|
id: "focus.goals.create",
|
|
16725
16526
|
family: "focus",
|
|
@@ -16939,22 +16740,10 @@ const generatedFocusOperations = [
|
|
|
16939
16740
|
goal_id: /* @__PURE__ */ number$2(),
|
|
16940
16741
|
payload: /* @__PURE__ */ looseObject({
|
|
16941
16742
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16942
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16943
16743
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16944
16744
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16945
16745
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16946
|
-
|
|
16947
|
-
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
16948
|
-
"daily",
|
|
16949
|
-
"weekly",
|
|
16950
|
-
"daily_workdays",
|
|
16951
|
-
"monthly"
|
|
16952
|
-
])),
|
|
16953
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16954
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16955
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16956
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16957
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16746
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16958
16747
|
})
|
|
16959
16748
|
}),
|
|
16960
16749
|
execute: (input, { client }) => {
|
|
@@ -18287,7 +18076,6 @@ const generatedFocusOperations = [
|
|
|
18287
18076
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18288
18077
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18289
18078
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18290
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18291
18079
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18292
18080
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18293
18081
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -18295,7 +18083,6 @@ const generatedFocusOperations = [
|
|
|
18295
18083
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18296
18084
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18297
18085
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18298
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18299
18086
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18300
18087
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18301
18088
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -20480,10 +20267,7 @@ const generatedFocusOperations = [
|
|
|
20480
20267
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20481
20268
|
name: /* @__PURE__ */ string$1(),
|
|
20482
20269
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20483
|
-
}))
|
|
20484
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20485
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20486
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20270
|
+
}))
|
|
20487
20271
|
}),
|
|
20488
20272
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20489
20273
|
}),
|
|
@@ -20524,28 +20308,6 @@ const generatedFocusOperations = [
|
|
|
20524
20308
|
]));
|
|
20525
20309
|
}
|
|
20526
20310
|
},
|
|
20527
|
-
{
|
|
20528
|
-
id: "focus.reports.get-forecast-availability",
|
|
20529
|
-
family: "focus",
|
|
20530
|
-
resource: "reports",
|
|
20531
|
-
action: "get-forecast-availability",
|
|
20532
|
-
title: "Get Forecast Availability Reports",
|
|
20533
|
-
description: "Get Forecast Availability Reports.",
|
|
20534
|
-
safety: "read",
|
|
20535
|
-
destructive: false,
|
|
20536
|
-
cli: {
|
|
20537
|
-
group: ["reports"],
|
|
20538
|
-
command: "get-forecast-availability",
|
|
20539
|
-
interactive: "hidden"
|
|
20540
|
-
},
|
|
20541
|
-
mcp: { entityTool: "reports" },
|
|
20542
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
20543
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
20544
|
-
client.httpClient,
|
|
20545
|
-
client.workspaceIdNumber,
|
|
20546
|
-
void 0
|
|
20547
|
-
]))
|
|
20548
|
-
},
|
|
20549
20311
|
{
|
|
20550
20312
|
id: "focus.reports.get-profitability",
|
|
20551
20313
|
family: "focus",
|
|
@@ -20605,17 +20367,9 @@ const generatedFocusOperations = [
|
|
|
20605
20367
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20606
20368
|
name: /* @__PURE__ */ string$1(),
|
|
20607
20369
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20608
|
-
}))
|
|
20609
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20610
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20611
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20370
|
+
}))
|
|
20612
20371
|
}),
|
|
20613
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20614
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20615
|
-
"csv",
|
|
20616
|
-
"xlsx",
|
|
20617
|
-
"pdf"
|
|
20618
|
-
]))
|
|
20372
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20619
20373
|
}),
|
|
20620
20374
|
execute: (input, { client }) => {
|
|
20621
20375
|
const data = input;
|
|
@@ -20625,23 +20379,22 @@ const generatedFocusOperations = [
|
|
|
20625
20379
|
data.payload ?? data.data ?? data,
|
|
20626
20380
|
data.response_format,
|
|
20627
20381
|
data.include_dicts,
|
|
20628
|
-
data.xTogglReportExport,
|
|
20629
20382
|
void 0
|
|
20630
20383
|
]));
|
|
20631
20384
|
}
|
|
20632
20385
|
},
|
|
20633
20386
|
{
|
|
20634
|
-
id: "focus.reports.get-
|
|
20387
|
+
id: "focus.reports.get-workload",
|
|
20635
20388
|
family: "focus",
|
|
20636
20389
|
resource: "reports",
|
|
20637
|
-
action: "get-
|
|
20638
|
-
title: "Get
|
|
20639
|
-
description: "Get
|
|
20390
|
+
action: "get-workload",
|
|
20391
|
+
title: "Get Workload Reports",
|
|
20392
|
+
description: "Get Workload Reports.",
|
|
20640
20393
|
safety: "update",
|
|
20641
20394
|
destructive: false,
|
|
20642
20395
|
cli: {
|
|
20643
20396
|
group: ["reports"],
|
|
20644
|
-
command: "get-
|
|
20397
|
+
command: "get-workload",
|
|
20645
20398
|
interactive: "hidden"
|
|
20646
20399
|
},
|
|
20647
20400
|
mcp: { entityTool: "reports" },
|
|
@@ -20687,205 +20440,14 @@ const generatedFocusOperations = [
|
|
|
20687
20440
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20688
20441
|
name: /* @__PURE__ */ string$1(),
|
|
20689
20442
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20690
|
-
}))
|
|
20691
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20692
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20693
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20443
|
+
}))
|
|
20694
20444
|
}) }),
|
|
20695
|
-
execute: (input, { client }) => {
|
|
20696
|
-
const data = input;
|
|
20697
|
-
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
20698
|
-
client.httpClient,
|
|
20699
|
-
client.workspaceIdNumber,
|
|
20700
|
-
data.payload ?? data.data ?? data,
|
|
20701
|
-
void 0
|
|
20702
|
-
]));
|
|
20703
|
-
}
|
|
20704
|
-
},
|
|
20705
|
-
{
|
|
20706
|
-
id: "focus.reports.get-workload",
|
|
20707
|
-
family: "focus",
|
|
20708
|
-
resource: "reports",
|
|
20709
|
-
action: "get-workload",
|
|
20710
|
-
title: "Get Workload Reports",
|
|
20711
|
-
description: "Get Workload Reports.",
|
|
20712
|
-
safety: "update",
|
|
20713
|
-
destructive: false,
|
|
20714
|
-
cli: {
|
|
20715
|
-
group: ["reports"],
|
|
20716
|
-
command: "get-workload",
|
|
20717
|
-
interactive: "hidden"
|
|
20718
|
-
},
|
|
20719
|
-
mcp: { entityTool: "reports" },
|
|
20720
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20721
|
-
payload: /* @__PURE__ */ looseObject({
|
|
20722
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20723
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
20724
|
-
function: /* @__PURE__ */ string$1(),
|
|
20725
|
-
property: /* @__PURE__ */ string$1()
|
|
20726
|
-
}),
|
|
20727
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20728
|
-
property: /* @__PURE__ */ string$1()
|
|
20729
|
-
})),
|
|
20730
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20731
|
-
function: /* @__PURE__ */ string$1(),
|
|
20732
|
-
property: /* @__PURE__ */ string$1()
|
|
20733
|
-
})),
|
|
20734
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20735
|
-
currency: /* @__PURE__ */ string$1(),
|
|
20736
|
-
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20737
|
-
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
20738
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20739
|
-
property: /* @__PURE__ */ string$1()
|
|
20740
|
-
})),
|
|
20741
|
-
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20742
|
-
property: /* @__PURE__ */ string$1(),
|
|
20743
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
20744
|
-
})),
|
|
20745
|
-
limit: /* @__PURE__ */ number$2(),
|
|
20746
|
-
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20747
|
-
direction: /* @__PURE__ */ string$1(),
|
|
20748
|
-
nulls: /* @__PURE__ */ string$1(),
|
|
20749
|
-
property: /* @__PURE__ */ string$1()
|
|
20750
|
-
})),
|
|
20751
|
-
pagination: /* @__PURE__ */ looseObject({
|
|
20752
|
-
page: /* @__PURE__ */ number$2(),
|
|
20753
|
-
per_page: /* @__PURE__ */ number$2()
|
|
20754
|
-
}),
|
|
20755
|
-
period: /* @__PURE__ */ looseObject({
|
|
20756
|
-
from: /* @__PURE__ */ string$1(),
|
|
20757
|
-
preset: /* @__PURE__ */ string$1(),
|
|
20758
|
-
to: /* @__PURE__ */ string$1()
|
|
20759
|
-
}),
|
|
20760
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20761
|
-
name: /* @__PURE__ */ string$1(),
|
|
20762
|
-
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20763
|
-
})),
|
|
20764
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20765
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20766
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20767
|
-
}),
|
|
20768
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20769
|
-
"csv",
|
|
20770
|
-
"xlsx",
|
|
20771
|
-
"pdf"
|
|
20772
|
-
]))
|
|
20773
|
-
}),
|
|
20774
20445
|
execute: (input, { client }) => {
|
|
20775
20446
|
const data = input;
|
|
20776
20447
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
20777
20448
|
client.httpClient,
|
|
20778
20449
|
client.workspaceIdNumber,
|
|
20779
20450
|
data.payload ?? data.data ?? data,
|
|
20780
|
-
data.xTogglReportExport,
|
|
20781
|
-
void 0
|
|
20782
|
-
]));
|
|
20783
|
-
}
|
|
20784
|
-
},
|
|
20785
|
-
{
|
|
20786
|
-
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
20787
|
-
family: "focus",
|
|
20788
|
-
resource: "reportschedules",
|
|
20789
|
-
action: "delete-shared-report-schedule",
|
|
20790
|
-
title: "Delete Shared Report Schedule Reportschedules",
|
|
20791
|
-
description: "Delete Shared Report Schedule Reportschedules.",
|
|
20792
|
-
safety: "delete",
|
|
20793
|
-
destructive: true,
|
|
20794
|
-
cli: {
|
|
20795
|
-
group: ["reportschedules"],
|
|
20796
|
-
command: "delete-shared-report-schedule",
|
|
20797
|
-
interactive: "default"
|
|
20798
|
-
},
|
|
20799
|
-
mcp: { entityTool: "reportschedules" },
|
|
20800
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
20801
|
-
execute: (input, { client }) => {
|
|
20802
|
-
const data = input;
|
|
20803
|
-
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
20804
|
-
client.httpClient,
|
|
20805
|
-
client.workspaceIdNumber,
|
|
20806
|
-
data.id,
|
|
20807
|
-
void 0
|
|
20808
|
-
]));
|
|
20809
|
-
}
|
|
20810
|
-
},
|
|
20811
|
-
{
|
|
20812
|
-
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
20813
|
-
family: "focus",
|
|
20814
|
-
resource: "reportschedules",
|
|
20815
|
-
action: "upsert-saved-view-schedule",
|
|
20816
|
-
title: "Upsert Saved View Schedule Reportschedules",
|
|
20817
|
-
description: "Upsert Saved View Schedule Reportschedules.",
|
|
20818
|
-
safety: "update",
|
|
20819
|
-
destructive: false,
|
|
20820
|
-
cli: {
|
|
20821
|
-
group: ["reportschedules"],
|
|
20822
|
-
command: "upsert-saved-view-schedule",
|
|
20823
|
-
interactive: "default"
|
|
20824
|
-
},
|
|
20825
|
-
mcp: { entityTool: "reportschedules" },
|
|
20826
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20827
|
-
id: /* @__PURE__ */ number$2(),
|
|
20828
|
-
payload: /* @__PURE__ */ looseObject({
|
|
20829
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
20830
|
-
"daily",
|
|
20831
|
-
"weekly",
|
|
20832
|
-
"monthly"
|
|
20833
|
-
]),
|
|
20834
|
-
time: /* @__PURE__ */ string$1(),
|
|
20835
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20836
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20837
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20838
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
20839
|
-
})
|
|
20840
|
-
}),
|
|
20841
|
-
execute: (input, { client }) => {
|
|
20842
|
-
const data = input;
|
|
20843
|
-
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
20844
|
-
client.httpClient,
|
|
20845
|
-
client.workspaceIdNumber,
|
|
20846
|
-
data.id,
|
|
20847
|
-
data.payload ?? data.data ?? data,
|
|
20848
|
-
void 0
|
|
20849
|
-
]));
|
|
20850
|
-
}
|
|
20851
|
-
},
|
|
20852
|
-
{
|
|
20853
|
-
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
20854
|
-
family: "focus",
|
|
20855
|
-
resource: "reportschedules",
|
|
20856
|
-
action: "upsert-shared-report-schedule",
|
|
20857
|
-
title: "Upsert Shared Report Schedule Reportschedules",
|
|
20858
|
-
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
20859
|
-
safety: "update",
|
|
20860
|
-
destructive: false,
|
|
20861
|
-
cli: {
|
|
20862
|
-
group: ["reportschedules"],
|
|
20863
|
-
command: "upsert-shared-report-schedule",
|
|
20864
|
-
interactive: "default"
|
|
20865
|
-
},
|
|
20866
|
-
mcp: { entityTool: "reportschedules" },
|
|
20867
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20868
|
-
id: /* @__PURE__ */ number$2(),
|
|
20869
|
-
payload: /* @__PURE__ */ looseObject({
|
|
20870
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
20871
|
-
"daily",
|
|
20872
|
-
"weekly",
|
|
20873
|
-
"monthly"
|
|
20874
|
-
]),
|
|
20875
|
-
time: /* @__PURE__ */ string$1(),
|
|
20876
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20877
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20878
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20879
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
20880
|
-
})
|
|
20881
|
-
}),
|
|
20882
|
-
execute: (input, { client }) => {
|
|
20883
|
-
const data = input;
|
|
20884
|
-
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
20885
|
-
client.httpClient,
|
|
20886
|
-
client.workspaceIdNumber,
|
|
20887
|
-
data.id,
|
|
20888
|
-
data.payload ?? data.data ?? data,
|
|
20889
20451
|
void 0
|
|
20890
20452
|
]));
|
|
20891
20453
|
}
|
|
@@ -20923,9 +20485,7 @@ const generatedFocusOperations = [
|
|
|
20923
20485
|
"reports.detailed",
|
|
20924
20486
|
"reports.utilization",
|
|
20925
20487
|
"reports.workload",
|
|
20926
|
-
"reports.profitability"
|
|
20927
|
-
"reports.time-off",
|
|
20928
|
-
"reports.time-accounting"
|
|
20488
|
+
"reports.profitability"
|
|
20929
20489
|
]),
|
|
20930
20490
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20931
20491
|
}) }),
|
|
@@ -21049,37 +20609,7 @@ const generatedFocusOperations = [
|
|
|
21049
20609
|
}
|
|
21050
20610
|
},
|
|
21051
20611
|
{
|
|
21052
|
-
id: "focus.search.
|
|
21053
|
-
family: "focus",
|
|
21054
|
-
resource: "search",
|
|
21055
|
-
action: "mentions",
|
|
21056
|
-
title: "Mentions Search",
|
|
21057
|
-
description: "Mentions Search.",
|
|
21058
|
-
safety: "read",
|
|
21059
|
-
destructive: false,
|
|
21060
|
-
cli: {
|
|
21061
|
-
group: ["search"],
|
|
21062
|
-
command: "mentions",
|
|
21063
|
-
interactive: "hidden"
|
|
21064
|
-
},
|
|
21065
|
-
mcp: { entityTool: "search" },
|
|
21066
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21067
|
-
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21068
|
-
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21069
|
-
}),
|
|
21070
|
-
execute: (input, { client }) => {
|
|
21071
|
-
const data = input;
|
|
21072
|
-
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
21073
|
-
client.httpClient,
|
|
21074
|
-
client.organizationId,
|
|
21075
|
-
client.workspaceIdNumber,
|
|
21076
|
-
data,
|
|
21077
|
-
void 0
|
|
21078
|
-
]));
|
|
21079
|
-
}
|
|
21080
|
-
},
|
|
21081
|
-
{
|
|
21082
|
-
id: "focus.search.search",
|
|
20612
|
+
id: "focus.search.search",
|
|
21083
20613
|
family: "focus",
|
|
21084
20614
|
resource: "search",
|
|
21085
20615
|
action: "search",
|
|
@@ -21105,240 +20635,6 @@ const generatedFocusOperations = [
|
|
|
21105
20635
|
]));
|
|
21106
20636
|
}
|
|
21107
20637
|
},
|
|
21108
|
-
{
|
|
21109
|
-
id: "focus.sharedreports.add-shared-report-grants",
|
|
21110
|
-
family: "focus",
|
|
21111
|
-
resource: "sharedreports",
|
|
21112
|
-
action: "add-shared-report-grants",
|
|
21113
|
-
title: "Add Shared Report Grants Sharedreports",
|
|
21114
|
-
description: "Add Shared Report Grants Sharedreports.",
|
|
21115
|
-
safety: "update",
|
|
21116
|
-
destructive: false,
|
|
21117
|
-
cli: {
|
|
21118
|
-
group: ["sharedreports"],
|
|
21119
|
-
command: "add-shared-report-grants",
|
|
21120
|
-
interactive: "default"
|
|
21121
|
-
},
|
|
21122
|
-
mcp: { entityTool: "sharedreports" },
|
|
21123
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21124
|
-
id: /* @__PURE__ */ number$2(),
|
|
21125
|
-
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21126
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21127
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21128
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21129
|
-
})) })
|
|
21130
|
-
}),
|
|
21131
|
-
execute: (input, { client }) => {
|
|
21132
|
-
const data = input;
|
|
21133
|
-
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
21134
|
-
client.httpClient,
|
|
21135
|
-
client.workspaceIdNumber,
|
|
21136
|
-
data.id,
|
|
21137
|
-
data.payload ?? data.data ?? data,
|
|
21138
|
-
void 0
|
|
21139
|
-
]));
|
|
21140
|
-
}
|
|
21141
|
-
},
|
|
21142
|
-
{
|
|
21143
|
-
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
21144
|
-
family: "focus",
|
|
21145
|
-
resource: "sharedreports",
|
|
21146
|
-
action: "get-saved-view-shared-report",
|
|
21147
|
-
title: "Get Saved View Shared Report Sharedreports",
|
|
21148
|
-
description: "Get Saved View Shared Report Sharedreports.",
|
|
21149
|
-
safety: "read",
|
|
21150
|
-
destructive: false,
|
|
21151
|
-
cli: {
|
|
21152
|
-
group: ["sharedreports"],
|
|
21153
|
-
command: "get-saved-view-shared-report",
|
|
21154
|
-
interactive: "available"
|
|
21155
|
-
},
|
|
21156
|
-
mcp: { entityTool: "sharedreports" },
|
|
21157
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21158
|
-
execute: (input, { client }) => {
|
|
21159
|
-
const data = input;
|
|
21160
|
-
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
21161
|
-
client.httpClient,
|
|
21162
|
-
client.workspaceIdNumber,
|
|
21163
|
-
data.id,
|
|
21164
|
-
void 0
|
|
21165
|
-
]));
|
|
21166
|
-
}
|
|
21167
|
-
},
|
|
21168
|
-
{
|
|
21169
|
-
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21170
|
-
family: "focus",
|
|
21171
|
-
resource: "sharedreports",
|
|
21172
|
-
action: "get-shared-report-for-viewer",
|
|
21173
|
-
title: "Get Shared Report For Viewer Sharedreports",
|
|
21174
|
-
description: "Get Shared Report For Viewer Sharedreports.",
|
|
21175
|
-
safety: "read",
|
|
21176
|
-
destructive: false,
|
|
21177
|
-
cli: {
|
|
21178
|
-
group: ["sharedreports"],
|
|
21179
|
-
command: "get-shared-report-for-viewer",
|
|
21180
|
-
interactive: "available"
|
|
21181
|
-
},
|
|
21182
|
-
mcp: { entityTool: "sharedreports" },
|
|
21183
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21184
|
-
execute: (input, { client }) => {
|
|
21185
|
-
const data = input;
|
|
21186
|
-
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
21187
|
-
client.httpClient,
|
|
21188
|
-
client.workspaceIdNumber,
|
|
21189
|
-
data.id,
|
|
21190
|
-
void 0
|
|
21191
|
-
]));
|
|
21192
|
-
}
|
|
21193
|
-
},
|
|
21194
|
-
{
|
|
21195
|
-
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
21196
|
-
family: "focus",
|
|
21197
|
-
resource: "sharedreports",
|
|
21198
|
-
action: "get-shared-reports-shared-by-me",
|
|
21199
|
-
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
21200
|
-
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
21201
|
-
safety: "read",
|
|
21202
|
-
destructive: false,
|
|
21203
|
-
cli: {
|
|
21204
|
-
group: ["sharedreports"],
|
|
21205
|
-
command: "get-shared-reports-shared-by-me",
|
|
21206
|
-
interactive: "hidden"
|
|
21207
|
-
},
|
|
21208
|
-
mcp: { entityTool: "sharedreports" },
|
|
21209
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21210
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
21211
|
-
client.httpClient,
|
|
21212
|
-
client.workspaceIdNumber,
|
|
21213
|
-
void 0
|
|
21214
|
-
]))
|
|
21215
|
-
},
|
|
21216
|
-
{
|
|
21217
|
-
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
21218
|
-
family: "focus",
|
|
21219
|
-
resource: "sharedreports",
|
|
21220
|
-
action: "get-shared-reports-shared-with-me",
|
|
21221
|
-
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
21222
|
-
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
21223
|
-
safety: "read",
|
|
21224
|
-
destructive: false,
|
|
21225
|
-
cli: {
|
|
21226
|
-
group: ["sharedreports"],
|
|
21227
|
-
command: "get-shared-reports-shared-with-me",
|
|
21228
|
-
interactive: "hidden"
|
|
21229
|
-
},
|
|
21230
|
-
mcp: { entityTool: "sharedreports" },
|
|
21231
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21232
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
21233
|
-
client.httpClient,
|
|
21234
|
-
client.workspaceIdNumber,
|
|
21235
|
-
void 0
|
|
21236
|
-
]))
|
|
21237
|
-
},
|
|
21238
|
-
{
|
|
21239
|
-
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21240
|
-
family: "focus",
|
|
21241
|
-
resource: "sharedreports",
|
|
21242
|
-
action: "revoke-shared-report-grant",
|
|
21243
|
-
title: "Revoke Shared Report Grant Sharedreports",
|
|
21244
|
-
description: "Revoke Shared Report Grant Sharedreports.",
|
|
21245
|
-
safety: "delete",
|
|
21246
|
-
destructive: true,
|
|
21247
|
-
cli: {
|
|
21248
|
-
group: ["sharedreports"],
|
|
21249
|
-
command: "revoke-shared-report-grant",
|
|
21250
|
-
interactive: "default"
|
|
21251
|
-
},
|
|
21252
|
-
mcp: { entityTool: "sharedreports" },
|
|
21253
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21254
|
-
grant_id: /* @__PURE__ */ number$2(),
|
|
21255
|
-
id: /* @__PURE__ */ number$2()
|
|
21256
|
-
}),
|
|
21257
|
-
execute: (input, { client }) => {
|
|
21258
|
-
const data = input;
|
|
21259
|
-
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
21260
|
-
client.httpClient,
|
|
21261
|
-
client.workspaceIdNumber,
|
|
21262
|
-
data.id,
|
|
21263
|
-
data.grant_id,
|
|
21264
|
-
void 0
|
|
21265
|
-
]));
|
|
21266
|
-
}
|
|
21267
|
-
},
|
|
21268
|
-
{
|
|
21269
|
-
id: "focus.sharedreports.share-saved-view",
|
|
21270
|
-
family: "focus",
|
|
21271
|
-
resource: "sharedreports",
|
|
21272
|
-
action: "share-saved-view",
|
|
21273
|
-
title: "Share Saved View Sharedreports",
|
|
21274
|
-
description: "Share Saved View Sharedreports.",
|
|
21275
|
-
safety: "update",
|
|
21276
|
-
destructive: false,
|
|
21277
|
-
cli: {
|
|
21278
|
-
group: ["sharedreports"],
|
|
21279
|
-
command: "share-saved-view",
|
|
21280
|
-
interactive: "hidden"
|
|
21281
|
-
},
|
|
21282
|
-
mcp: { entityTool: "sharedreports" },
|
|
21283
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21284
|
-
id: /* @__PURE__ */ number$2(),
|
|
21285
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21286
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21287
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21288
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21289
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21290
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21291
|
-
})
|
|
21292
|
-
}),
|
|
21293
|
-
execute: (input, { client }) => {
|
|
21294
|
-
const data = input;
|
|
21295
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21296
|
-
client.httpClient,
|
|
21297
|
-
client.workspaceIdNumber,
|
|
21298
|
-
data.id,
|
|
21299
|
-
data.payload ?? data.data ?? data,
|
|
21300
|
-
void 0
|
|
21301
|
-
]));
|
|
21302
|
-
}
|
|
21303
|
-
},
|
|
21304
|
-
{
|
|
21305
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
21306
|
-
family: "focus",
|
|
21307
|
-
resource: "sharedreports",
|
|
21308
|
-
action: "share-saved-view-many",
|
|
21309
|
-
title: "Share Saved View Many Sharedreports",
|
|
21310
|
-
description: "Share Saved View Many Sharedreports.",
|
|
21311
|
-
safety: "update",
|
|
21312
|
-
destructive: false,
|
|
21313
|
-
cli: {
|
|
21314
|
-
group: ["sharedreports"],
|
|
21315
|
-
command: "share-saved-view-many",
|
|
21316
|
-
interactive: "hidden"
|
|
21317
|
-
},
|
|
21318
|
-
mcp: { entityTool: "sharedreports" },
|
|
21319
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21320
|
-
id: /* @__PURE__ */ number$2(),
|
|
21321
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21322
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21323
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21324
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21325
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21326
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21327
|
-
})),
|
|
21328
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21329
|
-
})
|
|
21330
|
-
}),
|
|
21331
|
-
execute: (input, { client }) => {
|
|
21332
|
-
const data = input;
|
|
21333
|
-
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21334
|
-
client.httpClient,
|
|
21335
|
-
client.workspaceIdNumber,
|
|
21336
|
-
data.id,
|
|
21337
|
-
data.payload ?? data.data ?? data,
|
|
21338
|
-
void 0
|
|
21339
|
-
]));
|
|
21340
|
-
}
|
|
21341
|
-
},
|
|
21342
20638
|
{
|
|
21343
20639
|
id: "focus.statuses.create-status",
|
|
21344
20640
|
family: "focus",
|
|
@@ -21595,181 +20891,22 @@ const generatedFocusOperations = [
|
|
|
21595
20891
|
family: "focus",
|
|
21596
20892
|
resource: "subscriptions",
|
|
21597
20893
|
action: "upsert-forced-trial",
|
|
21598
|
-
title: "Upsert Forced Trial Subscriptions",
|
|
21599
|
-
description: "Upsert Forced Trial Subscriptions.",
|
|
21600
|
-
safety: "update",
|
|
21601
|
-
destructive: false,
|
|
21602
|
-
cli: {
|
|
21603
|
-
group: ["subscriptions"],
|
|
21604
|
-
command: "upsert-forced-trial",
|
|
21605
|
-
interactive: "default"
|
|
21606
|
-
},
|
|
21607
|
-
mcp: { entityTool: "subscriptions" },
|
|
21608
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21609
|
-
execute: (input, { client }) => {
|
|
21610
|
-
const data = input;
|
|
21611
|
-
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
21612
|
-
client.httpClient,
|
|
21613
|
-
client.organizationId,
|
|
21614
|
-
client.workspaceIdNumber,
|
|
21615
|
-
data.payload ?? data.data ?? data,
|
|
21616
|
-
void 0
|
|
21617
|
-
]));
|
|
21618
|
-
}
|
|
21619
|
-
},
|
|
21620
|
-
{
|
|
21621
|
-
id: "focus.tags.archive",
|
|
21622
|
-
family: "focus",
|
|
21623
|
-
resource: "tags",
|
|
21624
|
-
action: "archive",
|
|
21625
|
-
title: "Archive Tags",
|
|
21626
|
-
description: "Archive Tags.",
|
|
21627
|
-
safety: "update",
|
|
21628
|
-
destructive: false,
|
|
21629
|
-
cli: {
|
|
21630
|
-
group: ["tags"],
|
|
21631
|
-
command: "archive",
|
|
21632
|
-
interactive: "default"
|
|
21633
|
-
},
|
|
21634
|
-
mcp: { entityTool: "tags" },
|
|
21635
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
21636
|
-
execute: (input, { client }) => {
|
|
21637
|
-
const data = input;
|
|
21638
|
-
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
21639
|
-
client.httpClient,
|
|
21640
|
-
client.workspaceIdNumber,
|
|
21641
|
-
data.tag_id,
|
|
21642
|
-
void 0
|
|
21643
|
-
]));
|
|
21644
|
-
}
|
|
21645
|
-
},
|
|
21646
|
-
{
|
|
21647
|
-
id: "focus.tags.bulk-archive",
|
|
21648
|
-
family: "focus",
|
|
21649
|
-
resource: "tags",
|
|
21650
|
-
action: "bulk-archive",
|
|
21651
|
-
title: "Bulk Archive Tags",
|
|
21652
|
-
description: "Bulk Archive Tags.",
|
|
21653
|
-
safety: "update",
|
|
21654
|
-
destructive: false,
|
|
21655
|
-
cli: {
|
|
21656
|
-
group: ["tags", "bulk"],
|
|
21657
|
-
command: "archive",
|
|
21658
|
-
interactive: "default"
|
|
21659
|
-
},
|
|
21660
|
-
mcp: { entityTool: "tags" },
|
|
21661
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21662
|
-
execute: (input, { client }) => {
|
|
21663
|
-
const data = input;
|
|
21664
|
-
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
21665
|
-
client.httpClient,
|
|
21666
|
-
client.workspaceIdNumber,
|
|
21667
|
-
data.payload ?? data.data ?? data,
|
|
21668
|
-
void 0
|
|
21669
|
-
]));
|
|
21670
|
-
}
|
|
21671
|
-
},
|
|
21672
|
-
{
|
|
21673
|
-
id: "focus.tags.bulk-create",
|
|
21674
|
-
family: "focus",
|
|
21675
|
-
resource: "tags",
|
|
21676
|
-
action: "bulk-create",
|
|
21677
|
-
title: "Bulk Create Tags",
|
|
21678
|
-
description: "Bulk Create Tags.",
|
|
21679
|
-
safety: "create",
|
|
21680
|
-
destructive: false,
|
|
21681
|
-
cli: {
|
|
21682
|
-
group: ["tags", "bulk"],
|
|
21683
|
-
command: "create",
|
|
21684
|
-
interactive: "default"
|
|
21685
|
-
},
|
|
21686
|
-
mcp: { entityTool: "tags" },
|
|
21687
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21688
|
-
color: /* @__PURE__ */ string$1(),
|
|
21689
|
-
name: /* @__PURE__ */ string$1()
|
|
21690
|
-
})) }) }),
|
|
21691
|
-
execute: (input, { client }) => {
|
|
21692
|
-
const data = input;
|
|
21693
|
-
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
21694
|
-
client.httpClient,
|
|
21695
|
-
client.workspaceIdNumber,
|
|
21696
|
-
data.payload ?? data.data ?? data,
|
|
21697
|
-
void 0
|
|
21698
|
-
]));
|
|
21699
|
-
}
|
|
21700
|
-
},
|
|
21701
|
-
{
|
|
21702
|
-
id: "focus.tags.bulk-delete",
|
|
21703
|
-
family: "focus",
|
|
21704
|
-
resource: "tags",
|
|
21705
|
-
action: "bulk-delete",
|
|
21706
|
-
title: "Bulk Delete Tags",
|
|
21707
|
-
description: "Bulk Delete Tags.",
|
|
21708
|
-
safety: "delete",
|
|
21709
|
-
destructive: true,
|
|
21710
|
-
cli: {
|
|
21711
|
-
group: ["tags", "bulk"],
|
|
21712
|
-
command: "delete",
|
|
21713
|
-
interactive: "default"
|
|
21714
|
-
},
|
|
21715
|
-
mcp: { entityTool: "tags" },
|
|
21716
|
-
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
21717
|
-
execute: (input, { client }) => {
|
|
21718
|
-
const data = input;
|
|
21719
|
-
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
21720
|
-
client.httpClient,
|
|
21721
|
-
client.workspaceIdNumber,
|
|
21722
|
-
data.ids,
|
|
21723
|
-
void 0
|
|
21724
|
-
]));
|
|
21725
|
-
}
|
|
21726
|
-
},
|
|
21727
|
-
{
|
|
21728
|
-
id: "focus.tags.bulk-restore",
|
|
21729
|
-
family: "focus",
|
|
21730
|
-
resource: "tags",
|
|
21731
|
-
action: "bulk-restore",
|
|
21732
|
-
title: "Bulk Restore Tags",
|
|
21733
|
-
description: "Bulk Restore Tags.",
|
|
21734
|
-
safety: "update",
|
|
21735
|
-
destructive: false,
|
|
21736
|
-
cli: {
|
|
21737
|
-
group: ["tags", "bulk"],
|
|
21738
|
-
command: "restore",
|
|
21739
|
-
interactive: "default"
|
|
21740
|
-
},
|
|
21741
|
-
mcp: { entityTool: "tags" },
|
|
21742
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21743
|
-
execute: (input, { client }) => {
|
|
21744
|
-
const data = input;
|
|
21745
|
-
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
21746
|
-
client.httpClient,
|
|
21747
|
-
client.workspaceIdNumber,
|
|
21748
|
-
data.payload ?? data.data ?? data,
|
|
21749
|
-
void 0
|
|
21750
|
-
]));
|
|
21751
|
-
}
|
|
21752
|
-
},
|
|
21753
|
-
{
|
|
21754
|
-
id: "focus.tags.bulk-unarchive",
|
|
21755
|
-
family: "focus",
|
|
21756
|
-
resource: "tags",
|
|
21757
|
-
action: "bulk-unarchive",
|
|
21758
|
-
title: "Bulk Unarchive Tags",
|
|
21759
|
-
description: "Bulk Unarchive Tags.",
|
|
20894
|
+
title: "Upsert Forced Trial Subscriptions",
|
|
20895
|
+
description: "Upsert Forced Trial Subscriptions.",
|
|
21760
20896
|
safety: "update",
|
|
21761
20897
|
destructive: false,
|
|
21762
20898
|
cli: {
|
|
21763
|
-
group: ["
|
|
21764
|
-
command: "
|
|
20899
|
+
group: ["subscriptions"],
|
|
20900
|
+
command: "upsert-forced-trial",
|
|
21765
20901
|
interactive: "default"
|
|
21766
20902
|
},
|
|
21767
|
-
mcp: { entityTool: "
|
|
21768
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
20903
|
+
mcp: { entityTool: "subscriptions" },
|
|
20904
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21769
20905
|
execute: (input, { client }) => {
|
|
21770
20906
|
const data = input;
|
|
21771
|
-
return client.runGeneratedRequest("
|
|
20907
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
21772
20908
|
client.httpClient,
|
|
20909
|
+
client.organizationId,
|
|
21773
20910
|
client.workspaceIdNumber,
|
|
21774
20911
|
data.payload ?? data.data ?? data,
|
|
21775
20912
|
void 0
|
|
@@ -21860,35 +20997,6 @@ const generatedFocusOperations = [
|
|
|
21860
20997
|
return client.listTags(data);
|
|
21861
20998
|
}
|
|
21862
20999
|
},
|
|
21863
|
-
{
|
|
21864
|
-
id: "focus.tags.merge",
|
|
21865
|
-
family: "focus",
|
|
21866
|
-
resource: "tags",
|
|
21867
|
-
action: "merge",
|
|
21868
|
-
title: "Merge Tags",
|
|
21869
|
-
description: "Merge Tags.",
|
|
21870
|
-
safety: "update",
|
|
21871
|
-
destructive: false,
|
|
21872
|
-
cli: {
|
|
21873
|
-
group: ["tags"],
|
|
21874
|
-
command: "merge",
|
|
21875
|
-
interactive: "default"
|
|
21876
|
-
},
|
|
21877
|
-
mcp: { entityTool: "tags" },
|
|
21878
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
21879
|
-
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
21880
|
-
target_id: /* @__PURE__ */ number$2()
|
|
21881
|
-
}) }),
|
|
21882
|
-
execute: (input, { client }) => {
|
|
21883
|
-
const data = input;
|
|
21884
|
-
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
21885
|
-
client.httpClient,
|
|
21886
|
-
client.workspaceIdNumber,
|
|
21887
|
-
data.payload ?? data.data ?? data,
|
|
21888
|
-
void 0
|
|
21889
|
-
]));
|
|
21890
|
-
}
|
|
21891
|
-
},
|
|
21892
21000
|
{
|
|
21893
21001
|
id: "focus.tags.restore",
|
|
21894
21002
|
family: "focus",
|
|
@@ -21915,32 +21023,6 @@ const generatedFocusOperations = [
|
|
|
21915
21023
|
]));
|
|
21916
21024
|
}
|
|
21917
21025
|
},
|
|
21918
|
-
{
|
|
21919
|
-
id: "focus.tags.unarchive",
|
|
21920
|
-
family: "focus",
|
|
21921
|
-
resource: "tags",
|
|
21922
|
-
action: "unarchive",
|
|
21923
|
-
title: "Unarchive Tags",
|
|
21924
|
-
description: "Unarchive Tags.",
|
|
21925
|
-
safety: "update",
|
|
21926
|
-
destructive: false,
|
|
21927
|
-
cli: {
|
|
21928
|
-
group: ["tags"],
|
|
21929
|
-
command: "unarchive",
|
|
21930
|
-
interactive: "default"
|
|
21931
|
-
},
|
|
21932
|
-
mcp: { entityTool: "tags" },
|
|
21933
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
21934
|
-
execute: (input, { client }) => {
|
|
21935
|
-
const data = input;
|
|
21936
|
-
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
21937
|
-
client.httpClient,
|
|
21938
|
-
client.workspaceIdNumber,
|
|
21939
|
-
data.tag_id,
|
|
21940
|
-
void 0
|
|
21941
|
-
]));
|
|
21942
|
-
}
|
|
21943
|
-
},
|
|
21944
21026
|
{
|
|
21945
21027
|
id: "focus.tags.update",
|
|
21946
21028
|
family: "focus",
|
|
@@ -22622,12 +21704,12 @@ const generatedFocusOperations = [
|
|
|
22622
21704
|
mcp: { entityTool: "tasks" },
|
|
22623
21705
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22624
21706
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22625
|
-
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22626
21707
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22627
21708
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22628
21709
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22629
21710
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22630
21711
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21712
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22631
21713
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22632
21714
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22633
21715
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22664,6 +21746,7 @@ const generatedFocusOperations = [
|
|
|
22664
21746
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22665
21747
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22666
21748
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21749
|
+
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22667
21750
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22668
21751
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22669
21752
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22680,6 +21763,7 @@ const generatedFocusOperations = [
|
|
|
22680
21763
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22681
21764
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22682
21765
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21766
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22683
21767
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22684
21768
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22685
21769
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22735,6 +21819,7 @@ const generatedFocusOperations = [
|
|
|
22735
21819
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22736
21820
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22737
21821
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21822
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22738
21823
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22739
21824
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22740
21825
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22775,6 +21860,7 @@ const generatedFocusOperations = [
|
|
|
22775
21860
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22776
21861
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22777
21862
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21863
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22778
21864
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22779
21865
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22780
21866
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22815,7 +21901,6 @@ const generatedFocusOperations = [
|
|
|
22815
21901
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22816
21902
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22817
21903
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22818
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22819
21904
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22820
21905
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22821
21906
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22829,8 +21914,7 @@ const generatedFocusOperations = [
|
|
|
22829
21914
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22830
21915
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22831
21916
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22832
|
-
|
|
22833
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21917
|
+
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22834
21918
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22835
21919
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22836
21920
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22846,7 +21930,6 @@ const generatedFocusOperations = [
|
|
|
22846
21930
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22847
21931
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22848
21932
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22849
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22850
21933
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22851
21934
|
}),
|
|
22852
21935
|
execute: (input, { client }) => {
|
|
@@ -22861,118 +21944,6 @@ const generatedFocusOperations = [
|
|
|
22861
21944
|
]));
|
|
22862
21945
|
}
|
|
22863
21946
|
},
|
|
22864
|
-
{
|
|
22865
|
-
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
22866
|
-
family: "focus",
|
|
22867
|
-
resource: "tasks",
|
|
22868
|
-
action: "groups-get-user-task-groups-by-project",
|
|
22869
|
-
title: "Groups Get User Task Groups By Project Tasks",
|
|
22870
|
-
description: "Groups Get User Task Groups By Project Tasks.",
|
|
22871
|
-
safety: "read",
|
|
22872
|
-
destructive: false,
|
|
22873
|
-
cli: {
|
|
22874
|
-
group: ["tasks", "groups"],
|
|
22875
|
-
command: "get-user-task-groups-by-project",
|
|
22876
|
-
interactive: "hidden"
|
|
22877
|
-
},
|
|
22878
|
-
mcp: { entityTool: "tasks" },
|
|
22879
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22880
|
-
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
22881
|
-
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
22882
|
-
client_id: /* @__PURE__ */ number$2(),
|
|
22883
|
-
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
22884
|
-
creator_id: /* @__PURE__ */ number$2(),
|
|
22885
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
22886
|
-
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
22887
|
-
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
22888
|
-
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
22889
|
-
group_id: /* @__PURE__ */ number$2(),
|
|
22890
|
-
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
22891
|
-
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
22892
|
-
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
22893
|
-
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
22894
|
-
min_days: /* @__PURE__ */ unknown$1(),
|
|
22895
|
-
name: /* @__PURE__ */ unknown$1(),
|
|
22896
|
-
priority: /* @__PURE__ */ unknown$1(),
|
|
22897
|
-
private_: /* @__PURE__ */ unknown$1(),
|
|
22898
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
22899
|
-
source: /* @__PURE__ */ unknown$1(),
|
|
22900
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
22901
|
-
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
22902
|
-
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
22903
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
22904
|
-
tag_id: /* @__PURE__ */ number$2(),
|
|
22905
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
22906
|
-
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
22907
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
22908
|
-
}),
|
|
22909
|
-
execute: (input, { client }) => {
|
|
22910
|
-
const data = input;
|
|
22911
|
-
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
22912
|
-
client.httpClient,
|
|
22913
|
-
client.organizationId,
|
|
22914
|
-
client.workspaceIdNumber,
|
|
22915
|
-
data,
|
|
22916
|
-
void 0
|
|
22917
|
-
]));
|
|
22918
|
-
}
|
|
22919
|
-
},
|
|
22920
|
-
{
|
|
22921
|
-
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
22922
|
-
family: "focus",
|
|
22923
|
-
resource: "tasks",
|
|
22924
|
-
action: "groups-get-user-task-groups-by-team",
|
|
22925
|
-
title: "Groups Get User Task Groups By Team Tasks",
|
|
22926
|
-
description: "Groups Get User Task Groups By Team Tasks.",
|
|
22927
|
-
safety: "read",
|
|
22928
|
-
destructive: false,
|
|
22929
|
-
cli: {
|
|
22930
|
-
group: ["tasks", "groups"],
|
|
22931
|
-
command: "get-user-task-groups-by-team",
|
|
22932
|
-
interactive: "hidden"
|
|
22933
|
-
},
|
|
22934
|
-
mcp: { entityTool: "tasks" },
|
|
22935
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22936
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22937
|
-
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22938
|
-
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22939
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22940
|
-
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22941
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22942
|
-
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22943
|
-
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22944
|
-
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22945
|
-
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22946
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22947
|
-
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22948
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22949
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22950
|
-
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22951
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22952
|
-
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22953
|
-
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22954
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22955
|
-
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22956
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22957
|
-
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22958
|
-
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22959
|
-
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22960
|
-
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22961
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22962
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22963
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22964
|
-
}),
|
|
22965
|
-
execute: (input, { client }) => {
|
|
22966
|
-
const data = input;
|
|
22967
|
-
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
22968
|
-
client.httpClient,
|
|
22969
|
-
client.organizationId,
|
|
22970
|
-
client.workspaceIdNumber,
|
|
22971
|
-
data,
|
|
22972
|
-
void 0
|
|
22973
|
-
]));
|
|
22974
|
-
}
|
|
22975
|
-
},
|
|
22976
21947
|
{
|
|
22977
21948
|
id: "focus.tasks.groups-update",
|
|
22978
21949
|
family: "focus",
|
|
@@ -23178,6 +22149,7 @@ const generatedFocusOperations = [
|
|
|
23178
22149
|
name: /* @__PURE__ */ string$1(),
|
|
23179
22150
|
status_id: /* @__PURE__ */ number$2(),
|
|
23180
22151
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22152
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23181
22153
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23182
22154
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23183
22155
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -23197,7 +22169,6 @@ const generatedFocusOperations = [
|
|
|
23197
22169
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23198
22170
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23199
22171
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23200
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23201
22172
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
23202
22173
|
}),
|
|
23203
22174
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -24206,40 +23177,6 @@ const generatedFocusOperations = [
|
|
|
24206
23177
|
]));
|
|
24207
23178
|
}
|
|
24208
23179
|
},
|
|
24209
|
-
{
|
|
24210
|
-
id: "focus.time-entries.groups-get-users",
|
|
24211
|
-
family: "focus",
|
|
24212
|
-
resource: "time-entries",
|
|
24213
|
-
action: "groups-get-users",
|
|
24214
|
-
title: "Groups Get Users Time Entries",
|
|
24215
|
-
description: "Groups Get Users Time Entries.",
|
|
24216
|
-
safety: "read",
|
|
24217
|
-
destructive: false,
|
|
24218
|
-
cli: {
|
|
24219
|
-
group: ["time-entries", "groups"],
|
|
24220
|
-
command: "get-users",
|
|
24221
|
-
interactive: "hidden"
|
|
24222
|
-
},
|
|
24223
|
-
mcp: { entityTool: "time-entries" },
|
|
24224
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24225
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24226
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
24227
|
-
page: /* @__PURE__ */ number$2(),
|
|
24228
|
-
per_page: /* @__PURE__ */ unknown$1(),
|
|
24229
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24230
|
-
user_id: /* @__PURE__ */ number$2()
|
|
24231
|
-
}),
|
|
24232
|
-
execute: (input, { client }) => {
|
|
24233
|
-
const data = input;
|
|
24234
|
-
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
24235
|
-
client.httpClient,
|
|
24236
|
-
client.organizationId,
|
|
24237
|
-
client.workspaceIdNumber,
|
|
24238
|
-
data,
|
|
24239
|
-
void 0
|
|
24240
|
-
]));
|
|
24241
|
-
}
|
|
24242
|
-
},
|
|
24243
23180
|
{
|
|
24244
23181
|
id: "focus.time-entries.list",
|
|
24245
23182
|
family: "focus",
|
|
@@ -24424,42 +23361,6 @@ const generatedFocusOperations = [
|
|
|
24424
23361
|
inputSchema: emptySchema$1,
|
|
24425
23362
|
execute: (_input, { client }) => client.stopTracking()
|
|
24426
23363
|
},
|
|
24427
|
-
{
|
|
24428
|
-
id: "focus.time-entries.sync",
|
|
24429
|
-
family: "focus",
|
|
24430
|
-
resource: "time-entries",
|
|
24431
|
-
action: "sync",
|
|
24432
|
-
title: "Sync Time Entries",
|
|
24433
|
-
description: "Sync Time Entries.",
|
|
24434
|
-
safety: "update",
|
|
24435
|
-
destructive: false,
|
|
24436
|
-
cli: {
|
|
24437
|
-
group: ["time-entries"],
|
|
24438
|
-
command: "sync",
|
|
24439
|
-
interactive: "default"
|
|
24440
|
-
},
|
|
24441
|
-
mcp: { entityTool: "time-entries" },
|
|
24442
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24443
|
-
client_uuid: /* @__PURE__ */ string$1(),
|
|
24444
|
-
payload: /* @__PURE__ */ looseObject({
|
|
24445
|
-
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
24446
|
-
client_updated_at: apiDateTimeString,
|
|
24447
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24448
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24449
|
-
})
|
|
24450
|
-
}),
|
|
24451
|
-
execute: (input, { client }) => {
|
|
24452
|
-
const data = input;
|
|
24453
|
-
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
24454
|
-
client.httpClient,
|
|
24455
|
-
client.organizationId,
|
|
24456
|
-
client.workspaceIdNumber,
|
|
24457
|
-
data.client_uuid,
|
|
24458
|
-
data.payload ?? data.data ?? data,
|
|
24459
|
-
void 0
|
|
24460
|
-
]));
|
|
24461
|
-
}
|
|
24462
|
-
},
|
|
24463
23364
|
{
|
|
24464
23365
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
24465
23366
|
family: "focus",
|
|
@@ -24508,7 +23409,6 @@ const generatedFocusOperations = [
|
|
|
24508
23409
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24509
23410
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24510
23411
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24511
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24512
23412
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24513
23413
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24514
23414
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -24571,33 +23471,121 @@ const generatedFocusOperations = [
|
|
|
24571
23471
|
safety: "update",
|
|
24572
23472
|
destructive: false,
|
|
24573
23473
|
cli: {
|
|
24574
|
-
group: ["time-entries"],
|
|
24575
|
-
command: "update",
|
|
24576
|
-
interactive: "default"
|
|
23474
|
+
group: ["time-entries"],
|
|
23475
|
+
command: "update",
|
|
23476
|
+
interactive: "default"
|
|
23477
|
+
},
|
|
23478
|
+
mcp: { entityTool: "time-entries" },
|
|
23479
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23480
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23481
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
23482
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23483
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23484
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23485
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23486
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23487
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23488
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23489
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23490
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
23491
|
+
}),
|
|
23492
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
23493
|
+
}),
|
|
23494
|
+
execute: (input, { client }) => {
|
|
23495
|
+
const data = input;
|
|
23496
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23497
|
+
client.httpClient,
|
|
23498
|
+
client.organizationId,
|
|
23499
|
+
client.workspaceIdNumber,
|
|
23500
|
+
data.time_entry_id,
|
|
23501
|
+
data.payload ?? data.data ?? data,
|
|
23502
|
+
void 0
|
|
23503
|
+
]));
|
|
23504
|
+
}
|
|
23505
|
+
},
|
|
23506
|
+
{
|
|
23507
|
+
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
23508
|
+
family: "focus",
|
|
23509
|
+
resource: "time-log-suggestions",
|
|
23510
|
+
action: "get-for-acalendar-event-title",
|
|
23511
|
+
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
23512
|
+
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
23513
|
+
safety: "update",
|
|
23514
|
+
destructive: false,
|
|
23515
|
+
cli: {
|
|
23516
|
+
group: ["time-log-suggestions"],
|
|
23517
|
+
command: "get-for-acalendar-event-title",
|
|
23518
|
+
interactive: "default"
|
|
23519
|
+
},
|
|
23520
|
+
mcp: { entityTool: "time-log-suggestions" },
|
|
23521
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
23522
|
+
execute: (input, { client }) => {
|
|
23523
|
+
const data = input;
|
|
23524
|
+
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
23525
|
+
client.httpClient,
|
|
23526
|
+
client.organizationId,
|
|
23527
|
+
client.workspaceIdNumber,
|
|
23528
|
+
data.payload ?? data.data ?? data,
|
|
23529
|
+
void 0
|
|
23530
|
+
]));
|
|
23531
|
+
}
|
|
23532
|
+
},
|
|
23533
|
+
{
|
|
23534
|
+
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
23535
|
+
family: "focus",
|
|
23536
|
+
resource: "time-log-suggestions",
|
|
23537
|
+
action: "get-for-multiple-calendar-event-titles",
|
|
23538
|
+
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
23539
|
+
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
23540
|
+
safety: "update",
|
|
23541
|
+
destructive: false,
|
|
23542
|
+
cli: {
|
|
23543
|
+
group: ["time-log-suggestions"],
|
|
23544
|
+
command: "get-for-multiple-calendar-event-titles",
|
|
23545
|
+
interactive: "default"
|
|
23546
|
+
},
|
|
23547
|
+
mcp: { entityTool: "time-log-suggestions" },
|
|
23548
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23549
|
+
key: /* @__PURE__ */ string$1(),
|
|
23550
|
+
title: /* @__PURE__ */ string$1()
|
|
23551
|
+
})) }) }),
|
|
23552
|
+
execute: (input, { client }) => {
|
|
23553
|
+
const data = input;
|
|
23554
|
+
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
23555
|
+
client.httpClient,
|
|
23556
|
+
client.organizationId,
|
|
23557
|
+
client.workspaceIdNumber,
|
|
23558
|
+
data.payload ?? data.data ?? data,
|
|
23559
|
+
void 0
|
|
23560
|
+
]));
|
|
23561
|
+
}
|
|
23562
|
+
},
|
|
23563
|
+
{
|
|
23564
|
+
id: "focus.time-off.create-timeoff-for-ghost",
|
|
23565
|
+
family: "focus",
|
|
23566
|
+
resource: "time-off",
|
|
23567
|
+
action: "create-timeoff-for-ghost",
|
|
23568
|
+
title: "Create Timeoff For Ghost Time Off",
|
|
23569
|
+
description: "Create Timeoff For Ghost Time Off.",
|
|
23570
|
+
safety: "create",
|
|
23571
|
+
destructive: false,
|
|
23572
|
+
cli: {
|
|
23573
|
+
group: ["time-off"],
|
|
23574
|
+
command: "create-timeoff-for-ghost",
|
|
23575
|
+
interactive: "hidden"
|
|
24577
23576
|
},
|
|
24578
|
-
mcp: { entityTool: "time-
|
|
23577
|
+
mcp: { entityTool: "time-off" },
|
|
24579
23578
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24580
|
-
|
|
24581
|
-
|
|
24582
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24583
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24584
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24585
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24586
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24587
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24588
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24589
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24590
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24591
|
-
}),
|
|
24592
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
23579
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23580
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
24593
23581
|
}),
|
|
24594
23582
|
execute: (input, { client }) => {
|
|
24595
23583
|
const data = input;
|
|
24596
|
-
return client.runGeneratedRequest("
|
|
23584
|
+
return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
|
|
24597
23585
|
client.httpClient,
|
|
24598
23586
|
client.organizationId,
|
|
24599
23587
|
client.workspaceIdNumber,
|
|
24600
|
-
data.
|
|
23588
|
+
data.ghost_id,
|
|
24601
23589
|
data.payload ?? data.data ?? data,
|
|
24602
23590
|
void 0
|
|
24603
23591
|
]));
|
|
@@ -24633,6 +23621,37 @@ const generatedFocusOperations = [
|
|
|
24633
23621
|
]));
|
|
24634
23622
|
}
|
|
24635
23623
|
},
|
|
23624
|
+
{
|
|
23625
|
+
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
23626
|
+
family: "focus",
|
|
23627
|
+
resource: "time-off",
|
|
23628
|
+
action: "delete-timeoff-for-ghost",
|
|
23629
|
+
title: "Delete Timeoff For Ghost Time Off",
|
|
23630
|
+
description: "Delete Timeoff For Ghost Time Off.",
|
|
23631
|
+
safety: "delete",
|
|
23632
|
+
destructive: true,
|
|
23633
|
+
cli: {
|
|
23634
|
+
group: ["time-off"],
|
|
23635
|
+
command: "delete-timeoff-for-ghost",
|
|
23636
|
+
interactive: "hidden"
|
|
23637
|
+
},
|
|
23638
|
+
mcp: { entityTool: "time-off" },
|
|
23639
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23640
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23641
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
23642
|
+
}),
|
|
23643
|
+
execute: (input, { client }) => {
|
|
23644
|
+
const data = input;
|
|
23645
|
+
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
23646
|
+
client.httpClient,
|
|
23647
|
+
client.organizationId,
|
|
23648
|
+
client.workspaceIdNumber,
|
|
23649
|
+
data.ghost_id,
|
|
23650
|
+
data.payload ?? data.data ?? data,
|
|
23651
|
+
void 0
|
|
23652
|
+
]));
|
|
23653
|
+
}
|
|
23654
|
+
},
|
|
24636
23655
|
{
|
|
24637
23656
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
24638
23657
|
family: "focus",
|
|
@@ -24663,6 +23682,38 @@ const generatedFocusOperations = [
|
|
|
24663
23682
|
]));
|
|
24664
23683
|
}
|
|
24665
23684
|
},
|
|
23685
|
+
{
|
|
23686
|
+
id: "focus.time-off.get-timeoff-for-ghost",
|
|
23687
|
+
family: "focus",
|
|
23688
|
+
resource: "time-off",
|
|
23689
|
+
action: "get-timeoff-for-ghost",
|
|
23690
|
+
title: "Get Timeoff For Ghost Time Off",
|
|
23691
|
+
description: "Get Timeoff For Ghost Time Off.",
|
|
23692
|
+
safety: "read",
|
|
23693
|
+
destructive: false,
|
|
23694
|
+
cli: {
|
|
23695
|
+
group: ["time-off"],
|
|
23696
|
+
command: "get-timeoff-for-ghost",
|
|
23697
|
+
interactive: "hidden"
|
|
23698
|
+
},
|
|
23699
|
+
mcp: { entityTool: "time-off" },
|
|
23700
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23701
|
+
from: /* @__PURE__ */ unknown$1(),
|
|
23702
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23703
|
+
to: /* @__PURE__ */ unknown$1()
|
|
23704
|
+
}),
|
|
23705
|
+
execute: (input, { client }) => {
|
|
23706
|
+
const data = input;
|
|
23707
|
+
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
23708
|
+
client.httpClient,
|
|
23709
|
+
client.organizationId,
|
|
23710
|
+
client.workspaceIdNumber,
|
|
23711
|
+
data.ghost_id,
|
|
23712
|
+
data,
|
|
23713
|
+
void 0
|
|
23714
|
+
]));
|
|
23715
|
+
}
|
|
23716
|
+
},
|
|
24666
23717
|
{
|
|
24667
23718
|
id: "focus.time-off.get-timeoff-for-user",
|
|
24668
23719
|
family: "focus",
|
|
@@ -24694,6 +23745,37 @@ const generatedFocusOperations = [
|
|
|
24694
23745
|
]));
|
|
24695
23746
|
}
|
|
24696
23747
|
},
|
|
23748
|
+
{
|
|
23749
|
+
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
23750
|
+
family: "focus",
|
|
23751
|
+
resource: "time-off",
|
|
23752
|
+
action: "get-timeoffs-by-ghost-ids",
|
|
23753
|
+
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
23754
|
+
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
23755
|
+
safety: "read",
|
|
23756
|
+
destructive: false,
|
|
23757
|
+
cli: {
|
|
23758
|
+
group: ["time-off"],
|
|
23759
|
+
command: "get-timeoffs-by-ghost-ids",
|
|
23760
|
+
interactive: "hidden"
|
|
23761
|
+
},
|
|
23762
|
+
mcp: { entityTool: "time-off" },
|
|
23763
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23764
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23765
|
+
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
23766
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
23767
|
+
}),
|
|
23768
|
+
execute: (input, { client }) => {
|
|
23769
|
+
const data = input;
|
|
23770
|
+
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
23771
|
+
client.httpClient,
|
|
23772
|
+
client.organizationId,
|
|
23773
|
+
client.workspaceIdNumber,
|
|
23774
|
+
data,
|
|
23775
|
+
void 0
|
|
23776
|
+
]));
|
|
23777
|
+
}
|
|
23778
|
+
},
|
|
24697
23779
|
{
|
|
24698
23780
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
24699
23781
|
family: "focus",
|
|
@@ -24724,6 +23806,37 @@ const generatedFocusOperations = [
|
|
|
24724
23806
|
]));
|
|
24725
23807
|
}
|
|
24726
23808
|
},
|
|
23809
|
+
{
|
|
23810
|
+
id: "focus.time-off.update-timeoff-for-ghost",
|
|
23811
|
+
family: "focus",
|
|
23812
|
+
resource: "time-off",
|
|
23813
|
+
action: "update-timeoff-for-ghost",
|
|
23814
|
+
title: "Update Timeoff For Ghost Time Off",
|
|
23815
|
+
description: "Update Timeoff For Ghost Time Off.",
|
|
23816
|
+
safety: "update",
|
|
23817
|
+
destructive: false,
|
|
23818
|
+
cli: {
|
|
23819
|
+
group: ["time-off"],
|
|
23820
|
+
command: "update-timeoff-for-ghost",
|
|
23821
|
+
interactive: "hidden"
|
|
23822
|
+
},
|
|
23823
|
+
mcp: { entityTool: "time-off" },
|
|
23824
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23825
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
23826
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
23827
|
+
}),
|
|
23828
|
+
execute: (input, { client }) => {
|
|
23829
|
+
const data = input;
|
|
23830
|
+
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
23831
|
+
client.httpClient,
|
|
23832
|
+
client.organizationId,
|
|
23833
|
+
client.workspaceIdNumber,
|
|
23834
|
+
data.ghost_id,
|
|
23835
|
+
data.payload ?? data.data ?? data,
|
|
23836
|
+
void 0
|
|
23837
|
+
]));
|
|
23838
|
+
}
|
|
23839
|
+
},
|
|
24727
23840
|
{
|
|
24728
23841
|
id: "focus.time-off.update-timeoff-for-user",
|
|
24729
23842
|
family: "focus",
|
|
@@ -25755,7 +24868,6 @@ const generatedFocusOperations = [
|
|
|
25755
24868
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25756
24869
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25757
24870
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25758
|
-
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25759
24871
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25760
24872
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25761
24873
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -25857,6 +24969,37 @@ const generatedFocusOperations = [
|
|
|
25857
24969
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25858
24970
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
25859
24971
|
},
|
|
24972
|
+
{
|
|
24973
|
+
id: "focus.working-hours.create-for-ghost",
|
|
24974
|
+
family: "focus",
|
|
24975
|
+
resource: "working-hours",
|
|
24976
|
+
action: "create-for-ghost",
|
|
24977
|
+
title: "Create For Ghost Working Hours",
|
|
24978
|
+
description: "Create For Ghost Working Hours.",
|
|
24979
|
+
safety: "create",
|
|
24980
|
+
destructive: false,
|
|
24981
|
+
cli: {
|
|
24982
|
+
group: ["working-hours"],
|
|
24983
|
+
command: "create-for-ghost",
|
|
24984
|
+
interactive: "hidden"
|
|
24985
|
+
},
|
|
24986
|
+
mcp: { entityTool: "working-hours" },
|
|
24987
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24988
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
24989
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
24990
|
+
}),
|
|
24991
|
+
execute: (input, { client }) => {
|
|
24992
|
+
const data = input;
|
|
24993
|
+
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
24994
|
+
client.httpClient,
|
|
24995
|
+
client.organizationId,
|
|
24996
|
+
client.workspaceIdNumber,
|
|
24997
|
+
data.ghost_id,
|
|
24998
|
+
data.payload ?? data.data ?? data,
|
|
24999
|
+
void 0
|
|
25000
|
+
]));
|
|
25001
|
+
}
|
|
25002
|
+
},
|
|
25860
25003
|
{
|
|
25861
25004
|
id: "focus.working-hours.create-for-user",
|
|
25862
25005
|
family: "focus",
|
|
@@ -25887,6 +25030,37 @@ const generatedFocusOperations = [
|
|
|
25887
25030
|
]));
|
|
25888
25031
|
}
|
|
25889
25032
|
},
|
|
25033
|
+
{
|
|
25034
|
+
id: "focus.working-hours.delete-for-ghost",
|
|
25035
|
+
family: "focus",
|
|
25036
|
+
resource: "working-hours",
|
|
25037
|
+
action: "delete-for-ghost",
|
|
25038
|
+
title: "Delete For Ghost Working Hours",
|
|
25039
|
+
description: "Delete For Ghost Working Hours.",
|
|
25040
|
+
safety: "delete",
|
|
25041
|
+
destructive: true,
|
|
25042
|
+
cli: {
|
|
25043
|
+
group: ["working-hours"],
|
|
25044
|
+
command: "delete-for-ghost",
|
|
25045
|
+
interactive: "hidden"
|
|
25046
|
+
},
|
|
25047
|
+
mcp: { entityTool: "working-hours" },
|
|
25048
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25049
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
25050
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
25051
|
+
}),
|
|
25052
|
+
execute: (input, { client }) => {
|
|
25053
|
+
const data = input;
|
|
25054
|
+
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
25055
|
+
client.httpClient,
|
|
25056
|
+
client.organizationId,
|
|
25057
|
+
client.workspaceIdNumber,
|
|
25058
|
+
data.ghost_id,
|
|
25059
|
+
data.payload ?? data.data ?? data,
|
|
25060
|
+
void 0
|
|
25061
|
+
]));
|
|
25062
|
+
}
|
|
25063
|
+
},
|
|
25890
25064
|
{
|
|
25891
25065
|
id: "focus.working-hours.delete-for-user",
|
|
25892
25066
|
family: "focus",
|
|
@@ -25917,6 +25091,33 @@ const generatedFocusOperations = [
|
|
|
25917
25091
|
]));
|
|
25918
25092
|
}
|
|
25919
25093
|
},
|
|
25094
|
+
{
|
|
25095
|
+
id: "focus.working-hours.get-for-ghost",
|
|
25096
|
+
family: "focus",
|
|
25097
|
+
resource: "working-hours",
|
|
25098
|
+
action: "get-for-ghost",
|
|
25099
|
+
title: "Get For Ghost Working Hours",
|
|
25100
|
+
description: "Get For Ghost Working Hours.",
|
|
25101
|
+
safety: "read",
|
|
25102
|
+
destructive: false,
|
|
25103
|
+
cli: {
|
|
25104
|
+
group: ["working-hours"],
|
|
25105
|
+
command: "get-for-ghost",
|
|
25106
|
+
interactive: "available"
|
|
25107
|
+
},
|
|
25108
|
+
mcp: { entityTool: "working-hours" },
|
|
25109
|
+
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
25110
|
+
execute: (input, { client }) => {
|
|
25111
|
+
const data = input;
|
|
25112
|
+
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
25113
|
+
client.httpClient,
|
|
25114
|
+
client.organizationId,
|
|
25115
|
+
client.workspaceIdNumber,
|
|
25116
|
+
data.ghost_id,
|
|
25117
|
+
void 0
|
|
25118
|
+
]));
|
|
25119
|
+
}
|
|
25120
|
+
},
|
|
25920
25121
|
{
|
|
25921
25122
|
id: "focus.working-hours.get-for-user",
|
|
25922
25123
|
family: "focus",
|
|
@@ -25943,6 +25144,37 @@ const generatedFocusOperations = [
|
|
|
25943
25144
|
]));
|
|
25944
25145
|
}
|
|
25945
25146
|
},
|
|
25147
|
+
{
|
|
25148
|
+
id: "focus.working-hours.update-for-ghost",
|
|
25149
|
+
family: "focus",
|
|
25150
|
+
resource: "working-hours",
|
|
25151
|
+
action: "update-for-ghost",
|
|
25152
|
+
title: "Update For Ghost Working Hours",
|
|
25153
|
+
description: "Update For Ghost Working Hours.",
|
|
25154
|
+
safety: "update",
|
|
25155
|
+
destructive: false,
|
|
25156
|
+
cli: {
|
|
25157
|
+
group: ["working-hours"],
|
|
25158
|
+
command: "update-for-ghost",
|
|
25159
|
+
interactive: "hidden"
|
|
25160
|
+
},
|
|
25161
|
+
mcp: { entityTool: "working-hours" },
|
|
25162
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25163
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
25164
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
25165
|
+
}),
|
|
25166
|
+
execute: (input, { client }) => {
|
|
25167
|
+
const data = input;
|
|
25168
|
+
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
25169
|
+
client.httpClient,
|
|
25170
|
+
client.organizationId,
|
|
25171
|
+
client.workspaceIdNumber,
|
|
25172
|
+
data.ghost_id,
|
|
25173
|
+
data.payload ?? data.data ?? data,
|
|
25174
|
+
void 0
|
|
25175
|
+
]));
|
|
25176
|
+
}
|
|
25177
|
+
},
|
|
25946
25178
|
{
|
|
25947
25179
|
id: "focus.working-hours.update-for-user",
|
|
25948
25180
|
family: "focus",
|
|
@@ -26017,50 +25249,6 @@ const generatedFocusOperations = [
|
|
|
26017
25249
|
void 0
|
|
26018
25250
|
]))
|
|
26019
25251
|
},
|
|
26020
|
-
{
|
|
26021
|
-
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
26022
|
-
family: "focus",
|
|
26023
|
-
resource: "workspace-settings",
|
|
26024
|
-
action: "get-workspace-export-branding",
|
|
26025
|
-
title: "Get Workspace Export Branding Workspace Settings",
|
|
26026
|
-
description: "Get Workspace Export Branding Workspace Settings.",
|
|
26027
|
-
safety: "read",
|
|
26028
|
-
destructive: false,
|
|
26029
|
-
cli: {
|
|
26030
|
-
group: ["workspace-settings"],
|
|
26031
|
-
command: "get-workspace-export-branding",
|
|
26032
|
-
interactive: "hidden"
|
|
26033
|
-
},
|
|
26034
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26035
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26036
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
26037
|
-
client.httpClient,
|
|
26038
|
-
client.workspaceIdNumber,
|
|
26039
|
-
void 0
|
|
26040
|
-
]))
|
|
26041
|
-
},
|
|
26042
|
-
{
|
|
26043
|
-
id: "focus.workspace-settings.get-workspace-watermark",
|
|
26044
|
-
family: "focus",
|
|
26045
|
-
resource: "workspace-settings",
|
|
26046
|
-
action: "get-workspace-watermark",
|
|
26047
|
-
title: "Get Workspace Watermark Workspace Settings",
|
|
26048
|
-
description: "Get Workspace Watermark Workspace Settings.",
|
|
26049
|
-
safety: "read",
|
|
26050
|
-
destructive: false,
|
|
26051
|
-
cli: {
|
|
26052
|
-
group: ["workspace-settings"],
|
|
26053
|
-
command: "get-workspace-watermark",
|
|
26054
|
-
interactive: "hidden"
|
|
26055
|
-
},
|
|
26056
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26057
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26058
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
26059
|
-
client.httpClient,
|
|
26060
|
-
client.workspaceIdNumber,
|
|
26061
|
-
void 0
|
|
26062
|
-
]))
|
|
26063
|
-
},
|
|
26064
25252
|
{
|
|
26065
25253
|
id: "focus.workspace-settings.list",
|
|
26066
25254
|
family: "focus",
|
|
@@ -26135,32 +25323,6 @@ const generatedFocusOperations = [
|
|
|
26135
25323
|
]));
|
|
26136
25324
|
}
|
|
26137
25325
|
},
|
|
26138
|
-
{
|
|
26139
|
-
id: "focus.workspace-settings.update-workspace-watermark",
|
|
26140
|
-
family: "focus",
|
|
26141
|
-
resource: "workspace-settings",
|
|
26142
|
-
action: "update-workspace-watermark",
|
|
26143
|
-
title: "Update Workspace Watermark Workspace Settings",
|
|
26144
|
-
description: "Update Workspace Watermark Workspace Settings.",
|
|
26145
|
-
safety: "update",
|
|
26146
|
-
destructive: false,
|
|
26147
|
-
cli: {
|
|
26148
|
-
group: ["workspace-settings"],
|
|
26149
|
-
command: "update-workspace-watermark",
|
|
26150
|
-
interactive: "default"
|
|
26151
|
-
},
|
|
26152
|
-
mcp: { entityTool: "workspace-settings" },
|
|
26153
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
26154
|
-
execute: (input, { client }) => {
|
|
26155
|
-
const data = input;
|
|
26156
|
-
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
26157
|
-
client.httpClient,
|
|
26158
|
-
client.workspaceIdNumber,
|
|
26159
|
-
data.payload ?? data.data ?? data,
|
|
26160
|
-
void 0
|
|
26161
|
-
]));
|
|
26162
|
-
}
|
|
26163
|
-
},
|
|
26164
25326
|
{
|
|
26165
25327
|
id: "focus.workspace.get-context",
|
|
26166
25328
|
family: "focus",
|
|
@@ -27804,4 +26966,4 @@ Common commands:
|
|
|
27804
26966
|
//#endregion
|
|
27805
26967
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27806
26968
|
|
|
27807
|
-
//# sourceMappingURL=program-
|
|
26969
|
+
//# sourceMappingURL=program-C-9XYyqg.js.map
|