@togglhq/cli 1.11.74 → 1.11.75
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-1aIaHDui.js → program-BDZIroYJ.js} +810 -1155
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -5495,10 +5495,6 @@ function _joinExpects$1(values$1, separator) {
|
|
|
5495
5495
|
*/
|
|
5496
5496
|
const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
|
|
5497
5497
|
/**
|
|
5498
|
-
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
|
|
5499
|
-
*/
|
|
5500
|
-
const ISO_DATE_TIME_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3]):[0-5]\d$/u;
|
|
5501
|
-
/**
|
|
5502
5498
|
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
|
|
5503
5499
|
* space as a date/time separator and an optional space before the UTC offset.
|
|
5504
5500
|
*/
|
|
@@ -5552,22 +5548,6 @@ function isoDate$1(message$1) {
|
|
|
5552
5548
|
};
|
|
5553
5549
|
}
|
|
5554
5550
|
/* @__NO_SIDE_EFFECTS__ */
|
|
5555
|
-
function isoDateTime$1(message$1) {
|
|
5556
|
-
return {
|
|
5557
|
-
kind: "validation",
|
|
5558
|
-
type: "iso_date_time",
|
|
5559
|
-
reference: isoDateTime$1,
|
|
5560
|
-
async: false,
|
|
5561
|
-
expects: null,
|
|
5562
|
-
requirement: ISO_DATE_TIME_REGEX$1,
|
|
5563
|
-
message: message$1,
|
|
5564
|
-
"~run"(dataset, config$1) {
|
|
5565
|
-
if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
|
|
5566
|
-
return dataset;
|
|
5567
|
-
}
|
|
5568
|
-
};
|
|
5569
|
-
}
|
|
5570
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
5571
5551
|
function isoTimestamp(message$1) {
|
|
5572
5552
|
return {
|
|
5573
5553
|
kind: "validation",
|
|
@@ -7274,7 +7254,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
7274
7254
|
name: /* @__PURE__ */ string(),
|
|
7275
7255
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
7276
7256
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7277
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7278
7257
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7279
7258
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7280
7259
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7361,7 +7340,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7361
7340
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7362
7341
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7363
7342
|
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
7343
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7366
7344
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7367
7345
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7423,7 +7401,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7423
7401
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7424
7402
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7425
7403
|
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
7404
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7428
7405
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7429
7406
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7584,8 +7561,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7584
7561
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7585
7562
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7586
7563
|
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
7564
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7590
7565
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7591
7566
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7671,10 +7646,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7671
7646
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7672
7647
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7673
7648
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7674
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7675
7649
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7676
7650
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7677
|
-
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7678
7651
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
7679
7652
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7680
7653
|
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 +7703,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7730
7703
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7731
7704
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7732
7705
|
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
7706
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7736
7707
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7737
7708
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7904,6 +7875,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7904
7875
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7905
7876
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7906
7877
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7878
|
+
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7879
|
+
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7907
7880
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7908
7881
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7909
7882
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7960,7 +7933,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7960
7933
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7961
7934
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7962
7935
|
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
7936
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7965
7937
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7966
7938
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -7997,7 +7969,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7997
7969
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7998
7970
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7999
7971
|
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
7972
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8002
7973
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8003
7974
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -8018,6 +7989,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
8018
7989
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8019
7990
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8020
7991
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7992
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8021
7993
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8022
7994
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8023
7995
|
});
|
|
@@ -8046,7 +8018,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
8046
8018
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8047
8019
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8048
8020
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8049
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8021
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8022
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8050
8023
|
});
|
|
8051
8024
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
8052
8025
|
//#endregion
|
|
@@ -9920,7 +9893,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9920
9893
|
})
|
|
9921
9894
|
}).json();
|
|
9922
9895
|
}
|
|
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,
|
|
9896
|
+
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
9897
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9925
9898
|
signal,
|
|
9926
9899
|
searchParams: buildSearchParams$2({
|
|
@@ -9941,7 +9914,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9941
9914
|
include_rates,
|
|
9942
9915
|
pinned_ids,
|
|
9943
9916
|
has_group,
|
|
9944
|
-
track_without_focus,
|
|
9945
9917
|
cf_filter,
|
|
9946
9918
|
include_custom_fields,
|
|
9947
9919
|
include_calendar_integration
|
|
@@ -10043,20 +10015,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10043
10015
|
}
|
|
10044
10016
|
//#endregion
|
|
10045
10017
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10046
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
10018
|
+
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
10019
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10048
10020
|
signal,
|
|
10049
10021
|
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
10022
|
page,
|
|
10061
10023
|
per_page,
|
|
10062
10024
|
order_by,
|
|
@@ -10306,7 +10268,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10306
10268
|
}
|
|
10307
10269
|
//#endregion
|
|
10308
10270
|
//#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
|
|
10271
|
+
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
10272
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10311
10273
|
signal,
|
|
10312
10274
|
searchParams: buildSearchParams$2({
|
|
@@ -10319,6 +10281,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10319
10281
|
toggl_user_id,
|
|
10320
10282
|
name,
|
|
10321
10283
|
has_time_entries,
|
|
10284
|
+
has_time_blocks,
|
|
10322
10285
|
has_dates,
|
|
10323
10286
|
private: private_,
|
|
10324
10287
|
archived,
|
|
@@ -10341,6 +10304,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10341
10304
|
priority,
|
|
10342
10305
|
is_priority,
|
|
10343
10306
|
state,
|
|
10307
|
+
timeblock_start_from,
|
|
10308
|
+
timeblock_start_until,
|
|
10309
|
+
time_block_id,
|
|
10310
|
+
time_block_completed,
|
|
10344
10311
|
team_id,
|
|
10345
10312
|
assignee_team_id,
|
|
10346
10313
|
assignee_user_id,
|
|
@@ -10352,11 +10319,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10352
10319
|
include_assignees,
|
|
10353
10320
|
include_parent_matches,
|
|
10354
10321
|
disable_aggregations,
|
|
10355
|
-
cf_filter
|
|
10356
|
-
recurring_occurrences_after,
|
|
10357
|
-
max_recurring_occurrences_after,
|
|
10358
|
-
recurring_task_read,
|
|
10359
|
-
include_projected_occurrences
|
|
10322
|
+
cf_filter
|
|
10360
10323
|
})
|
|
10361
10324
|
}).json();
|
|
10362
10325
|
}
|
|
@@ -10431,46 +10394,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10431
10394
|
})
|
|
10432
10395
|
}).json();
|
|
10433
10396
|
}
|
|
10434
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
10397
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10435
10398
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10436
10399
|
signal,
|
|
10437
10400
|
searchParams: buildSearchParams$2({
|
|
10438
10401
|
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
|
|
10402
|
+
date_to
|
|
10470
10403
|
})
|
|
10471
10404
|
}).json();
|
|
10472
10405
|
}
|
|
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
|
|
10406
|
+
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
10407
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10475
10408
|
signal,
|
|
10476
10409
|
searchParams: buildSearchParams$2({
|
|
@@ -10486,15 +10419,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10486
10419
|
assignee_team_id,
|
|
10487
10420
|
assignee_user_id,
|
|
10488
10421
|
tag_id,
|
|
10489
|
-
include_assignees
|
|
10490
|
-
recurring_occurrences_after,
|
|
10491
|
-
max_recurring_occurrences_after,
|
|
10492
|
-
recurring_task_read,
|
|
10493
|
-
include_projected_occurrences
|
|
10422
|
+
include_assignees
|
|
10494
10423
|
})
|
|
10495
10424
|
}).json();
|
|
10496
10425
|
}
|
|
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
|
|
10426
|
+
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
10427
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10499
10428
|
signal,
|
|
10500
10429
|
searchParams: buildSearchParams$2({
|
|
@@ -10506,6 +10435,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10506
10435
|
name,
|
|
10507
10436
|
include_parent_matches,
|
|
10508
10437
|
has_time_entries,
|
|
10438
|
+
has_time_blocks,
|
|
10509
10439
|
has_dates,
|
|
10510
10440
|
private: private_,
|
|
10511
10441
|
archived,
|
|
@@ -10528,6 +10458,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10528
10458
|
priority,
|
|
10529
10459
|
is_priority,
|
|
10530
10460
|
state,
|
|
10461
|
+
time_block_id,
|
|
10462
|
+
time_block_completed,
|
|
10531
10463
|
team_id,
|
|
10532
10464
|
assignee_team_id,
|
|
10533
10465
|
assignee_user_id,
|
|
@@ -10536,11 +10468,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10536
10468
|
recurring_task_ids,
|
|
10537
10469
|
client_id,
|
|
10538
10470
|
include_assignees,
|
|
10539
|
-
cf_filter
|
|
10540
|
-
recurring_occurrences_after,
|
|
10541
|
-
max_recurring_occurrences_after,
|
|
10542
|
-
recurring_task_read,
|
|
10543
|
-
include_projected_occurrences
|
|
10471
|
+
cf_filter
|
|
10544
10472
|
})
|
|
10545
10473
|
}).json();
|
|
10546
10474
|
}
|
|
@@ -10595,12 +10523,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10595
10523
|
})
|
|
10596
10524
|
}).json();
|
|
10597
10525
|
}
|
|
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
10526
|
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
10527
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10606
10528
|
signal,
|
|
@@ -10626,7 +10548,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
10626
10548
|
}
|
|
10627
10549
|
//#endregion
|
|
10628
10550
|
//#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) {
|
|
10551
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
|
|
10630
10552
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10631
10553
|
signal,
|
|
10632
10554
|
searchParams: buildSearchParams$2({
|
|
@@ -10634,28 +10556,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10634
10556
|
per_page,
|
|
10635
10557
|
order_by,
|
|
10636
10558
|
type,
|
|
10637
|
-
archived
|
|
10559
|
+
archived,
|
|
10560
|
+
time_block_id
|
|
10638
10561
|
})
|
|
10639
10562
|
}).json();
|
|
10640
10563
|
}
|
|
10641
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10564
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10642
10565
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10643
10566
|
signal,
|
|
10644
|
-
json: data
|
|
10645
|
-
searchParams: buildSearchParams$2({
|
|
10646
|
-
from_recurring_task_id,
|
|
10647
|
-
return_occurrence
|
|
10648
|
-
})
|
|
10567
|
+
json: data
|
|
10649
10568
|
}).json();
|
|
10650
10569
|
}
|
|
10651
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10570
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10652
10571
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10653
10572
|
signal,
|
|
10654
|
-
json: data
|
|
10655
|
-
searchParams: buildSearchParams$2({
|
|
10656
|
-
from_recurring_task_id,
|
|
10657
|
-
return_occurrence
|
|
10658
|
-
})
|
|
10573
|
+
json: data
|
|
10659
10574
|
}).json();
|
|
10660
10575
|
}
|
|
10661
10576
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10706,7 +10621,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10706
10621
|
json: data
|
|
10707
10622
|
}).json();
|
|
10708
10623
|
}
|
|
10709
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
10624
|
+
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
10625
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10711
10626
|
signal,
|
|
10712
10627
|
searchParams: buildSearchParams$2({
|
|
@@ -10714,7 +10629,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10714
10629
|
date_to,
|
|
10715
10630
|
task_id,
|
|
10716
10631
|
status_id,
|
|
10717
|
-
project_id,
|
|
10718
10632
|
type,
|
|
10719
10633
|
order_by,
|
|
10720
10634
|
archived,
|
|
@@ -10729,36 +10643,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
10729
10643
|
json: data
|
|
10730
10644
|
}).json();
|
|
10731
10645
|
}
|
|
10646
|
+
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10647
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10648
|
+
signal,
|
|
10649
|
+
searchParams: buildSearchParams$2({ time_block_id })
|
|
10650
|
+
}).json();
|
|
10651
|
+
}
|
|
10732
10652
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10733
10653
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10734
10654
|
}
|
|
10735
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10655
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10736
10656
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10737
10657
|
signal,
|
|
10738
|
-
json: data
|
|
10739
|
-
searchParams: buildSearchParams$2({
|
|
10740
|
-
from_recurring_task_id,
|
|
10741
|
-
return_occurrence
|
|
10742
|
-
})
|
|
10658
|
+
json: data
|
|
10743
10659
|
}).json();
|
|
10744
10660
|
}
|
|
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();
|
|
10661
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10662
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10753
10663
|
}
|
|
10754
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10664
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10755
10665
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10756
10666
|
signal,
|
|
10757
|
-
json: data
|
|
10758
|
-
searchParams: buildSearchParams$2({
|
|
10759
|
-
from_recurring_task_id,
|
|
10760
|
-
return_occurrence
|
|
10761
|
-
})
|
|
10667
|
+
json: data
|
|
10762
10668
|
}).json();
|
|
10763
10669
|
}
|
|
10764
10670
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -10873,7 +10779,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10873
10779
|
]))
|
|
10874
10780
|
});
|
|
10875
10781
|
//#endregion
|
|
10876
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10782
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10877
10783
|
async function getInvitations(httpClient, signal) {
|
|
10878
10784
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10879
10785
|
}
|
|
@@ -10890,7 +10796,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10890
10796
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10891
10797
|
}
|
|
10892
10798
|
//#endregion
|
|
10893
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10799
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10894
10800
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10895
10801
|
const searchParams = new URLSearchParams();
|
|
10896
10802
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10902,7 +10808,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10902
10808
|
return searchParams;
|
|
10903
10809
|
}
|
|
10904
10810
|
//#endregion
|
|
10905
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10811
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10906
10812
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10907
10813
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10908
10814
|
}
|
|
@@ -10916,7 +10822,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10916
10822
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10917
10823
|
}
|
|
10918
10824
|
//#endregion
|
|
10919
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10825
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10920
10826
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10921
10827
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10922
10828
|
}
|
|
@@ -10936,7 +10842,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10936
10842
|
});
|
|
10937
10843
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10938
10844
|
//#endregion
|
|
10939
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10845
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10940
10846
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10941
10847
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10942
10848
|
signal,
|
|
@@ -10947,12 +10853,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10947
10853
|
})).json();
|
|
10948
10854
|
}
|
|
10949
10855
|
//#endregion
|
|
10950
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10856
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10951
10857
|
async function getStatus(httpClient, signal) {
|
|
10952
10858
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10953
10859
|
}
|
|
10954
10860
|
//#endregion
|
|
10955
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10861
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10956
10862
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10957
10863
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10958
10864
|
signal,
|
|
@@ -10980,7 +10886,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10980
10886
|
return response.json();
|
|
10981
10887
|
}
|
|
10982
10888
|
//#endregion
|
|
10983
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10889
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10984
10890
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10985
10891
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10986
10892
|
}
|
|
@@ -14443,15 +14349,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14443
14349
|
}
|
|
14444
14350
|
//#endregion
|
|
14445
14351
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14446
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
14352
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14447
14353
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14448
14354
|
signal,
|
|
14449
14355
|
searchParams: buildSearchParams$2({
|
|
14450
14356
|
workspace_id,
|
|
14451
14357
|
entity_type,
|
|
14452
14358
|
entity_id,
|
|
14453
|
-
project_id,
|
|
14454
|
-
custom_field_id,
|
|
14455
14359
|
action,
|
|
14456
14360
|
user_id,
|
|
14457
14361
|
page_size,
|
|
@@ -14460,14 +14364,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14460
14364
|
})
|
|
14461
14365
|
}).json();
|
|
14462
14366
|
}
|
|
14463
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
14367
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14464
14368
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14465
14369
|
signal,
|
|
14466
14370
|
searchParams: buildSearchParams$2({
|
|
14467
14371
|
entity_type,
|
|
14468
14372
|
entity_id,
|
|
14469
|
-
project_id,
|
|
14470
|
-
custom_field_id,
|
|
14471
14373
|
action,
|
|
14472
14374
|
user_id,
|
|
14473
14375
|
page_size,
|
|
@@ -14620,14 +14522,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14620
14522
|
}
|
|
14621
14523
|
//#endregion
|
|
14622
14524
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14623
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
14525
|
+
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) {
|
|
14624
14526
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14625
14527
|
signal,
|
|
14626
14528
|
searchParams: buildSearchParams$2({
|
|
14529
|
+
user_id,
|
|
14627
14530
|
start_date,
|
|
14628
14531
|
end_date,
|
|
14629
|
-
user_id,
|
|
14630
|
-
team_id,
|
|
14631
14532
|
private: private_,
|
|
14632
14533
|
task_source,
|
|
14633
14534
|
unit,
|
|
@@ -14687,15 +14588,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14687
14588
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14688
14589
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14689
14590
|
}
|
|
14690
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14691
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14692
|
-
}
|
|
14693
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14694
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14695
|
-
signal,
|
|
14696
|
-
json: data
|
|
14697
|
-
}).json();
|
|
14698
|
-
}
|
|
14699
14591
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14700
14592
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14701
14593
|
signal,
|
|
@@ -14959,7 +14851,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
14959
14851
|
}
|
|
14960
14852
|
//#endregion
|
|
14961
14853
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
14962
|
-
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,
|
|
14854
|
+
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) {
|
|
14963
14855
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
14964
14856
|
signal,
|
|
14965
14857
|
searchParams: buildSearchParams$2({
|
|
@@ -14985,7 +14877,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14985
14877
|
user_id,
|
|
14986
14878
|
only_me,
|
|
14987
14879
|
include_drafts,
|
|
14988
|
-
include_recurring_series,
|
|
14989
14880
|
cf_filter
|
|
14990
14881
|
})
|
|
14991
14882
|
}).json();
|
|
@@ -15004,6 +14895,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15004
14895
|
json: data
|
|
15005
14896
|
}).json();
|
|
15006
14897
|
}
|
|
14898
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
14899
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
14900
|
+
}
|
|
15007
14901
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15008
14902
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15009
14903
|
}
|
|
@@ -15029,37 +14923,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15029
14923
|
}).json();
|
|
15030
14924
|
}
|
|
15031
14925
|
//#endregion
|
|
15032
|
-
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
15033
|
-
async function openPublicSharedReport(httpClient, token, signal) {
|
|
15034
|
-
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
15035
|
-
}
|
|
15036
|
-
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15037
|
-
return await httpClient.post(`shared/${token}/profitability`, {
|
|
15038
|
-
signal,
|
|
15039
|
-
json: data,
|
|
15040
|
-
searchParams: buildSearchParams$2({
|
|
15041
|
-
response_format,
|
|
15042
|
-
include_dicts
|
|
15043
|
-
})
|
|
15044
|
-
}).json();
|
|
15045
|
-
}
|
|
15046
|
-
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15047
|
-
return await httpClient.post(`shared/${token}/query`, {
|
|
15048
|
-
signal,
|
|
15049
|
-
json: data,
|
|
15050
|
-
searchParams: buildSearchParams$2({
|
|
15051
|
-
response_format,
|
|
15052
|
-
include_dicts
|
|
15053
|
-
})
|
|
15054
|
-
}).json();
|
|
15055
|
-
}
|
|
15056
|
-
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
15057
|
-
return await httpClient.post(`shared/${token}/workload`, {
|
|
15058
|
-
signal,
|
|
15059
|
-
json: data
|
|
15060
|
-
}).json();
|
|
15061
|
-
}
|
|
15062
|
-
//#endregion
|
|
15063
14926
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15064
14927
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15065
14928
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15221,7 +15084,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15221
15084
|
}
|
|
15222
15085
|
//#endregion
|
|
15223
15086
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15224
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id,
|
|
15087
|
+
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) {
|
|
15225
15088
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15226
15089
|
signal,
|
|
15227
15090
|
searchParams: buildSearchParams$2({
|
|
@@ -15229,7 +15092,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15229
15092
|
per_group,
|
|
15230
15093
|
assignee_user_id,
|
|
15231
15094
|
assignee_team_id,
|
|
15232
|
-
include_unassigned,
|
|
15233
15095
|
project_id,
|
|
15234
15096
|
task_id,
|
|
15235
15097
|
include_drafts,
|
|
@@ -15274,18 +15136,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15274
15136
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15275
15137
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15276
15138
|
}
|
|
15277
|
-
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
15278
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15279
|
-
}
|
|
15280
|
-
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
15281
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
15282
|
-
}
|
|
15283
|
-
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
15284
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
15285
|
-
signal,
|
|
15286
|
-
json: data
|
|
15287
|
-
}).json();
|
|
15288
|
-
}
|
|
15289
15139
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15290
15140
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15291
15141
|
signal,
|
|
@@ -15295,21 +15145,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15295
15145
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15296
15146
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15297
15147
|
}
|
|
15298
|
-
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15299
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
15300
|
-
signal,
|
|
15301
|
-
json: data
|
|
15302
|
-
}).json();
|
|
15303
|
-
}
|
|
15304
|
-
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
15305
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
15306
|
-
}
|
|
15307
|
-
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15308
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
15309
|
-
signal,
|
|
15310
|
-
json: data
|
|
15311
|
-
}).json();
|
|
15312
|
-
}
|
|
15313
15148
|
//#endregion
|
|
15314
15149
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15315
15150
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15366,10 +15201,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15366
15201
|
}
|
|
15367
15202
|
//#endregion
|
|
15368
15203
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15369
|
-
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
|
|
15204
|
+
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) {
|
|
15370
15205
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15371
15206
|
signal,
|
|
15372
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15373
15207
|
searchParams: buildSearchParams$2({
|
|
15374
15208
|
project_id,
|
|
15375
15209
|
source,
|
|
@@ -15398,18 +15232,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15398
15232
|
min_days,
|
|
15399
15233
|
include_drafts,
|
|
15400
15234
|
cf_filter,
|
|
15401
|
-
user_cf_filter
|
|
15402
|
-
recurring_occurrences_after,
|
|
15403
|
-
max_recurring_occurrences_after,
|
|
15404
|
-
recurring_task_read,
|
|
15405
|
-
include_projected_occurrences
|
|
15235
|
+
user_cf_filter
|
|
15406
15236
|
})
|
|
15407
15237
|
}).json();
|
|
15408
15238
|
}
|
|
15409
|
-
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
|
|
15239
|
+
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) {
|
|
15410
15240
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15411
15241
|
signal,
|
|
15412
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15413
15242
|
searchParams: buildSearchParams$2({
|
|
15414
15243
|
team_id,
|
|
15415
15244
|
project_id,
|
|
@@ -15438,18 +15267,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15438
15267
|
min_days,
|
|
15439
15268
|
include_drafts,
|
|
15440
15269
|
cf_filter,
|
|
15441
|
-
user_cf_filter
|
|
15442
|
-
recurring_occurrences_after,
|
|
15443
|
-
max_recurring_occurrences_after,
|
|
15444
|
-
recurring_task_read,
|
|
15445
|
-
include_projected_occurrences
|
|
15270
|
+
user_cf_filter
|
|
15446
15271
|
})
|
|
15447
15272
|
}).json();
|
|
15448
15273
|
}
|
|
15449
|
-
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,
|
|
15274
|
+
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) {
|
|
15450
15275
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15451
15276
|
signal,
|
|
15452
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15453
15277
|
searchParams: buildSearchParams$2({
|
|
15454
15278
|
source,
|
|
15455
15279
|
priority,
|
|
@@ -15479,10 +15303,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15479
15303
|
include_drafts,
|
|
15480
15304
|
cf_filter,
|
|
15481
15305
|
user_cf_filter,
|
|
15482
|
-
recurring_occurrences_after,
|
|
15483
|
-
max_recurring_occurrences_after,
|
|
15484
|
-
recurring_task_read,
|
|
15485
|
-
include_projected_occurrences,
|
|
15486
15306
|
page,
|
|
15487
15307
|
per_page,
|
|
15488
15308
|
order_by
|
|
@@ -15510,6 +15330,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
15510
15330
|
}).json();
|
|
15511
15331
|
}
|
|
15512
15332
|
//#endregion
|
|
15333
|
+
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
15334
|
+
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
15335
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15336
|
+
signal,
|
|
15337
|
+
searchParams: buildSearchParams$2({
|
|
15338
|
+
page,
|
|
15339
|
+
per_page,
|
|
15340
|
+
order_by,
|
|
15341
|
+
archived
|
|
15342
|
+
})
|
|
15343
|
+
}).json();
|
|
15344
|
+
}
|
|
15345
|
+
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
15346
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15347
|
+
signal,
|
|
15348
|
+
json: data
|
|
15349
|
+
}).json();
|
|
15350
|
+
}
|
|
15351
|
+
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15352
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
15353
|
+
}
|
|
15354
|
+
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15355
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15356
|
+
signal,
|
|
15357
|
+
json: data
|
|
15358
|
+
}).json();
|
|
15359
|
+
}
|
|
15360
|
+
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
15361
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15362
|
+
signal,
|
|
15363
|
+
searchParams: buildSearchParams$2({ outbound_sync })
|
|
15364
|
+
}).json();
|
|
15365
|
+
}
|
|
15366
|
+
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15367
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15368
|
+
signal,
|
|
15369
|
+
json: data
|
|
15370
|
+
}).json();
|
|
15371
|
+
}
|
|
15372
|
+
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15373
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
15374
|
+
}
|
|
15375
|
+
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15376
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
15377
|
+
}
|
|
15378
|
+
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15379
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
15380
|
+
}
|
|
15381
|
+
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
15382
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
15383
|
+
signal,
|
|
15384
|
+
searchParams: buildSearchParams$2({
|
|
15385
|
+
date_from,
|
|
15386
|
+
date_to,
|
|
15387
|
+
task_id,
|
|
15388
|
+
status_id,
|
|
15389
|
+
page,
|
|
15390
|
+
per_page,
|
|
15391
|
+
archived,
|
|
15392
|
+
order_by
|
|
15393
|
+
})
|
|
15394
|
+
}).json();
|
|
15395
|
+
}
|
|
15396
|
+
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15397
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15398
|
+
signal,
|
|
15399
|
+
json: data
|
|
15400
|
+
}).json();
|
|
15401
|
+
}
|
|
15402
|
+
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
15403
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15404
|
+
signal,
|
|
15405
|
+
searchParams: buildSearchParams$2({
|
|
15406
|
+
ids,
|
|
15407
|
+
outbound_sync
|
|
15408
|
+
})
|
|
15409
|
+
}).json();
|
|
15410
|
+
}
|
|
15411
|
+
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15412
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15413
|
+
signal,
|
|
15414
|
+
json: data
|
|
15415
|
+
}).json();
|
|
15416
|
+
}
|
|
15417
|
+
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
15418
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
15419
|
+
signal,
|
|
15420
|
+
searchParams: buildSearchParams$2({
|
|
15421
|
+
date_from,
|
|
15422
|
+
date_to,
|
|
15423
|
+
task_id,
|
|
15424
|
+
status_id,
|
|
15425
|
+
archived,
|
|
15426
|
+
order_by
|
|
15427
|
+
})
|
|
15428
|
+
}).json();
|
|
15429
|
+
}
|
|
15430
|
+
//#endregion
|
|
15513
15431
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
15514
15432
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
15515
15433
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -15547,12 +15465,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
15547
15465
|
})
|
|
15548
15466
|
}).json();
|
|
15549
15467
|
}
|
|
15550
|
-
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
15551
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
15552
|
-
}
|
|
15553
|
-
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
15554
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
15555
|
-
}
|
|
15556
15468
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
15557
15469
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
15558
15470
|
signal,
|
|
@@ -15580,26 +15492,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15580
15492
|
json: data
|
|
15581
15493
|
}).json();
|
|
15582
15494
|
}
|
|
15583
|
-
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
15584
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
15585
|
-
signal,
|
|
15586
|
-
searchParams: buildSearchParams$2({
|
|
15587
|
-
category_id,
|
|
15588
|
-
date
|
|
15589
|
-
})
|
|
15590
|
-
}).json();
|
|
15591
|
-
}
|
|
15592
|
-
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
15593
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
15594
|
-
signal,
|
|
15595
|
-
searchParams: buildSearchParams$2({
|
|
15596
|
-
category_id,
|
|
15597
|
-
year,
|
|
15598
|
-
page,
|
|
15599
|
-
rows
|
|
15600
|
-
})
|
|
15601
|
-
}).json();
|
|
15602
|
-
}
|
|
15603
15495
|
//#endregion
|
|
15604
15496
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15605
15497
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15700,19 +15592,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15700
15592
|
json: data
|
|
15701
15593
|
}).json();
|
|
15702
15594
|
}
|
|
15703
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
15704
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
15705
|
-
signal,
|
|
15706
|
-
searchParams: buildSearchParams$2({
|
|
15707
|
-
date_from,
|
|
15708
|
-
date_to,
|
|
15709
|
-
setup_id,
|
|
15710
|
-
user_account_ids,
|
|
15711
|
-
approver_user_account_ids,
|
|
15712
|
-
team_ids
|
|
15713
|
-
})
|
|
15714
|
-
}).json();
|
|
15715
|
-
}
|
|
15716
15595
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15717
15596
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15718
15597
|
}
|
|
@@ -15756,21 +15635,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15756
15635
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
15757
15636
|
}
|
|
15758
15637
|
//#endregion
|
|
15759
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
15760
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
15761
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
15762
|
-
signal,
|
|
15763
|
-
json: data
|
|
15764
|
-
}).json();
|
|
15765
|
-
}
|
|
15766
|
-
//#endregion
|
|
15767
15638
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15768
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15769
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15770
|
-
}
|
|
15771
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15772
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15773
|
-
}
|
|
15774
15639
|
async function getUserSettings(httpClient, signal) {
|
|
15775
15640
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15776
15641
|
}
|
|
@@ -16010,7 +15875,6 @@ const generatedFocusOperations = [
|
|
|
16010
15875
|
mcp: { entityTool: "audit-log" },
|
|
16011
15876
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16012
15877
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16013
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16014
15878
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16015
15879
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16016
15880
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16018,7 +15882,6 @@ const generatedFocusOperations = [
|
|
|
16018
15882
|
from: /* @__PURE__ */ string$1(),
|
|
16019
15883
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16020
15884
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16021
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16022
15885
|
to: /* @__PURE__ */ string$1(),
|
|
16023
15886
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16024
15887
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16052,7 +15915,6 @@ const generatedFocusOperations = [
|
|
|
16052
15915
|
mcp: { entityTool: "audit-log" },
|
|
16053
15916
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16054
15917
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16055
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16056
15918
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16057
15919
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16058
15920
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16060,7 +15922,6 @@ const generatedFocusOperations = [
|
|
|
16060
15922
|
from: /* @__PURE__ */ string$1(),
|
|
16061
15923
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16062
15924
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16063
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16064
15925
|
to: /* @__PURE__ */ string$1(),
|
|
16065
15926
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16066
15927
|
}),
|
|
@@ -16100,7 +15961,6 @@ const generatedFocusOperations = [
|
|
|
16100
15961
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16101
15962
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16102
15963
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16103
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16104
15964
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16105
15965
|
user_id: /* @__PURE__ */ number$2()
|
|
16106
15966
|
}),
|
|
@@ -16350,6 +16210,8 @@ const generatedFocusOperations = [
|
|
|
16350
16210
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16351
16211
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16352
16212
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16213
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16214
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16353
16215
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16354
16216
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16355
16217
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16383,6 +16245,8 @@ const generatedFocusOperations = [
|
|
|
16383
16245
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16384
16246
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16385
16247
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16248
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16249
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16386
16250
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16387
16251
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16388
16252
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16398,6 +16262,12 @@ const generatedFocusOperations = [
|
|
|
16398
16262
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16399
16263
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16400
16264
|
}))),
|
|
16265
|
+
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16266
|
+
start: apiDateTimeString,
|
|
16267
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16268
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16269
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16270
|
+
}))),
|
|
16401
16271
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16402
16272
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
16403
16273
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -16407,6 +16277,13 @@ const generatedFocusOperations = [
|
|
|
16407
16277
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16408
16278
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16409
16279
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16280
|
+
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16281
|
+
start: apiDateTimeString,
|
|
16282
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16283
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16284
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16285
|
+
})),
|
|
16286
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16410
16287
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16411
16288
|
}))
|
|
16412
16289
|
}) }),
|
|
@@ -16525,60 +16402,33 @@ const generatedFocusOperations = [
|
|
|
16525
16402
|
}
|
|
16526
16403
|
},
|
|
16527
16404
|
{
|
|
16528
|
-
id: "focus.custom-fields.
|
|
16405
|
+
id: "focus.custom-fields.list",
|
|
16529
16406
|
family: "focus",
|
|
16530
16407
|
resource: "custom-fields",
|
|
16531
|
-
action: "
|
|
16532
|
-
title: "
|
|
16533
|
-
description: "
|
|
16408
|
+
action: "list",
|
|
16409
|
+
title: "List Custom Fields",
|
|
16410
|
+
description: "List Custom Fields.",
|
|
16534
16411
|
safety: "read",
|
|
16535
16412
|
destructive: false,
|
|
16536
16413
|
cli: {
|
|
16537
16414
|
group: ["custom-fields"],
|
|
16538
|
-
command: "
|
|
16539
|
-
interactive: "
|
|
16415
|
+
command: "list",
|
|
16416
|
+
interactive: "hidden"
|
|
16540
16417
|
},
|
|
16541
16418
|
mcp: { entityTool: "custom-fields" },
|
|
16542
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16419
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16420
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16421
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16422
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16423
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
16424
|
+
}),
|
|
16543
16425
|
execute: (input, { client }) => {
|
|
16544
16426
|
const data = input;
|
|
16545
|
-
return client.runGeneratedRequest("
|
|
16427
|
+
return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
|
|
16546
16428
|
client.httpClient,
|
|
16547
16429
|
client.organizationId,
|
|
16548
16430
|
client.workspaceIdNumber,
|
|
16549
|
-
data
|
|
16550
|
-
void 0
|
|
16551
|
-
]));
|
|
16552
|
-
}
|
|
16553
|
-
},
|
|
16554
|
-
{
|
|
16555
|
-
id: "focus.custom-fields.list",
|
|
16556
|
-
family: "focus",
|
|
16557
|
-
resource: "custom-fields",
|
|
16558
|
-
action: "list",
|
|
16559
|
-
title: "List Custom Fields",
|
|
16560
|
-
description: "List Custom Fields.",
|
|
16561
|
-
safety: "read",
|
|
16562
|
-
destructive: false,
|
|
16563
|
-
cli: {
|
|
16564
|
-
group: ["custom-fields"],
|
|
16565
|
-
command: "list",
|
|
16566
|
-
interactive: "hidden"
|
|
16567
|
-
},
|
|
16568
|
-
mcp: { entityTool: "custom-fields" },
|
|
16569
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16570
|
-
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16571
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16572
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16573
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
16574
|
-
}),
|
|
16575
|
-
execute: (input, { client }) => {
|
|
16576
|
-
const data = input;
|
|
16577
|
-
return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
|
|
16578
|
-
client.httpClient,
|
|
16579
|
-
client.organizationId,
|
|
16580
|
-
client.workspaceIdNumber,
|
|
16581
|
-
data,
|
|
16431
|
+
data,
|
|
16582
16432
|
void 0
|
|
16583
16433
|
]));
|
|
16584
16434
|
}
|
|
@@ -16720,37 +16570,6 @@ const generatedFocusOperations = [
|
|
|
16720
16570
|
]));
|
|
16721
16571
|
}
|
|
16722
16572
|
},
|
|
16723
|
-
{
|
|
16724
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16725
|
-
family: "focus",
|
|
16726
|
-
resource: "custom-fields",
|
|
16727
|
-
action: "replace-custom-field-allowed-users",
|
|
16728
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16729
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16730
|
-
safety: "update",
|
|
16731
|
-
destructive: false,
|
|
16732
|
-
cli: {
|
|
16733
|
-
group: ["custom-fields"],
|
|
16734
|
-
command: "replace-custom-field-allowed-users",
|
|
16735
|
-
interactive: "default"
|
|
16736
|
-
},
|
|
16737
|
-
mcp: { entityTool: "custom-fields" },
|
|
16738
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16739
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16740
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16741
|
-
}),
|
|
16742
|
-
execute: (input, { client }) => {
|
|
16743
|
-
const data = input;
|
|
16744
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16745
|
-
client.httpClient,
|
|
16746
|
-
client.organizationId,
|
|
16747
|
-
client.workspaceIdNumber,
|
|
16748
|
-
data.custom_field_id,
|
|
16749
|
-
data.payload ?? data.data ?? data,
|
|
16750
|
-
void 0
|
|
16751
|
-
]));
|
|
16752
|
-
}
|
|
16753
|
-
},
|
|
16754
16573
|
{
|
|
16755
16574
|
id: "focus.custom-fields.update",
|
|
16756
16575
|
family: "focus",
|
|
@@ -16897,7 +16716,13 @@ const generatedFocusOperations = [
|
|
|
16897
16716
|
},
|
|
16898
16717
|
mcp: { entityTool: "goals" },
|
|
16899
16718
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16719
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
16900
16720
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16721
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16722
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16723
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16724
|
+
name: /* @__PURE__ */ string$1(),
|
|
16725
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16901
16726
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16902
16727
|
"daily",
|
|
16903
16728
|
"weekly",
|
|
@@ -16905,18 +16730,12 @@ const generatedFocusOperations = [
|
|
|
16905
16730
|
"monthly"
|
|
16906
16731
|
]),
|
|
16907
16732
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16733
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16908
16734
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
16909
|
-
|
|
16735
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16736
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16910
16737
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16911
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16912
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16913
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16914
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
16915
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16916
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16917
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16918
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16919
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16738
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16920
16739
|
}) }),
|
|
16921
16740
|
execute: (input, { client }) => {
|
|
16922
16741
|
const data = input;
|
|
@@ -17022,6 +16841,13 @@ const generatedFocusOperations = [
|
|
|
17022
16841
|
},
|
|
17023
16842
|
mcp: { entityTool: "goals" },
|
|
17024
16843
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16844
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
16845
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16846
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16847
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16848
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16849
|
+
name: /* @__PURE__ */ string$1(),
|
|
16850
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17025
16851
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17026
16852
|
"daily",
|
|
17027
16853
|
"weekly",
|
|
@@ -17029,19 +16855,12 @@ const generatedFocusOperations = [
|
|
|
17029
16855
|
"monthly"
|
|
17030
16856
|
]),
|
|
17031
16857
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17032
|
-
|
|
16858
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16859
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
16860
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16861
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17033
16862
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17034
|
-
|
|
17035
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17036
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17037
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17038
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17039
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17040
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17041
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17042
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17043
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17044
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16863
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17045
16864
|
}) }),
|
|
17046
16865
|
execute: (input, { client }) => {
|
|
17047
16866
|
const data = input;
|
|
@@ -18008,17 +17827,9 @@ const generatedFocusOperations = [
|
|
|
18008
17827
|
mcp: { entityTool: "projects" },
|
|
18009
17828
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18010
17829
|
payload: /* @__PURE__ */ looseObject({
|
|
18011
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18012
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18013
17830
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18014
17831
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18015
17832
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18016
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18017
|
-
"expire",
|
|
18018
|
-
"carry_all",
|
|
18019
|
-
"carry_over"
|
|
18020
|
-
])),
|
|
18021
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18022
17833
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18023
17834
|
}),
|
|
18024
17835
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18462,7 +18273,6 @@ const generatedFocusOperations = [
|
|
|
18462
18273
|
group: /* @__PURE__ */ string$1(),
|
|
18463
18274
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18464
18275
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18465
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18466
18276
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18467
18277
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18468
18278
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18565,6 +18375,29 @@ const generatedFocusOperations = [
|
|
|
18565
18375
|
]));
|
|
18566
18376
|
}
|
|
18567
18377
|
},
|
|
18378
|
+
{
|
|
18379
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
18380
|
+
family: "focus",
|
|
18381
|
+
resource: "projects",
|
|
18382
|
+
action: "margin-targets-clear-workspace",
|
|
18383
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
18384
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
18385
|
+
safety: "delete",
|
|
18386
|
+
destructive: true,
|
|
18387
|
+
cli: {
|
|
18388
|
+
group: ["projects", "margin-targets"],
|
|
18389
|
+
command: "clear-workspace",
|
|
18390
|
+
interactive: "default"
|
|
18391
|
+
},
|
|
18392
|
+
mcp: { entityTool: "projects" },
|
|
18393
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18394
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18395
|
+
client.httpClient,
|
|
18396
|
+
client.organizationId,
|
|
18397
|
+
client.workspaceIdNumber,
|
|
18398
|
+
void 0
|
|
18399
|
+
]))
|
|
18400
|
+
},
|
|
18568
18401
|
{
|
|
18569
18402
|
id: "focus.projects.margin-targets-get",
|
|
18570
18403
|
family: "focus",
|
|
@@ -19009,130 +18842,6 @@ const generatedFocusOperations = [
|
|
|
19009
18842
|
]));
|
|
19010
18843
|
}
|
|
19011
18844
|
},
|
|
19012
|
-
{
|
|
19013
|
-
id: "focus.publicsharedreports.open-public-shared-report",
|
|
19014
|
-
family: "focus",
|
|
19015
|
-
resource: "publicsharedreports",
|
|
19016
|
-
action: "open-public-shared-report",
|
|
19017
|
-
title: "Open Public Shared Report Publicsharedreports",
|
|
19018
|
-
description: "Open Public Shared Report Publicsharedreports.",
|
|
19019
|
-
safety: "read",
|
|
19020
|
-
destructive: false,
|
|
19021
|
-
cli: {
|
|
19022
|
-
group: ["publicsharedreports"],
|
|
19023
|
-
command: "open-public-shared-report",
|
|
19024
|
-
interactive: "available"
|
|
19025
|
-
},
|
|
19026
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19027
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
19028
|
-
execute: (input, { client }) => {
|
|
19029
|
-
const data = input;
|
|
19030
|
-
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
19031
|
-
client.httpClient,
|
|
19032
|
-
data.token,
|
|
19033
|
-
void 0
|
|
19034
|
-
]));
|
|
19035
|
-
}
|
|
19036
|
-
},
|
|
19037
|
-
{
|
|
19038
|
-
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
19039
|
-
family: "focus",
|
|
19040
|
-
resource: "publicsharedreports",
|
|
19041
|
-
action: "profitability-public-shared-report",
|
|
19042
|
-
title: "Profitability Public Shared Report Publicsharedreports",
|
|
19043
|
-
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
19044
|
-
safety: "update",
|
|
19045
|
-
destructive: false,
|
|
19046
|
-
cli: {
|
|
19047
|
-
group: ["publicsharedreports"],
|
|
19048
|
-
command: "profitability-public-shared-report",
|
|
19049
|
-
interactive: "default"
|
|
19050
|
-
},
|
|
19051
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19052
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19053
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19054
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19055
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
19056
|
-
token: /* @__PURE__ */ string$1()
|
|
19057
|
-
}),
|
|
19058
|
-
execute: (input, { client }) => {
|
|
19059
|
-
const data = input;
|
|
19060
|
-
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
19061
|
-
client.httpClient,
|
|
19062
|
-
data.token,
|
|
19063
|
-
data.payload ?? data.data ?? data,
|
|
19064
|
-
data.response_format,
|
|
19065
|
-
data.include_dicts,
|
|
19066
|
-
void 0
|
|
19067
|
-
]));
|
|
19068
|
-
}
|
|
19069
|
-
},
|
|
19070
|
-
{
|
|
19071
|
-
id: "focus.publicsharedreports.query-public-shared-report",
|
|
19072
|
-
family: "focus",
|
|
19073
|
-
resource: "publicsharedreports",
|
|
19074
|
-
action: "query-public-shared-report",
|
|
19075
|
-
title: "Query Public Shared Report Publicsharedreports",
|
|
19076
|
-
description: "Query Public Shared Report Publicsharedreports.",
|
|
19077
|
-
safety: "update",
|
|
19078
|
-
destructive: false,
|
|
19079
|
-
cli: {
|
|
19080
|
-
group: ["publicsharedreports"],
|
|
19081
|
-
command: "query-public-shared-report",
|
|
19082
|
-
interactive: "default"
|
|
19083
|
-
},
|
|
19084
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19085
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19086
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19087
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19088
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19089
|
-
"json_row",
|
|
19090
|
-
"table",
|
|
19091
|
-
"hierarchical"
|
|
19092
|
-
])),
|
|
19093
|
-
token: /* @__PURE__ */ string$1()
|
|
19094
|
-
}),
|
|
19095
|
-
execute: (input, { client }) => {
|
|
19096
|
-
const data = input;
|
|
19097
|
-
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
19098
|
-
client.httpClient,
|
|
19099
|
-
data.token,
|
|
19100
|
-
data.payload ?? data.data ?? data,
|
|
19101
|
-
data.response_format,
|
|
19102
|
-
data.include_dicts,
|
|
19103
|
-
void 0
|
|
19104
|
-
]));
|
|
19105
|
-
}
|
|
19106
|
-
},
|
|
19107
|
-
{
|
|
19108
|
-
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
19109
|
-
family: "focus",
|
|
19110
|
-
resource: "publicsharedreports",
|
|
19111
|
-
action: "workload-public-shared-report",
|
|
19112
|
-
title: "Workload Public Shared Report Publicsharedreports",
|
|
19113
|
-
description: "Workload Public Shared Report Publicsharedreports.",
|
|
19114
|
-
safety: "update",
|
|
19115
|
-
destructive: false,
|
|
19116
|
-
cli: {
|
|
19117
|
-
group: ["publicsharedreports"],
|
|
19118
|
-
command: "workload-public-shared-report",
|
|
19119
|
-
interactive: "default"
|
|
19120
|
-
},
|
|
19121
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19122
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19123
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19124
|
-
token: /* @__PURE__ */ string$1()
|
|
19125
|
-
}),
|
|
19126
|
-
execute: (input, { client }) => {
|
|
19127
|
-
const data = input;
|
|
19128
|
-
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
19129
|
-
client.httpClient,
|
|
19130
|
-
data.token,
|
|
19131
|
-
data.payload ?? data.data ?? data,
|
|
19132
|
-
void 0
|
|
19133
|
-
]));
|
|
19134
|
-
}
|
|
19135
|
-
},
|
|
19136
18845
|
{
|
|
19137
18846
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
19138
18847
|
family: "focus",
|
|
@@ -21091,7 +20800,7 @@ const generatedFocusOperations = [
|
|
|
21091
20800
|
cli: {
|
|
21092
20801
|
group: ["reportschedules"],
|
|
21093
20802
|
command: "upsert-saved-view-schedule",
|
|
21094
|
-
interactive: "
|
|
20803
|
+
interactive: "default"
|
|
21095
20804
|
},
|
|
21096
20805
|
mcp: { entityTool: "reportschedules" },
|
|
21097
20806
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21102,10 +20811,8 @@ const generatedFocusOperations = [
|
|
|
21102
20811
|
"weekly",
|
|
21103
20812
|
"monthly"
|
|
21104
20813
|
]),
|
|
21105
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21106
20814
|
time: /* @__PURE__ */ string$1(),
|
|
21107
20815
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21108
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21109
20816
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21110
20817
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21111
20818
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21438,32 +21145,6 @@ const generatedFocusOperations = [
|
|
|
21438
21145
|
]));
|
|
21439
21146
|
}
|
|
21440
21147
|
},
|
|
21441
|
-
{
|
|
21442
|
-
id: "focus.sharedreports.get-shared-report-dates",
|
|
21443
|
-
family: "focus",
|
|
21444
|
-
resource: "sharedreports",
|
|
21445
|
-
action: "get-shared-report-dates",
|
|
21446
|
-
title: "Get Shared Report Dates Sharedreports",
|
|
21447
|
-
description: "Get Shared Report Dates Sharedreports.",
|
|
21448
|
-
safety: "read",
|
|
21449
|
-
destructive: false,
|
|
21450
|
-
cli: {
|
|
21451
|
-
group: ["sharedreports"],
|
|
21452
|
-
command: "get-shared-report-dates",
|
|
21453
|
-
interactive: "available"
|
|
21454
|
-
},
|
|
21455
|
-
mcp: { entityTool: "sharedreports" },
|
|
21456
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21457
|
-
execute: (input, { client }) => {
|
|
21458
|
-
const data = input;
|
|
21459
|
-
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
21460
|
-
client.httpClient,
|
|
21461
|
-
client.workspaceIdNumber,
|
|
21462
|
-
data.id,
|
|
21463
|
-
void 0
|
|
21464
|
-
]));
|
|
21465
|
-
}
|
|
21466
|
-
},
|
|
21467
21148
|
{
|
|
21468
21149
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21469
21150
|
family: "focus",
|
|
@@ -21534,36 +21215,6 @@ const generatedFocusOperations = [
|
|
|
21534
21215
|
void 0
|
|
21535
21216
|
]))
|
|
21536
21217
|
},
|
|
21537
|
-
{
|
|
21538
|
-
id: "focus.sharedreports.mint-shared-report-link",
|
|
21539
|
-
family: "focus",
|
|
21540
|
-
resource: "sharedreports",
|
|
21541
|
-
action: "mint-shared-report-link",
|
|
21542
|
-
title: "Mint Shared Report Link Sharedreports",
|
|
21543
|
-
description: "Mint Shared Report Link Sharedreports.",
|
|
21544
|
-
safety: "update",
|
|
21545
|
-
destructive: false,
|
|
21546
|
-
cli: {
|
|
21547
|
-
group: ["sharedreports"],
|
|
21548
|
-
command: "mint-shared-report-link",
|
|
21549
|
-
interactive: "default"
|
|
21550
|
-
},
|
|
21551
|
-
mcp: { entityTool: "sharedreports" },
|
|
21552
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21553
|
-
id: /* @__PURE__ */ number$2(),
|
|
21554
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21555
|
-
}),
|
|
21556
|
-
execute: (input, { client }) => {
|
|
21557
|
-
const data = input;
|
|
21558
|
-
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
21559
|
-
client.httpClient,
|
|
21560
|
-
client.workspaceIdNumber,
|
|
21561
|
-
data.id,
|
|
21562
|
-
data.payload ?? data.data ?? data,
|
|
21563
|
-
void 0
|
|
21564
|
-
]));
|
|
21565
|
-
}
|
|
21566
|
-
},
|
|
21567
21218
|
{
|
|
21568
21219
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21569
21220
|
family: "focus",
|
|
@@ -21595,53 +21246,71 @@ const generatedFocusOperations = [
|
|
|
21595
21246
|
}
|
|
21596
21247
|
},
|
|
21597
21248
|
{
|
|
21598
|
-
id: "focus.sharedreports.
|
|
21249
|
+
id: "focus.sharedreports.share-saved-view",
|
|
21599
21250
|
family: "focus",
|
|
21600
21251
|
resource: "sharedreports",
|
|
21601
|
-
action: "
|
|
21602
|
-
title: "
|
|
21603
|
-
description: "
|
|
21604
|
-
safety: "
|
|
21605
|
-
destructive:
|
|
21252
|
+
action: "share-saved-view",
|
|
21253
|
+
title: "Share Saved View Sharedreports",
|
|
21254
|
+
description: "Share Saved View Sharedreports.",
|
|
21255
|
+
safety: "update",
|
|
21256
|
+
destructive: false,
|
|
21606
21257
|
cli: {
|
|
21607
21258
|
group: ["sharedreports"],
|
|
21608
|
-
command: "
|
|
21609
|
-
interactive: "
|
|
21259
|
+
command: "share-saved-view",
|
|
21260
|
+
interactive: "hidden"
|
|
21610
21261
|
},
|
|
21611
21262
|
mcp: { entityTool: "sharedreports" },
|
|
21612
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21263
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21264
|
+
id: /* @__PURE__ */ number$2(),
|
|
21265
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21266
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21267
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21268
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21269
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21270
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21271
|
+
})
|
|
21272
|
+
}),
|
|
21613
21273
|
execute: (input, { client }) => {
|
|
21614
21274
|
const data = input;
|
|
21615
|
-
return client.runGeneratedRequest("
|
|
21275
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21616
21276
|
client.httpClient,
|
|
21617
21277
|
client.workspaceIdNumber,
|
|
21618
21278
|
data.id,
|
|
21279
|
+
data.payload ?? data.data ?? data,
|
|
21619
21280
|
void 0
|
|
21620
21281
|
]));
|
|
21621
21282
|
}
|
|
21622
21283
|
},
|
|
21623
21284
|
{
|
|
21624
|
-
id: "focus.sharedreports.
|
|
21285
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
21625
21286
|
family: "focus",
|
|
21626
21287
|
resource: "sharedreports",
|
|
21627
|
-
action: "
|
|
21628
|
-
title: "
|
|
21629
|
-
description: "
|
|
21288
|
+
action: "share-saved-view-many",
|
|
21289
|
+
title: "Share Saved View Many Sharedreports",
|
|
21290
|
+
description: "Share Saved View Many Sharedreports.",
|
|
21630
21291
|
safety: "update",
|
|
21631
21292
|
destructive: false,
|
|
21632
21293
|
cli: {
|
|
21633
21294
|
group: ["sharedreports"],
|
|
21634
|
-
command: "
|
|
21635
|
-
interactive: "
|
|
21295
|
+
command: "share-saved-view-many",
|
|
21296
|
+
interactive: "hidden"
|
|
21636
21297
|
},
|
|
21637
21298
|
mcp: { entityTool: "sharedreports" },
|
|
21638
21299
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21639
21300
|
id: /* @__PURE__ */ number$2(),
|
|
21640
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21301
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21302
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21303
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21304
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21305
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21306
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21307
|
+
})),
|
|
21308
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21309
|
+
})
|
|
21641
21310
|
}),
|
|
21642
21311
|
execute: (input, { client }) => {
|
|
21643
21312
|
const data = input;
|
|
21644
|
-
return client.runGeneratedRequest("
|
|
21313
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21645
21314
|
client.httpClient,
|
|
21646
21315
|
client.workspaceIdNumber,
|
|
21647
21316
|
data.id,
|
|
@@ -21650,136 +21319,6 @@ const generatedFocusOperations = [
|
|
|
21650
21319
|
]));
|
|
21651
21320
|
}
|
|
21652
21321
|
},
|
|
21653
|
-
{
|
|
21654
|
-
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
21655
|
-
family: "focus",
|
|
21656
|
-
resource: "sharedreports",
|
|
21657
|
-
action: "set-shared-report-dates-lock",
|
|
21658
|
-
title: "Set Shared Report Dates Lock Sharedreports",
|
|
21659
|
-
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
21660
|
-
safety: "update",
|
|
21661
|
-
destructive: false,
|
|
21662
|
-
cli: {
|
|
21663
|
-
group: ["sharedreports"],
|
|
21664
|
-
command: "set-shared-report-dates-lock",
|
|
21665
|
-
interactive: "default"
|
|
21666
|
-
},
|
|
21667
|
-
mcp: { entityTool: "sharedreports" },
|
|
21668
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21669
|
-
id: /* @__PURE__ */ number$2(),
|
|
21670
|
-
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
21671
|
-
}),
|
|
21672
|
-
execute: (input, { client }) => {
|
|
21673
|
-
const data = input;
|
|
21674
|
-
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
21675
|
-
client.httpClient,
|
|
21676
|
-
client.workspaceIdNumber,
|
|
21677
|
-
data.id,
|
|
21678
|
-
data.payload ?? data.data ?? data,
|
|
21679
|
-
void 0
|
|
21680
|
-
]));
|
|
21681
|
-
}
|
|
21682
|
-
},
|
|
21683
|
-
{
|
|
21684
|
-
id: "focus.sharedreports.share-saved-view",
|
|
21685
|
-
family: "focus",
|
|
21686
|
-
resource: "sharedreports",
|
|
21687
|
-
action: "share-saved-view",
|
|
21688
|
-
title: "Share Saved View Sharedreports",
|
|
21689
|
-
description: "Share Saved View Sharedreports.",
|
|
21690
|
-
safety: "update",
|
|
21691
|
-
destructive: false,
|
|
21692
|
-
cli: {
|
|
21693
|
-
group: ["sharedreports"],
|
|
21694
|
-
command: "share-saved-view",
|
|
21695
|
-
interactive: "hidden"
|
|
21696
|
-
},
|
|
21697
|
-
mcp: { entityTool: "sharedreports" },
|
|
21698
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21699
|
-
id: /* @__PURE__ */ number$2(),
|
|
21700
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21701
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21702
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21703
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21704
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21705
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21706
|
-
})
|
|
21707
|
-
}),
|
|
21708
|
-
execute: (input, { client }) => {
|
|
21709
|
-
const data = input;
|
|
21710
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21711
|
-
client.httpClient,
|
|
21712
|
-
client.workspaceIdNumber,
|
|
21713
|
-
data.id,
|
|
21714
|
-
data.payload ?? data.data ?? data,
|
|
21715
|
-
void 0
|
|
21716
|
-
]));
|
|
21717
|
-
}
|
|
21718
|
-
},
|
|
21719
|
-
{
|
|
21720
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
21721
|
-
family: "focus",
|
|
21722
|
-
resource: "sharedreports",
|
|
21723
|
-
action: "share-saved-view-many",
|
|
21724
|
-
title: "Share Saved View Many Sharedreports",
|
|
21725
|
-
description: "Share Saved View Many Sharedreports.",
|
|
21726
|
-
safety: "update",
|
|
21727
|
-
destructive: false,
|
|
21728
|
-
cli: {
|
|
21729
|
-
group: ["sharedreports"],
|
|
21730
|
-
command: "share-saved-view-many",
|
|
21731
|
-
interactive: "hidden"
|
|
21732
|
-
},
|
|
21733
|
-
mcp: { entityTool: "sharedreports" },
|
|
21734
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21735
|
-
id: /* @__PURE__ */ number$2(),
|
|
21736
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21737
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21738
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21739
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21740
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21741
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21742
|
-
})),
|
|
21743
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21744
|
-
})
|
|
21745
|
-
}),
|
|
21746
|
-
execute: (input, { client }) => {
|
|
21747
|
-
const data = input;
|
|
21748
|
-
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21749
|
-
client.httpClient,
|
|
21750
|
-
client.workspaceIdNumber,
|
|
21751
|
-
data.id,
|
|
21752
|
-
data.payload ?? data.data ?? data,
|
|
21753
|
-
void 0
|
|
21754
|
-
]));
|
|
21755
|
-
}
|
|
21756
|
-
},
|
|
21757
|
-
{
|
|
21758
|
-
id: "focus.sharedreports.unshare-shared-report",
|
|
21759
|
-
family: "focus",
|
|
21760
|
-
resource: "sharedreports",
|
|
21761
|
-
action: "unshare-shared-report",
|
|
21762
|
-
title: "Unshare Shared Report Sharedreports",
|
|
21763
|
-
description: "Unshare Shared Report Sharedreports.",
|
|
21764
|
-
safety: "delete",
|
|
21765
|
-
destructive: true,
|
|
21766
|
-
cli: {
|
|
21767
|
-
group: ["sharedreports"],
|
|
21768
|
-
command: "unshare-shared-report",
|
|
21769
|
-
interactive: "default"
|
|
21770
|
-
},
|
|
21771
|
-
mcp: { entityTool: "sharedreports" },
|
|
21772
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21773
|
-
execute: (input, { client }) => {
|
|
21774
|
-
const data = input;
|
|
21775
|
-
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
21776
|
-
client.httpClient,
|
|
21777
|
-
client.workspaceIdNumber,
|
|
21778
|
-
data.id,
|
|
21779
|
-
void 0
|
|
21780
|
-
]));
|
|
21781
|
-
}
|
|
21782
|
-
},
|
|
21783
21322
|
{
|
|
21784
21323
|
id: "focus.statuses.create-status",
|
|
21785
21324
|
family: "focus",
|
|
@@ -22822,37 +22361,6 @@ const generatedFocusOperations = [
|
|
|
22822
22361
|
return client.createTask(data);
|
|
22823
22362
|
}
|
|
22824
22363
|
},
|
|
22825
|
-
{
|
|
22826
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
22827
|
-
family: "focus",
|
|
22828
|
-
resource: "tasks",
|
|
22829
|
-
action: "create-recurring-occurrence",
|
|
22830
|
-
title: "Create Recurring Occurrence Tasks",
|
|
22831
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
22832
|
-
safety: "create",
|
|
22833
|
-
destructive: false,
|
|
22834
|
-
cli: {
|
|
22835
|
-
group: ["tasks"],
|
|
22836
|
-
command: "create-recurring-occurrence",
|
|
22837
|
-
interactive: "default"
|
|
22838
|
-
},
|
|
22839
|
-
mcp: { entityTool: "tasks" },
|
|
22840
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22841
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22842
|
-
task_id: /* @__PURE__ */ number$2()
|
|
22843
|
-
}),
|
|
22844
|
-
execute: (input, { client }) => {
|
|
22845
|
-
const data = input;
|
|
22846
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22847
|
-
client.httpClient,
|
|
22848
|
-
client.organizationId,
|
|
22849
|
-
client.workspaceIdNumber,
|
|
22850
|
-
data.task_id,
|
|
22851
|
-
data.return_occurrence,
|
|
22852
|
-
void 0
|
|
22853
|
-
]));
|
|
22854
|
-
}
|
|
22855
|
-
},
|
|
22856
22364
|
{
|
|
22857
22365
|
id: "focus.tasks.delete",
|
|
22858
22366
|
family: "focus",
|
|
@@ -23077,79 +22585,6 @@ const generatedFocusOperations = [
|
|
|
23077
22585
|
]));
|
|
23078
22586
|
}
|
|
23079
22587
|
},
|
|
23080
|
-
{
|
|
23081
|
-
id: "focus.tasks.get-picker-task-children",
|
|
23082
|
-
family: "focus",
|
|
23083
|
-
resource: "tasks",
|
|
23084
|
-
action: "get-picker-task-children",
|
|
23085
|
-
title: "Get Picker Task Children Tasks",
|
|
23086
|
-
description: "Get Picker Task Children Tasks.",
|
|
23087
|
-
safety: "read",
|
|
23088
|
-
destructive: false,
|
|
23089
|
-
cli: {
|
|
23090
|
-
group: ["tasks"],
|
|
23091
|
-
command: "get-picker-task-children",
|
|
23092
|
-
interactive: "hidden"
|
|
23093
|
-
},
|
|
23094
|
-
mcp: { entityTool: "tasks" },
|
|
23095
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23096
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23097
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23098
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23099
|
-
parent_task_id: /* @__PURE__ */ number$2(),
|
|
23100
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23101
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23102
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23103
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23104
|
-
}),
|
|
23105
|
-
execute: (input, { client }) => {
|
|
23106
|
-
const data = input;
|
|
23107
|
-
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
23108
|
-
client.httpClient,
|
|
23109
|
-
client.organizationId,
|
|
23110
|
-
client.workspaceIdNumber,
|
|
23111
|
-
data.parent_task_id,
|
|
23112
|
-
data,
|
|
23113
|
-
void 0
|
|
23114
|
-
]));
|
|
23115
|
-
}
|
|
23116
|
-
},
|
|
23117
|
-
{
|
|
23118
|
-
id: "focus.tasks.get-picker-task-groups",
|
|
23119
|
-
family: "focus",
|
|
23120
|
-
resource: "tasks",
|
|
23121
|
-
action: "get-picker-task-groups",
|
|
23122
|
-
title: "Get Picker Task Groups Tasks",
|
|
23123
|
-
description: "Get Picker Task Groups Tasks.",
|
|
23124
|
-
safety: "read",
|
|
23125
|
-
destructive: false,
|
|
23126
|
-
cli: {
|
|
23127
|
-
group: ["tasks"],
|
|
23128
|
-
command: "get-picker-task-groups",
|
|
23129
|
-
interactive: "hidden"
|
|
23130
|
-
},
|
|
23131
|
-
mcp: { entityTool: "tasks" },
|
|
23132
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23133
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23134
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23135
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23136
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23137
|
-
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23138
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23139
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23140
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23141
|
-
}),
|
|
23142
|
-
execute: (input, { client }) => {
|
|
23143
|
-
const data = input;
|
|
23144
|
-
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
23145
|
-
client.httpClient,
|
|
23146
|
-
client.organizationId,
|
|
23147
|
-
client.workspaceIdNumber,
|
|
23148
|
-
data,
|
|
23149
|
-
void 0
|
|
23150
|
-
]));
|
|
23151
|
-
}
|
|
23152
|
-
},
|
|
23153
22588
|
{
|
|
23154
22589
|
id: "focus.tasks.get-recurring-instances",
|
|
23155
22590
|
family: "focus",
|
|
@@ -23173,13 +22608,9 @@ const generatedFocusOperations = [
|
|
|
23173
22608
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23174
22609
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23175
22610
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23176
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23177
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23178
22611
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23179
22612
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23180
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23181
22613
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23182
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23183
22614
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23184
22615
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23185
22616
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23225,14 +22656,13 @@ const generatedFocusOperations = [
|
|
|
23225
22656
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23226
22657
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23227
22658
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22659
|
+
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23228
22660
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23229
22661
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23230
22662
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23231
22663
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23232
22664
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23233
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23234
22665
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23235
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23236
22666
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23237
22667
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23238
22668
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23241,9 +22671,7 @@ const generatedFocusOperations = [
|
|
|
23241
22671
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23242
22672
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23243
22673
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23244
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23245
22674
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23246
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23247
22675
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23248
22676
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23249
22677
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23252,6 +22680,8 @@ const generatedFocusOperations = [
|
|
|
23252
22680
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23253
22681
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23254
22682
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22683
|
+
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22684
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23255
22685
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23256
22686
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23257
22687
|
}),
|
|
@@ -23379,10 +22809,8 @@ const generatedFocusOperations = [
|
|
|
23379
22809
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23380
22810
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23381
22811
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23382
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23383
22812
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23384
22813
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23385
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23386
22814
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23387
22815
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23388
22816
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23391,8 +22819,6 @@ const generatedFocusOperations = [
|
|
|
23391
22819
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23392
22820
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23393
22821
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23394
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23395
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23396
22822
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23397
22823
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23398
22824
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23401,8 +22827,7 @@ const generatedFocusOperations = [
|
|
|
23401
22827
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23402
22828
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23403
22829
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23404
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23405
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22830
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23406
22831
|
}),
|
|
23407
22832
|
execute: (input, { client }) => {
|
|
23408
22833
|
const data = input;
|
|
@@ -23444,17 +22869,13 @@ const generatedFocusOperations = [
|
|
|
23444
22869
|
group_id: /* @__PURE__ */ number$2(),
|
|
23445
22870
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23446
22871
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23447
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23448
22872
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23449
22873
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23450
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23451
22874
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23452
22875
|
name: /* @__PURE__ */ unknown$1(),
|
|
23453
22876
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23454
22877
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23455
22878
|
project_id: /* @__PURE__ */ number$2(),
|
|
23456
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23457
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23458
22879
|
source: /* @__PURE__ */ unknown$1(),
|
|
23459
22880
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23460
22881
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23463,8 +22884,7 @@ const generatedFocusOperations = [
|
|
|
23463
22884
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23464
22885
|
team_id: /* @__PURE__ */ number$2(),
|
|
23465
22886
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23466
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23467
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
22887
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23468
22888
|
}),
|
|
23469
22889
|
execute: (input, { client }) => {
|
|
23470
22890
|
const data = input;
|
|
@@ -23505,17 +22925,13 @@ const generatedFocusOperations = [
|
|
|
23505
22925
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23506
22926
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23507
22927
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23508
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23509
22928
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23510
22929
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23511
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23512
22930
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23513
22931
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23514
22932
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23515
22933
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23516
22934
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23517
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23518
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23519
22935
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23520
22936
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23521
22937
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23524,8 +22940,7 @@ const generatedFocusOperations = [
|
|
|
23524
22940
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23525
22941
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23526
22942
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23527
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23528
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22943
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23529
22944
|
}),
|
|
23530
22945
|
execute: (input, { client }) => {
|
|
23531
22946
|
const data = input;
|
|
@@ -23769,45 +23184,508 @@ const generatedFocusOperations = [
|
|
|
23769
23184
|
}),
|
|
23770
23185
|
execute: (input, { client }) => {
|
|
23771
23186
|
const data = input;
|
|
23772
|
-
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
23187
|
+
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
23188
|
+
client.httpClient,
|
|
23189
|
+
client.organizationId,
|
|
23190
|
+
client.workspaceIdNumber,
|
|
23191
|
+
data.task_id,
|
|
23192
|
+
data.payload ?? data.data ?? data,
|
|
23193
|
+
void 0
|
|
23194
|
+
]));
|
|
23195
|
+
}
|
|
23196
|
+
},
|
|
23197
|
+
{
|
|
23198
|
+
id: "focus.tasks.update-calendar-range",
|
|
23199
|
+
family: "focus",
|
|
23200
|
+
resource: "tasks",
|
|
23201
|
+
action: "update-calendar-range",
|
|
23202
|
+
title: "Update Calendar Range Tasks",
|
|
23203
|
+
description: "Update Calendar Range Tasks.",
|
|
23204
|
+
safety: "update",
|
|
23205
|
+
destructive: false,
|
|
23206
|
+
cli: {
|
|
23207
|
+
group: ["tasks"],
|
|
23208
|
+
command: "update-calendar-range",
|
|
23209
|
+
interactive: "default"
|
|
23210
|
+
},
|
|
23211
|
+
mcp: { entityTool: "tasks" },
|
|
23212
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23213
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
23214
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23215
|
+
}),
|
|
23216
|
+
execute: (input, { client }) => {
|
|
23217
|
+
const data = input;
|
|
23218
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
23219
|
+
client.httpClient,
|
|
23220
|
+
client.organizationId,
|
|
23221
|
+
client.workspaceIdNumber,
|
|
23222
|
+
data.date_from,
|
|
23223
|
+
data.date_to,
|
|
23224
|
+
void 0
|
|
23225
|
+
]));
|
|
23226
|
+
}
|
|
23227
|
+
},
|
|
23228
|
+
{
|
|
23229
|
+
id: "focus.time-blocks.archive",
|
|
23230
|
+
family: "focus",
|
|
23231
|
+
resource: "time-blocks",
|
|
23232
|
+
action: "archive",
|
|
23233
|
+
title: "Archive Time Blocks",
|
|
23234
|
+
description: "Archive Time Blocks.",
|
|
23235
|
+
safety: "update",
|
|
23236
|
+
destructive: false,
|
|
23237
|
+
cli: {
|
|
23238
|
+
group: ["time-blocks"],
|
|
23239
|
+
command: "archive",
|
|
23240
|
+
interactive: "default"
|
|
23241
|
+
},
|
|
23242
|
+
mcp: { entityTool: "time-blocks" },
|
|
23243
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23244
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23245
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23246
|
+
}),
|
|
23247
|
+
execute: (input, { client }) => {
|
|
23248
|
+
const data = input;
|
|
23249
|
+
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
23250
|
+
client.httpClient,
|
|
23251
|
+
client.organizationId,
|
|
23252
|
+
client.workspaceIdNumber,
|
|
23253
|
+
data.task_id,
|
|
23254
|
+
data.time_block_id,
|
|
23255
|
+
void 0
|
|
23256
|
+
]));
|
|
23257
|
+
}
|
|
23258
|
+
},
|
|
23259
|
+
{
|
|
23260
|
+
id: "focus.time-blocks.bulk-create",
|
|
23261
|
+
family: "focus",
|
|
23262
|
+
resource: "time-blocks",
|
|
23263
|
+
action: "bulk-create",
|
|
23264
|
+
title: "Bulk Create Time Blocks",
|
|
23265
|
+
description: "Bulk Create Time Blocks.",
|
|
23266
|
+
safety: "create",
|
|
23267
|
+
destructive: false,
|
|
23268
|
+
cli: {
|
|
23269
|
+
group: ["time-blocks", "bulk"],
|
|
23270
|
+
command: "create",
|
|
23271
|
+
interactive: "default"
|
|
23272
|
+
},
|
|
23273
|
+
mcp: { entityTool: "time-blocks" },
|
|
23274
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23275
|
+
start: apiDateTimeString,
|
|
23276
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23277
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23278
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23279
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23280
|
+
})) }) }),
|
|
23281
|
+
execute: (input, { client }) => {
|
|
23282
|
+
const data = input;
|
|
23283
|
+
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
23284
|
+
client.httpClient,
|
|
23285
|
+
client.organizationId,
|
|
23286
|
+
client.workspaceIdNumber,
|
|
23287
|
+
data.payload ?? data.data ?? data,
|
|
23288
|
+
void 0
|
|
23289
|
+
]));
|
|
23290
|
+
}
|
|
23291
|
+
},
|
|
23292
|
+
{
|
|
23293
|
+
id: "focus.time-blocks.bulk-delete",
|
|
23294
|
+
family: "focus",
|
|
23295
|
+
resource: "time-blocks",
|
|
23296
|
+
action: "bulk-delete",
|
|
23297
|
+
title: "Bulk Delete Time Blocks",
|
|
23298
|
+
description: "Bulk Delete Time Blocks.",
|
|
23299
|
+
safety: "delete",
|
|
23300
|
+
destructive: true,
|
|
23301
|
+
cli: {
|
|
23302
|
+
group: ["time-blocks", "bulk"],
|
|
23303
|
+
command: "delete",
|
|
23304
|
+
interactive: "default"
|
|
23305
|
+
},
|
|
23306
|
+
mcp: { entityTool: "time-blocks" },
|
|
23307
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23308
|
+
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
23309
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23310
|
+
}),
|
|
23311
|
+
execute: (input, { client }) => {
|
|
23312
|
+
const data = input;
|
|
23313
|
+
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
23314
|
+
client.httpClient,
|
|
23315
|
+
client.organizationId,
|
|
23316
|
+
client.workspaceIdNumber,
|
|
23317
|
+
data.ids,
|
|
23318
|
+
data.outbound_sync,
|
|
23319
|
+
void 0
|
|
23320
|
+
]));
|
|
23321
|
+
}
|
|
23322
|
+
},
|
|
23323
|
+
{
|
|
23324
|
+
id: "focus.time-blocks.bulk-partial-update",
|
|
23325
|
+
family: "focus",
|
|
23326
|
+
resource: "time-blocks",
|
|
23327
|
+
action: "bulk-partial-update",
|
|
23328
|
+
title: "Bulk Partial Update Time Blocks",
|
|
23329
|
+
description: "Bulk Partial Update Time Blocks.",
|
|
23330
|
+
safety: "update",
|
|
23331
|
+
destructive: false,
|
|
23332
|
+
cli: {
|
|
23333
|
+
group: ["time-blocks", "bulk"],
|
|
23334
|
+
command: "partial-update",
|
|
23335
|
+
interactive: "hidden"
|
|
23336
|
+
},
|
|
23337
|
+
mcp: { entityTool: "time-blocks" },
|
|
23338
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
23339
|
+
execute: (input, { client }) => {
|
|
23340
|
+
const data = input;
|
|
23341
|
+
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
23342
|
+
client.httpClient,
|
|
23343
|
+
client.organizationId,
|
|
23344
|
+
client.workspaceIdNumber,
|
|
23345
|
+
data.payload ?? data.data ?? data,
|
|
23346
|
+
void 0
|
|
23347
|
+
]));
|
|
23348
|
+
}
|
|
23349
|
+
},
|
|
23350
|
+
{
|
|
23351
|
+
id: "focus.time-blocks.create",
|
|
23352
|
+
family: "focus",
|
|
23353
|
+
resource: "time-blocks",
|
|
23354
|
+
action: "create",
|
|
23355
|
+
title: "Create Time Blocks",
|
|
23356
|
+
description: "Create Time Blocks.",
|
|
23357
|
+
safety: "create",
|
|
23358
|
+
destructive: false,
|
|
23359
|
+
cli: {
|
|
23360
|
+
group: ["time-blocks"],
|
|
23361
|
+
command: "create",
|
|
23362
|
+
interactive: "default"
|
|
23363
|
+
},
|
|
23364
|
+
mcp: { entityTool: "time-blocks" },
|
|
23365
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23366
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23367
|
+
start: apiDateTimeString,
|
|
23368
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23369
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23370
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23371
|
+
}),
|
|
23372
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23373
|
+
}),
|
|
23374
|
+
execute: (input, { client }) => {
|
|
23375
|
+
const data = input;
|
|
23376
|
+
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
23377
|
+
client.httpClient,
|
|
23378
|
+
client.organizationId,
|
|
23379
|
+
client.workspaceIdNumber,
|
|
23380
|
+
data.task_id,
|
|
23381
|
+
data.payload ?? data.data ?? data,
|
|
23382
|
+
void 0
|
|
23383
|
+
]));
|
|
23384
|
+
}
|
|
23385
|
+
},
|
|
23386
|
+
{
|
|
23387
|
+
id: "focus.time-blocks.delete",
|
|
23388
|
+
family: "focus",
|
|
23389
|
+
resource: "time-blocks",
|
|
23390
|
+
action: "delete",
|
|
23391
|
+
title: "Delete Time Blocks",
|
|
23392
|
+
description: "Delete Time Blocks.",
|
|
23393
|
+
safety: "delete",
|
|
23394
|
+
destructive: true,
|
|
23395
|
+
cli: {
|
|
23396
|
+
group: ["time-blocks"],
|
|
23397
|
+
command: "delete",
|
|
23398
|
+
interactive: "default"
|
|
23399
|
+
},
|
|
23400
|
+
mcp: { entityTool: "time-blocks" },
|
|
23401
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23402
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23403
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23404
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23405
|
+
}),
|
|
23406
|
+
execute: (input, { client }) => {
|
|
23407
|
+
const data = input;
|
|
23408
|
+
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
23409
|
+
client.httpClient,
|
|
23410
|
+
client.organizationId,
|
|
23411
|
+
client.workspaceIdNumber,
|
|
23412
|
+
data.task_id,
|
|
23413
|
+
data.time_block_id,
|
|
23414
|
+
data.outbound_sync,
|
|
23415
|
+
void 0
|
|
23416
|
+
]));
|
|
23417
|
+
}
|
|
23418
|
+
},
|
|
23419
|
+
{
|
|
23420
|
+
id: "focus.time-blocks.get",
|
|
23421
|
+
family: "focus",
|
|
23422
|
+
resource: "time-blocks",
|
|
23423
|
+
action: "get",
|
|
23424
|
+
title: "Get Time Blocks",
|
|
23425
|
+
description: "Get Time Blocks.",
|
|
23426
|
+
safety: "read",
|
|
23427
|
+
destructive: false,
|
|
23428
|
+
cli: {
|
|
23429
|
+
group: ["time-blocks"],
|
|
23430
|
+
command: "get",
|
|
23431
|
+
interactive: "available"
|
|
23432
|
+
},
|
|
23433
|
+
mcp: { entityTool: "time-blocks" },
|
|
23434
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23435
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23436
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23437
|
+
}),
|
|
23438
|
+
execute: (input, { client }) => {
|
|
23439
|
+
const data = input;
|
|
23440
|
+
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
23441
|
+
client.httpClient,
|
|
23442
|
+
client.organizationId,
|
|
23443
|
+
client.workspaceIdNumber,
|
|
23444
|
+
data.task_id,
|
|
23445
|
+
data.time_block_id,
|
|
23446
|
+
void 0
|
|
23447
|
+
]));
|
|
23448
|
+
}
|
|
23449
|
+
},
|
|
23450
|
+
{
|
|
23451
|
+
id: "focus.time-blocks.get-range",
|
|
23452
|
+
family: "focus",
|
|
23453
|
+
resource: "time-blocks",
|
|
23454
|
+
action: "get-range",
|
|
23455
|
+
title: "Get Range Time Blocks",
|
|
23456
|
+
description: "Get Range Time Blocks.",
|
|
23457
|
+
safety: "read",
|
|
23458
|
+
destructive: false,
|
|
23459
|
+
cli: {
|
|
23460
|
+
group: ["time-blocks"],
|
|
23461
|
+
command: "get-range",
|
|
23462
|
+
interactive: "hidden"
|
|
23463
|
+
},
|
|
23464
|
+
mcp: { entityTool: "time-blocks" },
|
|
23465
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23466
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
23467
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
23468
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
23469
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
23470
|
+
page: /* @__PURE__ */ number$2(),
|
|
23471
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
23472
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23473
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23474
|
+
}),
|
|
23475
|
+
execute: (input, { client }) => {
|
|
23476
|
+
const data = input;
|
|
23477
|
+
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
23478
|
+
client.httpClient,
|
|
23479
|
+
client.organizationId,
|
|
23480
|
+
client.workspaceIdNumber,
|
|
23481
|
+
data,
|
|
23482
|
+
void 0
|
|
23483
|
+
]));
|
|
23484
|
+
}
|
|
23485
|
+
},
|
|
23486
|
+
{
|
|
23487
|
+
id: "focus.time-blocks.get-range-stream",
|
|
23488
|
+
family: "focus",
|
|
23489
|
+
resource: "time-blocks",
|
|
23490
|
+
action: "get-range-stream",
|
|
23491
|
+
title: "Get Range Stream Time Blocks",
|
|
23492
|
+
description: "Get Range Stream Time Blocks.",
|
|
23493
|
+
safety: "read",
|
|
23494
|
+
destructive: false,
|
|
23495
|
+
cli: {
|
|
23496
|
+
group: ["time-blocks"],
|
|
23497
|
+
command: "get-range-stream",
|
|
23498
|
+
interactive: "hidden"
|
|
23499
|
+
},
|
|
23500
|
+
mcp: { entityTool: "time-blocks" },
|
|
23501
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23502
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
23503
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
23504
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
23505
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
23506
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23507
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23508
|
+
}),
|
|
23509
|
+
execute: (input, { client }) => {
|
|
23510
|
+
const data = input;
|
|
23511
|
+
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
23512
|
+
client.httpClient,
|
|
23513
|
+
client.organizationId,
|
|
23514
|
+
client.workspaceIdNumber,
|
|
23515
|
+
data,
|
|
23516
|
+
void 0
|
|
23517
|
+
]));
|
|
23518
|
+
}
|
|
23519
|
+
},
|
|
23520
|
+
{
|
|
23521
|
+
id: "focus.time-blocks.get-task-time-blocks",
|
|
23522
|
+
family: "focus",
|
|
23523
|
+
resource: "time-blocks",
|
|
23524
|
+
action: "get-task-time-blocks",
|
|
23525
|
+
title: "Get Task Time Blocks Time Blocks",
|
|
23526
|
+
description: "Get Task Time Blocks Time Blocks.",
|
|
23527
|
+
safety: "read",
|
|
23528
|
+
destructive: false,
|
|
23529
|
+
cli: {
|
|
23530
|
+
group: ["time-blocks"],
|
|
23531
|
+
command: "get-task-time-blocks",
|
|
23532
|
+
interactive: "hidden"
|
|
23533
|
+
},
|
|
23534
|
+
mcp: { entityTool: "time-blocks" },
|
|
23535
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23536
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23537
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23538
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23539
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23540
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23541
|
+
}),
|
|
23542
|
+
execute: (input, { client }) => {
|
|
23543
|
+
const data = input;
|
|
23544
|
+
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
23545
|
+
client.httpClient,
|
|
23546
|
+
client.organizationId,
|
|
23547
|
+
client.workspaceIdNumber,
|
|
23548
|
+
data.task_id,
|
|
23549
|
+
data,
|
|
23550
|
+
void 0
|
|
23551
|
+
]));
|
|
23552
|
+
}
|
|
23553
|
+
},
|
|
23554
|
+
{
|
|
23555
|
+
id: "focus.time-blocks.partial-update",
|
|
23556
|
+
family: "focus",
|
|
23557
|
+
resource: "time-blocks",
|
|
23558
|
+
action: "partial-update",
|
|
23559
|
+
title: "Partial Update Time Blocks",
|
|
23560
|
+
description: "Partial Update Time Blocks.",
|
|
23561
|
+
safety: "update",
|
|
23562
|
+
destructive: false,
|
|
23563
|
+
cli: {
|
|
23564
|
+
group: ["time-blocks"],
|
|
23565
|
+
command: "partial-update",
|
|
23566
|
+
interactive: "default"
|
|
23567
|
+
},
|
|
23568
|
+
mcp: { entityTool: "time-blocks" },
|
|
23569
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23570
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23571
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23572
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23573
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23574
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23575
|
+
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23576
|
+
}),
|
|
23577
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23578
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23579
|
+
}),
|
|
23580
|
+
execute: (input, { client }) => {
|
|
23581
|
+
const data = input;
|
|
23582
|
+
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
23583
|
+
client.httpClient,
|
|
23584
|
+
client.organizationId,
|
|
23585
|
+
client.workspaceIdNumber,
|
|
23586
|
+
data.task_id,
|
|
23587
|
+
data.time_block_id,
|
|
23588
|
+
data.payload ?? data.data ?? data,
|
|
23589
|
+
void 0
|
|
23590
|
+
]));
|
|
23591
|
+
}
|
|
23592
|
+
},
|
|
23593
|
+
{
|
|
23594
|
+
id: "focus.time-blocks.restore",
|
|
23595
|
+
family: "focus",
|
|
23596
|
+
resource: "time-blocks",
|
|
23597
|
+
action: "restore",
|
|
23598
|
+
title: "Restore Time Blocks",
|
|
23599
|
+
description: "Restore Time Blocks.",
|
|
23600
|
+
safety: "update",
|
|
23601
|
+
destructive: false,
|
|
23602
|
+
cli: {
|
|
23603
|
+
group: ["time-blocks"],
|
|
23604
|
+
command: "restore",
|
|
23605
|
+
interactive: "default"
|
|
23606
|
+
},
|
|
23607
|
+
mcp: { entityTool: "time-blocks" },
|
|
23608
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23609
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23610
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23611
|
+
}),
|
|
23612
|
+
execute: (input, { client }) => {
|
|
23613
|
+
const data = input;
|
|
23614
|
+
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
23615
|
+
client.httpClient,
|
|
23616
|
+
client.organizationId,
|
|
23617
|
+
client.workspaceIdNumber,
|
|
23618
|
+
data.task_id,
|
|
23619
|
+
data.time_block_id,
|
|
23620
|
+
void 0
|
|
23621
|
+
]));
|
|
23622
|
+
}
|
|
23623
|
+
},
|
|
23624
|
+
{
|
|
23625
|
+
id: "focus.time-blocks.unarchive",
|
|
23626
|
+
family: "focus",
|
|
23627
|
+
resource: "time-blocks",
|
|
23628
|
+
action: "unarchive",
|
|
23629
|
+
title: "Unarchive Time Blocks",
|
|
23630
|
+
description: "Unarchive Time Blocks.",
|
|
23631
|
+
safety: "update",
|
|
23632
|
+
destructive: false,
|
|
23633
|
+
cli: {
|
|
23634
|
+
group: ["time-blocks"],
|
|
23635
|
+
command: "unarchive",
|
|
23636
|
+
interactive: "default"
|
|
23637
|
+
},
|
|
23638
|
+
mcp: { entityTool: "time-blocks" },
|
|
23639
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23640
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23641
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23642
|
+
}),
|
|
23643
|
+
execute: (input, { client }) => {
|
|
23644
|
+
const data = input;
|
|
23645
|
+
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
23773
23646
|
client.httpClient,
|
|
23774
23647
|
client.organizationId,
|
|
23775
23648
|
client.workspaceIdNumber,
|
|
23776
23649
|
data.task_id,
|
|
23777
|
-
data.
|
|
23650
|
+
data.time_block_id,
|
|
23778
23651
|
void 0
|
|
23779
23652
|
]));
|
|
23780
23653
|
}
|
|
23781
23654
|
},
|
|
23782
23655
|
{
|
|
23783
|
-
id: "focus.
|
|
23656
|
+
id: "focus.time-blocks.update",
|
|
23784
23657
|
family: "focus",
|
|
23785
|
-
resource: "
|
|
23786
|
-
action: "update
|
|
23787
|
-
title: "Update
|
|
23788
|
-
description: "Update
|
|
23658
|
+
resource: "time-blocks",
|
|
23659
|
+
action: "update",
|
|
23660
|
+
title: "Update Time Blocks",
|
|
23661
|
+
description: "Update Time Blocks.",
|
|
23789
23662
|
safety: "update",
|
|
23790
23663
|
destructive: false,
|
|
23791
23664
|
cli: {
|
|
23792
|
-
group: ["
|
|
23793
|
-
command: "update
|
|
23665
|
+
group: ["time-blocks"],
|
|
23666
|
+
command: "update",
|
|
23794
23667
|
interactive: "default"
|
|
23795
23668
|
},
|
|
23796
|
-
mcp: { entityTool: "
|
|
23669
|
+
mcp: { entityTool: "time-blocks" },
|
|
23797
23670
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23798
|
-
|
|
23799
|
-
|
|
23800
|
-
|
|
23671
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23672
|
+
start: apiDateTimeString,
|
|
23673
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23674
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23675
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23676
|
+
}),
|
|
23677
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23678
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23801
23679
|
}),
|
|
23802
23680
|
execute: (input, { client }) => {
|
|
23803
23681
|
const data = input;
|
|
23804
|
-
return client.runGeneratedRequest("
|
|
23682
|
+
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
23805
23683
|
client.httpClient,
|
|
23806
23684
|
client.organizationId,
|
|
23807
23685
|
client.workspaceIdNumber,
|
|
23808
|
-
data.
|
|
23809
|
-
data.
|
|
23810
|
-
data.
|
|
23686
|
+
data.task_id,
|
|
23687
|
+
data.time_block_id,
|
|
23688
|
+
data.payload ?? data.data ?? data,
|
|
23811
23689
|
void 0
|
|
23812
23690
|
]));
|
|
23813
23691
|
}
|
|
@@ -24027,8 +23905,7 @@ const generatedFocusOperations = [
|
|
|
24027
23905
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24028
23906
|
"project",
|
|
24029
23907
|
"task",
|
|
24030
|
-
"description"
|
|
24031
|
-
"tags"
|
|
23908
|
+
"description"
|
|
24032
23909
|
]) })),
|
|
24033
23910
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24034
23911
|
}) }),
|
|
@@ -24058,7 +23935,6 @@ const generatedFocusOperations = [
|
|
|
24058
23935
|
},
|
|
24059
23936
|
mcp: { entityTool: "time-entries" },
|
|
24060
23937
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24061
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24062
23938
|
payload: /* @__PURE__ */ looseObject({
|
|
24063
23939
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24064
23940
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24069,12 +23945,11 @@ const generatedFocusOperations = [
|
|
|
24069
23945
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24070
23946
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24071
23947
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24072
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24073
23948
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23949
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24074
23950
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24075
23951
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24076
23952
|
}),
|
|
24077
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24078
23953
|
task_id: /* @__PURE__ */ number$2()
|
|
24079
23954
|
}),
|
|
24080
23955
|
execute: (input, { client }) => {
|
|
@@ -24085,8 +23960,6 @@ const generatedFocusOperations = [
|
|
|
24085
23960
|
client.workspaceIdNumber,
|
|
24086
23961
|
data.task_id,
|
|
24087
23962
|
data.payload ?? data.data ?? data,
|
|
24088
|
-
data.from_recurring_task_id,
|
|
24089
|
-
data.return_occurrence,
|
|
24090
23963
|
void 0
|
|
24091
23964
|
]));
|
|
24092
23965
|
}
|
|
@@ -24106,25 +23979,21 @@ const generatedFocusOperations = [
|
|
|
24106
23979
|
interactive: "default"
|
|
24107
23980
|
},
|
|
24108
23981
|
mcp: { entityTool: "time-entries" },
|
|
24109
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24110
|
-
|
|
24111
|
-
|
|
24112
|
-
|
|
24113
|
-
|
|
24114
|
-
|
|
24115
|
-
|
|
24116
|
-
|
|
24117
|
-
|
|
24118
|
-
|
|
24119
|
-
|
|
24120
|
-
|
|
24121
|
-
|
|
24122
|
-
|
|
24123
|
-
|
|
24124
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24125
|
-
}),
|
|
24126
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24127
|
-
}),
|
|
23982
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
23983
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
23984
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23985
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23986
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23987
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23988
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23989
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23990
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23991
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23992
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23993
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23994
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23995
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23996
|
+
}) }),
|
|
24128
23997
|
execute: (input, { client }) => {
|
|
24129
23998
|
const data = input;
|
|
24130
23999
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24132,8 +24001,6 @@ const generatedFocusOperations = [
|
|
|
24132
24001
|
client.organizationId,
|
|
24133
24002
|
client.workspaceIdNumber,
|
|
24134
24003
|
data.payload ?? data.data ?? data,
|
|
24135
|
-
data.from_recurring_task_id,
|
|
24136
|
-
data.return_occurrence,
|
|
24137
24004
|
void 0
|
|
24138
24005
|
]));
|
|
24139
24006
|
}
|
|
@@ -24153,11 +24020,7 @@ const generatedFocusOperations = [
|
|
|
24153
24020
|
interactive: "default"
|
|
24154
24021
|
},
|
|
24155
24022
|
mcp: { entityTool: "time-entries" },
|
|
24156
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24157
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24158
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24159
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24160
|
-
}),
|
|
24023
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24161
24024
|
execute: (input, { client }) => {
|
|
24162
24025
|
const data = input;
|
|
24163
24026
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24165,8 +24028,6 @@ const generatedFocusOperations = [
|
|
|
24165
24028
|
client.organizationId,
|
|
24166
24029
|
client.workspaceIdNumber,
|
|
24167
24030
|
data.time_entry_id,
|
|
24168
|
-
data.from_recurring_task_id,
|
|
24169
|
-
data.return_occurrence,
|
|
24170
24031
|
void 0
|
|
24171
24032
|
]));
|
|
24172
24033
|
}
|
|
@@ -24247,7 +24108,6 @@ const generatedFocusOperations = [
|
|
|
24247
24108
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24248
24109
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24249
24110
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24250
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24251
24111
|
status_id: /* @__PURE__ */ number$2(),
|
|
24252
24112
|
task_id: /* @__PURE__ */ number$2(),
|
|
24253
24113
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24263,6 +24123,33 @@ const generatedFocusOperations = [
|
|
|
24263
24123
|
]));
|
|
24264
24124
|
}
|
|
24265
24125
|
},
|
|
24126
|
+
{
|
|
24127
|
+
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
24128
|
+
family: "focus",
|
|
24129
|
+
resource: "time-entries",
|
|
24130
|
+
action: "get-stream-time-entries-time-block-ids",
|
|
24131
|
+
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
24132
|
+
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
24133
|
+
safety: "read",
|
|
24134
|
+
destructive: false,
|
|
24135
|
+
cli: {
|
|
24136
|
+
group: ["time-entries"],
|
|
24137
|
+
command: "get-stream-time-entries-time-block-ids",
|
|
24138
|
+
interactive: "available"
|
|
24139
|
+
},
|
|
24140
|
+
mcp: { entityTool: "time-entries" },
|
|
24141
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
24142
|
+
execute: (input, { client }) => {
|
|
24143
|
+
const data = input;
|
|
24144
|
+
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
24145
|
+
client.httpClient,
|
|
24146
|
+
client.organizationId,
|
|
24147
|
+
client.workspaceIdNumber,
|
|
24148
|
+
data,
|
|
24149
|
+
void 0
|
|
24150
|
+
]));
|
|
24151
|
+
}
|
|
24152
|
+
},
|
|
24266
24153
|
{
|
|
24267
24154
|
id: "focus.time-entries.get-task-time-entries",
|
|
24268
24155
|
family: "focus",
|
|
@@ -24284,6 +24171,7 @@ const generatedFocusOperations = [
|
|
|
24284
24171
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24285
24172
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24286
24173
|
task_id: /* @__PURE__ */ number$2(),
|
|
24174
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24287
24175
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
24288
24176
|
}),
|
|
24289
24177
|
execute: (input, { client }) => {
|
|
@@ -24396,14 +24284,12 @@ const generatedFocusOperations = [
|
|
|
24396
24284
|
},
|
|
24397
24285
|
mcp: { entityTool: "time-entries" },
|
|
24398
24286
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24399
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24400
24287
|
payload: /* @__PURE__ */ looseObject({
|
|
24401
24288
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24402
24289
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24403
24290
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24404
24291
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24405
24292
|
}),
|
|
24406
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24407
24293
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24408
24294
|
}),
|
|
24409
24295
|
execute: (input, { client }) => {
|
|
@@ -24414,8 +24300,6 @@ const generatedFocusOperations = [
|
|
|
24414
24300
|
client.workspaceIdNumber,
|
|
24415
24301
|
data.time_entry_id,
|
|
24416
24302
|
data.payload ?? data.data ?? data,
|
|
24417
|
-
data.from_recurring_task_id,
|
|
24418
|
-
data.return_occurrence,
|
|
24419
24303
|
void 0
|
|
24420
24304
|
]));
|
|
24421
24305
|
}
|
|
@@ -24673,7 +24557,6 @@ const generatedFocusOperations = [
|
|
|
24673
24557
|
},
|
|
24674
24558
|
mcp: { entityTool: "time-entries" },
|
|
24675
24559
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24676
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24677
24560
|
payload: /* @__PURE__ */ looseObject({
|
|
24678
24561
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24679
24562
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24683,9 +24566,9 @@ const generatedFocusOperations = [
|
|
|
24683
24566
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24684
24567
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24685
24568
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24569
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24686
24570
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24687
24571
|
}),
|
|
24688
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24689
24572
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24690
24573
|
}),
|
|
24691
24574
|
execute: (input, { client }) => {
|
|
@@ -24696,8 +24579,6 @@ const generatedFocusOperations = [
|
|
|
24696
24579
|
client.workspaceIdNumber,
|
|
24697
24580
|
data.time_entry_id,
|
|
24698
24581
|
data.payload ?? data.data ?? data,
|
|
24699
|
-
data.from_recurring_task_id,
|
|
24700
|
-
data.return_occurrence,
|
|
24701
24582
|
void 0
|
|
24702
24583
|
]));
|
|
24703
24584
|
}
|
|
@@ -24762,118 +24643,6 @@ const generatedFocusOperations = [
|
|
|
24762
24643
|
]));
|
|
24763
24644
|
}
|
|
24764
24645
|
},
|
|
24765
|
-
{
|
|
24766
|
-
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
24767
|
-
family: "focus",
|
|
24768
|
-
resource: "time-off",
|
|
24769
|
-
action: "get-timeoff-balance-changes-for-user",
|
|
24770
|
-
title: "Get Timeoff Balance Changes For User Time Off",
|
|
24771
|
-
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
24772
|
-
safety: "read",
|
|
24773
|
-
destructive: false,
|
|
24774
|
-
cli: {
|
|
24775
|
-
group: ["time-off"],
|
|
24776
|
-
command: "get-timeoff-balance-changes-for-user",
|
|
24777
|
-
interactive: "hidden"
|
|
24778
|
-
},
|
|
24779
|
-
mcp: { entityTool: "time-off" },
|
|
24780
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24781
|
-
category_id: /* @__PURE__ */ number$2(),
|
|
24782
|
-
page: /* @__PURE__ */ number$2(),
|
|
24783
|
-
rows: /* @__PURE__ */ unknown$1(),
|
|
24784
|
-
user_id: /* @__PURE__ */ number$2(),
|
|
24785
|
-
year: /* @__PURE__ */ unknown$1()
|
|
24786
|
-
}),
|
|
24787
|
-
execute: (input, { client }) => {
|
|
24788
|
-
const data = input;
|
|
24789
|
-
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
24790
|
-
client.httpClient,
|
|
24791
|
-
client.organizationId,
|
|
24792
|
-
data.user_id,
|
|
24793
|
-
data,
|
|
24794
|
-
void 0
|
|
24795
|
-
]));
|
|
24796
|
-
}
|
|
24797
|
-
},
|
|
24798
|
-
{
|
|
24799
|
-
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
24800
|
-
family: "focus",
|
|
24801
|
-
resource: "time-off",
|
|
24802
|
-
action: "get-timeoff-balances-for-user",
|
|
24803
|
-
title: "Get Timeoff Balances For User Time Off",
|
|
24804
|
-
description: "Get Timeoff Balances For User Time Off.",
|
|
24805
|
-
safety: "read",
|
|
24806
|
-
destructive: false,
|
|
24807
|
-
cli: {
|
|
24808
|
-
group: ["time-off"],
|
|
24809
|
-
command: "get-timeoff-balances-for-user",
|
|
24810
|
-
interactive: "available"
|
|
24811
|
-
},
|
|
24812
|
-
mcp: { entityTool: "time-off" },
|
|
24813
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24814
|
-
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24815
|
-
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
24816
|
-
user_id: /* @__PURE__ */ number$2()
|
|
24817
|
-
}),
|
|
24818
|
-
execute: (input, { client }) => {
|
|
24819
|
-
const data = input;
|
|
24820
|
-
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
24821
|
-
client.httpClient,
|
|
24822
|
-
client.organizationId,
|
|
24823
|
-
data.user_id,
|
|
24824
|
-
data,
|
|
24825
|
-
void 0
|
|
24826
|
-
]));
|
|
24827
|
-
}
|
|
24828
|
-
},
|
|
24829
|
-
{
|
|
24830
|
-
id: "focus.time-off.get-timeoff-categories",
|
|
24831
|
-
family: "focus",
|
|
24832
|
-
resource: "time-off",
|
|
24833
|
-
action: "get-timeoff-categories",
|
|
24834
|
-
title: "Get Timeoff Categories Time Off",
|
|
24835
|
-
description: "Get Timeoff Categories Time Off.",
|
|
24836
|
-
safety: "read",
|
|
24837
|
-
destructive: false,
|
|
24838
|
-
cli: {
|
|
24839
|
-
group: ["time-off"],
|
|
24840
|
-
command: "get-timeoff-categories",
|
|
24841
|
-
interactive: "hidden"
|
|
24842
|
-
},
|
|
24843
|
-
mcp: { entityTool: "time-off" },
|
|
24844
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
24845
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
24846
|
-
client.httpClient,
|
|
24847
|
-
client.organizationId,
|
|
24848
|
-
void 0
|
|
24849
|
-
]))
|
|
24850
|
-
},
|
|
24851
|
-
{
|
|
24852
|
-
id: "focus.time-off.get-timeoff-category",
|
|
24853
|
-
family: "focus",
|
|
24854
|
-
resource: "time-off",
|
|
24855
|
-
action: "get-timeoff-category",
|
|
24856
|
-
title: "Get Timeoff Category Time Off",
|
|
24857
|
-
description: "Get Timeoff Category Time Off.",
|
|
24858
|
-
safety: "read",
|
|
24859
|
-
destructive: false,
|
|
24860
|
-
cli: {
|
|
24861
|
-
group: ["time-off"],
|
|
24862
|
-
command: "get-timeoff-category",
|
|
24863
|
-
interactive: "available"
|
|
24864
|
-
},
|
|
24865
|
-
mcp: { entityTool: "time-off" },
|
|
24866
|
-
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
24867
|
-
execute: (input, { client }) => {
|
|
24868
|
-
const data = input;
|
|
24869
|
-
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
24870
|
-
client.httpClient,
|
|
24871
|
-
client.organizationId,
|
|
24872
|
-
data.category_id,
|
|
24873
|
-
void 0
|
|
24874
|
-
]));
|
|
24875
|
-
}
|
|
24876
|
-
},
|
|
24877
24646
|
{
|
|
24878
24647
|
id: "focus.time-off.get-timeoff-for-user",
|
|
24879
24648
|
family: "focus",
|
|
@@ -25325,40 +25094,6 @@ const generatedFocusOperations = [
|
|
|
25325
25094
|
]));
|
|
25326
25095
|
}
|
|
25327
25096
|
},
|
|
25328
|
-
{
|
|
25329
|
-
id: "focus.timesheets.get-status-counts",
|
|
25330
|
-
family: "focus",
|
|
25331
|
-
resource: "timesheets",
|
|
25332
|
-
action: "get-status-counts",
|
|
25333
|
-
title: "Get Status Counts Timesheets",
|
|
25334
|
-
description: "Get Status Counts Timesheets.",
|
|
25335
|
-
safety: "read",
|
|
25336
|
-
destructive: false,
|
|
25337
|
-
cli: {
|
|
25338
|
-
group: ["timesheets"],
|
|
25339
|
-
command: "get-status-counts",
|
|
25340
|
-
interactive: "hidden"
|
|
25341
|
-
},
|
|
25342
|
-
mcp: { entityTool: "timesheets" },
|
|
25343
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25344
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25345
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
25346
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
25347
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
25348
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25349
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25350
|
-
}),
|
|
25351
|
-
execute: (input, { client }) => {
|
|
25352
|
-
const data = input;
|
|
25353
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25354
|
-
client.httpClient,
|
|
25355
|
-
client.organizationId,
|
|
25356
|
-
client.workspaceIdNumber,
|
|
25357
|
-
data,
|
|
25358
|
-
void 0
|
|
25359
|
-
]));
|
|
25360
|
-
}
|
|
25361
|
-
},
|
|
25362
25097
|
{
|
|
25363
25098
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25364
25099
|
family: "focus",
|
|
@@ -25908,33 +25643,6 @@ const generatedFocusOperations = [
|
|
|
25908
25643
|
]));
|
|
25909
25644
|
}
|
|
25910
25645
|
},
|
|
25911
|
-
{
|
|
25912
|
-
id: "focus.track-team-invites.post",
|
|
25913
|
-
family: "focus",
|
|
25914
|
-
resource: "track-team-invites",
|
|
25915
|
-
action: "post",
|
|
25916
|
-
title: "Post Track Team Invites",
|
|
25917
|
-
description: "Post Track Team Invites.",
|
|
25918
|
-
safety: "create",
|
|
25919
|
-
destructive: false,
|
|
25920
|
-
cli: {
|
|
25921
|
-
group: ["track-team-invites"],
|
|
25922
|
-
command: "post",
|
|
25923
|
-
interactive: "default"
|
|
25924
|
-
},
|
|
25925
|
-
mcp: { entityTool: "track-team-invites" },
|
|
25926
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
25927
|
-
execute: (input, { client }) => {
|
|
25928
|
-
const data = input;
|
|
25929
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
25930
|
-
client.httpClient,
|
|
25931
|
-
client.organizationId,
|
|
25932
|
-
client.workspaceIdNumber,
|
|
25933
|
-
data.payload ?? data.data ?? data,
|
|
25934
|
-
void 0
|
|
25935
|
-
]));
|
|
25936
|
-
}
|
|
25937
|
-
},
|
|
25938
25646
|
{
|
|
25939
25647
|
id: "focus.users.list",
|
|
25940
25648
|
family: "focus",
|
|
@@ -25956,56 +25664,6 @@ const generatedFocusOperations = [
|
|
|
25956
25664
|
return client.listOrgUsers(data);
|
|
25957
25665
|
}
|
|
25958
25666
|
},
|
|
25959
|
-
{
|
|
25960
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
25961
|
-
family: "focus",
|
|
25962
|
-
resource: "users",
|
|
25963
|
-
action: "settings-email-unsubscribe",
|
|
25964
|
-
title: "Settings Email Unsubscribe Users",
|
|
25965
|
-
description: "Settings Email Unsubscribe Users.",
|
|
25966
|
-
safety: "update",
|
|
25967
|
-
destructive: false,
|
|
25968
|
-
cli: {
|
|
25969
|
-
group: ["users", "settings"],
|
|
25970
|
-
command: "email-unsubscribe",
|
|
25971
|
-
interactive: "default"
|
|
25972
|
-
},
|
|
25973
|
-
mcp: { entityTool: "users" },
|
|
25974
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
25975
|
-
execute: (input, { client }) => {
|
|
25976
|
-
const data = input;
|
|
25977
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
25978
|
-
client.httpClient,
|
|
25979
|
-
data.token,
|
|
25980
|
-
void 0
|
|
25981
|
-
]));
|
|
25982
|
-
}
|
|
25983
|
-
},
|
|
25984
|
-
{
|
|
25985
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
25986
|
-
family: "focus",
|
|
25987
|
-
resource: "users",
|
|
25988
|
-
action: "settings-email-unsubscribe-page",
|
|
25989
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
25990
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
25991
|
-
safety: "read",
|
|
25992
|
-
destructive: false,
|
|
25993
|
-
cli: {
|
|
25994
|
-
group: ["users", "settings"],
|
|
25995
|
-
command: "email-unsubscribe-page",
|
|
25996
|
-
interactive: "available"
|
|
25997
|
-
},
|
|
25998
|
-
mcp: { entityTool: "users" },
|
|
25999
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26000
|
-
execute: (input, { client }) => {
|
|
26001
|
-
const data = input;
|
|
26002
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26003
|
-
client.httpClient,
|
|
26004
|
-
data.token,
|
|
26005
|
-
void 0
|
|
26006
|
-
]));
|
|
26007
|
-
}
|
|
26008
|
-
},
|
|
26009
25667
|
{
|
|
26010
25668
|
id: "focus.users.settings-list",
|
|
26011
25669
|
family: "focus",
|
|
@@ -26067,9 +25725,6 @@ const generatedFocusOperations = [
|
|
|
26067
25725
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26068
25726
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26069
25727
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26070
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26071
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26072
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26073
25728
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26074
25729
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26075
25730
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -28129,4 +27784,4 @@ Common commands:
|
|
|
28129
27784
|
//#endregion
|
|
28130
27785
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28131
27786
|
|
|
28132
|
-
//# sourceMappingURL=program-
|
|
27787
|
+
//# sourceMappingURL=program-BDZIroYJ.js.map
|