@togglhq/mcp 1.13.293 → 1.13.295
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 +2 -2
- package/build/index.js +1 -1
- package/build/{src-BWrry-DP.js → src-BV26ZwWV.js} +749 -347
- package/package.json +1 -1
|
@@ -35082,6 +35082,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
35082
35082
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35083
35083
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35084
35084
|
designation_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("The workspace designation this entry belongs to."))),
|
|
35085
|
+
draft: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Whether the entry is a draft."))),
|
|
35085
35086
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("Tracked duration in seconds; omitted while the timer is running and for an entry that is only planned."))),
|
|
35086
35087
|
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."))),
|
|
35087
35088
|
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."))),
|
|
@@ -35309,6 +35310,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35309
35310
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35310
35311
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35311
35312
|
designation_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("The workspace designation this entry belongs to."))),
|
|
35313
|
+
draft: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Whether the entry is a draft."))),
|
|
35312
35314
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("Tracked duration in seconds; omitted while the timer is running and for an entry that is only planned."))),
|
|
35313
35315
|
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."))),
|
|
35314
35316
|
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."))),
|
|
@@ -35619,6 +35621,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35619
35621
|
calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35620
35622
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35621
35623
|
designation_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("The workspace designation this entry belongs to."))),
|
|
35624
|
+
draft: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Creates the entry as a draft. Defaults to false."))),
|
|
35622
35625
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35623
35626
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35624
35627
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
@@ -38700,7 +38703,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38700
38703
|
]))
|
|
38701
38704
|
});
|
|
38702
38705
|
//#endregion
|
|
38703
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38706
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38704
38707
|
async function getInvitations(httpClient, signal) {
|
|
38705
38708
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38706
38709
|
}
|
|
@@ -38717,7 +38720,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38717
38720
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38718
38721
|
}
|
|
38719
38722
|
//#endregion
|
|
38720
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38723
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38721
38724
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38722
38725
|
const searchParams = new URLSearchParams();
|
|
38723
38726
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38729,7 +38732,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38729
38732
|
return searchParams;
|
|
38730
38733
|
}
|
|
38731
38734
|
//#endregion
|
|
38732
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38735
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38733
38736
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38734
38737
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38735
38738
|
}
|
|
@@ -38744,7 +38747,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38744
38747
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38745
38748
|
}
|
|
38746
38749
|
//#endregion
|
|
38747
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38750
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38748
38751
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38749
38752
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38750
38753
|
}
|
|
@@ -38764,7 +38767,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38764
38767
|
});
|
|
38765
38768
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38766
38769
|
//#endregion
|
|
38767
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38770
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38768
38771
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38769
38772
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38770
38773
|
signal,
|
|
@@ -38775,12 +38778,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38775
38778
|
})).json();
|
|
38776
38779
|
}
|
|
38777
38780
|
//#endregion
|
|
38778
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38781
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38779
38782
|
async function getStatus(httpClient, signal) {
|
|
38780
38783
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38781
38784
|
}
|
|
38782
38785
|
//#endregion
|
|
38783
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38786
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38784
38787
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38785
38788
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38786
38789
|
signal,
|
|
@@ -38808,7 +38811,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38808
38811
|
return response.json();
|
|
38809
38812
|
}
|
|
38810
38813
|
//#endregion
|
|
38811
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38814
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38812
38815
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38813
38816
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38814
38817
|
}
|
|
@@ -43049,6 +43052,15 @@ async function sendAiMessage(httpClient, organization_id, workspace_id, conversa
|
|
|
43049
43052
|
searchParams: buildSearchParams$2({ product })
|
|
43050
43053
|
})).json();
|
|
43051
43054
|
}
|
|
43055
|
+
async function recordAiMessageEvent(httpClient, organization_id, workspace_id, conversation_id, message_id, data, product, signal) {
|
|
43056
|
+
const response = await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/events`, {
|
|
43057
|
+
signal,
|
|
43058
|
+
json: data,
|
|
43059
|
+
searchParams: buildSearchParams$2({ product })
|
|
43060
|
+
});
|
|
43061
|
+
if ([204, 205].includes(response.status)) return null;
|
|
43062
|
+
return response.json();
|
|
43063
|
+
}
|
|
43052
43064
|
async function nextAiActions(httpClient, organization_id, workspace_id, conversation_id, message_id, product, signal) {
|
|
43053
43065
|
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/next`, {
|
|
43054
43066
|
signal,
|
|
@@ -43103,6 +43115,12 @@ async function dayRebuildGroup(httpClient, organization_id, workspace_id, data,
|
|
|
43103
43115
|
json: data
|
|
43104
43116
|
})).json();
|
|
43105
43117
|
}
|
|
43118
|
+
async function dayRebuildJudge(httpClient, organization_id, workspace_id, data, signal) {
|
|
43119
|
+
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/day-rebuild/judge`, {
|
|
43120
|
+
signal,
|
|
43121
|
+
json: data
|
|
43122
|
+
})).json();
|
|
43123
|
+
}
|
|
43106
43124
|
async function dayRebuildName(httpClient, organization_id, workspace_id, data, signal) {
|
|
43107
43125
|
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/day-rebuild/name`, {
|
|
43108
43126
|
signal,
|
|
@@ -43121,6 +43139,12 @@ async function dayRebuildReadConnected(httpClient, organization_id, workspace_id
|
|
|
43121
43139
|
json: data
|
|
43122
43140
|
})).json();
|
|
43123
43141
|
}
|
|
43142
|
+
async function dayRebuildSaveReview(httpClient, organization_id, workspace_id, data, signal) {
|
|
43143
|
+
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/day-rebuild/reviews`, {
|
|
43144
|
+
signal,
|
|
43145
|
+
json: data
|
|
43146
|
+
})).json();
|
|
43147
|
+
}
|
|
43124
43148
|
async function searchAi(httpClient, organization_id, workspace_id, { q }, signal) {
|
|
43125
43149
|
return (await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
43126
43150
|
signal,
|
|
@@ -43170,6 +43194,11 @@ async function getUpcomingArchivalGroupsClassic(httpClient, organization_id, wor
|
|
|
43170
43194
|
})
|
|
43171
43195
|
})).json();
|
|
43172
43196
|
}
|
|
43197
|
+
async function keepUpcomingArchivalGroup(httpClient, organization_id, workspace_id, group_id, signal) {
|
|
43198
|
+
const response = await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/archival/upcoming/${group_id}/keep`, { signal });
|
|
43199
|
+
if ([204, 205].includes(response.status)) return null;
|
|
43200
|
+
return response.json();
|
|
43201
|
+
}
|
|
43173
43202
|
//#endregion
|
|
43174
43203
|
//#region ../focus-queries/dist/archived-clients/requests.ts
|
|
43175
43204
|
async function getArchivedClientsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page, name } = {}, signal) {
|
|
@@ -43581,6 +43610,11 @@ async function compositeCreateTask(httpClient, organization_id, workspace_id, da
|
|
|
43581
43610
|
})).json();
|
|
43582
43611
|
}
|
|
43583
43612
|
//#endregion
|
|
43613
|
+
//#region ../focus-queries/dist/currencies/requests.ts
|
|
43614
|
+
async function getCurrencies(httpClient, signal) {
|
|
43615
|
+
return (await httpClient.get(`currencies`, { signal })).json();
|
|
43616
|
+
}
|
|
43617
|
+
//#endregion
|
|
43584
43618
|
//#region ../focus-queries/dist/custom-fields/requests.ts
|
|
43585
43619
|
async function getCustomFieldsClassic(httpClient, organization_id, workspace_id, { entity_type, page, per_page, order_by } = {}, signal) {
|
|
43586
43620
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields`, {
|
|
@@ -43711,7 +43745,7 @@ async function deleteACustomReport(httpClient, workspace_id, id, signal) {
|
|
|
43711
43745
|
}
|
|
43712
43746
|
//#endregion
|
|
43713
43747
|
//#region ../focus-queries/dist/designations/requests.ts
|
|
43714
|
-
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, include_members, has_role_in_products, has_members, page, per_page, order_by } = {}, signal) {
|
|
43748
|
+
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, include_members, has_role_in_products, has_members, has_project_trait, include_project_designation_members, project_id, page, per_page, order_by } = {}, signal) {
|
|
43715
43749
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
43716
43750
|
signal,
|
|
43717
43751
|
searchParams: buildSearchParams$2({
|
|
@@ -43720,6 +43754,9 @@ async function getWorkspaceDesignationsClassic(httpClient, organization_id, work
|
|
|
43720
43754
|
include_members,
|
|
43721
43755
|
has_role_in_products,
|
|
43722
43756
|
has_members,
|
|
43757
|
+
has_project_trait,
|
|
43758
|
+
include_project_designation_members,
|
|
43759
|
+
project_id,
|
|
43723
43760
|
page,
|
|
43724
43761
|
per_page,
|
|
43725
43762
|
order_by
|
|
@@ -43759,68 +43796,6 @@ async function updateWorkspaceDesignationMembers(httpClient, organization_id, wo
|
|
|
43759
43796
|
json: data
|
|
43760
43797
|
})).json();
|
|
43761
43798
|
}
|
|
43762
|
-
async function getProjectDesignations(httpClient, organization_id, workspace_id, project_id, { order_by, start_date, end_date, min_days } = {}, signal) {
|
|
43763
|
-
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}`, {
|
|
43764
|
-
signal,
|
|
43765
|
-
searchParams: buildSearchParams$2({
|
|
43766
|
-
order_by,
|
|
43767
|
-
start_date,
|
|
43768
|
-
end_date,
|
|
43769
|
-
min_days
|
|
43770
|
-
})
|
|
43771
|
-
})).json();
|
|
43772
|
-
}
|
|
43773
|
-
async function createProjectDesignations(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
43774
|
-
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}`, {
|
|
43775
|
-
signal,
|
|
43776
|
-
json: data
|
|
43777
|
-
})).json();
|
|
43778
|
-
}
|
|
43779
|
-
async function deleteProjectDesignations(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
43780
|
-
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}`, {
|
|
43781
|
-
signal,
|
|
43782
|
-
json: data
|
|
43783
|
-
});
|
|
43784
|
-
if ([204, 205].includes(response.status)) return null;
|
|
43785
|
-
return response.json();
|
|
43786
|
-
}
|
|
43787
|
-
async function updateProjectDesignations(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
43788
|
-
return (await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}`, {
|
|
43789
|
-
signal,
|
|
43790
|
-
json: data
|
|
43791
|
-
})).json();
|
|
43792
|
-
}
|
|
43793
|
-
async function getProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, { start_date, end_date, min_days, include_project } = {}, signal) {
|
|
43794
|
-
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
|
|
43795
|
-
signal,
|
|
43796
|
-
searchParams: buildSearchParams$2({
|
|
43797
|
-
start_date,
|
|
43798
|
-
end_date,
|
|
43799
|
-
min_days,
|
|
43800
|
-
include_project
|
|
43801
|
-
})
|
|
43802
|
-
})).json();
|
|
43803
|
-
}
|
|
43804
|
-
async function createProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
43805
|
-
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
|
|
43806
|
-
signal,
|
|
43807
|
-
json: data
|
|
43808
|
-
})).json();
|
|
43809
|
-
}
|
|
43810
|
-
async function deleteProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
43811
|
-
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
|
|
43812
|
-
signal,
|
|
43813
|
-
json: data
|
|
43814
|
-
});
|
|
43815
|
-
if ([204, 205].includes(response.status)) return null;
|
|
43816
|
-
return response.json();
|
|
43817
|
-
}
|
|
43818
|
-
async function updateProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
43819
|
-
return (await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
|
|
43820
|
-
signal,
|
|
43821
|
-
json: data
|
|
43822
|
-
})).json();
|
|
43823
|
-
}
|
|
43824
43799
|
async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
|
|
43825
43800
|
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal });
|
|
43826
43801
|
if ([204, 205].includes(response.status)) return null;
|
|
@@ -44177,6 +44152,84 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
44177
44152
|
return response.json();
|
|
44178
44153
|
}
|
|
44179
44154
|
//#endregion
|
|
44155
|
+
//#region ../focus-queries/dist/project-designations/requests.ts
|
|
44156
|
+
async function getProjectDesignations(httpClient, organization_id, workspace_id, { project_ids, order_by, start_date, end_date, min_days }, signal) {
|
|
44157
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
|
|
44158
|
+
signal,
|
|
44159
|
+
searchParams: buildSearchParams$2({
|
|
44160
|
+
project_ids,
|
|
44161
|
+
order_by,
|
|
44162
|
+
start_date,
|
|
44163
|
+
end_date,
|
|
44164
|
+
min_days
|
|
44165
|
+
})
|
|
44166
|
+
})).json();
|
|
44167
|
+
}
|
|
44168
|
+
async function createProjectDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
44169
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
|
|
44170
|
+
signal,
|
|
44171
|
+
json: data
|
|
44172
|
+
})).json();
|
|
44173
|
+
}
|
|
44174
|
+
async function deleteProjectDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
44175
|
+
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
|
|
44176
|
+
signal,
|
|
44177
|
+
json: data
|
|
44178
|
+
});
|
|
44179
|
+
if ([204, 205].includes(response.status)) return null;
|
|
44180
|
+
return response.json();
|
|
44181
|
+
}
|
|
44182
|
+
async function updateProjectDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
44183
|
+
return (await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
|
|
44184
|
+
signal,
|
|
44185
|
+
json: data
|
|
44186
|
+
})).json();
|
|
44187
|
+
}
|
|
44188
|
+
async function getProjectDesignationBookings(httpClient, organization_id, workspace_id, { project_ids, start_date, end_date, min_days, include_project }, signal) {
|
|
44189
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/bookings`, {
|
|
44190
|
+
signal,
|
|
44191
|
+
searchParams: buildSearchParams$2({
|
|
44192
|
+
project_ids,
|
|
44193
|
+
start_date,
|
|
44194
|
+
end_date,
|
|
44195
|
+
min_days,
|
|
44196
|
+
include_project
|
|
44197
|
+
})
|
|
44198
|
+
})).json();
|
|
44199
|
+
}
|
|
44200
|
+
async function createProjectDesignationBookings(httpClient, organization_id, workspace_id, data, signal) {
|
|
44201
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/bookings`, {
|
|
44202
|
+
signal,
|
|
44203
|
+
json: data
|
|
44204
|
+
})).json();
|
|
44205
|
+
}
|
|
44206
|
+
async function deleteProjectDesignationBookings(httpClient, organization_id, workspace_id, data, signal) {
|
|
44207
|
+
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/bookings`, {
|
|
44208
|
+
signal,
|
|
44209
|
+
json: data
|
|
44210
|
+
});
|
|
44211
|
+
if ([204, 205].includes(response.status)) return null;
|
|
44212
|
+
return response.json();
|
|
44213
|
+
}
|
|
44214
|
+
async function updateProjectDesignationBookings(httpClient, organization_id, workspace_id, data, signal) {
|
|
44215
|
+
return (await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/bookings`, {
|
|
44216
|
+
signal,
|
|
44217
|
+
json: data
|
|
44218
|
+
})).json();
|
|
44219
|
+
}
|
|
44220
|
+
async function getProjectDesignationMembers(httpClient, organization_id, workspace_id, { project_ids }, signal) {
|
|
44221
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/members`, {
|
|
44222
|
+
signal,
|
|
44223
|
+
searchParams: buildSearchParams$2({ project_ids })
|
|
44224
|
+
})).json();
|
|
44225
|
+
}
|
|
44226
|
+
async function updateProjectDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
44227
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/members`, {
|
|
44228
|
+
signal,
|
|
44229
|
+
json: data
|
|
44230
|
+
})).json();
|
|
44231
|
+
}
|
|
44232
|
+
//#endregion
|
|
44180
44233
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
44181
44234
|
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, project_id, start_date, end_date, user_id, only_me, include_drafts, include_recurring_series, cf_filter } = {}, signal) {
|
|
44182
44235
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
@@ -45461,6 +45514,82 @@ const generatedFocusOperations = [
|
|
|
45461
45514
|
]));
|
|
45462
45515
|
}
|
|
45463
45516
|
},
|
|
45517
|
+
{
|
|
45518
|
+
id: "focus.ai.day-rebuild-judge",
|
|
45519
|
+
family: "focus",
|
|
45520
|
+
resource: "ai",
|
|
45521
|
+
action: "day-rebuild-judge",
|
|
45522
|
+
title: "Day Rebuild Judge Ai",
|
|
45523
|
+
description: "Day Rebuild Judge Ai.",
|
|
45524
|
+
safety: "update",
|
|
45525
|
+
destructive: false,
|
|
45526
|
+
cli: {
|
|
45527
|
+
group: ["ai"],
|
|
45528
|
+
command: "day-rebuild-judge",
|
|
45529
|
+
interactive: "hidden"
|
|
45530
|
+
},
|
|
45531
|
+
mcp: { entityTool: "ai" },
|
|
45532
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
45533
|
+
context: /* @__PURE__ */ looseObject({
|
|
45534
|
+
drafts: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
45535
|
+
confidence: /* @__PURE__ */ number$2(),
|
|
45536
|
+
description: /* @__PURE__ */ string$1(),
|
|
45537
|
+
from: /* @__PURE__ */ string$1(),
|
|
45538
|
+
id: /* @__PURE__ */ string$1(),
|
|
45539
|
+
minutes: /* @__PURE__ */ number$2(),
|
|
45540
|
+
personal: /* @__PURE__ */ boolean$1(),
|
|
45541
|
+
project: /* @__PURE__ */ string$1(),
|
|
45542
|
+
to: /* @__PURE__ */ string$1()
|
|
45543
|
+
})),
|
|
45544
|
+
present_minutes: /* @__PURE__ */ number$2(),
|
|
45545
|
+
projects: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
45546
|
+
about: /* @__PURE__ */ string$1(),
|
|
45547
|
+
client: /* @__PURE__ */ string$1(),
|
|
45548
|
+
existing: /* @__PURE__ */ boolean$1(),
|
|
45549
|
+
name: /* @__PURE__ */ string$1()
|
|
45550
|
+
})),
|
|
45551
|
+
uncovered_minutes: /* @__PURE__ */ number$2()
|
|
45552
|
+
}),
|
|
45553
|
+
run_id: /* @__PURE__ */ string$1(),
|
|
45554
|
+
summary: /* @__PURE__ */ looseObject({
|
|
45555
|
+
app_version: /* @__PURE__ */ string$1(),
|
|
45556
|
+
day: /* @__PURE__ */ string$1(),
|
|
45557
|
+
drafts: /* @__PURE__ */ number$2(),
|
|
45558
|
+
os: /* @__PURE__ */ picklist$1([
|
|
45559
|
+
"mac",
|
|
45560
|
+
"windows",
|
|
45561
|
+
"linux"
|
|
45562
|
+
]),
|
|
45563
|
+
tracked_minutes: /* @__PURE__ */ number$2(),
|
|
45564
|
+
trigger: /* @__PURE__ */ picklist$1([
|
|
45565
|
+
"setup",
|
|
45566
|
+
"daily",
|
|
45567
|
+
"slot",
|
|
45568
|
+
"manual"
|
|
45569
|
+
])
|
|
45570
|
+
}),
|
|
45571
|
+
tools: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ name: /* @__PURE__ */ picklist$1(["get_draft_evidence", "get_activity"]) })),
|
|
45572
|
+
final: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45573
|
+
turns: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
45574
|
+
assistant_content: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
45575
|
+
tool_results: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
45576
|
+
tool_use_id: /* @__PURE__ */ string$1(),
|
|
45577
|
+
content: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45578
|
+
is_error: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
45579
|
+
}))
|
|
45580
|
+
})))
|
|
45581
|
+
}) }),
|
|
45582
|
+
execute: (input, { client }) => {
|
|
45583
|
+
const data = input;
|
|
45584
|
+
return client.runGeneratedRequest("dayRebuildJudge", () => callGeneratedRequest(dayRebuildJudge, [
|
|
45585
|
+
client.httpClient,
|
|
45586
|
+
client.organizationId,
|
|
45587
|
+
client.workspaceIdNumber,
|
|
45588
|
+
data.payload ?? data.data ?? data,
|
|
45589
|
+
void 0
|
|
45590
|
+
]));
|
|
45591
|
+
}
|
|
45592
|
+
},
|
|
45464
45593
|
{
|
|
45465
45594
|
id: "focus.ai.day-rebuild-name",
|
|
45466
45595
|
family: "focus",
|
|
@@ -45561,6 +45690,137 @@ const generatedFocusOperations = [
|
|
|
45561
45690
|
]));
|
|
45562
45691
|
}
|
|
45563
45692
|
},
|
|
45693
|
+
{
|
|
45694
|
+
id: "focus.ai.day-rebuild-save-review",
|
|
45695
|
+
family: "focus",
|
|
45696
|
+
resource: "ai",
|
|
45697
|
+
action: "day-rebuild-save-review",
|
|
45698
|
+
title: "Day Rebuild Save Review Ai",
|
|
45699
|
+
description: "Day Rebuild Save Review Ai.",
|
|
45700
|
+
safety: "update",
|
|
45701
|
+
destructive: false,
|
|
45702
|
+
cli: {
|
|
45703
|
+
group: ["ai"],
|
|
45704
|
+
command: "day-rebuild-save-review",
|
|
45705
|
+
interactive: "default"
|
|
45706
|
+
},
|
|
45707
|
+
mcp: { entityTool: "ai" },
|
|
45708
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
45709
|
+
app_version: /* @__PURE__ */ string$1(),
|
|
45710
|
+
day: /* @__PURE__ */ string$1(),
|
|
45711
|
+
day_review: /* @__PURE__ */ looseObject({
|
|
45712
|
+
observations: /* @__PURE__ */ array$1(/* @__PURE__ */ string$1()),
|
|
45713
|
+
present_minutes: /* @__PURE__ */ number$2(),
|
|
45714
|
+
projects: /* @__PURE__ */ picklist$1([
|
|
45715
|
+
"ok",
|
|
45716
|
+
"weak",
|
|
45717
|
+
"wrong",
|
|
45718
|
+
"cannot_tell"
|
|
45719
|
+
]),
|
|
45720
|
+
shape: /* @__PURE__ */ picklist$1([
|
|
45721
|
+
"ok",
|
|
45722
|
+
"weak",
|
|
45723
|
+
"wrong",
|
|
45724
|
+
"cannot_tell"
|
|
45725
|
+
]),
|
|
45726
|
+
tags: /* @__PURE__ */ array$1(/* @__PURE__ */ string$1()),
|
|
45727
|
+
uncovered_minutes: /* @__PURE__ */ number$2()
|
|
45728
|
+
}),
|
|
45729
|
+
drafts: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
45730
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
45731
|
+
confidence: /* @__PURE__ */ number$2(),
|
|
45732
|
+
description: /* @__PURE__ */ string$1(),
|
|
45733
|
+
end: apiDateTimeString,
|
|
45734
|
+
evidence_quality: /* @__PURE__ */ picklist$1([
|
|
45735
|
+
"rich",
|
|
45736
|
+
"thin",
|
|
45737
|
+
"none"
|
|
45738
|
+
]),
|
|
45739
|
+
meeting: /* @__PURE__ */ looseObject({
|
|
45740
|
+
guests: /* @__PURE__ */ number$2(),
|
|
45741
|
+
scheduled: /* @__PURE__ */ boolean$1()
|
|
45742
|
+
}),
|
|
45743
|
+
minutes: /* @__PURE__ */ number$2(),
|
|
45744
|
+
personal: /* @__PURE__ */ boolean$1(),
|
|
45745
|
+
profile: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
45746
|
+
kind: /* @__PURE__ */ picklist$1([
|
|
45747
|
+
"page",
|
|
45748
|
+
"app",
|
|
45749
|
+
"commit",
|
|
45750
|
+
"meeting",
|
|
45751
|
+
"mail",
|
|
45752
|
+
"message",
|
|
45753
|
+
"edit",
|
|
45754
|
+
"prompt"
|
|
45755
|
+
]),
|
|
45756
|
+
minutes: /* @__PURE__ */ number$2(),
|
|
45757
|
+
tool: /* @__PURE__ */ string$1(),
|
|
45758
|
+
count: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
45759
|
+
})),
|
|
45760
|
+
project: /* @__PURE__ */ string$1(),
|
|
45761
|
+
project_kind: /* @__PURE__ */ picklist$1([
|
|
45762
|
+
"existing",
|
|
45763
|
+
"suggested",
|
|
45764
|
+
"none"
|
|
45765
|
+
]),
|
|
45766
|
+
reason: /* @__PURE__ */ string$1(),
|
|
45767
|
+
start: apiDateTimeString,
|
|
45768
|
+
suggested_description: /* @__PURE__ */ string$1(),
|
|
45769
|
+
suggested_project: /* @__PURE__ */ string$1(),
|
|
45770
|
+
tags: /* @__PURE__ */ array$1(/* @__PURE__ */ string$1()),
|
|
45771
|
+
verdicts: /* @__PURE__ */ looseObject({
|
|
45772
|
+
boundaries: /* @__PURE__ */ picklist$1([
|
|
45773
|
+
"ok",
|
|
45774
|
+
"weak",
|
|
45775
|
+
"wrong",
|
|
45776
|
+
"cannot_tell"
|
|
45777
|
+
]),
|
|
45778
|
+
description: /* @__PURE__ */ picklist$1([
|
|
45779
|
+
"ok",
|
|
45780
|
+
"weak",
|
|
45781
|
+
"wrong",
|
|
45782
|
+
"cannot_tell"
|
|
45783
|
+
]),
|
|
45784
|
+
project: /* @__PURE__ */ picklist$1([
|
|
45785
|
+
"ok",
|
|
45786
|
+
"weak",
|
|
45787
|
+
"wrong",
|
|
45788
|
+
"cannot_tell"
|
|
45789
|
+
])
|
|
45790
|
+
})
|
|
45791
|
+
})),
|
|
45792
|
+
masked_spans: /* @__PURE__ */ number$2(),
|
|
45793
|
+
os: /* @__PURE__ */ picklist$1([
|
|
45794
|
+
"mac",
|
|
45795
|
+
"windows",
|
|
45796
|
+
"linux"
|
|
45797
|
+
]),
|
|
45798
|
+
rounds: /* @__PURE__ */ number$2(),
|
|
45799
|
+
run_id: /* @__PURE__ */ string$1(),
|
|
45800
|
+
sources: /* @__PURE__ */ looseObject({
|
|
45801
|
+
failed: /* @__PURE__ */ number$2(),
|
|
45802
|
+
full_disk_access: /* @__PURE__ */ boolean$1(),
|
|
45803
|
+
ok: /* @__PURE__ */ number$2()
|
|
45804
|
+
}),
|
|
45805
|
+
tracked_minutes: /* @__PURE__ */ number$2(),
|
|
45806
|
+
trigger: /* @__PURE__ */ picklist$1([
|
|
45807
|
+
"setup",
|
|
45808
|
+
"daily",
|
|
45809
|
+
"slot",
|
|
45810
|
+
"manual"
|
|
45811
|
+
])
|
|
45812
|
+
}) }),
|
|
45813
|
+
execute: (input, { client }) => {
|
|
45814
|
+
const data = input;
|
|
45815
|
+
return client.runGeneratedRequest("dayRebuildSaveReview", () => callGeneratedRequest(dayRebuildSaveReview, [
|
|
45816
|
+
client.httpClient,
|
|
45817
|
+
client.organizationId,
|
|
45818
|
+
client.workspaceIdNumber,
|
|
45819
|
+
data.payload ?? data.data ?? data,
|
|
45820
|
+
void 0
|
|
45821
|
+
]));
|
|
45822
|
+
}
|
|
45823
|
+
},
|
|
45564
45824
|
{
|
|
45565
45825
|
id: "focus.ai.discard-ai-change",
|
|
45566
45826
|
family: "focus",
|
|
@@ -45800,6 +46060,54 @@ const generatedFocusOperations = [
|
|
|
45800
46060
|
]));
|
|
45801
46061
|
}
|
|
45802
46062
|
},
|
|
46063
|
+
{
|
|
46064
|
+
id: "focus.ai.record-ai-message-event",
|
|
46065
|
+
family: "focus",
|
|
46066
|
+
resource: "ai",
|
|
46067
|
+
action: "record-ai-message-event",
|
|
46068
|
+
title: "Record Ai Message Event Ai",
|
|
46069
|
+
description: "Record Ai Message Event Ai.",
|
|
46070
|
+
safety: "update",
|
|
46071
|
+
destructive: false,
|
|
46072
|
+
cli: {
|
|
46073
|
+
group: ["ai"],
|
|
46074
|
+
command: "record-ai-message-event",
|
|
46075
|
+
interactive: "default"
|
|
46076
|
+
},
|
|
46077
|
+
mcp: { entityTool: "ai" },
|
|
46078
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46079
|
+
conversation_id: /* @__PURE__ */ string$1(),
|
|
46080
|
+
message_id: /* @__PURE__ */ number$2(),
|
|
46081
|
+
payload: /* @__PURE__ */ looseObject({
|
|
46082
|
+
kind: /* @__PURE__ */ picklist$1([
|
|
46083
|
+
"guide_opened",
|
|
46084
|
+
"guide_shown",
|
|
46085
|
+
"guide_step",
|
|
46086
|
+
"guide_finished",
|
|
46087
|
+
"guide_closed",
|
|
46088
|
+
"link_opened"
|
|
46089
|
+
]),
|
|
46090
|
+
at: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
46091
|
+
href: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
46092
|
+
step: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
46093
|
+
view_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
46094
|
+
}),
|
|
46095
|
+
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
|
|
46096
|
+
}),
|
|
46097
|
+
execute: (input, { client }) => {
|
|
46098
|
+
const data = input;
|
|
46099
|
+
return client.runGeneratedRequest("recordAiMessageEvent", () => callGeneratedRequest(recordAiMessageEvent, [
|
|
46100
|
+
client.httpClient,
|
|
46101
|
+
client.organizationId,
|
|
46102
|
+
client.workspaceIdNumber,
|
|
46103
|
+
data.conversation_id,
|
|
46104
|
+
data.message_id,
|
|
46105
|
+
data.payload ?? data.data ?? data,
|
|
46106
|
+
data.product,
|
|
46107
|
+
void 0
|
|
46108
|
+
]));
|
|
46109
|
+
}
|
|
46110
|
+
},
|
|
45803
46111
|
{
|
|
45804
46112
|
id: "focus.ai.remove-ai-attachment",
|
|
45805
46113
|
family: "focus",
|
|
@@ -45911,6 +46219,7 @@ const generatedFocusOperations = [
|
|
|
45911
46219
|
conversation_id: /* @__PURE__ */ string$1(),
|
|
45912
46220
|
payload: /* @__PURE__ */ looseObject({
|
|
45913
46221
|
text: /* @__PURE__ */ string$1(),
|
|
46222
|
+
app_version: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45914
46223
|
attachment_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ string$1())),
|
|
45915
46224
|
page_context: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
45916
46225
|
page: /* @__PURE__ */ string$1(),
|
|
@@ -46000,7 +46309,16 @@ const generatedFocusOperations = [
|
|
|
46000
46309
|
language: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
46001
46310
|
page_label: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
46002
46311
|
url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
46003
|
-
}))
|
|
46312
|
+
})),
|
|
46313
|
+
platform: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
46314
|
+
"web",
|
|
46315
|
+
"mobile",
|
|
46316
|
+
"desktop",
|
|
46317
|
+
"extension",
|
|
46318
|
+
"mcp",
|
|
46319
|
+
"cli"
|
|
46320
|
+
])),
|
|
46321
|
+
suggestion_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
46004
46322
|
}),
|
|
46005
46323
|
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
|
|
46006
46324
|
}),
|
|
@@ -46249,6 +46567,33 @@ const generatedFocusOperations = [
|
|
|
46249
46567
|
]));
|
|
46250
46568
|
}
|
|
46251
46569
|
},
|
|
46570
|
+
{
|
|
46571
|
+
id: "focus.archival.keep-upcoming-archival-group",
|
|
46572
|
+
family: "focus",
|
|
46573
|
+
resource: "archival",
|
|
46574
|
+
action: "keep-upcoming-archival-group",
|
|
46575
|
+
title: "Keep Upcoming Archival Group Archival",
|
|
46576
|
+
description: "Keep Upcoming Archival Group Archival.",
|
|
46577
|
+
safety: "update",
|
|
46578
|
+
destructive: false,
|
|
46579
|
+
cli: {
|
|
46580
|
+
group: ["archival"],
|
|
46581
|
+
command: "keep-upcoming-archival-group",
|
|
46582
|
+
interactive: "default"
|
|
46583
|
+
},
|
|
46584
|
+
mcp: { entityTool: "archival" },
|
|
46585
|
+
inputSchema: /* @__PURE__ */ looseObject({ group_id: /* @__PURE__ */ number$2() }),
|
|
46586
|
+
execute: (input, { client }) => {
|
|
46587
|
+
const data = input;
|
|
46588
|
+
return client.runGeneratedRequest("keepUpcomingArchivalGroup", () => callGeneratedRequest(keepUpcomingArchivalGroup, [
|
|
46589
|
+
client.httpClient,
|
|
46590
|
+
client.organizationId,
|
|
46591
|
+
client.workspaceIdNumber,
|
|
46592
|
+
data.group_id,
|
|
46593
|
+
void 0
|
|
46594
|
+
]));
|
|
46595
|
+
}
|
|
46596
|
+
},
|
|
46252
46597
|
{
|
|
46253
46598
|
id: "focus.archived-clients.get",
|
|
46254
46599
|
family: "focus",
|
|
@@ -47142,11 +47487,29 @@ const generatedFocusOperations = [
|
|
|
47142
47487
|
}
|
|
47143
47488
|
},
|
|
47144
47489
|
{
|
|
47145
|
-
id: "focus.
|
|
47490
|
+
id: "focus.currencies.list",
|
|
47146
47491
|
family: "focus",
|
|
47147
|
-
resource: "
|
|
47148
|
-
action: "
|
|
47149
|
-
title: "
|
|
47492
|
+
resource: "currencies",
|
|
47493
|
+
action: "list",
|
|
47494
|
+
title: "List Currencies",
|
|
47495
|
+
description: "List Currencies.",
|
|
47496
|
+
safety: "read",
|
|
47497
|
+
destructive: false,
|
|
47498
|
+
cli: {
|
|
47499
|
+
group: ["currencies"],
|
|
47500
|
+
command: "list",
|
|
47501
|
+
interactive: "hidden"
|
|
47502
|
+
},
|
|
47503
|
+
mcp: { entityTool: "currencies" },
|
|
47504
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
47505
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCurrencies", () => callGeneratedRequest(getCurrencies, [client.httpClient, void 0]))
|
|
47506
|
+
},
|
|
47507
|
+
{
|
|
47508
|
+
id: "focus.custom-fields.bulk-patch-user-custom-field-values",
|
|
47509
|
+
family: "focus",
|
|
47510
|
+
resource: "custom-fields",
|
|
47511
|
+
action: "bulk-patch-user-custom-field-values",
|
|
47512
|
+
title: "Bulk Patch User Custom Field Values Custom Fields",
|
|
47150
47513
|
description: "Bulk Patch User Custom Field Values Custom Fields.",
|
|
47151
47514
|
safety: "update",
|
|
47152
47515
|
destructive: false,
|
|
@@ -48019,81 +48382,6 @@ const generatedFocusOperations = [
|
|
|
48019
48382
|
]));
|
|
48020
48383
|
}
|
|
48021
48384
|
},
|
|
48022
|
-
{
|
|
48023
|
-
id: "focus.designations.create-project",
|
|
48024
|
-
family: "focus",
|
|
48025
|
-
resource: "designations",
|
|
48026
|
-
action: "create-project",
|
|
48027
|
-
title: "Create Project Designations",
|
|
48028
|
-
description: "Create Project Designations.",
|
|
48029
|
-
safety: "create",
|
|
48030
|
-
destructive: false,
|
|
48031
|
-
cli: {
|
|
48032
|
-
group: ["designations"],
|
|
48033
|
-
command: "create-project",
|
|
48034
|
-
interactive: "default"
|
|
48035
|
-
},
|
|
48036
|
-
mcp: { entityTool: "designations" },
|
|
48037
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48038
|
-
payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48039
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
48040
|
-
bookings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48041
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
48042
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
48043
|
-
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48044
|
-
}))),
|
|
48045
|
-
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48046
|
-
})) }),
|
|
48047
|
-
project_id: /* @__PURE__ */ number$2()
|
|
48048
|
-
}),
|
|
48049
|
-
execute: (input, { client }) => {
|
|
48050
|
-
const data = input;
|
|
48051
|
-
return client.runGeneratedRequest("createProjectDesignations", () => callGeneratedRequest(createProjectDesignations, [
|
|
48052
|
-
client.httpClient,
|
|
48053
|
-
client.organizationId,
|
|
48054
|
-
client.workspaceIdNumber,
|
|
48055
|
-
data.project_id,
|
|
48056
|
-
data.payload ?? data.data ?? data,
|
|
48057
|
-
void 0
|
|
48058
|
-
]));
|
|
48059
|
-
}
|
|
48060
|
-
},
|
|
48061
|
-
{
|
|
48062
|
-
id: "focus.designations.create-project-designation-bookings",
|
|
48063
|
-
family: "focus",
|
|
48064
|
-
resource: "designations",
|
|
48065
|
-
action: "create-project-designation-bookings",
|
|
48066
|
-
title: "Create Project Designation Bookings Designations",
|
|
48067
|
-
description: "Create Project Designation Bookings Designations.",
|
|
48068
|
-
safety: "create",
|
|
48069
|
-
destructive: false,
|
|
48070
|
-
cli: {
|
|
48071
|
-
group: ["designations"],
|
|
48072
|
-
command: "create-project-designation-bookings",
|
|
48073
|
-
interactive: "default"
|
|
48074
|
-
},
|
|
48075
|
-
mcp: { entityTool: "designations" },
|
|
48076
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48077
|
-
payload: /* @__PURE__ */ looseObject({ bookings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48078
|
-
project_trait_id: /* @__PURE__ */ number$2(),
|
|
48079
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
48080
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
48081
|
-
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48082
|
-
})) }),
|
|
48083
|
-
project_id: /* @__PURE__ */ number$2()
|
|
48084
|
-
}),
|
|
48085
|
-
execute: (input, { client }) => {
|
|
48086
|
-
const data = input;
|
|
48087
|
-
return client.runGeneratedRequest("createProjectDesignationBookings", () => callGeneratedRequest(createProjectDesignationBookings, [
|
|
48088
|
-
client.httpClient,
|
|
48089
|
-
client.organizationId,
|
|
48090
|
-
client.workspaceIdNumber,
|
|
48091
|
-
data.project_id,
|
|
48092
|
-
data.payload ?? data.data ?? data,
|
|
48093
|
-
void 0
|
|
48094
|
-
]));
|
|
48095
|
-
}
|
|
48096
|
-
},
|
|
48097
48385
|
{
|
|
48098
48386
|
id: "focus.designations.create-workspace",
|
|
48099
48387
|
family: "focus",
|
|
@@ -48124,68 +48412,6 @@ const generatedFocusOperations = [
|
|
|
48124
48412
|
]));
|
|
48125
48413
|
}
|
|
48126
48414
|
},
|
|
48127
|
-
{
|
|
48128
|
-
id: "focus.designations.delete-project",
|
|
48129
|
-
family: "focus",
|
|
48130
|
-
resource: "designations",
|
|
48131
|
-
action: "delete-project",
|
|
48132
|
-
title: "Delete Project Designations",
|
|
48133
|
-
description: "Delete Project Designations.",
|
|
48134
|
-
safety: "delete",
|
|
48135
|
-
destructive: true,
|
|
48136
|
-
cli: {
|
|
48137
|
-
group: ["designations"],
|
|
48138
|
-
command: "delete-project",
|
|
48139
|
-
interactive: "default"
|
|
48140
|
-
},
|
|
48141
|
-
mcp: { entityTool: "designations" },
|
|
48142
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48143
|
-
payload: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
48144
|
-
project_id: /* @__PURE__ */ number$2()
|
|
48145
|
-
}),
|
|
48146
|
-
execute: (input, { client }) => {
|
|
48147
|
-
const data = input;
|
|
48148
|
-
return client.runGeneratedRequest("deleteProjectDesignations", () => callGeneratedRequest(deleteProjectDesignations, [
|
|
48149
|
-
client.httpClient,
|
|
48150
|
-
client.organizationId,
|
|
48151
|
-
client.workspaceIdNumber,
|
|
48152
|
-
data.project_id,
|
|
48153
|
-
data.payload ?? data.data ?? data,
|
|
48154
|
-
void 0
|
|
48155
|
-
]));
|
|
48156
|
-
}
|
|
48157
|
-
},
|
|
48158
|
-
{
|
|
48159
|
-
id: "focus.designations.delete-project-designation-bookings",
|
|
48160
|
-
family: "focus",
|
|
48161
|
-
resource: "designations",
|
|
48162
|
-
action: "delete-project-designation-bookings",
|
|
48163
|
-
title: "Delete Project Designation Bookings Designations",
|
|
48164
|
-
description: "Delete Project Designation Bookings Designations.",
|
|
48165
|
-
safety: "delete",
|
|
48166
|
-
destructive: true,
|
|
48167
|
-
cli: {
|
|
48168
|
-
group: ["designations"],
|
|
48169
|
-
command: "delete-project-designation-bookings",
|
|
48170
|
-
interactive: "default"
|
|
48171
|
-
},
|
|
48172
|
-
mcp: { entityTool: "designations" },
|
|
48173
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48174
|
-
payload: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
48175
|
-
project_id: /* @__PURE__ */ number$2()
|
|
48176
|
-
}),
|
|
48177
|
-
execute: (input, { client }) => {
|
|
48178
|
-
const data = input;
|
|
48179
|
-
return client.runGeneratedRequest("deleteProjectDesignationBookings", () => callGeneratedRequest(deleteProjectDesignationBookings, [
|
|
48180
|
-
client.httpClient,
|
|
48181
|
-
client.organizationId,
|
|
48182
|
-
client.workspaceIdNumber,
|
|
48183
|
-
data.project_id,
|
|
48184
|
-
data.payload ?? data.data ?? data,
|
|
48185
|
-
void 0
|
|
48186
|
-
]));
|
|
48187
|
-
}
|
|
48188
|
-
},
|
|
48189
48415
|
{
|
|
48190
48416
|
id: "focus.designations.delete-workspace",
|
|
48191
48417
|
family: "focus",
|
|
@@ -48213,74 +48439,6 @@ const generatedFocusOperations = [
|
|
|
48213
48439
|
]));
|
|
48214
48440
|
}
|
|
48215
48441
|
},
|
|
48216
|
-
{
|
|
48217
|
-
id: "focus.designations.get-project",
|
|
48218
|
-
family: "focus",
|
|
48219
|
-
resource: "designations",
|
|
48220
|
-
action: "get-project",
|
|
48221
|
-
title: "Get Project Designations",
|
|
48222
|
-
description: "Get Project Designations.",
|
|
48223
|
-
safety: "read",
|
|
48224
|
-
destructive: false,
|
|
48225
|
-
cli: {
|
|
48226
|
-
group: ["designations"],
|
|
48227
|
-
command: "get-project",
|
|
48228
|
-
interactive: "hidden"
|
|
48229
|
-
},
|
|
48230
|
-
mcp: { entityTool: "designations" },
|
|
48231
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48232
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
48233
|
-
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48234
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48235
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
48236
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
48237
|
-
}),
|
|
48238
|
-
execute: (input, { client }) => {
|
|
48239
|
-
const data = input;
|
|
48240
|
-
return client.runGeneratedRequest("getProjectDesignations", () => callGeneratedRequest(getProjectDesignations, [
|
|
48241
|
-
client.httpClient,
|
|
48242
|
-
client.organizationId,
|
|
48243
|
-
client.workspaceIdNumber,
|
|
48244
|
-
data.project_id,
|
|
48245
|
-
data,
|
|
48246
|
-
void 0
|
|
48247
|
-
]));
|
|
48248
|
-
}
|
|
48249
|
-
},
|
|
48250
|
-
{
|
|
48251
|
-
id: "focus.designations.get-project-designation-bookings",
|
|
48252
|
-
family: "focus",
|
|
48253
|
-
resource: "designations",
|
|
48254
|
-
action: "get-project-designation-bookings",
|
|
48255
|
-
title: "Get Project Designation Bookings Designations",
|
|
48256
|
-
description: "Get Project Designation Bookings Designations.",
|
|
48257
|
-
safety: "read",
|
|
48258
|
-
destructive: false,
|
|
48259
|
-
cli: {
|
|
48260
|
-
group: ["designations"],
|
|
48261
|
-
command: "get-project-designation-bookings",
|
|
48262
|
-
interactive: "hidden"
|
|
48263
|
-
},
|
|
48264
|
-
mcp: { entityTool: "designations" },
|
|
48265
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48266
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
48267
|
-
include_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48268
|
-
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48269
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
48270
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
48271
|
-
}),
|
|
48272
|
-
execute: (input, { client }) => {
|
|
48273
|
-
const data = input;
|
|
48274
|
-
return client.runGeneratedRequest("getProjectDesignationBookings", () => callGeneratedRequest(getProjectDesignationBookings, [
|
|
48275
|
-
client.httpClient,
|
|
48276
|
-
client.organizationId,
|
|
48277
|
-
client.workspaceIdNumber,
|
|
48278
|
-
data.project_id,
|
|
48279
|
-
data,
|
|
48280
|
-
void 0
|
|
48281
|
-
]));
|
|
48282
|
-
}
|
|
48283
|
-
},
|
|
48284
48442
|
{
|
|
48285
48443
|
id: "focus.designations.get-workspace-designations",
|
|
48286
48444
|
family: "focus",
|
|
@@ -48299,12 +48457,15 @@ const generatedFocusOperations = [
|
|
|
48299
48457
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48300
48458
|
designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48301
48459
|
has_members: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48460
|
+
has_project_trait: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48302
48461
|
has_role_in_products: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48303
48462
|
include_members: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48463
|
+
include_project_designation_members: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48304
48464
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48305
48465
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48306
48466
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48307
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48467
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48468
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48308
48469
|
}),
|
|
48309
48470
|
execute: (input, { client }) => {
|
|
48310
48471
|
const data = input;
|
|
@@ -48317,68 +48478,6 @@ const generatedFocusOperations = [
|
|
|
48317
48478
|
]));
|
|
48318
48479
|
}
|
|
48319
48480
|
},
|
|
48320
|
-
{
|
|
48321
|
-
id: "focus.designations.update-project",
|
|
48322
|
-
family: "focus",
|
|
48323
|
-
resource: "designations",
|
|
48324
|
-
action: "update-project",
|
|
48325
|
-
title: "Update Project Designations",
|
|
48326
|
-
description: "Update Project Designations.",
|
|
48327
|
-
safety: "update",
|
|
48328
|
-
destructive: false,
|
|
48329
|
-
cli: {
|
|
48330
|
-
group: ["designations"],
|
|
48331
|
-
command: "update-project",
|
|
48332
|
-
interactive: "default"
|
|
48333
|
-
},
|
|
48334
|
-
mcp: { entityTool: "designations" },
|
|
48335
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48336
|
-
payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() })) }),
|
|
48337
|
-
project_id: /* @__PURE__ */ number$2()
|
|
48338
|
-
}),
|
|
48339
|
-
execute: (input, { client }) => {
|
|
48340
|
-
const data = input;
|
|
48341
|
-
return client.runGeneratedRequest("updateProjectDesignations", () => callGeneratedRequest(updateProjectDesignations, [
|
|
48342
|
-
client.httpClient,
|
|
48343
|
-
client.organizationId,
|
|
48344
|
-
client.workspaceIdNumber,
|
|
48345
|
-
data.project_id,
|
|
48346
|
-
data.payload ?? data.data ?? data,
|
|
48347
|
-
void 0
|
|
48348
|
-
]));
|
|
48349
|
-
}
|
|
48350
|
-
},
|
|
48351
|
-
{
|
|
48352
|
-
id: "focus.designations.update-project-designation-bookings",
|
|
48353
|
-
family: "focus",
|
|
48354
|
-
resource: "designations",
|
|
48355
|
-
action: "update-project-designation-bookings",
|
|
48356
|
-
title: "Update Project Designation Bookings Designations",
|
|
48357
|
-
description: "Update Project Designation Bookings Designations.",
|
|
48358
|
-
safety: "update",
|
|
48359
|
-
destructive: false,
|
|
48360
|
-
cli: {
|
|
48361
|
-
group: ["designations"],
|
|
48362
|
-
command: "update-project-designation-bookings",
|
|
48363
|
-
interactive: "default"
|
|
48364
|
-
},
|
|
48365
|
-
mcp: { entityTool: "designations" },
|
|
48366
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48367
|
-
payload: /* @__PURE__ */ looseObject({ bookings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() })) }),
|
|
48368
|
-
project_id: /* @__PURE__ */ number$2()
|
|
48369
|
-
}),
|
|
48370
|
-
execute: (input, { client }) => {
|
|
48371
|
-
const data = input;
|
|
48372
|
-
return client.runGeneratedRequest("updateProjectDesignationBookings", () => callGeneratedRequest(updateProjectDesignationBookings, [
|
|
48373
|
-
client.httpClient,
|
|
48374
|
-
client.organizationId,
|
|
48375
|
-
client.workspaceIdNumber,
|
|
48376
|
-
data.project_id,
|
|
48377
|
-
data.payload ?? data.data ?? data,
|
|
48378
|
-
void 0
|
|
48379
|
-
]));
|
|
48380
|
-
}
|
|
48381
|
-
},
|
|
48382
48481
|
{
|
|
48383
48482
|
id: "focus.designations.update-workspace",
|
|
48384
48483
|
family: "focus",
|
|
@@ -49774,6 +49873,308 @@ const generatedFocusOperations = [
|
|
|
49774
49873
|
return client.deleteProject(data.project_id);
|
|
49775
49874
|
}
|
|
49776
49875
|
},
|
|
49876
|
+
{
|
|
49877
|
+
id: "focus.projects.designations-create",
|
|
49878
|
+
family: "focus",
|
|
49879
|
+
resource: "projects",
|
|
49880
|
+
action: "designations-create",
|
|
49881
|
+
title: "Designations Create Projects",
|
|
49882
|
+
description: "Designations Create Projects.",
|
|
49883
|
+
safety: "create",
|
|
49884
|
+
destructive: false,
|
|
49885
|
+
cli: {
|
|
49886
|
+
group: ["projects", "designations"],
|
|
49887
|
+
command: "create",
|
|
49888
|
+
interactive: "default"
|
|
49889
|
+
},
|
|
49890
|
+
mcp: { entityTool: "projects" },
|
|
49891
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49892
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
49893
|
+
trait_id: /* @__PURE__ */ number$2(),
|
|
49894
|
+
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49895
|
+
members: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ toggl_user_id: /* @__PURE__ */ number$2() })))
|
|
49896
|
+
})) }) }),
|
|
49897
|
+
execute: (input, { client }) => {
|
|
49898
|
+
const data = input;
|
|
49899
|
+
return client.runGeneratedRequest("createProjectDesignations", () => callGeneratedRequest(createProjectDesignations, [
|
|
49900
|
+
client.httpClient,
|
|
49901
|
+
client.organizationId,
|
|
49902
|
+
client.workspaceIdNumber,
|
|
49903
|
+
data.payload ?? data.data ?? data,
|
|
49904
|
+
void 0
|
|
49905
|
+
]));
|
|
49906
|
+
}
|
|
49907
|
+
},
|
|
49908
|
+
{
|
|
49909
|
+
id: "focus.projects.designations-create-bookings",
|
|
49910
|
+
family: "focus",
|
|
49911
|
+
resource: "projects",
|
|
49912
|
+
action: "designations-create-bookings",
|
|
49913
|
+
title: "Designations Create Bookings Projects",
|
|
49914
|
+
description: "Designations Create Bookings Projects.",
|
|
49915
|
+
safety: "create",
|
|
49916
|
+
destructive: false,
|
|
49917
|
+
cli: {
|
|
49918
|
+
group: ["projects", "designations"],
|
|
49919
|
+
command: "create-bookings",
|
|
49920
|
+
interactive: "default"
|
|
49921
|
+
},
|
|
49922
|
+
mcp: { entityTool: "projects" },
|
|
49923
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ bookings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49924
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
49925
|
+
project_trait_id: /* @__PURE__ */ number$2(),
|
|
49926
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49927
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49928
|
+
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49929
|
+
})) }) }),
|
|
49930
|
+
execute: (input, { client }) => {
|
|
49931
|
+
const data = input;
|
|
49932
|
+
return client.runGeneratedRequest("createProjectDesignationBookings", () => callGeneratedRequest(createProjectDesignationBookings, [
|
|
49933
|
+
client.httpClient,
|
|
49934
|
+
client.organizationId,
|
|
49935
|
+
client.workspaceIdNumber,
|
|
49936
|
+
data.payload ?? data.data ?? data,
|
|
49937
|
+
void 0
|
|
49938
|
+
]));
|
|
49939
|
+
}
|
|
49940
|
+
},
|
|
49941
|
+
{
|
|
49942
|
+
id: "focus.projects.designations-delete",
|
|
49943
|
+
family: "focus",
|
|
49944
|
+
resource: "projects",
|
|
49945
|
+
action: "designations-delete",
|
|
49946
|
+
title: "Designations Delete Projects",
|
|
49947
|
+
description: "Designations Delete Projects.",
|
|
49948
|
+
safety: "delete",
|
|
49949
|
+
destructive: true,
|
|
49950
|
+
cli: {
|
|
49951
|
+
group: ["projects", "designations"],
|
|
49952
|
+
command: "delete",
|
|
49953
|
+
interactive: "default"
|
|
49954
|
+
},
|
|
49955
|
+
mcp: { entityTool: "projects" },
|
|
49956
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49957
|
+
execute: (input, { client }) => {
|
|
49958
|
+
const data = input;
|
|
49959
|
+
return client.runGeneratedRequest("deleteProjectDesignations", () => callGeneratedRequest(deleteProjectDesignations, [
|
|
49960
|
+
client.httpClient,
|
|
49961
|
+
client.organizationId,
|
|
49962
|
+
client.workspaceIdNumber,
|
|
49963
|
+
data.payload ?? data.data ?? data,
|
|
49964
|
+
void 0
|
|
49965
|
+
]));
|
|
49966
|
+
}
|
|
49967
|
+
},
|
|
49968
|
+
{
|
|
49969
|
+
id: "focus.projects.designations-delete-bookings",
|
|
49970
|
+
family: "focus",
|
|
49971
|
+
resource: "projects",
|
|
49972
|
+
action: "designations-delete-bookings",
|
|
49973
|
+
title: "Designations Delete Bookings Projects",
|
|
49974
|
+
description: "Designations Delete Bookings Projects.",
|
|
49975
|
+
safety: "delete",
|
|
49976
|
+
destructive: true,
|
|
49977
|
+
cli: {
|
|
49978
|
+
group: ["projects", "designations"],
|
|
49979
|
+
command: "delete-bookings",
|
|
49980
|
+
interactive: "default"
|
|
49981
|
+
},
|
|
49982
|
+
mcp: { entityTool: "projects" },
|
|
49983
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49984
|
+
execute: (input, { client }) => {
|
|
49985
|
+
const data = input;
|
|
49986
|
+
return client.runGeneratedRequest("deleteProjectDesignationBookings", () => callGeneratedRequest(deleteProjectDesignationBookings, [
|
|
49987
|
+
client.httpClient,
|
|
49988
|
+
client.organizationId,
|
|
49989
|
+
client.workspaceIdNumber,
|
|
49990
|
+
data.payload ?? data.data ?? data,
|
|
49991
|
+
void 0
|
|
49992
|
+
]));
|
|
49993
|
+
}
|
|
49994
|
+
},
|
|
49995
|
+
{
|
|
49996
|
+
id: "focus.projects.designations-get-bookings",
|
|
49997
|
+
family: "focus",
|
|
49998
|
+
resource: "projects",
|
|
49999
|
+
action: "designations-get-bookings",
|
|
50000
|
+
title: "Designations Get Bookings Projects",
|
|
50001
|
+
description: "Designations Get Bookings Projects.",
|
|
50002
|
+
safety: "read",
|
|
50003
|
+
destructive: false,
|
|
50004
|
+
cli: {
|
|
50005
|
+
group: ["projects", "designations"],
|
|
50006
|
+
command: "get-bookings",
|
|
50007
|
+
interactive: "hidden"
|
|
50008
|
+
},
|
|
50009
|
+
mcp: { entityTool: "projects" },
|
|
50010
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50011
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50012
|
+
include_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50013
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50014
|
+
project_ids: /* @__PURE__ */ unknown$1(),
|
|
50015
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
50016
|
+
}),
|
|
50017
|
+
execute: (input, { client }) => {
|
|
50018
|
+
const data = input;
|
|
50019
|
+
return client.runGeneratedRequest("getProjectDesignationBookings", () => callGeneratedRequest(getProjectDesignationBookings, [
|
|
50020
|
+
client.httpClient,
|
|
50021
|
+
client.organizationId,
|
|
50022
|
+
client.workspaceIdNumber,
|
|
50023
|
+
data,
|
|
50024
|
+
void 0
|
|
50025
|
+
]));
|
|
50026
|
+
}
|
|
50027
|
+
},
|
|
50028
|
+
{
|
|
50029
|
+
id: "focus.projects.designations-get-members",
|
|
50030
|
+
family: "focus",
|
|
50031
|
+
resource: "projects",
|
|
50032
|
+
action: "designations-get-members",
|
|
50033
|
+
title: "Designations Get Members Projects",
|
|
50034
|
+
description: "Designations Get Members Projects.",
|
|
50035
|
+
safety: "read",
|
|
50036
|
+
destructive: false,
|
|
50037
|
+
cli: {
|
|
50038
|
+
group: ["projects", "designations"],
|
|
50039
|
+
command: "get-members",
|
|
50040
|
+
interactive: "hidden"
|
|
50041
|
+
},
|
|
50042
|
+
mcp: { entityTool: "projects" },
|
|
50043
|
+
inputSchema: /* @__PURE__ */ looseObject({ project_ids: /* @__PURE__ */ unknown$1() }),
|
|
50044
|
+
execute: (input, { client }) => {
|
|
50045
|
+
const data = input;
|
|
50046
|
+
return client.runGeneratedRequest("getProjectDesignationMembers", () => callGeneratedRequest(getProjectDesignationMembers, [
|
|
50047
|
+
client.httpClient,
|
|
50048
|
+
client.organizationId,
|
|
50049
|
+
client.workspaceIdNumber,
|
|
50050
|
+
data,
|
|
50051
|
+
void 0
|
|
50052
|
+
]));
|
|
50053
|
+
}
|
|
50054
|
+
},
|
|
50055
|
+
{
|
|
50056
|
+
id: "focus.projects.designations-list",
|
|
50057
|
+
family: "focus",
|
|
50058
|
+
resource: "projects",
|
|
50059
|
+
action: "designations-list",
|
|
50060
|
+
title: "Designations List Projects",
|
|
50061
|
+
description: "Designations List Projects.",
|
|
50062
|
+
safety: "read",
|
|
50063
|
+
destructive: false,
|
|
50064
|
+
cli: {
|
|
50065
|
+
group: ["projects", "designations"],
|
|
50066
|
+
command: "list",
|
|
50067
|
+
interactive: "hidden"
|
|
50068
|
+
},
|
|
50069
|
+
mcp: { entityTool: "projects" },
|
|
50070
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50071
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50072
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50073
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50074
|
+
project_ids: /* @__PURE__ */ unknown$1(),
|
|
50075
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
50076
|
+
}),
|
|
50077
|
+
execute: (input, { client }) => {
|
|
50078
|
+
const data = input;
|
|
50079
|
+
return client.runGeneratedRequest("getProjectDesignations", () => callGeneratedRequest(getProjectDesignations, [
|
|
50080
|
+
client.httpClient,
|
|
50081
|
+
client.organizationId,
|
|
50082
|
+
client.workspaceIdNumber,
|
|
50083
|
+
data,
|
|
50084
|
+
void 0
|
|
50085
|
+
]));
|
|
50086
|
+
}
|
|
50087
|
+
},
|
|
50088
|
+
{
|
|
50089
|
+
id: "focus.projects.designations-update",
|
|
50090
|
+
family: "focus",
|
|
50091
|
+
resource: "projects",
|
|
50092
|
+
action: "designations-update",
|
|
50093
|
+
title: "Designations Update Projects",
|
|
50094
|
+
description: "Designations Update Projects.",
|
|
50095
|
+
safety: "update",
|
|
50096
|
+
destructive: false,
|
|
50097
|
+
cli: {
|
|
50098
|
+
group: ["projects", "designations"],
|
|
50099
|
+
command: "update",
|
|
50100
|
+
interactive: "default"
|
|
50101
|
+
},
|
|
50102
|
+
mcp: { entityTool: "projects" },
|
|
50103
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() })) }) }),
|
|
50104
|
+
execute: (input, { client }) => {
|
|
50105
|
+
const data = input;
|
|
50106
|
+
return client.runGeneratedRequest("updateProjectDesignations", () => callGeneratedRequest(updateProjectDesignations, [
|
|
50107
|
+
client.httpClient,
|
|
50108
|
+
client.organizationId,
|
|
50109
|
+
client.workspaceIdNumber,
|
|
50110
|
+
data.payload ?? data.data ?? data,
|
|
50111
|
+
void 0
|
|
50112
|
+
]));
|
|
50113
|
+
}
|
|
50114
|
+
},
|
|
50115
|
+
{
|
|
50116
|
+
id: "focus.projects.designations-update-bookings",
|
|
50117
|
+
family: "focus",
|
|
50118
|
+
resource: "projects",
|
|
50119
|
+
action: "designations-update-bookings",
|
|
50120
|
+
title: "Designations Update Bookings Projects",
|
|
50121
|
+
description: "Designations Update Bookings Projects.",
|
|
50122
|
+
safety: "update",
|
|
50123
|
+
destructive: false,
|
|
50124
|
+
cli: {
|
|
50125
|
+
group: ["projects", "designations"],
|
|
50126
|
+
command: "update-bookings",
|
|
50127
|
+
interactive: "default"
|
|
50128
|
+
},
|
|
50129
|
+
mcp: { entityTool: "projects" },
|
|
50130
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ bookings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() })) }) }),
|
|
50131
|
+
execute: (input, { client }) => {
|
|
50132
|
+
const data = input;
|
|
50133
|
+
return client.runGeneratedRequest("updateProjectDesignationBookings", () => callGeneratedRequest(updateProjectDesignationBookings, [
|
|
50134
|
+
client.httpClient,
|
|
50135
|
+
client.organizationId,
|
|
50136
|
+
client.workspaceIdNumber,
|
|
50137
|
+
data.payload ?? data.data ?? data,
|
|
50138
|
+
void 0
|
|
50139
|
+
]));
|
|
50140
|
+
}
|
|
50141
|
+
},
|
|
50142
|
+
{
|
|
50143
|
+
id: "focus.projects.designations-update-members",
|
|
50144
|
+
family: "focus",
|
|
50145
|
+
resource: "projects",
|
|
50146
|
+
action: "designations-update-members",
|
|
50147
|
+
title: "Designations Update Members Projects",
|
|
50148
|
+
description: "Designations Update Members Projects.",
|
|
50149
|
+
safety: "update",
|
|
50150
|
+
destructive: false,
|
|
50151
|
+
cli: {
|
|
50152
|
+
group: ["projects", "designations"],
|
|
50153
|
+
command: "update-members",
|
|
50154
|
+
interactive: "default"
|
|
50155
|
+
},
|
|
50156
|
+
mcp: { entityTool: "projects" },
|
|
50157
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
50158
|
+
add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
50159
|
+
project_trait_id: /* @__PURE__ */ number$2(),
|
|
50160
|
+
toggl_user_id: /* @__PURE__ */ number$2()
|
|
50161
|
+
}))),
|
|
50162
|
+
remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
50163
|
+
project_trait_id: /* @__PURE__ */ number$2(),
|
|
50164
|
+
toggl_user_id: /* @__PURE__ */ number$2()
|
|
50165
|
+
})))
|
|
50166
|
+
}) }),
|
|
50167
|
+
execute: (input, { client }) => {
|
|
50168
|
+
const data = input;
|
|
50169
|
+
return client.runGeneratedRequest("updateProjectDesignationMembers", () => callGeneratedRequest(updateProjectDesignationMembers, [
|
|
50170
|
+
client.httpClient,
|
|
50171
|
+
client.organizationId,
|
|
50172
|
+
client.workspaceIdNumber,
|
|
50173
|
+
data.payload ?? data.data ?? data,
|
|
50174
|
+
void 0
|
|
50175
|
+
]));
|
|
50176
|
+
}
|
|
50177
|
+
},
|
|
49777
50178
|
{
|
|
49778
50179
|
id: "focus.projects.duplicate",
|
|
49779
50180
|
family: "focus",
|
|
@@ -59435,6 +59836,7 @@ const generatedFocusOperations = [
|
|
|
59435
59836
|
goal_reminders_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59436
59837
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59437
59838
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59839
|
+
invite_members_card_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59438
59840
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59439
59841
|
notification_delivery: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
59440
59842
|
"email",
|
|
@@ -61184,7 +61586,7 @@ function registerWorkspaceTools(server) {
|
|
|
61184
61586
|
//#region src/package-version.ts
|
|
61185
61587
|
function mcpPackageVersion() {
|
|
61186
61588
|
try {
|
|
61187
|
-
return "1.13.
|
|
61589
|
+
return "1.13.295";
|
|
61188
61590
|
} catch {
|
|
61189
61591
|
return "unknown";
|
|
61190
61592
|
}
|
|
@@ -61366,7 +61768,7 @@ import_main.default.config({
|
|
|
61366
61768
|
quiet: true,
|
|
61367
61769
|
ignore: ["MISSING_ENV_FILE"]
|
|
61368
61770
|
});
|
|
61369
|
-
const packageVersion = "1.13.
|
|
61771
|
+
const packageVersion = "1.13.295";
|
|
61370
61772
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
61371
61773
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
61372
61774
|
function resolvePublicUrls() {
|
|
@@ -61486,4 +61888,4 @@ function bootstrapServer(options = {}) {
|
|
|
61486
61888
|
//#endregion
|
|
61487
61889
|
export { PUBLIC_SENTRY_PRIVACY_OPTIONS as a, initProductAnalytics as c, shutdownProductAnalytics as d, runMcpCli as i, resolveProductAnalyticsDistinctId as l, MCP_MAX_TOOL_INPUT_ELEMENTS as n, captureToolInvocation as o, bootstrapServer as r, getProductAnalyticsDistinctId as s, MCP_CACHE_TTL_MS as t, resolvePublicSentryDsn as u };
|
|
61488
61890
|
|
|
61489
|
-
//# sourceMappingURL=src-
|
|
61891
|
+
//# sourceMappingURL=src-BV26ZwWV.js.map
|