@togglhq/cli 1.11.93 → 1.11.94
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-C_81aiOa.js → program-DvYstJ4t.js} +897 -1565
- package/build/program.js +1 -1
- package/package.json +1 -1
|
@@ -7274,7 +7274,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
7274
7274
|
name: /* @__PURE__ */ string(),
|
|
7275
7275
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
7276
7276
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7277
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7278
7277
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7279
7278
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7280
7279
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7361,7 +7360,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7361
7360
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7362
7361
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7363
7362
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7364
|
-
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
7365
7363
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7366
7364
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7367
7365
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7423,7 +7421,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7423
7421
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7424
7422
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7425
7423
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7426
|
-
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
7427
7424
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7428
7425
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7429
7426
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7584,8 +7581,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7584
7581
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7585
7582
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7586
7583
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7587
|
-
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
7588
|
-
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
7589
7584
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7590
7585
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7591
7586
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7600,21 +7595,21 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7600
7595
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7601
7596
|
});
|
|
7602
7597
|
const DtoAggregationFilterRequestSchema = /* @__PURE__ */ object({
|
|
7603
|
-
aggregation: /* @__PURE__ */
|
|
7598
|
+
aggregation: /* @__PURE__ */ object({
|
|
7604
7599
|
function: /* @__PURE__ */ string(),
|
|
7605
7600
|
property: /* @__PURE__ */ string()
|
|
7606
|
-
})
|
|
7607
|
-
conditions: /* @__PURE__ */
|
|
7608
|
-
operator: /* @__PURE__ */
|
|
7609
|
-
property: /* @__PURE__ */
|
|
7610
|
-
value: /* @__PURE__ */
|
|
7601
|
+
}),
|
|
7602
|
+
conditions: /* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema),
|
|
7603
|
+
operator: /* @__PURE__ */ string(),
|
|
7604
|
+
property: /* @__PURE__ */ string(),
|
|
7605
|
+
value: /* @__PURE__ */ unknown()
|
|
7611
7606
|
});
|
|
7612
7607
|
const DtoAggregationsFilterRequestSchema = /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoAggregationFilterRequestSchema));
|
|
7613
7608
|
const DtoFilterRequestSchema = /* @__PURE__ */ object({
|
|
7614
|
-
conditions: /* @__PURE__ */
|
|
7615
|
-
operator: /* @__PURE__ */
|
|
7616
|
-
property: /* @__PURE__ */
|
|
7617
|
-
value: /* @__PURE__ */
|
|
7609
|
+
conditions: /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema)),
|
|
7610
|
+
operator: /* @__PURE__ */ string(),
|
|
7611
|
+
property: /* @__PURE__ */ string(),
|
|
7612
|
+
value: /* @__PURE__ */ unknown()
|
|
7618
7613
|
});
|
|
7619
7614
|
const ClientSchema = /* @__PURE__ */ object({
|
|
7620
7615
|
active: /* @__PURE__ */ boolean(),
|
|
@@ -7671,10 +7666,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7671
7666
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7672
7667
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7673
7668
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7674
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7675
7669
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7676
7670
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7677
|
-
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7678
7671
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
7679
7672
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7680
7673
|
rollover_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RolloverMins is the cumulative under/over budget carried into this instance from earlier instances in its recurring chain, in minutes. Positive = surplus (prior periods went under estimate, time carries forward); negative = debt (prior periods went over). Only populated for recurring instances; nil for templates and standalone projects. See service.HydrateRollover for the per-instance contribution rules driven by RolloverMode (expire / carry_over / carry_all)."))),
|
|
@@ -7730,8 +7723,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7730
7723
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7731
7724
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7732
7725
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7733
|
-
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
7734
|
-
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
7735
7726
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7736
7727
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7737
7728
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7904,6 +7895,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7904
7895
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7905
7896
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7906
7897
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7898
|
+
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7899
|
+
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7907
7900
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7908
7901
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7909
7902
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7960,7 +7953,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7960
7953
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7961
7954
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7962
7955
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7963
|
-
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
7964
7956
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7965
7957
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7966
7958
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -7997,7 +7989,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7997
7989
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7998
7990
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7999
7991
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8000
|
-
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
8001
7992
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8002
7993
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8003
7994
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -8018,6 +8009,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
8018
8009
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8019
8010
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8020
8011
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8012
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8021
8013
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8022
8014
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8023
8015
|
});
|
|
@@ -8046,7 +8038,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
8046
8038
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8047
8039
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8048
8040
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8049
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8041
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8042
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8050
8043
|
});
|
|
8051
8044
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
8052
8045
|
//#endregion
|
|
@@ -9920,7 +9913,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9920
9913
|
})
|
|
9921
9914
|
}).json();
|
|
9922
9915
|
}
|
|
9923
|
-
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,
|
|
9916
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9924
9917
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9925
9918
|
signal,
|
|
9926
9919
|
searchParams: buildSearchParams$2({
|
|
@@ -9941,7 +9934,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9941
9934
|
include_rates,
|
|
9942
9935
|
pinned_ids,
|
|
9943
9936
|
has_group,
|
|
9944
|
-
track_without_focus,
|
|
9945
9937
|
cf_filter,
|
|
9946
9938
|
include_custom_fields,
|
|
9947
9939
|
include_calendar_integration
|
|
@@ -10043,20 +10035,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10043
10035
|
}
|
|
10044
10036
|
//#endregion
|
|
10045
10037
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10046
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
10038
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10047
10039
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10048
10040
|
signal,
|
|
10049
10041
|
searchParams: buildSearchParams$2({
|
|
10050
|
-
include_task_counts,
|
|
10051
|
-
include_picker_parent_group_counts,
|
|
10052
|
-
task_archived,
|
|
10053
|
-
task_recurring,
|
|
10054
|
-
task_state,
|
|
10055
|
-
task_source,
|
|
10056
|
-
task_assignee_user_id,
|
|
10057
|
-
task_assignee_team_id,
|
|
10058
|
-
task_include_unassigned,
|
|
10059
|
-
task_name,
|
|
10060
10042
|
page,
|
|
10061
10043
|
per_page,
|
|
10062
10044
|
order_by,
|
|
@@ -10306,7 +10288,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10306
10288
|
}
|
|
10307
10289
|
//#endregion
|
|
10308
10290
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10309
|
-
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_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, 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
|
|
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) {
|
|
10310
10292
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10311
10293
|
signal,
|
|
10312
10294
|
searchParams: buildSearchParams$2({
|
|
@@ -10319,6 +10301,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10319
10301
|
toggl_user_id,
|
|
10320
10302
|
name,
|
|
10321
10303
|
has_time_entries,
|
|
10304
|
+
has_time_blocks,
|
|
10322
10305
|
has_dates,
|
|
10323
10306
|
private: private_,
|
|
10324
10307
|
archived,
|
|
@@ -10341,6 +10324,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10341
10324
|
priority,
|
|
10342
10325
|
is_priority,
|
|
10343
10326
|
state,
|
|
10327
|
+
timeblock_start_from,
|
|
10328
|
+
timeblock_start_until,
|
|
10329
|
+
time_block_id,
|
|
10330
|
+
time_block_completed,
|
|
10344
10331
|
team_id,
|
|
10345
10332
|
assignee_team_id,
|
|
10346
10333
|
assignee_user_id,
|
|
@@ -10352,11 +10339,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10352
10339
|
include_assignees,
|
|
10353
10340
|
include_parent_matches,
|
|
10354
10341
|
disable_aggregations,
|
|
10355
|
-
cf_filter
|
|
10356
|
-
recurring_occurrences_after,
|
|
10357
|
-
max_recurring_occurrences_after,
|
|
10358
|
-
recurring_task_read,
|
|
10359
|
-
include_projected_occurrences
|
|
10342
|
+
cf_filter
|
|
10360
10343
|
})
|
|
10361
10344
|
}).json();
|
|
10362
10345
|
}
|
|
@@ -10431,46 +10414,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10431
10414
|
})
|
|
10432
10415
|
}).json();
|
|
10433
10416
|
}
|
|
10434
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
10417
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10435
10418
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10436
10419
|
signal,
|
|
10437
10420
|
searchParams: buildSearchParams$2({
|
|
10438
10421
|
date_from,
|
|
10439
|
-
date_to
|
|
10440
|
-
skip_provider_refresh
|
|
10441
|
-
})
|
|
10442
|
-
}).json();
|
|
10443
|
-
}
|
|
10444
|
-
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10445
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
10446
|
-
signal,
|
|
10447
|
-
searchParams: buildSearchParams$2({
|
|
10448
|
-
project_id,
|
|
10449
|
-
without_project,
|
|
10450
|
-
pinned_only,
|
|
10451
|
-
include_unassigned,
|
|
10452
|
-
search,
|
|
10453
|
-
only_me,
|
|
10454
|
-
page,
|
|
10455
|
-
per_page
|
|
10456
|
-
})
|
|
10457
|
-
}).json();
|
|
10458
|
-
}
|
|
10459
|
-
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10460
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
10461
|
-
signal,
|
|
10462
|
-
searchParams: buildSearchParams$2({
|
|
10463
|
-
project_id,
|
|
10464
|
-
without_project,
|
|
10465
|
-
include_unassigned,
|
|
10466
|
-
search,
|
|
10467
|
-
only_me,
|
|
10468
|
-
page,
|
|
10469
|
-
per_page
|
|
10422
|
+
date_to
|
|
10470
10423
|
})
|
|
10471
10424
|
}).json();
|
|
10472
10425
|
}
|
|
10473
|
-
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees
|
|
10426
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10474
10427
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10475
10428
|
signal,
|
|
10476
10429
|
searchParams: buildSearchParams$2({
|
|
@@ -10486,15 +10439,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10486
10439
|
assignee_team_id,
|
|
10487
10440
|
assignee_user_id,
|
|
10488
10441
|
tag_id,
|
|
10489
|
-
include_assignees
|
|
10490
|
-
recurring_occurrences_after,
|
|
10491
|
-
max_recurring_occurrences_after,
|
|
10492
|
-
recurring_task_read,
|
|
10493
|
-
include_projected_occurrences
|
|
10442
|
+
include_assignees
|
|
10494
10443
|
})
|
|
10495
10444
|
}).json();
|
|
10496
10445
|
}
|
|
10497
|
-
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_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, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter
|
|
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) {
|
|
10498
10447
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10499
10448
|
signal,
|
|
10500
10449
|
searchParams: buildSearchParams$2({
|
|
@@ -10506,6 +10455,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10506
10455
|
name,
|
|
10507
10456
|
include_parent_matches,
|
|
10508
10457
|
has_time_entries,
|
|
10458
|
+
has_time_blocks,
|
|
10509
10459
|
has_dates,
|
|
10510
10460
|
private: private_,
|
|
10511
10461
|
archived,
|
|
@@ -10528,6 +10478,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10528
10478
|
priority,
|
|
10529
10479
|
is_priority,
|
|
10530
10480
|
state,
|
|
10481
|
+
time_block_id,
|
|
10482
|
+
time_block_completed,
|
|
10531
10483
|
team_id,
|
|
10532
10484
|
assignee_team_id,
|
|
10533
10485
|
assignee_user_id,
|
|
@@ -10536,11 +10488,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10536
10488
|
recurring_task_ids,
|
|
10537
10489
|
client_id,
|
|
10538
10490
|
include_assignees,
|
|
10539
|
-
cf_filter
|
|
10540
|
-
recurring_occurrences_after,
|
|
10541
|
-
max_recurring_occurrences_after,
|
|
10542
|
-
recurring_task_read,
|
|
10543
|
-
include_projected_occurrences
|
|
10491
|
+
cf_filter
|
|
10544
10492
|
})
|
|
10545
10493
|
}).json();
|
|
10546
10494
|
}
|
|
@@ -10595,12 +10543,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10595
10543
|
})
|
|
10596
10544
|
}).json();
|
|
10597
10545
|
}
|
|
10598
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10599
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10600
|
-
signal,
|
|
10601
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10602
|
-
}).json();
|
|
10603
|
-
}
|
|
10604
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) {
|
|
10605
10547
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10606
10548
|
signal,
|
|
@@ -10626,7 +10568,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
10626
10568
|
}
|
|
10627
10569
|
//#endregion
|
|
10628
10570
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
10629
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
10571
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
|
|
10630
10572
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10631
10573
|
signal,
|
|
10632
10574
|
searchParams: buildSearchParams$2({
|
|
@@ -10634,28 +10576,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10634
10576
|
per_page,
|
|
10635
10577
|
order_by,
|
|
10636
10578
|
type,
|
|
10637
|
-
archived
|
|
10579
|
+
archived,
|
|
10580
|
+
time_block_id
|
|
10638
10581
|
})
|
|
10639
10582
|
}).json();
|
|
10640
10583
|
}
|
|
10641
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10584
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10642
10585
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10643
10586
|
signal,
|
|
10644
|
-
json: data
|
|
10645
|
-
searchParams: buildSearchParams$2({
|
|
10646
|
-
from_recurring_task_id,
|
|
10647
|
-
return_occurrence
|
|
10648
|
-
})
|
|
10587
|
+
json: data
|
|
10649
10588
|
}).json();
|
|
10650
10589
|
}
|
|
10651
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10590
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10652
10591
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10653
10592
|
signal,
|
|
10654
|
-
json: data
|
|
10655
|
-
searchParams: buildSearchParams$2({
|
|
10656
|
-
from_recurring_task_id,
|
|
10657
|
-
return_occurrence
|
|
10658
|
-
})
|
|
10593
|
+
json: data
|
|
10659
10594
|
}).json();
|
|
10660
10595
|
}
|
|
10661
10596
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10706,7 +10641,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10706
10641
|
json: data
|
|
10707
10642
|
}).json();
|
|
10708
10643
|
}
|
|
10709
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
10644
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
10710
10645
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10711
10646
|
signal,
|
|
10712
10647
|
searchParams: buildSearchParams$2({
|
|
@@ -10714,7 +10649,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10714
10649
|
date_to,
|
|
10715
10650
|
task_id,
|
|
10716
10651
|
status_id,
|
|
10717
|
-
project_id,
|
|
10718
10652
|
type,
|
|
10719
10653
|
order_by,
|
|
10720
10654
|
archived,
|
|
@@ -10729,36 +10663,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
10729
10663
|
json: data
|
|
10730
10664
|
}).json();
|
|
10731
10665
|
}
|
|
10666
|
+
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10667
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10668
|
+
signal,
|
|
10669
|
+
searchParams: buildSearchParams$2({ time_block_id })
|
|
10670
|
+
}).json();
|
|
10671
|
+
}
|
|
10732
10672
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10733
10673
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10734
10674
|
}
|
|
10735
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10675
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10736
10676
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10737
10677
|
signal,
|
|
10738
|
-
json: data
|
|
10739
|
-
searchParams: buildSearchParams$2({
|
|
10740
|
-
from_recurring_task_id,
|
|
10741
|
-
return_occurrence
|
|
10742
|
-
})
|
|
10678
|
+
json: data
|
|
10743
10679
|
}).json();
|
|
10744
10680
|
}
|
|
10745
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
10746
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10747
|
-
signal,
|
|
10748
|
-
searchParams: buildSearchParams$2({
|
|
10749
|
-
from_recurring_task_id,
|
|
10750
|
-
return_occurrence
|
|
10751
|
-
})
|
|
10752
|
-
}).json();
|
|
10681
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10682
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10753
10683
|
}
|
|
10754
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10684
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10755
10685
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10756
10686
|
signal,
|
|
10757
|
-
json: data
|
|
10758
|
-
searchParams: buildSearchParams$2({
|
|
10759
|
-
from_recurring_task_id,
|
|
10760
|
-
return_occurrence
|
|
10761
|
-
})
|
|
10687
|
+
json: data
|
|
10762
10688
|
}).json();
|
|
10763
10689
|
}
|
|
10764
10690
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -14557,15 +14483,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14557
14483
|
}
|
|
14558
14484
|
//#endregion
|
|
14559
14485
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14560
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
14486
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14561
14487
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14562
14488
|
signal,
|
|
14563
14489
|
searchParams: buildSearchParams$2({
|
|
14564
14490
|
workspace_id,
|
|
14565
14491
|
entity_type,
|
|
14566
14492
|
entity_id,
|
|
14567
|
-
project_id,
|
|
14568
|
-
custom_field_id,
|
|
14569
14493
|
action,
|
|
14570
14494
|
user_id,
|
|
14571
14495
|
page_size,
|
|
@@ -14574,14 +14498,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14574
14498
|
})
|
|
14575
14499
|
}).json();
|
|
14576
14500
|
}
|
|
14577
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
14501
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14578
14502
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14579
14503
|
signal,
|
|
14580
14504
|
searchParams: buildSearchParams$2({
|
|
14581
14505
|
entity_type,
|
|
14582
14506
|
entity_id,
|
|
14583
|
-
project_id,
|
|
14584
|
-
custom_field_id,
|
|
14585
14507
|
action,
|
|
14586
14508
|
user_id,
|
|
14587
14509
|
page_size,
|
|
@@ -14734,14 +14656,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14734
14656
|
}
|
|
14735
14657
|
//#endregion
|
|
14736
14658
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14737
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
14659
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14738
14660
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14739
14661
|
signal,
|
|
14740
14662
|
searchParams: buildSearchParams$2({
|
|
14663
|
+
user_id,
|
|
14741
14664
|
start_date,
|
|
14742
14665
|
end_date,
|
|
14743
|
-
user_id,
|
|
14744
|
-
team_id,
|
|
14745
14666
|
private: private_,
|
|
14746
14667
|
task_source,
|
|
14747
14668
|
unit,
|
|
@@ -14801,15 +14722,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14801
14722
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14802
14723
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14803
14724
|
}
|
|
14804
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14805
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14806
|
-
}
|
|
14807
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14808
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14809
|
-
signal,
|
|
14810
|
-
json: data
|
|
14811
|
-
}).json();
|
|
14812
|
-
}
|
|
14813
14725
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14814
14726
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14815
14727
|
signal,
|
|
@@ -14849,61 +14761,6 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
14849
14761
|
}).json();
|
|
14850
14762
|
}
|
|
14851
14763
|
//#endregion
|
|
14852
|
-
//#region ../focus-queries/dist/designations/requests.ts
|
|
14853
|
-
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14854
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
14855
|
-
signal,
|
|
14856
|
-
searchParams: buildSearchParams$2({
|
|
14857
|
-
name,
|
|
14858
|
-
page,
|
|
14859
|
-
per_page,
|
|
14860
|
-
order_by
|
|
14861
|
-
})
|
|
14862
|
-
}).json();
|
|
14863
|
-
}
|
|
14864
|
-
async function createWorkspaceDesignation(httpClient, organization_id, workspace_id, data, signal) {
|
|
14865
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
14866
|
-
signal,
|
|
14867
|
-
json: data
|
|
14868
|
-
}).json();
|
|
14869
|
-
}
|
|
14870
|
-
async function bulkCreateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
14871
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14872
|
-
signal,
|
|
14873
|
-
json: data
|
|
14874
|
-
}).json();
|
|
14875
|
-
}
|
|
14876
|
-
async function bulkDeleteWorkspaceDesignations(httpClient, organization_id, workspace_id, ids, all_or_none, signal) {
|
|
14877
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14878
|
-
signal,
|
|
14879
|
-
searchParams: buildSearchParams$2({
|
|
14880
|
-
ids,
|
|
14881
|
-
all_or_none
|
|
14882
|
-
})
|
|
14883
|
-
}).json();
|
|
14884
|
-
}
|
|
14885
|
-
async function bulkUpdateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
14886
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14887
|
-
signal,
|
|
14888
|
-
json: data
|
|
14889
|
-
}).json();
|
|
14890
|
-
}
|
|
14891
|
-
async function updateWorkspaceDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
14892
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/members`, {
|
|
14893
|
-
signal,
|
|
14894
|
-
json: data
|
|
14895
|
-
}).json();
|
|
14896
|
-
}
|
|
14897
|
-
async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
|
|
14898
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal }).json();
|
|
14899
|
-
}
|
|
14900
|
-
async function updateWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, data, signal) {
|
|
14901
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, {
|
|
14902
|
-
signal,
|
|
14903
|
-
json: data
|
|
14904
|
-
}).json();
|
|
14905
|
-
}
|
|
14906
|
-
//#endregion
|
|
14907
14764
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14908
14765
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
14909
14766
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals`, {
|
|
@@ -15128,7 +14985,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15128
14985
|
}
|
|
15129
14986
|
//#endregion
|
|
15130
14987
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15131
|
-
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts,
|
|
14988
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
15132
14989
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15133
14990
|
signal,
|
|
15134
14991
|
searchParams: buildSearchParams$2({
|
|
@@ -15154,7 +15011,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15154
15011
|
user_id,
|
|
15155
15012
|
only_me,
|
|
15156
15013
|
include_drafts,
|
|
15157
|
-
include_recurring_series,
|
|
15158
15014
|
cf_filter
|
|
15159
15015
|
})
|
|
15160
15016
|
}).json();
|
|
@@ -15173,6 +15029,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15173
15029
|
json: data
|
|
15174
15030
|
}).json();
|
|
15175
15031
|
}
|
|
15032
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15033
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15034
|
+
}
|
|
15176
15035
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15177
15036
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15178
15037
|
}
|
|
@@ -15198,37 +15057,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15198
15057
|
}).json();
|
|
15199
15058
|
}
|
|
15200
15059
|
//#endregion
|
|
15201
|
-
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
15202
|
-
async function openPublicSharedReport(httpClient, token, signal) {
|
|
15203
|
-
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
15204
|
-
}
|
|
15205
|
-
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15206
|
-
return await httpClient.post(`shared/${token}/profitability`, {
|
|
15207
|
-
signal,
|
|
15208
|
-
json: data,
|
|
15209
|
-
searchParams: buildSearchParams$2({
|
|
15210
|
-
response_format,
|
|
15211
|
-
include_dicts
|
|
15212
|
-
})
|
|
15213
|
-
}).json();
|
|
15214
|
-
}
|
|
15215
|
-
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15216
|
-
return await httpClient.post(`shared/${token}/query`, {
|
|
15217
|
-
signal,
|
|
15218
|
-
json: data,
|
|
15219
|
-
searchParams: buildSearchParams$2({
|
|
15220
|
-
response_format,
|
|
15221
|
-
include_dicts
|
|
15222
|
-
})
|
|
15223
|
-
}).json();
|
|
15224
|
-
}
|
|
15225
|
-
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
15226
|
-
return await httpClient.post(`shared/${token}/workload`, {
|
|
15227
|
-
signal,
|
|
15228
|
-
json: data
|
|
15229
|
-
}).json();
|
|
15230
|
-
}
|
|
15231
|
-
//#endregion
|
|
15232
15060
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15233
15061
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15234
15062
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15390,7 +15218,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15390
15218
|
}
|
|
15391
15219
|
//#endregion
|
|
15392
15220
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15393
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id,
|
|
15221
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15394
15222
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15395
15223
|
signal,
|
|
15396
15224
|
searchParams: buildSearchParams$2({
|
|
@@ -15398,7 +15226,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15398
15226
|
per_group,
|
|
15399
15227
|
assignee_user_id,
|
|
15400
15228
|
assignee_team_id,
|
|
15401
|
-
include_unassigned,
|
|
15402
15229
|
project_id,
|
|
15403
15230
|
task_id,
|
|
15404
15231
|
include_drafts,
|
|
@@ -15443,18 +15270,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15443
15270
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15444
15271
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15445
15272
|
}
|
|
15446
|
-
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
15447
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15448
|
-
}
|
|
15449
|
-
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
15450
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
15451
|
-
}
|
|
15452
|
-
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
15453
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
15454
|
-
signal,
|
|
15455
|
-
json: data
|
|
15456
|
-
}).json();
|
|
15457
|
-
}
|
|
15458
15273
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15459
15274
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15460
15275
|
signal,
|
|
@@ -15464,21 +15279,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15464
15279
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15465
15280
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15466
15281
|
}
|
|
15467
|
-
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15468
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
15469
|
-
signal,
|
|
15470
|
-
json: data
|
|
15471
|
-
}).json();
|
|
15472
|
-
}
|
|
15473
|
-
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
15474
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
15475
|
-
}
|
|
15476
|
-
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15477
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
15478
|
-
signal,
|
|
15479
|
-
json: data
|
|
15480
|
-
}).json();
|
|
15481
|
-
}
|
|
15482
15282
|
//#endregion
|
|
15483
15283
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15484
15284
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15535,10 +15335,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15535
15335
|
}
|
|
15536
15336
|
//#endregion
|
|
15537
15337
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15538
|
-
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter
|
|
15338
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
|
|
15539
15339
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15540
15340
|
signal,
|
|
15541
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15542
15341
|
searchParams: buildSearchParams$2({
|
|
15543
15342
|
project_id,
|
|
15544
15343
|
source,
|
|
@@ -15567,18 +15366,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15567
15366
|
min_days,
|
|
15568
15367
|
include_drafts,
|
|
15569
15368
|
cf_filter,
|
|
15570
|
-
user_cf_filter
|
|
15571
|
-
recurring_occurrences_after,
|
|
15572
|
-
max_recurring_occurrences_after,
|
|
15573
|
-
recurring_task_read,
|
|
15574
|
-
include_projected_occurrences
|
|
15369
|
+
user_cf_filter
|
|
15575
15370
|
})
|
|
15576
15371
|
}).json();
|
|
15577
15372
|
}
|
|
15578
|
-
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
|
|
15373
|
+
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
|
|
15579
15374
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15580
15375
|
signal,
|
|
15581
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15582
15376
|
searchParams: buildSearchParams$2({
|
|
15583
15377
|
team_id,
|
|
15584
15378
|
project_id,
|
|
@@ -15607,18 +15401,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15607
15401
|
min_days,
|
|
15608
15402
|
include_drafts,
|
|
15609
15403
|
cf_filter,
|
|
15610
|
-
user_cf_filter
|
|
15611
|
-
recurring_occurrences_after,
|
|
15612
|
-
max_recurring_occurrences_after,
|
|
15613
|
-
recurring_task_read,
|
|
15614
|
-
include_projected_occurrences
|
|
15404
|
+
user_cf_filter
|
|
15615
15405
|
})
|
|
15616
15406
|
}).json();
|
|
15617
15407
|
}
|
|
15618
|
-
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,
|
|
15408
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
|
|
15619
15409
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15620
15410
|
signal,
|
|
15621
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15622
15411
|
searchParams: buildSearchParams$2({
|
|
15623
15412
|
source,
|
|
15624
15413
|
priority,
|
|
@@ -15648,10 +15437,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15648
15437
|
include_drafts,
|
|
15649
15438
|
cf_filter,
|
|
15650
15439
|
user_cf_filter,
|
|
15651
|
-
recurring_occurrences_after,
|
|
15652
|
-
max_recurring_occurrences_after,
|
|
15653
|
-
recurring_task_read,
|
|
15654
|
-
include_projected_occurrences,
|
|
15655
15440
|
page,
|
|
15656
15441
|
per_page,
|
|
15657
15442
|
order_by
|
|
@@ -15679,6 +15464,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
15679
15464
|
}).json();
|
|
15680
15465
|
}
|
|
15681
15466
|
//#endregion
|
|
15467
|
+
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
15468
|
+
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
15469
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15470
|
+
signal,
|
|
15471
|
+
searchParams: buildSearchParams$2({
|
|
15472
|
+
page,
|
|
15473
|
+
per_page,
|
|
15474
|
+
order_by,
|
|
15475
|
+
archived
|
|
15476
|
+
})
|
|
15477
|
+
}).json();
|
|
15478
|
+
}
|
|
15479
|
+
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
15480
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15481
|
+
signal,
|
|
15482
|
+
json: data
|
|
15483
|
+
}).json();
|
|
15484
|
+
}
|
|
15485
|
+
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15486
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
15487
|
+
}
|
|
15488
|
+
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15489
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15490
|
+
signal,
|
|
15491
|
+
json: data
|
|
15492
|
+
}).json();
|
|
15493
|
+
}
|
|
15494
|
+
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
15495
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15496
|
+
signal,
|
|
15497
|
+
searchParams: buildSearchParams$2({ outbound_sync })
|
|
15498
|
+
}).json();
|
|
15499
|
+
}
|
|
15500
|
+
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15501
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15502
|
+
signal,
|
|
15503
|
+
json: data
|
|
15504
|
+
}).json();
|
|
15505
|
+
}
|
|
15506
|
+
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15507
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
15508
|
+
}
|
|
15509
|
+
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15510
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
15511
|
+
}
|
|
15512
|
+
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15513
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
15514
|
+
}
|
|
15515
|
+
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
15516
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
15517
|
+
signal,
|
|
15518
|
+
searchParams: buildSearchParams$2({
|
|
15519
|
+
date_from,
|
|
15520
|
+
date_to,
|
|
15521
|
+
task_id,
|
|
15522
|
+
status_id,
|
|
15523
|
+
page,
|
|
15524
|
+
per_page,
|
|
15525
|
+
archived,
|
|
15526
|
+
order_by
|
|
15527
|
+
})
|
|
15528
|
+
}).json();
|
|
15529
|
+
}
|
|
15530
|
+
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15531
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15532
|
+
signal,
|
|
15533
|
+
json: data
|
|
15534
|
+
}).json();
|
|
15535
|
+
}
|
|
15536
|
+
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
15537
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15538
|
+
signal,
|
|
15539
|
+
searchParams: buildSearchParams$2({
|
|
15540
|
+
ids,
|
|
15541
|
+
outbound_sync
|
|
15542
|
+
})
|
|
15543
|
+
}).json();
|
|
15544
|
+
}
|
|
15545
|
+
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15546
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15547
|
+
signal,
|
|
15548
|
+
json: data
|
|
15549
|
+
}).json();
|
|
15550
|
+
}
|
|
15551
|
+
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
15552
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
15553
|
+
signal,
|
|
15554
|
+
searchParams: buildSearchParams$2({
|
|
15555
|
+
date_from,
|
|
15556
|
+
date_to,
|
|
15557
|
+
task_id,
|
|
15558
|
+
status_id,
|
|
15559
|
+
archived,
|
|
15560
|
+
order_by
|
|
15561
|
+
})
|
|
15562
|
+
}).json();
|
|
15563
|
+
}
|
|
15564
|
+
//#endregion
|
|
15682
15565
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
15683
15566
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
15684
15567
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -15716,12 +15599,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
15716
15599
|
})
|
|
15717
15600
|
}).json();
|
|
15718
15601
|
}
|
|
15719
|
-
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
15720
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
15721
|
-
}
|
|
15722
|
-
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
15723
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
15724
|
-
}
|
|
15725
15602
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
15726
15603
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
15727
15604
|
signal,
|
|
@@ -15749,26 +15626,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15749
15626
|
json: data
|
|
15750
15627
|
}).json();
|
|
15751
15628
|
}
|
|
15752
|
-
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
15753
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
15754
|
-
signal,
|
|
15755
|
-
searchParams: buildSearchParams$2({
|
|
15756
|
-
category_id,
|
|
15757
|
-
date
|
|
15758
|
-
})
|
|
15759
|
-
}).json();
|
|
15760
|
-
}
|
|
15761
|
-
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
15762
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
15763
|
-
signal,
|
|
15764
|
-
searchParams: buildSearchParams$2({
|
|
15765
|
-
category_id,
|
|
15766
|
-
year,
|
|
15767
|
-
page,
|
|
15768
|
-
rows
|
|
15769
|
-
})
|
|
15770
|
-
}).json();
|
|
15771
|
-
}
|
|
15772
15629
|
//#endregion
|
|
15773
15630
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15774
15631
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15869,19 +15726,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15869
15726
|
json: data
|
|
15870
15727
|
}).json();
|
|
15871
15728
|
}
|
|
15872
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
15873
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
15874
|
-
signal,
|
|
15875
|
-
searchParams: buildSearchParams$2({
|
|
15876
|
-
date_from,
|
|
15877
|
-
date_to,
|
|
15878
|
-
setup_id,
|
|
15879
|
-
user_account_ids,
|
|
15880
|
-
approver_user_account_ids,
|
|
15881
|
-
team_ids
|
|
15882
|
-
})
|
|
15883
|
-
}).json();
|
|
15884
|
-
}
|
|
15885
15729
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15886
15730
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15887
15731
|
}
|
|
@@ -15925,21 +15769,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15925
15769
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
15926
15770
|
}
|
|
15927
15771
|
//#endregion
|
|
15928
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
15929
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
15930
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
15931
|
-
signal,
|
|
15932
|
-
json: data
|
|
15933
|
-
}).json();
|
|
15934
|
-
}
|
|
15935
|
-
//#endregion
|
|
15936
15772
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15937
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15938
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15939
|
-
}
|
|
15940
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15941
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15942
|
-
}
|
|
15943
15773
|
async function getUserSettings(httpClient, signal) {
|
|
15944
15774
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15945
15775
|
}
|
|
@@ -15967,12 +15797,6 @@ async function serviceVersion(httpClient, signal) {
|
|
|
15967
15797
|
}
|
|
15968
15798
|
//#endregion
|
|
15969
15799
|
//#region ../focus-queries/dist/working-hours/requests.ts
|
|
15970
|
-
async function replaceWorkingHoursForUsers(httpClient, organization_id, data, signal) {
|
|
15971
|
-
return await httpClient.put(`organizations/${organization_id}/workinghours/users`, {
|
|
15972
|
-
signal,
|
|
15973
|
-
json: data
|
|
15974
|
-
}).json();
|
|
15975
|
-
}
|
|
15976
15800
|
async function getWorkingHoursForUser(httpClient, organization_id, user_id, signal) {
|
|
15977
15801
|
return await httpClient.get(`organizations/${organization_id}/workinghours/users/${user_id}`, { signal }).json();
|
|
15978
15802
|
}
|
|
@@ -16185,7 +16009,6 @@ const generatedFocusOperations = [
|
|
|
16185
16009
|
mcp: { entityTool: "audit-log" },
|
|
16186
16010
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16187
16011
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16188
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16189
16012
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16190
16013
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16191
16014
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16193,7 +16016,6 @@ const generatedFocusOperations = [
|
|
|
16193
16016
|
from: /* @__PURE__ */ string$1(),
|
|
16194
16017
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16195
16018
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16196
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16197
16019
|
to: /* @__PURE__ */ string$1(),
|
|
16198
16020
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16199
16021
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16227,7 +16049,6 @@ const generatedFocusOperations = [
|
|
|
16227
16049
|
mcp: { entityTool: "audit-log" },
|
|
16228
16050
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16229
16051
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16230
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16231
16052
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16232
16053
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16233
16054
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16235,7 +16056,6 @@ const generatedFocusOperations = [
|
|
|
16235
16056
|
from: /* @__PURE__ */ string$1(),
|
|
16236
16057
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16237
16058
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16238
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16239
16059
|
to: /* @__PURE__ */ string$1(),
|
|
16240
16060
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16241
16061
|
}),
|
|
@@ -16275,7 +16095,6 @@ const generatedFocusOperations = [
|
|
|
16275
16095
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16276
16096
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16277
16097
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16278
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16279
16098
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16280
16099
|
user_id: /* @__PURE__ */ number$2()
|
|
16281
16100
|
}),
|
|
@@ -16525,6 +16344,8 @@ const generatedFocusOperations = [
|
|
|
16525
16344
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16526
16345
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16527
16346
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16347
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16348
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16528
16349
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16529
16350
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16530
16351
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16558,6 +16379,8 @@ const generatedFocusOperations = [
|
|
|
16558
16379
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16559
16380
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16560
16381
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16382
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16383
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16561
16384
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16562
16385
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16563
16386
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16573,6 +16396,12 @@ const generatedFocusOperations = [
|
|
|
16573
16396
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16574
16397
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16575
16398
|
}))),
|
|
16399
|
+
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16400
|
+
start: apiDateTimeString,
|
|
16401
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16402
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16403
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16404
|
+
}))),
|
|
16576
16405
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16577
16406
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
16578
16407
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -16582,6 +16411,13 @@ const generatedFocusOperations = [
|
|
|
16582
16411
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16583
16412
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16584
16413
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16414
|
+
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16415
|
+
start: apiDateTimeString,
|
|
16416
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16417
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16418
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16419
|
+
})),
|
|
16420
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16585
16421
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16586
16422
|
}))
|
|
16587
16423
|
}) }),
|
|
@@ -16699,33 +16535,6 @@ const generatedFocusOperations = [
|
|
|
16699
16535
|
]));
|
|
16700
16536
|
}
|
|
16701
16537
|
},
|
|
16702
|
-
{
|
|
16703
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
16704
|
-
family: "focus",
|
|
16705
|
-
resource: "custom-fields",
|
|
16706
|
-
action: "get-allowed-users",
|
|
16707
|
-
title: "Get Allowed Users Custom Fields",
|
|
16708
|
-
description: "Get Allowed Users Custom Fields.",
|
|
16709
|
-
safety: "read",
|
|
16710
|
-
destructive: false,
|
|
16711
|
-
cli: {
|
|
16712
|
-
group: ["custom-fields"],
|
|
16713
|
-
command: "get-allowed-users",
|
|
16714
|
-
interactive: "available"
|
|
16715
|
-
},
|
|
16716
|
-
mcp: { entityTool: "custom-fields" },
|
|
16717
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16718
|
-
execute: (input, { client }) => {
|
|
16719
|
-
const data = input;
|
|
16720
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16721
|
-
client.httpClient,
|
|
16722
|
-
client.organizationId,
|
|
16723
|
-
client.workspaceIdNumber,
|
|
16724
|
-
data.custom_field_id,
|
|
16725
|
-
void 0
|
|
16726
|
-
]));
|
|
16727
|
-
}
|
|
16728
|
-
},
|
|
16729
16538
|
{
|
|
16730
16539
|
id: "focus.custom-fields.list",
|
|
16731
16540
|
family: "focus",
|
|
@@ -16895,37 +16704,6 @@ const generatedFocusOperations = [
|
|
|
16895
16704
|
]));
|
|
16896
16705
|
}
|
|
16897
16706
|
},
|
|
16898
|
-
{
|
|
16899
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16900
|
-
family: "focus",
|
|
16901
|
-
resource: "custom-fields",
|
|
16902
|
-
action: "replace-custom-field-allowed-users",
|
|
16903
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16904
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16905
|
-
safety: "update",
|
|
16906
|
-
destructive: false,
|
|
16907
|
-
cli: {
|
|
16908
|
-
group: ["custom-fields"],
|
|
16909
|
-
command: "replace-custom-field-allowed-users",
|
|
16910
|
-
interactive: "default"
|
|
16911
|
-
},
|
|
16912
|
-
mcp: { entityTool: "custom-fields" },
|
|
16913
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16914
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16915
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16916
|
-
}),
|
|
16917
|
-
execute: (input, { client }) => {
|
|
16918
|
-
const data = input;
|
|
16919
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16920
|
-
client.httpClient,
|
|
16921
|
-
client.organizationId,
|
|
16922
|
-
client.workspaceIdNumber,
|
|
16923
|
-
data.custom_field_id,
|
|
16924
|
-
data.payload ?? data.data ?? data,
|
|
16925
|
-
void 0
|
|
16926
|
-
]));
|
|
16927
|
-
}
|
|
16928
|
-
},
|
|
16929
16707
|
{
|
|
16930
16708
|
id: "focus.custom-fields.update",
|
|
16931
16709
|
family: "focus",
|
|
@@ -17056,256 +16834,6 @@ const generatedFocusOperations = [
|
|
|
17056
16834
|
]));
|
|
17057
16835
|
}
|
|
17058
16836
|
},
|
|
17059
|
-
{
|
|
17060
|
-
id: "focus.designations.bulk-create-workspace",
|
|
17061
|
-
family: "focus",
|
|
17062
|
-
resource: "designations",
|
|
17063
|
-
action: "bulk-create-workspace",
|
|
17064
|
-
title: "Bulk Create Workspace Designations",
|
|
17065
|
-
description: "Bulk Create Workspace Designations.",
|
|
17066
|
-
safety: "create",
|
|
17067
|
-
destructive: false,
|
|
17068
|
-
cli: {
|
|
17069
|
-
group: ["designations", "bulk"],
|
|
17070
|
-
command: "create-workspace",
|
|
17071
|
-
interactive: "default"
|
|
17072
|
-
},
|
|
17073
|
-
mcp: { entityTool: "designations" },
|
|
17074
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17075
|
-
name: /* @__PURE__ */ string$1(),
|
|
17076
|
-
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17077
|
-
})) }) }),
|
|
17078
|
-
execute: (input, { client }) => {
|
|
17079
|
-
const data = input;
|
|
17080
|
-
return client.runGeneratedRequest("bulkCreateWorkspaceDesignations", () => callGeneratedRequest(bulkCreateWorkspaceDesignations, [
|
|
17081
|
-
client.httpClient,
|
|
17082
|
-
client.organizationId,
|
|
17083
|
-
client.workspaceIdNumber,
|
|
17084
|
-
data.payload ?? data.data ?? data,
|
|
17085
|
-
void 0
|
|
17086
|
-
]));
|
|
17087
|
-
}
|
|
17088
|
-
},
|
|
17089
|
-
{
|
|
17090
|
-
id: "focus.designations.bulk-delete-workspace",
|
|
17091
|
-
family: "focus",
|
|
17092
|
-
resource: "designations",
|
|
17093
|
-
action: "bulk-delete-workspace",
|
|
17094
|
-
title: "Bulk Delete Workspace Designations",
|
|
17095
|
-
description: "Bulk Delete Workspace Designations.",
|
|
17096
|
-
safety: "delete",
|
|
17097
|
-
destructive: true,
|
|
17098
|
-
cli: {
|
|
17099
|
-
group: ["designations", "bulk"],
|
|
17100
|
-
command: "delete-workspace",
|
|
17101
|
-
interactive: "default"
|
|
17102
|
-
},
|
|
17103
|
-
mcp: { entityTool: "designations" },
|
|
17104
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
17105
|
-
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17106
|
-
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
17107
|
-
}),
|
|
17108
|
-
execute: (input, { client }) => {
|
|
17109
|
-
const data = input;
|
|
17110
|
-
return client.runGeneratedRequest("bulkDeleteWorkspaceDesignations", () => callGeneratedRequest(bulkDeleteWorkspaceDesignations, [
|
|
17111
|
-
client.httpClient,
|
|
17112
|
-
client.organizationId,
|
|
17113
|
-
client.workspaceIdNumber,
|
|
17114
|
-
data.ids,
|
|
17115
|
-
data.all_or_none,
|
|
17116
|
-
void 0
|
|
17117
|
-
]));
|
|
17118
|
-
}
|
|
17119
|
-
},
|
|
17120
|
-
{
|
|
17121
|
-
id: "focus.designations.bulk-update-workspace",
|
|
17122
|
-
family: "focus",
|
|
17123
|
-
resource: "designations",
|
|
17124
|
-
action: "bulk-update-workspace",
|
|
17125
|
-
title: "Bulk Update Workspace Designations",
|
|
17126
|
-
description: "Bulk Update Workspace Designations.",
|
|
17127
|
-
safety: "update",
|
|
17128
|
-
destructive: false,
|
|
17129
|
-
cli: {
|
|
17130
|
-
group: ["designations", "bulk"],
|
|
17131
|
-
command: "update-workspace",
|
|
17132
|
-
interactive: "default"
|
|
17133
|
-
},
|
|
17134
|
-
mcp: { entityTool: "designations" },
|
|
17135
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17136
|
-
designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17137
|
-
id: /* @__PURE__ */ number$2(),
|
|
17138
|
-
name: /* @__PURE__ */ string$1()
|
|
17139
|
-
})),
|
|
17140
|
-
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
17141
|
-
}) }),
|
|
17142
|
-
execute: (input, { client }) => {
|
|
17143
|
-
const data = input;
|
|
17144
|
-
return client.runGeneratedRequest("bulkUpdateWorkspaceDesignations", () => callGeneratedRequest(bulkUpdateWorkspaceDesignations, [
|
|
17145
|
-
client.httpClient,
|
|
17146
|
-
client.organizationId,
|
|
17147
|
-
client.workspaceIdNumber,
|
|
17148
|
-
data.payload ?? data.data ?? data,
|
|
17149
|
-
void 0
|
|
17150
|
-
]));
|
|
17151
|
-
}
|
|
17152
|
-
},
|
|
17153
|
-
{
|
|
17154
|
-
id: "focus.designations.create-workspace",
|
|
17155
|
-
family: "focus",
|
|
17156
|
-
resource: "designations",
|
|
17157
|
-
action: "create-workspace",
|
|
17158
|
-
title: "Create Workspace Designations",
|
|
17159
|
-
description: "Create Workspace Designations.",
|
|
17160
|
-
safety: "create",
|
|
17161
|
-
destructive: false,
|
|
17162
|
-
cli: {
|
|
17163
|
-
group: ["designations"],
|
|
17164
|
-
command: "create-workspace",
|
|
17165
|
-
interactive: "default"
|
|
17166
|
-
},
|
|
17167
|
-
mcp: { entityTool: "designations" },
|
|
17168
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17169
|
-
name: /* @__PURE__ */ string$1(),
|
|
17170
|
-
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17171
|
-
}) }),
|
|
17172
|
-
execute: (input, { client }) => {
|
|
17173
|
-
const data = input;
|
|
17174
|
-
return client.runGeneratedRequest("createWorkspaceDesignation", () => callGeneratedRequest(createWorkspaceDesignation, [
|
|
17175
|
-
client.httpClient,
|
|
17176
|
-
client.organizationId,
|
|
17177
|
-
client.workspaceIdNumber,
|
|
17178
|
-
data.payload ?? data.data ?? data,
|
|
17179
|
-
void 0
|
|
17180
|
-
]));
|
|
17181
|
-
}
|
|
17182
|
-
},
|
|
17183
|
-
{
|
|
17184
|
-
id: "focus.designations.delete-workspace",
|
|
17185
|
-
family: "focus",
|
|
17186
|
-
resource: "designations",
|
|
17187
|
-
action: "delete-workspace",
|
|
17188
|
-
title: "Delete Workspace Designations",
|
|
17189
|
-
description: "Delete Workspace Designations.",
|
|
17190
|
-
safety: "delete",
|
|
17191
|
-
destructive: true,
|
|
17192
|
-
cli: {
|
|
17193
|
-
group: ["designations"],
|
|
17194
|
-
command: "delete-workspace",
|
|
17195
|
-
interactive: "default"
|
|
17196
|
-
},
|
|
17197
|
-
mcp: { entityTool: "designations" },
|
|
17198
|
-
inputSchema: /* @__PURE__ */ looseObject({ designation_id: /* @__PURE__ */ number$2() }),
|
|
17199
|
-
execute: (input, { client }) => {
|
|
17200
|
-
const data = input;
|
|
17201
|
-
return client.runGeneratedRequest("deleteWorkspaceDesignation", () => callGeneratedRequest(deleteWorkspaceDesignation, [
|
|
17202
|
-
client.httpClient,
|
|
17203
|
-
client.organizationId,
|
|
17204
|
-
client.workspaceIdNumber,
|
|
17205
|
-
data.designation_id,
|
|
17206
|
-
void 0
|
|
17207
|
-
]));
|
|
17208
|
-
}
|
|
17209
|
-
},
|
|
17210
|
-
{
|
|
17211
|
-
id: "focus.designations.get-workspace-designations",
|
|
17212
|
-
family: "focus",
|
|
17213
|
-
resource: "designations",
|
|
17214
|
-
action: "get-workspace-designations",
|
|
17215
|
-
title: "Get Workspace Designations Designations",
|
|
17216
|
-
description: "Get Workspace Designations Designations.",
|
|
17217
|
-
safety: "read",
|
|
17218
|
-
destructive: false,
|
|
17219
|
-
cli: {
|
|
17220
|
-
group: ["designations"],
|
|
17221
|
-
command: "get-workspace-designations",
|
|
17222
|
-
interactive: "hidden"
|
|
17223
|
-
},
|
|
17224
|
-
mcp: { entityTool: "designations" },
|
|
17225
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
17226
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17227
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17228
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17229
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
17230
|
-
}),
|
|
17231
|
-
execute: (input, { client }) => {
|
|
17232
|
-
const data = input;
|
|
17233
|
-
return client.runGeneratedRequest("getWorkspaceDesignationsClassic", () => callGeneratedRequest(getWorkspaceDesignationsClassic, [
|
|
17234
|
-
client.httpClient,
|
|
17235
|
-
client.organizationId,
|
|
17236
|
-
client.workspaceIdNumber,
|
|
17237
|
-
data,
|
|
17238
|
-
void 0
|
|
17239
|
-
]));
|
|
17240
|
-
}
|
|
17241
|
-
},
|
|
17242
|
-
{
|
|
17243
|
-
id: "focus.designations.update-workspace",
|
|
17244
|
-
family: "focus",
|
|
17245
|
-
resource: "designations",
|
|
17246
|
-
action: "update-workspace",
|
|
17247
|
-
title: "Update Workspace Designations",
|
|
17248
|
-
description: "Update Workspace Designations.",
|
|
17249
|
-
safety: "update",
|
|
17250
|
-
destructive: false,
|
|
17251
|
-
cli: {
|
|
17252
|
-
group: ["designations"],
|
|
17253
|
-
command: "update-workspace",
|
|
17254
|
-
interactive: "default"
|
|
17255
|
-
},
|
|
17256
|
-
mcp: { entityTool: "designations" },
|
|
17257
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
17258
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
17259
|
-
payload: /* @__PURE__ */ looseObject({ name: /* @__PURE__ */ string$1() })
|
|
17260
|
-
}),
|
|
17261
|
-
execute: (input, { client }) => {
|
|
17262
|
-
const data = input;
|
|
17263
|
-
return client.runGeneratedRequest("updateWorkspaceDesignation", () => callGeneratedRequest(updateWorkspaceDesignation, [
|
|
17264
|
-
client.httpClient,
|
|
17265
|
-
client.organizationId,
|
|
17266
|
-
client.workspaceIdNumber,
|
|
17267
|
-
data.designation_id,
|
|
17268
|
-
data.payload ?? data.data ?? data,
|
|
17269
|
-
void 0
|
|
17270
|
-
]));
|
|
17271
|
-
}
|
|
17272
|
-
},
|
|
17273
|
-
{
|
|
17274
|
-
id: "focus.designations.update-workspace-designation-members",
|
|
17275
|
-
family: "focus",
|
|
17276
|
-
resource: "designations",
|
|
17277
|
-
action: "update-workspace-designation-members",
|
|
17278
|
-
title: "Update Workspace Designation Members Designations",
|
|
17279
|
-
description: "Update Workspace Designation Members Designations.",
|
|
17280
|
-
safety: "update",
|
|
17281
|
-
destructive: false,
|
|
17282
|
-
cli: {
|
|
17283
|
-
group: ["designations"],
|
|
17284
|
-
command: "update-workspace-designation-members",
|
|
17285
|
-
interactive: "default"
|
|
17286
|
-
},
|
|
17287
|
-
mcp: { entityTool: "designations" },
|
|
17288
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17289
|
-
add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17290
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
17291
|
-
toggl_user_id: /* @__PURE__ */ number$2()
|
|
17292
|
-
}))),
|
|
17293
|
-
remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17294
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
17295
|
-
toggl_user_id: /* @__PURE__ */ number$2()
|
|
17296
|
-
})))
|
|
17297
|
-
}) }),
|
|
17298
|
-
execute: (input, { client }) => {
|
|
17299
|
-
const data = input;
|
|
17300
|
-
return client.runGeneratedRequest("updateWorkspaceDesignationMembers", () => callGeneratedRequest(updateWorkspaceDesignationMembers, [
|
|
17301
|
-
client.httpClient,
|
|
17302
|
-
client.organizationId,
|
|
17303
|
-
client.workspaceIdNumber,
|
|
17304
|
-
data.payload ?? data.data ?? data,
|
|
17305
|
-
void 0
|
|
17306
|
-
]));
|
|
17307
|
-
}
|
|
17308
|
-
},
|
|
17309
16837
|
{
|
|
17310
16838
|
id: "focus.goals.create",
|
|
17311
16839
|
family: "focus",
|
|
@@ -17322,7 +16850,13 @@ const generatedFocusOperations = [
|
|
|
17322
16850
|
},
|
|
17323
16851
|
mcp: { entityTool: "goals" },
|
|
17324
16852
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16853
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17325
16854
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16855
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16856
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16857
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16858
|
+
name: /* @__PURE__ */ string$1(),
|
|
16859
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17326
16860
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17327
16861
|
"daily",
|
|
17328
16862
|
"weekly",
|
|
@@ -17330,18 +16864,12 @@ const generatedFocusOperations = [
|
|
|
17330
16864
|
"monthly"
|
|
17331
16865
|
]),
|
|
17332
16866
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16867
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17333
16868
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17334
|
-
|
|
16869
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16870
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17335
16871
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17336
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17337
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17338
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17339
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17340
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17341
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17342
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17343
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17344
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16872
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17345
16873
|
}) }),
|
|
17346
16874
|
execute: (input, { client }) => {
|
|
17347
16875
|
const data = input;
|
|
@@ -17447,6 +16975,13 @@ const generatedFocusOperations = [
|
|
|
17447
16975
|
},
|
|
17448
16976
|
mcp: { entityTool: "goals" },
|
|
17449
16977
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16978
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
16979
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16980
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16981
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16982
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16983
|
+
name: /* @__PURE__ */ string$1(),
|
|
16984
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17450
16985
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17451
16986
|
"daily",
|
|
17452
16987
|
"weekly",
|
|
@@ -17454,19 +16989,12 @@ const generatedFocusOperations = [
|
|
|
17454
16989
|
"monthly"
|
|
17455
16990
|
]),
|
|
17456
16991
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17457
|
-
|
|
16992
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16993
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
16994
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16995
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17458
16996
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17459
|
-
|
|
17460
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17461
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17462
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17463
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17464
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17465
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17466
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17467
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17468
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17469
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16997
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17470
16998
|
}) }),
|
|
17471
16999
|
execute: (input, { client }) => {
|
|
17472
17000
|
const data = input;
|
|
@@ -18433,17 +17961,9 @@ const generatedFocusOperations = [
|
|
|
18433
17961
|
mcp: { entityTool: "projects" },
|
|
18434
17962
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18435
17963
|
payload: /* @__PURE__ */ looseObject({
|
|
18436
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18437
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18438
17964
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18439
17965
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18440
17966
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18441
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18442
|
-
"expire",
|
|
18443
|
-
"carry_all",
|
|
18444
|
-
"carry_over"
|
|
18445
|
-
])),
|
|
18446
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18447
17967
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18448
17968
|
}),
|
|
18449
17969
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18887,7 +18407,6 @@ const generatedFocusOperations = [
|
|
|
18887
18407
|
group: /* @__PURE__ */ string$1(),
|
|
18888
18408
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18889
18409
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18890
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18891
18410
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18892
18411
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18893
18412
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18990,6 +18509,29 @@ const generatedFocusOperations = [
|
|
|
18990
18509
|
]));
|
|
18991
18510
|
}
|
|
18992
18511
|
},
|
|
18512
|
+
{
|
|
18513
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
18514
|
+
family: "focus",
|
|
18515
|
+
resource: "projects",
|
|
18516
|
+
action: "margin-targets-clear-workspace",
|
|
18517
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
18518
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
18519
|
+
safety: "delete",
|
|
18520
|
+
destructive: true,
|
|
18521
|
+
cli: {
|
|
18522
|
+
group: ["projects", "margin-targets"],
|
|
18523
|
+
command: "clear-workspace",
|
|
18524
|
+
interactive: "default"
|
|
18525
|
+
},
|
|
18526
|
+
mcp: { entityTool: "projects" },
|
|
18527
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18528
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18529
|
+
client.httpClient,
|
|
18530
|
+
client.organizationId,
|
|
18531
|
+
client.workspaceIdNumber,
|
|
18532
|
+
void 0
|
|
18533
|
+
]))
|
|
18534
|
+
},
|
|
18993
18535
|
{
|
|
18994
18536
|
id: "focus.projects.margin-targets-get",
|
|
18995
18537
|
family: "focus",
|
|
@@ -19434,130 +18976,6 @@ const generatedFocusOperations = [
|
|
|
19434
18976
|
]));
|
|
19435
18977
|
}
|
|
19436
18978
|
},
|
|
19437
|
-
{
|
|
19438
|
-
id: "focus.publicsharedreports.open-public-shared-report",
|
|
19439
|
-
family: "focus",
|
|
19440
|
-
resource: "publicsharedreports",
|
|
19441
|
-
action: "open-public-shared-report",
|
|
19442
|
-
title: "Open Public Shared Report Publicsharedreports",
|
|
19443
|
-
description: "Open Public Shared Report Publicsharedreports.",
|
|
19444
|
-
safety: "read",
|
|
19445
|
-
destructive: false,
|
|
19446
|
-
cli: {
|
|
19447
|
-
group: ["publicsharedreports"],
|
|
19448
|
-
command: "open-public-shared-report",
|
|
19449
|
-
interactive: "available"
|
|
19450
|
-
},
|
|
19451
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19452
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
19453
|
-
execute: (input, { client }) => {
|
|
19454
|
-
const data = input;
|
|
19455
|
-
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
19456
|
-
client.httpClient,
|
|
19457
|
-
data.token,
|
|
19458
|
-
void 0
|
|
19459
|
-
]));
|
|
19460
|
-
}
|
|
19461
|
-
},
|
|
19462
|
-
{
|
|
19463
|
-
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
19464
|
-
family: "focus",
|
|
19465
|
-
resource: "publicsharedreports",
|
|
19466
|
-
action: "profitability-public-shared-report",
|
|
19467
|
-
title: "Profitability Public Shared Report Publicsharedreports",
|
|
19468
|
-
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
19469
|
-
safety: "update",
|
|
19470
|
-
destructive: false,
|
|
19471
|
-
cli: {
|
|
19472
|
-
group: ["publicsharedreports"],
|
|
19473
|
-
command: "profitability-public-shared-report",
|
|
19474
|
-
interactive: "default"
|
|
19475
|
-
},
|
|
19476
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19477
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19478
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19479
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19480
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
19481
|
-
token: /* @__PURE__ */ string$1()
|
|
19482
|
-
}),
|
|
19483
|
-
execute: (input, { client }) => {
|
|
19484
|
-
const data = input;
|
|
19485
|
-
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
19486
|
-
client.httpClient,
|
|
19487
|
-
data.token,
|
|
19488
|
-
data.payload ?? data.data ?? data,
|
|
19489
|
-
data.response_format,
|
|
19490
|
-
data.include_dicts,
|
|
19491
|
-
void 0
|
|
19492
|
-
]));
|
|
19493
|
-
}
|
|
19494
|
-
},
|
|
19495
|
-
{
|
|
19496
|
-
id: "focus.publicsharedreports.query-public-shared-report",
|
|
19497
|
-
family: "focus",
|
|
19498
|
-
resource: "publicsharedreports",
|
|
19499
|
-
action: "query-public-shared-report",
|
|
19500
|
-
title: "Query Public Shared Report Publicsharedreports",
|
|
19501
|
-
description: "Query Public Shared Report Publicsharedreports.",
|
|
19502
|
-
safety: "update",
|
|
19503
|
-
destructive: false,
|
|
19504
|
-
cli: {
|
|
19505
|
-
group: ["publicsharedreports"],
|
|
19506
|
-
command: "query-public-shared-report",
|
|
19507
|
-
interactive: "default"
|
|
19508
|
-
},
|
|
19509
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19510
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19511
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19512
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19513
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19514
|
-
"json_row",
|
|
19515
|
-
"table",
|
|
19516
|
-
"hierarchical"
|
|
19517
|
-
])),
|
|
19518
|
-
token: /* @__PURE__ */ string$1()
|
|
19519
|
-
}),
|
|
19520
|
-
execute: (input, { client }) => {
|
|
19521
|
-
const data = input;
|
|
19522
|
-
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
19523
|
-
client.httpClient,
|
|
19524
|
-
data.token,
|
|
19525
|
-
data.payload ?? data.data ?? data,
|
|
19526
|
-
data.response_format,
|
|
19527
|
-
data.include_dicts,
|
|
19528
|
-
void 0
|
|
19529
|
-
]));
|
|
19530
|
-
}
|
|
19531
|
-
},
|
|
19532
|
-
{
|
|
19533
|
-
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
19534
|
-
family: "focus",
|
|
19535
|
-
resource: "publicsharedreports",
|
|
19536
|
-
action: "workload-public-shared-report",
|
|
19537
|
-
title: "Workload Public Shared Report Publicsharedreports",
|
|
19538
|
-
description: "Workload Public Shared Report Publicsharedreports.",
|
|
19539
|
-
safety: "update",
|
|
19540
|
-
destructive: false,
|
|
19541
|
-
cli: {
|
|
19542
|
-
group: ["publicsharedreports"],
|
|
19543
|
-
command: "workload-public-shared-report",
|
|
19544
|
-
interactive: "default"
|
|
19545
|
-
},
|
|
19546
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19547
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19548
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19549
|
-
token: /* @__PURE__ */ string$1()
|
|
19550
|
-
}),
|
|
19551
|
-
execute: (input, { client }) => {
|
|
19552
|
-
const data = input;
|
|
19553
|
-
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
19554
|
-
client.httpClient,
|
|
19555
|
-
data.token,
|
|
19556
|
-
data.payload ?? data.data ?? data,
|
|
19557
|
-
void 0
|
|
19558
|
-
]));
|
|
19559
|
-
}
|
|
19560
|
-
},
|
|
19561
18979
|
{
|
|
19562
18980
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
19563
18981
|
family: "focus",
|
|
@@ -21135,51 +20553,51 @@ const generatedFocusOperations = [
|
|
|
21135
20553
|
mcp: { entityTool: "reports" },
|
|
21136
20554
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21137
20555
|
payload: /* @__PURE__ */ looseObject({
|
|
21138
|
-
aggregation_filters: /* @__PURE__ */
|
|
21139
|
-
aggregation: /* @__PURE__ */
|
|
20556
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20557
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
21140
20558
|
function: /* @__PURE__ */ string$1(),
|
|
21141
20559
|
property: /* @__PURE__ */ string$1()
|
|
21142
|
-
})
|
|
21143
|
-
operator: /* @__PURE__ */
|
|
21144
|
-
property: /* @__PURE__ */
|
|
21145
|
-
}))
|
|
21146
|
-
aggregations: /* @__PURE__ */
|
|
20560
|
+
}),
|
|
20561
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20562
|
+
property: /* @__PURE__ */ string$1()
|
|
20563
|
+
})),
|
|
20564
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21147
20565
|
function: /* @__PURE__ */ string$1(),
|
|
21148
20566
|
property: /* @__PURE__ */ string$1()
|
|
21149
|
-
}))
|
|
21150
|
-
attributes: /* @__PURE__ */
|
|
21151
|
-
|
|
21152
|
-
|
|
21153
|
-
|
|
21154
|
-
|
|
21155
|
-
|
|
21156
|
-
|
|
21157
|
-
|
|
21158
|
-
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21159
|
-
property: /* @__PURE__ */ string$1(),
|
|
21160
|
-
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
21161
|
-
}))),
|
|
21162
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21163
|
-
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20567
|
+
})),
|
|
20568
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20569
|
+
currency: /* @__PURE__ */ string$1(),
|
|
20570
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20571
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
20572
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20573
|
+
property: /* @__PURE__ */ string$1()
|
|
20574
|
+
})),
|
|
20575
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21164
20576
|
property: /* @__PURE__ */ string$1(),
|
|
21165
|
-
|
|
21166
|
-
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21167
|
-
}))),
|
|
21168
|
-
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21169
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21170
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20577
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
21171
20578
|
})),
|
|
21172
|
-
|
|
21173
|
-
|
|
21174
|
-
|
|
21175
|
-
|
|
20579
|
+
limit: /* @__PURE__ */ number$2(),
|
|
20580
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20581
|
+
direction: /* @__PURE__ */ string$1(),
|
|
20582
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
20583
|
+
property: /* @__PURE__ */ string$1()
|
|
21176
20584
|
})),
|
|
21177
|
-
|
|
21178
|
-
|
|
20585
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
20586
|
+
page: /* @__PURE__ */ number$2(),
|
|
20587
|
+
per_page: /* @__PURE__ */ number$2()
|
|
20588
|
+
}),
|
|
20589
|
+
period: /* @__PURE__ */ looseObject({
|
|
20590
|
+
from: /* @__PURE__ */ string$1(),
|
|
20591
|
+
preset: /* @__PURE__ */ string$1(),
|
|
20592
|
+
to: /* @__PURE__ */ string$1()
|
|
20593
|
+
}),
|
|
20594
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21179
20595
|
name: /* @__PURE__ */ string$1(),
|
|
21180
20596
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
21181
|
-
}))
|
|
21182
|
-
view_in_my_timezone: /* @__PURE__ */
|
|
20597
|
+
})),
|
|
20598
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20599
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20600
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21183
20601
|
}),
|
|
21184
20602
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21185
20603
|
}),
|
|
@@ -21260,51 +20678,51 @@ const generatedFocusOperations = [
|
|
|
21260
20678
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21261
20679
|
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
21262
20680
|
payload: /* @__PURE__ */ looseObject({
|
|
21263
|
-
aggregation_filters: /* @__PURE__ */
|
|
21264
|
-
aggregation: /* @__PURE__ */
|
|
20681
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20682
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
21265
20683
|
function: /* @__PURE__ */ string$1(),
|
|
21266
20684
|
property: /* @__PURE__ */ string$1()
|
|
21267
|
-
})
|
|
21268
|
-
operator: /* @__PURE__ */
|
|
21269
|
-
property: /* @__PURE__ */
|
|
21270
|
-
}))
|
|
21271
|
-
aggregations: /* @__PURE__ */
|
|
20685
|
+
}),
|
|
20686
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20687
|
+
property: /* @__PURE__ */ string$1()
|
|
20688
|
+
})),
|
|
20689
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21272
20690
|
function: /* @__PURE__ */ string$1(),
|
|
21273
20691
|
property: /* @__PURE__ */ string$1()
|
|
21274
|
-
}))
|
|
21275
|
-
attributes: /* @__PURE__ */
|
|
21276
|
-
|
|
21277
|
-
|
|
21278
|
-
|
|
21279
|
-
|
|
21280
|
-
|
|
21281
|
-
|
|
21282
|
-
|
|
21283
|
-
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21284
|
-
property: /* @__PURE__ */ string$1(),
|
|
21285
|
-
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
21286
|
-
}))),
|
|
21287
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21288
|
-
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20692
|
+
})),
|
|
20693
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20694
|
+
currency: /* @__PURE__ */ string$1(),
|
|
20695
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20696
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
20697
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20698
|
+
property: /* @__PURE__ */ string$1()
|
|
20699
|
+
})),
|
|
20700
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21289
20701
|
property: /* @__PURE__ */ string$1(),
|
|
21290
|
-
|
|
21291
|
-
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21292
|
-
}))),
|
|
21293
|
-
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21294
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21295
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20702
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
21296
20703
|
})),
|
|
21297
|
-
|
|
21298
|
-
|
|
21299
|
-
|
|
21300
|
-
|
|
20704
|
+
limit: /* @__PURE__ */ number$2(),
|
|
20705
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20706
|
+
direction: /* @__PURE__ */ string$1(),
|
|
20707
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
20708
|
+
property: /* @__PURE__ */ string$1()
|
|
21301
20709
|
})),
|
|
21302
|
-
|
|
21303
|
-
|
|
20710
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
20711
|
+
page: /* @__PURE__ */ number$2(),
|
|
20712
|
+
per_page: /* @__PURE__ */ number$2()
|
|
20713
|
+
}),
|
|
20714
|
+
period: /* @__PURE__ */ looseObject({
|
|
20715
|
+
from: /* @__PURE__ */ string$1(),
|
|
20716
|
+
preset: /* @__PURE__ */ string$1(),
|
|
20717
|
+
to: /* @__PURE__ */ string$1()
|
|
20718
|
+
}),
|
|
20719
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21304
20720
|
name: /* @__PURE__ */ string$1(),
|
|
21305
20721
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
21306
|
-
}))
|
|
21307
|
-
view_in_my_timezone: /* @__PURE__ */
|
|
20722
|
+
})),
|
|
20723
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20724
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20725
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21308
20726
|
}),
|
|
21309
20727
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
21310
20728
|
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -21342,51 +20760,51 @@ const generatedFocusOperations = [
|
|
|
21342
20760
|
},
|
|
21343
20761
|
mcp: { entityTool: "reports" },
|
|
21344
20762
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
21345
|
-
aggregation_filters: /* @__PURE__ */
|
|
21346
|
-
aggregation: /* @__PURE__ */
|
|
20763
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20764
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
21347
20765
|
function: /* @__PURE__ */ string$1(),
|
|
21348
20766
|
property: /* @__PURE__ */ string$1()
|
|
21349
|
-
})
|
|
21350
|
-
operator: /* @__PURE__ */
|
|
21351
|
-
property: /* @__PURE__ */
|
|
21352
|
-
}))
|
|
21353
|
-
aggregations: /* @__PURE__ */
|
|
20767
|
+
}),
|
|
20768
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20769
|
+
property: /* @__PURE__ */ string$1()
|
|
20770
|
+
})),
|
|
20771
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21354
20772
|
function: /* @__PURE__ */ string$1(),
|
|
21355
20773
|
property: /* @__PURE__ */ string$1()
|
|
21356
|
-
}))
|
|
21357
|
-
attributes: /* @__PURE__ */
|
|
21358
|
-
|
|
21359
|
-
|
|
21360
|
-
|
|
21361
|
-
|
|
21362
|
-
|
|
21363
|
-
|
|
21364
|
-
|
|
21365
|
-
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21366
|
-
property: /* @__PURE__ */ string$1(),
|
|
21367
|
-
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
21368
|
-
}))),
|
|
21369
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21370
|
-
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20774
|
+
})),
|
|
20775
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20776
|
+
currency: /* @__PURE__ */ string$1(),
|
|
20777
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20778
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
20779
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20780
|
+
property: /* @__PURE__ */ string$1()
|
|
20781
|
+
})),
|
|
20782
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21371
20783
|
property: /* @__PURE__ */ string$1(),
|
|
21372
|
-
|
|
21373
|
-
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21374
|
-
}))),
|
|
21375
|
-
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21376
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21377
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20784
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
21378
20785
|
})),
|
|
21379
|
-
|
|
21380
|
-
|
|
21381
|
-
|
|
21382
|
-
|
|
20786
|
+
limit: /* @__PURE__ */ number$2(),
|
|
20787
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20788
|
+
direction: /* @__PURE__ */ string$1(),
|
|
20789
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
20790
|
+
property: /* @__PURE__ */ string$1()
|
|
21383
20791
|
})),
|
|
21384
|
-
|
|
21385
|
-
|
|
20792
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
20793
|
+
page: /* @__PURE__ */ number$2(),
|
|
20794
|
+
per_page: /* @__PURE__ */ number$2()
|
|
20795
|
+
}),
|
|
20796
|
+
period: /* @__PURE__ */ looseObject({
|
|
20797
|
+
from: /* @__PURE__ */ string$1(),
|
|
20798
|
+
preset: /* @__PURE__ */ string$1(),
|
|
20799
|
+
to: /* @__PURE__ */ string$1()
|
|
20800
|
+
}),
|
|
20801
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21386
20802
|
name: /* @__PURE__ */ string$1(),
|
|
21387
20803
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
21388
|
-
}))
|
|
21389
|
-
view_in_my_timezone: /* @__PURE__ */
|
|
20804
|
+
})),
|
|
20805
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20806
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20807
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21390
20808
|
}) }),
|
|
21391
20809
|
execute: (input, { client }) => {
|
|
21392
20810
|
const data = input;
|
|
@@ -21415,51 +20833,51 @@ const generatedFocusOperations = [
|
|
|
21415
20833
|
mcp: { entityTool: "reports" },
|
|
21416
20834
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21417
20835
|
payload: /* @__PURE__ */ looseObject({
|
|
21418
|
-
aggregation_filters: /* @__PURE__ */
|
|
21419
|
-
aggregation: /* @__PURE__ */
|
|
20836
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20837
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
21420
20838
|
function: /* @__PURE__ */ string$1(),
|
|
21421
20839
|
property: /* @__PURE__ */ string$1()
|
|
21422
|
-
})
|
|
21423
|
-
operator: /* @__PURE__ */
|
|
21424
|
-
property: /* @__PURE__ */
|
|
21425
|
-
}))
|
|
21426
|
-
aggregations: /* @__PURE__ */
|
|
20840
|
+
}),
|
|
20841
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20842
|
+
property: /* @__PURE__ */ string$1()
|
|
20843
|
+
})),
|
|
20844
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21427
20845
|
function: /* @__PURE__ */ string$1(),
|
|
21428
20846
|
property: /* @__PURE__ */ string$1()
|
|
21429
|
-
}))
|
|
21430
|
-
attributes: /* @__PURE__ */
|
|
21431
|
-
|
|
21432
|
-
|
|
21433
|
-
|
|
21434
|
-
|
|
21435
|
-
|
|
21436
|
-
|
|
21437
|
-
|
|
21438
|
-
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21439
|
-
property: /* @__PURE__ */ string$1(),
|
|
21440
|
-
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
21441
|
-
}))),
|
|
21442
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21443
|
-
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20847
|
+
})),
|
|
20848
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20849
|
+
currency: /* @__PURE__ */ string$1(),
|
|
20850
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20851
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
20852
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20853
|
+
property: /* @__PURE__ */ string$1()
|
|
20854
|
+
})),
|
|
20855
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21444
20856
|
property: /* @__PURE__ */ string$1(),
|
|
21445
|
-
|
|
21446
|
-
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21447
|
-
}))),
|
|
21448
|
-
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21449
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21450
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20857
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
21451
20858
|
})),
|
|
21452
|
-
|
|
21453
|
-
|
|
21454
|
-
|
|
21455
|
-
|
|
20859
|
+
limit: /* @__PURE__ */ number$2(),
|
|
20860
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20861
|
+
direction: /* @__PURE__ */ string$1(),
|
|
20862
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
20863
|
+
property: /* @__PURE__ */ string$1()
|
|
21456
20864
|
})),
|
|
21457
|
-
|
|
21458
|
-
|
|
20865
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
20866
|
+
page: /* @__PURE__ */ number$2(),
|
|
20867
|
+
per_page: /* @__PURE__ */ number$2()
|
|
20868
|
+
}),
|
|
20869
|
+
period: /* @__PURE__ */ looseObject({
|
|
20870
|
+
from: /* @__PURE__ */ string$1(),
|
|
20871
|
+
preset: /* @__PURE__ */ string$1(),
|
|
20872
|
+
to: /* @__PURE__ */ string$1()
|
|
20873
|
+
}),
|
|
20874
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21459
20875
|
name: /* @__PURE__ */ string$1(),
|
|
21460
20876
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
21461
|
-
}))
|
|
21462
|
-
view_in_my_timezone: /* @__PURE__ */
|
|
20877
|
+
})),
|
|
20878
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20879
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20880
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21463
20881
|
}),
|
|
21464
20882
|
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
21465
20883
|
"csv",
|
|
@@ -21516,7 +20934,7 @@ const generatedFocusOperations = [
|
|
|
21516
20934
|
cli: {
|
|
21517
20935
|
group: ["reportschedules"],
|
|
21518
20936
|
command: "upsert-saved-view-schedule",
|
|
21519
|
-
interactive: "
|
|
20937
|
+
interactive: "default"
|
|
21520
20938
|
},
|
|
21521
20939
|
mcp: { entityTool: "reportschedules" },
|
|
21522
20940
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21527,10 +20945,8 @@ const generatedFocusOperations = [
|
|
|
21527
20945
|
"weekly",
|
|
21528
20946
|
"monthly"
|
|
21529
20947
|
]),
|
|
21530
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21531
20948
|
time: /* @__PURE__ */ string$1(),
|
|
21532
20949
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21533
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21534
20950
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21535
20951
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21536
20952
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21863,32 +21279,6 @@ const generatedFocusOperations = [
|
|
|
21863
21279
|
]));
|
|
21864
21280
|
}
|
|
21865
21281
|
},
|
|
21866
|
-
{
|
|
21867
|
-
id: "focus.sharedreports.get-shared-report-dates",
|
|
21868
|
-
family: "focus",
|
|
21869
|
-
resource: "sharedreports",
|
|
21870
|
-
action: "get-shared-report-dates",
|
|
21871
|
-
title: "Get Shared Report Dates Sharedreports",
|
|
21872
|
-
description: "Get Shared Report Dates Sharedreports.",
|
|
21873
|
-
safety: "read",
|
|
21874
|
-
destructive: false,
|
|
21875
|
-
cli: {
|
|
21876
|
-
group: ["sharedreports"],
|
|
21877
|
-
command: "get-shared-report-dates",
|
|
21878
|
-
interactive: "available"
|
|
21879
|
-
},
|
|
21880
|
-
mcp: { entityTool: "sharedreports" },
|
|
21881
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21882
|
-
execute: (input, { client }) => {
|
|
21883
|
-
const data = input;
|
|
21884
|
-
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
21885
|
-
client.httpClient,
|
|
21886
|
-
client.workspaceIdNumber,
|
|
21887
|
-
data.id,
|
|
21888
|
-
void 0
|
|
21889
|
-
]));
|
|
21890
|
-
}
|
|
21891
|
-
},
|
|
21892
21282
|
{
|
|
21893
21283
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21894
21284
|
family: "focus",
|
|
@@ -21959,36 +21349,6 @@ const generatedFocusOperations = [
|
|
|
21959
21349
|
void 0
|
|
21960
21350
|
]))
|
|
21961
21351
|
},
|
|
21962
|
-
{
|
|
21963
|
-
id: "focus.sharedreports.mint-shared-report-link",
|
|
21964
|
-
family: "focus",
|
|
21965
|
-
resource: "sharedreports",
|
|
21966
|
-
action: "mint-shared-report-link",
|
|
21967
|
-
title: "Mint Shared Report Link Sharedreports",
|
|
21968
|
-
description: "Mint Shared Report Link Sharedreports.",
|
|
21969
|
-
safety: "update",
|
|
21970
|
-
destructive: false,
|
|
21971
|
-
cli: {
|
|
21972
|
-
group: ["sharedreports"],
|
|
21973
|
-
command: "mint-shared-report-link",
|
|
21974
|
-
interactive: "default"
|
|
21975
|
-
},
|
|
21976
|
-
mcp: { entityTool: "sharedreports" },
|
|
21977
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21978
|
-
id: /* @__PURE__ */ number$2(),
|
|
21979
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21980
|
-
}),
|
|
21981
|
-
execute: (input, { client }) => {
|
|
21982
|
-
const data = input;
|
|
21983
|
-
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
21984
|
-
client.httpClient,
|
|
21985
|
-
client.workspaceIdNumber,
|
|
21986
|
-
data.id,
|
|
21987
|
-
data.payload ?? data.data ?? data,
|
|
21988
|
-
void 0
|
|
21989
|
-
]));
|
|
21990
|
-
}
|
|
21991
|
-
},
|
|
21992
21352
|
{
|
|
21993
21353
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21994
21354
|
family: "focus",
|
|
@@ -22019,92 +21379,6 @@ const generatedFocusOperations = [
|
|
|
22019
21379
|
]));
|
|
22020
21380
|
}
|
|
22021
21381
|
},
|
|
22022
|
-
{
|
|
22023
|
-
id: "focus.sharedreports.revoke-shared-report-link",
|
|
22024
|
-
family: "focus",
|
|
22025
|
-
resource: "sharedreports",
|
|
22026
|
-
action: "revoke-shared-report-link",
|
|
22027
|
-
title: "Revoke Shared Report Link Sharedreports",
|
|
22028
|
-
description: "Revoke Shared Report Link Sharedreports.",
|
|
22029
|
-
safety: "delete",
|
|
22030
|
-
destructive: true,
|
|
22031
|
-
cli: {
|
|
22032
|
-
group: ["sharedreports"],
|
|
22033
|
-
command: "revoke-shared-report-link",
|
|
22034
|
-
interactive: "default"
|
|
22035
|
-
},
|
|
22036
|
-
mcp: { entityTool: "sharedreports" },
|
|
22037
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
22038
|
-
execute: (input, { client }) => {
|
|
22039
|
-
const data = input;
|
|
22040
|
-
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
22041
|
-
client.httpClient,
|
|
22042
|
-
client.workspaceIdNumber,
|
|
22043
|
-
data.id,
|
|
22044
|
-
void 0
|
|
22045
|
-
]));
|
|
22046
|
-
}
|
|
22047
|
-
},
|
|
22048
|
-
{
|
|
22049
|
-
id: "focus.sharedreports.rotate-shared-report-link",
|
|
22050
|
-
family: "focus",
|
|
22051
|
-
resource: "sharedreports",
|
|
22052
|
-
action: "rotate-shared-report-link",
|
|
22053
|
-
title: "Rotate Shared Report Link Sharedreports",
|
|
22054
|
-
description: "Rotate Shared Report Link Sharedreports.",
|
|
22055
|
-
safety: "update",
|
|
22056
|
-
destructive: false,
|
|
22057
|
-
cli: {
|
|
22058
|
-
group: ["sharedreports"],
|
|
22059
|
-
command: "rotate-shared-report-link",
|
|
22060
|
-
interactive: "default"
|
|
22061
|
-
},
|
|
22062
|
-
mcp: { entityTool: "sharedreports" },
|
|
22063
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22064
|
-
id: /* @__PURE__ */ number$2(),
|
|
22065
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
22066
|
-
}),
|
|
22067
|
-
execute: (input, { client }) => {
|
|
22068
|
-
const data = input;
|
|
22069
|
-
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
22070
|
-
client.httpClient,
|
|
22071
|
-
client.workspaceIdNumber,
|
|
22072
|
-
data.id,
|
|
22073
|
-
data.payload ?? data.data ?? data,
|
|
22074
|
-
void 0
|
|
22075
|
-
]));
|
|
22076
|
-
}
|
|
22077
|
-
},
|
|
22078
|
-
{
|
|
22079
|
-
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
22080
|
-
family: "focus",
|
|
22081
|
-
resource: "sharedreports",
|
|
22082
|
-
action: "set-shared-report-dates-lock",
|
|
22083
|
-
title: "Set Shared Report Dates Lock Sharedreports",
|
|
22084
|
-
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
22085
|
-
safety: "update",
|
|
22086
|
-
destructive: false,
|
|
22087
|
-
cli: {
|
|
22088
|
-
group: ["sharedreports"],
|
|
22089
|
-
command: "set-shared-report-dates-lock",
|
|
22090
|
-
interactive: "default"
|
|
22091
|
-
},
|
|
22092
|
-
mcp: { entityTool: "sharedreports" },
|
|
22093
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22094
|
-
id: /* @__PURE__ */ number$2(),
|
|
22095
|
-
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
22096
|
-
}),
|
|
22097
|
-
execute: (input, { client }) => {
|
|
22098
|
-
const data = input;
|
|
22099
|
-
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
22100
|
-
client.httpClient,
|
|
22101
|
-
client.workspaceIdNumber,
|
|
22102
|
-
data.id,
|
|
22103
|
-
data.payload ?? data.data ?? data,
|
|
22104
|
-
void 0
|
|
22105
|
-
]));
|
|
22106
|
-
}
|
|
22107
|
-
},
|
|
22108
21382
|
{
|
|
22109
21383
|
id: "focus.sharedreports.share-saved-view",
|
|
22110
21384
|
family: "focus",
|
|
@@ -22179,32 +21453,6 @@ const generatedFocusOperations = [
|
|
|
22179
21453
|
]));
|
|
22180
21454
|
}
|
|
22181
21455
|
},
|
|
22182
|
-
{
|
|
22183
|
-
id: "focus.sharedreports.unshare-shared-report",
|
|
22184
|
-
family: "focus",
|
|
22185
|
-
resource: "sharedreports",
|
|
22186
|
-
action: "unshare-shared-report",
|
|
22187
|
-
title: "Unshare Shared Report Sharedreports",
|
|
22188
|
-
description: "Unshare Shared Report Sharedreports.",
|
|
22189
|
-
safety: "delete",
|
|
22190
|
-
destructive: true,
|
|
22191
|
-
cli: {
|
|
22192
|
-
group: ["sharedreports"],
|
|
22193
|
-
command: "unshare-shared-report",
|
|
22194
|
-
interactive: "default"
|
|
22195
|
-
},
|
|
22196
|
-
mcp: { entityTool: "sharedreports" },
|
|
22197
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
22198
|
-
execute: (input, { client }) => {
|
|
22199
|
-
const data = input;
|
|
22200
|
-
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
22201
|
-
client.httpClient,
|
|
22202
|
-
client.workspaceIdNumber,
|
|
22203
|
-
data.id,
|
|
22204
|
-
void 0
|
|
22205
|
-
]));
|
|
22206
|
-
}
|
|
22207
|
-
},
|
|
22208
21456
|
{
|
|
22209
21457
|
id: "focus.statuses.create-status",
|
|
22210
21458
|
family: "focus",
|
|
@@ -23247,37 +22495,6 @@ const generatedFocusOperations = [
|
|
|
23247
22495
|
return client.createTask(data);
|
|
23248
22496
|
}
|
|
23249
22497
|
},
|
|
23250
|
-
{
|
|
23251
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
23252
|
-
family: "focus",
|
|
23253
|
-
resource: "tasks",
|
|
23254
|
-
action: "create-recurring-occurrence",
|
|
23255
|
-
title: "Create Recurring Occurrence Tasks",
|
|
23256
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
23257
|
-
safety: "create",
|
|
23258
|
-
destructive: false,
|
|
23259
|
-
cli: {
|
|
23260
|
-
group: ["tasks"],
|
|
23261
|
-
command: "create-recurring-occurrence",
|
|
23262
|
-
interactive: "default"
|
|
23263
|
-
},
|
|
23264
|
-
mcp: { entityTool: "tasks" },
|
|
23265
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23266
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23267
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23268
|
-
}),
|
|
23269
|
-
execute: (input, { client }) => {
|
|
23270
|
-
const data = input;
|
|
23271
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
23272
|
-
client.httpClient,
|
|
23273
|
-
client.organizationId,
|
|
23274
|
-
client.workspaceIdNumber,
|
|
23275
|
-
data.task_id,
|
|
23276
|
-
data.return_occurrence,
|
|
23277
|
-
void 0
|
|
23278
|
-
]));
|
|
23279
|
-
}
|
|
23280
|
-
},
|
|
23281
22498
|
{
|
|
23282
22499
|
id: "focus.tasks.delete",
|
|
23283
22500
|
family: "focus",
|
|
@@ -23502,79 +22719,6 @@ const generatedFocusOperations = [
|
|
|
23502
22719
|
]));
|
|
23503
22720
|
}
|
|
23504
22721
|
},
|
|
23505
|
-
{
|
|
23506
|
-
id: "focus.tasks.get-picker-task-children",
|
|
23507
|
-
family: "focus",
|
|
23508
|
-
resource: "tasks",
|
|
23509
|
-
action: "get-picker-task-children",
|
|
23510
|
-
title: "Get Picker Task Children Tasks",
|
|
23511
|
-
description: "Get Picker Task Children Tasks.",
|
|
23512
|
-
safety: "read",
|
|
23513
|
-
destructive: false,
|
|
23514
|
-
cli: {
|
|
23515
|
-
group: ["tasks"],
|
|
23516
|
-
command: "get-picker-task-children",
|
|
23517
|
-
interactive: "hidden"
|
|
23518
|
-
},
|
|
23519
|
-
mcp: { entityTool: "tasks" },
|
|
23520
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23521
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23522
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23523
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23524
|
-
parent_task_id: /* @__PURE__ */ number$2(),
|
|
23525
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23526
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23527
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23528
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23529
|
-
}),
|
|
23530
|
-
execute: (input, { client }) => {
|
|
23531
|
-
const data = input;
|
|
23532
|
-
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
23533
|
-
client.httpClient,
|
|
23534
|
-
client.organizationId,
|
|
23535
|
-
client.workspaceIdNumber,
|
|
23536
|
-
data.parent_task_id,
|
|
23537
|
-
data,
|
|
23538
|
-
void 0
|
|
23539
|
-
]));
|
|
23540
|
-
}
|
|
23541
|
-
},
|
|
23542
|
-
{
|
|
23543
|
-
id: "focus.tasks.get-picker-task-groups",
|
|
23544
|
-
family: "focus",
|
|
23545
|
-
resource: "tasks",
|
|
23546
|
-
action: "get-picker-task-groups",
|
|
23547
|
-
title: "Get Picker Task Groups Tasks",
|
|
23548
|
-
description: "Get Picker Task Groups Tasks.",
|
|
23549
|
-
safety: "read",
|
|
23550
|
-
destructive: false,
|
|
23551
|
-
cli: {
|
|
23552
|
-
group: ["tasks"],
|
|
23553
|
-
command: "get-picker-task-groups",
|
|
23554
|
-
interactive: "hidden"
|
|
23555
|
-
},
|
|
23556
|
-
mcp: { entityTool: "tasks" },
|
|
23557
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23558
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23559
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23560
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23561
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23562
|
-
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23563
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23564
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23565
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23566
|
-
}),
|
|
23567
|
-
execute: (input, { client }) => {
|
|
23568
|
-
const data = input;
|
|
23569
|
-
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
23570
|
-
client.httpClient,
|
|
23571
|
-
client.organizationId,
|
|
23572
|
-
client.workspaceIdNumber,
|
|
23573
|
-
data,
|
|
23574
|
-
void 0
|
|
23575
|
-
]));
|
|
23576
|
-
}
|
|
23577
|
-
},
|
|
23578
22722
|
{
|
|
23579
22723
|
id: "focus.tasks.get-recurring-instances",
|
|
23580
22724
|
family: "focus",
|
|
@@ -23598,13 +22742,9 @@ const generatedFocusOperations = [
|
|
|
23598
22742
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23599
22743
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23600
22744
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23601
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23602
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23603
22745
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23604
22746
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23605
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23606
22747
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23607
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23608
22748
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23609
22749
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23610
22750
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23650,14 +22790,13 @@ const generatedFocusOperations = [
|
|
|
23650
22790
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23651
22791
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23652
22792
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22793
|
+
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23653
22794
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23654
22795
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23655
22796
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23656
22797
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23657
22798
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23658
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23659
22799
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23660
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23661
22800
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23662
22801
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23663
22802
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23666,9 +22805,7 @@ const generatedFocusOperations = [
|
|
|
23666
22805
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23667
22806
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23668
22807
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23669
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23670
22808
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23671
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23672
22809
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23673
22810
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23674
22811
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23677,6 +22814,8 @@ const generatedFocusOperations = [
|
|
|
23677
22814
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23678
22815
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23679
22816
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22817
|
+
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22818
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23680
22819
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23681
22820
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23682
22821
|
}),
|
|
@@ -23804,10 +22943,8 @@ const generatedFocusOperations = [
|
|
|
23804
22943
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23805
22944
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23806
22945
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23807
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23808
22946
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23809
22947
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23810
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23811
22948
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23812
22949
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23813
22950
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23816,8 +22953,6 @@ const generatedFocusOperations = [
|
|
|
23816
22953
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23817
22954
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23818
22955
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23819
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23820
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23821
22956
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23822
22957
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23823
22958
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23826,8 +22961,7 @@ const generatedFocusOperations = [
|
|
|
23826
22961
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23827
22962
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23828
22963
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23829
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23830
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22964
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23831
22965
|
}),
|
|
23832
22966
|
execute: (input, { client }) => {
|
|
23833
22967
|
const data = input;
|
|
@@ -23869,17 +23003,13 @@ const generatedFocusOperations = [
|
|
|
23869
23003
|
group_id: /* @__PURE__ */ number$2(),
|
|
23870
23004
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23871
23005
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23872
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23873
23006
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23874
23007
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23875
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23876
23008
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23877
23009
|
name: /* @__PURE__ */ unknown$1(),
|
|
23878
23010
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23879
23011
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23880
23012
|
project_id: /* @__PURE__ */ number$2(),
|
|
23881
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23882
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23883
23013
|
source: /* @__PURE__ */ unknown$1(),
|
|
23884
23014
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23885
23015
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23888,8 +23018,7 @@ const generatedFocusOperations = [
|
|
|
23888
23018
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23889
23019
|
team_id: /* @__PURE__ */ number$2(),
|
|
23890
23020
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23891
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23892
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23021
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23893
23022
|
}),
|
|
23894
23023
|
execute: (input, { client }) => {
|
|
23895
23024
|
const data = input;
|
|
@@ -23930,17 +23059,13 @@ const generatedFocusOperations = [
|
|
|
23930
23059
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23931
23060
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23932
23061
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23933
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23934
23062
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23935
23063
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23936
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23937
23064
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23938
23065
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23939
23066
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23940
23067
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23941
23068
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23942
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23943
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23944
23069
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23945
23070
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23946
23071
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23949,8 +23074,7 @@ const generatedFocusOperations = [
|
|
|
23949
23074
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23950
23075
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23951
23076
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23952
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23953
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23077
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23954
23078
|
}),
|
|
23955
23079
|
execute: (input, { client }) => {
|
|
23956
23080
|
const data = input;
|
|
@@ -24218,21 +23342,484 @@ const generatedFocusOperations = [
|
|
|
24218
23342
|
command: "update-calendar-range",
|
|
24219
23343
|
interactive: "default"
|
|
24220
23344
|
},
|
|
24221
|
-
mcp: { entityTool: "tasks" },
|
|
23345
|
+
mcp: { entityTool: "tasks" },
|
|
23346
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23347
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
23348
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23349
|
+
}),
|
|
23350
|
+
execute: (input, { client }) => {
|
|
23351
|
+
const data = input;
|
|
23352
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
23353
|
+
client.httpClient,
|
|
23354
|
+
client.organizationId,
|
|
23355
|
+
client.workspaceIdNumber,
|
|
23356
|
+
data.date_from,
|
|
23357
|
+
data.date_to,
|
|
23358
|
+
void 0
|
|
23359
|
+
]));
|
|
23360
|
+
}
|
|
23361
|
+
},
|
|
23362
|
+
{
|
|
23363
|
+
id: "focus.time-blocks.archive",
|
|
23364
|
+
family: "focus",
|
|
23365
|
+
resource: "time-blocks",
|
|
23366
|
+
action: "archive",
|
|
23367
|
+
title: "Archive Time Blocks",
|
|
23368
|
+
description: "Archive Time Blocks.",
|
|
23369
|
+
safety: "update",
|
|
23370
|
+
destructive: false,
|
|
23371
|
+
cli: {
|
|
23372
|
+
group: ["time-blocks"],
|
|
23373
|
+
command: "archive",
|
|
23374
|
+
interactive: "default"
|
|
23375
|
+
},
|
|
23376
|
+
mcp: { entityTool: "time-blocks" },
|
|
23377
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23378
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23379
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23380
|
+
}),
|
|
23381
|
+
execute: (input, { client }) => {
|
|
23382
|
+
const data = input;
|
|
23383
|
+
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
23384
|
+
client.httpClient,
|
|
23385
|
+
client.organizationId,
|
|
23386
|
+
client.workspaceIdNumber,
|
|
23387
|
+
data.task_id,
|
|
23388
|
+
data.time_block_id,
|
|
23389
|
+
void 0
|
|
23390
|
+
]));
|
|
23391
|
+
}
|
|
23392
|
+
},
|
|
23393
|
+
{
|
|
23394
|
+
id: "focus.time-blocks.bulk-create",
|
|
23395
|
+
family: "focus",
|
|
23396
|
+
resource: "time-blocks",
|
|
23397
|
+
action: "bulk-create",
|
|
23398
|
+
title: "Bulk Create Time Blocks",
|
|
23399
|
+
description: "Bulk Create Time Blocks.",
|
|
23400
|
+
safety: "create",
|
|
23401
|
+
destructive: false,
|
|
23402
|
+
cli: {
|
|
23403
|
+
group: ["time-blocks", "bulk"],
|
|
23404
|
+
command: "create",
|
|
23405
|
+
interactive: "default"
|
|
23406
|
+
},
|
|
23407
|
+
mcp: { entityTool: "time-blocks" },
|
|
23408
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23409
|
+
start: apiDateTimeString,
|
|
23410
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23411
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23412
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23413
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23414
|
+
})) }) }),
|
|
23415
|
+
execute: (input, { client }) => {
|
|
23416
|
+
const data = input;
|
|
23417
|
+
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
23418
|
+
client.httpClient,
|
|
23419
|
+
client.organizationId,
|
|
23420
|
+
client.workspaceIdNumber,
|
|
23421
|
+
data.payload ?? data.data ?? data,
|
|
23422
|
+
void 0
|
|
23423
|
+
]));
|
|
23424
|
+
}
|
|
23425
|
+
},
|
|
23426
|
+
{
|
|
23427
|
+
id: "focus.time-blocks.bulk-delete",
|
|
23428
|
+
family: "focus",
|
|
23429
|
+
resource: "time-blocks",
|
|
23430
|
+
action: "bulk-delete",
|
|
23431
|
+
title: "Bulk Delete Time Blocks",
|
|
23432
|
+
description: "Bulk Delete Time Blocks.",
|
|
23433
|
+
safety: "delete",
|
|
23434
|
+
destructive: true,
|
|
23435
|
+
cli: {
|
|
23436
|
+
group: ["time-blocks", "bulk"],
|
|
23437
|
+
command: "delete",
|
|
23438
|
+
interactive: "default"
|
|
23439
|
+
},
|
|
23440
|
+
mcp: { entityTool: "time-blocks" },
|
|
23441
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23442
|
+
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
23443
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23444
|
+
}),
|
|
23445
|
+
execute: (input, { client }) => {
|
|
23446
|
+
const data = input;
|
|
23447
|
+
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
23448
|
+
client.httpClient,
|
|
23449
|
+
client.organizationId,
|
|
23450
|
+
client.workspaceIdNumber,
|
|
23451
|
+
data.ids,
|
|
23452
|
+
data.outbound_sync,
|
|
23453
|
+
void 0
|
|
23454
|
+
]));
|
|
23455
|
+
}
|
|
23456
|
+
},
|
|
23457
|
+
{
|
|
23458
|
+
id: "focus.time-blocks.bulk-partial-update",
|
|
23459
|
+
family: "focus",
|
|
23460
|
+
resource: "time-blocks",
|
|
23461
|
+
action: "bulk-partial-update",
|
|
23462
|
+
title: "Bulk Partial Update Time Blocks",
|
|
23463
|
+
description: "Bulk Partial Update Time Blocks.",
|
|
23464
|
+
safety: "update",
|
|
23465
|
+
destructive: false,
|
|
23466
|
+
cli: {
|
|
23467
|
+
group: ["time-blocks", "bulk"],
|
|
23468
|
+
command: "partial-update",
|
|
23469
|
+
interactive: "hidden"
|
|
23470
|
+
},
|
|
23471
|
+
mcp: { entityTool: "time-blocks" },
|
|
23472
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
23473
|
+
execute: (input, { client }) => {
|
|
23474
|
+
const data = input;
|
|
23475
|
+
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
23476
|
+
client.httpClient,
|
|
23477
|
+
client.organizationId,
|
|
23478
|
+
client.workspaceIdNumber,
|
|
23479
|
+
data.payload ?? data.data ?? data,
|
|
23480
|
+
void 0
|
|
23481
|
+
]));
|
|
23482
|
+
}
|
|
23483
|
+
},
|
|
23484
|
+
{
|
|
23485
|
+
id: "focus.time-blocks.create",
|
|
23486
|
+
family: "focus",
|
|
23487
|
+
resource: "time-blocks",
|
|
23488
|
+
action: "create",
|
|
23489
|
+
title: "Create Time Blocks",
|
|
23490
|
+
description: "Create Time Blocks.",
|
|
23491
|
+
safety: "create",
|
|
23492
|
+
destructive: false,
|
|
23493
|
+
cli: {
|
|
23494
|
+
group: ["time-blocks"],
|
|
23495
|
+
command: "create",
|
|
23496
|
+
interactive: "default"
|
|
23497
|
+
},
|
|
23498
|
+
mcp: { entityTool: "time-blocks" },
|
|
23499
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23500
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23501
|
+
start: apiDateTimeString,
|
|
23502
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23503
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23504
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23505
|
+
}),
|
|
23506
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23507
|
+
}),
|
|
23508
|
+
execute: (input, { client }) => {
|
|
23509
|
+
const data = input;
|
|
23510
|
+
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
23511
|
+
client.httpClient,
|
|
23512
|
+
client.organizationId,
|
|
23513
|
+
client.workspaceIdNumber,
|
|
23514
|
+
data.task_id,
|
|
23515
|
+
data.payload ?? data.data ?? data,
|
|
23516
|
+
void 0
|
|
23517
|
+
]));
|
|
23518
|
+
}
|
|
23519
|
+
},
|
|
23520
|
+
{
|
|
23521
|
+
id: "focus.time-blocks.delete",
|
|
23522
|
+
family: "focus",
|
|
23523
|
+
resource: "time-blocks",
|
|
23524
|
+
action: "delete",
|
|
23525
|
+
title: "Delete Time Blocks",
|
|
23526
|
+
description: "Delete Time Blocks.",
|
|
23527
|
+
safety: "delete",
|
|
23528
|
+
destructive: true,
|
|
23529
|
+
cli: {
|
|
23530
|
+
group: ["time-blocks"],
|
|
23531
|
+
command: "delete",
|
|
23532
|
+
interactive: "default"
|
|
23533
|
+
},
|
|
23534
|
+
mcp: { entityTool: "time-blocks" },
|
|
23535
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23536
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23537
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23538
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23539
|
+
}),
|
|
23540
|
+
execute: (input, { client }) => {
|
|
23541
|
+
const data = input;
|
|
23542
|
+
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
23543
|
+
client.httpClient,
|
|
23544
|
+
client.organizationId,
|
|
23545
|
+
client.workspaceIdNumber,
|
|
23546
|
+
data.task_id,
|
|
23547
|
+
data.time_block_id,
|
|
23548
|
+
data.outbound_sync,
|
|
23549
|
+
void 0
|
|
23550
|
+
]));
|
|
23551
|
+
}
|
|
23552
|
+
},
|
|
23553
|
+
{
|
|
23554
|
+
id: "focus.time-blocks.get",
|
|
23555
|
+
family: "focus",
|
|
23556
|
+
resource: "time-blocks",
|
|
23557
|
+
action: "get",
|
|
23558
|
+
title: "Get Time Blocks",
|
|
23559
|
+
description: "Get Time Blocks.",
|
|
23560
|
+
safety: "read",
|
|
23561
|
+
destructive: false,
|
|
23562
|
+
cli: {
|
|
23563
|
+
group: ["time-blocks"],
|
|
23564
|
+
command: "get",
|
|
23565
|
+
interactive: "available"
|
|
23566
|
+
},
|
|
23567
|
+
mcp: { entityTool: "time-blocks" },
|
|
23568
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23569
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23570
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23571
|
+
}),
|
|
23572
|
+
execute: (input, { client }) => {
|
|
23573
|
+
const data = input;
|
|
23574
|
+
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
23575
|
+
client.httpClient,
|
|
23576
|
+
client.organizationId,
|
|
23577
|
+
client.workspaceIdNumber,
|
|
23578
|
+
data.task_id,
|
|
23579
|
+
data.time_block_id,
|
|
23580
|
+
void 0
|
|
23581
|
+
]));
|
|
23582
|
+
}
|
|
23583
|
+
},
|
|
23584
|
+
{
|
|
23585
|
+
id: "focus.time-blocks.get-range",
|
|
23586
|
+
family: "focus",
|
|
23587
|
+
resource: "time-blocks",
|
|
23588
|
+
action: "get-range",
|
|
23589
|
+
title: "Get Range Time Blocks",
|
|
23590
|
+
description: "Get Range Time Blocks.",
|
|
23591
|
+
safety: "read",
|
|
23592
|
+
destructive: false,
|
|
23593
|
+
cli: {
|
|
23594
|
+
group: ["time-blocks"],
|
|
23595
|
+
command: "get-range",
|
|
23596
|
+
interactive: "hidden"
|
|
23597
|
+
},
|
|
23598
|
+
mcp: { entityTool: "time-blocks" },
|
|
23599
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23600
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
23601
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
23602
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
23603
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
23604
|
+
page: /* @__PURE__ */ number$2(),
|
|
23605
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
23606
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23607
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23608
|
+
}),
|
|
23609
|
+
execute: (input, { client }) => {
|
|
23610
|
+
const data = input;
|
|
23611
|
+
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
23612
|
+
client.httpClient,
|
|
23613
|
+
client.organizationId,
|
|
23614
|
+
client.workspaceIdNumber,
|
|
23615
|
+
data,
|
|
23616
|
+
void 0
|
|
23617
|
+
]));
|
|
23618
|
+
}
|
|
23619
|
+
},
|
|
23620
|
+
{
|
|
23621
|
+
id: "focus.time-blocks.get-range-stream",
|
|
23622
|
+
family: "focus",
|
|
23623
|
+
resource: "time-blocks",
|
|
23624
|
+
action: "get-range-stream",
|
|
23625
|
+
title: "Get Range Stream Time Blocks",
|
|
23626
|
+
description: "Get Range Stream Time Blocks.",
|
|
23627
|
+
safety: "read",
|
|
23628
|
+
destructive: false,
|
|
23629
|
+
cli: {
|
|
23630
|
+
group: ["time-blocks"],
|
|
23631
|
+
command: "get-range-stream",
|
|
23632
|
+
interactive: "hidden"
|
|
23633
|
+
},
|
|
23634
|
+
mcp: { entityTool: "time-blocks" },
|
|
23635
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23636
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
23637
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
23638
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
23639
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
23640
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23641
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23642
|
+
}),
|
|
23643
|
+
execute: (input, { client }) => {
|
|
23644
|
+
const data = input;
|
|
23645
|
+
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
23646
|
+
client.httpClient,
|
|
23647
|
+
client.organizationId,
|
|
23648
|
+
client.workspaceIdNumber,
|
|
23649
|
+
data,
|
|
23650
|
+
void 0
|
|
23651
|
+
]));
|
|
23652
|
+
}
|
|
23653
|
+
},
|
|
23654
|
+
{
|
|
23655
|
+
id: "focus.time-blocks.get-task-time-blocks",
|
|
23656
|
+
family: "focus",
|
|
23657
|
+
resource: "time-blocks",
|
|
23658
|
+
action: "get-task-time-blocks",
|
|
23659
|
+
title: "Get Task Time Blocks Time Blocks",
|
|
23660
|
+
description: "Get Task Time Blocks Time Blocks.",
|
|
23661
|
+
safety: "read",
|
|
23662
|
+
destructive: false,
|
|
23663
|
+
cli: {
|
|
23664
|
+
group: ["time-blocks"],
|
|
23665
|
+
command: "get-task-time-blocks",
|
|
23666
|
+
interactive: "hidden"
|
|
23667
|
+
},
|
|
23668
|
+
mcp: { entityTool: "time-blocks" },
|
|
23669
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23670
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23671
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23672
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23673
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23674
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23675
|
+
}),
|
|
23676
|
+
execute: (input, { client }) => {
|
|
23677
|
+
const data = input;
|
|
23678
|
+
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
23679
|
+
client.httpClient,
|
|
23680
|
+
client.organizationId,
|
|
23681
|
+
client.workspaceIdNumber,
|
|
23682
|
+
data.task_id,
|
|
23683
|
+
data,
|
|
23684
|
+
void 0
|
|
23685
|
+
]));
|
|
23686
|
+
}
|
|
23687
|
+
},
|
|
23688
|
+
{
|
|
23689
|
+
id: "focus.time-blocks.partial-update",
|
|
23690
|
+
family: "focus",
|
|
23691
|
+
resource: "time-blocks",
|
|
23692
|
+
action: "partial-update",
|
|
23693
|
+
title: "Partial Update Time Blocks",
|
|
23694
|
+
description: "Partial Update Time Blocks.",
|
|
23695
|
+
safety: "update",
|
|
23696
|
+
destructive: false,
|
|
23697
|
+
cli: {
|
|
23698
|
+
group: ["time-blocks"],
|
|
23699
|
+
command: "partial-update",
|
|
23700
|
+
interactive: "default"
|
|
23701
|
+
},
|
|
23702
|
+
mcp: { entityTool: "time-blocks" },
|
|
23703
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23704
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23705
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23706
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23707
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23708
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23709
|
+
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23710
|
+
}),
|
|
23711
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23712
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23713
|
+
}),
|
|
23714
|
+
execute: (input, { client }) => {
|
|
23715
|
+
const data = input;
|
|
23716
|
+
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
23717
|
+
client.httpClient,
|
|
23718
|
+
client.organizationId,
|
|
23719
|
+
client.workspaceIdNumber,
|
|
23720
|
+
data.task_id,
|
|
23721
|
+
data.time_block_id,
|
|
23722
|
+
data.payload ?? data.data ?? data,
|
|
23723
|
+
void 0
|
|
23724
|
+
]));
|
|
23725
|
+
}
|
|
23726
|
+
},
|
|
23727
|
+
{
|
|
23728
|
+
id: "focus.time-blocks.restore",
|
|
23729
|
+
family: "focus",
|
|
23730
|
+
resource: "time-blocks",
|
|
23731
|
+
action: "restore",
|
|
23732
|
+
title: "Restore Time Blocks",
|
|
23733
|
+
description: "Restore Time Blocks.",
|
|
23734
|
+
safety: "update",
|
|
23735
|
+
destructive: false,
|
|
23736
|
+
cli: {
|
|
23737
|
+
group: ["time-blocks"],
|
|
23738
|
+
command: "restore",
|
|
23739
|
+
interactive: "default"
|
|
23740
|
+
},
|
|
23741
|
+
mcp: { entityTool: "time-blocks" },
|
|
23742
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23743
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23744
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23745
|
+
}),
|
|
23746
|
+
execute: (input, { client }) => {
|
|
23747
|
+
const data = input;
|
|
23748
|
+
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
23749
|
+
client.httpClient,
|
|
23750
|
+
client.organizationId,
|
|
23751
|
+
client.workspaceIdNumber,
|
|
23752
|
+
data.task_id,
|
|
23753
|
+
data.time_block_id,
|
|
23754
|
+
void 0
|
|
23755
|
+
]));
|
|
23756
|
+
}
|
|
23757
|
+
},
|
|
23758
|
+
{
|
|
23759
|
+
id: "focus.time-blocks.unarchive",
|
|
23760
|
+
family: "focus",
|
|
23761
|
+
resource: "time-blocks",
|
|
23762
|
+
action: "unarchive",
|
|
23763
|
+
title: "Unarchive Time Blocks",
|
|
23764
|
+
description: "Unarchive Time Blocks.",
|
|
23765
|
+
safety: "update",
|
|
23766
|
+
destructive: false,
|
|
23767
|
+
cli: {
|
|
23768
|
+
group: ["time-blocks"],
|
|
23769
|
+
command: "unarchive",
|
|
23770
|
+
interactive: "default"
|
|
23771
|
+
},
|
|
23772
|
+
mcp: { entityTool: "time-blocks" },
|
|
23773
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23774
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23775
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23776
|
+
}),
|
|
23777
|
+
execute: (input, { client }) => {
|
|
23778
|
+
const data = input;
|
|
23779
|
+
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
23780
|
+
client.httpClient,
|
|
23781
|
+
client.organizationId,
|
|
23782
|
+
client.workspaceIdNumber,
|
|
23783
|
+
data.task_id,
|
|
23784
|
+
data.time_block_id,
|
|
23785
|
+
void 0
|
|
23786
|
+
]));
|
|
23787
|
+
}
|
|
23788
|
+
},
|
|
23789
|
+
{
|
|
23790
|
+
id: "focus.time-blocks.update",
|
|
23791
|
+
family: "focus",
|
|
23792
|
+
resource: "time-blocks",
|
|
23793
|
+
action: "update",
|
|
23794
|
+
title: "Update Time Blocks",
|
|
23795
|
+
description: "Update Time Blocks.",
|
|
23796
|
+
safety: "update",
|
|
23797
|
+
destructive: false,
|
|
23798
|
+
cli: {
|
|
23799
|
+
group: ["time-blocks"],
|
|
23800
|
+
command: "update",
|
|
23801
|
+
interactive: "default"
|
|
23802
|
+
},
|
|
23803
|
+
mcp: { entityTool: "time-blocks" },
|
|
24222
23804
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24223
|
-
|
|
24224
|
-
|
|
24225
|
-
|
|
23805
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23806
|
+
start: apiDateTimeString,
|
|
23807
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23808
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23809
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23810
|
+
}),
|
|
23811
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23812
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
24226
23813
|
}),
|
|
24227
23814
|
execute: (input, { client }) => {
|
|
24228
23815
|
const data = input;
|
|
24229
|
-
return client.runGeneratedRequest("
|
|
23816
|
+
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
24230
23817
|
client.httpClient,
|
|
24231
23818
|
client.organizationId,
|
|
24232
23819
|
client.workspaceIdNumber,
|
|
24233
|
-
data.
|
|
24234
|
-
data.
|
|
24235
|
-
data.
|
|
23820
|
+
data.task_id,
|
|
23821
|
+
data.time_block_id,
|
|
23822
|
+
data.payload ?? data.data ?? data,
|
|
24236
23823
|
void 0
|
|
24237
23824
|
]));
|
|
24238
23825
|
}
|
|
@@ -24452,8 +24039,7 @@ const generatedFocusOperations = [
|
|
|
24452
24039
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24453
24040
|
"project",
|
|
24454
24041
|
"task",
|
|
24455
|
-
"description"
|
|
24456
|
-
"tags"
|
|
24042
|
+
"description"
|
|
24457
24043
|
]) })),
|
|
24458
24044
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24459
24045
|
}) }),
|
|
@@ -24483,7 +24069,6 @@ const generatedFocusOperations = [
|
|
|
24483
24069
|
},
|
|
24484
24070
|
mcp: { entityTool: "time-entries" },
|
|
24485
24071
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24486
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24487
24072
|
payload: /* @__PURE__ */ looseObject({
|
|
24488
24073
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24489
24074
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24494,12 +24079,11 @@ const generatedFocusOperations = [
|
|
|
24494
24079
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24495
24080
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24496
24081
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24497
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24498
24082
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24083
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24499
24084
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24500
24085
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24501
24086
|
}),
|
|
24502
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24503
24087
|
task_id: /* @__PURE__ */ number$2()
|
|
24504
24088
|
}),
|
|
24505
24089
|
execute: (input, { client }) => {
|
|
@@ -24510,8 +24094,6 @@ const generatedFocusOperations = [
|
|
|
24510
24094
|
client.workspaceIdNumber,
|
|
24511
24095
|
data.task_id,
|
|
24512
24096
|
data.payload ?? data.data ?? data,
|
|
24513
|
-
data.from_recurring_task_id,
|
|
24514
|
-
data.return_occurrence,
|
|
24515
24097
|
void 0
|
|
24516
24098
|
]));
|
|
24517
24099
|
}
|
|
@@ -24531,25 +24113,21 @@ const generatedFocusOperations = [
|
|
|
24531
24113
|
interactive: "default"
|
|
24532
24114
|
},
|
|
24533
24115
|
mcp: { entityTool: "time-entries" },
|
|
24534
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24535
|
-
|
|
24536
|
-
|
|
24537
|
-
|
|
24538
|
-
|
|
24539
|
-
|
|
24540
|
-
|
|
24541
|
-
|
|
24542
|
-
|
|
24543
|
-
|
|
24544
|
-
|
|
24545
|
-
|
|
24546
|
-
|
|
24547
|
-
|
|
24548
|
-
|
|
24549
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24550
|
-
}),
|
|
24551
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24552
|
-
}),
|
|
24116
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
24117
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24118
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24119
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24120
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24121
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24122
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24123
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24124
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24125
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24126
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24127
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24128
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24129
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24130
|
+
}) }),
|
|
24553
24131
|
execute: (input, { client }) => {
|
|
24554
24132
|
const data = input;
|
|
24555
24133
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24557,8 +24135,6 @@ const generatedFocusOperations = [
|
|
|
24557
24135
|
client.organizationId,
|
|
24558
24136
|
client.workspaceIdNumber,
|
|
24559
24137
|
data.payload ?? data.data ?? data,
|
|
24560
|
-
data.from_recurring_task_id,
|
|
24561
|
-
data.return_occurrence,
|
|
24562
24138
|
void 0
|
|
24563
24139
|
]));
|
|
24564
24140
|
}
|
|
@@ -24578,11 +24154,7 @@ const generatedFocusOperations = [
|
|
|
24578
24154
|
interactive: "default"
|
|
24579
24155
|
},
|
|
24580
24156
|
mcp: { entityTool: "time-entries" },
|
|
24581
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24582
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24583
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24584
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24585
|
-
}),
|
|
24157
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24586
24158
|
execute: (input, { client }) => {
|
|
24587
24159
|
const data = input;
|
|
24588
24160
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24590,8 +24162,6 @@ const generatedFocusOperations = [
|
|
|
24590
24162
|
client.organizationId,
|
|
24591
24163
|
client.workspaceIdNumber,
|
|
24592
24164
|
data.time_entry_id,
|
|
24593
|
-
data.from_recurring_task_id,
|
|
24594
|
-
data.return_occurrence,
|
|
24595
24165
|
void 0
|
|
24596
24166
|
]));
|
|
24597
24167
|
}
|
|
@@ -24672,7 +24242,6 @@ const generatedFocusOperations = [
|
|
|
24672
24242
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24673
24243
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24674
24244
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24675
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24676
24245
|
status_id: /* @__PURE__ */ number$2(),
|
|
24677
24246
|
task_id: /* @__PURE__ */ number$2(),
|
|
24678
24247
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24688,6 +24257,33 @@ const generatedFocusOperations = [
|
|
|
24688
24257
|
]));
|
|
24689
24258
|
}
|
|
24690
24259
|
},
|
|
24260
|
+
{
|
|
24261
|
+
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
24262
|
+
family: "focus",
|
|
24263
|
+
resource: "time-entries",
|
|
24264
|
+
action: "get-stream-time-entries-time-block-ids",
|
|
24265
|
+
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
24266
|
+
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
24267
|
+
safety: "read",
|
|
24268
|
+
destructive: false,
|
|
24269
|
+
cli: {
|
|
24270
|
+
group: ["time-entries"],
|
|
24271
|
+
command: "get-stream-time-entries-time-block-ids",
|
|
24272
|
+
interactive: "available"
|
|
24273
|
+
},
|
|
24274
|
+
mcp: { entityTool: "time-entries" },
|
|
24275
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
24276
|
+
execute: (input, { client }) => {
|
|
24277
|
+
const data = input;
|
|
24278
|
+
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
24279
|
+
client.httpClient,
|
|
24280
|
+
client.organizationId,
|
|
24281
|
+
client.workspaceIdNumber,
|
|
24282
|
+
data,
|
|
24283
|
+
void 0
|
|
24284
|
+
]));
|
|
24285
|
+
}
|
|
24286
|
+
},
|
|
24691
24287
|
{
|
|
24692
24288
|
id: "focus.time-entries.get-task-time-entries",
|
|
24693
24289
|
family: "focus",
|
|
@@ -24709,6 +24305,7 @@ const generatedFocusOperations = [
|
|
|
24709
24305
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24710
24306
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24711
24307
|
task_id: /* @__PURE__ */ number$2(),
|
|
24308
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24712
24309
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
24713
24310
|
}),
|
|
24714
24311
|
execute: (input, { client }) => {
|
|
@@ -24821,14 +24418,12 @@ const generatedFocusOperations = [
|
|
|
24821
24418
|
},
|
|
24822
24419
|
mcp: { entityTool: "time-entries" },
|
|
24823
24420
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24824
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24825
24421
|
payload: /* @__PURE__ */ looseObject({
|
|
24826
24422
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24827
24423
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24828
24424
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24829
24425
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24830
24426
|
}),
|
|
24831
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24832
24427
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24833
24428
|
}),
|
|
24834
24429
|
execute: (input, { client }) => {
|
|
@@ -24839,8 +24434,6 @@ const generatedFocusOperations = [
|
|
|
24839
24434
|
client.workspaceIdNumber,
|
|
24840
24435
|
data.time_entry_id,
|
|
24841
24436
|
data.payload ?? data.data ?? data,
|
|
24842
|
-
data.from_recurring_task_id,
|
|
24843
|
-
data.return_occurrence,
|
|
24844
24437
|
void 0
|
|
24845
24438
|
]));
|
|
24846
24439
|
}
|
|
@@ -25098,7 +24691,6 @@ const generatedFocusOperations = [
|
|
|
25098
24691
|
},
|
|
25099
24692
|
mcp: { entityTool: "time-entries" },
|
|
25100
24693
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
25101
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25102
24694
|
payload: /* @__PURE__ */ looseObject({
|
|
25103
24695
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
25104
24696
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -25108,9 +24700,9 @@ const generatedFocusOperations = [
|
|
|
25108
24700
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25109
24701
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
25110
24702
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24703
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25111
24704
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
25112
24705
|
}),
|
|
25113
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25114
24706
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
25115
24707
|
}),
|
|
25116
24708
|
execute: (input, { client }) => {
|
|
@@ -25121,8 +24713,6 @@ const generatedFocusOperations = [
|
|
|
25121
24713
|
client.workspaceIdNumber,
|
|
25122
24714
|
data.time_entry_id,
|
|
25123
24715
|
data.payload ?? data.data ?? data,
|
|
25124
|
-
data.from_recurring_task_id,
|
|
25125
|
-
data.return_occurrence,
|
|
25126
24716
|
void 0
|
|
25127
24717
|
]));
|
|
25128
24718
|
}
|
|
@@ -25187,118 +24777,6 @@ const generatedFocusOperations = [
|
|
|
25187
24777
|
]));
|
|
25188
24778
|
}
|
|
25189
24779
|
},
|
|
25190
|
-
{
|
|
25191
|
-
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
25192
|
-
family: "focus",
|
|
25193
|
-
resource: "time-off",
|
|
25194
|
-
action: "get-timeoff-balance-changes-for-user",
|
|
25195
|
-
title: "Get Timeoff Balance Changes For User Time Off",
|
|
25196
|
-
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
25197
|
-
safety: "read",
|
|
25198
|
-
destructive: false,
|
|
25199
|
-
cli: {
|
|
25200
|
-
group: ["time-off"],
|
|
25201
|
-
command: "get-timeoff-balance-changes-for-user",
|
|
25202
|
-
interactive: "hidden"
|
|
25203
|
-
},
|
|
25204
|
-
mcp: { entityTool: "time-off" },
|
|
25205
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25206
|
-
category_id: /* @__PURE__ */ number$2(),
|
|
25207
|
-
page: /* @__PURE__ */ number$2(),
|
|
25208
|
-
rows: /* @__PURE__ */ unknown$1(),
|
|
25209
|
-
user_id: /* @__PURE__ */ number$2(),
|
|
25210
|
-
year: /* @__PURE__ */ unknown$1()
|
|
25211
|
-
}),
|
|
25212
|
-
execute: (input, { client }) => {
|
|
25213
|
-
const data = input;
|
|
25214
|
-
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
25215
|
-
client.httpClient,
|
|
25216
|
-
client.organizationId,
|
|
25217
|
-
data.user_id,
|
|
25218
|
-
data,
|
|
25219
|
-
void 0
|
|
25220
|
-
]));
|
|
25221
|
-
}
|
|
25222
|
-
},
|
|
25223
|
-
{
|
|
25224
|
-
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
25225
|
-
family: "focus",
|
|
25226
|
-
resource: "time-off",
|
|
25227
|
-
action: "get-timeoff-balances-for-user",
|
|
25228
|
-
title: "Get Timeoff Balances For User Time Off",
|
|
25229
|
-
description: "Get Timeoff Balances For User Time Off.",
|
|
25230
|
-
safety: "read",
|
|
25231
|
-
destructive: false,
|
|
25232
|
-
cli: {
|
|
25233
|
-
group: ["time-off"],
|
|
25234
|
-
command: "get-timeoff-balances-for-user",
|
|
25235
|
-
interactive: "available"
|
|
25236
|
-
},
|
|
25237
|
-
mcp: { entityTool: "time-off" },
|
|
25238
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25239
|
-
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25240
|
-
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
25241
|
-
user_id: /* @__PURE__ */ number$2()
|
|
25242
|
-
}),
|
|
25243
|
-
execute: (input, { client }) => {
|
|
25244
|
-
const data = input;
|
|
25245
|
-
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
25246
|
-
client.httpClient,
|
|
25247
|
-
client.organizationId,
|
|
25248
|
-
data.user_id,
|
|
25249
|
-
data,
|
|
25250
|
-
void 0
|
|
25251
|
-
]));
|
|
25252
|
-
}
|
|
25253
|
-
},
|
|
25254
|
-
{
|
|
25255
|
-
id: "focus.time-off.get-timeoff-categories",
|
|
25256
|
-
family: "focus",
|
|
25257
|
-
resource: "time-off",
|
|
25258
|
-
action: "get-timeoff-categories",
|
|
25259
|
-
title: "Get Timeoff Categories Time Off",
|
|
25260
|
-
description: "Get Timeoff Categories Time Off.",
|
|
25261
|
-
safety: "read",
|
|
25262
|
-
destructive: false,
|
|
25263
|
-
cli: {
|
|
25264
|
-
group: ["time-off"],
|
|
25265
|
-
command: "get-timeoff-categories",
|
|
25266
|
-
interactive: "hidden"
|
|
25267
|
-
},
|
|
25268
|
-
mcp: { entityTool: "time-off" },
|
|
25269
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25270
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
25271
|
-
client.httpClient,
|
|
25272
|
-
client.organizationId,
|
|
25273
|
-
void 0
|
|
25274
|
-
]))
|
|
25275
|
-
},
|
|
25276
|
-
{
|
|
25277
|
-
id: "focus.time-off.get-timeoff-category",
|
|
25278
|
-
family: "focus",
|
|
25279
|
-
resource: "time-off",
|
|
25280
|
-
action: "get-timeoff-category",
|
|
25281
|
-
title: "Get Timeoff Category Time Off",
|
|
25282
|
-
description: "Get Timeoff Category Time Off.",
|
|
25283
|
-
safety: "read",
|
|
25284
|
-
destructive: false,
|
|
25285
|
-
cli: {
|
|
25286
|
-
group: ["time-off"],
|
|
25287
|
-
command: "get-timeoff-category",
|
|
25288
|
-
interactive: "available"
|
|
25289
|
-
},
|
|
25290
|
-
mcp: { entityTool: "time-off" },
|
|
25291
|
-
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
25292
|
-
execute: (input, { client }) => {
|
|
25293
|
-
const data = input;
|
|
25294
|
-
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
25295
|
-
client.httpClient,
|
|
25296
|
-
client.organizationId,
|
|
25297
|
-
data.category_id,
|
|
25298
|
-
void 0
|
|
25299
|
-
]));
|
|
25300
|
-
}
|
|
25301
|
-
},
|
|
25302
24780
|
{
|
|
25303
24781
|
id: "focus.time-off.get-timeoff-for-user",
|
|
25304
24782
|
family: "focus",
|
|
@@ -25750,40 +25228,6 @@ const generatedFocusOperations = [
|
|
|
25750
25228
|
]));
|
|
25751
25229
|
}
|
|
25752
25230
|
},
|
|
25753
|
-
{
|
|
25754
|
-
id: "focus.timesheets.get-status-counts",
|
|
25755
|
-
family: "focus",
|
|
25756
|
-
resource: "timesheets",
|
|
25757
|
-
action: "get-status-counts",
|
|
25758
|
-
title: "Get Status Counts Timesheets",
|
|
25759
|
-
description: "Get Status Counts Timesheets.",
|
|
25760
|
-
safety: "read",
|
|
25761
|
-
destructive: false,
|
|
25762
|
-
cli: {
|
|
25763
|
-
group: ["timesheets"],
|
|
25764
|
-
command: "get-status-counts",
|
|
25765
|
-
interactive: "hidden"
|
|
25766
|
-
},
|
|
25767
|
-
mcp: { entityTool: "timesheets" },
|
|
25768
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25769
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25770
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
25771
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
25772
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
25773
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25774
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25775
|
-
}),
|
|
25776
|
-
execute: (input, { client }) => {
|
|
25777
|
-
const data = input;
|
|
25778
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25779
|
-
client.httpClient,
|
|
25780
|
-
client.organizationId,
|
|
25781
|
-
client.workspaceIdNumber,
|
|
25782
|
-
data,
|
|
25783
|
-
void 0
|
|
25784
|
-
]));
|
|
25785
|
-
}
|
|
25786
|
-
},
|
|
25787
25231
|
{
|
|
25788
25232
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25789
25233
|
family: "focus",
|
|
@@ -26333,33 +25777,6 @@ const generatedFocusOperations = [
|
|
|
26333
25777
|
]));
|
|
26334
25778
|
}
|
|
26335
25779
|
},
|
|
26336
|
-
{
|
|
26337
|
-
id: "focus.track-team-invites.post",
|
|
26338
|
-
family: "focus",
|
|
26339
|
-
resource: "track-team-invites",
|
|
26340
|
-
action: "post",
|
|
26341
|
-
title: "Post Track Team Invites",
|
|
26342
|
-
description: "Post Track Team Invites.",
|
|
26343
|
-
safety: "create",
|
|
26344
|
-
destructive: false,
|
|
26345
|
-
cli: {
|
|
26346
|
-
group: ["track-team-invites"],
|
|
26347
|
-
command: "post",
|
|
26348
|
-
interactive: "default"
|
|
26349
|
-
},
|
|
26350
|
-
mcp: { entityTool: "track-team-invites" },
|
|
26351
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
26352
|
-
execute: (input, { client }) => {
|
|
26353
|
-
const data = input;
|
|
26354
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
26355
|
-
client.httpClient,
|
|
26356
|
-
client.organizationId,
|
|
26357
|
-
client.workspaceIdNumber,
|
|
26358
|
-
data.payload ?? data.data ?? data,
|
|
26359
|
-
void 0
|
|
26360
|
-
]));
|
|
26361
|
-
}
|
|
26362
|
-
},
|
|
26363
25780
|
{
|
|
26364
25781
|
id: "focus.users.list",
|
|
26365
25782
|
family: "focus",
|
|
@@ -26381,56 +25798,6 @@ const generatedFocusOperations = [
|
|
|
26381
25798
|
return client.listOrgUsers(data);
|
|
26382
25799
|
}
|
|
26383
25800
|
},
|
|
26384
|
-
{
|
|
26385
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
26386
|
-
family: "focus",
|
|
26387
|
-
resource: "users",
|
|
26388
|
-
action: "settings-email-unsubscribe",
|
|
26389
|
-
title: "Settings Email Unsubscribe Users",
|
|
26390
|
-
description: "Settings Email Unsubscribe Users.",
|
|
26391
|
-
safety: "update",
|
|
26392
|
-
destructive: false,
|
|
26393
|
-
cli: {
|
|
26394
|
-
group: ["users", "settings"],
|
|
26395
|
-
command: "email-unsubscribe",
|
|
26396
|
-
interactive: "default"
|
|
26397
|
-
},
|
|
26398
|
-
mcp: { entityTool: "users" },
|
|
26399
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26400
|
-
execute: (input, { client }) => {
|
|
26401
|
-
const data = input;
|
|
26402
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26403
|
-
client.httpClient,
|
|
26404
|
-
data.token,
|
|
26405
|
-
void 0
|
|
26406
|
-
]));
|
|
26407
|
-
}
|
|
26408
|
-
},
|
|
26409
|
-
{
|
|
26410
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
26411
|
-
family: "focus",
|
|
26412
|
-
resource: "users",
|
|
26413
|
-
action: "settings-email-unsubscribe-page",
|
|
26414
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
26415
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
26416
|
-
safety: "read",
|
|
26417
|
-
destructive: false,
|
|
26418
|
-
cli: {
|
|
26419
|
-
group: ["users", "settings"],
|
|
26420
|
-
command: "email-unsubscribe-page",
|
|
26421
|
-
interactive: "available"
|
|
26422
|
-
},
|
|
26423
|
-
mcp: { entityTool: "users" },
|
|
26424
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26425
|
-
execute: (input, { client }) => {
|
|
26426
|
-
const data = input;
|
|
26427
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26428
|
-
client.httpClient,
|
|
26429
|
-
data.token,
|
|
26430
|
-
void 0
|
|
26431
|
-
]));
|
|
26432
|
-
}
|
|
26433
|
-
},
|
|
26434
25801
|
{
|
|
26435
25802
|
id: "focus.users.settings-list",
|
|
26436
25803
|
family: "focus",
|
|
@@ -26492,9 +25859,6 @@ const generatedFocusOperations = [
|
|
|
26492
25859
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26493
25860
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26494
25861
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26495
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26496
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26497
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26498
25862
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26499
25863
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26500
25864
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -26693,38 +26057,6 @@ const generatedFocusOperations = [
|
|
|
26693
26057
|
]));
|
|
26694
26058
|
}
|
|
26695
26059
|
},
|
|
26696
|
-
{
|
|
26697
|
-
id: "focus.working-hours.replace-working-hours-for-users",
|
|
26698
|
-
family: "focus",
|
|
26699
|
-
resource: "working-hours",
|
|
26700
|
-
action: "replace-working-hours-for-users",
|
|
26701
|
-
title: "Replace Working Hours For Users Working Hours",
|
|
26702
|
-
description: "Replace Working Hours For Users Working Hours.",
|
|
26703
|
-
safety: "update",
|
|
26704
|
-
destructive: false,
|
|
26705
|
-
cli: {
|
|
26706
|
-
group: ["working-hours"],
|
|
26707
|
-
command: "replace-working-hours-for-users",
|
|
26708
|
-
interactive: "default"
|
|
26709
|
-
},
|
|
26710
|
-
mcp: { entityTool: "working-hours" },
|
|
26711
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
26712
|
-
schedule: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
26713
|
-
working_hours: /* @__PURE__ */ number$2(),
|
|
26714
|
-
weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
26715
|
-
})),
|
|
26716
|
-
user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
26717
|
-
}) }),
|
|
26718
|
-
execute: (input, { client }) => {
|
|
26719
|
-
const data = input;
|
|
26720
|
-
return client.runGeneratedRequest("replaceWorkingHoursForUsers", () => callGeneratedRequest(replaceWorkingHoursForUsers, [
|
|
26721
|
-
client.httpClient,
|
|
26722
|
-
client.organizationId,
|
|
26723
|
-
data.payload ?? data.data ?? data,
|
|
26724
|
-
void 0
|
|
26725
|
-
]));
|
|
26726
|
-
}
|
|
26727
|
-
},
|
|
26728
26060
|
{
|
|
26729
26061
|
id: "focus.working-hours.update-for-user",
|
|
26730
26062
|
family: "focus",
|
|
@@ -28582,4 +27914,4 @@ Common commands:
|
|
|
28582
27914
|
//#endregion
|
|
28583
27915
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28584
27916
|
|
|
28585
|
-
//# sourceMappingURL=program-
|
|
27917
|
+
//# sourceMappingURL=program-DvYstJ4t.js.map
|