@togglhq/mcp 1.13.293 → 1.13.294
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-CYHsYuWd.js} +742 -346
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-
|
|
2
|
+
import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-CYHsYuWd.js";
|
|
3
3
|
import * as Sentry from "@sentry/node";
|
|
4
4
|
//#region src/analytics-tool-metadata.ts
|
|
5
5
|
/**
|
|
@@ -162,7 +162,7 @@ function wrapServerWithProductAnalytics(server) {
|
|
|
162
162
|
}
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region src/cli.ts
|
|
165
|
-
const packageVersion = "1.13.
|
|
165
|
+
const packageVersion = "1.13.294";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-
|
|
2
|
+
import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-CYHsYuWd.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -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`, {
|
|
@@ -43759,68 +43793,6 @@ async function updateWorkspaceDesignationMembers(httpClient, organization_id, wo
|
|
|
43759
43793
|
json: data
|
|
43760
43794
|
})).json();
|
|
43761
43795
|
}
|
|
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
43796
|
async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
|
|
43825
43797
|
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal });
|
|
43826
43798
|
if ([204, 205].includes(response.status)) return null;
|
|
@@ -44177,6 +44149,84 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
44177
44149
|
return response.json();
|
|
44178
44150
|
}
|
|
44179
44151
|
//#endregion
|
|
44152
|
+
//#region ../focus-queries/dist/project-designations/requests.ts
|
|
44153
|
+
async function getProjectDesignations(httpClient, organization_id, workspace_id, { project_ids, order_by, start_date, end_date, min_days }, signal) {
|
|
44154
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
|
|
44155
|
+
signal,
|
|
44156
|
+
searchParams: buildSearchParams$2({
|
|
44157
|
+
project_ids,
|
|
44158
|
+
order_by,
|
|
44159
|
+
start_date,
|
|
44160
|
+
end_date,
|
|
44161
|
+
min_days
|
|
44162
|
+
})
|
|
44163
|
+
})).json();
|
|
44164
|
+
}
|
|
44165
|
+
async function createProjectDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
44166
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
|
|
44167
|
+
signal,
|
|
44168
|
+
json: data
|
|
44169
|
+
})).json();
|
|
44170
|
+
}
|
|
44171
|
+
async function deleteProjectDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
44172
|
+
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
|
|
44173
|
+
signal,
|
|
44174
|
+
json: data
|
|
44175
|
+
});
|
|
44176
|
+
if ([204, 205].includes(response.status)) return null;
|
|
44177
|
+
return response.json();
|
|
44178
|
+
}
|
|
44179
|
+
async function updateProjectDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
44180
|
+
return (await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
|
|
44181
|
+
signal,
|
|
44182
|
+
json: data
|
|
44183
|
+
})).json();
|
|
44184
|
+
}
|
|
44185
|
+
async function getProjectDesignationBookings(httpClient, organization_id, workspace_id, { project_ids, start_date, end_date, min_days, include_project }, signal) {
|
|
44186
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/bookings`, {
|
|
44187
|
+
signal,
|
|
44188
|
+
searchParams: buildSearchParams$2({
|
|
44189
|
+
project_ids,
|
|
44190
|
+
start_date,
|
|
44191
|
+
end_date,
|
|
44192
|
+
min_days,
|
|
44193
|
+
include_project
|
|
44194
|
+
})
|
|
44195
|
+
})).json();
|
|
44196
|
+
}
|
|
44197
|
+
async function createProjectDesignationBookings(httpClient, organization_id, workspace_id, data, signal) {
|
|
44198
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/bookings`, {
|
|
44199
|
+
signal,
|
|
44200
|
+
json: data
|
|
44201
|
+
})).json();
|
|
44202
|
+
}
|
|
44203
|
+
async function deleteProjectDesignationBookings(httpClient, organization_id, workspace_id, data, signal) {
|
|
44204
|
+
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/bookings`, {
|
|
44205
|
+
signal,
|
|
44206
|
+
json: data
|
|
44207
|
+
});
|
|
44208
|
+
if ([204, 205].includes(response.status)) return null;
|
|
44209
|
+
return response.json();
|
|
44210
|
+
}
|
|
44211
|
+
async function updateProjectDesignationBookings(httpClient, organization_id, workspace_id, data, signal) {
|
|
44212
|
+
return (await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/bookings`, {
|
|
44213
|
+
signal,
|
|
44214
|
+
json: data
|
|
44215
|
+
})).json();
|
|
44216
|
+
}
|
|
44217
|
+
async function getProjectDesignationMembers(httpClient, organization_id, workspace_id, { project_ids }, signal) {
|
|
44218
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/members`, {
|
|
44219
|
+
signal,
|
|
44220
|
+
searchParams: buildSearchParams$2({ project_ids })
|
|
44221
|
+
})).json();
|
|
44222
|
+
}
|
|
44223
|
+
async function updateProjectDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
44224
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/members`, {
|
|
44225
|
+
signal,
|
|
44226
|
+
json: data
|
|
44227
|
+
})).json();
|
|
44228
|
+
}
|
|
44229
|
+
//#endregion
|
|
44180
44230
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
44181
44231
|
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
44232
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
@@ -45461,6 +45511,82 @@ const generatedFocusOperations = [
|
|
|
45461
45511
|
]));
|
|
45462
45512
|
}
|
|
45463
45513
|
},
|
|
45514
|
+
{
|
|
45515
|
+
id: "focus.ai.day-rebuild-judge",
|
|
45516
|
+
family: "focus",
|
|
45517
|
+
resource: "ai",
|
|
45518
|
+
action: "day-rebuild-judge",
|
|
45519
|
+
title: "Day Rebuild Judge Ai",
|
|
45520
|
+
description: "Day Rebuild Judge Ai.",
|
|
45521
|
+
safety: "update",
|
|
45522
|
+
destructive: false,
|
|
45523
|
+
cli: {
|
|
45524
|
+
group: ["ai"],
|
|
45525
|
+
command: "day-rebuild-judge",
|
|
45526
|
+
interactive: "hidden"
|
|
45527
|
+
},
|
|
45528
|
+
mcp: { entityTool: "ai" },
|
|
45529
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
45530
|
+
context: /* @__PURE__ */ looseObject({
|
|
45531
|
+
drafts: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
45532
|
+
confidence: /* @__PURE__ */ number$2(),
|
|
45533
|
+
description: /* @__PURE__ */ string$1(),
|
|
45534
|
+
from: /* @__PURE__ */ string$1(),
|
|
45535
|
+
id: /* @__PURE__ */ string$1(),
|
|
45536
|
+
minutes: /* @__PURE__ */ number$2(),
|
|
45537
|
+
personal: /* @__PURE__ */ boolean$1(),
|
|
45538
|
+
project: /* @__PURE__ */ string$1(),
|
|
45539
|
+
to: /* @__PURE__ */ string$1()
|
|
45540
|
+
})),
|
|
45541
|
+
present_minutes: /* @__PURE__ */ number$2(),
|
|
45542
|
+
projects: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
45543
|
+
about: /* @__PURE__ */ string$1(),
|
|
45544
|
+
client: /* @__PURE__ */ string$1(),
|
|
45545
|
+
existing: /* @__PURE__ */ boolean$1(),
|
|
45546
|
+
name: /* @__PURE__ */ string$1()
|
|
45547
|
+
})),
|
|
45548
|
+
uncovered_minutes: /* @__PURE__ */ number$2()
|
|
45549
|
+
}),
|
|
45550
|
+
run_id: /* @__PURE__ */ string$1(),
|
|
45551
|
+
summary: /* @__PURE__ */ looseObject({
|
|
45552
|
+
app_version: /* @__PURE__ */ string$1(),
|
|
45553
|
+
day: /* @__PURE__ */ string$1(),
|
|
45554
|
+
drafts: /* @__PURE__ */ number$2(),
|
|
45555
|
+
os: /* @__PURE__ */ picklist$1([
|
|
45556
|
+
"mac",
|
|
45557
|
+
"windows",
|
|
45558
|
+
"linux"
|
|
45559
|
+
]),
|
|
45560
|
+
tracked_minutes: /* @__PURE__ */ number$2(),
|
|
45561
|
+
trigger: /* @__PURE__ */ picklist$1([
|
|
45562
|
+
"setup",
|
|
45563
|
+
"daily",
|
|
45564
|
+
"slot",
|
|
45565
|
+
"manual"
|
|
45566
|
+
])
|
|
45567
|
+
}),
|
|
45568
|
+
tools: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ name: /* @__PURE__ */ picklist$1(["get_draft_evidence", "get_activity"]) })),
|
|
45569
|
+
final: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45570
|
+
turns: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
45571
|
+
assistant_content: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
45572
|
+
tool_results: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
45573
|
+
tool_use_id: /* @__PURE__ */ string$1(),
|
|
45574
|
+
content: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45575
|
+
is_error: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
45576
|
+
}))
|
|
45577
|
+
})))
|
|
45578
|
+
}) }),
|
|
45579
|
+
execute: (input, { client }) => {
|
|
45580
|
+
const data = input;
|
|
45581
|
+
return client.runGeneratedRequest("dayRebuildJudge", () => callGeneratedRequest(dayRebuildJudge, [
|
|
45582
|
+
client.httpClient,
|
|
45583
|
+
client.organizationId,
|
|
45584
|
+
client.workspaceIdNumber,
|
|
45585
|
+
data.payload ?? data.data ?? data,
|
|
45586
|
+
void 0
|
|
45587
|
+
]));
|
|
45588
|
+
}
|
|
45589
|
+
},
|
|
45464
45590
|
{
|
|
45465
45591
|
id: "focus.ai.day-rebuild-name",
|
|
45466
45592
|
family: "focus",
|
|
@@ -45561,6 +45687,137 @@ const generatedFocusOperations = [
|
|
|
45561
45687
|
]));
|
|
45562
45688
|
}
|
|
45563
45689
|
},
|
|
45690
|
+
{
|
|
45691
|
+
id: "focus.ai.day-rebuild-save-review",
|
|
45692
|
+
family: "focus",
|
|
45693
|
+
resource: "ai",
|
|
45694
|
+
action: "day-rebuild-save-review",
|
|
45695
|
+
title: "Day Rebuild Save Review Ai",
|
|
45696
|
+
description: "Day Rebuild Save Review Ai.",
|
|
45697
|
+
safety: "update",
|
|
45698
|
+
destructive: false,
|
|
45699
|
+
cli: {
|
|
45700
|
+
group: ["ai"],
|
|
45701
|
+
command: "day-rebuild-save-review",
|
|
45702
|
+
interactive: "default"
|
|
45703
|
+
},
|
|
45704
|
+
mcp: { entityTool: "ai" },
|
|
45705
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
45706
|
+
app_version: /* @__PURE__ */ string$1(),
|
|
45707
|
+
day: /* @__PURE__ */ string$1(),
|
|
45708
|
+
day_review: /* @__PURE__ */ looseObject({
|
|
45709
|
+
observations: /* @__PURE__ */ array$1(/* @__PURE__ */ string$1()),
|
|
45710
|
+
present_minutes: /* @__PURE__ */ number$2(),
|
|
45711
|
+
projects: /* @__PURE__ */ picklist$1([
|
|
45712
|
+
"ok",
|
|
45713
|
+
"weak",
|
|
45714
|
+
"wrong",
|
|
45715
|
+
"cannot_tell"
|
|
45716
|
+
]),
|
|
45717
|
+
shape: /* @__PURE__ */ picklist$1([
|
|
45718
|
+
"ok",
|
|
45719
|
+
"weak",
|
|
45720
|
+
"wrong",
|
|
45721
|
+
"cannot_tell"
|
|
45722
|
+
]),
|
|
45723
|
+
tags: /* @__PURE__ */ array$1(/* @__PURE__ */ string$1()),
|
|
45724
|
+
uncovered_minutes: /* @__PURE__ */ number$2()
|
|
45725
|
+
}),
|
|
45726
|
+
drafts: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
45727
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
45728
|
+
confidence: /* @__PURE__ */ number$2(),
|
|
45729
|
+
description: /* @__PURE__ */ string$1(),
|
|
45730
|
+
end: apiDateTimeString,
|
|
45731
|
+
evidence_quality: /* @__PURE__ */ picklist$1([
|
|
45732
|
+
"rich",
|
|
45733
|
+
"thin",
|
|
45734
|
+
"none"
|
|
45735
|
+
]),
|
|
45736
|
+
meeting: /* @__PURE__ */ looseObject({
|
|
45737
|
+
guests: /* @__PURE__ */ number$2(),
|
|
45738
|
+
scheduled: /* @__PURE__ */ boolean$1()
|
|
45739
|
+
}),
|
|
45740
|
+
minutes: /* @__PURE__ */ number$2(),
|
|
45741
|
+
personal: /* @__PURE__ */ boolean$1(),
|
|
45742
|
+
profile: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
45743
|
+
kind: /* @__PURE__ */ picklist$1([
|
|
45744
|
+
"page",
|
|
45745
|
+
"app",
|
|
45746
|
+
"commit",
|
|
45747
|
+
"meeting",
|
|
45748
|
+
"mail",
|
|
45749
|
+
"message",
|
|
45750
|
+
"edit",
|
|
45751
|
+
"prompt"
|
|
45752
|
+
]),
|
|
45753
|
+
minutes: /* @__PURE__ */ number$2(),
|
|
45754
|
+
tool: /* @__PURE__ */ string$1(),
|
|
45755
|
+
count: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
45756
|
+
})),
|
|
45757
|
+
project: /* @__PURE__ */ string$1(),
|
|
45758
|
+
project_kind: /* @__PURE__ */ picklist$1([
|
|
45759
|
+
"existing",
|
|
45760
|
+
"suggested",
|
|
45761
|
+
"none"
|
|
45762
|
+
]),
|
|
45763
|
+
reason: /* @__PURE__ */ string$1(),
|
|
45764
|
+
start: apiDateTimeString,
|
|
45765
|
+
suggested_description: /* @__PURE__ */ string$1(),
|
|
45766
|
+
suggested_project: /* @__PURE__ */ string$1(),
|
|
45767
|
+
tags: /* @__PURE__ */ array$1(/* @__PURE__ */ string$1()),
|
|
45768
|
+
verdicts: /* @__PURE__ */ looseObject({
|
|
45769
|
+
boundaries: /* @__PURE__ */ picklist$1([
|
|
45770
|
+
"ok",
|
|
45771
|
+
"weak",
|
|
45772
|
+
"wrong",
|
|
45773
|
+
"cannot_tell"
|
|
45774
|
+
]),
|
|
45775
|
+
description: /* @__PURE__ */ picklist$1([
|
|
45776
|
+
"ok",
|
|
45777
|
+
"weak",
|
|
45778
|
+
"wrong",
|
|
45779
|
+
"cannot_tell"
|
|
45780
|
+
]),
|
|
45781
|
+
project: /* @__PURE__ */ picklist$1([
|
|
45782
|
+
"ok",
|
|
45783
|
+
"weak",
|
|
45784
|
+
"wrong",
|
|
45785
|
+
"cannot_tell"
|
|
45786
|
+
])
|
|
45787
|
+
})
|
|
45788
|
+
})),
|
|
45789
|
+
masked_spans: /* @__PURE__ */ number$2(),
|
|
45790
|
+
os: /* @__PURE__ */ picklist$1([
|
|
45791
|
+
"mac",
|
|
45792
|
+
"windows",
|
|
45793
|
+
"linux"
|
|
45794
|
+
]),
|
|
45795
|
+
rounds: /* @__PURE__ */ number$2(),
|
|
45796
|
+
run_id: /* @__PURE__ */ string$1(),
|
|
45797
|
+
sources: /* @__PURE__ */ looseObject({
|
|
45798
|
+
failed: /* @__PURE__ */ number$2(),
|
|
45799
|
+
full_disk_access: /* @__PURE__ */ boolean$1(),
|
|
45800
|
+
ok: /* @__PURE__ */ number$2()
|
|
45801
|
+
}),
|
|
45802
|
+
tracked_minutes: /* @__PURE__ */ number$2(),
|
|
45803
|
+
trigger: /* @__PURE__ */ picklist$1([
|
|
45804
|
+
"setup",
|
|
45805
|
+
"daily",
|
|
45806
|
+
"slot",
|
|
45807
|
+
"manual"
|
|
45808
|
+
])
|
|
45809
|
+
}) }),
|
|
45810
|
+
execute: (input, { client }) => {
|
|
45811
|
+
const data = input;
|
|
45812
|
+
return client.runGeneratedRequest("dayRebuildSaveReview", () => callGeneratedRequest(dayRebuildSaveReview, [
|
|
45813
|
+
client.httpClient,
|
|
45814
|
+
client.organizationId,
|
|
45815
|
+
client.workspaceIdNumber,
|
|
45816
|
+
data.payload ?? data.data ?? data,
|
|
45817
|
+
void 0
|
|
45818
|
+
]));
|
|
45819
|
+
}
|
|
45820
|
+
},
|
|
45564
45821
|
{
|
|
45565
45822
|
id: "focus.ai.discard-ai-change",
|
|
45566
45823
|
family: "focus",
|
|
@@ -45800,6 +46057,54 @@ const generatedFocusOperations = [
|
|
|
45800
46057
|
]));
|
|
45801
46058
|
}
|
|
45802
46059
|
},
|
|
46060
|
+
{
|
|
46061
|
+
id: "focus.ai.record-ai-message-event",
|
|
46062
|
+
family: "focus",
|
|
46063
|
+
resource: "ai",
|
|
46064
|
+
action: "record-ai-message-event",
|
|
46065
|
+
title: "Record Ai Message Event Ai",
|
|
46066
|
+
description: "Record Ai Message Event Ai.",
|
|
46067
|
+
safety: "update",
|
|
46068
|
+
destructive: false,
|
|
46069
|
+
cli: {
|
|
46070
|
+
group: ["ai"],
|
|
46071
|
+
command: "record-ai-message-event",
|
|
46072
|
+
interactive: "default"
|
|
46073
|
+
},
|
|
46074
|
+
mcp: { entityTool: "ai" },
|
|
46075
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46076
|
+
conversation_id: /* @__PURE__ */ string$1(),
|
|
46077
|
+
message_id: /* @__PURE__ */ number$2(),
|
|
46078
|
+
payload: /* @__PURE__ */ looseObject({
|
|
46079
|
+
kind: /* @__PURE__ */ picklist$1([
|
|
46080
|
+
"guide_opened",
|
|
46081
|
+
"guide_shown",
|
|
46082
|
+
"guide_step",
|
|
46083
|
+
"guide_finished",
|
|
46084
|
+
"guide_closed",
|
|
46085
|
+
"link_opened"
|
|
46086
|
+
]),
|
|
46087
|
+
at: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
46088
|
+
href: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
46089
|
+
step: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
46090
|
+
view_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
46091
|
+
}),
|
|
46092
|
+
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
|
|
46093
|
+
}),
|
|
46094
|
+
execute: (input, { client }) => {
|
|
46095
|
+
const data = input;
|
|
46096
|
+
return client.runGeneratedRequest("recordAiMessageEvent", () => callGeneratedRequest(recordAiMessageEvent, [
|
|
46097
|
+
client.httpClient,
|
|
46098
|
+
client.organizationId,
|
|
46099
|
+
client.workspaceIdNumber,
|
|
46100
|
+
data.conversation_id,
|
|
46101
|
+
data.message_id,
|
|
46102
|
+
data.payload ?? data.data ?? data,
|
|
46103
|
+
data.product,
|
|
46104
|
+
void 0
|
|
46105
|
+
]));
|
|
46106
|
+
}
|
|
46107
|
+
},
|
|
45803
46108
|
{
|
|
45804
46109
|
id: "focus.ai.remove-ai-attachment",
|
|
45805
46110
|
family: "focus",
|
|
@@ -45911,6 +46216,7 @@ const generatedFocusOperations = [
|
|
|
45911
46216
|
conversation_id: /* @__PURE__ */ string$1(),
|
|
45912
46217
|
payload: /* @__PURE__ */ looseObject({
|
|
45913
46218
|
text: /* @__PURE__ */ string$1(),
|
|
46219
|
+
app_version: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45914
46220
|
attachment_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ string$1())),
|
|
45915
46221
|
page_context: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
45916
46222
|
page: /* @__PURE__ */ string$1(),
|
|
@@ -46000,7 +46306,16 @@ const generatedFocusOperations = [
|
|
|
46000
46306
|
language: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
46001
46307
|
page_label: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
46002
46308
|
url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
46003
|
-
}))
|
|
46309
|
+
})),
|
|
46310
|
+
platform: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
46311
|
+
"web",
|
|
46312
|
+
"mobile",
|
|
46313
|
+
"desktop",
|
|
46314
|
+
"extension",
|
|
46315
|
+
"mcp",
|
|
46316
|
+
"cli"
|
|
46317
|
+
])),
|
|
46318
|
+
suggestion_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
46004
46319
|
}),
|
|
46005
46320
|
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
|
|
46006
46321
|
}),
|
|
@@ -46249,6 +46564,33 @@ const generatedFocusOperations = [
|
|
|
46249
46564
|
]));
|
|
46250
46565
|
}
|
|
46251
46566
|
},
|
|
46567
|
+
{
|
|
46568
|
+
id: "focus.archival.keep-upcoming-archival-group",
|
|
46569
|
+
family: "focus",
|
|
46570
|
+
resource: "archival",
|
|
46571
|
+
action: "keep-upcoming-archival-group",
|
|
46572
|
+
title: "Keep Upcoming Archival Group Archival",
|
|
46573
|
+
description: "Keep Upcoming Archival Group Archival.",
|
|
46574
|
+
safety: "update",
|
|
46575
|
+
destructive: false,
|
|
46576
|
+
cli: {
|
|
46577
|
+
group: ["archival"],
|
|
46578
|
+
command: "keep-upcoming-archival-group",
|
|
46579
|
+
interactive: "default"
|
|
46580
|
+
},
|
|
46581
|
+
mcp: { entityTool: "archival" },
|
|
46582
|
+
inputSchema: /* @__PURE__ */ looseObject({ group_id: /* @__PURE__ */ number$2() }),
|
|
46583
|
+
execute: (input, { client }) => {
|
|
46584
|
+
const data = input;
|
|
46585
|
+
return client.runGeneratedRequest("keepUpcomingArchivalGroup", () => callGeneratedRequest(keepUpcomingArchivalGroup, [
|
|
46586
|
+
client.httpClient,
|
|
46587
|
+
client.organizationId,
|
|
46588
|
+
client.workspaceIdNumber,
|
|
46589
|
+
data.group_id,
|
|
46590
|
+
void 0
|
|
46591
|
+
]));
|
|
46592
|
+
}
|
|
46593
|
+
},
|
|
46252
46594
|
{
|
|
46253
46595
|
id: "focus.archived-clients.get",
|
|
46254
46596
|
family: "focus",
|
|
@@ -47142,12 +47484,30 @@ const generatedFocusOperations = [
|
|
|
47142
47484
|
}
|
|
47143
47485
|
},
|
|
47144
47486
|
{
|
|
47145
|
-
id: "focus.
|
|
47487
|
+
id: "focus.currencies.list",
|
|
47146
47488
|
family: "focus",
|
|
47147
|
-
resource: "
|
|
47148
|
-
action: "
|
|
47149
|
-
title: "
|
|
47150
|
-
description: "
|
|
47489
|
+
resource: "currencies",
|
|
47490
|
+
action: "list",
|
|
47491
|
+
title: "List Currencies",
|
|
47492
|
+
description: "List Currencies.",
|
|
47493
|
+
safety: "read",
|
|
47494
|
+
destructive: false,
|
|
47495
|
+
cli: {
|
|
47496
|
+
group: ["currencies"],
|
|
47497
|
+
command: "list",
|
|
47498
|
+
interactive: "hidden"
|
|
47499
|
+
},
|
|
47500
|
+
mcp: { entityTool: "currencies" },
|
|
47501
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
47502
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCurrencies", () => callGeneratedRequest(getCurrencies, [client.httpClient, void 0]))
|
|
47503
|
+
},
|
|
47504
|
+
{
|
|
47505
|
+
id: "focus.custom-fields.bulk-patch-user-custom-field-values",
|
|
47506
|
+
family: "focus",
|
|
47507
|
+
resource: "custom-fields",
|
|
47508
|
+
action: "bulk-patch-user-custom-field-values",
|
|
47509
|
+
title: "Bulk Patch User Custom Field Values Custom Fields",
|
|
47510
|
+
description: "Bulk Patch User Custom Field Values Custom Fields.",
|
|
47151
47511
|
safety: "update",
|
|
47152
47512
|
destructive: false,
|
|
47153
47513
|
cli: {
|
|
@@ -48019,81 +48379,6 @@ const generatedFocusOperations = [
|
|
|
48019
48379
|
]));
|
|
48020
48380
|
}
|
|
48021
48381
|
},
|
|
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
48382
|
{
|
|
48098
48383
|
id: "focus.designations.create-workspace",
|
|
48099
48384
|
family: "focus",
|
|
@@ -48124,68 +48409,6 @@ const generatedFocusOperations = [
|
|
|
48124
48409
|
]));
|
|
48125
48410
|
}
|
|
48126
48411
|
},
|
|
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
48412
|
{
|
|
48190
48413
|
id: "focus.designations.delete-workspace",
|
|
48191
48414
|
family: "focus",
|
|
@@ -48213,74 +48436,6 @@ const generatedFocusOperations = [
|
|
|
48213
48436
|
]));
|
|
48214
48437
|
}
|
|
48215
48438
|
},
|
|
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
48439
|
{
|
|
48285
48440
|
id: "focus.designations.get-workspace-designations",
|
|
48286
48441
|
family: "focus",
|
|
@@ -48317,68 +48472,6 @@ const generatedFocusOperations = [
|
|
|
48317
48472
|
]));
|
|
48318
48473
|
}
|
|
48319
48474
|
},
|
|
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
48475
|
{
|
|
48383
48476
|
id: "focus.designations.update-workspace",
|
|
48384
48477
|
family: "focus",
|
|
@@ -49774,6 +49867,308 @@ const generatedFocusOperations = [
|
|
|
49774
49867
|
return client.deleteProject(data.project_id);
|
|
49775
49868
|
}
|
|
49776
49869
|
},
|
|
49870
|
+
{
|
|
49871
|
+
id: "focus.projects.designations-create",
|
|
49872
|
+
family: "focus",
|
|
49873
|
+
resource: "projects",
|
|
49874
|
+
action: "designations-create",
|
|
49875
|
+
title: "Designations Create Projects",
|
|
49876
|
+
description: "Designations Create Projects.",
|
|
49877
|
+
safety: "create",
|
|
49878
|
+
destructive: false,
|
|
49879
|
+
cli: {
|
|
49880
|
+
group: ["projects", "designations"],
|
|
49881
|
+
command: "create",
|
|
49882
|
+
interactive: "default"
|
|
49883
|
+
},
|
|
49884
|
+
mcp: { entityTool: "projects" },
|
|
49885
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49886
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
49887
|
+
trait_id: /* @__PURE__ */ number$2(),
|
|
49888
|
+
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49889
|
+
members: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ toggl_user_id: /* @__PURE__ */ number$2() })))
|
|
49890
|
+
})) }) }),
|
|
49891
|
+
execute: (input, { client }) => {
|
|
49892
|
+
const data = input;
|
|
49893
|
+
return client.runGeneratedRequest("createProjectDesignations", () => callGeneratedRequest(createProjectDesignations, [
|
|
49894
|
+
client.httpClient,
|
|
49895
|
+
client.organizationId,
|
|
49896
|
+
client.workspaceIdNumber,
|
|
49897
|
+
data.payload ?? data.data ?? data,
|
|
49898
|
+
void 0
|
|
49899
|
+
]));
|
|
49900
|
+
}
|
|
49901
|
+
},
|
|
49902
|
+
{
|
|
49903
|
+
id: "focus.projects.designations-create-bookings",
|
|
49904
|
+
family: "focus",
|
|
49905
|
+
resource: "projects",
|
|
49906
|
+
action: "designations-create-bookings",
|
|
49907
|
+
title: "Designations Create Bookings Projects",
|
|
49908
|
+
description: "Designations Create Bookings Projects.",
|
|
49909
|
+
safety: "create",
|
|
49910
|
+
destructive: false,
|
|
49911
|
+
cli: {
|
|
49912
|
+
group: ["projects", "designations"],
|
|
49913
|
+
command: "create-bookings",
|
|
49914
|
+
interactive: "default"
|
|
49915
|
+
},
|
|
49916
|
+
mcp: { entityTool: "projects" },
|
|
49917
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ bookings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49918
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
49919
|
+
project_trait_id: /* @__PURE__ */ number$2(),
|
|
49920
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49921
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49922
|
+
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49923
|
+
})) }) }),
|
|
49924
|
+
execute: (input, { client }) => {
|
|
49925
|
+
const data = input;
|
|
49926
|
+
return client.runGeneratedRequest("createProjectDesignationBookings", () => callGeneratedRequest(createProjectDesignationBookings, [
|
|
49927
|
+
client.httpClient,
|
|
49928
|
+
client.organizationId,
|
|
49929
|
+
client.workspaceIdNumber,
|
|
49930
|
+
data.payload ?? data.data ?? data,
|
|
49931
|
+
void 0
|
|
49932
|
+
]));
|
|
49933
|
+
}
|
|
49934
|
+
},
|
|
49935
|
+
{
|
|
49936
|
+
id: "focus.projects.designations-delete",
|
|
49937
|
+
family: "focus",
|
|
49938
|
+
resource: "projects",
|
|
49939
|
+
action: "designations-delete",
|
|
49940
|
+
title: "Designations Delete Projects",
|
|
49941
|
+
description: "Designations Delete Projects.",
|
|
49942
|
+
safety: "delete",
|
|
49943
|
+
destructive: true,
|
|
49944
|
+
cli: {
|
|
49945
|
+
group: ["projects", "designations"],
|
|
49946
|
+
command: "delete",
|
|
49947
|
+
interactive: "default"
|
|
49948
|
+
},
|
|
49949
|
+
mcp: { entityTool: "projects" },
|
|
49950
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49951
|
+
execute: (input, { client }) => {
|
|
49952
|
+
const data = input;
|
|
49953
|
+
return client.runGeneratedRequest("deleteProjectDesignations", () => callGeneratedRequest(deleteProjectDesignations, [
|
|
49954
|
+
client.httpClient,
|
|
49955
|
+
client.organizationId,
|
|
49956
|
+
client.workspaceIdNumber,
|
|
49957
|
+
data.payload ?? data.data ?? data,
|
|
49958
|
+
void 0
|
|
49959
|
+
]));
|
|
49960
|
+
}
|
|
49961
|
+
},
|
|
49962
|
+
{
|
|
49963
|
+
id: "focus.projects.designations-delete-bookings",
|
|
49964
|
+
family: "focus",
|
|
49965
|
+
resource: "projects",
|
|
49966
|
+
action: "designations-delete-bookings",
|
|
49967
|
+
title: "Designations Delete Bookings Projects",
|
|
49968
|
+
description: "Designations Delete Bookings Projects.",
|
|
49969
|
+
safety: "delete",
|
|
49970
|
+
destructive: true,
|
|
49971
|
+
cli: {
|
|
49972
|
+
group: ["projects", "designations"],
|
|
49973
|
+
command: "delete-bookings",
|
|
49974
|
+
interactive: "default"
|
|
49975
|
+
},
|
|
49976
|
+
mcp: { entityTool: "projects" },
|
|
49977
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49978
|
+
execute: (input, { client }) => {
|
|
49979
|
+
const data = input;
|
|
49980
|
+
return client.runGeneratedRequest("deleteProjectDesignationBookings", () => callGeneratedRequest(deleteProjectDesignationBookings, [
|
|
49981
|
+
client.httpClient,
|
|
49982
|
+
client.organizationId,
|
|
49983
|
+
client.workspaceIdNumber,
|
|
49984
|
+
data.payload ?? data.data ?? data,
|
|
49985
|
+
void 0
|
|
49986
|
+
]));
|
|
49987
|
+
}
|
|
49988
|
+
},
|
|
49989
|
+
{
|
|
49990
|
+
id: "focus.projects.designations-get-bookings",
|
|
49991
|
+
family: "focus",
|
|
49992
|
+
resource: "projects",
|
|
49993
|
+
action: "designations-get-bookings",
|
|
49994
|
+
title: "Designations Get Bookings Projects",
|
|
49995
|
+
description: "Designations Get Bookings Projects.",
|
|
49996
|
+
safety: "read",
|
|
49997
|
+
destructive: false,
|
|
49998
|
+
cli: {
|
|
49999
|
+
group: ["projects", "designations"],
|
|
50000
|
+
command: "get-bookings",
|
|
50001
|
+
interactive: "hidden"
|
|
50002
|
+
},
|
|
50003
|
+
mcp: { entityTool: "projects" },
|
|
50004
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50005
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50006
|
+
include_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50007
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50008
|
+
project_ids: /* @__PURE__ */ unknown$1(),
|
|
50009
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
50010
|
+
}),
|
|
50011
|
+
execute: (input, { client }) => {
|
|
50012
|
+
const data = input;
|
|
50013
|
+
return client.runGeneratedRequest("getProjectDesignationBookings", () => callGeneratedRequest(getProjectDesignationBookings, [
|
|
50014
|
+
client.httpClient,
|
|
50015
|
+
client.organizationId,
|
|
50016
|
+
client.workspaceIdNumber,
|
|
50017
|
+
data,
|
|
50018
|
+
void 0
|
|
50019
|
+
]));
|
|
50020
|
+
}
|
|
50021
|
+
},
|
|
50022
|
+
{
|
|
50023
|
+
id: "focus.projects.designations-get-members",
|
|
50024
|
+
family: "focus",
|
|
50025
|
+
resource: "projects",
|
|
50026
|
+
action: "designations-get-members",
|
|
50027
|
+
title: "Designations Get Members Projects",
|
|
50028
|
+
description: "Designations Get Members Projects.",
|
|
50029
|
+
safety: "read",
|
|
50030
|
+
destructive: false,
|
|
50031
|
+
cli: {
|
|
50032
|
+
group: ["projects", "designations"],
|
|
50033
|
+
command: "get-members",
|
|
50034
|
+
interactive: "hidden"
|
|
50035
|
+
},
|
|
50036
|
+
mcp: { entityTool: "projects" },
|
|
50037
|
+
inputSchema: /* @__PURE__ */ looseObject({ project_ids: /* @__PURE__ */ unknown$1() }),
|
|
50038
|
+
execute: (input, { client }) => {
|
|
50039
|
+
const data = input;
|
|
50040
|
+
return client.runGeneratedRequest("getProjectDesignationMembers", () => callGeneratedRequest(getProjectDesignationMembers, [
|
|
50041
|
+
client.httpClient,
|
|
50042
|
+
client.organizationId,
|
|
50043
|
+
client.workspaceIdNumber,
|
|
50044
|
+
data,
|
|
50045
|
+
void 0
|
|
50046
|
+
]));
|
|
50047
|
+
}
|
|
50048
|
+
},
|
|
50049
|
+
{
|
|
50050
|
+
id: "focus.projects.designations-list",
|
|
50051
|
+
family: "focus",
|
|
50052
|
+
resource: "projects",
|
|
50053
|
+
action: "designations-list",
|
|
50054
|
+
title: "Designations List Projects",
|
|
50055
|
+
description: "Designations List Projects.",
|
|
50056
|
+
safety: "read",
|
|
50057
|
+
destructive: false,
|
|
50058
|
+
cli: {
|
|
50059
|
+
group: ["projects", "designations"],
|
|
50060
|
+
command: "list",
|
|
50061
|
+
interactive: "hidden"
|
|
50062
|
+
},
|
|
50063
|
+
mcp: { entityTool: "projects" },
|
|
50064
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50065
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50066
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50067
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50068
|
+
project_ids: /* @__PURE__ */ unknown$1(),
|
|
50069
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
50070
|
+
}),
|
|
50071
|
+
execute: (input, { client }) => {
|
|
50072
|
+
const data = input;
|
|
50073
|
+
return client.runGeneratedRequest("getProjectDesignations", () => callGeneratedRequest(getProjectDesignations, [
|
|
50074
|
+
client.httpClient,
|
|
50075
|
+
client.organizationId,
|
|
50076
|
+
client.workspaceIdNumber,
|
|
50077
|
+
data,
|
|
50078
|
+
void 0
|
|
50079
|
+
]));
|
|
50080
|
+
}
|
|
50081
|
+
},
|
|
50082
|
+
{
|
|
50083
|
+
id: "focus.projects.designations-update",
|
|
50084
|
+
family: "focus",
|
|
50085
|
+
resource: "projects",
|
|
50086
|
+
action: "designations-update",
|
|
50087
|
+
title: "Designations Update Projects",
|
|
50088
|
+
description: "Designations Update Projects.",
|
|
50089
|
+
safety: "update",
|
|
50090
|
+
destructive: false,
|
|
50091
|
+
cli: {
|
|
50092
|
+
group: ["projects", "designations"],
|
|
50093
|
+
command: "update",
|
|
50094
|
+
interactive: "default"
|
|
50095
|
+
},
|
|
50096
|
+
mcp: { entityTool: "projects" },
|
|
50097
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() })) }) }),
|
|
50098
|
+
execute: (input, { client }) => {
|
|
50099
|
+
const data = input;
|
|
50100
|
+
return client.runGeneratedRequest("updateProjectDesignations", () => callGeneratedRequest(updateProjectDesignations, [
|
|
50101
|
+
client.httpClient,
|
|
50102
|
+
client.organizationId,
|
|
50103
|
+
client.workspaceIdNumber,
|
|
50104
|
+
data.payload ?? data.data ?? data,
|
|
50105
|
+
void 0
|
|
50106
|
+
]));
|
|
50107
|
+
}
|
|
50108
|
+
},
|
|
50109
|
+
{
|
|
50110
|
+
id: "focus.projects.designations-update-bookings",
|
|
50111
|
+
family: "focus",
|
|
50112
|
+
resource: "projects",
|
|
50113
|
+
action: "designations-update-bookings",
|
|
50114
|
+
title: "Designations Update Bookings Projects",
|
|
50115
|
+
description: "Designations Update Bookings Projects.",
|
|
50116
|
+
safety: "update",
|
|
50117
|
+
destructive: false,
|
|
50118
|
+
cli: {
|
|
50119
|
+
group: ["projects", "designations"],
|
|
50120
|
+
command: "update-bookings",
|
|
50121
|
+
interactive: "default"
|
|
50122
|
+
},
|
|
50123
|
+
mcp: { entityTool: "projects" },
|
|
50124
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ bookings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() })) }) }),
|
|
50125
|
+
execute: (input, { client }) => {
|
|
50126
|
+
const data = input;
|
|
50127
|
+
return client.runGeneratedRequest("updateProjectDesignationBookings", () => callGeneratedRequest(updateProjectDesignationBookings, [
|
|
50128
|
+
client.httpClient,
|
|
50129
|
+
client.organizationId,
|
|
50130
|
+
client.workspaceIdNumber,
|
|
50131
|
+
data.payload ?? data.data ?? data,
|
|
50132
|
+
void 0
|
|
50133
|
+
]));
|
|
50134
|
+
}
|
|
50135
|
+
},
|
|
50136
|
+
{
|
|
50137
|
+
id: "focus.projects.designations-update-members",
|
|
50138
|
+
family: "focus",
|
|
50139
|
+
resource: "projects",
|
|
50140
|
+
action: "designations-update-members",
|
|
50141
|
+
title: "Designations Update Members Projects",
|
|
50142
|
+
description: "Designations Update Members Projects.",
|
|
50143
|
+
safety: "update",
|
|
50144
|
+
destructive: false,
|
|
50145
|
+
cli: {
|
|
50146
|
+
group: ["projects", "designations"],
|
|
50147
|
+
command: "update-members",
|
|
50148
|
+
interactive: "default"
|
|
50149
|
+
},
|
|
50150
|
+
mcp: { entityTool: "projects" },
|
|
50151
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
50152
|
+
add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
50153
|
+
project_trait_id: /* @__PURE__ */ number$2(),
|
|
50154
|
+
toggl_user_id: /* @__PURE__ */ number$2()
|
|
50155
|
+
}))),
|
|
50156
|
+
remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
50157
|
+
project_trait_id: /* @__PURE__ */ number$2(),
|
|
50158
|
+
toggl_user_id: /* @__PURE__ */ number$2()
|
|
50159
|
+
})))
|
|
50160
|
+
}) }),
|
|
50161
|
+
execute: (input, { client }) => {
|
|
50162
|
+
const data = input;
|
|
50163
|
+
return client.runGeneratedRequest("updateProjectDesignationMembers", () => callGeneratedRequest(updateProjectDesignationMembers, [
|
|
50164
|
+
client.httpClient,
|
|
50165
|
+
client.organizationId,
|
|
50166
|
+
client.workspaceIdNumber,
|
|
50167
|
+
data.payload ?? data.data ?? data,
|
|
50168
|
+
void 0
|
|
50169
|
+
]));
|
|
50170
|
+
}
|
|
50171
|
+
},
|
|
49777
50172
|
{
|
|
49778
50173
|
id: "focus.projects.duplicate",
|
|
49779
50174
|
family: "focus",
|
|
@@ -59435,6 +59830,7 @@ const generatedFocusOperations = [
|
|
|
59435
59830
|
goal_reminders_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59436
59831
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59437
59832
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59833
|
+
invite_members_card_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59438
59834
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59439
59835
|
notification_delivery: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
59440
59836
|
"email",
|
|
@@ -61184,7 +61580,7 @@ function registerWorkspaceTools(server) {
|
|
|
61184
61580
|
//#region src/package-version.ts
|
|
61185
61581
|
function mcpPackageVersion() {
|
|
61186
61582
|
try {
|
|
61187
|
-
return "1.13.
|
|
61583
|
+
return "1.13.294";
|
|
61188
61584
|
} catch {
|
|
61189
61585
|
return "unknown";
|
|
61190
61586
|
}
|
|
@@ -61366,7 +61762,7 @@ import_main.default.config({
|
|
|
61366
61762
|
quiet: true,
|
|
61367
61763
|
ignore: ["MISSING_ENV_FILE"]
|
|
61368
61764
|
});
|
|
61369
|
-
const packageVersion = "1.13.
|
|
61765
|
+
const packageVersion = "1.13.294";
|
|
61370
61766
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
61371
61767
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
61372
61768
|
function resolvePublicUrls() {
|
|
@@ -61486,4 +61882,4 @@ function bootstrapServer(options = {}) {
|
|
|
61486
61882
|
//#endregion
|
|
61487
61883
|
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
61884
|
|
|
61489
|
-
//# sourceMappingURL=src-
|
|
61885
|
+
//# sourceMappingURL=src-CYHsYuWd.js.map
|