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