@togglhq/cli 1.11.70 → 1.11.72
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-CZFebxH9.js → program-DwleEZW_.js} +830 -1135
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -5495,6 +5495,10 @@ 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
|
+
/**
|
|
5498
5502
|
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
|
|
5499
5503
|
* space as a date/time separator and an optional space before the UTC offset.
|
|
5500
5504
|
*/
|
|
@@ -5548,6 +5552,22 @@ function isoDate$1(message$1) {
|
|
|
5548
5552
|
};
|
|
5549
5553
|
}
|
|
5550
5554
|
/* @__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__ */
|
|
5551
5571
|
function isoTimestamp(message$1) {
|
|
5552
5572
|
return {
|
|
5553
5573
|
kind: "validation",
|
|
@@ -7254,7 +7274,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
7254
7274
|
name: /* @__PURE__ */ string(),
|
|
7255
7275
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
7256
7276
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7257
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7258
7277
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7259
7278
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7260
7279
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7341,7 +7360,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7341
7360
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7342
7361
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7343
7362
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7344
|
-
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."))),
|
|
7345
7363
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7346
7364
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7347
7365
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7403,7 +7421,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7403
7421
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7404
7422
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7405
7423
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7406
|
-
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."))),
|
|
7407
7424
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7408
7425
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7409
7426
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7564,8 +7581,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7564
7581
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7565
7582
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7566
7583
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7567
|
-
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."))),
|
|
7568
|
-
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."))),
|
|
7569
7584
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7570
7585
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7571
7586
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7651,10 +7666,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7651
7666
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7652
7667
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7653
7668
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7654
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7655
7669
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7656
7670
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7657
|
-
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7658
7671
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
7659
7672
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7660
7673
|
rollover_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RolloverMins is the cumulative under/over budget carried into this instance from earlier instances in its recurring chain, in minutes. Positive = surplus (prior periods went under estimate, time carries forward); negative = debt (prior periods went over). Only populated for recurring instances; nil for templates and standalone projects. See service.HydrateRollover for the per-instance contribution rules driven by RolloverMode (expire / carry_over / carry_all)."))),
|
|
@@ -7710,8 +7723,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7710
7723
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7711
7724
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7712
7725
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7713
|
-
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."))),
|
|
7714
|
-
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."))),
|
|
7715
7726
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7716
7727
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7717
7728
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7884,6 +7895,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7884
7895
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7885
7896
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7886
7897
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7898
|
+
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7899
|
+
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7887
7900
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7888
7901
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7889
7902
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7940,7 +7953,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7940
7953
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7941
7954
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7942
7955
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7943
|
-
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."))),
|
|
7944
7956
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7945
7957
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7946
7958
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -7977,7 +7989,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7977
7989
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7978
7990
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7979
7991
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7980
|
-
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."))),
|
|
7981
7992
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7982
7993
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7983
7994
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -7998,6 +8009,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7998
8009
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7999
8010
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8000
8011
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8012
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8001
8013
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8002
8014
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8003
8015
|
});
|
|
@@ -8026,7 +8038,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
8026
8038
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8027
8039
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8028
8040
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8029
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8041
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8042
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8030
8043
|
});
|
|
8031
8044
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
8032
8045
|
//#endregion
|
|
@@ -9900,7 +9913,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9900
9913
|
})
|
|
9901
9914
|
}).json();
|
|
9902
9915
|
}
|
|
9903
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group,
|
|
9916
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9904
9917
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9905
9918
|
signal,
|
|
9906
9919
|
searchParams: buildSearchParams$2({
|
|
@@ -9921,7 +9934,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9921
9934
|
include_rates,
|
|
9922
9935
|
pinned_ids,
|
|
9923
9936
|
has_group,
|
|
9924
|
-
track_without_focus,
|
|
9925
9937
|
cf_filter,
|
|
9926
9938
|
include_custom_fields,
|
|
9927
9939
|
include_calendar_integration
|
|
@@ -10023,20 +10035,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10023
10035
|
}
|
|
10024
10036
|
//#endregion
|
|
10025
10037
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10026
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
10038
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10027
10039
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10028
10040
|
signal,
|
|
10029
10041
|
searchParams: buildSearchParams$2({
|
|
10030
|
-
include_task_counts,
|
|
10031
|
-
include_picker_parent_group_counts,
|
|
10032
|
-
task_archived,
|
|
10033
|
-
task_recurring,
|
|
10034
|
-
task_state,
|
|
10035
|
-
task_source,
|
|
10036
|
-
task_assignee_user_id,
|
|
10037
|
-
task_assignee_team_id,
|
|
10038
|
-
task_include_unassigned,
|
|
10039
|
-
task_name,
|
|
10040
10042
|
page,
|
|
10041
10043
|
per_page,
|
|
10042
10044
|
order_by,
|
|
@@ -10286,7 +10288,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10286
10288
|
}
|
|
10287
10289
|
//#endregion
|
|
10288
10290
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10289
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter
|
|
10291
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
10290
10292
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10291
10293
|
signal,
|
|
10292
10294
|
searchParams: buildSearchParams$2({
|
|
@@ -10299,6 +10301,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10299
10301
|
toggl_user_id,
|
|
10300
10302
|
name,
|
|
10301
10303
|
has_time_entries,
|
|
10304
|
+
has_time_blocks,
|
|
10302
10305
|
has_dates,
|
|
10303
10306
|
private: private_,
|
|
10304
10307
|
archived,
|
|
@@ -10321,6 +10324,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10321
10324
|
priority,
|
|
10322
10325
|
is_priority,
|
|
10323
10326
|
state,
|
|
10327
|
+
timeblock_start_from,
|
|
10328
|
+
timeblock_start_until,
|
|
10329
|
+
time_block_id,
|
|
10330
|
+
time_block_completed,
|
|
10324
10331
|
team_id,
|
|
10325
10332
|
assignee_team_id,
|
|
10326
10333
|
assignee_user_id,
|
|
@@ -10332,11 +10339,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10332
10339
|
include_assignees,
|
|
10333
10340
|
include_parent_matches,
|
|
10334
10341
|
disable_aggregations,
|
|
10335
|
-
cf_filter
|
|
10336
|
-
recurring_occurrences_after,
|
|
10337
|
-
max_recurring_occurrences_after,
|
|
10338
|
-
recurring_task_read,
|
|
10339
|
-
include_projected_occurrences
|
|
10342
|
+
cf_filter
|
|
10340
10343
|
})
|
|
10341
10344
|
}).json();
|
|
10342
10345
|
}
|
|
@@ -10411,46 +10414,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10411
10414
|
})
|
|
10412
10415
|
}).json();
|
|
10413
10416
|
}
|
|
10414
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
10417
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10415
10418
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10416
10419
|
signal,
|
|
10417
10420
|
searchParams: buildSearchParams$2({
|
|
10418
10421
|
date_from,
|
|
10419
|
-
date_to
|
|
10420
|
-
skip_provider_refresh
|
|
10421
|
-
})
|
|
10422
|
-
}).json();
|
|
10423
|
-
}
|
|
10424
|
-
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10425
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
10426
|
-
signal,
|
|
10427
|
-
searchParams: buildSearchParams$2({
|
|
10428
|
-
project_id,
|
|
10429
|
-
without_project,
|
|
10430
|
-
pinned_only,
|
|
10431
|
-
include_unassigned,
|
|
10432
|
-
search,
|
|
10433
|
-
only_me,
|
|
10434
|
-
page,
|
|
10435
|
-
per_page
|
|
10436
|
-
})
|
|
10437
|
-
}).json();
|
|
10438
|
-
}
|
|
10439
|
-
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10440
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
10441
|
-
signal,
|
|
10442
|
-
searchParams: buildSearchParams$2({
|
|
10443
|
-
project_id,
|
|
10444
|
-
without_project,
|
|
10445
|
-
include_unassigned,
|
|
10446
|
-
search,
|
|
10447
|
-
only_me,
|
|
10448
|
-
page,
|
|
10449
|
-
per_page
|
|
10422
|
+
date_to
|
|
10450
10423
|
})
|
|
10451
10424
|
}).json();
|
|
10452
10425
|
}
|
|
10453
|
-
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees
|
|
10426
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10454
10427
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10455
10428
|
signal,
|
|
10456
10429
|
searchParams: buildSearchParams$2({
|
|
@@ -10466,15 +10439,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10466
10439
|
assignee_team_id,
|
|
10467
10440
|
assignee_user_id,
|
|
10468
10441
|
tag_id,
|
|
10469
|
-
include_assignees
|
|
10470
|
-
recurring_occurrences_after,
|
|
10471
|
-
max_recurring_occurrences_after,
|
|
10472
|
-
recurring_task_read,
|
|
10473
|
-
include_projected_occurrences
|
|
10442
|
+
include_assignees
|
|
10474
10443
|
})
|
|
10475
10444
|
}).json();
|
|
10476
10445
|
}
|
|
10477
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter
|
|
10446
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
10478
10447
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10479
10448
|
signal,
|
|
10480
10449
|
searchParams: buildSearchParams$2({
|
|
@@ -10486,6 +10455,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10486
10455
|
name,
|
|
10487
10456
|
include_parent_matches,
|
|
10488
10457
|
has_time_entries,
|
|
10458
|
+
has_time_blocks,
|
|
10489
10459
|
has_dates,
|
|
10490
10460
|
private: private_,
|
|
10491
10461
|
archived,
|
|
@@ -10508,6 +10478,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10508
10478
|
priority,
|
|
10509
10479
|
is_priority,
|
|
10510
10480
|
state,
|
|
10481
|
+
time_block_id,
|
|
10482
|
+
time_block_completed,
|
|
10511
10483
|
team_id,
|
|
10512
10484
|
assignee_team_id,
|
|
10513
10485
|
assignee_user_id,
|
|
@@ -10516,11 +10488,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10516
10488
|
recurring_task_ids,
|
|
10517
10489
|
client_id,
|
|
10518
10490
|
include_assignees,
|
|
10519
|
-
cf_filter
|
|
10520
|
-
recurring_occurrences_after,
|
|
10521
|
-
max_recurring_occurrences_after,
|
|
10522
|
-
recurring_task_read,
|
|
10523
|
-
include_projected_occurrences
|
|
10491
|
+
cf_filter
|
|
10524
10492
|
})
|
|
10525
10493
|
}).json();
|
|
10526
10494
|
}
|
|
@@ -10575,12 +10543,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10575
10543
|
})
|
|
10576
10544
|
}).json();
|
|
10577
10545
|
}
|
|
10578
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10579
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10580
|
-
signal,
|
|
10581
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10582
|
-
}).json();
|
|
10583
|
-
}
|
|
10584
10546
|
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10585
10547
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10586
10548
|
signal,
|
|
@@ -10606,7 +10568,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
10606
10568
|
}
|
|
10607
10569
|
//#endregion
|
|
10608
10570
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
10609
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
10571
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
|
|
10610
10572
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10611
10573
|
signal,
|
|
10612
10574
|
searchParams: buildSearchParams$2({
|
|
@@ -10614,28 +10576,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10614
10576
|
per_page,
|
|
10615
10577
|
order_by,
|
|
10616
10578
|
type,
|
|
10617
|
-
archived
|
|
10579
|
+
archived,
|
|
10580
|
+
time_block_id
|
|
10618
10581
|
})
|
|
10619
10582
|
}).json();
|
|
10620
10583
|
}
|
|
10621
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10584
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10622
10585
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10623
10586
|
signal,
|
|
10624
|
-
json: data
|
|
10625
|
-
searchParams: buildSearchParams$2({
|
|
10626
|
-
from_recurring_task_id,
|
|
10627
|
-
return_occurrence
|
|
10628
|
-
})
|
|
10587
|
+
json: data
|
|
10629
10588
|
}).json();
|
|
10630
10589
|
}
|
|
10631
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10590
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10632
10591
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10633
10592
|
signal,
|
|
10634
|
-
json: data
|
|
10635
|
-
searchParams: buildSearchParams$2({
|
|
10636
|
-
from_recurring_task_id,
|
|
10637
|
-
return_occurrence
|
|
10638
|
-
})
|
|
10593
|
+
json: data
|
|
10639
10594
|
}).json();
|
|
10640
10595
|
}
|
|
10641
10596
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10686,7 +10641,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10686
10641
|
json: data
|
|
10687
10642
|
}).json();
|
|
10688
10643
|
}
|
|
10689
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
10644
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
10690
10645
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10691
10646
|
signal,
|
|
10692
10647
|
searchParams: buildSearchParams$2({
|
|
@@ -10694,7 +10649,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10694
10649
|
date_to,
|
|
10695
10650
|
task_id,
|
|
10696
10651
|
status_id,
|
|
10697
|
-
project_id,
|
|
10698
10652
|
type,
|
|
10699
10653
|
order_by,
|
|
10700
10654
|
archived,
|
|
@@ -10709,36 +10663,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
10709
10663
|
json: data
|
|
10710
10664
|
}).json();
|
|
10711
10665
|
}
|
|
10666
|
+
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10667
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10668
|
+
signal,
|
|
10669
|
+
searchParams: buildSearchParams$2({ time_block_id })
|
|
10670
|
+
}).json();
|
|
10671
|
+
}
|
|
10712
10672
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10713
10673
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10714
10674
|
}
|
|
10715
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10675
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10716
10676
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10717
10677
|
signal,
|
|
10718
|
-
json: data
|
|
10719
|
-
searchParams: buildSearchParams$2({
|
|
10720
|
-
from_recurring_task_id,
|
|
10721
|
-
return_occurrence
|
|
10722
|
-
})
|
|
10678
|
+
json: data
|
|
10723
10679
|
}).json();
|
|
10724
10680
|
}
|
|
10725
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
10726
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10727
|
-
signal,
|
|
10728
|
-
searchParams: buildSearchParams$2({
|
|
10729
|
-
from_recurring_task_id,
|
|
10730
|
-
return_occurrence
|
|
10731
|
-
})
|
|
10732
|
-
}).json();
|
|
10681
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10682
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10733
10683
|
}
|
|
10734
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10684
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10735
10685
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10736
10686
|
signal,
|
|
10737
|
-
json: data
|
|
10738
|
-
searchParams: buildSearchParams$2({
|
|
10739
|
-
from_recurring_task_id,
|
|
10740
|
-
return_occurrence
|
|
10741
|
-
})
|
|
10687
|
+
json: data
|
|
10742
10688
|
}).json();
|
|
10743
10689
|
}
|
|
10744
10690
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -10853,7 +10799,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10853
10799
|
]))
|
|
10854
10800
|
});
|
|
10855
10801
|
//#endregion
|
|
10856
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10802
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10857
10803
|
async function getInvitations(httpClient, signal) {
|
|
10858
10804
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10859
10805
|
}
|
|
@@ -10870,7 +10816,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10870
10816
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10871
10817
|
}
|
|
10872
10818
|
//#endregion
|
|
10873
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10819
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10874
10820
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10875
10821
|
const searchParams = new URLSearchParams();
|
|
10876
10822
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10882,7 +10828,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10882
10828
|
return searchParams;
|
|
10883
10829
|
}
|
|
10884
10830
|
//#endregion
|
|
10885
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10831
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10886
10832
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10887
10833
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10888
10834
|
}
|
|
@@ -10896,7 +10842,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10896
10842
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10897
10843
|
}
|
|
10898
10844
|
//#endregion
|
|
10899
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10845
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10900
10846
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10901
10847
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10902
10848
|
}
|
|
@@ -10916,7 +10862,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10916
10862
|
});
|
|
10917
10863
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10918
10864
|
//#endregion
|
|
10919
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10865
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10920
10866
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10921
10867
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10922
10868
|
signal,
|
|
@@ -10927,12 +10873,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10927
10873
|
})).json();
|
|
10928
10874
|
}
|
|
10929
10875
|
//#endregion
|
|
10930
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10876
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10931
10877
|
async function getStatus(httpClient, signal) {
|
|
10932
10878
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10933
10879
|
}
|
|
10934
10880
|
//#endregion
|
|
10935
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10881
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10936
10882
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10937
10883
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10938
10884
|
signal,
|
|
@@ -10960,7 +10906,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10960
10906
|
return response.json();
|
|
10961
10907
|
}
|
|
10962
10908
|
//#endregion
|
|
10963
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10909
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10964
10910
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10965
10911
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10966
10912
|
}
|
|
@@ -14423,15 +14369,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14423
14369
|
}
|
|
14424
14370
|
//#endregion
|
|
14425
14371
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14426
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
14372
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14427
14373
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14428
14374
|
signal,
|
|
14429
14375
|
searchParams: buildSearchParams$2({
|
|
14430
14376
|
workspace_id,
|
|
14431
14377
|
entity_type,
|
|
14432
14378
|
entity_id,
|
|
14433
|
-
project_id,
|
|
14434
|
-
custom_field_id,
|
|
14435
14379
|
action,
|
|
14436
14380
|
user_id,
|
|
14437
14381
|
page_size,
|
|
@@ -14440,14 +14384,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14440
14384
|
})
|
|
14441
14385
|
}).json();
|
|
14442
14386
|
}
|
|
14443
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
14387
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14444
14388
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14445
14389
|
signal,
|
|
14446
14390
|
searchParams: buildSearchParams$2({
|
|
14447
14391
|
entity_type,
|
|
14448
14392
|
entity_id,
|
|
14449
|
-
project_id,
|
|
14450
|
-
custom_field_id,
|
|
14451
14393
|
action,
|
|
14452
14394
|
user_id,
|
|
14453
14395
|
page_size,
|
|
@@ -14600,14 +14542,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14600
14542
|
}
|
|
14601
14543
|
//#endregion
|
|
14602
14544
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14603
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
14545
|
+
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) {
|
|
14604
14546
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14605
14547
|
signal,
|
|
14606
14548
|
searchParams: buildSearchParams$2({
|
|
14549
|
+
user_id,
|
|
14607
14550
|
start_date,
|
|
14608
14551
|
end_date,
|
|
14609
|
-
user_id,
|
|
14610
|
-
team_id,
|
|
14611
14552
|
private: private_,
|
|
14612
14553
|
task_source,
|
|
14613
14554
|
unit,
|
|
@@ -14667,15 +14608,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14667
14608
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14668
14609
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14669
14610
|
}
|
|
14670
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14671
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14672
|
-
}
|
|
14673
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14674
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14675
|
-
signal,
|
|
14676
|
-
json: data
|
|
14677
|
-
}).json();
|
|
14678
|
-
}
|
|
14679
14611
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14680
14612
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14681
14613
|
signal,
|
|
@@ -14939,7 +14871,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
14939
14871
|
}
|
|
14940
14872
|
//#endregion
|
|
14941
14873
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
14942
|
-
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,
|
|
14874
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, 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) {
|
|
14943
14875
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
14944
14876
|
signal,
|
|
14945
14877
|
searchParams: buildSearchParams$2({
|
|
@@ -14965,7 +14897,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14965
14897
|
user_id,
|
|
14966
14898
|
only_me,
|
|
14967
14899
|
include_drafts,
|
|
14968
|
-
include_recurring_series,
|
|
14969
14900
|
cf_filter
|
|
14970
14901
|
})
|
|
14971
14902
|
}).json();
|
|
@@ -14984,6 +14915,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
14984
14915
|
json: data
|
|
14985
14916
|
}).json();
|
|
14986
14917
|
}
|
|
14918
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
14919
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
14920
|
+
}
|
|
14987
14921
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
14988
14922
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
14989
14923
|
}
|
|
@@ -15009,37 +14943,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15009
14943
|
}).json();
|
|
15010
14944
|
}
|
|
15011
14945
|
//#endregion
|
|
15012
|
-
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
15013
|
-
async function openPublicSharedReport(httpClient, token, signal) {
|
|
15014
|
-
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
15015
|
-
}
|
|
15016
|
-
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15017
|
-
return await httpClient.post(`shared/${token}/profitability`, {
|
|
15018
|
-
signal,
|
|
15019
|
-
json: data,
|
|
15020
|
-
searchParams: buildSearchParams$2({
|
|
15021
|
-
response_format,
|
|
15022
|
-
include_dicts
|
|
15023
|
-
})
|
|
15024
|
-
}).json();
|
|
15025
|
-
}
|
|
15026
|
-
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15027
|
-
return await httpClient.post(`shared/${token}/query`, {
|
|
15028
|
-
signal,
|
|
15029
|
-
json: data,
|
|
15030
|
-
searchParams: buildSearchParams$2({
|
|
15031
|
-
response_format,
|
|
15032
|
-
include_dicts
|
|
15033
|
-
})
|
|
15034
|
-
}).json();
|
|
15035
|
-
}
|
|
15036
|
-
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
15037
|
-
return await httpClient.post(`shared/${token}/workload`, {
|
|
15038
|
-
signal,
|
|
15039
|
-
json: data
|
|
15040
|
-
}).json();
|
|
15041
|
-
}
|
|
15042
|
-
//#endregion
|
|
15043
14946
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15044
14947
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15045
14948
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15201,7 +15104,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15201
15104
|
}
|
|
15202
15105
|
//#endregion
|
|
15203
15106
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15204
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id,
|
|
15107
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15205
15108
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15206
15109
|
signal,
|
|
15207
15110
|
searchParams: buildSearchParams$2({
|
|
@@ -15209,7 +15112,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15209
15112
|
per_group,
|
|
15210
15113
|
assignee_user_id,
|
|
15211
15114
|
assignee_team_id,
|
|
15212
|
-
include_unassigned,
|
|
15213
15115
|
project_id,
|
|
15214
15116
|
task_id,
|
|
15215
15117
|
include_drafts,
|
|
@@ -15254,18 +15156,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15254
15156
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15255
15157
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15256
15158
|
}
|
|
15257
|
-
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
15258
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15259
|
-
}
|
|
15260
|
-
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
15261
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
15262
|
-
}
|
|
15263
|
-
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
15264
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
15265
|
-
signal,
|
|
15266
|
-
json: data
|
|
15267
|
-
}).json();
|
|
15268
|
-
}
|
|
15269
15159
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15270
15160
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15271
15161
|
signal,
|
|
@@ -15275,21 +15165,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15275
15165
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15276
15166
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15277
15167
|
}
|
|
15278
|
-
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15279
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
15280
|
-
signal,
|
|
15281
|
-
json: data
|
|
15282
|
-
}).json();
|
|
15283
|
-
}
|
|
15284
|
-
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
15285
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
15286
|
-
}
|
|
15287
|
-
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15288
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
15289
|
-
signal,
|
|
15290
|
-
json: data
|
|
15291
|
-
}).json();
|
|
15292
|
-
}
|
|
15293
15168
|
//#endregion
|
|
15294
15169
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15295
15170
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15346,10 +15221,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15346
15221
|
}
|
|
15347
15222
|
//#endregion
|
|
15348
15223
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15349
|
-
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
|
|
15224
|
+
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) {
|
|
15350
15225
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15351
15226
|
signal,
|
|
15352
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15353
15227
|
searchParams: buildSearchParams$2({
|
|
15354
15228
|
project_id,
|
|
15355
15229
|
source,
|
|
@@ -15378,18 +15252,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15378
15252
|
min_days,
|
|
15379
15253
|
include_drafts,
|
|
15380
15254
|
cf_filter,
|
|
15381
|
-
user_cf_filter
|
|
15382
|
-
recurring_occurrences_after,
|
|
15383
|
-
max_recurring_occurrences_after,
|
|
15384
|
-
recurring_task_read,
|
|
15385
|
-
include_projected_occurrences
|
|
15255
|
+
user_cf_filter
|
|
15386
15256
|
})
|
|
15387
15257
|
}).json();
|
|
15388
15258
|
}
|
|
15389
|
-
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
|
|
15259
|
+
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
|
|
15390
15260
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15391
15261
|
signal,
|
|
15392
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15393
15262
|
searchParams: buildSearchParams$2({
|
|
15394
15263
|
team_id,
|
|
15395
15264
|
project_id,
|
|
@@ -15418,18 +15287,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15418
15287
|
min_days,
|
|
15419
15288
|
include_drafts,
|
|
15420
15289
|
cf_filter,
|
|
15421
|
-
user_cf_filter
|
|
15422
|
-
recurring_occurrences_after,
|
|
15423
|
-
max_recurring_occurrences_after,
|
|
15424
|
-
recurring_task_read,
|
|
15425
|
-
include_projected_occurrences
|
|
15290
|
+
user_cf_filter
|
|
15426
15291
|
})
|
|
15427
15292
|
}).json();
|
|
15428
15293
|
}
|
|
15429
|
-
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,
|
|
15294
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
|
|
15430
15295
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15431
15296
|
signal,
|
|
15432
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15433
15297
|
searchParams: buildSearchParams$2({
|
|
15434
15298
|
source,
|
|
15435
15299
|
priority,
|
|
@@ -15459,10 +15323,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15459
15323
|
include_drafts,
|
|
15460
15324
|
cf_filter,
|
|
15461
15325
|
user_cf_filter,
|
|
15462
|
-
recurring_occurrences_after,
|
|
15463
|
-
max_recurring_occurrences_after,
|
|
15464
|
-
recurring_task_read,
|
|
15465
|
-
include_projected_occurrences,
|
|
15466
15326
|
page,
|
|
15467
15327
|
per_page,
|
|
15468
15328
|
order_by
|
|
@@ -15490,6 +15350,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
15490
15350
|
}).json();
|
|
15491
15351
|
}
|
|
15492
15352
|
//#endregion
|
|
15353
|
+
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
15354
|
+
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
15355
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15356
|
+
signal,
|
|
15357
|
+
searchParams: buildSearchParams$2({
|
|
15358
|
+
page,
|
|
15359
|
+
per_page,
|
|
15360
|
+
order_by,
|
|
15361
|
+
archived
|
|
15362
|
+
})
|
|
15363
|
+
}).json();
|
|
15364
|
+
}
|
|
15365
|
+
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
15366
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15367
|
+
signal,
|
|
15368
|
+
json: data
|
|
15369
|
+
}).json();
|
|
15370
|
+
}
|
|
15371
|
+
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15372
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
15373
|
+
}
|
|
15374
|
+
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15375
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15376
|
+
signal,
|
|
15377
|
+
json: data
|
|
15378
|
+
}).json();
|
|
15379
|
+
}
|
|
15380
|
+
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
15381
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15382
|
+
signal,
|
|
15383
|
+
searchParams: buildSearchParams$2({ outbound_sync })
|
|
15384
|
+
}).json();
|
|
15385
|
+
}
|
|
15386
|
+
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15387
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15388
|
+
signal,
|
|
15389
|
+
json: data
|
|
15390
|
+
}).json();
|
|
15391
|
+
}
|
|
15392
|
+
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15393
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
15394
|
+
}
|
|
15395
|
+
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15396
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
15397
|
+
}
|
|
15398
|
+
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15399
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
15400
|
+
}
|
|
15401
|
+
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
15402
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
15403
|
+
signal,
|
|
15404
|
+
searchParams: buildSearchParams$2({
|
|
15405
|
+
date_from,
|
|
15406
|
+
date_to,
|
|
15407
|
+
task_id,
|
|
15408
|
+
status_id,
|
|
15409
|
+
page,
|
|
15410
|
+
per_page,
|
|
15411
|
+
archived,
|
|
15412
|
+
order_by
|
|
15413
|
+
})
|
|
15414
|
+
}).json();
|
|
15415
|
+
}
|
|
15416
|
+
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15417
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15418
|
+
signal,
|
|
15419
|
+
json: data
|
|
15420
|
+
}).json();
|
|
15421
|
+
}
|
|
15422
|
+
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
15423
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15424
|
+
signal,
|
|
15425
|
+
searchParams: buildSearchParams$2({
|
|
15426
|
+
ids,
|
|
15427
|
+
outbound_sync
|
|
15428
|
+
})
|
|
15429
|
+
}).json();
|
|
15430
|
+
}
|
|
15431
|
+
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15432
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15433
|
+
signal,
|
|
15434
|
+
json: data
|
|
15435
|
+
}).json();
|
|
15436
|
+
}
|
|
15437
|
+
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
15438
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
15439
|
+
signal,
|
|
15440
|
+
searchParams: buildSearchParams$2({
|
|
15441
|
+
date_from,
|
|
15442
|
+
date_to,
|
|
15443
|
+
task_id,
|
|
15444
|
+
status_id,
|
|
15445
|
+
archived,
|
|
15446
|
+
order_by
|
|
15447
|
+
})
|
|
15448
|
+
}).json();
|
|
15449
|
+
}
|
|
15450
|
+
//#endregion
|
|
15493
15451
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
15494
15452
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
15495
15453
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -15527,12 +15485,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
15527
15485
|
})
|
|
15528
15486
|
}).json();
|
|
15529
15487
|
}
|
|
15530
|
-
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
15531
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
15532
|
-
}
|
|
15533
|
-
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
15534
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
15535
|
-
}
|
|
15536
15488
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
15537
15489
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
15538
15490
|
signal,
|
|
@@ -15560,26 +15512,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15560
15512
|
json: data
|
|
15561
15513
|
}).json();
|
|
15562
15514
|
}
|
|
15563
|
-
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
15564
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
15565
|
-
signal,
|
|
15566
|
-
searchParams: buildSearchParams$2({
|
|
15567
|
-
category_id,
|
|
15568
|
-
date
|
|
15569
|
-
})
|
|
15570
|
-
}).json();
|
|
15571
|
-
}
|
|
15572
|
-
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
15573
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
15574
|
-
signal,
|
|
15575
|
-
searchParams: buildSearchParams$2({
|
|
15576
|
-
category_id,
|
|
15577
|
-
year,
|
|
15578
|
-
page,
|
|
15579
|
-
rows
|
|
15580
|
-
})
|
|
15581
|
-
}).json();
|
|
15582
|
-
}
|
|
15583
15515
|
//#endregion
|
|
15584
15516
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15585
15517
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15680,19 +15612,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15680
15612
|
json: data
|
|
15681
15613
|
}).json();
|
|
15682
15614
|
}
|
|
15683
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
15684
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
15685
|
-
signal,
|
|
15686
|
-
searchParams: buildSearchParams$2({
|
|
15687
|
-
date_from,
|
|
15688
|
-
date_to,
|
|
15689
|
-
setup_id,
|
|
15690
|
-
user_account_ids,
|
|
15691
|
-
approver_user_account_ids,
|
|
15692
|
-
team_ids
|
|
15693
|
-
})
|
|
15694
|
-
}).json();
|
|
15695
|
-
}
|
|
15696
15615
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15697
15616
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15698
15617
|
}
|
|
@@ -15736,21 +15655,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15736
15655
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
15737
15656
|
}
|
|
15738
15657
|
//#endregion
|
|
15739
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
15740
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
15741
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
15742
|
-
signal,
|
|
15743
|
-
json: data
|
|
15744
|
-
}).json();
|
|
15745
|
-
}
|
|
15746
|
-
//#endregion
|
|
15747
15658
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15748
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15749
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15750
|
-
}
|
|
15751
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15752
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15753
|
-
}
|
|
15754
15659
|
async function getUserSettings(httpClient, signal) {
|
|
15755
15660
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15756
15661
|
}
|
|
@@ -15990,7 +15895,6 @@ const generatedFocusOperations = [
|
|
|
15990
15895
|
mcp: { entityTool: "audit-log" },
|
|
15991
15896
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
15992
15897
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15993
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15994
15898
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15995
15899
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15996
15900
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -15998,7 +15902,6 @@ const generatedFocusOperations = [
|
|
|
15998
15902
|
from: /* @__PURE__ */ string$1(),
|
|
15999
15903
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16000
15904
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16001
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16002
15905
|
to: /* @__PURE__ */ string$1(),
|
|
16003
15906
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16004
15907
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16032,7 +15935,6 @@ const generatedFocusOperations = [
|
|
|
16032
15935
|
mcp: { entityTool: "audit-log" },
|
|
16033
15936
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16034
15937
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16035
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16036
15938
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16037
15939
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16038
15940
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16040,7 +15942,6 @@ const generatedFocusOperations = [
|
|
|
16040
15942
|
from: /* @__PURE__ */ string$1(),
|
|
16041
15943
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16042
15944
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16043
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16044
15945
|
to: /* @__PURE__ */ string$1(),
|
|
16045
15946
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16046
15947
|
}),
|
|
@@ -16080,7 +15981,6 @@ const generatedFocusOperations = [
|
|
|
16080
15981
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16081
15982
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16082
15983
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16083
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16084
15984
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16085
15985
|
user_id: /* @__PURE__ */ number$2()
|
|
16086
15986
|
}),
|
|
@@ -16330,6 +16230,8 @@ const generatedFocusOperations = [
|
|
|
16330
16230
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16331
16231
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16332
16232
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16233
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16234
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16333
16235
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16334
16236
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16335
16237
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16363,6 +16265,8 @@ const generatedFocusOperations = [
|
|
|
16363
16265
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16364
16266
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16365
16267
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16268
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16269
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16366
16270
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16367
16271
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16368
16272
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16378,6 +16282,12 @@ const generatedFocusOperations = [
|
|
|
16378
16282
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16379
16283
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16380
16284
|
}))),
|
|
16285
|
+
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16286
|
+
start: apiDateTimeString,
|
|
16287
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16288
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16289
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16290
|
+
}))),
|
|
16381
16291
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16382
16292
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
16383
16293
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -16387,6 +16297,13 @@ const generatedFocusOperations = [
|
|
|
16387
16297
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16388
16298
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16389
16299
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16300
|
+
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16301
|
+
start: apiDateTimeString,
|
|
16302
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16303
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16304
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16305
|
+
})),
|
|
16306
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16390
16307
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16391
16308
|
}))
|
|
16392
16309
|
}) }),
|
|
@@ -16505,60 +16422,33 @@ const generatedFocusOperations = [
|
|
|
16505
16422
|
}
|
|
16506
16423
|
},
|
|
16507
16424
|
{
|
|
16508
|
-
id: "focus.custom-fields.
|
|
16425
|
+
id: "focus.custom-fields.list",
|
|
16509
16426
|
family: "focus",
|
|
16510
16427
|
resource: "custom-fields",
|
|
16511
|
-
action: "
|
|
16512
|
-
title: "
|
|
16513
|
-
description: "
|
|
16428
|
+
action: "list",
|
|
16429
|
+
title: "List Custom Fields",
|
|
16430
|
+
description: "List Custom Fields.",
|
|
16514
16431
|
safety: "read",
|
|
16515
16432
|
destructive: false,
|
|
16516
16433
|
cli: {
|
|
16517
16434
|
group: ["custom-fields"],
|
|
16518
|
-
command: "
|
|
16519
|
-
interactive: "
|
|
16435
|
+
command: "list",
|
|
16436
|
+
interactive: "hidden"
|
|
16520
16437
|
},
|
|
16521
16438
|
mcp: { entityTool: "custom-fields" },
|
|
16522
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16439
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16440
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16441
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16442
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16443
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
16444
|
+
}),
|
|
16523
16445
|
execute: (input, { client }) => {
|
|
16524
16446
|
const data = input;
|
|
16525
|
-
return client.runGeneratedRequest("
|
|
16447
|
+
return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
|
|
16526
16448
|
client.httpClient,
|
|
16527
16449
|
client.organizationId,
|
|
16528
16450
|
client.workspaceIdNumber,
|
|
16529
|
-
data
|
|
16530
|
-
void 0
|
|
16531
|
-
]));
|
|
16532
|
-
}
|
|
16533
|
-
},
|
|
16534
|
-
{
|
|
16535
|
-
id: "focus.custom-fields.list",
|
|
16536
|
-
family: "focus",
|
|
16537
|
-
resource: "custom-fields",
|
|
16538
|
-
action: "list",
|
|
16539
|
-
title: "List Custom Fields",
|
|
16540
|
-
description: "List Custom Fields.",
|
|
16541
|
-
safety: "read",
|
|
16542
|
-
destructive: false,
|
|
16543
|
-
cli: {
|
|
16544
|
-
group: ["custom-fields"],
|
|
16545
|
-
command: "list",
|
|
16546
|
-
interactive: "hidden"
|
|
16547
|
-
},
|
|
16548
|
-
mcp: { entityTool: "custom-fields" },
|
|
16549
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16550
|
-
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16551
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16552
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16553
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
16554
|
-
}),
|
|
16555
|
-
execute: (input, { client }) => {
|
|
16556
|
-
const data = input;
|
|
16557
|
-
return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
|
|
16558
|
-
client.httpClient,
|
|
16559
|
-
client.organizationId,
|
|
16560
|
-
client.workspaceIdNumber,
|
|
16561
|
-
data,
|
|
16451
|
+
data,
|
|
16562
16452
|
void 0
|
|
16563
16453
|
]));
|
|
16564
16454
|
}
|
|
@@ -16700,37 +16590,6 @@ const generatedFocusOperations = [
|
|
|
16700
16590
|
]));
|
|
16701
16591
|
}
|
|
16702
16592
|
},
|
|
16703
|
-
{
|
|
16704
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16705
|
-
family: "focus",
|
|
16706
|
-
resource: "custom-fields",
|
|
16707
|
-
action: "replace-custom-field-allowed-users",
|
|
16708
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16709
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16710
|
-
safety: "update",
|
|
16711
|
-
destructive: false,
|
|
16712
|
-
cli: {
|
|
16713
|
-
group: ["custom-fields"],
|
|
16714
|
-
command: "replace-custom-field-allowed-users",
|
|
16715
|
-
interactive: "default"
|
|
16716
|
-
},
|
|
16717
|
-
mcp: { entityTool: "custom-fields" },
|
|
16718
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16719
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16720
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16721
|
-
}),
|
|
16722
|
-
execute: (input, { client }) => {
|
|
16723
|
-
const data = input;
|
|
16724
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16725
|
-
client.httpClient,
|
|
16726
|
-
client.organizationId,
|
|
16727
|
-
client.workspaceIdNumber,
|
|
16728
|
-
data.custom_field_id,
|
|
16729
|
-
data.payload ?? data.data ?? data,
|
|
16730
|
-
void 0
|
|
16731
|
-
]));
|
|
16732
|
-
}
|
|
16733
|
-
},
|
|
16734
16593
|
{
|
|
16735
16594
|
id: "focus.custom-fields.update",
|
|
16736
16595
|
family: "focus",
|
|
@@ -16877,7 +16736,13 @@ const generatedFocusOperations = [
|
|
|
16877
16736
|
},
|
|
16878
16737
|
mcp: { entityTool: "goals" },
|
|
16879
16738
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16739
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
16880
16740
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16741
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16742
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16743
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16744
|
+
name: /* @__PURE__ */ string$1(),
|
|
16745
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16881
16746
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16882
16747
|
"daily",
|
|
16883
16748
|
"weekly",
|
|
@@ -16885,18 +16750,12 @@ const generatedFocusOperations = [
|
|
|
16885
16750
|
"monthly"
|
|
16886
16751
|
]),
|
|
16887
16752
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16753
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16888
16754
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
16889
|
-
|
|
16755
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16756
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16890
16757
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16891
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16892
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16893
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16894
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
16895
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16896
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16897
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16898
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16899
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16758
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16900
16759
|
}) }),
|
|
16901
16760
|
execute: (input, { client }) => {
|
|
16902
16761
|
const data = input;
|
|
@@ -17002,6 +16861,13 @@ const generatedFocusOperations = [
|
|
|
17002
16861
|
},
|
|
17003
16862
|
mcp: { entityTool: "goals" },
|
|
17004
16863
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16864
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
16865
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16866
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16867
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16868
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16869
|
+
name: /* @__PURE__ */ string$1(),
|
|
16870
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17005
16871
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17006
16872
|
"daily",
|
|
17007
16873
|
"weekly",
|
|
@@ -17009,19 +16875,12 @@ const generatedFocusOperations = [
|
|
|
17009
16875
|
"monthly"
|
|
17010
16876
|
]),
|
|
17011
16877
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17012
|
-
|
|
16878
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16879
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
16880
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16881
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17013
16882
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17014
|
-
|
|
17015
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17016
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17017
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17018
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17019
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17020
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17021
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17022
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17023
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17024
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16883
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17025
16884
|
}) }),
|
|
17026
16885
|
execute: (input, { client }) => {
|
|
17027
16886
|
const data = input;
|
|
@@ -17988,17 +17847,9 @@ const generatedFocusOperations = [
|
|
|
17988
17847
|
mcp: { entityTool: "projects" },
|
|
17989
17848
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17990
17849
|
payload: /* @__PURE__ */ looseObject({
|
|
17991
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17992
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
17993
17850
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17994
17851
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17995
17852
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17996
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
17997
|
-
"expire",
|
|
17998
|
-
"carry_all",
|
|
17999
|
-
"carry_over"
|
|
18000
|
-
])),
|
|
18001
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18002
17853
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18003
17854
|
}),
|
|
18004
17855
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18442,7 +18293,6 @@ const generatedFocusOperations = [
|
|
|
18442
18293
|
group: /* @__PURE__ */ string$1(),
|
|
18443
18294
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18444
18295
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18445
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18446
18296
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18447
18297
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18448
18298
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18545,6 +18395,29 @@ const generatedFocusOperations = [
|
|
|
18545
18395
|
]));
|
|
18546
18396
|
}
|
|
18547
18397
|
},
|
|
18398
|
+
{
|
|
18399
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
18400
|
+
family: "focus",
|
|
18401
|
+
resource: "projects",
|
|
18402
|
+
action: "margin-targets-clear-workspace",
|
|
18403
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
18404
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
18405
|
+
safety: "delete",
|
|
18406
|
+
destructive: true,
|
|
18407
|
+
cli: {
|
|
18408
|
+
group: ["projects", "margin-targets"],
|
|
18409
|
+
command: "clear-workspace",
|
|
18410
|
+
interactive: "default"
|
|
18411
|
+
},
|
|
18412
|
+
mcp: { entityTool: "projects" },
|
|
18413
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18414
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18415
|
+
client.httpClient,
|
|
18416
|
+
client.organizationId,
|
|
18417
|
+
client.workspaceIdNumber,
|
|
18418
|
+
void 0
|
|
18419
|
+
]))
|
|
18420
|
+
},
|
|
18548
18421
|
{
|
|
18549
18422
|
id: "focus.projects.margin-targets-get",
|
|
18550
18423
|
family: "focus",
|
|
@@ -18989,130 +18862,6 @@ const generatedFocusOperations = [
|
|
|
18989
18862
|
]));
|
|
18990
18863
|
}
|
|
18991
18864
|
},
|
|
18992
|
-
{
|
|
18993
|
-
id: "focus.publicsharedreports.open-public-shared-report",
|
|
18994
|
-
family: "focus",
|
|
18995
|
-
resource: "publicsharedreports",
|
|
18996
|
-
action: "open-public-shared-report",
|
|
18997
|
-
title: "Open Public Shared Report Publicsharedreports",
|
|
18998
|
-
description: "Open Public Shared Report Publicsharedreports.",
|
|
18999
|
-
safety: "read",
|
|
19000
|
-
destructive: false,
|
|
19001
|
-
cli: {
|
|
19002
|
-
group: ["publicsharedreports"],
|
|
19003
|
-
command: "open-public-shared-report",
|
|
19004
|
-
interactive: "available"
|
|
19005
|
-
},
|
|
19006
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19007
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
19008
|
-
execute: (input, { client }) => {
|
|
19009
|
-
const data = input;
|
|
19010
|
-
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
19011
|
-
client.httpClient,
|
|
19012
|
-
data.token,
|
|
19013
|
-
void 0
|
|
19014
|
-
]));
|
|
19015
|
-
}
|
|
19016
|
-
},
|
|
19017
|
-
{
|
|
19018
|
-
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
19019
|
-
family: "focus",
|
|
19020
|
-
resource: "publicsharedreports",
|
|
19021
|
-
action: "profitability-public-shared-report",
|
|
19022
|
-
title: "Profitability Public Shared Report Publicsharedreports",
|
|
19023
|
-
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
19024
|
-
safety: "update",
|
|
19025
|
-
destructive: false,
|
|
19026
|
-
cli: {
|
|
19027
|
-
group: ["publicsharedreports"],
|
|
19028
|
-
command: "profitability-public-shared-report",
|
|
19029
|
-
interactive: "default"
|
|
19030
|
-
},
|
|
19031
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19032
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19033
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19034
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19035
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
19036
|
-
token: /* @__PURE__ */ string$1()
|
|
19037
|
-
}),
|
|
19038
|
-
execute: (input, { client }) => {
|
|
19039
|
-
const data = input;
|
|
19040
|
-
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
19041
|
-
client.httpClient,
|
|
19042
|
-
data.token,
|
|
19043
|
-
data.payload ?? data.data ?? data,
|
|
19044
|
-
data.response_format,
|
|
19045
|
-
data.include_dicts,
|
|
19046
|
-
void 0
|
|
19047
|
-
]));
|
|
19048
|
-
}
|
|
19049
|
-
},
|
|
19050
|
-
{
|
|
19051
|
-
id: "focus.publicsharedreports.query-public-shared-report",
|
|
19052
|
-
family: "focus",
|
|
19053
|
-
resource: "publicsharedreports",
|
|
19054
|
-
action: "query-public-shared-report",
|
|
19055
|
-
title: "Query Public Shared Report Publicsharedreports",
|
|
19056
|
-
description: "Query Public Shared Report Publicsharedreports.",
|
|
19057
|
-
safety: "update",
|
|
19058
|
-
destructive: false,
|
|
19059
|
-
cli: {
|
|
19060
|
-
group: ["publicsharedreports"],
|
|
19061
|
-
command: "query-public-shared-report",
|
|
19062
|
-
interactive: "default"
|
|
19063
|
-
},
|
|
19064
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19065
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19066
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19067
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19068
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19069
|
-
"json_row",
|
|
19070
|
-
"table",
|
|
19071
|
-
"hierarchical"
|
|
19072
|
-
])),
|
|
19073
|
-
token: /* @__PURE__ */ string$1()
|
|
19074
|
-
}),
|
|
19075
|
-
execute: (input, { client }) => {
|
|
19076
|
-
const data = input;
|
|
19077
|
-
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
19078
|
-
client.httpClient,
|
|
19079
|
-
data.token,
|
|
19080
|
-
data.payload ?? data.data ?? data,
|
|
19081
|
-
data.response_format,
|
|
19082
|
-
data.include_dicts,
|
|
19083
|
-
void 0
|
|
19084
|
-
]));
|
|
19085
|
-
}
|
|
19086
|
-
},
|
|
19087
|
-
{
|
|
19088
|
-
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
19089
|
-
family: "focus",
|
|
19090
|
-
resource: "publicsharedreports",
|
|
19091
|
-
action: "workload-public-shared-report",
|
|
19092
|
-
title: "Workload Public Shared Report Publicsharedreports",
|
|
19093
|
-
description: "Workload Public Shared Report Publicsharedreports.",
|
|
19094
|
-
safety: "update",
|
|
19095
|
-
destructive: false,
|
|
19096
|
-
cli: {
|
|
19097
|
-
group: ["publicsharedreports"],
|
|
19098
|
-
command: "workload-public-shared-report",
|
|
19099
|
-
interactive: "default"
|
|
19100
|
-
},
|
|
19101
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19102
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19103
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19104
|
-
token: /* @__PURE__ */ string$1()
|
|
19105
|
-
}),
|
|
19106
|
-
execute: (input, { client }) => {
|
|
19107
|
-
const data = input;
|
|
19108
|
-
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
19109
|
-
client.httpClient,
|
|
19110
|
-
data.token,
|
|
19111
|
-
data.payload ?? data.data ?? data,
|
|
19112
|
-
void 0
|
|
19113
|
-
]));
|
|
19114
|
-
}
|
|
19115
|
-
},
|
|
19116
18865
|
{
|
|
19117
18866
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
19118
18867
|
family: "focus",
|
|
@@ -21071,7 +20820,7 @@ const generatedFocusOperations = [
|
|
|
21071
20820
|
cli: {
|
|
21072
20821
|
group: ["reportschedules"],
|
|
21073
20822
|
command: "upsert-saved-view-schedule",
|
|
21074
|
-
interactive: "
|
|
20823
|
+
interactive: "default"
|
|
21075
20824
|
},
|
|
21076
20825
|
mcp: { entityTool: "reportschedules" },
|
|
21077
20826
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21082,10 +20831,8 @@ const generatedFocusOperations = [
|
|
|
21082
20831
|
"weekly",
|
|
21083
20832
|
"monthly"
|
|
21084
20833
|
]),
|
|
21085
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21086
20834
|
time: /* @__PURE__ */ string$1(),
|
|
21087
20835
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21088
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21089
20836
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21090
20837
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21091
20838
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21418,32 +21165,6 @@ const generatedFocusOperations = [
|
|
|
21418
21165
|
]));
|
|
21419
21166
|
}
|
|
21420
21167
|
},
|
|
21421
|
-
{
|
|
21422
|
-
id: "focus.sharedreports.get-shared-report-dates",
|
|
21423
|
-
family: "focus",
|
|
21424
|
-
resource: "sharedreports",
|
|
21425
|
-
action: "get-shared-report-dates",
|
|
21426
|
-
title: "Get Shared Report Dates Sharedreports",
|
|
21427
|
-
description: "Get Shared Report Dates Sharedreports.",
|
|
21428
|
-
safety: "read",
|
|
21429
|
-
destructive: false,
|
|
21430
|
-
cli: {
|
|
21431
|
-
group: ["sharedreports"],
|
|
21432
|
-
command: "get-shared-report-dates",
|
|
21433
|
-
interactive: "available"
|
|
21434
|
-
},
|
|
21435
|
-
mcp: { entityTool: "sharedreports" },
|
|
21436
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21437
|
-
execute: (input, { client }) => {
|
|
21438
|
-
const data = input;
|
|
21439
|
-
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
21440
|
-
client.httpClient,
|
|
21441
|
-
client.workspaceIdNumber,
|
|
21442
|
-
data.id,
|
|
21443
|
-
void 0
|
|
21444
|
-
]));
|
|
21445
|
-
}
|
|
21446
|
-
},
|
|
21447
21168
|
{
|
|
21448
21169
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21449
21170
|
family: "focus",
|
|
@@ -21514,36 +21235,6 @@ const generatedFocusOperations = [
|
|
|
21514
21235
|
void 0
|
|
21515
21236
|
]))
|
|
21516
21237
|
},
|
|
21517
|
-
{
|
|
21518
|
-
id: "focus.sharedreports.mint-shared-report-link",
|
|
21519
|
-
family: "focus",
|
|
21520
|
-
resource: "sharedreports",
|
|
21521
|
-
action: "mint-shared-report-link",
|
|
21522
|
-
title: "Mint Shared Report Link Sharedreports",
|
|
21523
|
-
description: "Mint Shared Report Link Sharedreports.",
|
|
21524
|
-
safety: "update",
|
|
21525
|
-
destructive: false,
|
|
21526
|
-
cli: {
|
|
21527
|
-
group: ["sharedreports"],
|
|
21528
|
-
command: "mint-shared-report-link",
|
|
21529
|
-
interactive: "default"
|
|
21530
|
-
},
|
|
21531
|
-
mcp: { entityTool: "sharedreports" },
|
|
21532
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21533
|
-
id: /* @__PURE__ */ number$2(),
|
|
21534
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21535
|
-
}),
|
|
21536
|
-
execute: (input, { client }) => {
|
|
21537
|
-
const data = input;
|
|
21538
|
-
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
21539
|
-
client.httpClient,
|
|
21540
|
-
client.workspaceIdNumber,
|
|
21541
|
-
data.id,
|
|
21542
|
-
data.payload ?? data.data ?? data,
|
|
21543
|
-
void 0
|
|
21544
|
-
]));
|
|
21545
|
-
}
|
|
21546
|
-
},
|
|
21547
21238
|
{
|
|
21548
21239
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21549
21240
|
family: "focus",
|
|
@@ -21575,53 +21266,71 @@ const generatedFocusOperations = [
|
|
|
21575
21266
|
}
|
|
21576
21267
|
},
|
|
21577
21268
|
{
|
|
21578
|
-
id: "focus.sharedreports.
|
|
21269
|
+
id: "focus.sharedreports.share-saved-view",
|
|
21579
21270
|
family: "focus",
|
|
21580
21271
|
resource: "sharedreports",
|
|
21581
|
-
action: "
|
|
21582
|
-
title: "
|
|
21583
|
-
description: "
|
|
21584
|
-
safety: "
|
|
21585
|
-
destructive:
|
|
21272
|
+
action: "share-saved-view",
|
|
21273
|
+
title: "Share Saved View Sharedreports",
|
|
21274
|
+
description: "Share Saved View Sharedreports.",
|
|
21275
|
+
safety: "update",
|
|
21276
|
+
destructive: false,
|
|
21586
21277
|
cli: {
|
|
21587
21278
|
group: ["sharedreports"],
|
|
21588
|
-
command: "
|
|
21589
|
-
interactive: "
|
|
21279
|
+
command: "share-saved-view",
|
|
21280
|
+
interactive: "hidden"
|
|
21590
21281
|
},
|
|
21591
21282
|
mcp: { entityTool: "sharedreports" },
|
|
21592
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21283
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21284
|
+
id: /* @__PURE__ */ number$2(),
|
|
21285
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21286
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21287
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21288
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21289
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21290
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21291
|
+
})
|
|
21292
|
+
}),
|
|
21593
21293
|
execute: (input, { client }) => {
|
|
21594
21294
|
const data = input;
|
|
21595
|
-
return client.runGeneratedRequest("
|
|
21295
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21596
21296
|
client.httpClient,
|
|
21597
21297
|
client.workspaceIdNumber,
|
|
21598
21298
|
data.id,
|
|
21299
|
+
data.payload ?? data.data ?? data,
|
|
21599
21300
|
void 0
|
|
21600
21301
|
]));
|
|
21601
21302
|
}
|
|
21602
21303
|
},
|
|
21603
21304
|
{
|
|
21604
|
-
id: "focus.sharedreports.
|
|
21305
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
21605
21306
|
family: "focus",
|
|
21606
21307
|
resource: "sharedreports",
|
|
21607
|
-
action: "
|
|
21608
|
-
title: "
|
|
21609
|
-
description: "
|
|
21308
|
+
action: "share-saved-view-many",
|
|
21309
|
+
title: "Share Saved View Many Sharedreports",
|
|
21310
|
+
description: "Share Saved View Many Sharedreports.",
|
|
21610
21311
|
safety: "update",
|
|
21611
21312
|
destructive: false,
|
|
21612
21313
|
cli: {
|
|
21613
21314
|
group: ["sharedreports"],
|
|
21614
|
-
command: "
|
|
21615
|
-
interactive: "
|
|
21315
|
+
command: "share-saved-view-many",
|
|
21316
|
+
interactive: "hidden"
|
|
21616
21317
|
},
|
|
21617
21318
|
mcp: { entityTool: "sharedreports" },
|
|
21618
21319
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21619
21320
|
id: /* @__PURE__ */ number$2(),
|
|
21620
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21321
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21322
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21323
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21324
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21325
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21326
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21327
|
+
})),
|
|
21328
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21329
|
+
})
|
|
21621
21330
|
}),
|
|
21622
21331
|
execute: (input, { client }) => {
|
|
21623
21332
|
const data = input;
|
|
21624
|
-
return client.runGeneratedRequest("
|
|
21333
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21625
21334
|
client.httpClient,
|
|
21626
21335
|
client.workspaceIdNumber,
|
|
21627
21336
|
data.id,
|
|
@@ -21630,136 +21339,6 @@ const generatedFocusOperations = [
|
|
|
21630
21339
|
]));
|
|
21631
21340
|
}
|
|
21632
21341
|
},
|
|
21633
|
-
{
|
|
21634
|
-
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
21635
|
-
family: "focus",
|
|
21636
|
-
resource: "sharedreports",
|
|
21637
|
-
action: "set-shared-report-dates-lock",
|
|
21638
|
-
title: "Set Shared Report Dates Lock Sharedreports",
|
|
21639
|
-
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
21640
|
-
safety: "update",
|
|
21641
|
-
destructive: false,
|
|
21642
|
-
cli: {
|
|
21643
|
-
group: ["sharedreports"],
|
|
21644
|
-
command: "set-shared-report-dates-lock",
|
|
21645
|
-
interactive: "default"
|
|
21646
|
-
},
|
|
21647
|
-
mcp: { entityTool: "sharedreports" },
|
|
21648
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21649
|
-
id: /* @__PURE__ */ number$2(),
|
|
21650
|
-
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
21651
|
-
}),
|
|
21652
|
-
execute: (input, { client }) => {
|
|
21653
|
-
const data = input;
|
|
21654
|
-
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
21655
|
-
client.httpClient,
|
|
21656
|
-
client.workspaceIdNumber,
|
|
21657
|
-
data.id,
|
|
21658
|
-
data.payload ?? data.data ?? data,
|
|
21659
|
-
void 0
|
|
21660
|
-
]));
|
|
21661
|
-
}
|
|
21662
|
-
},
|
|
21663
|
-
{
|
|
21664
|
-
id: "focus.sharedreports.share-saved-view",
|
|
21665
|
-
family: "focus",
|
|
21666
|
-
resource: "sharedreports",
|
|
21667
|
-
action: "share-saved-view",
|
|
21668
|
-
title: "Share Saved View Sharedreports",
|
|
21669
|
-
description: "Share Saved View Sharedreports.",
|
|
21670
|
-
safety: "update",
|
|
21671
|
-
destructive: false,
|
|
21672
|
-
cli: {
|
|
21673
|
-
group: ["sharedreports"],
|
|
21674
|
-
command: "share-saved-view",
|
|
21675
|
-
interactive: "hidden"
|
|
21676
|
-
},
|
|
21677
|
-
mcp: { entityTool: "sharedreports" },
|
|
21678
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21679
|
-
id: /* @__PURE__ */ number$2(),
|
|
21680
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21681
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21682
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21683
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21684
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21685
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21686
|
-
})
|
|
21687
|
-
}),
|
|
21688
|
-
execute: (input, { client }) => {
|
|
21689
|
-
const data = input;
|
|
21690
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21691
|
-
client.httpClient,
|
|
21692
|
-
client.workspaceIdNumber,
|
|
21693
|
-
data.id,
|
|
21694
|
-
data.payload ?? data.data ?? data,
|
|
21695
|
-
void 0
|
|
21696
|
-
]));
|
|
21697
|
-
}
|
|
21698
|
-
},
|
|
21699
|
-
{
|
|
21700
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
21701
|
-
family: "focus",
|
|
21702
|
-
resource: "sharedreports",
|
|
21703
|
-
action: "share-saved-view-many",
|
|
21704
|
-
title: "Share Saved View Many Sharedreports",
|
|
21705
|
-
description: "Share Saved View Many Sharedreports.",
|
|
21706
|
-
safety: "update",
|
|
21707
|
-
destructive: false,
|
|
21708
|
-
cli: {
|
|
21709
|
-
group: ["sharedreports"],
|
|
21710
|
-
command: "share-saved-view-many",
|
|
21711
|
-
interactive: "hidden"
|
|
21712
|
-
},
|
|
21713
|
-
mcp: { entityTool: "sharedreports" },
|
|
21714
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21715
|
-
id: /* @__PURE__ */ number$2(),
|
|
21716
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21717
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21718
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21719
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21720
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21721
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21722
|
-
})),
|
|
21723
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21724
|
-
})
|
|
21725
|
-
}),
|
|
21726
|
-
execute: (input, { client }) => {
|
|
21727
|
-
const data = input;
|
|
21728
|
-
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21729
|
-
client.httpClient,
|
|
21730
|
-
client.workspaceIdNumber,
|
|
21731
|
-
data.id,
|
|
21732
|
-
data.payload ?? data.data ?? data,
|
|
21733
|
-
void 0
|
|
21734
|
-
]));
|
|
21735
|
-
}
|
|
21736
|
-
},
|
|
21737
|
-
{
|
|
21738
|
-
id: "focus.sharedreports.unshare-shared-report",
|
|
21739
|
-
family: "focus",
|
|
21740
|
-
resource: "sharedreports",
|
|
21741
|
-
action: "unshare-shared-report",
|
|
21742
|
-
title: "Unshare Shared Report Sharedreports",
|
|
21743
|
-
description: "Unshare Shared Report Sharedreports.",
|
|
21744
|
-
safety: "delete",
|
|
21745
|
-
destructive: true,
|
|
21746
|
-
cli: {
|
|
21747
|
-
group: ["sharedreports"],
|
|
21748
|
-
command: "unshare-shared-report",
|
|
21749
|
-
interactive: "default"
|
|
21750
|
-
},
|
|
21751
|
-
mcp: { entityTool: "sharedreports" },
|
|
21752
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21753
|
-
execute: (input, { client }) => {
|
|
21754
|
-
const data = input;
|
|
21755
|
-
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
21756
|
-
client.httpClient,
|
|
21757
|
-
client.workspaceIdNumber,
|
|
21758
|
-
data.id,
|
|
21759
|
-
void 0
|
|
21760
|
-
]));
|
|
21761
|
-
}
|
|
21762
|
-
},
|
|
21763
21342
|
{
|
|
21764
21343
|
id: "focus.statuses.create-status",
|
|
21765
21344
|
family: "focus",
|
|
@@ -22802,37 +22381,6 @@ const generatedFocusOperations = [
|
|
|
22802
22381
|
return client.createTask(data);
|
|
22803
22382
|
}
|
|
22804
22383
|
},
|
|
22805
|
-
{
|
|
22806
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
22807
|
-
family: "focus",
|
|
22808
|
-
resource: "tasks",
|
|
22809
|
-
action: "create-recurring-occurrence",
|
|
22810
|
-
title: "Create Recurring Occurrence Tasks",
|
|
22811
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
22812
|
-
safety: "create",
|
|
22813
|
-
destructive: false,
|
|
22814
|
-
cli: {
|
|
22815
|
-
group: ["tasks"],
|
|
22816
|
-
command: "create-recurring-occurrence",
|
|
22817
|
-
interactive: "default"
|
|
22818
|
-
},
|
|
22819
|
-
mcp: { entityTool: "tasks" },
|
|
22820
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22821
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22822
|
-
task_id: /* @__PURE__ */ number$2()
|
|
22823
|
-
}),
|
|
22824
|
-
execute: (input, { client }) => {
|
|
22825
|
-
const data = input;
|
|
22826
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22827
|
-
client.httpClient,
|
|
22828
|
-
client.organizationId,
|
|
22829
|
-
client.workspaceIdNumber,
|
|
22830
|
-
data.task_id,
|
|
22831
|
-
data.return_occurrence,
|
|
22832
|
-
void 0
|
|
22833
|
-
]));
|
|
22834
|
-
}
|
|
22835
|
-
},
|
|
22836
22384
|
{
|
|
22837
22385
|
id: "focus.tasks.delete",
|
|
22838
22386
|
family: "focus",
|
|
@@ -23057,79 +22605,6 @@ const generatedFocusOperations = [
|
|
|
23057
22605
|
]));
|
|
23058
22606
|
}
|
|
23059
22607
|
},
|
|
23060
|
-
{
|
|
23061
|
-
id: "focus.tasks.get-picker-task-children",
|
|
23062
|
-
family: "focus",
|
|
23063
|
-
resource: "tasks",
|
|
23064
|
-
action: "get-picker-task-children",
|
|
23065
|
-
title: "Get Picker Task Children Tasks",
|
|
23066
|
-
description: "Get Picker Task Children Tasks.",
|
|
23067
|
-
safety: "read",
|
|
23068
|
-
destructive: false,
|
|
23069
|
-
cli: {
|
|
23070
|
-
group: ["tasks"],
|
|
23071
|
-
command: "get-picker-task-children",
|
|
23072
|
-
interactive: "hidden"
|
|
23073
|
-
},
|
|
23074
|
-
mcp: { entityTool: "tasks" },
|
|
23075
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23076
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23077
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23078
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23079
|
-
parent_task_id: /* @__PURE__ */ number$2(),
|
|
23080
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23081
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23082
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23083
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23084
|
-
}),
|
|
23085
|
-
execute: (input, { client }) => {
|
|
23086
|
-
const data = input;
|
|
23087
|
-
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
23088
|
-
client.httpClient,
|
|
23089
|
-
client.organizationId,
|
|
23090
|
-
client.workspaceIdNumber,
|
|
23091
|
-
data.parent_task_id,
|
|
23092
|
-
data,
|
|
23093
|
-
void 0
|
|
23094
|
-
]));
|
|
23095
|
-
}
|
|
23096
|
-
},
|
|
23097
|
-
{
|
|
23098
|
-
id: "focus.tasks.get-picker-task-groups",
|
|
23099
|
-
family: "focus",
|
|
23100
|
-
resource: "tasks",
|
|
23101
|
-
action: "get-picker-task-groups",
|
|
23102
|
-
title: "Get Picker Task Groups Tasks",
|
|
23103
|
-
description: "Get Picker Task Groups Tasks.",
|
|
23104
|
-
safety: "read",
|
|
23105
|
-
destructive: false,
|
|
23106
|
-
cli: {
|
|
23107
|
-
group: ["tasks"],
|
|
23108
|
-
command: "get-picker-task-groups",
|
|
23109
|
-
interactive: "hidden"
|
|
23110
|
-
},
|
|
23111
|
-
mcp: { entityTool: "tasks" },
|
|
23112
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23113
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23114
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23115
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23116
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23117
|
-
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23118
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23119
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23120
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23121
|
-
}),
|
|
23122
|
-
execute: (input, { client }) => {
|
|
23123
|
-
const data = input;
|
|
23124
|
-
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
23125
|
-
client.httpClient,
|
|
23126
|
-
client.organizationId,
|
|
23127
|
-
client.workspaceIdNumber,
|
|
23128
|
-
data,
|
|
23129
|
-
void 0
|
|
23130
|
-
]));
|
|
23131
|
-
}
|
|
23132
|
-
},
|
|
23133
22608
|
{
|
|
23134
22609
|
id: "focus.tasks.get-recurring-instances",
|
|
23135
22610
|
family: "focus",
|
|
@@ -23153,13 +22628,9 @@ const generatedFocusOperations = [
|
|
|
23153
22628
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23154
22629
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23155
22630
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23156
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23157
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23158
22631
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23159
22632
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23160
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23161
22633
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23162
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23163
22634
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23164
22635
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23165
22636
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23205,14 +22676,13 @@ const generatedFocusOperations = [
|
|
|
23205
22676
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23206
22677
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23207
22678
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22679
|
+
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23208
22680
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23209
22681
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23210
22682
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23211
22683
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23212
22684
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23213
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23214
22685
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23215
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23216
22686
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23217
22687
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23218
22688
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23221,9 +22691,7 @@ const generatedFocusOperations = [
|
|
|
23221
22691
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23222
22692
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23223
22693
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23224
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23225
22694
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23226
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23227
22695
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23228
22696
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23229
22697
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23232,6 +22700,8 @@ const generatedFocusOperations = [
|
|
|
23232
22700
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23233
22701
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23234
22702
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22703
|
+
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22704
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23235
22705
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23236
22706
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23237
22707
|
}),
|
|
@@ -23359,10 +22829,8 @@ const generatedFocusOperations = [
|
|
|
23359
22829
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23360
22830
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23361
22831
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23362
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23363
22832
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23364
22833
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23365
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23366
22834
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23367
22835
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23368
22836
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23371,8 +22839,6 @@ const generatedFocusOperations = [
|
|
|
23371
22839
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23372
22840
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23373
22841
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23374
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23375
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23376
22842
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23377
22843
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23378
22844
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23381,8 +22847,7 @@ const generatedFocusOperations = [
|
|
|
23381
22847
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23382
22848
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23383
22849
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23384
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23385
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22850
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23386
22851
|
}),
|
|
23387
22852
|
execute: (input, { client }) => {
|
|
23388
22853
|
const data = input;
|
|
@@ -23424,17 +22889,13 @@ const generatedFocusOperations = [
|
|
|
23424
22889
|
group_id: /* @__PURE__ */ number$2(),
|
|
23425
22890
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23426
22891
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23427
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23428
22892
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23429
22893
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23430
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23431
22894
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23432
22895
|
name: /* @__PURE__ */ unknown$1(),
|
|
23433
22896
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23434
22897
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23435
22898
|
project_id: /* @__PURE__ */ number$2(),
|
|
23436
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23437
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23438
22899
|
source: /* @__PURE__ */ unknown$1(),
|
|
23439
22900
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23440
22901
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23443,8 +22904,7 @@ const generatedFocusOperations = [
|
|
|
23443
22904
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23444
22905
|
team_id: /* @__PURE__ */ number$2(),
|
|
23445
22906
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23446
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23447
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
22907
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23448
22908
|
}),
|
|
23449
22909
|
execute: (input, { client }) => {
|
|
23450
22910
|
const data = input;
|
|
@@ -23485,17 +22945,13 @@ const generatedFocusOperations = [
|
|
|
23485
22945
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23486
22946
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23487
22947
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23488
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23489
22948
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23490
22949
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23491
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23492
22950
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23493
22951
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23494
22952
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23495
22953
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23496
22954
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23497
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23498
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23499
22955
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23500
22956
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23501
22957
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23504,8 +22960,7 @@ const generatedFocusOperations = [
|
|
|
23504
22960
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23505
22961
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23506
22962
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23507
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23508
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22963
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23509
22964
|
}),
|
|
23510
22965
|
execute: (input, { client }) => {
|
|
23511
22966
|
const data = input;
|
|
@@ -23749,45 +23204,508 @@ const generatedFocusOperations = [
|
|
|
23749
23204
|
}),
|
|
23750
23205
|
execute: (input, { client }) => {
|
|
23751
23206
|
const data = input;
|
|
23752
|
-
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
23207
|
+
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
23208
|
+
client.httpClient,
|
|
23209
|
+
client.organizationId,
|
|
23210
|
+
client.workspaceIdNumber,
|
|
23211
|
+
data.task_id,
|
|
23212
|
+
data.payload ?? data.data ?? data,
|
|
23213
|
+
void 0
|
|
23214
|
+
]));
|
|
23215
|
+
}
|
|
23216
|
+
},
|
|
23217
|
+
{
|
|
23218
|
+
id: "focus.tasks.update-calendar-range",
|
|
23219
|
+
family: "focus",
|
|
23220
|
+
resource: "tasks",
|
|
23221
|
+
action: "update-calendar-range",
|
|
23222
|
+
title: "Update Calendar Range Tasks",
|
|
23223
|
+
description: "Update Calendar Range Tasks.",
|
|
23224
|
+
safety: "update",
|
|
23225
|
+
destructive: false,
|
|
23226
|
+
cli: {
|
|
23227
|
+
group: ["tasks"],
|
|
23228
|
+
command: "update-calendar-range",
|
|
23229
|
+
interactive: "default"
|
|
23230
|
+
},
|
|
23231
|
+
mcp: { entityTool: "tasks" },
|
|
23232
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23233
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
23234
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23235
|
+
}),
|
|
23236
|
+
execute: (input, { client }) => {
|
|
23237
|
+
const data = input;
|
|
23238
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
23239
|
+
client.httpClient,
|
|
23240
|
+
client.organizationId,
|
|
23241
|
+
client.workspaceIdNumber,
|
|
23242
|
+
data.date_from,
|
|
23243
|
+
data.date_to,
|
|
23244
|
+
void 0
|
|
23245
|
+
]));
|
|
23246
|
+
}
|
|
23247
|
+
},
|
|
23248
|
+
{
|
|
23249
|
+
id: "focus.time-blocks.archive",
|
|
23250
|
+
family: "focus",
|
|
23251
|
+
resource: "time-blocks",
|
|
23252
|
+
action: "archive",
|
|
23253
|
+
title: "Archive Time Blocks",
|
|
23254
|
+
description: "Archive Time Blocks.",
|
|
23255
|
+
safety: "update",
|
|
23256
|
+
destructive: false,
|
|
23257
|
+
cli: {
|
|
23258
|
+
group: ["time-blocks"],
|
|
23259
|
+
command: "archive",
|
|
23260
|
+
interactive: "default"
|
|
23261
|
+
},
|
|
23262
|
+
mcp: { entityTool: "time-blocks" },
|
|
23263
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23264
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23265
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23266
|
+
}),
|
|
23267
|
+
execute: (input, { client }) => {
|
|
23268
|
+
const data = input;
|
|
23269
|
+
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
23270
|
+
client.httpClient,
|
|
23271
|
+
client.organizationId,
|
|
23272
|
+
client.workspaceIdNumber,
|
|
23273
|
+
data.task_id,
|
|
23274
|
+
data.time_block_id,
|
|
23275
|
+
void 0
|
|
23276
|
+
]));
|
|
23277
|
+
}
|
|
23278
|
+
},
|
|
23279
|
+
{
|
|
23280
|
+
id: "focus.time-blocks.bulk-create",
|
|
23281
|
+
family: "focus",
|
|
23282
|
+
resource: "time-blocks",
|
|
23283
|
+
action: "bulk-create",
|
|
23284
|
+
title: "Bulk Create Time Blocks",
|
|
23285
|
+
description: "Bulk Create Time Blocks.",
|
|
23286
|
+
safety: "create",
|
|
23287
|
+
destructive: false,
|
|
23288
|
+
cli: {
|
|
23289
|
+
group: ["time-blocks", "bulk"],
|
|
23290
|
+
command: "create",
|
|
23291
|
+
interactive: "default"
|
|
23292
|
+
},
|
|
23293
|
+
mcp: { entityTool: "time-blocks" },
|
|
23294
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23295
|
+
start: apiDateTimeString,
|
|
23296
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23297
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23298
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23299
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23300
|
+
})) }) }),
|
|
23301
|
+
execute: (input, { client }) => {
|
|
23302
|
+
const data = input;
|
|
23303
|
+
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
23304
|
+
client.httpClient,
|
|
23305
|
+
client.organizationId,
|
|
23306
|
+
client.workspaceIdNumber,
|
|
23307
|
+
data.payload ?? data.data ?? data,
|
|
23308
|
+
void 0
|
|
23309
|
+
]));
|
|
23310
|
+
}
|
|
23311
|
+
},
|
|
23312
|
+
{
|
|
23313
|
+
id: "focus.time-blocks.bulk-delete",
|
|
23314
|
+
family: "focus",
|
|
23315
|
+
resource: "time-blocks",
|
|
23316
|
+
action: "bulk-delete",
|
|
23317
|
+
title: "Bulk Delete Time Blocks",
|
|
23318
|
+
description: "Bulk Delete Time Blocks.",
|
|
23319
|
+
safety: "delete",
|
|
23320
|
+
destructive: true,
|
|
23321
|
+
cli: {
|
|
23322
|
+
group: ["time-blocks", "bulk"],
|
|
23323
|
+
command: "delete",
|
|
23324
|
+
interactive: "default"
|
|
23325
|
+
},
|
|
23326
|
+
mcp: { entityTool: "time-blocks" },
|
|
23327
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23328
|
+
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
23329
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23330
|
+
}),
|
|
23331
|
+
execute: (input, { client }) => {
|
|
23332
|
+
const data = input;
|
|
23333
|
+
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
23334
|
+
client.httpClient,
|
|
23335
|
+
client.organizationId,
|
|
23336
|
+
client.workspaceIdNumber,
|
|
23337
|
+
data.ids,
|
|
23338
|
+
data.outbound_sync,
|
|
23339
|
+
void 0
|
|
23340
|
+
]));
|
|
23341
|
+
}
|
|
23342
|
+
},
|
|
23343
|
+
{
|
|
23344
|
+
id: "focus.time-blocks.bulk-partial-update",
|
|
23345
|
+
family: "focus",
|
|
23346
|
+
resource: "time-blocks",
|
|
23347
|
+
action: "bulk-partial-update",
|
|
23348
|
+
title: "Bulk Partial Update Time Blocks",
|
|
23349
|
+
description: "Bulk Partial Update Time Blocks.",
|
|
23350
|
+
safety: "update",
|
|
23351
|
+
destructive: false,
|
|
23352
|
+
cli: {
|
|
23353
|
+
group: ["time-blocks", "bulk"],
|
|
23354
|
+
command: "partial-update",
|
|
23355
|
+
interactive: "hidden"
|
|
23356
|
+
},
|
|
23357
|
+
mcp: { entityTool: "time-blocks" },
|
|
23358
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
23359
|
+
execute: (input, { client }) => {
|
|
23360
|
+
const data = input;
|
|
23361
|
+
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
23362
|
+
client.httpClient,
|
|
23363
|
+
client.organizationId,
|
|
23364
|
+
client.workspaceIdNumber,
|
|
23365
|
+
data.payload ?? data.data ?? data,
|
|
23366
|
+
void 0
|
|
23367
|
+
]));
|
|
23368
|
+
}
|
|
23369
|
+
},
|
|
23370
|
+
{
|
|
23371
|
+
id: "focus.time-blocks.create",
|
|
23372
|
+
family: "focus",
|
|
23373
|
+
resource: "time-blocks",
|
|
23374
|
+
action: "create",
|
|
23375
|
+
title: "Create Time Blocks",
|
|
23376
|
+
description: "Create Time Blocks.",
|
|
23377
|
+
safety: "create",
|
|
23378
|
+
destructive: false,
|
|
23379
|
+
cli: {
|
|
23380
|
+
group: ["time-blocks"],
|
|
23381
|
+
command: "create",
|
|
23382
|
+
interactive: "default"
|
|
23383
|
+
},
|
|
23384
|
+
mcp: { entityTool: "time-blocks" },
|
|
23385
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23386
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23387
|
+
start: apiDateTimeString,
|
|
23388
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23389
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23390
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23391
|
+
}),
|
|
23392
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23393
|
+
}),
|
|
23394
|
+
execute: (input, { client }) => {
|
|
23395
|
+
const data = input;
|
|
23396
|
+
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
23397
|
+
client.httpClient,
|
|
23398
|
+
client.organizationId,
|
|
23399
|
+
client.workspaceIdNumber,
|
|
23400
|
+
data.task_id,
|
|
23401
|
+
data.payload ?? data.data ?? data,
|
|
23402
|
+
void 0
|
|
23403
|
+
]));
|
|
23404
|
+
}
|
|
23405
|
+
},
|
|
23406
|
+
{
|
|
23407
|
+
id: "focus.time-blocks.delete",
|
|
23408
|
+
family: "focus",
|
|
23409
|
+
resource: "time-blocks",
|
|
23410
|
+
action: "delete",
|
|
23411
|
+
title: "Delete Time Blocks",
|
|
23412
|
+
description: "Delete Time Blocks.",
|
|
23413
|
+
safety: "delete",
|
|
23414
|
+
destructive: true,
|
|
23415
|
+
cli: {
|
|
23416
|
+
group: ["time-blocks"],
|
|
23417
|
+
command: "delete",
|
|
23418
|
+
interactive: "default"
|
|
23419
|
+
},
|
|
23420
|
+
mcp: { entityTool: "time-blocks" },
|
|
23421
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23422
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23423
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23424
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23425
|
+
}),
|
|
23426
|
+
execute: (input, { client }) => {
|
|
23427
|
+
const data = input;
|
|
23428
|
+
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
23429
|
+
client.httpClient,
|
|
23430
|
+
client.organizationId,
|
|
23431
|
+
client.workspaceIdNumber,
|
|
23432
|
+
data.task_id,
|
|
23433
|
+
data.time_block_id,
|
|
23434
|
+
data.outbound_sync,
|
|
23435
|
+
void 0
|
|
23436
|
+
]));
|
|
23437
|
+
}
|
|
23438
|
+
},
|
|
23439
|
+
{
|
|
23440
|
+
id: "focus.time-blocks.get",
|
|
23441
|
+
family: "focus",
|
|
23442
|
+
resource: "time-blocks",
|
|
23443
|
+
action: "get",
|
|
23444
|
+
title: "Get Time Blocks",
|
|
23445
|
+
description: "Get Time Blocks.",
|
|
23446
|
+
safety: "read",
|
|
23447
|
+
destructive: false,
|
|
23448
|
+
cli: {
|
|
23449
|
+
group: ["time-blocks"],
|
|
23450
|
+
command: "get",
|
|
23451
|
+
interactive: "available"
|
|
23452
|
+
},
|
|
23453
|
+
mcp: { entityTool: "time-blocks" },
|
|
23454
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23455
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23456
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23457
|
+
}),
|
|
23458
|
+
execute: (input, { client }) => {
|
|
23459
|
+
const data = input;
|
|
23460
|
+
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
23461
|
+
client.httpClient,
|
|
23462
|
+
client.organizationId,
|
|
23463
|
+
client.workspaceIdNumber,
|
|
23464
|
+
data.task_id,
|
|
23465
|
+
data.time_block_id,
|
|
23466
|
+
void 0
|
|
23467
|
+
]));
|
|
23468
|
+
}
|
|
23469
|
+
},
|
|
23470
|
+
{
|
|
23471
|
+
id: "focus.time-blocks.get-range",
|
|
23472
|
+
family: "focus",
|
|
23473
|
+
resource: "time-blocks",
|
|
23474
|
+
action: "get-range",
|
|
23475
|
+
title: "Get Range Time Blocks",
|
|
23476
|
+
description: "Get Range Time Blocks.",
|
|
23477
|
+
safety: "read",
|
|
23478
|
+
destructive: false,
|
|
23479
|
+
cli: {
|
|
23480
|
+
group: ["time-blocks"],
|
|
23481
|
+
command: "get-range",
|
|
23482
|
+
interactive: "hidden"
|
|
23483
|
+
},
|
|
23484
|
+
mcp: { entityTool: "time-blocks" },
|
|
23485
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23486
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
23487
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
23488
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
23489
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
23490
|
+
page: /* @__PURE__ */ number$2(),
|
|
23491
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
23492
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23493
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23494
|
+
}),
|
|
23495
|
+
execute: (input, { client }) => {
|
|
23496
|
+
const data = input;
|
|
23497
|
+
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
23498
|
+
client.httpClient,
|
|
23499
|
+
client.organizationId,
|
|
23500
|
+
client.workspaceIdNumber,
|
|
23501
|
+
data,
|
|
23502
|
+
void 0
|
|
23503
|
+
]));
|
|
23504
|
+
}
|
|
23505
|
+
},
|
|
23506
|
+
{
|
|
23507
|
+
id: "focus.time-blocks.get-range-stream",
|
|
23508
|
+
family: "focus",
|
|
23509
|
+
resource: "time-blocks",
|
|
23510
|
+
action: "get-range-stream",
|
|
23511
|
+
title: "Get Range Stream Time Blocks",
|
|
23512
|
+
description: "Get Range Stream Time Blocks.",
|
|
23513
|
+
safety: "read",
|
|
23514
|
+
destructive: false,
|
|
23515
|
+
cli: {
|
|
23516
|
+
group: ["time-blocks"],
|
|
23517
|
+
command: "get-range-stream",
|
|
23518
|
+
interactive: "hidden"
|
|
23519
|
+
},
|
|
23520
|
+
mcp: { entityTool: "time-blocks" },
|
|
23521
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23522
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
23523
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
23524
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
23525
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
23526
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23527
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23528
|
+
}),
|
|
23529
|
+
execute: (input, { client }) => {
|
|
23530
|
+
const data = input;
|
|
23531
|
+
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
23532
|
+
client.httpClient,
|
|
23533
|
+
client.organizationId,
|
|
23534
|
+
client.workspaceIdNumber,
|
|
23535
|
+
data,
|
|
23536
|
+
void 0
|
|
23537
|
+
]));
|
|
23538
|
+
}
|
|
23539
|
+
},
|
|
23540
|
+
{
|
|
23541
|
+
id: "focus.time-blocks.get-task-time-blocks",
|
|
23542
|
+
family: "focus",
|
|
23543
|
+
resource: "time-blocks",
|
|
23544
|
+
action: "get-task-time-blocks",
|
|
23545
|
+
title: "Get Task Time Blocks Time Blocks",
|
|
23546
|
+
description: "Get Task Time Blocks Time Blocks.",
|
|
23547
|
+
safety: "read",
|
|
23548
|
+
destructive: false,
|
|
23549
|
+
cli: {
|
|
23550
|
+
group: ["time-blocks"],
|
|
23551
|
+
command: "get-task-time-blocks",
|
|
23552
|
+
interactive: "hidden"
|
|
23553
|
+
},
|
|
23554
|
+
mcp: { entityTool: "time-blocks" },
|
|
23555
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23556
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23557
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23558
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23559
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23560
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23561
|
+
}),
|
|
23562
|
+
execute: (input, { client }) => {
|
|
23563
|
+
const data = input;
|
|
23564
|
+
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
23565
|
+
client.httpClient,
|
|
23566
|
+
client.organizationId,
|
|
23567
|
+
client.workspaceIdNumber,
|
|
23568
|
+
data.task_id,
|
|
23569
|
+
data,
|
|
23570
|
+
void 0
|
|
23571
|
+
]));
|
|
23572
|
+
}
|
|
23573
|
+
},
|
|
23574
|
+
{
|
|
23575
|
+
id: "focus.time-blocks.partial-update",
|
|
23576
|
+
family: "focus",
|
|
23577
|
+
resource: "time-blocks",
|
|
23578
|
+
action: "partial-update",
|
|
23579
|
+
title: "Partial Update Time Blocks",
|
|
23580
|
+
description: "Partial Update Time Blocks.",
|
|
23581
|
+
safety: "update",
|
|
23582
|
+
destructive: false,
|
|
23583
|
+
cli: {
|
|
23584
|
+
group: ["time-blocks"],
|
|
23585
|
+
command: "partial-update",
|
|
23586
|
+
interactive: "default"
|
|
23587
|
+
},
|
|
23588
|
+
mcp: { entityTool: "time-blocks" },
|
|
23589
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23590
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23591
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23592
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23593
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23594
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23595
|
+
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23596
|
+
}),
|
|
23597
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23598
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23599
|
+
}),
|
|
23600
|
+
execute: (input, { client }) => {
|
|
23601
|
+
const data = input;
|
|
23602
|
+
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
23603
|
+
client.httpClient,
|
|
23604
|
+
client.organizationId,
|
|
23605
|
+
client.workspaceIdNumber,
|
|
23606
|
+
data.task_id,
|
|
23607
|
+
data.time_block_id,
|
|
23608
|
+
data.payload ?? data.data ?? data,
|
|
23609
|
+
void 0
|
|
23610
|
+
]));
|
|
23611
|
+
}
|
|
23612
|
+
},
|
|
23613
|
+
{
|
|
23614
|
+
id: "focus.time-blocks.restore",
|
|
23615
|
+
family: "focus",
|
|
23616
|
+
resource: "time-blocks",
|
|
23617
|
+
action: "restore",
|
|
23618
|
+
title: "Restore Time Blocks",
|
|
23619
|
+
description: "Restore Time Blocks.",
|
|
23620
|
+
safety: "update",
|
|
23621
|
+
destructive: false,
|
|
23622
|
+
cli: {
|
|
23623
|
+
group: ["time-blocks"],
|
|
23624
|
+
command: "restore",
|
|
23625
|
+
interactive: "default"
|
|
23626
|
+
},
|
|
23627
|
+
mcp: { entityTool: "time-blocks" },
|
|
23628
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23629
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23630
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23631
|
+
}),
|
|
23632
|
+
execute: (input, { client }) => {
|
|
23633
|
+
const data = input;
|
|
23634
|
+
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
23635
|
+
client.httpClient,
|
|
23636
|
+
client.organizationId,
|
|
23637
|
+
client.workspaceIdNumber,
|
|
23638
|
+
data.task_id,
|
|
23639
|
+
data.time_block_id,
|
|
23640
|
+
void 0
|
|
23641
|
+
]));
|
|
23642
|
+
}
|
|
23643
|
+
},
|
|
23644
|
+
{
|
|
23645
|
+
id: "focus.time-blocks.unarchive",
|
|
23646
|
+
family: "focus",
|
|
23647
|
+
resource: "time-blocks",
|
|
23648
|
+
action: "unarchive",
|
|
23649
|
+
title: "Unarchive Time Blocks",
|
|
23650
|
+
description: "Unarchive Time Blocks.",
|
|
23651
|
+
safety: "update",
|
|
23652
|
+
destructive: false,
|
|
23653
|
+
cli: {
|
|
23654
|
+
group: ["time-blocks"],
|
|
23655
|
+
command: "unarchive",
|
|
23656
|
+
interactive: "default"
|
|
23657
|
+
},
|
|
23658
|
+
mcp: { entityTool: "time-blocks" },
|
|
23659
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23660
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23661
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23662
|
+
}),
|
|
23663
|
+
execute: (input, { client }) => {
|
|
23664
|
+
const data = input;
|
|
23665
|
+
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
23753
23666
|
client.httpClient,
|
|
23754
23667
|
client.organizationId,
|
|
23755
23668
|
client.workspaceIdNumber,
|
|
23756
23669
|
data.task_id,
|
|
23757
|
-
data.
|
|
23670
|
+
data.time_block_id,
|
|
23758
23671
|
void 0
|
|
23759
23672
|
]));
|
|
23760
23673
|
}
|
|
23761
23674
|
},
|
|
23762
23675
|
{
|
|
23763
|
-
id: "focus.
|
|
23676
|
+
id: "focus.time-blocks.update",
|
|
23764
23677
|
family: "focus",
|
|
23765
|
-
resource: "
|
|
23766
|
-
action: "update
|
|
23767
|
-
title: "Update
|
|
23768
|
-
description: "Update
|
|
23678
|
+
resource: "time-blocks",
|
|
23679
|
+
action: "update",
|
|
23680
|
+
title: "Update Time Blocks",
|
|
23681
|
+
description: "Update Time Blocks.",
|
|
23769
23682
|
safety: "update",
|
|
23770
23683
|
destructive: false,
|
|
23771
23684
|
cli: {
|
|
23772
|
-
group: ["
|
|
23773
|
-
command: "update
|
|
23685
|
+
group: ["time-blocks"],
|
|
23686
|
+
command: "update",
|
|
23774
23687
|
interactive: "default"
|
|
23775
23688
|
},
|
|
23776
|
-
mcp: { entityTool: "
|
|
23689
|
+
mcp: { entityTool: "time-blocks" },
|
|
23777
23690
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23778
|
-
|
|
23779
|
-
|
|
23780
|
-
|
|
23691
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23692
|
+
start: apiDateTimeString,
|
|
23693
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23694
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23695
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23696
|
+
}),
|
|
23697
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23698
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23781
23699
|
}),
|
|
23782
23700
|
execute: (input, { client }) => {
|
|
23783
23701
|
const data = input;
|
|
23784
|
-
return client.runGeneratedRequest("
|
|
23702
|
+
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
23785
23703
|
client.httpClient,
|
|
23786
23704
|
client.organizationId,
|
|
23787
23705
|
client.workspaceIdNumber,
|
|
23788
|
-
data.
|
|
23789
|
-
data.
|
|
23790
|
-
data.
|
|
23706
|
+
data.task_id,
|
|
23707
|
+
data.time_block_id,
|
|
23708
|
+
data.payload ?? data.data ?? data,
|
|
23791
23709
|
void 0
|
|
23792
23710
|
]));
|
|
23793
23711
|
}
|
|
@@ -24007,8 +23925,7 @@ const generatedFocusOperations = [
|
|
|
24007
23925
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24008
23926
|
"project",
|
|
24009
23927
|
"task",
|
|
24010
|
-
"description"
|
|
24011
|
-
"tags"
|
|
23928
|
+
"description"
|
|
24012
23929
|
]) })),
|
|
24013
23930
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24014
23931
|
}) }),
|
|
@@ -24038,7 +23955,6 @@ const generatedFocusOperations = [
|
|
|
24038
23955
|
},
|
|
24039
23956
|
mcp: { entityTool: "time-entries" },
|
|
24040
23957
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24041
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24042
23958
|
payload: /* @__PURE__ */ looseObject({
|
|
24043
23959
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24044
23960
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24049,12 +23965,11 @@ const generatedFocusOperations = [
|
|
|
24049
23965
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24050
23966
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24051
23967
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24052
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24053
23968
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23969
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24054
23970
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24055
23971
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24056
23972
|
}),
|
|
24057
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24058
23973
|
task_id: /* @__PURE__ */ number$2()
|
|
24059
23974
|
}),
|
|
24060
23975
|
execute: (input, { client }) => {
|
|
@@ -24065,8 +23980,6 @@ const generatedFocusOperations = [
|
|
|
24065
23980
|
client.workspaceIdNumber,
|
|
24066
23981
|
data.task_id,
|
|
24067
23982
|
data.payload ?? data.data ?? data,
|
|
24068
|
-
data.from_recurring_task_id,
|
|
24069
|
-
data.return_occurrence,
|
|
24070
23983
|
void 0
|
|
24071
23984
|
]));
|
|
24072
23985
|
}
|
|
@@ -24086,25 +23999,21 @@ const generatedFocusOperations = [
|
|
|
24086
23999
|
interactive: "default"
|
|
24087
24000
|
},
|
|
24088
24001
|
mcp: { entityTool: "time-entries" },
|
|
24089
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24090
|
-
|
|
24091
|
-
|
|
24092
|
-
|
|
24093
|
-
|
|
24094
|
-
|
|
24095
|
-
|
|
24096
|
-
|
|
24097
|
-
|
|
24098
|
-
|
|
24099
|
-
|
|
24100
|
-
|
|
24101
|
-
|
|
24102
|
-
|
|
24103
|
-
|
|
24104
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24105
|
-
}),
|
|
24106
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24107
|
-
}),
|
|
24002
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
24003
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24004
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24005
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24006
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24007
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24008
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24009
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24010
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24011
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24012
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24013
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24014
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24015
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24016
|
+
}) }),
|
|
24108
24017
|
execute: (input, { client }) => {
|
|
24109
24018
|
const data = input;
|
|
24110
24019
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24112,8 +24021,6 @@ const generatedFocusOperations = [
|
|
|
24112
24021
|
client.organizationId,
|
|
24113
24022
|
client.workspaceIdNumber,
|
|
24114
24023
|
data.payload ?? data.data ?? data,
|
|
24115
|
-
data.from_recurring_task_id,
|
|
24116
|
-
data.return_occurrence,
|
|
24117
24024
|
void 0
|
|
24118
24025
|
]));
|
|
24119
24026
|
}
|
|
@@ -24133,11 +24040,7 @@ const generatedFocusOperations = [
|
|
|
24133
24040
|
interactive: "default"
|
|
24134
24041
|
},
|
|
24135
24042
|
mcp: { entityTool: "time-entries" },
|
|
24136
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24137
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24138
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24139
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24140
|
-
}),
|
|
24043
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24141
24044
|
execute: (input, { client }) => {
|
|
24142
24045
|
const data = input;
|
|
24143
24046
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24145,8 +24048,6 @@ const generatedFocusOperations = [
|
|
|
24145
24048
|
client.organizationId,
|
|
24146
24049
|
client.workspaceIdNumber,
|
|
24147
24050
|
data.time_entry_id,
|
|
24148
|
-
data.from_recurring_task_id,
|
|
24149
|
-
data.return_occurrence,
|
|
24150
24051
|
void 0
|
|
24151
24052
|
]));
|
|
24152
24053
|
}
|
|
@@ -24227,7 +24128,6 @@ const generatedFocusOperations = [
|
|
|
24227
24128
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24228
24129
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24229
24130
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24230
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24231
24131
|
status_id: /* @__PURE__ */ number$2(),
|
|
24232
24132
|
task_id: /* @__PURE__ */ number$2(),
|
|
24233
24133
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24243,6 +24143,33 @@ const generatedFocusOperations = [
|
|
|
24243
24143
|
]));
|
|
24244
24144
|
}
|
|
24245
24145
|
},
|
|
24146
|
+
{
|
|
24147
|
+
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
24148
|
+
family: "focus",
|
|
24149
|
+
resource: "time-entries",
|
|
24150
|
+
action: "get-stream-time-entries-time-block-ids",
|
|
24151
|
+
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
24152
|
+
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
24153
|
+
safety: "read",
|
|
24154
|
+
destructive: false,
|
|
24155
|
+
cli: {
|
|
24156
|
+
group: ["time-entries"],
|
|
24157
|
+
command: "get-stream-time-entries-time-block-ids",
|
|
24158
|
+
interactive: "available"
|
|
24159
|
+
},
|
|
24160
|
+
mcp: { entityTool: "time-entries" },
|
|
24161
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
24162
|
+
execute: (input, { client }) => {
|
|
24163
|
+
const data = input;
|
|
24164
|
+
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
24165
|
+
client.httpClient,
|
|
24166
|
+
client.organizationId,
|
|
24167
|
+
client.workspaceIdNumber,
|
|
24168
|
+
data,
|
|
24169
|
+
void 0
|
|
24170
|
+
]));
|
|
24171
|
+
}
|
|
24172
|
+
},
|
|
24246
24173
|
{
|
|
24247
24174
|
id: "focus.time-entries.get-task-time-entries",
|
|
24248
24175
|
family: "focus",
|
|
@@ -24264,6 +24191,7 @@ const generatedFocusOperations = [
|
|
|
24264
24191
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24265
24192
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24266
24193
|
task_id: /* @__PURE__ */ number$2(),
|
|
24194
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24267
24195
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
24268
24196
|
}),
|
|
24269
24197
|
execute: (input, { client }) => {
|
|
@@ -24376,14 +24304,12 @@ const generatedFocusOperations = [
|
|
|
24376
24304
|
},
|
|
24377
24305
|
mcp: { entityTool: "time-entries" },
|
|
24378
24306
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24379
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24380
24307
|
payload: /* @__PURE__ */ looseObject({
|
|
24381
24308
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24382
24309
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24383
24310
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24384
24311
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24385
24312
|
}),
|
|
24386
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24387
24313
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24388
24314
|
}),
|
|
24389
24315
|
execute: (input, { client }) => {
|
|
@@ -24394,8 +24320,6 @@ const generatedFocusOperations = [
|
|
|
24394
24320
|
client.workspaceIdNumber,
|
|
24395
24321
|
data.time_entry_id,
|
|
24396
24322
|
data.payload ?? data.data ?? data,
|
|
24397
|
-
data.from_recurring_task_id,
|
|
24398
|
-
data.return_occurrence,
|
|
24399
24323
|
void 0
|
|
24400
24324
|
]));
|
|
24401
24325
|
}
|
|
@@ -24653,7 +24577,6 @@ const generatedFocusOperations = [
|
|
|
24653
24577
|
},
|
|
24654
24578
|
mcp: { entityTool: "time-entries" },
|
|
24655
24579
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24656
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24657
24580
|
payload: /* @__PURE__ */ looseObject({
|
|
24658
24581
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24659
24582
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24663,9 +24586,9 @@ const generatedFocusOperations = [
|
|
|
24663
24586
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24664
24587
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24665
24588
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24589
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24666
24590
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24667
24591
|
}),
|
|
24668
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24669
24592
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24670
24593
|
}),
|
|
24671
24594
|
execute: (input, { client }) => {
|
|
@@ -24676,8 +24599,6 @@ const generatedFocusOperations = [
|
|
|
24676
24599
|
client.workspaceIdNumber,
|
|
24677
24600
|
data.time_entry_id,
|
|
24678
24601
|
data.payload ?? data.data ?? data,
|
|
24679
|
-
data.from_recurring_task_id,
|
|
24680
|
-
data.return_occurrence,
|
|
24681
24602
|
void 0
|
|
24682
24603
|
]));
|
|
24683
24604
|
}
|
|
@@ -24742,118 +24663,6 @@ const generatedFocusOperations = [
|
|
|
24742
24663
|
]));
|
|
24743
24664
|
}
|
|
24744
24665
|
},
|
|
24745
|
-
{
|
|
24746
|
-
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
24747
|
-
family: "focus",
|
|
24748
|
-
resource: "time-off",
|
|
24749
|
-
action: "get-timeoff-balance-changes-for-user",
|
|
24750
|
-
title: "Get Timeoff Balance Changes For User Time Off",
|
|
24751
|
-
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
24752
|
-
safety: "read",
|
|
24753
|
-
destructive: false,
|
|
24754
|
-
cli: {
|
|
24755
|
-
group: ["time-off"],
|
|
24756
|
-
command: "get-timeoff-balance-changes-for-user",
|
|
24757
|
-
interactive: "hidden"
|
|
24758
|
-
},
|
|
24759
|
-
mcp: { entityTool: "time-off" },
|
|
24760
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24761
|
-
category_id: /* @__PURE__ */ number$2(),
|
|
24762
|
-
page: /* @__PURE__ */ number$2(),
|
|
24763
|
-
rows: /* @__PURE__ */ unknown$1(),
|
|
24764
|
-
user_id: /* @__PURE__ */ number$2(),
|
|
24765
|
-
year: /* @__PURE__ */ unknown$1()
|
|
24766
|
-
}),
|
|
24767
|
-
execute: (input, { client }) => {
|
|
24768
|
-
const data = input;
|
|
24769
|
-
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
24770
|
-
client.httpClient,
|
|
24771
|
-
client.organizationId,
|
|
24772
|
-
data.user_id,
|
|
24773
|
-
data,
|
|
24774
|
-
void 0
|
|
24775
|
-
]));
|
|
24776
|
-
}
|
|
24777
|
-
},
|
|
24778
|
-
{
|
|
24779
|
-
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
24780
|
-
family: "focus",
|
|
24781
|
-
resource: "time-off",
|
|
24782
|
-
action: "get-timeoff-balances-for-user",
|
|
24783
|
-
title: "Get Timeoff Balances For User Time Off",
|
|
24784
|
-
description: "Get Timeoff Balances For User Time Off.",
|
|
24785
|
-
safety: "read",
|
|
24786
|
-
destructive: false,
|
|
24787
|
-
cli: {
|
|
24788
|
-
group: ["time-off"],
|
|
24789
|
-
command: "get-timeoff-balances-for-user",
|
|
24790
|
-
interactive: "available"
|
|
24791
|
-
},
|
|
24792
|
-
mcp: { entityTool: "time-off" },
|
|
24793
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24794
|
-
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24795
|
-
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
24796
|
-
user_id: /* @__PURE__ */ number$2()
|
|
24797
|
-
}),
|
|
24798
|
-
execute: (input, { client }) => {
|
|
24799
|
-
const data = input;
|
|
24800
|
-
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
24801
|
-
client.httpClient,
|
|
24802
|
-
client.organizationId,
|
|
24803
|
-
data.user_id,
|
|
24804
|
-
data,
|
|
24805
|
-
void 0
|
|
24806
|
-
]));
|
|
24807
|
-
}
|
|
24808
|
-
},
|
|
24809
|
-
{
|
|
24810
|
-
id: "focus.time-off.get-timeoff-categories",
|
|
24811
|
-
family: "focus",
|
|
24812
|
-
resource: "time-off",
|
|
24813
|
-
action: "get-timeoff-categories",
|
|
24814
|
-
title: "Get Timeoff Categories Time Off",
|
|
24815
|
-
description: "Get Timeoff Categories Time Off.",
|
|
24816
|
-
safety: "read",
|
|
24817
|
-
destructive: false,
|
|
24818
|
-
cli: {
|
|
24819
|
-
group: ["time-off"],
|
|
24820
|
-
command: "get-timeoff-categories",
|
|
24821
|
-
interactive: "hidden"
|
|
24822
|
-
},
|
|
24823
|
-
mcp: { entityTool: "time-off" },
|
|
24824
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
24825
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
24826
|
-
client.httpClient,
|
|
24827
|
-
client.organizationId,
|
|
24828
|
-
void 0
|
|
24829
|
-
]))
|
|
24830
|
-
},
|
|
24831
|
-
{
|
|
24832
|
-
id: "focus.time-off.get-timeoff-category",
|
|
24833
|
-
family: "focus",
|
|
24834
|
-
resource: "time-off",
|
|
24835
|
-
action: "get-timeoff-category",
|
|
24836
|
-
title: "Get Timeoff Category Time Off",
|
|
24837
|
-
description: "Get Timeoff Category Time Off.",
|
|
24838
|
-
safety: "read",
|
|
24839
|
-
destructive: false,
|
|
24840
|
-
cli: {
|
|
24841
|
-
group: ["time-off"],
|
|
24842
|
-
command: "get-timeoff-category",
|
|
24843
|
-
interactive: "available"
|
|
24844
|
-
},
|
|
24845
|
-
mcp: { entityTool: "time-off" },
|
|
24846
|
-
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
24847
|
-
execute: (input, { client }) => {
|
|
24848
|
-
const data = input;
|
|
24849
|
-
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
24850
|
-
client.httpClient,
|
|
24851
|
-
client.organizationId,
|
|
24852
|
-
data.category_id,
|
|
24853
|
-
void 0
|
|
24854
|
-
]));
|
|
24855
|
-
}
|
|
24856
|
-
},
|
|
24857
24666
|
{
|
|
24858
24667
|
id: "focus.time-off.get-timeoff-for-user",
|
|
24859
24668
|
family: "focus",
|
|
@@ -25305,40 +25114,6 @@ const generatedFocusOperations = [
|
|
|
25305
25114
|
]));
|
|
25306
25115
|
}
|
|
25307
25116
|
},
|
|
25308
|
-
{
|
|
25309
|
-
id: "focus.timesheets.get-status-counts",
|
|
25310
|
-
family: "focus",
|
|
25311
|
-
resource: "timesheets",
|
|
25312
|
-
action: "get-status-counts",
|
|
25313
|
-
title: "Get Status Counts Timesheets",
|
|
25314
|
-
description: "Get Status Counts Timesheets.",
|
|
25315
|
-
safety: "read",
|
|
25316
|
-
destructive: false,
|
|
25317
|
-
cli: {
|
|
25318
|
-
group: ["timesheets"],
|
|
25319
|
-
command: "get-status-counts",
|
|
25320
|
-
interactive: "hidden"
|
|
25321
|
-
},
|
|
25322
|
-
mcp: { entityTool: "timesheets" },
|
|
25323
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25324
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25325
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
25326
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
25327
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
25328
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25329
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25330
|
-
}),
|
|
25331
|
-
execute: (input, { client }) => {
|
|
25332
|
-
const data = input;
|
|
25333
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25334
|
-
client.httpClient,
|
|
25335
|
-
client.organizationId,
|
|
25336
|
-
client.workspaceIdNumber,
|
|
25337
|
-
data,
|
|
25338
|
-
void 0
|
|
25339
|
-
]));
|
|
25340
|
-
}
|
|
25341
|
-
},
|
|
25342
25117
|
{
|
|
25343
25118
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25344
25119
|
family: "focus",
|
|
@@ -25888,33 +25663,6 @@ const generatedFocusOperations = [
|
|
|
25888
25663
|
]));
|
|
25889
25664
|
}
|
|
25890
25665
|
},
|
|
25891
|
-
{
|
|
25892
|
-
id: "focus.track-team-invites.post",
|
|
25893
|
-
family: "focus",
|
|
25894
|
-
resource: "track-team-invites",
|
|
25895
|
-
action: "post",
|
|
25896
|
-
title: "Post Track Team Invites",
|
|
25897
|
-
description: "Post Track Team Invites.",
|
|
25898
|
-
safety: "create",
|
|
25899
|
-
destructive: false,
|
|
25900
|
-
cli: {
|
|
25901
|
-
group: ["track-team-invites"],
|
|
25902
|
-
command: "post",
|
|
25903
|
-
interactive: "default"
|
|
25904
|
-
},
|
|
25905
|
-
mcp: { entityTool: "track-team-invites" },
|
|
25906
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
25907
|
-
execute: (input, { client }) => {
|
|
25908
|
-
const data = input;
|
|
25909
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
25910
|
-
client.httpClient,
|
|
25911
|
-
client.organizationId,
|
|
25912
|
-
client.workspaceIdNumber,
|
|
25913
|
-
data.payload ?? data.data ?? data,
|
|
25914
|
-
void 0
|
|
25915
|
-
]));
|
|
25916
|
-
}
|
|
25917
|
-
},
|
|
25918
25666
|
{
|
|
25919
25667
|
id: "focus.users.list",
|
|
25920
25668
|
family: "focus",
|
|
@@ -25936,56 +25684,6 @@ const generatedFocusOperations = [
|
|
|
25936
25684
|
return client.listOrgUsers(data);
|
|
25937
25685
|
}
|
|
25938
25686
|
},
|
|
25939
|
-
{
|
|
25940
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
25941
|
-
family: "focus",
|
|
25942
|
-
resource: "users",
|
|
25943
|
-
action: "settings-email-unsubscribe",
|
|
25944
|
-
title: "Settings Email Unsubscribe Users",
|
|
25945
|
-
description: "Settings Email Unsubscribe Users.",
|
|
25946
|
-
safety: "update",
|
|
25947
|
-
destructive: false,
|
|
25948
|
-
cli: {
|
|
25949
|
-
group: ["users", "settings"],
|
|
25950
|
-
command: "email-unsubscribe",
|
|
25951
|
-
interactive: "default"
|
|
25952
|
-
},
|
|
25953
|
-
mcp: { entityTool: "users" },
|
|
25954
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
25955
|
-
execute: (input, { client }) => {
|
|
25956
|
-
const data = input;
|
|
25957
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
25958
|
-
client.httpClient,
|
|
25959
|
-
data.token,
|
|
25960
|
-
void 0
|
|
25961
|
-
]));
|
|
25962
|
-
}
|
|
25963
|
-
},
|
|
25964
|
-
{
|
|
25965
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
25966
|
-
family: "focus",
|
|
25967
|
-
resource: "users",
|
|
25968
|
-
action: "settings-email-unsubscribe-page",
|
|
25969
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
25970
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
25971
|
-
safety: "read",
|
|
25972
|
-
destructive: false,
|
|
25973
|
-
cli: {
|
|
25974
|
-
group: ["users", "settings"],
|
|
25975
|
-
command: "email-unsubscribe-page",
|
|
25976
|
-
interactive: "available"
|
|
25977
|
-
},
|
|
25978
|
-
mcp: { entityTool: "users" },
|
|
25979
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
25980
|
-
execute: (input, { client }) => {
|
|
25981
|
-
const data = input;
|
|
25982
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
25983
|
-
client.httpClient,
|
|
25984
|
-
data.token,
|
|
25985
|
-
void 0
|
|
25986
|
-
]));
|
|
25987
|
-
}
|
|
25988
|
-
},
|
|
25989
25687
|
{
|
|
25990
25688
|
id: "focus.users.settings-list",
|
|
25991
25689
|
family: "focus",
|
|
@@ -26047,9 +25745,6 @@ const generatedFocusOperations = [
|
|
|
26047
25745
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26048
25746
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26049
25747
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26050
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26051
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26052
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26053
25748
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26054
25749
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26055
25750
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -28109,4 +27804,4 @@ Common commands:
|
|
|
28109
27804
|
//#endregion
|
|
28110
27805
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28111
27806
|
|
|
28112
|
-
//# sourceMappingURL=program-
|
|
27807
|
+
//# sourceMappingURL=program-DwleEZW_.js.map
|