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