@togglhq/cli 1.11.87 → 1.11.88
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-Cgzj1q4d.js → program-BafxB0r1.js} +793 -1403
- 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.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/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.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/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.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/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.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/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
|
}
|
|
@@ -10905,7 +10851,7 @@ async function getWorkspaceUserMeRoles(httpClient, organization_id, workspace_id
|
|
|
10905
10851
|
}
|
|
10906
10852
|
const WorkingHoursCreateInputSchema = /* @__PURE__ */ object$2({
|
|
10907
10853
|
working_hours: /* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(168)),
|
|
10908
|
-
starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(24))),
|
|
10854
|
+
starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(24))),
|
|
10909
10855
|
weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(6)))
|
|
10910
10856
|
});
|
|
10911
10857
|
const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
@@ -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.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/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.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/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.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/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.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/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
|
}
|
|
@@ -14537,15 +14483,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14537
14483
|
}
|
|
14538
14484
|
//#endregion
|
|
14539
14485
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14540
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
14486
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14541
14487
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14542
14488
|
signal,
|
|
14543
14489
|
searchParams: buildSearchParams$2({
|
|
14544
14490
|
workspace_id,
|
|
14545
14491
|
entity_type,
|
|
14546
14492
|
entity_id,
|
|
14547
|
-
project_id,
|
|
14548
|
-
custom_field_id,
|
|
14549
14493
|
action,
|
|
14550
14494
|
user_id,
|
|
14551
14495
|
page_size,
|
|
@@ -14554,14 +14498,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14554
14498
|
})
|
|
14555
14499
|
}).json();
|
|
14556
14500
|
}
|
|
14557
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
14501
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14558
14502
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14559
14503
|
signal,
|
|
14560
14504
|
searchParams: buildSearchParams$2({
|
|
14561
14505
|
entity_type,
|
|
14562
14506
|
entity_id,
|
|
14563
|
-
project_id,
|
|
14564
|
-
custom_field_id,
|
|
14565
14507
|
action,
|
|
14566
14508
|
user_id,
|
|
14567
14509
|
page_size,
|
|
@@ -14714,14 +14656,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14714
14656
|
}
|
|
14715
14657
|
//#endregion
|
|
14716
14658
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14717
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
14659
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14718
14660
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14719
14661
|
signal,
|
|
14720
14662
|
searchParams: buildSearchParams$2({
|
|
14663
|
+
user_id,
|
|
14721
14664
|
start_date,
|
|
14722
14665
|
end_date,
|
|
14723
|
-
user_id,
|
|
14724
|
-
team_id,
|
|
14725
14666
|
private: private_,
|
|
14726
14667
|
task_source,
|
|
14727
14668
|
unit,
|
|
@@ -14781,15 +14722,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14781
14722
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14782
14723
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14783
14724
|
}
|
|
14784
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14785
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14786
|
-
}
|
|
14787
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14788
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14789
|
-
signal,
|
|
14790
|
-
json: data
|
|
14791
|
-
}).json();
|
|
14792
|
-
}
|
|
14793
14725
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14794
14726
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14795
14727
|
signal,
|
|
@@ -14829,61 +14761,6 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
14829
14761
|
}).json();
|
|
14830
14762
|
}
|
|
14831
14763
|
//#endregion
|
|
14832
|
-
//#region ../focus-queries/dist/designations/requests.ts
|
|
14833
|
-
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14834
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
14835
|
-
signal,
|
|
14836
|
-
searchParams: buildSearchParams$2({
|
|
14837
|
-
name,
|
|
14838
|
-
page,
|
|
14839
|
-
per_page,
|
|
14840
|
-
order_by
|
|
14841
|
-
})
|
|
14842
|
-
}).json();
|
|
14843
|
-
}
|
|
14844
|
-
async function createWorkspaceDesignation(httpClient, organization_id, workspace_id, data, signal) {
|
|
14845
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
14846
|
-
signal,
|
|
14847
|
-
json: data
|
|
14848
|
-
}).json();
|
|
14849
|
-
}
|
|
14850
|
-
async function bulkCreateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
14851
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14852
|
-
signal,
|
|
14853
|
-
json: data
|
|
14854
|
-
}).json();
|
|
14855
|
-
}
|
|
14856
|
-
async function bulkDeleteWorkspaceDesignations(httpClient, organization_id, workspace_id, ids, all_or_none, signal) {
|
|
14857
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14858
|
-
signal,
|
|
14859
|
-
searchParams: buildSearchParams$2({
|
|
14860
|
-
ids,
|
|
14861
|
-
all_or_none
|
|
14862
|
-
})
|
|
14863
|
-
}).json();
|
|
14864
|
-
}
|
|
14865
|
-
async function bulkUpdateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
14866
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14867
|
-
signal,
|
|
14868
|
-
json: data
|
|
14869
|
-
}).json();
|
|
14870
|
-
}
|
|
14871
|
-
async function updateWorkspaceDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
14872
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/members`, {
|
|
14873
|
-
signal,
|
|
14874
|
-
json: data
|
|
14875
|
-
}).json();
|
|
14876
|
-
}
|
|
14877
|
-
async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
|
|
14878
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal }).json();
|
|
14879
|
-
}
|
|
14880
|
-
async function updateWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, data, signal) {
|
|
14881
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, {
|
|
14882
|
-
signal,
|
|
14883
|
-
json: data
|
|
14884
|
-
}).json();
|
|
14885
|
-
}
|
|
14886
|
-
//#endregion
|
|
14887
14764
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14888
14765
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
14889
14766
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals`, {
|
|
@@ -15108,7 +14985,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15108
14985
|
}
|
|
15109
14986
|
//#endregion
|
|
15110
14987
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15111
|
-
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts,
|
|
14988
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
15112
14989
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15113
14990
|
signal,
|
|
15114
14991
|
searchParams: buildSearchParams$2({
|
|
@@ -15134,7 +15011,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15134
15011
|
user_id,
|
|
15135
15012
|
only_me,
|
|
15136
15013
|
include_drafts,
|
|
15137
|
-
include_recurring_series,
|
|
15138
15014
|
cf_filter
|
|
15139
15015
|
})
|
|
15140
15016
|
}).json();
|
|
@@ -15153,6 +15029,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15153
15029
|
json: data
|
|
15154
15030
|
}).json();
|
|
15155
15031
|
}
|
|
15032
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15033
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15034
|
+
}
|
|
15156
15035
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15157
15036
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15158
15037
|
}
|
|
@@ -15178,37 +15057,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15178
15057
|
}).json();
|
|
15179
15058
|
}
|
|
15180
15059
|
//#endregion
|
|
15181
|
-
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
15182
|
-
async function openPublicSharedReport(httpClient, token, signal) {
|
|
15183
|
-
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
15184
|
-
}
|
|
15185
|
-
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15186
|
-
return await httpClient.post(`shared/${token}/profitability`, {
|
|
15187
|
-
signal,
|
|
15188
|
-
json: data,
|
|
15189
|
-
searchParams: buildSearchParams$2({
|
|
15190
|
-
response_format,
|
|
15191
|
-
include_dicts
|
|
15192
|
-
})
|
|
15193
|
-
}).json();
|
|
15194
|
-
}
|
|
15195
|
-
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15196
|
-
return await httpClient.post(`shared/${token}/query`, {
|
|
15197
|
-
signal,
|
|
15198
|
-
json: data,
|
|
15199
|
-
searchParams: buildSearchParams$2({
|
|
15200
|
-
response_format,
|
|
15201
|
-
include_dicts
|
|
15202
|
-
})
|
|
15203
|
-
}).json();
|
|
15204
|
-
}
|
|
15205
|
-
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
15206
|
-
return await httpClient.post(`shared/${token}/workload`, {
|
|
15207
|
-
signal,
|
|
15208
|
-
json: data
|
|
15209
|
-
}).json();
|
|
15210
|
-
}
|
|
15211
|
-
//#endregion
|
|
15212
15060
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15213
15061
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15214
15062
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15370,7 +15218,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15370
15218
|
}
|
|
15371
15219
|
//#endregion
|
|
15372
15220
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15373
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id,
|
|
15221
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15374
15222
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15375
15223
|
signal,
|
|
15376
15224
|
searchParams: buildSearchParams$2({
|
|
@@ -15378,7 +15226,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15378
15226
|
per_group,
|
|
15379
15227
|
assignee_user_id,
|
|
15380
15228
|
assignee_team_id,
|
|
15381
|
-
include_unassigned,
|
|
15382
15229
|
project_id,
|
|
15383
15230
|
task_id,
|
|
15384
15231
|
include_drafts,
|
|
@@ -15423,18 +15270,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15423
15270
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15424
15271
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15425
15272
|
}
|
|
15426
|
-
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
15427
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15428
|
-
}
|
|
15429
|
-
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
15430
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
15431
|
-
}
|
|
15432
|
-
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
15433
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
15434
|
-
signal,
|
|
15435
|
-
json: data
|
|
15436
|
-
}).json();
|
|
15437
|
-
}
|
|
15438
15273
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15439
15274
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15440
15275
|
signal,
|
|
@@ -15444,21 +15279,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15444
15279
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15445
15280
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15446
15281
|
}
|
|
15447
|
-
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15448
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
15449
|
-
signal,
|
|
15450
|
-
json: data
|
|
15451
|
-
}).json();
|
|
15452
|
-
}
|
|
15453
|
-
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
15454
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
15455
|
-
}
|
|
15456
|
-
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15457
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
15458
|
-
signal,
|
|
15459
|
-
json: data
|
|
15460
|
-
}).json();
|
|
15461
|
-
}
|
|
15462
15282
|
//#endregion
|
|
15463
15283
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15464
15284
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15515,10 +15335,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15515
15335
|
}
|
|
15516
15336
|
//#endregion
|
|
15517
15337
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15518
|
-
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter
|
|
15338
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
|
|
15519
15339
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15520
15340
|
signal,
|
|
15521
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15522
15341
|
searchParams: buildSearchParams$2({
|
|
15523
15342
|
project_id,
|
|
15524
15343
|
source,
|
|
@@ -15547,18 +15366,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15547
15366
|
min_days,
|
|
15548
15367
|
include_drafts,
|
|
15549
15368
|
cf_filter,
|
|
15550
|
-
user_cf_filter
|
|
15551
|
-
recurring_occurrences_after,
|
|
15552
|
-
max_recurring_occurrences_after,
|
|
15553
|
-
recurring_task_read,
|
|
15554
|
-
include_projected_occurrences
|
|
15369
|
+
user_cf_filter
|
|
15555
15370
|
})
|
|
15556
15371
|
}).json();
|
|
15557
15372
|
}
|
|
15558
|
-
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter
|
|
15373
|
+
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
|
|
15559
15374
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15560
15375
|
signal,
|
|
15561
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15562
15376
|
searchParams: buildSearchParams$2({
|
|
15563
15377
|
team_id,
|
|
15564
15378
|
project_id,
|
|
@@ -15587,18 +15401,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15587
15401
|
min_days,
|
|
15588
15402
|
include_drafts,
|
|
15589
15403
|
cf_filter,
|
|
15590
|
-
user_cf_filter
|
|
15591
|
-
recurring_occurrences_after,
|
|
15592
|
-
max_recurring_occurrences_after,
|
|
15593
|
-
recurring_task_read,
|
|
15594
|
-
include_projected_occurrences
|
|
15404
|
+
user_cf_filter
|
|
15595
15405
|
})
|
|
15596
15406
|
}).json();
|
|
15597
15407
|
}
|
|
15598
|
-
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter,
|
|
15408
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
|
|
15599
15409
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15600
15410
|
signal,
|
|
15601
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15602
15411
|
searchParams: buildSearchParams$2({
|
|
15603
15412
|
source,
|
|
15604
15413
|
priority,
|
|
@@ -15628,10 +15437,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15628
15437
|
include_drafts,
|
|
15629
15438
|
cf_filter,
|
|
15630
15439
|
user_cf_filter,
|
|
15631
|
-
recurring_occurrences_after,
|
|
15632
|
-
max_recurring_occurrences_after,
|
|
15633
|
-
recurring_task_read,
|
|
15634
|
-
include_projected_occurrences,
|
|
15635
15440
|
page,
|
|
15636
15441
|
per_page,
|
|
15637
15442
|
order_by
|
|
@@ -15659,6 +15464,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
15659
15464
|
}).json();
|
|
15660
15465
|
}
|
|
15661
15466
|
//#endregion
|
|
15467
|
+
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
15468
|
+
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
15469
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15470
|
+
signal,
|
|
15471
|
+
searchParams: buildSearchParams$2({
|
|
15472
|
+
page,
|
|
15473
|
+
per_page,
|
|
15474
|
+
order_by,
|
|
15475
|
+
archived
|
|
15476
|
+
})
|
|
15477
|
+
}).json();
|
|
15478
|
+
}
|
|
15479
|
+
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
15480
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15481
|
+
signal,
|
|
15482
|
+
json: data
|
|
15483
|
+
}).json();
|
|
15484
|
+
}
|
|
15485
|
+
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15486
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
15487
|
+
}
|
|
15488
|
+
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15489
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15490
|
+
signal,
|
|
15491
|
+
json: data
|
|
15492
|
+
}).json();
|
|
15493
|
+
}
|
|
15494
|
+
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
15495
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15496
|
+
signal,
|
|
15497
|
+
searchParams: buildSearchParams$2({ outbound_sync })
|
|
15498
|
+
}).json();
|
|
15499
|
+
}
|
|
15500
|
+
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15501
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15502
|
+
signal,
|
|
15503
|
+
json: data
|
|
15504
|
+
}).json();
|
|
15505
|
+
}
|
|
15506
|
+
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15507
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
15508
|
+
}
|
|
15509
|
+
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15510
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
15511
|
+
}
|
|
15512
|
+
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15513
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
15514
|
+
}
|
|
15515
|
+
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
15516
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
15517
|
+
signal,
|
|
15518
|
+
searchParams: buildSearchParams$2({
|
|
15519
|
+
date_from,
|
|
15520
|
+
date_to,
|
|
15521
|
+
task_id,
|
|
15522
|
+
status_id,
|
|
15523
|
+
page,
|
|
15524
|
+
per_page,
|
|
15525
|
+
archived,
|
|
15526
|
+
order_by
|
|
15527
|
+
})
|
|
15528
|
+
}).json();
|
|
15529
|
+
}
|
|
15530
|
+
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15531
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15532
|
+
signal,
|
|
15533
|
+
json: data
|
|
15534
|
+
}).json();
|
|
15535
|
+
}
|
|
15536
|
+
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
15537
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15538
|
+
signal,
|
|
15539
|
+
searchParams: buildSearchParams$2({
|
|
15540
|
+
ids,
|
|
15541
|
+
outbound_sync
|
|
15542
|
+
})
|
|
15543
|
+
}).json();
|
|
15544
|
+
}
|
|
15545
|
+
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15546
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15547
|
+
signal,
|
|
15548
|
+
json: data
|
|
15549
|
+
}).json();
|
|
15550
|
+
}
|
|
15551
|
+
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
15552
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
15553
|
+
signal,
|
|
15554
|
+
searchParams: buildSearchParams$2({
|
|
15555
|
+
date_from,
|
|
15556
|
+
date_to,
|
|
15557
|
+
task_id,
|
|
15558
|
+
status_id,
|
|
15559
|
+
archived,
|
|
15560
|
+
order_by
|
|
15561
|
+
})
|
|
15562
|
+
}).json();
|
|
15563
|
+
}
|
|
15564
|
+
//#endregion
|
|
15662
15565
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
15663
15566
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
15664
15567
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -15696,12 +15599,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
15696
15599
|
})
|
|
15697
15600
|
}).json();
|
|
15698
15601
|
}
|
|
15699
|
-
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
15700
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
15701
|
-
}
|
|
15702
|
-
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
15703
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
15704
|
-
}
|
|
15705
15602
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
15706
15603
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
15707
15604
|
signal,
|
|
@@ -15729,26 +15626,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15729
15626
|
json: data
|
|
15730
15627
|
}).json();
|
|
15731
15628
|
}
|
|
15732
|
-
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
15733
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
15734
|
-
signal,
|
|
15735
|
-
searchParams: buildSearchParams$2({
|
|
15736
|
-
category_id,
|
|
15737
|
-
date
|
|
15738
|
-
})
|
|
15739
|
-
}).json();
|
|
15740
|
-
}
|
|
15741
|
-
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
15742
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
15743
|
-
signal,
|
|
15744
|
-
searchParams: buildSearchParams$2({
|
|
15745
|
-
category_id,
|
|
15746
|
-
year,
|
|
15747
|
-
page,
|
|
15748
|
-
rows
|
|
15749
|
-
})
|
|
15750
|
-
}).json();
|
|
15751
|
-
}
|
|
15752
15629
|
//#endregion
|
|
15753
15630
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15754
15631
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15849,19 +15726,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15849
15726
|
json: data
|
|
15850
15727
|
}).json();
|
|
15851
15728
|
}
|
|
15852
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
15853
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
15854
|
-
signal,
|
|
15855
|
-
searchParams: buildSearchParams$2({
|
|
15856
|
-
date_from,
|
|
15857
|
-
date_to,
|
|
15858
|
-
setup_id,
|
|
15859
|
-
user_account_ids,
|
|
15860
|
-
approver_user_account_ids,
|
|
15861
|
-
team_ids
|
|
15862
|
-
})
|
|
15863
|
-
}).json();
|
|
15864
|
-
}
|
|
15865
15729
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15866
15730
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15867
15731
|
}
|
|
@@ -15905,21 +15769,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15905
15769
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
15906
15770
|
}
|
|
15907
15771
|
//#endregion
|
|
15908
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
15909
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
15910
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
15911
|
-
signal,
|
|
15912
|
-
json: data
|
|
15913
|
-
}).json();
|
|
15914
|
-
}
|
|
15915
|
-
//#endregion
|
|
15916
15772
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15917
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15918
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15919
|
-
}
|
|
15920
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15921
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15922
|
-
}
|
|
15923
15773
|
async function getUserSettings(httpClient, signal) {
|
|
15924
15774
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15925
15775
|
}
|
|
@@ -16159,7 +16009,6 @@ const generatedFocusOperations = [
|
|
|
16159
16009
|
mcp: { entityTool: "audit-log" },
|
|
16160
16010
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16161
16011
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16162
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16163
16012
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16164
16013
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16165
16014
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16167,7 +16016,6 @@ const generatedFocusOperations = [
|
|
|
16167
16016
|
from: /* @__PURE__ */ string$1(),
|
|
16168
16017
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16169
16018
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16170
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16171
16019
|
to: /* @__PURE__ */ string$1(),
|
|
16172
16020
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16173
16021
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16201,7 +16049,6 @@ const generatedFocusOperations = [
|
|
|
16201
16049
|
mcp: { entityTool: "audit-log" },
|
|
16202
16050
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16203
16051
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16204
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16205
16052
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16206
16053
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16207
16054
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16209,7 +16056,6 @@ const generatedFocusOperations = [
|
|
|
16209
16056
|
from: /* @__PURE__ */ string$1(),
|
|
16210
16057
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16211
16058
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16212
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16213
16059
|
to: /* @__PURE__ */ string$1(),
|
|
16214
16060
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16215
16061
|
}),
|
|
@@ -16249,7 +16095,6 @@ const generatedFocusOperations = [
|
|
|
16249
16095
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16250
16096
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16251
16097
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16252
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16253
16098
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16254
16099
|
user_id: /* @__PURE__ */ number$2()
|
|
16255
16100
|
}),
|
|
@@ -16499,6 +16344,8 @@ const generatedFocusOperations = [
|
|
|
16499
16344
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16500
16345
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16501
16346
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16347
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16348
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16502
16349
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16503
16350
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16504
16351
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16532,6 +16379,8 @@ const generatedFocusOperations = [
|
|
|
16532
16379
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16533
16380
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16534
16381
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16382
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16383
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16535
16384
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16536
16385
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16537
16386
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16547,6 +16396,12 @@ const generatedFocusOperations = [
|
|
|
16547
16396
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16548
16397
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16549
16398
|
}))),
|
|
16399
|
+
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16400
|
+
start: apiDateTimeString,
|
|
16401
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16402
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16403
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16404
|
+
}))),
|
|
16550
16405
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16551
16406
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
16552
16407
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -16556,6 +16411,13 @@ const generatedFocusOperations = [
|
|
|
16556
16411
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16557
16412
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16558
16413
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16414
|
+
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16415
|
+
start: apiDateTimeString,
|
|
16416
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16417
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16418
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16419
|
+
})),
|
|
16420
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16559
16421
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16560
16422
|
}))
|
|
16561
16423
|
}) }),
|
|
@@ -16673,33 +16535,6 @@ const generatedFocusOperations = [
|
|
|
16673
16535
|
]));
|
|
16674
16536
|
}
|
|
16675
16537
|
},
|
|
16676
|
-
{
|
|
16677
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
16678
|
-
family: "focus",
|
|
16679
|
-
resource: "custom-fields",
|
|
16680
|
-
action: "get-allowed-users",
|
|
16681
|
-
title: "Get Allowed Users Custom Fields",
|
|
16682
|
-
description: "Get Allowed Users Custom Fields.",
|
|
16683
|
-
safety: "read",
|
|
16684
|
-
destructive: false,
|
|
16685
|
-
cli: {
|
|
16686
|
-
group: ["custom-fields"],
|
|
16687
|
-
command: "get-allowed-users",
|
|
16688
|
-
interactive: "available"
|
|
16689
|
-
},
|
|
16690
|
-
mcp: { entityTool: "custom-fields" },
|
|
16691
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16692
|
-
execute: (input, { client }) => {
|
|
16693
|
-
const data = input;
|
|
16694
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16695
|
-
client.httpClient,
|
|
16696
|
-
client.organizationId,
|
|
16697
|
-
client.workspaceIdNumber,
|
|
16698
|
-
data.custom_field_id,
|
|
16699
|
-
void 0
|
|
16700
|
-
]));
|
|
16701
|
-
}
|
|
16702
|
-
},
|
|
16703
16538
|
{
|
|
16704
16539
|
id: "focus.custom-fields.list",
|
|
16705
16540
|
family: "focus",
|
|
@@ -16869,37 +16704,6 @@ const generatedFocusOperations = [
|
|
|
16869
16704
|
]));
|
|
16870
16705
|
}
|
|
16871
16706
|
},
|
|
16872
|
-
{
|
|
16873
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16874
|
-
family: "focus",
|
|
16875
|
-
resource: "custom-fields",
|
|
16876
|
-
action: "replace-custom-field-allowed-users",
|
|
16877
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16878
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16879
|
-
safety: "update",
|
|
16880
|
-
destructive: false,
|
|
16881
|
-
cli: {
|
|
16882
|
-
group: ["custom-fields"],
|
|
16883
|
-
command: "replace-custom-field-allowed-users",
|
|
16884
|
-
interactive: "default"
|
|
16885
|
-
},
|
|
16886
|
-
mcp: { entityTool: "custom-fields" },
|
|
16887
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16888
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16889
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16890
|
-
}),
|
|
16891
|
-
execute: (input, { client }) => {
|
|
16892
|
-
const data = input;
|
|
16893
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16894
|
-
client.httpClient,
|
|
16895
|
-
client.organizationId,
|
|
16896
|
-
client.workspaceIdNumber,
|
|
16897
|
-
data.custom_field_id,
|
|
16898
|
-
data.payload ?? data.data ?? data,
|
|
16899
|
-
void 0
|
|
16900
|
-
]));
|
|
16901
|
-
}
|
|
16902
|
-
},
|
|
16903
16707
|
{
|
|
16904
16708
|
id: "focus.custom-fields.update",
|
|
16905
16709
|
family: "focus",
|
|
@@ -17030,256 +16834,6 @@ const generatedFocusOperations = [
|
|
|
17030
16834
|
]));
|
|
17031
16835
|
}
|
|
17032
16836
|
},
|
|
17033
|
-
{
|
|
17034
|
-
id: "focus.designations.bulk-create-workspace",
|
|
17035
|
-
family: "focus",
|
|
17036
|
-
resource: "designations",
|
|
17037
|
-
action: "bulk-create-workspace",
|
|
17038
|
-
title: "Bulk Create Workspace Designations",
|
|
17039
|
-
description: "Bulk Create Workspace Designations.",
|
|
17040
|
-
safety: "create",
|
|
17041
|
-
destructive: false,
|
|
17042
|
-
cli: {
|
|
17043
|
-
group: ["designations", "bulk"],
|
|
17044
|
-
command: "create-workspace",
|
|
17045
|
-
interactive: "default"
|
|
17046
|
-
},
|
|
17047
|
-
mcp: { entityTool: "designations" },
|
|
17048
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17049
|
-
name: /* @__PURE__ */ string$1(),
|
|
17050
|
-
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17051
|
-
})) }) }),
|
|
17052
|
-
execute: (input, { client }) => {
|
|
17053
|
-
const data = input;
|
|
17054
|
-
return client.runGeneratedRequest("bulkCreateWorkspaceDesignations", () => callGeneratedRequest(bulkCreateWorkspaceDesignations, [
|
|
17055
|
-
client.httpClient,
|
|
17056
|
-
client.organizationId,
|
|
17057
|
-
client.workspaceIdNumber,
|
|
17058
|
-
data.payload ?? data.data ?? data,
|
|
17059
|
-
void 0
|
|
17060
|
-
]));
|
|
17061
|
-
}
|
|
17062
|
-
},
|
|
17063
|
-
{
|
|
17064
|
-
id: "focus.designations.bulk-delete-workspace",
|
|
17065
|
-
family: "focus",
|
|
17066
|
-
resource: "designations",
|
|
17067
|
-
action: "bulk-delete-workspace",
|
|
17068
|
-
title: "Bulk Delete Workspace Designations",
|
|
17069
|
-
description: "Bulk Delete Workspace Designations.",
|
|
17070
|
-
safety: "delete",
|
|
17071
|
-
destructive: true,
|
|
17072
|
-
cli: {
|
|
17073
|
-
group: ["designations", "bulk"],
|
|
17074
|
-
command: "delete-workspace",
|
|
17075
|
-
interactive: "default"
|
|
17076
|
-
},
|
|
17077
|
-
mcp: { entityTool: "designations" },
|
|
17078
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
17079
|
-
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17080
|
-
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
17081
|
-
}),
|
|
17082
|
-
execute: (input, { client }) => {
|
|
17083
|
-
const data = input;
|
|
17084
|
-
return client.runGeneratedRequest("bulkDeleteWorkspaceDesignations", () => callGeneratedRequest(bulkDeleteWorkspaceDesignations, [
|
|
17085
|
-
client.httpClient,
|
|
17086
|
-
client.organizationId,
|
|
17087
|
-
client.workspaceIdNumber,
|
|
17088
|
-
data.ids,
|
|
17089
|
-
data.all_or_none,
|
|
17090
|
-
void 0
|
|
17091
|
-
]));
|
|
17092
|
-
}
|
|
17093
|
-
},
|
|
17094
|
-
{
|
|
17095
|
-
id: "focus.designations.bulk-update-workspace",
|
|
17096
|
-
family: "focus",
|
|
17097
|
-
resource: "designations",
|
|
17098
|
-
action: "bulk-update-workspace",
|
|
17099
|
-
title: "Bulk Update Workspace Designations",
|
|
17100
|
-
description: "Bulk Update Workspace Designations.",
|
|
17101
|
-
safety: "update",
|
|
17102
|
-
destructive: false,
|
|
17103
|
-
cli: {
|
|
17104
|
-
group: ["designations", "bulk"],
|
|
17105
|
-
command: "update-workspace",
|
|
17106
|
-
interactive: "default"
|
|
17107
|
-
},
|
|
17108
|
-
mcp: { entityTool: "designations" },
|
|
17109
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17110
|
-
designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17111
|
-
id: /* @__PURE__ */ number$2(),
|
|
17112
|
-
name: /* @__PURE__ */ string$1()
|
|
17113
|
-
})),
|
|
17114
|
-
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
17115
|
-
}) }),
|
|
17116
|
-
execute: (input, { client }) => {
|
|
17117
|
-
const data = input;
|
|
17118
|
-
return client.runGeneratedRequest("bulkUpdateWorkspaceDesignations", () => callGeneratedRequest(bulkUpdateWorkspaceDesignations, [
|
|
17119
|
-
client.httpClient,
|
|
17120
|
-
client.organizationId,
|
|
17121
|
-
client.workspaceIdNumber,
|
|
17122
|
-
data.payload ?? data.data ?? data,
|
|
17123
|
-
void 0
|
|
17124
|
-
]));
|
|
17125
|
-
}
|
|
17126
|
-
},
|
|
17127
|
-
{
|
|
17128
|
-
id: "focus.designations.create-workspace",
|
|
17129
|
-
family: "focus",
|
|
17130
|
-
resource: "designations",
|
|
17131
|
-
action: "create-workspace",
|
|
17132
|
-
title: "Create Workspace Designations",
|
|
17133
|
-
description: "Create Workspace Designations.",
|
|
17134
|
-
safety: "create",
|
|
17135
|
-
destructive: false,
|
|
17136
|
-
cli: {
|
|
17137
|
-
group: ["designations"],
|
|
17138
|
-
command: "create-workspace",
|
|
17139
|
-
interactive: "default"
|
|
17140
|
-
},
|
|
17141
|
-
mcp: { entityTool: "designations" },
|
|
17142
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17143
|
-
name: /* @__PURE__ */ string$1(),
|
|
17144
|
-
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17145
|
-
}) }),
|
|
17146
|
-
execute: (input, { client }) => {
|
|
17147
|
-
const data = input;
|
|
17148
|
-
return client.runGeneratedRequest("createWorkspaceDesignation", () => callGeneratedRequest(createWorkspaceDesignation, [
|
|
17149
|
-
client.httpClient,
|
|
17150
|
-
client.organizationId,
|
|
17151
|
-
client.workspaceIdNumber,
|
|
17152
|
-
data.payload ?? data.data ?? data,
|
|
17153
|
-
void 0
|
|
17154
|
-
]));
|
|
17155
|
-
}
|
|
17156
|
-
},
|
|
17157
|
-
{
|
|
17158
|
-
id: "focus.designations.delete-workspace",
|
|
17159
|
-
family: "focus",
|
|
17160
|
-
resource: "designations",
|
|
17161
|
-
action: "delete-workspace",
|
|
17162
|
-
title: "Delete Workspace Designations",
|
|
17163
|
-
description: "Delete Workspace Designations.",
|
|
17164
|
-
safety: "delete",
|
|
17165
|
-
destructive: true,
|
|
17166
|
-
cli: {
|
|
17167
|
-
group: ["designations"],
|
|
17168
|
-
command: "delete-workspace",
|
|
17169
|
-
interactive: "default"
|
|
17170
|
-
},
|
|
17171
|
-
mcp: { entityTool: "designations" },
|
|
17172
|
-
inputSchema: /* @__PURE__ */ looseObject({ designation_id: /* @__PURE__ */ number$2() }),
|
|
17173
|
-
execute: (input, { client }) => {
|
|
17174
|
-
const data = input;
|
|
17175
|
-
return client.runGeneratedRequest("deleteWorkspaceDesignation", () => callGeneratedRequest(deleteWorkspaceDesignation, [
|
|
17176
|
-
client.httpClient,
|
|
17177
|
-
client.organizationId,
|
|
17178
|
-
client.workspaceIdNumber,
|
|
17179
|
-
data.designation_id,
|
|
17180
|
-
void 0
|
|
17181
|
-
]));
|
|
17182
|
-
}
|
|
17183
|
-
},
|
|
17184
|
-
{
|
|
17185
|
-
id: "focus.designations.get-workspace-designations",
|
|
17186
|
-
family: "focus",
|
|
17187
|
-
resource: "designations",
|
|
17188
|
-
action: "get-workspace-designations",
|
|
17189
|
-
title: "Get Workspace Designations Designations",
|
|
17190
|
-
description: "Get Workspace Designations Designations.",
|
|
17191
|
-
safety: "read",
|
|
17192
|
-
destructive: false,
|
|
17193
|
-
cli: {
|
|
17194
|
-
group: ["designations"],
|
|
17195
|
-
command: "get-workspace-designations",
|
|
17196
|
-
interactive: "hidden"
|
|
17197
|
-
},
|
|
17198
|
-
mcp: { entityTool: "designations" },
|
|
17199
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
17200
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17201
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17202
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17203
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
17204
|
-
}),
|
|
17205
|
-
execute: (input, { client }) => {
|
|
17206
|
-
const data = input;
|
|
17207
|
-
return client.runGeneratedRequest("getWorkspaceDesignationsClassic", () => callGeneratedRequest(getWorkspaceDesignationsClassic, [
|
|
17208
|
-
client.httpClient,
|
|
17209
|
-
client.organizationId,
|
|
17210
|
-
client.workspaceIdNumber,
|
|
17211
|
-
data,
|
|
17212
|
-
void 0
|
|
17213
|
-
]));
|
|
17214
|
-
}
|
|
17215
|
-
},
|
|
17216
|
-
{
|
|
17217
|
-
id: "focus.designations.update-workspace",
|
|
17218
|
-
family: "focus",
|
|
17219
|
-
resource: "designations",
|
|
17220
|
-
action: "update-workspace",
|
|
17221
|
-
title: "Update Workspace Designations",
|
|
17222
|
-
description: "Update Workspace Designations.",
|
|
17223
|
-
safety: "update",
|
|
17224
|
-
destructive: false,
|
|
17225
|
-
cli: {
|
|
17226
|
-
group: ["designations"],
|
|
17227
|
-
command: "update-workspace",
|
|
17228
|
-
interactive: "default"
|
|
17229
|
-
},
|
|
17230
|
-
mcp: { entityTool: "designations" },
|
|
17231
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
17232
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
17233
|
-
payload: /* @__PURE__ */ looseObject({ name: /* @__PURE__ */ string$1() })
|
|
17234
|
-
}),
|
|
17235
|
-
execute: (input, { client }) => {
|
|
17236
|
-
const data = input;
|
|
17237
|
-
return client.runGeneratedRequest("updateWorkspaceDesignation", () => callGeneratedRequest(updateWorkspaceDesignation, [
|
|
17238
|
-
client.httpClient,
|
|
17239
|
-
client.organizationId,
|
|
17240
|
-
client.workspaceIdNumber,
|
|
17241
|
-
data.designation_id,
|
|
17242
|
-
data.payload ?? data.data ?? data,
|
|
17243
|
-
void 0
|
|
17244
|
-
]));
|
|
17245
|
-
}
|
|
17246
|
-
},
|
|
17247
|
-
{
|
|
17248
|
-
id: "focus.designations.update-workspace-designation-members",
|
|
17249
|
-
family: "focus",
|
|
17250
|
-
resource: "designations",
|
|
17251
|
-
action: "update-workspace-designation-members",
|
|
17252
|
-
title: "Update Workspace Designation Members Designations",
|
|
17253
|
-
description: "Update Workspace Designation Members Designations.",
|
|
17254
|
-
safety: "update",
|
|
17255
|
-
destructive: false,
|
|
17256
|
-
cli: {
|
|
17257
|
-
group: ["designations"],
|
|
17258
|
-
command: "update-workspace-designation-members",
|
|
17259
|
-
interactive: "default"
|
|
17260
|
-
},
|
|
17261
|
-
mcp: { entityTool: "designations" },
|
|
17262
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17263
|
-
add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17264
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
17265
|
-
toggl_user_id: /* @__PURE__ */ number$2()
|
|
17266
|
-
}))),
|
|
17267
|
-
remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17268
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
17269
|
-
toggl_user_id: /* @__PURE__ */ number$2()
|
|
17270
|
-
})))
|
|
17271
|
-
}) }),
|
|
17272
|
-
execute: (input, { client }) => {
|
|
17273
|
-
const data = input;
|
|
17274
|
-
return client.runGeneratedRequest("updateWorkspaceDesignationMembers", () => callGeneratedRequest(updateWorkspaceDesignationMembers, [
|
|
17275
|
-
client.httpClient,
|
|
17276
|
-
client.organizationId,
|
|
17277
|
-
client.workspaceIdNumber,
|
|
17278
|
-
data.payload ?? data.data ?? data,
|
|
17279
|
-
void 0
|
|
17280
|
-
]));
|
|
17281
|
-
}
|
|
17282
|
-
},
|
|
17283
16837
|
{
|
|
17284
16838
|
id: "focus.goals.create",
|
|
17285
16839
|
family: "focus",
|
|
@@ -17296,7 +16850,13 @@ const generatedFocusOperations = [
|
|
|
17296
16850
|
},
|
|
17297
16851
|
mcp: { entityTool: "goals" },
|
|
17298
16852
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16853
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17299
16854
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16855
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16856
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16857
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16858
|
+
name: /* @__PURE__ */ string$1(),
|
|
16859
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17300
16860
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17301
16861
|
"daily",
|
|
17302
16862
|
"weekly",
|
|
@@ -17304,18 +16864,12 @@ const generatedFocusOperations = [
|
|
|
17304
16864
|
"monthly"
|
|
17305
16865
|
]),
|
|
17306
16866
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16867
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17307
16868
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17308
|
-
|
|
16869
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16870
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17309
16871
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17310
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17311
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17312
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17313
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17314
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17315
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17316
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17317
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17318
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16872
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17319
16873
|
}) }),
|
|
17320
16874
|
execute: (input, { client }) => {
|
|
17321
16875
|
const data = input;
|
|
@@ -17421,6 +16975,13 @@ const generatedFocusOperations = [
|
|
|
17421
16975
|
},
|
|
17422
16976
|
mcp: { entityTool: "goals" },
|
|
17423
16977
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16978
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
16979
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16980
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16981
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16982
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16983
|
+
name: /* @__PURE__ */ string$1(),
|
|
16984
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17424
16985
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17425
16986
|
"daily",
|
|
17426
16987
|
"weekly",
|
|
@@ -17428,19 +16989,12 @@ const generatedFocusOperations = [
|
|
|
17428
16989
|
"monthly"
|
|
17429
16990
|
]),
|
|
17430
16991
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17431
|
-
|
|
16992
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16993
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
16994
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16995
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17432
16996
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17433
|
-
|
|
17434
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17435
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17436
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17437
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17438
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17439
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17440
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17441
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17442
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17443
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16997
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17444
16998
|
}) }),
|
|
17445
16999
|
execute: (input, { client }) => {
|
|
17446
17000
|
const data = input;
|
|
@@ -18407,17 +17961,9 @@ const generatedFocusOperations = [
|
|
|
18407
17961
|
mcp: { entityTool: "projects" },
|
|
18408
17962
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18409
17963
|
payload: /* @__PURE__ */ looseObject({
|
|
18410
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18411
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18412
17964
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18413
17965
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18414
17966
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18415
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18416
|
-
"expire",
|
|
18417
|
-
"carry_all",
|
|
18418
|
-
"carry_over"
|
|
18419
|
-
])),
|
|
18420
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18421
17967
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18422
17968
|
}),
|
|
18423
17969
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18861,7 +18407,6 @@ const generatedFocusOperations = [
|
|
|
18861
18407
|
group: /* @__PURE__ */ string$1(),
|
|
18862
18408
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18863
18409
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18864
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18865
18410
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18866
18411
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18867
18412
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18965,17 +18510,40 @@ const generatedFocusOperations = [
|
|
|
18965
18510
|
}
|
|
18966
18511
|
},
|
|
18967
18512
|
{
|
|
18968
|
-
id: "focus.projects.margin-targets-
|
|
18513
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
18969
18514
|
family: "focus",
|
|
18970
18515
|
resource: "projects",
|
|
18971
|
-
action: "margin-targets-
|
|
18972
|
-
title: "Margin Targets
|
|
18973
|
-
description: "Margin Targets
|
|
18974
|
-
safety: "
|
|
18975
|
-
destructive:
|
|
18516
|
+
action: "margin-targets-clear-workspace",
|
|
18517
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
18518
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
18519
|
+
safety: "delete",
|
|
18520
|
+
destructive: true,
|
|
18976
18521
|
cli: {
|
|
18977
18522
|
group: ["projects", "margin-targets"],
|
|
18978
|
-
command: "
|
|
18523
|
+
command: "clear-workspace",
|
|
18524
|
+
interactive: "default"
|
|
18525
|
+
},
|
|
18526
|
+
mcp: { entityTool: "projects" },
|
|
18527
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18528
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18529
|
+
client.httpClient,
|
|
18530
|
+
client.organizationId,
|
|
18531
|
+
client.workspaceIdNumber,
|
|
18532
|
+
void 0
|
|
18533
|
+
]))
|
|
18534
|
+
},
|
|
18535
|
+
{
|
|
18536
|
+
id: "focus.projects.margin-targets-get",
|
|
18537
|
+
family: "focus",
|
|
18538
|
+
resource: "projects",
|
|
18539
|
+
action: "margin-targets-get",
|
|
18540
|
+
title: "Margin Targets Get Projects",
|
|
18541
|
+
description: "Margin Targets Get Projects.",
|
|
18542
|
+
safety: "read",
|
|
18543
|
+
destructive: false,
|
|
18544
|
+
cli: {
|
|
18545
|
+
group: ["projects", "margin-targets"],
|
|
18546
|
+
command: "get",
|
|
18979
18547
|
interactive: "available"
|
|
18980
18548
|
},
|
|
18981
18549
|
mcp: { entityTool: "projects" },
|
|
@@ -19408,130 +18976,6 @@ const generatedFocusOperations = [
|
|
|
19408
18976
|
]));
|
|
19409
18977
|
}
|
|
19410
18978
|
},
|
|
19411
|
-
{
|
|
19412
|
-
id: "focus.publicsharedreports.open-public-shared-report",
|
|
19413
|
-
family: "focus",
|
|
19414
|
-
resource: "publicsharedreports",
|
|
19415
|
-
action: "open-public-shared-report",
|
|
19416
|
-
title: "Open Public Shared Report Publicsharedreports",
|
|
19417
|
-
description: "Open Public Shared Report Publicsharedreports.",
|
|
19418
|
-
safety: "read",
|
|
19419
|
-
destructive: false,
|
|
19420
|
-
cli: {
|
|
19421
|
-
group: ["publicsharedreports"],
|
|
19422
|
-
command: "open-public-shared-report",
|
|
19423
|
-
interactive: "available"
|
|
19424
|
-
},
|
|
19425
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19426
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
19427
|
-
execute: (input, { client }) => {
|
|
19428
|
-
const data = input;
|
|
19429
|
-
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
19430
|
-
client.httpClient,
|
|
19431
|
-
data.token,
|
|
19432
|
-
void 0
|
|
19433
|
-
]));
|
|
19434
|
-
}
|
|
19435
|
-
},
|
|
19436
|
-
{
|
|
19437
|
-
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
19438
|
-
family: "focus",
|
|
19439
|
-
resource: "publicsharedreports",
|
|
19440
|
-
action: "profitability-public-shared-report",
|
|
19441
|
-
title: "Profitability Public Shared Report Publicsharedreports",
|
|
19442
|
-
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
19443
|
-
safety: "update",
|
|
19444
|
-
destructive: false,
|
|
19445
|
-
cli: {
|
|
19446
|
-
group: ["publicsharedreports"],
|
|
19447
|
-
command: "profitability-public-shared-report",
|
|
19448
|
-
interactive: "default"
|
|
19449
|
-
},
|
|
19450
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19451
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19452
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19453
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19454
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
19455
|
-
token: /* @__PURE__ */ string$1()
|
|
19456
|
-
}),
|
|
19457
|
-
execute: (input, { client }) => {
|
|
19458
|
-
const data = input;
|
|
19459
|
-
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
19460
|
-
client.httpClient,
|
|
19461
|
-
data.token,
|
|
19462
|
-
data.payload ?? data.data ?? data,
|
|
19463
|
-
data.response_format,
|
|
19464
|
-
data.include_dicts,
|
|
19465
|
-
void 0
|
|
19466
|
-
]));
|
|
19467
|
-
}
|
|
19468
|
-
},
|
|
19469
|
-
{
|
|
19470
|
-
id: "focus.publicsharedreports.query-public-shared-report",
|
|
19471
|
-
family: "focus",
|
|
19472
|
-
resource: "publicsharedreports",
|
|
19473
|
-
action: "query-public-shared-report",
|
|
19474
|
-
title: "Query Public Shared Report Publicsharedreports",
|
|
19475
|
-
description: "Query Public Shared Report Publicsharedreports.",
|
|
19476
|
-
safety: "update",
|
|
19477
|
-
destructive: false,
|
|
19478
|
-
cli: {
|
|
19479
|
-
group: ["publicsharedreports"],
|
|
19480
|
-
command: "query-public-shared-report",
|
|
19481
|
-
interactive: "default"
|
|
19482
|
-
},
|
|
19483
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19484
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19485
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19486
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19487
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19488
|
-
"json_row",
|
|
19489
|
-
"table",
|
|
19490
|
-
"hierarchical"
|
|
19491
|
-
])),
|
|
19492
|
-
token: /* @__PURE__ */ string$1()
|
|
19493
|
-
}),
|
|
19494
|
-
execute: (input, { client }) => {
|
|
19495
|
-
const data = input;
|
|
19496
|
-
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
19497
|
-
client.httpClient,
|
|
19498
|
-
data.token,
|
|
19499
|
-
data.payload ?? data.data ?? data,
|
|
19500
|
-
data.response_format,
|
|
19501
|
-
data.include_dicts,
|
|
19502
|
-
void 0
|
|
19503
|
-
]));
|
|
19504
|
-
}
|
|
19505
|
-
},
|
|
19506
|
-
{
|
|
19507
|
-
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
19508
|
-
family: "focus",
|
|
19509
|
-
resource: "publicsharedreports",
|
|
19510
|
-
action: "workload-public-shared-report",
|
|
19511
|
-
title: "Workload Public Shared Report Publicsharedreports",
|
|
19512
|
-
description: "Workload Public Shared Report Publicsharedreports.",
|
|
19513
|
-
safety: "update",
|
|
19514
|
-
destructive: false,
|
|
19515
|
-
cli: {
|
|
19516
|
-
group: ["publicsharedreports"],
|
|
19517
|
-
command: "workload-public-shared-report",
|
|
19518
|
-
interactive: "default"
|
|
19519
|
-
},
|
|
19520
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19521
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19522
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19523
|
-
token: /* @__PURE__ */ string$1()
|
|
19524
|
-
}),
|
|
19525
|
-
execute: (input, { client }) => {
|
|
19526
|
-
const data = input;
|
|
19527
|
-
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
19528
|
-
client.httpClient,
|
|
19529
|
-
data.token,
|
|
19530
|
-
data.payload ?? data.data ?? data,
|
|
19531
|
-
void 0
|
|
19532
|
-
]));
|
|
19533
|
-
}
|
|
19534
|
-
},
|
|
19535
18979
|
{
|
|
19536
18980
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
19537
18981
|
family: "focus",
|
|
@@ -21490,7 +20934,7 @@ const generatedFocusOperations = [
|
|
|
21490
20934
|
cli: {
|
|
21491
20935
|
group: ["reportschedules"],
|
|
21492
20936
|
command: "upsert-saved-view-schedule",
|
|
21493
|
-
interactive: "
|
|
20937
|
+
interactive: "default"
|
|
21494
20938
|
},
|
|
21495
20939
|
mcp: { entityTool: "reportschedules" },
|
|
21496
20940
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21501,10 +20945,8 @@ const generatedFocusOperations = [
|
|
|
21501
20945
|
"weekly",
|
|
21502
20946
|
"monthly"
|
|
21503
20947
|
]),
|
|
21504
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21505
20948
|
time: /* @__PURE__ */ string$1(),
|
|
21506
20949
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21507
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21508
20950
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21509
20951
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21510
20952
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21837,32 +21279,6 @@ const generatedFocusOperations = [
|
|
|
21837
21279
|
]));
|
|
21838
21280
|
}
|
|
21839
21281
|
},
|
|
21840
|
-
{
|
|
21841
|
-
id: "focus.sharedreports.get-shared-report-dates",
|
|
21842
|
-
family: "focus",
|
|
21843
|
-
resource: "sharedreports",
|
|
21844
|
-
action: "get-shared-report-dates",
|
|
21845
|
-
title: "Get Shared Report Dates Sharedreports",
|
|
21846
|
-
description: "Get Shared Report Dates Sharedreports.",
|
|
21847
|
-
safety: "read",
|
|
21848
|
-
destructive: false,
|
|
21849
|
-
cli: {
|
|
21850
|
-
group: ["sharedreports"],
|
|
21851
|
-
command: "get-shared-report-dates",
|
|
21852
|
-
interactive: "available"
|
|
21853
|
-
},
|
|
21854
|
-
mcp: { entityTool: "sharedreports" },
|
|
21855
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21856
|
-
execute: (input, { client }) => {
|
|
21857
|
-
const data = input;
|
|
21858
|
-
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
21859
|
-
client.httpClient,
|
|
21860
|
-
client.workspaceIdNumber,
|
|
21861
|
-
data.id,
|
|
21862
|
-
void 0
|
|
21863
|
-
]));
|
|
21864
|
-
}
|
|
21865
|
-
},
|
|
21866
21282
|
{
|
|
21867
21283
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21868
21284
|
family: "focus",
|
|
@@ -21933,36 +21349,6 @@ const generatedFocusOperations = [
|
|
|
21933
21349
|
void 0
|
|
21934
21350
|
]))
|
|
21935
21351
|
},
|
|
21936
|
-
{
|
|
21937
|
-
id: "focus.sharedreports.mint-shared-report-link",
|
|
21938
|
-
family: "focus",
|
|
21939
|
-
resource: "sharedreports",
|
|
21940
|
-
action: "mint-shared-report-link",
|
|
21941
|
-
title: "Mint Shared Report Link Sharedreports",
|
|
21942
|
-
description: "Mint Shared Report Link Sharedreports.",
|
|
21943
|
-
safety: "update",
|
|
21944
|
-
destructive: false,
|
|
21945
|
-
cli: {
|
|
21946
|
-
group: ["sharedreports"],
|
|
21947
|
-
command: "mint-shared-report-link",
|
|
21948
|
-
interactive: "default"
|
|
21949
|
-
},
|
|
21950
|
-
mcp: { entityTool: "sharedreports" },
|
|
21951
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21952
|
-
id: /* @__PURE__ */ number$2(),
|
|
21953
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21954
|
-
}),
|
|
21955
|
-
execute: (input, { client }) => {
|
|
21956
|
-
const data = input;
|
|
21957
|
-
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
21958
|
-
client.httpClient,
|
|
21959
|
-
client.workspaceIdNumber,
|
|
21960
|
-
data.id,
|
|
21961
|
-
data.payload ?? data.data ?? data,
|
|
21962
|
-
void 0
|
|
21963
|
-
]));
|
|
21964
|
-
}
|
|
21965
|
-
},
|
|
21966
21352
|
{
|
|
21967
21353
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21968
21354
|
family: "focus",
|
|
@@ -21993,92 +21379,6 @@ const generatedFocusOperations = [
|
|
|
21993
21379
|
]));
|
|
21994
21380
|
}
|
|
21995
21381
|
},
|
|
21996
|
-
{
|
|
21997
|
-
id: "focus.sharedreports.revoke-shared-report-link",
|
|
21998
|
-
family: "focus",
|
|
21999
|
-
resource: "sharedreports",
|
|
22000
|
-
action: "revoke-shared-report-link",
|
|
22001
|
-
title: "Revoke Shared Report Link Sharedreports",
|
|
22002
|
-
description: "Revoke Shared Report Link Sharedreports.",
|
|
22003
|
-
safety: "delete",
|
|
22004
|
-
destructive: true,
|
|
22005
|
-
cli: {
|
|
22006
|
-
group: ["sharedreports"],
|
|
22007
|
-
command: "revoke-shared-report-link",
|
|
22008
|
-
interactive: "default"
|
|
22009
|
-
},
|
|
22010
|
-
mcp: { entityTool: "sharedreports" },
|
|
22011
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
22012
|
-
execute: (input, { client }) => {
|
|
22013
|
-
const data = input;
|
|
22014
|
-
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
22015
|
-
client.httpClient,
|
|
22016
|
-
client.workspaceIdNumber,
|
|
22017
|
-
data.id,
|
|
22018
|
-
void 0
|
|
22019
|
-
]));
|
|
22020
|
-
}
|
|
22021
|
-
},
|
|
22022
|
-
{
|
|
22023
|
-
id: "focus.sharedreports.rotate-shared-report-link",
|
|
22024
|
-
family: "focus",
|
|
22025
|
-
resource: "sharedreports",
|
|
22026
|
-
action: "rotate-shared-report-link",
|
|
22027
|
-
title: "Rotate Shared Report Link Sharedreports",
|
|
22028
|
-
description: "Rotate Shared Report Link Sharedreports.",
|
|
22029
|
-
safety: "update",
|
|
22030
|
-
destructive: false,
|
|
22031
|
-
cli: {
|
|
22032
|
-
group: ["sharedreports"],
|
|
22033
|
-
command: "rotate-shared-report-link",
|
|
22034
|
-
interactive: "default"
|
|
22035
|
-
},
|
|
22036
|
-
mcp: { entityTool: "sharedreports" },
|
|
22037
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22038
|
-
id: /* @__PURE__ */ number$2(),
|
|
22039
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
22040
|
-
}),
|
|
22041
|
-
execute: (input, { client }) => {
|
|
22042
|
-
const data = input;
|
|
22043
|
-
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
22044
|
-
client.httpClient,
|
|
22045
|
-
client.workspaceIdNumber,
|
|
22046
|
-
data.id,
|
|
22047
|
-
data.payload ?? data.data ?? data,
|
|
22048
|
-
void 0
|
|
22049
|
-
]));
|
|
22050
|
-
}
|
|
22051
|
-
},
|
|
22052
|
-
{
|
|
22053
|
-
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
22054
|
-
family: "focus",
|
|
22055
|
-
resource: "sharedreports",
|
|
22056
|
-
action: "set-shared-report-dates-lock",
|
|
22057
|
-
title: "Set Shared Report Dates Lock Sharedreports",
|
|
22058
|
-
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
22059
|
-
safety: "update",
|
|
22060
|
-
destructive: false,
|
|
22061
|
-
cli: {
|
|
22062
|
-
group: ["sharedreports"],
|
|
22063
|
-
command: "set-shared-report-dates-lock",
|
|
22064
|
-
interactive: "default"
|
|
22065
|
-
},
|
|
22066
|
-
mcp: { entityTool: "sharedreports" },
|
|
22067
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22068
|
-
id: /* @__PURE__ */ number$2(),
|
|
22069
|
-
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
22070
|
-
}),
|
|
22071
|
-
execute: (input, { client }) => {
|
|
22072
|
-
const data = input;
|
|
22073
|
-
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
22074
|
-
client.httpClient,
|
|
22075
|
-
client.workspaceIdNumber,
|
|
22076
|
-
data.id,
|
|
22077
|
-
data.payload ?? data.data ?? data,
|
|
22078
|
-
void 0
|
|
22079
|
-
]));
|
|
22080
|
-
}
|
|
22081
|
-
},
|
|
22082
21382
|
{
|
|
22083
21383
|
id: "focus.sharedreports.share-saved-view",
|
|
22084
21384
|
family: "focus",
|
|
@@ -22153,32 +21453,6 @@ const generatedFocusOperations = [
|
|
|
22153
21453
|
]));
|
|
22154
21454
|
}
|
|
22155
21455
|
},
|
|
22156
|
-
{
|
|
22157
|
-
id: "focus.sharedreports.unshare-shared-report",
|
|
22158
|
-
family: "focus",
|
|
22159
|
-
resource: "sharedreports",
|
|
22160
|
-
action: "unshare-shared-report",
|
|
22161
|
-
title: "Unshare Shared Report Sharedreports",
|
|
22162
|
-
description: "Unshare Shared Report Sharedreports.",
|
|
22163
|
-
safety: "delete",
|
|
22164
|
-
destructive: true,
|
|
22165
|
-
cli: {
|
|
22166
|
-
group: ["sharedreports"],
|
|
22167
|
-
command: "unshare-shared-report",
|
|
22168
|
-
interactive: "default"
|
|
22169
|
-
},
|
|
22170
|
-
mcp: { entityTool: "sharedreports" },
|
|
22171
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
22172
|
-
execute: (input, { client }) => {
|
|
22173
|
-
const data = input;
|
|
22174
|
-
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
22175
|
-
client.httpClient,
|
|
22176
|
-
client.workspaceIdNumber,
|
|
22177
|
-
data.id,
|
|
22178
|
-
void 0
|
|
22179
|
-
]));
|
|
22180
|
-
}
|
|
22181
|
-
},
|
|
22182
21456
|
{
|
|
22183
21457
|
id: "focus.statuses.create-status",
|
|
22184
21458
|
family: "focus",
|
|
@@ -23221,37 +22495,6 @@ const generatedFocusOperations = [
|
|
|
23221
22495
|
return client.createTask(data);
|
|
23222
22496
|
}
|
|
23223
22497
|
},
|
|
23224
|
-
{
|
|
23225
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
23226
|
-
family: "focus",
|
|
23227
|
-
resource: "tasks",
|
|
23228
|
-
action: "create-recurring-occurrence",
|
|
23229
|
-
title: "Create Recurring Occurrence Tasks",
|
|
23230
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
23231
|
-
safety: "create",
|
|
23232
|
-
destructive: false,
|
|
23233
|
-
cli: {
|
|
23234
|
-
group: ["tasks"],
|
|
23235
|
-
command: "create-recurring-occurrence",
|
|
23236
|
-
interactive: "default"
|
|
23237
|
-
},
|
|
23238
|
-
mcp: { entityTool: "tasks" },
|
|
23239
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23240
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23241
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23242
|
-
}),
|
|
23243
|
-
execute: (input, { client }) => {
|
|
23244
|
-
const data = input;
|
|
23245
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
23246
|
-
client.httpClient,
|
|
23247
|
-
client.organizationId,
|
|
23248
|
-
client.workspaceIdNumber,
|
|
23249
|
-
data.task_id,
|
|
23250
|
-
data.return_occurrence,
|
|
23251
|
-
void 0
|
|
23252
|
-
]));
|
|
23253
|
-
}
|
|
23254
|
-
},
|
|
23255
22498
|
{
|
|
23256
22499
|
id: "focus.tasks.delete",
|
|
23257
22500
|
family: "focus",
|
|
@@ -23477,90 +22720,17 @@ const generatedFocusOperations = [
|
|
|
23477
22720
|
}
|
|
23478
22721
|
},
|
|
23479
22722
|
{
|
|
23480
|
-
id: "focus.tasks.get-
|
|
22723
|
+
id: "focus.tasks.get-recurring-instances",
|
|
23481
22724
|
family: "focus",
|
|
23482
22725
|
resource: "tasks",
|
|
23483
|
-
action: "get-
|
|
23484
|
-
title: "Get
|
|
23485
|
-
description: "Get
|
|
22726
|
+
action: "get-recurring-instances",
|
|
22727
|
+
title: "Get Recurring Instances Tasks",
|
|
22728
|
+
description: "Get Recurring Instances Tasks.",
|
|
23486
22729
|
safety: "read",
|
|
23487
22730
|
destructive: false,
|
|
23488
22731
|
cli: {
|
|
23489
22732
|
group: ["tasks"],
|
|
23490
|
-
command: "get-
|
|
23491
|
-
interactive: "hidden"
|
|
23492
|
-
},
|
|
23493
|
-
mcp: { entityTool: "tasks" },
|
|
23494
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23495
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23496
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23497
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23498
|
-
parent_task_id: /* @__PURE__ */ number$2(),
|
|
23499
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23500
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23501
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23502
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23503
|
-
}),
|
|
23504
|
-
execute: (input, { client }) => {
|
|
23505
|
-
const data = input;
|
|
23506
|
-
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
23507
|
-
client.httpClient,
|
|
23508
|
-
client.organizationId,
|
|
23509
|
-
client.workspaceIdNumber,
|
|
23510
|
-
data.parent_task_id,
|
|
23511
|
-
data,
|
|
23512
|
-
void 0
|
|
23513
|
-
]));
|
|
23514
|
-
}
|
|
23515
|
-
},
|
|
23516
|
-
{
|
|
23517
|
-
id: "focus.tasks.get-picker-task-groups",
|
|
23518
|
-
family: "focus",
|
|
23519
|
-
resource: "tasks",
|
|
23520
|
-
action: "get-picker-task-groups",
|
|
23521
|
-
title: "Get Picker Task Groups Tasks",
|
|
23522
|
-
description: "Get Picker Task Groups Tasks.",
|
|
23523
|
-
safety: "read",
|
|
23524
|
-
destructive: false,
|
|
23525
|
-
cli: {
|
|
23526
|
-
group: ["tasks"],
|
|
23527
|
-
command: "get-picker-task-groups",
|
|
23528
|
-
interactive: "hidden"
|
|
23529
|
-
},
|
|
23530
|
-
mcp: { entityTool: "tasks" },
|
|
23531
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23532
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23533
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23534
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23535
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23536
|
-
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23537
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23538
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23539
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23540
|
-
}),
|
|
23541
|
-
execute: (input, { client }) => {
|
|
23542
|
-
const data = input;
|
|
23543
|
-
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
23544
|
-
client.httpClient,
|
|
23545
|
-
client.organizationId,
|
|
23546
|
-
client.workspaceIdNumber,
|
|
23547
|
-
data,
|
|
23548
|
-
void 0
|
|
23549
|
-
]));
|
|
23550
|
-
}
|
|
23551
|
-
},
|
|
23552
|
-
{
|
|
23553
|
-
id: "focus.tasks.get-recurring-instances",
|
|
23554
|
-
family: "focus",
|
|
23555
|
-
resource: "tasks",
|
|
23556
|
-
action: "get-recurring-instances",
|
|
23557
|
-
title: "Get Recurring Instances Tasks",
|
|
23558
|
-
description: "Get Recurring Instances Tasks.",
|
|
23559
|
-
safety: "read",
|
|
23560
|
-
destructive: false,
|
|
23561
|
-
cli: {
|
|
23562
|
-
group: ["tasks"],
|
|
23563
|
-
command: "get-recurring-instances",
|
|
22733
|
+
command: "get-recurring-instances",
|
|
23564
22734
|
interactive: "hidden"
|
|
23565
22735
|
},
|
|
23566
22736
|
mcp: { entityTool: "tasks" },
|
|
@@ -23572,13 +22742,9 @@ const generatedFocusOperations = [
|
|
|
23572
22742
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23573
22743
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23574
22744
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23575
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23576
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23577
22745
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23578
22746
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23579
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23580
22747
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23581
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23582
22748
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23583
22749
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23584
22750
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23624,14 +22790,13 @@ const generatedFocusOperations = [
|
|
|
23624
22790
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23625
22791
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23626
22792
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22793
|
+
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23627
22794
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23628
22795
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23629
22796
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23630
22797
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23631
22798
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23632
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23633
22799
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23634
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23635
22800
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23636
22801
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23637
22802
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23640,9 +22805,7 @@ const generatedFocusOperations = [
|
|
|
23640
22805
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23641
22806
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23642
22807
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23643
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23644
22808
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23645
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23646
22809
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23647
22810
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23648
22811
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23651,6 +22814,8 @@ const generatedFocusOperations = [
|
|
|
23651
22814
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23652
22815
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23653
22816
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22817
|
+
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22818
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23654
22819
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23655
22820
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23656
22821
|
}),
|
|
@@ -23778,10 +22943,8 @@ const generatedFocusOperations = [
|
|
|
23778
22943
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23779
22944
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23780
22945
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23781
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23782
22946
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23783
22947
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23784
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23785
22948
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23786
22949
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23787
22950
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23790,8 +22953,6 @@ const generatedFocusOperations = [
|
|
|
23790
22953
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23791
22954
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23792
22955
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23793
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23794
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23795
22956
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23796
22957
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23797
22958
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23800,8 +22961,7 @@ const generatedFocusOperations = [
|
|
|
23800
22961
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23801
22962
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23802
22963
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23803
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23804
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22964
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23805
22965
|
}),
|
|
23806
22966
|
execute: (input, { client }) => {
|
|
23807
22967
|
const data = input;
|
|
@@ -23843,17 +23003,13 @@ const generatedFocusOperations = [
|
|
|
23843
23003
|
group_id: /* @__PURE__ */ number$2(),
|
|
23844
23004
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23845
23005
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23846
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23847
23006
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23848
23007
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23849
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23850
23008
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23851
23009
|
name: /* @__PURE__ */ unknown$1(),
|
|
23852
23010
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23853
23011
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23854
23012
|
project_id: /* @__PURE__ */ number$2(),
|
|
23855
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23856
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23857
23013
|
source: /* @__PURE__ */ unknown$1(),
|
|
23858
23014
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23859
23015
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23862,8 +23018,7 @@ const generatedFocusOperations = [
|
|
|
23862
23018
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23863
23019
|
team_id: /* @__PURE__ */ number$2(),
|
|
23864
23020
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23865
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23866
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23021
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23867
23022
|
}),
|
|
23868
23023
|
execute: (input, { client }) => {
|
|
23869
23024
|
const data = input;
|
|
@@ -23904,17 +23059,13 @@ const generatedFocusOperations = [
|
|
|
23904
23059
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23905
23060
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23906
23061
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23907
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23908
23062
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23909
23063
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23910
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23911
23064
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23912
23065
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23913
23066
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23914
23067
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23915
23068
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23916
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23917
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23918
23069
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23919
23070
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23920
23071
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23923,8 +23074,7 @@ const generatedFocusOperations = [
|
|
|
23923
23074
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23924
23075
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23925
23076
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23926
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23927
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23077
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23928
23078
|
}),
|
|
23929
23079
|
execute: (input, { client }) => {
|
|
23930
23080
|
const data = input;
|
|
@@ -24168,45 +23318,508 @@ const generatedFocusOperations = [
|
|
|
24168
23318
|
}),
|
|
24169
23319
|
execute: (input, { client }) => {
|
|
24170
23320
|
const data = input;
|
|
24171
|
-
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
23321
|
+
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
23322
|
+
client.httpClient,
|
|
23323
|
+
client.organizationId,
|
|
23324
|
+
client.workspaceIdNumber,
|
|
23325
|
+
data.task_id,
|
|
23326
|
+
data.payload ?? data.data ?? data,
|
|
23327
|
+
void 0
|
|
23328
|
+
]));
|
|
23329
|
+
}
|
|
23330
|
+
},
|
|
23331
|
+
{
|
|
23332
|
+
id: "focus.tasks.update-calendar-range",
|
|
23333
|
+
family: "focus",
|
|
23334
|
+
resource: "tasks",
|
|
23335
|
+
action: "update-calendar-range",
|
|
23336
|
+
title: "Update Calendar Range Tasks",
|
|
23337
|
+
description: "Update Calendar Range Tasks.",
|
|
23338
|
+
safety: "update",
|
|
23339
|
+
destructive: false,
|
|
23340
|
+
cli: {
|
|
23341
|
+
group: ["tasks"],
|
|
23342
|
+
command: "update-calendar-range",
|
|
23343
|
+
interactive: "default"
|
|
23344
|
+
},
|
|
23345
|
+
mcp: { entityTool: "tasks" },
|
|
23346
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23347
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
23348
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23349
|
+
}),
|
|
23350
|
+
execute: (input, { client }) => {
|
|
23351
|
+
const data = input;
|
|
23352
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
23353
|
+
client.httpClient,
|
|
23354
|
+
client.organizationId,
|
|
23355
|
+
client.workspaceIdNumber,
|
|
23356
|
+
data.date_from,
|
|
23357
|
+
data.date_to,
|
|
23358
|
+
void 0
|
|
23359
|
+
]));
|
|
23360
|
+
}
|
|
23361
|
+
},
|
|
23362
|
+
{
|
|
23363
|
+
id: "focus.time-blocks.archive",
|
|
23364
|
+
family: "focus",
|
|
23365
|
+
resource: "time-blocks",
|
|
23366
|
+
action: "archive",
|
|
23367
|
+
title: "Archive Time Blocks",
|
|
23368
|
+
description: "Archive Time Blocks.",
|
|
23369
|
+
safety: "update",
|
|
23370
|
+
destructive: false,
|
|
23371
|
+
cli: {
|
|
23372
|
+
group: ["time-blocks"],
|
|
23373
|
+
command: "archive",
|
|
23374
|
+
interactive: "default"
|
|
23375
|
+
},
|
|
23376
|
+
mcp: { entityTool: "time-blocks" },
|
|
23377
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23378
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23379
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23380
|
+
}),
|
|
23381
|
+
execute: (input, { client }) => {
|
|
23382
|
+
const data = input;
|
|
23383
|
+
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
23384
|
+
client.httpClient,
|
|
23385
|
+
client.organizationId,
|
|
23386
|
+
client.workspaceIdNumber,
|
|
23387
|
+
data.task_id,
|
|
23388
|
+
data.time_block_id,
|
|
23389
|
+
void 0
|
|
23390
|
+
]));
|
|
23391
|
+
}
|
|
23392
|
+
},
|
|
23393
|
+
{
|
|
23394
|
+
id: "focus.time-blocks.bulk-create",
|
|
23395
|
+
family: "focus",
|
|
23396
|
+
resource: "time-blocks",
|
|
23397
|
+
action: "bulk-create",
|
|
23398
|
+
title: "Bulk Create Time Blocks",
|
|
23399
|
+
description: "Bulk Create Time Blocks.",
|
|
23400
|
+
safety: "create",
|
|
23401
|
+
destructive: false,
|
|
23402
|
+
cli: {
|
|
23403
|
+
group: ["time-blocks", "bulk"],
|
|
23404
|
+
command: "create",
|
|
23405
|
+
interactive: "default"
|
|
23406
|
+
},
|
|
23407
|
+
mcp: { entityTool: "time-blocks" },
|
|
23408
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23409
|
+
start: apiDateTimeString,
|
|
23410
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23411
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23412
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23413
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23414
|
+
})) }) }),
|
|
23415
|
+
execute: (input, { client }) => {
|
|
23416
|
+
const data = input;
|
|
23417
|
+
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
23418
|
+
client.httpClient,
|
|
23419
|
+
client.organizationId,
|
|
23420
|
+
client.workspaceIdNumber,
|
|
23421
|
+
data.payload ?? data.data ?? data,
|
|
23422
|
+
void 0
|
|
23423
|
+
]));
|
|
23424
|
+
}
|
|
23425
|
+
},
|
|
23426
|
+
{
|
|
23427
|
+
id: "focus.time-blocks.bulk-delete",
|
|
23428
|
+
family: "focus",
|
|
23429
|
+
resource: "time-blocks",
|
|
23430
|
+
action: "bulk-delete",
|
|
23431
|
+
title: "Bulk Delete Time Blocks",
|
|
23432
|
+
description: "Bulk Delete Time Blocks.",
|
|
23433
|
+
safety: "delete",
|
|
23434
|
+
destructive: true,
|
|
23435
|
+
cli: {
|
|
23436
|
+
group: ["time-blocks", "bulk"],
|
|
23437
|
+
command: "delete",
|
|
23438
|
+
interactive: "default"
|
|
23439
|
+
},
|
|
23440
|
+
mcp: { entityTool: "time-blocks" },
|
|
23441
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23442
|
+
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
23443
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23444
|
+
}),
|
|
23445
|
+
execute: (input, { client }) => {
|
|
23446
|
+
const data = input;
|
|
23447
|
+
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
23448
|
+
client.httpClient,
|
|
23449
|
+
client.organizationId,
|
|
23450
|
+
client.workspaceIdNumber,
|
|
23451
|
+
data.ids,
|
|
23452
|
+
data.outbound_sync,
|
|
23453
|
+
void 0
|
|
23454
|
+
]));
|
|
23455
|
+
}
|
|
23456
|
+
},
|
|
23457
|
+
{
|
|
23458
|
+
id: "focus.time-blocks.bulk-partial-update",
|
|
23459
|
+
family: "focus",
|
|
23460
|
+
resource: "time-blocks",
|
|
23461
|
+
action: "bulk-partial-update",
|
|
23462
|
+
title: "Bulk Partial Update Time Blocks",
|
|
23463
|
+
description: "Bulk Partial Update Time Blocks.",
|
|
23464
|
+
safety: "update",
|
|
23465
|
+
destructive: false,
|
|
23466
|
+
cli: {
|
|
23467
|
+
group: ["time-blocks", "bulk"],
|
|
23468
|
+
command: "partial-update",
|
|
23469
|
+
interactive: "hidden"
|
|
23470
|
+
},
|
|
23471
|
+
mcp: { entityTool: "time-blocks" },
|
|
23472
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
23473
|
+
execute: (input, { client }) => {
|
|
23474
|
+
const data = input;
|
|
23475
|
+
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
23476
|
+
client.httpClient,
|
|
23477
|
+
client.organizationId,
|
|
23478
|
+
client.workspaceIdNumber,
|
|
23479
|
+
data.payload ?? data.data ?? data,
|
|
23480
|
+
void 0
|
|
23481
|
+
]));
|
|
23482
|
+
}
|
|
23483
|
+
},
|
|
23484
|
+
{
|
|
23485
|
+
id: "focus.time-blocks.create",
|
|
23486
|
+
family: "focus",
|
|
23487
|
+
resource: "time-blocks",
|
|
23488
|
+
action: "create",
|
|
23489
|
+
title: "Create Time Blocks",
|
|
23490
|
+
description: "Create Time Blocks.",
|
|
23491
|
+
safety: "create",
|
|
23492
|
+
destructive: false,
|
|
23493
|
+
cli: {
|
|
23494
|
+
group: ["time-blocks"],
|
|
23495
|
+
command: "create",
|
|
23496
|
+
interactive: "default"
|
|
23497
|
+
},
|
|
23498
|
+
mcp: { entityTool: "time-blocks" },
|
|
23499
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23500
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23501
|
+
start: apiDateTimeString,
|
|
23502
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23503
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23504
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23505
|
+
}),
|
|
23506
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23507
|
+
}),
|
|
23508
|
+
execute: (input, { client }) => {
|
|
23509
|
+
const data = input;
|
|
23510
|
+
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
23511
|
+
client.httpClient,
|
|
23512
|
+
client.organizationId,
|
|
23513
|
+
client.workspaceIdNumber,
|
|
23514
|
+
data.task_id,
|
|
23515
|
+
data.payload ?? data.data ?? data,
|
|
23516
|
+
void 0
|
|
23517
|
+
]));
|
|
23518
|
+
}
|
|
23519
|
+
},
|
|
23520
|
+
{
|
|
23521
|
+
id: "focus.time-blocks.delete",
|
|
23522
|
+
family: "focus",
|
|
23523
|
+
resource: "time-blocks",
|
|
23524
|
+
action: "delete",
|
|
23525
|
+
title: "Delete Time Blocks",
|
|
23526
|
+
description: "Delete Time Blocks.",
|
|
23527
|
+
safety: "delete",
|
|
23528
|
+
destructive: true,
|
|
23529
|
+
cli: {
|
|
23530
|
+
group: ["time-blocks"],
|
|
23531
|
+
command: "delete",
|
|
23532
|
+
interactive: "default"
|
|
23533
|
+
},
|
|
23534
|
+
mcp: { entityTool: "time-blocks" },
|
|
23535
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23536
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23537
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23538
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23539
|
+
}),
|
|
23540
|
+
execute: (input, { client }) => {
|
|
23541
|
+
const data = input;
|
|
23542
|
+
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
23543
|
+
client.httpClient,
|
|
23544
|
+
client.organizationId,
|
|
23545
|
+
client.workspaceIdNumber,
|
|
23546
|
+
data.task_id,
|
|
23547
|
+
data.time_block_id,
|
|
23548
|
+
data.outbound_sync,
|
|
23549
|
+
void 0
|
|
23550
|
+
]));
|
|
23551
|
+
}
|
|
23552
|
+
},
|
|
23553
|
+
{
|
|
23554
|
+
id: "focus.time-blocks.get",
|
|
23555
|
+
family: "focus",
|
|
23556
|
+
resource: "time-blocks",
|
|
23557
|
+
action: "get",
|
|
23558
|
+
title: "Get Time Blocks",
|
|
23559
|
+
description: "Get Time Blocks.",
|
|
23560
|
+
safety: "read",
|
|
23561
|
+
destructive: false,
|
|
23562
|
+
cli: {
|
|
23563
|
+
group: ["time-blocks"],
|
|
23564
|
+
command: "get",
|
|
23565
|
+
interactive: "available"
|
|
23566
|
+
},
|
|
23567
|
+
mcp: { entityTool: "time-blocks" },
|
|
23568
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23569
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23570
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23571
|
+
}),
|
|
23572
|
+
execute: (input, { client }) => {
|
|
23573
|
+
const data = input;
|
|
23574
|
+
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
23575
|
+
client.httpClient,
|
|
23576
|
+
client.organizationId,
|
|
23577
|
+
client.workspaceIdNumber,
|
|
23578
|
+
data.task_id,
|
|
23579
|
+
data.time_block_id,
|
|
23580
|
+
void 0
|
|
23581
|
+
]));
|
|
23582
|
+
}
|
|
23583
|
+
},
|
|
23584
|
+
{
|
|
23585
|
+
id: "focus.time-blocks.get-range",
|
|
23586
|
+
family: "focus",
|
|
23587
|
+
resource: "time-blocks",
|
|
23588
|
+
action: "get-range",
|
|
23589
|
+
title: "Get Range Time Blocks",
|
|
23590
|
+
description: "Get Range Time Blocks.",
|
|
23591
|
+
safety: "read",
|
|
23592
|
+
destructive: false,
|
|
23593
|
+
cli: {
|
|
23594
|
+
group: ["time-blocks"],
|
|
23595
|
+
command: "get-range",
|
|
23596
|
+
interactive: "hidden"
|
|
23597
|
+
},
|
|
23598
|
+
mcp: { entityTool: "time-blocks" },
|
|
23599
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23600
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
23601
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
23602
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
23603
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
23604
|
+
page: /* @__PURE__ */ number$2(),
|
|
23605
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
23606
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23607
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23608
|
+
}),
|
|
23609
|
+
execute: (input, { client }) => {
|
|
23610
|
+
const data = input;
|
|
23611
|
+
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
23612
|
+
client.httpClient,
|
|
23613
|
+
client.organizationId,
|
|
23614
|
+
client.workspaceIdNumber,
|
|
23615
|
+
data,
|
|
23616
|
+
void 0
|
|
23617
|
+
]));
|
|
23618
|
+
}
|
|
23619
|
+
},
|
|
23620
|
+
{
|
|
23621
|
+
id: "focus.time-blocks.get-range-stream",
|
|
23622
|
+
family: "focus",
|
|
23623
|
+
resource: "time-blocks",
|
|
23624
|
+
action: "get-range-stream",
|
|
23625
|
+
title: "Get Range Stream Time Blocks",
|
|
23626
|
+
description: "Get Range Stream Time Blocks.",
|
|
23627
|
+
safety: "read",
|
|
23628
|
+
destructive: false,
|
|
23629
|
+
cli: {
|
|
23630
|
+
group: ["time-blocks"],
|
|
23631
|
+
command: "get-range-stream",
|
|
23632
|
+
interactive: "hidden"
|
|
23633
|
+
},
|
|
23634
|
+
mcp: { entityTool: "time-blocks" },
|
|
23635
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23636
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
23637
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
23638
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
23639
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
23640
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23641
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23642
|
+
}),
|
|
23643
|
+
execute: (input, { client }) => {
|
|
23644
|
+
const data = input;
|
|
23645
|
+
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
23646
|
+
client.httpClient,
|
|
23647
|
+
client.organizationId,
|
|
23648
|
+
client.workspaceIdNumber,
|
|
23649
|
+
data,
|
|
23650
|
+
void 0
|
|
23651
|
+
]));
|
|
23652
|
+
}
|
|
23653
|
+
},
|
|
23654
|
+
{
|
|
23655
|
+
id: "focus.time-blocks.get-task-time-blocks",
|
|
23656
|
+
family: "focus",
|
|
23657
|
+
resource: "time-blocks",
|
|
23658
|
+
action: "get-task-time-blocks",
|
|
23659
|
+
title: "Get Task Time Blocks Time Blocks",
|
|
23660
|
+
description: "Get Task Time Blocks Time Blocks.",
|
|
23661
|
+
safety: "read",
|
|
23662
|
+
destructive: false,
|
|
23663
|
+
cli: {
|
|
23664
|
+
group: ["time-blocks"],
|
|
23665
|
+
command: "get-task-time-blocks",
|
|
23666
|
+
interactive: "hidden"
|
|
23667
|
+
},
|
|
23668
|
+
mcp: { entityTool: "time-blocks" },
|
|
23669
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23670
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23671
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23672
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23673
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23674
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23675
|
+
}),
|
|
23676
|
+
execute: (input, { client }) => {
|
|
23677
|
+
const data = input;
|
|
23678
|
+
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
23679
|
+
client.httpClient,
|
|
23680
|
+
client.organizationId,
|
|
23681
|
+
client.workspaceIdNumber,
|
|
23682
|
+
data.task_id,
|
|
23683
|
+
data,
|
|
23684
|
+
void 0
|
|
23685
|
+
]));
|
|
23686
|
+
}
|
|
23687
|
+
},
|
|
23688
|
+
{
|
|
23689
|
+
id: "focus.time-blocks.partial-update",
|
|
23690
|
+
family: "focus",
|
|
23691
|
+
resource: "time-blocks",
|
|
23692
|
+
action: "partial-update",
|
|
23693
|
+
title: "Partial Update Time Blocks",
|
|
23694
|
+
description: "Partial Update Time Blocks.",
|
|
23695
|
+
safety: "update",
|
|
23696
|
+
destructive: false,
|
|
23697
|
+
cli: {
|
|
23698
|
+
group: ["time-blocks"],
|
|
23699
|
+
command: "partial-update",
|
|
23700
|
+
interactive: "default"
|
|
23701
|
+
},
|
|
23702
|
+
mcp: { entityTool: "time-blocks" },
|
|
23703
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23704
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23705
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23706
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23707
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23708
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23709
|
+
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23710
|
+
}),
|
|
23711
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23712
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23713
|
+
}),
|
|
23714
|
+
execute: (input, { client }) => {
|
|
23715
|
+
const data = input;
|
|
23716
|
+
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
23717
|
+
client.httpClient,
|
|
23718
|
+
client.organizationId,
|
|
23719
|
+
client.workspaceIdNumber,
|
|
23720
|
+
data.task_id,
|
|
23721
|
+
data.time_block_id,
|
|
23722
|
+
data.payload ?? data.data ?? data,
|
|
23723
|
+
void 0
|
|
23724
|
+
]));
|
|
23725
|
+
}
|
|
23726
|
+
},
|
|
23727
|
+
{
|
|
23728
|
+
id: "focus.time-blocks.restore",
|
|
23729
|
+
family: "focus",
|
|
23730
|
+
resource: "time-blocks",
|
|
23731
|
+
action: "restore",
|
|
23732
|
+
title: "Restore Time Blocks",
|
|
23733
|
+
description: "Restore Time Blocks.",
|
|
23734
|
+
safety: "update",
|
|
23735
|
+
destructive: false,
|
|
23736
|
+
cli: {
|
|
23737
|
+
group: ["time-blocks"],
|
|
23738
|
+
command: "restore",
|
|
23739
|
+
interactive: "default"
|
|
23740
|
+
},
|
|
23741
|
+
mcp: { entityTool: "time-blocks" },
|
|
23742
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23743
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23744
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23745
|
+
}),
|
|
23746
|
+
execute: (input, { client }) => {
|
|
23747
|
+
const data = input;
|
|
23748
|
+
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
23749
|
+
client.httpClient,
|
|
23750
|
+
client.organizationId,
|
|
23751
|
+
client.workspaceIdNumber,
|
|
23752
|
+
data.task_id,
|
|
23753
|
+
data.time_block_id,
|
|
23754
|
+
void 0
|
|
23755
|
+
]));
|
|
23756
|
+
}
|
|
23757
|
+
},
|
|
23758
|
+
{
|
|
23759
|
+
id: "focus.time-blocks.unarchive",
|
|
23760
|
+
family: "focus",
|
|
23761
|
+
resource: "time-blocks",
|
|
23762
|
+
action: "unarchive",
|
|
23763
|
+
title: "Unarchive Time Blocks",
|
|
23764
|
+
description: "Unarchive Time Blocks.",
|
|
23765
|
+
safety: "update",
|
|
23766
|
+
destructive: false,
|
|
23767
|
+
cli: {
|
|
23768
|
+
group: ["time-blocks"],
|
|
23769
|
+
command: "unarchive",
|
|
23770
|
+
interactive: "default"
|
|
23771
|
+
},
|
|
23772
|
+
mcp: { entityTool: "time-blocks" },
|
|
23773
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23774
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23775
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23776
|
+
}),
|
|
23777
|
+
execute: (input, { client }) => {
|
|
23778
|
+
const data = input;
|
|
23779
|
+
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
24172
23780
|
client.httpClient,
|
|
24173
23781
|
client.organizationId,
|
|
24174
23782
|
client.workspaceIdNumber,
|
|
24175
23783
|
data.task_id,
|
|
24176
|
-
data.
|
|
23784
|
+
data.time_block_id,
|
|
24177
23785
|
void 0
|
|
24178
23786
|
]));
|
|
24179
23787
|
}
|
|
24180
23788
|
},
|
|
24181
23789
|
{
|
|
24182
|
-
id: "focus.
|
|
23790
|
+
id: "focus.time-blocks.update",
|
|
24183
23791
|
family: "focus",
|
|
24184
|
-
resource: "
|
|
24185
|
-
action: "update
|
|
24186
|
-
title: "Update
|
|
24187
|
-
description: "Update
|
|
23792
|
+
resource: "time-blocks",
|
|
23793
|
+
action: "update",
|
|
23794
|
+
title: "Update Time Blocks",
|
|
23795
|
+
description: "Update Time Blocks.",
|
|
24188
23796
|
safety: "update",
|
|
24189
23797
|
destructive: false,
|
|
24190
23798
|
cli: {
|
|
24191
|
-
group: ["
|
|
24192
|
-
command: "update
|
|
23799
|
+
group: ["time-blocks"],
|
|
23800
|
+
command: "update",
|
|
24193
23801
|
interactive: "default"
|
|
24194
23802
|
},
|
|
24195
|
-
mcp: { entityTool: "
|
|
23803
|
+
mcp: { entityTool: "time-blocks" },
|
|
24196
23804
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
23805
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23806
|
+
start: apiDateTimeString,
|
|
23807
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23808
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23809
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23810
|
+
}),
|
|
23811
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23812
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
24200
23813
|
}),
|
|
24201
23814
|
execute: (input, { client }) => {
|
|
24202
23815
|
const data = input;
|
|
24203
|
-
return client.runGeneratedRequest("
|
|
23816
|
+
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
24204
23817
|
client.httpClient,
|
|
24205
23818
|
client.organizationId,
|
|
24206
23819
|
client.workspaceIdNumber,
|
|
24207
|
-
data.
|
|
24208
|
-
data.
|
|
24209
|
-
data.
|
|
23820
|
+
data.task_id,
|
|
23821
|
+
data.time_block_id,
|
|
23822
|
+
data.payload ?? data.data ?? data,
|
|
24210
23823
|
void 0
|
|
24211
23824
|
]));
|
|
24212
23825
|
}
|
|
@@ -24426,8 +24039,7 @@ const generatedFocusOperations = [
|
|
|
24426
24039
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24427
24040
|
"project",
|
|
24428
24041
|
"task",
|
|
24429
|
-
"description"
|
|
24430
|
-
"tags"
|
|
24042
|
+
"description"
|
|
24431
24043
|
]) })),
|
|
24432
24044
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24433
24045
|
}) }),
|
|
@@ -24457,7 +24069,6 @@ const generatedFocusOperations = [
|
|
|
24457
24069
|
},
|
|
24458
24070
|
mcp: { entityTool: "time-entries" },
|
|
24459
24071
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24460
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24461
24072
|
payload: /* @__PURE__ */ looseObject({
|
|
24462
24073
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24463
24074
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24468,12 +24079,11 @@ const generatedFocusOperations = [
|
|
|
24468
24079
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24469
24080
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24470
24081
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24471
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24472
24082
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24083
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24473
24084
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24474
24085
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24475
24086
|
}),
|
|
24476
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24477
24087
|
task_id: /* @__PURE__ */ number$2()
|
|
24478
24088
|
}),
|
|
24479
24089
|
execute: (input, { client }) => {
|
|
@@ -24484,8 +24094,6 @@ const generatedFocusOperations = [
|
|
|
24484
24094
|
client.workspaceIdNumber,
|
|
24485
24095
|
data.task_id,
|
|
24486
24096
|
data.payload ?? data.data ?? data,
|
|
24487
|
-
data.from_recurring_task_id,
|
|
24488
|
-
data.return_occurrence,
|
|
24489
24097
|
void 0
|
|
24490
24098
|
]));
|
|
24491
24099
|
}
|
|
@@ -24505,25 +24113,21 @@ const generatedFocusOperations = [
|
|
|
24505
24113
|
interactive: "default"
|
|
24506
24114
|
},
|
|
24507
24115
|
mcp: { entityTool: "time-entries" },
|
|
24508
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24509
|
-
|
|
24510
|
-
|
|
24511
|
-
|
|
24512
|
-
|
|
24513
|
-
|
|
24514
|
-
|
|
24515
|
-
|
|
24516
|
-
|
|
24517
|
-
|
|
24518
|
-
|
|
24519
|
-
|
|
24520
|
-
|
|
24521
|
-
|
|
24522
|
-
|
|
24523
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24524
|
-
}),
|
|
24525
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24526
|
-
}),
|
|
24116
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
24117
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24118
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24119
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24120
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24121
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24122
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24123
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24124
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24125
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24126
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24127
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24128
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24129
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24130
|
+
}) }),
|
|
24527
24131
|
execute: (input, { client }) => {
|
|
24528
24132
|
const data = input;
|
|
24529
24133
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24531,8 +24135,6 @@ const generatedFocusOperations = [
|
|
|
24531
24135
|
client.organizationId,
|
|
24532
24136
|
client.workspaceIdNumber,
|
|
24533
24137
|
data.payload ?? data.data ?? data,
|
|
24534
|
-
data.from_recurring_task_id,
|
|
24535
|
-
data.return_occurrence,
|
|
24536
24138
|
void 0
|
|
24537
24139
|
]));
|
|
24538
24140
|
}
|
|
@@ -24552,11 +24154,7 @@ const generatedFocusOperations = [
|
|
|
24552
24154
|
interactive: "default"
|
|
24553
24155
|
},
|
|
24554
24156
|
mcp: { entityTool: "time-entries" },
|
|
24555
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24556
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24557
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24558
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24559
|
-
}),
|
|
24157
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24560
24158
|
execute: (input, { client }) => {
|
|
24561
24159
|
const data = input;
|
|
24562
24160
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24564,8 +24162,6 @@ const generatedFocusOperations = [
|
|
|
24564
24162
|
client.organizationId,
|
|
24565
24163
|
client.workspaceIdNumber,
|
|
24566
24164
|
data.time_entry_id,
|
|
24567
|
-
data.from_recurring_task_id,
|
|
24568
|
-
data.return_occurrence,
|
|
24569
24165
|
void 0
|
|
24570
24166
|
]));
|
|
24571
24167
|
}
|
|
@@ -24646,7 +24242,6 @@ const generatedFocusOperations = [
|
|
|
24646
24242
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24647
24243
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24648
24244
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24649
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24650
24245
|
status_id: /* @__PURE__ */ number$2(),
|
|
24651
24246
|
task_id: /* @__PURE__ */ number$2(),
|
|
24652
24247
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24662,6 +24257,33 @@ const generatedFocusOperations = [
|
|
|
24662
24257
|
]));
|
|
24663
24258
|
}
|
|
24664
24259
|
},
|
|
24260
|
+
{
|
|
24261
|
+
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
24262
|
+
family: "focus",
|
|
24263
|
+
resource: "time-entries",
|
|
24264
|
+
action: "get-stream-time-entries-time-block-ids",
|
|
24265
|
+
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
24266
|
+
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
24267
|
+
safety: "read",
|
|
24268
|
+
destructive: false,
|
|
24269
|
+
cli: {
|
|
24270
|
+
group: ["time-entries"],
|
|
24271
|
+
command: "get-stream-time-entries-time-block-ids",
|
|
24272
|
+
interactive: "available"
|
|
24273
|
+
},
|
|
24274
|
+
mcp: { entityTool: "time-entries" },
|
|
24275
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
24276
|
+
execute: (input, { client }) => {
|
|
24277
|
+
const data = input;
|
|
24278
|
+
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
24279
|
+
client.httpClient,
|
|
24280
|
+
client.organizationId,
|
|
24281
|
+
client.workspaceIdNumber,
|
|
24282
|
+
data,
|
|
24283
|
+
void 0
|
|
24284
|
+
]));
|
|
24285
|
+
}
|
|
24286
|
+
},
|
|
24665
24287
|
{
|
|
24666
24288
|
id: "focus.time-entries.get-task-time-entries",
|
|
24667
24289
|
family: "focus",
|
|
@@ -24683,6 +24305,7 @@ const generatedFocusOperations = [
|
|
|
24683
24305
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24684
24306
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24685
24307
|
task_id: /* @__PURE__ */ number$2(),
|
|
24308
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24686
24309
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
24687
24310
|
}),
|
|
24688
24311
|
execute: (input, { client }) => {
|
|
@@ -24795,14 +24418,12 @@ const generatedFocusOperations = [
|
|
|
24795
24418
|
},
|
|
24796
24419
|
mcp: { entityTool: "time-entries" },
|
|
24797
24420
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24798
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24799
24421
|
payload: /* @__PURE__ */ looseObject({
|
|
24800
24422
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24801
24423
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24802
24424
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24803
24425
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24804
24426
|
}),
|
|
24805
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24806
24427
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24807
24428
|
}),
|
|
24808
24429
|
execute: (input, { client }) => {
|
|
@@ -24813,8 +24434,6 @@ const generatedFocusOperations = [
|
|
|
24813
24434
|
client.workspaceIdNumber,
|
|
24814
24435
|
data.time_entry_id,
|
|
24815
24436
|
data.payload ?? data.data ?? data,
|
|
24816
|
-
data.from_recurring_task_id,
|
|
24817
|
-
data.return_occurrence,
|
|
24818
24437
|
void 0
|
|
24819
24438
|
]));
|
|
24820
24439
|
}
|
|
@@ -25072,7 +24691,6 @@ const generatedFocusOperations = [
|
|
|
25072
24691
|
},
|
|
25073
24692
|
mcp: { entityTool: "time-entries" },
|
|
25074
24693
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
25075
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25076
24694
|
payload: /* @__PURE__ */ looseObject({
|
|
25077
24695
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
25078
24696
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -25082,9 +24700,9 @@ const generatedFocusOperations = [
|
|
|
25082
24700
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25083
24701
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
25084
24702
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24703
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25085
24704
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
25086
24705
|
}),
|
|
25087
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25088
24706
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
25089
24707
|
}),
|
|
25090
24708
|
execute: (input, { client }) => {
|
|
@@ -25095,8 +24713,6 @@ const generatedFocusOperations = [
|
|
|
25095
24713
|
client.workspaceIdNumber,
|
|
25096
24714
|
data.time_entry_id,
|
|
25097
24715
|
data.payload ?? data.data ?? data,
|
|
25098
|
-
data.from_recurring_task_id,
|
|
25099
|
-
data.return_occurrence,
|
|
25100
24716
|
void 0
|
|
25101
24717
|
]));
|
|
25102
24718
|
}
|
|
@@ -25161,118 +24777,6 @@ const generatedFocusOperations = [
|
|
|
25161
24777
|
]));
|
|
25162
24778
|
}
|
|
25163
24779
|
},
|
|
25164
|
-
{
|
|
25165
|
-
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
25166
|
-
family: "focus",
|
|
25167
|
-
resource: "time-off",
|
|
25168
|
-
action: "get-timeoff-balance-changes-for-user",
|
|
25169
|
-
title: "Get Timeoff Balance Changes For User Time Off",
|
|
25170
|
-
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
25171
|
-
safety: "read",
|
|
25172
|
-
destructive: false,
|
|
25173
|
-
cli: {
|
|
25174
|
-
group: ["time-off"],
|
|
25175
|
-
command: "get-timeoff-balance-changes-for-user",
|
|
25176
|
-
interactive: "hidden"
|
|
25177
|
-
},
|
|
25178
|
-
mcp: { entityTool: "time-off" },
|
|
25179
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25180
|
-
category_id: /* @__PURE__ */ number$2(),
|
|
25181
|
-
page: /* @__PURE__ */ number$2(),
|
|
25182
|
-
rows: /* @__PURE__ */ unknown$1(),
|
|
25183
|
-
user_id: /* @__PURE__ */ number$2(),
|
|
25184
|
-
year: /* @__PURE__ */ unknown$1()
|
|
25185
|
-
}),
|
|
25186
|
-
execute: (input, { client }) => {
|
|
25187
|
-
const data = input;
|
|
25188
|
-
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
25189
|
-
client.httpClient,
|
|
25190
|
-
client.organizationId,
|
|
25191
|
-
data.user_id,
|
|
25192
|
-
data,
|
|
25193
|
-
void 0
|
|
25194
|
-
]));
|
|
25195
|
-
}
|
|
25196
|
-
},
|
|
25197
|
-
{
|
|
25198
|
-
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
25199
|
-
family: "focus",
|
|
25200
|
-
resource: "time-off",
|
|
25201
|
-
action: "get-timeoff-balances-for-user",
|
|
25202
|
-
title: "Get Timeoff Balances For User Time Off",
|
|
25203
|
-
description: "Get Timeoff Balances For User Time Off.",
|
|
25204
|
-
safety: "read",
|
|
25205
|
-
destructive: false,
|
|
25206
|
-
cli: {
|
|
25207
|
-
group: ["time-off"],
|
|
25208
|
-
command: "get-timeoff-balances-for-user",
|
|
25209
|
-
interactive: "available"
|
|
25210
|
-
},
|
|
25211
|
-
mcp: { entityTool: "time-off" },
|
|
25212
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25213
|
-
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25214
|
-
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
25215
|
-
user_id: /* @__PURE__ */ number$2()
|
|
25216
|
-
}),
|
|
25217
|
-
execute: (input, { client }) => {
|
|
25218
|
-
const data = input;
|
|
25219
|
-
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
25220
|
-
client.httpClient,
|
|
25221
|
-
client.organizationId,
|
|
25222
|
-
data.user_id,
|
|
25223
|
-
data,
|
|
25224
|
-
void 0
|
|
25225
|
-
]));
|
|
25226
|
-
}
|
|
25227
|
-
},
|
|
25228
|
-
{
|
|
25229
|
-
id: "focus.time-off.get-timeoff-categories",
|
|
25230
|
-
family: "focus",
|
|
25231
|
-
resource: "time-off",
|
|
25232
|
-
action: "get-timeoff-categories",
|
|
25233
|
-
title: "Get Timeoff Categories Time Off",
|
|
25234
|
-
description: "Get Timeoff Categories Time Off.",
|
|
25235
|
-
safety: "read",
|
|
25236
|
-
destructive: false,
|
|
25237
|
-
cli: {
|
|
25238
|
-
group: ["time-off"],
|
|
25239
|
-
command: "get-timeoff-categories",
|
|
25240
|
-
interactive: "hidden"
|
|
25241
|
-
},
|
|
25242
|
-
mcp: { entityTool: "time-off" },
|
|
25243
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25244
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
25245
|
-
client.httpClient,
|
|
25246
|
-
client.organizationId,
|
|
25247
|
-
void 0
|
|
25248
|
-
]))
|
|
25249
|
-
},
|
|
25250
|
-
{
|
|
25251
|
-
id: "focus.time-off.get-timeoff-category",
|
|
25252
|
-
family: "focus",
|
|
25253
|
-
resource: "time-off",
|
|
25254
|
-
action: "get-timeoff-category",
|
|
25255
|
-
title: "Get Timeoff Category Time Off",
|
|
25256
|
-
description: "Get Timeoff Category Time Off.",
|
|
25257
|
-
safety: "read",
|
|
25258
|
-
destructive: false,
|
|
25259
|
-
cli: {
|
|
25260
|
-
group: ["time-off"],
|
|
25261
|
-
command: "get-timeoff-category",
|
|
25262
|
-
interactive: "available"
|
|
25263
|
-
},
|
|
25264
|
-
mcp: { entityTool: "time-off" },
|
|
25265
|
-
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
25266
|
-
execute: (input, { client }) => {
|
|
25267
|
-
const data = input;
|
|
25268
|
-
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
25269
|
-
client.httpClient,
|
|
25270
|
-
client.organizationId,
|
|
25271
|
-
data.category_id,
|
|
25272
|
-
void 0
|
|
25273
|
-
]));
|
|
25274
|
-
}
|
|
25275
|
-
},
|
|
25276
24780
|
{
|
|
25277
24781
|
id: "focus.time-off.get-timeoff-for-user",
|
|
25278
24782
|
family: "focus",
|
|
@@ -25724,40 +25228,6 @@ const generatedFocusOperations = [
|
|
|
25724
25228
|
]));
|
|
25725
25229
|
}
|
|
25726
25230
|
},
|
|
25727
|
-
{
|
|
25728
|
-
id: "focus.timesheets.get-status-counts",
|
|
25729
|
-
family: "focus",
|
|
25730
|
-
resource: "timesheets",
|
|
25731
|
-
action: "get-status-counts",
|
|
25732
|
-
title: "Get Status Counts Timesheets",
|
|
25733
|
-
description: "Get Status Counts Timesheets.",
|
|
25734
|
-
safety: "read",
|
|
25735
|
-
destructive: false,
|
|
25736
|
-
cli: {
|
|
25737
|
-
group: ["timesheets"],
|
|
25738
|
-
command: "get-status-counts",
|
|
25739
|
-
interactive: "hidden"
|
|
25740
|
-
},
|
|
25741
|
-
mcp: { entityTool: "timesheets" },
|
|
25742
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25743
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25744
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
25745
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
25746
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
25747
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25748
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25749
|
-
}),
|
|
25750
|
-
execute: (input, { client }) => {
|
|
25751
|
-
const data = input;
|
|
25752
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25753
|
-
client.httpClient,
|
|
25754
|
-
client.organizationId,
|
|
25755
|
-
client.workspaceIdNumber,
|
|
25756
|
-
data,
|
|
25757
|
-
void 0
|
|
25758
|
-
]));
|
|
25759
|
-
}
|
|
25760
|
-
},
|
|
25761
25231
|
{
|
|
25762
25232
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25763
25233
|
family: "focus",
|
|
@@ -26307,33 +25777,6 @@ const generatedFocusOperations = [
|
|
|
26307
25777
|
]));
|
|
26308
25778
|
}
|
|
26309
25779
|
},
|
|
26310
|
-
{
|
|
26311
|
-
id: "focus.track-team-invites.post",
|
|
26312
|
-
family: "focus",
|
|
26313
|
-
resource: "track-team-invites",
|
|
26314
|
-
action: "post",
|
|
26315
|
-
title: "Post Track Team Invites",
|
|
26316
|
-
description: "Post Track Team Invites.",
|
|
26317
|
-
safety: "create",
|
|
26318
|
-
destructive: false,
|
|
26319
|
-
cli: {
|
|
26320
|
-
group: ["track-team-invites"],
|
|
26321
|
-
command: "post",
|
|
26322
|
-
interactive: "default"
|
|
26323
|
-
},
|
|
26324
|
-
mcp: { entityTool: "track-team-invites" },
|
|
26325
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
26326
|
-
execute: (input, { client }) => {
|
|
26327
|
-
const data = input;
|
|
26328
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
26329
|
-
client.httpClient,
|
|
26330
|
-
client.organizationId,
|
|
26331
|
-
client.workspaceIdNumber,
|
|
26332
|
-
data.payload ?? data.data ?? data,
|
|
26333
|
-
void 0
|
|
26334
|
-
]));
|
|
26335
|
-
}
|
|
26336
|
-
},
|
|
26337
25780
|
{
|
|
26338
25781
|
id: "focus.users.list",
|
|
26339
25782
|
family: "focus",
|
|
@@ -26355,56 +25798,6 @@ const generatedFocusOperations = [
|
|
|
26355
25798
|
return client.listOrgUsers(data);
|
|
26356
25799
|
}
|
|
26357
25800
|
},
|
|
26358
|
-
{
|
|
26359
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
26360
|
-
family: "focus",
|
|
26361
|
-
resource: "users",
|
|
26362
|
-
action: "settings-email-unsubscribe",
|
|
26363
|
-
title: "Settings Email Unsubscribe Users",
|
|
26364
|
-
description: "Settings Email Unsubscribe Users.",
|
|
26365
|
-
safety: "update",
|
|
26366
|
-
destructive: false,
|
|
26367
|
-
cli: {
|
|
26368
|
-
group: ["users", "settings"],
|
|
26369
|
-
command: "email-unsubscribe",
|
|
26370
|
-
interactive: "default"
|
|
26371
|
-
},
|
|
26372
|
-
mcp: { entityTool: "users" },
|
|
26373
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26374
|
-
execute: (input, { client }) => {
|
|
26375
|
-
const data = input;
|
|
26376
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26377
|
-
client.httpClient,
|
|
26378
|
-
data.token,
|
|
26379
|
-
void 0
|
|
26380
|
-
]));
|
|
26381
|
-
}
|
|
26382
|
-
},
|
|
26383
|
-
{
|
|
26384
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
26385
|
-
family: "focus",
|
|
26386
|
-
resource: "users",
|
|
26387
|
-
action: "settings-email-unsubscribe-page",
|
|
26388
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
26389
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
26390
|
-
safety: "read",
|
|
26391
|
-
destructive: false,
|
|
26392
|
-
cli: {
|
|
26393
|
-
group: ["users", "settings"],
|
|
26394
|
-
command: "email-unsubscribe-page",
|
|
26395
|
-
interactive: "available"
|
|
26396
|
-
},
|
|
26397
|
-
mcp: { entityTool: "users" },
|
|
26398
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26399
|
-
execute: (input, { client }) => {
|
|
26400
|
-
const data = input;
|
|
26401
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26402
|
-
client.httpClient,
|
|
26403
|
-
data.token,
|
|
26404
|
-
void 0
|
|
26405
|
-
]));
|
|
26406
|
-
}
|
|
26407
|
-
},
|
|
26408
25801
|
{
|
|
26409
25802
|
id: "focus.users.settings-list",
|
|
26410
25803
|
family: "focus",
|
|
@@ -26466,9 +25859,6 @@ const generatedFocusOperations = [
|
|
|
26466
25859
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26467
25860
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26468
25861
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26469
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26470
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26471
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26472
25862
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26473
25863
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26474
25864
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -28524,4 +27914,4 @@ Common commands:
|
|
|
28524
27914
|
//#endregion
|
|
28525
27915
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28526
27916
|
|
|
28527
|
-
//# sourceMappingURL=program-
|
|
27917
|
+
//# sourceMappingURL=program-BafxB0r1.js.map
|