@togglhq/cli 1.13.292 → 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 +1 -1
- package/build/index.js +1 -1
- package/build/{program-LGrlKyT3.js → program-BdI9FC-7.js} +740 -344
- package/build/program.js +1 -1
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-
|
|
2
|
+
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-BdI9FC-7.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
package/build/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-BdI9FC-7.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -7531,6 +7531,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7531
7531
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7532
7532
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7533
7533
|
designation_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("The workspace designation this entry belongs to."))),
|
|
7534
|
+
draft: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Whether the entry is a draft."))),
|
|
7534
7535
|
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."))),
|
|
7535
7536
|
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."))),
|
|
7536
7537
|
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."))),
|
|
@@ -7758,6 +7759,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7758
7759
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7759
7760
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7760
7761
|
designation_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("The workspace designation this entry belongs to."))),
|
|
7762
|
+
draft: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Whether the entry is a draft."))),
|
|
7761
7763
|
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."))),
|
|
7762
7764
|
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."))),
|
|
7763
7765
|
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."))),
|
|
@@ -8068,6 +8070,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
8068
8070
|
calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8069
8071
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
8070
8072
|
designation_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("The workspace designation this entry belongs to."))),
|
|
8073
|
+
draft: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Creates the entry as a draft. Defaults to false."))),
|
|
8071
8074
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
8072
8075
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8073
8076
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
@@ -11149,7 +11152,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
11149
11152
|
]))
|
|
11150
11153
|
});
|
|
11151
11154
|
//#endregion
|
|
11152
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11155
|
+
//#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
|
|
11153
11156
|
async function getInvitations(httpClient, signal) {
|
|
11154
11157
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
11155
11158
|
}
|
|
@@ -11166,7 +11169,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
11166
11169
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
11167
11170
|
}
|
|
11168
11171
|
//#endregion
|
|
11169
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11172
|
+
//#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
|
|
11170
11173
|
function buildSearchParams(params, flattenArrays = false) {
|
|
11171
11174
|
const searchParams = new URLSearchParams();
|
|
11172
11175
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -11178,7 +11181,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
11178
11181
|
return searchParams;
|
|
11179
11182
|
}
|
|
11180
11183
|
//#endregion
|
|
11181
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11184
|
+
//#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
|
|
11182
11185
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
11183
11186
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
11184
11187
|
}
|
|
@@ -11193,7 +11196,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11193
11196
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11194
11197
|
}
|
|
11195
11198
|
//#endregion
|
|
11196
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11199
|
+
//#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
|
|
11197
11200
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11198
11201
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11199
11202
|
}
|
|
@@ -11213,7 +11216,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11213
11216
|
});
|
|
11214
11217
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11215
11218
|
//#endregion
|
|
11216
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11219
|
+
//#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
|
|
11217
11220
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11218
11221
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11219
11222
|
signal,
|
|
@@ -11224,12 +11227,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11224
11227
|
})).json();
|
|
11225
11228
|
}
|
|
11226
11229
|
//#endregion
|
|
11227
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11230
|
+
//#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
|
|
11228
11231
|
async function getStatus(httpClient, signal) {
|
|
11229
11232
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11230
11233
|
}
|
|
11231
11234
|
//#endregion
|
|
11232
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11235
|
+
//#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
|
|
11233
11236
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11234
11237
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11235
11238
|
signal,
|
|
@@ -11257,7 +11260,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11257
11260
|
return response.json();
|
|
11258
11261
|
}
|
|
11259
11262
|
//#endregion
|
|
11260
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11263
|
+
//#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
|
|
11261
11264
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11262
11265
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11263
11266
|
}
|
|
@@ -15423,6 +15426,15 @@ async function sendAiMessage(httpClient, organization_id, workspace_id, conversa
|
|
|
15423
15426
|
searchParams: buildSearchParams$2({ product })
|
|
15424
15427
|
})).json();
|
|
15425
15428
|
}
|
|
15429
|
+
async function recordAiMessageEvent(httpClient, organization_id, workspace_id, conversation_id, message_id, data, product, signal) {
|
|
15430
|
+
const response = await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/events`, {
|
|
15431
|
+
signal,
|
|
15432
|
+
json: data,
|
|
15433
|
+
searchParams: buildSearchParams$2({ product })
|
|
15434
|
+
});
|
|
15435
|
+
if ([204, 205].includes(response.status)) return null;
|
|
15436
|
+
return response.json();
|
|
15437
|
+
}
|
|
15426
15438
|
async function nextAiActions(httpClient, organization_id, workspace_id, conversation_id, message_id, product, signal) {
|
|
15427
15439
|
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/next`, {
|
|
15428
15440
|
signal,
|
|
@@ -15477,6 +15489,12 @@ async function dayRebuildGroup(httpClient, organization_id, workspace_id, data,
|
|
|
15477
15489
|
json: data
|
|
15478
15490
|
})).json();
|
|
15479
15491
|
}
|
|
15492
|
+
async function dayRebuildJudge(httpClient, organization_id, workspace_id, data, signal) {
|
|
15493
|
+
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/day-rebuild/judge`, {
|
|
15494
|
+
signal,
|
|
15495
|
+
json: data
|
|
15496
|
+
})).json();
|
|
15497
|
+
}
|
|
15480
15498
|
async function dayRebuildName(httpClient, organization_id, workspace_id, data, signal) {
|
|
15481
15499
|
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/day-rebuild/name`, {
|
|
15482
15500
|
signal,
|
|
@@ -15495,6 +15513,12 @@ async function dayRebuildReadConnected(httpClient, organization_id, workspace_id
|
|
|
15495
15513
|
json: data
|
|
15496
15514
|
})).json();
|
|
15497
15515
|
}
|
|
15516
|
+
async function dayRebuildSaveReview(httpClient, organization_id, workspace_id, data, signal) {
|
|
15517
|
+
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/day-rebuild/reviews`, {
|
|
15518
|
+
signal,
|
|
15519
|
+
json: data
|
|
15520
|
+
})).json();
|
|
15521
|
+
}
|
|
15498
15522
|
async function searchAi(httpClient, organization_id, workspace_id, { q }, signal) {
|
|
15499
15523
|
return (await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15500
15524
|
signal,
|
|
@@ -15544,6 +15568,11 @@ async function getUpcomingArchivalGroupsClassic(httpClient, organization_id, wor
|
|
|
15544
15568
|
})
|
|
15545
15569
|
})).json();
|
|
15546
15570
|
}
|
|
15571
|
+
async function keepUpcomingArchivalGroup(httpClient, organization_id, workspace_id, group_id, signal) {
|
|
15572
|
+
const response = await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/archival/upcoming/${group_id}/keep`, { signal });
|
|
15573
|
+
if ([204, 205].includes(response.status)) return null;
|
|
15574
|
+
return response.json();
|
|
15575
|
+
}
|
|
15547
15576
|
//#endregion
|
|
15548
15577
|
//#region ../focus-queries/dist/archived-clients/requests.ts
|
|
15549
15578
|
async function getArchivedClientsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page, name } = {}, signal) {
|
|
@@ -15955,6 +15984,11 @@ async function compositeCreateTask(httpClient, organization_id, workspace_id, da
|
|
|
15955
15984
|
})).json();
|
|
15956
15985
|
}
|
|
15957
15986
|
//#endregion
|
|
15987
|
+
//#region ../focus-queries/dist/currencies/requests.ts
|
|
15988
|
+
async function getCurrencies(httpClient, signal) {
|
|
15989
|
+
return (await httpClient.get(`currencies`, { signal })).json();
|
|
15990
|
+
}
|
|
15991
|
+
//#endregion
|
|
15958
15992
|
//#region ../focus-queries/dist/custom-fields/requests.ts
|
|
15959
15993
|
async function getCustomFieldsClassic(httpClient, organization_id, workspace_id, { entity_type, page, per_page, order_by } = {}, signal) {
|
|
15960
15994
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields`, {
|
|
@@ -16133,68 +16167,6 @@ async function updateWorkspaceDesignationMembers(httpClient, organization_id, wo
|
|
|
16133
16167
|
json: data
|
|
16134
16168
|
})).json();
|
|
16135
16169
|
}
|
|
16136
|
-
async function getProjectDesignations(httpClient, organization_id, workspace_id, project_id, { order_by, start_date, end_date, min_days } = {}, signal) {
|
|
16137
|
-
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}`, {
|
|
16138
|
-
signal,
|
|
16139
|
-
searchParams: buildSearchParams$2({
|
|
16140
|
-
order_by,
|
|
16141
|
-
start_date,
|
|
16142
|
-
end_date,
|
|
16143
|
-
min_days
|
|
16144
|
-
})
|
|
16145
|
-
})).json();
|
|
16146
|
-
}
|
|
16147
|
-
async function createProjectDesignations(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
16148
|
-
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}`, {
|
|
16149
|
-
signal,
|
|
16150
|
-
json: data
|
|
16151
|
-
})).json();
|
|
16152
|
-
}
|
|
16153
|
-
async function deleteProjectDesignations(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
16154
|
-
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}`, {
|
|
16155
|
-
signal,
|
|
16156
|
-
json: data
|
|
16157
|
-
});
|
|
16158
|
-
if ([204, 205].includes(response.status)) return null;
|
|
16159
|
-
return response.json();
|
|
16160
|
-
}
|
|
16161
|
-
async function updateProjectDesignations(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
16162
|
-
return (await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}`, {
|
|
16163
|
-
signal,
|
|
16164
|
-
json: data
|
|
16165
|
-
})).json();
|
|
16166
|
-
}
|
|
16167
|
-
async function getProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, { start_date, end_date, min_days, include_project } = {}, signal) {
|
|
16168
|
-
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
|
|
16169
|
-
signal,
|
|
16170
|
-
searchParams: buildSearchParams$2({
|
|
16171
|
-
start_date,
|
|
16172
|
-
end_date,
|
|
16173
|
-
min_days,
|
|
16174
|
-
include_project
|
|
16175
|
-
})
|
|
16176
|
-
})).json();
|
|
16177
|
-
}
|
|
16178
|
-
async function createProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
16179
|
-
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
|
|
16180
|
-
signal,
|
|
16181
|
-
json: data
|
|
16182
|
-
})).json();
|
|
16183
|
-
}
|
|
16184
|
-
async function deleteProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
16185
|
-
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
|
|
16186
|
-
signal,
|
|
16187
|
-
json: data
|
|
16188
|
-
});
|
|
16189
|
-
if ([204, 205].includes(response.status)) return null;
|
|
16190
|
-
return response.json();
|
|
16191
|
-
}
|
|
16192
|
-
async function updateProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
16193
|
-
return (await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
|
|
16194
|
-
signal,
|
|
16195
|
-
json: data
|
|
16196
|
-
})).json();
|
|
16197
|
-
}
|
|
16198
16170
|
async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
|
|
16199
16171
|
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal });
|
|
16200
16172
|
if ([204, 205].includes(response.status)) return null;
|
|
@@ -16551,6 +16523,84 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
16551
16523
|
return response.json();
|
|
16552
16524
|
}
|
|
16553
16525
|
//#endregion
|
|
16526
|
+
//#region ../focus-queries/dist/project-designations/requests.ts
|
|
16527
|
+
async function getProjectDesignations(httpClient, organization_id, workspace_id, { project_ids, order_by, start_date, end_date, min_days }, signal) {
|
|
16528
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
|
|
16529
|
+
signal,
|
|
16530
|
+
searchParams: buildSearchParams$2({
|
|
16531
|
+
project_ids,
|
|
16532
|
+
order_by,
|
|
16533
|
+
start_date,
|
|
16534
|
+
end_date,
|
|
16535
|
+
min_days
|
|
16536
|
+
})
|
|
16537
|
+
})).json();
|
|
16538
|
+
}
|
|
16539
|
+
async function createProjectDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
16540
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
|
|
16541
|
+
signal,
|
|
16542
|
+
json: data
|
|
16543
|
+
})).json();
|
|
16544
|
+
}
|
|
16545
|
+
async function deleteProjectDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
16546
|
+
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
|
|
16547
|
+
signal,
|
|
16548
|
+
json: data
|
|
16549
|
+
});
|
|
16550
|
+
if ([204, 205].includes(response.status)) return null;
|
|
16551
|
+
return response.json();
|
|
16552
|
+
}
|
|
16553
|
+
async function updateProjectDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
16554
|
+
return (await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations`, {
|
|
16555
|
+
signal,
|
|
16556
|
+
json: data
|
|
16557
|
+
})).json();
|
|
16558
|
+
}
|
|
16559
|
+
async function getProjectDesignationBookings(httpClient, organization_id, workspace_id, { project_ids, start_date, end_date, min_days, include_project }, signal) {
|
|
16560
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/bookings`, {
|
|
16561
|
+
signal,
|
|
16562
|
+
searchParams: buildSearchParams$2({
|
|
16563
|
+
project_ids,
|
|
16564
|
+
start_date,
|
|
16565
|
+
end_date,
|
|
16566
|
+
min_days,
|
|
16567
|
+
include_project
|
|
16568
|
+
})
|
|
16569
|
+
})).json();
|
|
16570
|
+
}
|
|
16571
|
+
async function createProjectDesignationBookings(httpClient, organization_id, workspace_id, data, signal) {
|
|
16572
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/bookings`, {
|
|
16573
|
+
signal,
|
|
16574
|
+
json: data
|
|
16575
|
+
})).json();
|
|
16576
|
+
}
|
|
16577
|
+
async function deleteProjectDesignationBookings(httpClient, organization_id, workspace_id, data, signal) {
|
|
16578
|
+
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/bookings`, {
|
|
16579
|
+
signal,
|
|
16580
|
+
json: data
|
|
16581
|
+
});
|
|
16582
|
+
if ([204, 205].includes(response.status)) return null;
|
|
16583
|
+
return response.json();
|
|
16584
|
+
}
|
|
16585
|
+
async function updateProjectDesignationBookings(httpClient, organization_id, workspace_id, data, signal) {
|
|
16586
|
+
return (await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/bookings`, {
|
|
16587
|
+
signal,
|
|
16588
|
+
json: data
|
|
16589
|
+
})).json();
|
|
16590
|
+
}
|
|
16591
|
+
async function getProjectDesignationMembers(httpClient, organization_id, workspace_id, { project_ids }, signal) {
|
|
16592
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/members`, {
|
|
16593
|
+
signal,
|
|
16594
|
+
searchParams: buildSearchParams$2({ project_ids })
|
|
16595
|
+
})).json();
|
|
16596
|
+
}
|
|
16597
|
+
async function updateProjectDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
16598
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/designations/members`, {
|
|
16599
|
+
signal,
|
|
16600
|
+
json: data
|
|
16601
|
+
})).json();
|
|
16602
|
+
}
|
|
16603
|
+
//#endregion
|
|
16554
16604
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
16555
16605
|
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) {
|
|
16556
16606
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
@@ -17835,6 +17885,82 @@ const generatedFocusOperations = [
|
|
|
17835
17885
|
]));
|
|
17836
17886
|
}
|
|
17837
17887
|
},
|
|
17888
|
+
{
|
|
17889
|
+
id: "focus.ai.day-rebuild-judge",
|
|
17890
|
+
family: "focus",
|
|
17891
|
+
resource: "ai",
|
|
17892
|
+
action: "day-rebuild-judge",
|
|
17893
|
+
title: "Day Rebuild Judge Ai",
|
|
17894
|
+
description: "Day Rebuild Judge Ai.",
|
|
17895
|
+
safety: "update",
|
|
17896
|
+
destructive: false,
|
|
17897
|
+
cli: {
|
|
17898
|
+
group: ["ai"],
|
|
17899
|
+
command: "day-rebuild-judge",
|
|
17900
|
+
interactive: "hidden"
|
|
17901
|
+
},
|
|
17902
|
+
mcp: { entityTool: "ai" },
|
|
17903
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17904
|
+
context: /* @__PURE__ */ looseObject({
|
|
17905
|
+
drafts: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17906
|
+
confidence: /* @__PURE__ */ number$2(),
|
|
17907
|
+
description: /* @__PURE__ */ string$1(),
|
|
17908
|
+
from: /* @__PURE__ */ string$1(),
|
|
17909
|
+
id: /* @__PURE__ */ string$1(),
|
|
17910
|
+
minutes: /* @__PURE__ */ number$2(),
|
|
17911
|
+
personal: /* @__PURE__ */ boolean$1(),
|
|
17912
|
+
project: /* @__PURE__ */ string$1(),
|
|
17913
|
+
to: /* @__PURE__ */ string$1()
|
|
17914
|
+
})),
|
|
17915
|
+
present_minutes: /* @__PURE__ */ number$2(),
|
|
17916
|
+
projects: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17917
|
+
about: /* @__PURE__ */ string$1(),
|
|
17918
|
+
client: /* @__PURE__ */ string$1(),
|
|
17919
|
+
existing: /* @__PURE__ */ boolean$1(),
|
|
17920
|
+
name: /* @__PURE__ */ string$1()
|
|
17921
|
+
})),
|
|
17922
|
+
uncovered_minutes: /* @__PURE__ */ number$2()
|
|
17923
|
+
}),
|
|
17924
|
+
run_id: /* @__PURE__ */ string$1(),
|
|
17925
|
+
summary: /* @__PURE__ */ looseObject({
|
|
17926
|
+
app_version: /* @__PURE__ */ string$1(),
|
|
17927
|
+
day: /* @__PURE__ */ string$1(),
|
|
17928
|
+
drafts: /* @__PURE__ */ number$2(),
|
|
17929
|
+
os: /* @__PURE__ */ picklist$1([
|
|
17930
|
+
"mac",
|
|
17931
|
+
"windows",
|
|
17932
|
+
"linux"
|
|
17933
|
+
]),
|
|
17934
|
+
tracked_minutes: /* @__PURE__ */ number$2(),
|
|
17935
|
+
trigger: /* @__PURE__ */ picklist$1([
|
|
17936
|
+
"setup",
|
|
17937
|
+
"daily",
|
|
17938
|
+
"slot",
|
|
17939
|
+
"manual"
|
|
17940
|
+
])
|
|
17941
|
+
}),
|
|
17942
|
+
tools: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ name: /* @__PURE__ */ picklist$1(["get_draft_evidence", "get_activity"]) })),
|
|
17943
|
+
final: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17944
|
+
turns: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17945
|
+
assistant_content: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
17946
|
+
tool_results: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17947
|
+
tool_use_id: /* @__PURE__ */ string$1(),
|
|
17948
|
+
content: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17949
|
+
is_error: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
17950
|
+
}))
|
|
17951
|
+
})))
|
|
17952
|
+
}) }),
|
|
17953
|
+
execute: (input, { client }) => {
|
|
17954
|
+
const data = input;
|
|
17955
|
+
return client.runGeneratedRequest("dayRebuildJudge", () => callGeneratedRequest(dayRebuildJudge, [
|
|
17956
|
+
client.httpClient,
|
|
17957
|
+
client.organizationId,
|
|
17958
|
+
client.workspaceIdNumber,
|
|
17959
|
+
data.payload ?? data.data ?? data,
|
|
17960
|
+
void 0
|
|
17961
|
+
]));
|
|
17962
|
+
}
|
|
17963
|
+
},
|
|
17838
17964
|
{
|
|
17839
17965
|
id: "focus.ai.day-rebuild-name",
|
|
17840
17966
|
family: "focus",
|
|
@@ -17935,6 +18061,137 @@ const generatedFocusOperations = [
|
|
|
17935
18061
|
]));
|
|
17936
18062
|
}
|
|
17937
18063
|
},
|
|
18064
|
+
{
|
|
18065
|
+
id: "focus.ai.day-rebuild-save-review",
|
|
18066
|
+
family: "focus",
|
|
18067
|
+
resource: "ai",
|
|
18068
|
+
action: "day-rebuild-save-review",
|
|
18069
|
+
title: "Day Rebuild Save Review Ai",
|
|
18070
|
+
description: "Day Rebuild Save Review Ai.",
|
|
18071
|
+
safety: "update",
|
|
18072
|
+
destructive: false,
|
|
18073
|
+
cli: {
|
|
18074
|
+
group: ["ai"],
|
|
18075
|
+
command: "day-rebuild-save-review",
|
|
18076
|
+
interactive: "default"
|
|
18077
|
+
},
|
|
18078
|
+
mcp: { entityTool: "ai" },
|
|
18079
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
18080
|
+
app_version: /* @__PURE__ */ string$1(),
|
|
18081
|
+
day: /* @__PURE__ */ string$1(),
|
|
18082
|
+
day_review: /* @__PURE__ */ looseObject({
|
|
18083
|
+
observations: /* @__PURE__ */ array$1(/* @__PURE__ */ string$1()),
|
|
18084
|
+
present_minutes: /* @__PURE__ */ number$2(),
|
|
18085
|
+
projects: /* @__PURE__ */ picklist$1([
|
|
18086
|
+
"ok",
|
|
18087
|
+
"weak",
|
|
18088
|
+
"wrong",
|
|
18089
|
+
"cannot_tell"
|
|
18090
|
+
]),
|
|
18091
|
+
shape: /* @__PURE__ */ picklist$1([
|
|
18092
|
+
"ok",
|
|
18093
|
+
"weak",
|
|
18094
|
+
"wrong",
|
|
18095
|
+
"cannot_tell"
|
|
18096
|
+
]),
|
|
18097
|
+
tags: /* @__PURE__ */ array$1(/* @__PURE__ */ string$1()),
|
|
18098
|
+
uncovered_minutes: /* @__PURE__ */ number$2()
|
|
18099
|
+
}),
|
|
18100
|
+
drafts: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
18101
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
18102
|
+
confidence: /* @__PURE__ */ number$2(),
|
|
18103
|
+
description: /* @__PURE__ */ string$1(),
|
|
18104
|
+
end: apiDateTimeString,
|
|
18105
|
+
evidence_quality: /* @__PURE__ */ picklist$1([
|
|
18106
|
+
"rich",
|
|
18107
|
+
"thin",
|
|
18108
|
+
"none"
|
|
18109
|
+
]),
|
|
18110
|
+
meeting: /* @__PURE__ */ looseObject({
|
|
18111
|
+
guests: /* @__PURE__ */ number$2(),
|
|
18112
|
+
scheduled: /* @__PURE__ */ boolean$1()
|
|
18113
|
+
}),
|
|
18114
|
+
minutes: /* @__PURE__ */ number$2(),
|
|
18115
|
+
personal: /* @__PURE__ */ boolean$1(),
|
|
18116
|
+
profile: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
18117
|
+
kind: /* @__PURE__ */ picklist$1([
|
|
18118
|
+
"page",
|
|
18119
|
+
"app",
|
|
18120
|
+
"commit",
|
|
18121
|
+
"meeting",
|
|
18122
|
+
"mail",
|
|
18123
|
+
"message",
|
|
18124
|
+
"edit",
|
|
18125
|
+
"prompt"
|
|
18126
|
+
]),
|
|
18127
|
+
minutes: /* @__PURE__ */ number$2(),
|
|
18128
|
+
tool: /* @__PURE__ */ string$1(),
|
|
18129
|
+
count: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
18130
|
+
})),
|
|
18131
|
+
project: /* @__PURE__ */ string$1(),
|
|
18132
|
+
project_kind: /* @__PURE__ */ picklist$1([
|
|
18133
|
+
"existing",
|
|
18134
|
+
"suggested",
|
|
18135
|
+
"none"
|
|
18136
|
+
]),
|
|
18137
|
+
reason: /* @__PURE__ */ string$1(),
|
|
18138
|
+
start: apiDateTimeString,
|
|
18139
|
+
suggested_description: /* @__PURE__ */ string$1(),
|
|
18140
|
+
suggested_project: /* @__PURE__ */ string$1(),
|
|
18141
|
+
tags: /* @__PURE__ */ array$1(/* @__PURE__ */ string$1()),
|
|
18142
|
+
verdicts: /* @__PURE__ */ looseObject({
|
|
18143
|
+
boundaries: /* @__PURE__ */ picklist$1([
|
|
18144
|
+
"ok",
|
|
18145
|
+
"weak",
|
|
18146
|
+
"wrong",
|
|
18147
|
+
"cannot_tell"
|
|
18148
|
+
]),
|
|
18149
|
+
description: /* @__PURE__ */ picklist$1([
|
|
18150
|
+
"ok",
|
|
18151
|
+
"weak",
|
|
18152
|
+
"wrong",
|
|
18153
|
+
"cannot_tell"
|
|
18154
|
+
]),
|
|
18155
|
+
project: /* @__PURE__ */ picklist$1([
|
|
18156
|
+
"ok",
|
|
18157
|
+
"weak",
|
|
18158
|
+
"wrong",
|
|
18159
|
+
"cannot_tell"
|
|
18160
|
+
])
|
|
18161
|
+
})
|
|
18162
|
+
})),
|
|
18163
|
+
masked_spans: /* @__PURE__ */ number$2(),
|
|
18164
|
+
os: /* @__PURE__ */ picklist$1([
|
|
18165
|
+
"mac",
|
|
18166
|
+
"windows",
|
|
18167
|
+
"linux"
|
|
18168
|
+
]),
|
|
18169
|
+
rounds: /* @__PURE__ */ number$2(),
|
|
18170
|
+
run_id: /* @__PURE__ */ string$1(),
|
|
18171
|
+
sources: /* @__PURE__ */ looseObject({
|
|
18172
|
+
failed: /* @__PURE__ */ number$2(),
|
|
18173
|
+
full_disk_access: /* @__PURE__ */ boolean$1(),
|
|
18174
|
+
ok: /* @__PURE__ */ number$2()
|
|
18175
|
+
}),
|
|
18176
|
+
tracked_minutes: /* @__PURE__ */ number$2(),
|
|
18177
|
+
trigger: /* @__PURE__ */ picklist$1([
|
|
18178
|
+
"setup",
|
|
18179
|
+
"daily",
|
|
18180
|
+
"slot",
|
|
18181
|
+
"manual"
|
|
18182
|
+
])
|
|
18183
|
+
}) }),
|
|
18184
|
+
execute: (input, { client }) => {
|
|
18185
|
+
const data = input;
|
|
18186
|
+
return client.runGeneratedRequest("dayRebuildSaveReview", () => callGeneratedRequest(dayRebuildSaveReview, [
|
|
18187
|
+
client.httpClient,
|
|
18188
|
+
client.organizationId,
|
|
18189
|
+
client.workspaceIdNumber,
|
|
18190
|
+
data.payload ?? data.data ?? data,
|
|
18191
|
+
void 0
|
|
18192
|
+
]));
|
|
18193
|
+
}
|
|
18194
|
+
},
|
|
17938
18195
|
{
|
|
17939
18196
|
id: "focus.ai.discard-ai-change",
|
|
17940
18197
|
family: "focus",
|
|
@@ -18174,6 +18431,54 @@ const generatedFocusOperations = [
|
|
|
18174
18431
|
]));
|
|
18175
18432
|
}
|
|
18176
18433
|
},
|
|
18434
|
+
{
|
|
18435
|
+
id: "focus.ai.record-ai-message-event",
|
|
18436
|
+
family: "focus",
|
|
18437
|
+
resource: "ai",
|
|
18438
|
+
action: "record-ai-message-event",
|
|
18439
|
+
title: "Record Ai Message Event Ai",
|
|
18440
|
+
description: "Record Ai Message Event Ai.",
|
|
18441
|
+
safety: "update",
|
|
18442
|
+
destructive: false,
|
|
18443
|
+
cli: {
|
|
18444
|
+
group: ["ai"],
|
|
18445
|
+
command: "record-ai-message-event",
|
|
18446
|
+
interactive: "default"
|
|
18447
|
+
},
|
|
18448
|
+
mcp: { entityTool: "ai" },
|
|
18449
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
18450
|
+
conversation_id: /* @__PURE__ */ string$1(),
|
|
18451
|
+
message_id: /* @__PURE__ */ number$2(),
|
|
18452
|
+
payload: /* @__PURE__ */ looseObject({
|
|
18453
|
+
kind: /* @__PURE__ */ picklist$1([
|
|
18454
|
+
"guide_opened",
|
|
18455
|
+
"guide_shown",
|
|
18456
|
+
"guide_step",
|
|
18457
|
+
"guide_finished",
|
|
18458
|
+
"guide_closed",
|
|
18459
|
+
"link_opened"
|
|
18460
|
+
]),
|
|
18461
|
+
at: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18462
|
+
href: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18463
|
+
step: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18464
|
+
view_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
18465
|
+
}),
|
|
18466
|
+
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
|
|
18467
|
+
}),
|
|
18468
|
+
execute: (input, { client }) => {
|
|
18469
|
+
const data = input;
|
|
18470
|
+
return client.runGeneratedRequest("recordAiMessageEvent", () => callGeneratedRequest(recordAiMessageEvent, [
|
|
18471
|
+
client.httpClient,
|
|
18472
|
+
client.organizationId,
|
|
18473
|
+
client.workspaceIdNumber,
|
|
18474
|
+
data.conversation_id,
|
|
18475
|
+
data.message_id,
|
|
18476
|
+
data.payload ?? data.data ?? data,
|
|
18477
|
+
data.product,
|
|
18478
|
+
void 0
|
|
18479
|
+
]));
|
|
18480
|
+
}
|
|
18481
|
+
},
|
|
18177
18482
|
{
|
|
18178
18483
|
id: "focus.ai.remove-ai-attachment",
|
|
18179
18484
|
family: "focus",
|
|
@@ -18285,6 +18590,7 @@ const generatedFocusOperations = [
|
|
|
18285
18590
|
conversation_id: /* @__PURE__ */ string$1(),
|
|
18286
18591
|
payload: /* @__PURE__ */ looseObject({
|
|
18287
18592
|
text: /* @__PURE__ */ string$1(),
|
|
18593
|
+
app_version: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18288
18594
|
attachment_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ string$1())),
|
|
18289
18595
|
page_context: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
18290
18596
|
page: /* @__PURE__ */ string$1(),
|
|
@@ -18374,7 +18680,16 @@ const generatedFocusOperations = [
|
|
|
18374
18680
|
language: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18375
18681
|
page_label: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18376
18682
|
url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
18377
|
-
}))
|
|
18683
|
+
})),
|
|
18684
|
+
platform: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18685
|
+
"web",
|
|
18686
|
+
"mobile",
|
|
18687
|
+
"desktop",
|
|
18688
|
+
"extension",
|
|
18689
|
+
"mcp",
|
|
18690
|
+
"cli"
|
|
18691
|
+
])),
|
|
18692
|
+
suggestion_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
18378
18693
|
}),
|
|
18379
18694
|
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
|
|
18380
18695
|
}),
|
|
@@ -18623,6 +18938,33 @@ const generatedFocusOperations = [
|
|
|
18623
18938
|
]));
|
|
18624
18939
|
}
|
|
18625
18940
|
},
|
|
18941
|
+
{
|
|
18942
|
+
id: "focus.archival.keep-upcoming-archival-group",
|
|
18943
|
+
family: "focus",
|
|
18944
|
+
resource: "archival",
|
|
18945
|
+
action: "keep-upcoming-archival-group",
|
|
18946
|
+
title: "Keep Upcoming Archival Group Archival",
|
|
18947
|
+
description: "Keep Upcoming Archival Group Archival.",
|
|
18948
|
+
safety: "update",
|
|
18949
|
+
destructive: false,
|
|
18950
|
+
cli: {
|
|
18951
|
+
group: ["archival"],
|
|
18952
|
+
command: "keep-upcoming-archival-group",
|
|
18953
|
+
interactive: "default"
|
|
18954
|
+
},
|
|
18955
|
+
mcp: { entityTool: "archival" },
|
|
18956
|
+
inputSchema: /* @__PURE__ */ looseObject({ group_id: /* @__PURE__ */ number$2() }),
|
|
18957
|
+
execute: (input, { client }) => {
|
|
18958
|
+
const data = input;
|
|
18959
|
+
return client.runGeneratedRequest("keepUpcomingArchivalGroup", () => callGeneratedRequest(keepUpcomingArchivalGroup, [
|
|
18960
|
+
client.httpClient,
|
|
18961
|
+
client.organizationId,
|
|
18962
|
+
client.workspaceIdNumber,
|
|
18963
|
+
data.group_id,
|
|
18964
|
+
void 0
|
|
18965
|
+
]));
|
|
18966
|
+
}
|
|
18967
|
+
},
|
|
18626
18968
|
{
|
|
18627
18969
|
id: "focus.archived-clients.get",
|
|
18628
18970
|
family: "focus",
|
|
@@ -19516,12 +19858,30 @@ const generatedFocusOperations = [
|
|
|
19516
19858
|
}
|
|
19517
19859
|
},
|
|
19518
19860
|
{
|
|
19519
|
-
id: "focus.
|
|
19861
|
+
id: "focus.currencies.list",
|
|
19520
19862
|
family: "focus",
|
|
19521
|
-
resource: "
|
|
19522
|
-
action: "
|
|
19523
|
-
title: "
|
|
19524
|
-
description: "
|
|
19863
|
+
resource: "currencies",
|
|
19864
|
+
action: "list",
|
|
19865
|
+
title: "List Currencies",
|
|
19866
|
+
description: "List Currencies.",
|
|
19867
|
+
safety: "read",
|
|
19868
|
+
destructive: false,
|
|
19869
|
+
cli: {
|
|
19870
|
+
group: ["currencies"],
|
|
19871
|
+
command: "list",
|
|
19872
|
+
interactive: "hidden"
|
|
19873
|
+
},
|
|
19874
|
+
mcp: { entityTool: "currencies" },
|
|
19875
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
19876
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCurrencies", () => callGeneratedRequest(getCurrencies, [client.httpClient, void 0]))
|
|
19877
|
+
},
|
|
19878
|
+
{
|
|
19879
|
+
id: "focus.custom-fields.bulk-patch-user-custom-field-values",
|
|
19880
|
+
family: "focus",
|
|
19881
|
+
resource: "custom-fields",
|
|
19882
|
+
action: "bulk-patch-user-custom-field-values",
|
|
19883
|
+
title: "Bulk Patch User Custom Field Values Custom Fields",
|
|
19884
|
+
description: "Bulk Patch User Custom Field Values Custom Fields.",
|
|
19525
19885
|
safety: "update",
|
|
19526
19886
|
destructive: false,
|
|
19527
19887
|
cli: {
|
|
@@ -20393,81 +20753,6 @@ const generatedFocusOperations = [
|
|
|
20393
20753
|
]));
|
|
20394
20754
|
}
|
|
20395
20755
|
},
|
|
20396
|
-
{
|
|
20397
|
-
id: "focus.designations.create-project",
|
|
20398
|
-
family: "focus",
|
|
20399
|
-
resource: "designations",
|
|
20400
|
-
action: "create-project",
|
|
20401
|
-
title: "Create Project Designations",
|
|
20402
|
-
description: "Create Project Designations.",
|
|
20403
|
-
safety: "create",
|
|
20404
|
-
destructive: false,
|
|
20405
|
-
cli: {
|
|
20406
|
-
group: ["designations"],
|
|
20407
|
-
command: "create-project",
|
|
20408
|
-
interactive: "default"
|
|
20409
|
-
},
|
|
20410
|
-
mcp: { entityTool: "designations" },
|
|
20411
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20412
|
-
payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20413
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
20414
|
-
bookings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20415
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
20416
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
20417
|
-
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20418
|
-
}))),
|
|
20419
|
-
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20420
|
-
})) }),
|
|
20421
|
-
project_id: /* @__PURE__ */ number$2()
|
|
20422
|
-
}),
|
|
20423
|
-
execute: (input, { client }) => {
|
|
20424
|
-
const data = input;
|
|
20425
|
-
return client.runGeneratedRequest("createProjectDesignations", () => callGeneratedRequest(createProjectDesignations, [
|
|
20426
|
-
client.httpClient,
|
|
20427
|
-
client.organizationId,
|
|
20428
|
-
client.workspaceIdNumber,
|
|
20429
|
-
data.project_id,
|
|
20430
|
-
data.payload ?? data.data ?? data,
|
|
20431
|
-
void 0
|
|
20432
|
-
]));
|
|
20433
|
-
}
|
|
20434
|
-
},
|
|
20435
|
-
{
|
|
20436
|
-
id: "focus.designations.create-project-designation-bookings",
|
|
20437
|
-
family: "focus",
|
|
20438
|
-
resource: "designations",
|
|
20439
|
-
action: "create-project-designation-bookings",
|
|
20440
|
-
title: "Create Project Designation Bookings Designations",
|
|
20441
|
-
description: "Create Project Designation Bookings Designations.",
|
|
20442
|
-
safety: "create",
|
|
20443
|
-
destructive: false,
|
|
20444
|
-
cli: {
|
|
20445
|
-
group: ["designations"],
|
|
20446
|
-
command: "create-project-designation-bookings",
|
|
20447
|
-
interactive: "default"
|
|
20448
|
-
},
|
|
20449
|
-
mcp: { entityTool: "designations" },
|
|
20450
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20451
|
-
payload: /* @__PURE__ */ looseObject({ bookings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20452
|
-
project_trait_id: /* @__PURE__ */ number$2(),
|
|
20453
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
20454
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
20455
|
-
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20456
|
-
})) }),
|
|
20457
|
-
project_id: /* @__PURE__ */ number$2()
|
|
20458
|
-
}),
|
|
20459
|
-
execute: (input, { client }) => {
|
|
20460
|
-
const data = input;
|
|
20461
|
-
return client.runGeneratedRequest("createProjectDesignationBookings", () => callGeneratedRequest(createProjectDesignationBookings, [
|
|
20462
|
-
client.httpClient,
|
|
20463
|
-
client.organizationId,
|
|
20464
|
-
client.workspaceIdNumber,
|
|
20465
|
-
data.project_id,
|
|
20466
|
-
data.payload ?? data.data ?? data,
|
|
20467
|
-
void 0
|
|
20468
|
-
]));
|
|
20469
|
-
}
|
|
20470
|
-
},
|
|
20471
20756
|
{
|
|
20472
20757
|
id: "focus.designations.create-workspace",
|
|
20473
20758
|
family: "focus",
|
|
@@ -20498,68 +20783,6 @@ const generatedFocusOperations = [
|
|
|
20498
20783
|
]));
|
|
20499
20784
|
}
|
|
20500
20785
|
},
|
|
20501
|
-
{
|
|
20502
|
-
id: "focus.designations.delete-project",
|
|
20503
|
-
family: "focus",
|
|
20504
|
-
resource: "designations",
|
|
20505
|
-
action: "delete-project",
|
|
20506
|
-
title: "Delete Project Designations",
|
|
20507
|
-
description: "Delete Project Designations.",
|
|
20508
|
-
safety: "delete",
|
|
20509
|
-
destructive: true,
|
|
20510
|
-
cli: {
|
|
20511
|
-
group: ["designations"],
|
|
20512
|
-
command: "delete-project",
|
|
20513
|
-
interactive: "default"
|
|
20514
|
-
},
|
|
20515
|
-
mcp: { entityTool: "designations" },
|
|
20516
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20517
|
-
payload: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
20518
|
-
project_id: /* @__PURE__ */ number$2()
|
|
20519
|
-
}),
|
|
20520
|
-
execute: (input, { client }) => {
|
|
20521
|
-
const data = input;
|
|
20522
|
-
return client.runGeneratedRequest("deleteProjectDesignations", () => callGeneratedRequest(deleteProjectDesignations, [
|
|
20523
|
-
client.httpClient,
|
|
20524
|
-
client.organizationId,
|
|
20525
|
-
client.workspaceIdNumber,
|
|
20526
|
-
data.project_id,
|
|
20527
|
-
data.payload ?? data.data ?? data,
|
|
20528
|
-
void 0
|
|
20529
|
-
]));
|
|
20530
|
-
}
|
|
20531
|
-
},
|
|
20532
|
-
{
|
|
20533
|
-
id: "focus.designations.delete-project-designation-bookings",
|
|
20534
|
-
family: "focus",
|
|
20535
|
-
resource: "designations",
|
|
20536
|
-
action: "delete-project-designation-bookings",
|
|
20537
|
-
title: "Delete Project Designation Bookings Designations",
|
|
20538
|
-
description: "Delete Project Designation Bookings Designations.",
|
|
20539
|
-
safety: "delete",
|
|
20540
|
-
destructive: true,
|
|
20541
|
-
cli: {
|
|
20542
|
-
group: ["designations"],
|
|
20543
|
-
command: "delete-project-designation-bookings",
|
|
20544
|
-
interactive: "default"
|
|
20545
|
-
},
|
|
20546
|
-
mcp: { entityTool: "designations" },
|
|
20547
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20548
|
-
payload: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
20549
|
-
project_id: /* @__PURE__ */ number$2()
|
|
20550
|
-
}),
|
|
20551
|
-
execute: (input, { client }) => {
|
|
20552
|
-
const data = input;
|
|
20553
|
-
return client.runGeneratedRequest("deleteProjectDesignationBookings", () => callGeneratedRequest(deleteProjectDesignationBookings, [
|
|
20554
|
-
client.httpClient,
|
|
20555
|
-
client.organizationId,
|
|
20556
|
-
client.workspaceIdNumber,
|
|
20557
|
-
data.project_id,
|
|
20558
|
-
data.payload ?? data.data ?? data,
|
|
20559
|
-
void 0
|
|
20560
|
-
]));
|
|
20561
|
-
}
|
|
20562
|
-
},
|
|
20563
20786
|
{
|
|
20564
20787
|
id: "focus.designations.delete-workspace",
|
|
20565
20788
|
family: "focus",
|
|
@@ -20587,74 +20810,6 @@ const generatedFocusOperations = [
|
|
|
20587
20810
|
]));
|
|
20588
20811
|
}
|
|
20589
20812
|
},
|
|
20590
|
-
{
|
|
20591
|
-
id: "focus.designations.get-project",
|
|
20592
|
-
family: "focus",
|
|
20593
|
-
resource: "designations",
|
|
20594
|
-
action: "get-project",
|
|
20595
|
-
title: "Get Project Designations",
|
|
20596
|
-
description: "Get Project Designations.",
|
|
20597
|
-
safety: "read",
|
|
20598
|
-
destructive: false,
|
|
20599
|
-
cli: {
|
|
20600
|
-
group: ["designations"],
|
|
20601
|
-
command: "get-project",
|
|
20602
|
-
interactive: "hidden"
|
|
20603
|
-
},
|
|
20604
|
-
mcp: { entityTool: "designations" },
|
|
20605
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20606
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
20607
|
-
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20608
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20609
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
20610
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
20611
|
-
}),
|
|
20612
|
-
execute: (input, { client }) => {
|
|
20613
|
-
const data = input;
|
|
20614
|
-
return client.runGeneratedRequest("getProjectDesignations", () => callGeneratedRequest(getProjectDesignations, [
|
|
20615
|
-
client.httpClient,
|
|
20616
|
-
client.organizationId,
|
|
20617
|
-
client.workspaceIdNumber,
|
|
20618
|
-
data.project_id,
|
|
20619
|
-
data,
|
|
20620
|
-
void 0
|
|
20621
|
-
]));
|
|
20622
|
-
}
|
|
20623
|
-
},
|
|
20624
|
-
{
|
|
20625
|
-
id: "focus.designations.get-project-designation-bookings",
|
|
20626
|
-
family: "focus",
|
|
20627
|
-
resource: "designations",
|
|
20628
|
-
action: "get-project-designation-bookings",
|
|
20629
|
-
title: "Get Project Designation Bookings Designations",
|
|
20630
|
-
description: "Get Project Designation Bookings Designations.",
|
|
20631
|
-
safety: "read",
|
|
20632
|
-
destructive: false,
|
|
20633
|
-
cli: {
|
|
20634
|
-
group: ["designations"],
|
|
20635
|
-
command: "get-project-designation-bookings",
|
|
20636
|
-
interactive: "hidden"
|
|
20637
|
-
},
|
|
20638
|
-
mcp: { entityTool: "designations" },
|
|
20639
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20640
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
20641
|
-
include_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20642
|
-
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20643
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
20644
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
20645
|
-
}),
|
|
20646
|
-
execute: (input, { client }) => {
|
|
20647
|
-
const data = input;
|
|
20648
|
-
return client.runGeneratedRequest("getProjectDesignationBookings", () => callGeneratedRequest(getProjectDesignationBookings, [
|
|
20649
|
-
client.httpClient,
|
|
20650
|
-
client.organizationId,
|
|
20651
|
-
client.workspaceIdNumber,
|
|
20652
|
-
data.project_id,
|
|
20653
|
-
data,
|
|
20654
|
-
void 0
|
|
20655
|
-
]));
|
|
20656
|
-
}
|
|
20657
|
-
},
|
|
20658
20813
|
{
|
|
20659
20814
|
id: "focus.designations.get-workspace-designations",
|
|
20660
20815
|
family: "focus",
|
|
@@ -20691,68 +20846,6 @@ const generatedFocusOperations = [
|
|
|
20691
20846
|
]));
|
|
20692
20847
|
}
|
|
20693
20848
|
},
|
|
20694
|
-
{
|
|
20695
|
-
id: "focus.designations.update-project",
|
|
20696
|
-
family: "focus",
|
|
20697
|
-
resource: "designations",
|
|
20698
|
-
action: "update-project",
|
|
20699
|
-
title: "Update Project Designations",
|
|
20700
|
-
description: "Update Project Designations.",
|
|
20701
|
-
safety: "update",
|
|
20702
|
-
destructive: false,
|
|
20703
|
-
cli: {
|
|
20704
|
-
group: ["designations"],
|
|
20705
|
-
command: "update-project",
|
|
20706
|
-
interactive: "default"
|
|
20707
|
-
},
|
|
20708
|
-
mcp: { entityTool: "designations" },
|
|
20709
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20710
|
-
payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() })) }),
|
|
20711
|
-
project_id: /* @__PURE__ */ number$2()
|
|
20712
|
-
}),
|
|
20713
|
-
execute: (input, { client }) => {
|
|
20714
|
-
const data = input;
|
|
20715
|
-
return client.runGeneratedRequest("updateProjectDesignations", () => callGeneratedRequest(updateProjectDesignations, [
|
|
20716
|
-
client.httpClient,
|
|
20717
|
-
client.organizationId,
|
|
20718
|
-
client.workspaceIdNumber,
|
|
20719
|
-
data.project_id,
|
|
20720
|
-
data.payload ?? data.data ?? data,
|
|
20721
|
-
void 0
|
|
20722
|
-
]));
|
|
20723
|
-
}
|
|
20724
|
-
},
|
|
20725
|
-
{
|
|
20726
|
-
id: "focus.designations.update-project-designation-bookings",
|
|
20727
|
-
family: "focus",
|
|
20728
|
-
resource: "designations",
|
|
20729
|
-
action: "update-project-designation-bookings",
|
|
20730
|
-
title: "Update Project Designation Bookings Designations",
|
|
20731
|
-
description: "Update Project Designation Bookings Designations.",
|
|
20732
|
-
safety: "update",
|
|
20733
|
-
destructive: false,
|
|
20734
|
-
cli: {
|
|
20735
|
-
group: ["designations"],
|
|
20736
|
-
command: "update-project-designation-bookings",
|
|
20737
|
-
interactive: "default"
|
|
20738
|
-
},
|
|
20739
|
-
mcp: { entityTool: "designations" },
|
|
20740
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20741
|
-
payload: /* @__PURE__ */ looseObject({ bookings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() })) }),
|
|
20742
|
-
project_id: /* @__PURE__ */ number$2()
|
|
20743
|
-
}),
|
|
20744
|
-
execute: (input, { client }) => {
|
|
20745
|
-
const data = input;
|
|
20746
|
-
return client.runGeneratedRequest("updateProjectDesignationBookings", () => callGeneratedRequest(updateProjectDesignationBookings, [
|
|
20747
|
-
client.httpClient,
|
|
20748
|
-
client.organizationId,
|
|
20749
|
-
client.workspaceIdNumber,
|
|
20750
|
-
data.project_id,
|
|
20751
|
-
data.payload ?? data.data ?? data,
|
|
20752
|
-
void 0
|
|
20753
|
-
]));
|
|
20754
|
-
}
|
|
20755
|
-
},
|
|
20756
20849
|
{
|
|
20757
20850
|
id: "focus.designations.update-workspace",
|
|
20758
20851
|
family: "focus",
|
|
@@ -22148,6 +22241,308 @@ const generatedFocusOperations = [
|
|
|
22148
22241
|
return client.deleteProject(data.project_id);
|
|
22149
22242
|
}
|
|
22150
22243
|
},
|
|
22244
|
+
{
|
|
22245
|
+
id: "focus.projects.designations-create",
|
|
22246
|
+
family: "focus",
|
|
22247
|
+
resource: "projects",
|
|
22248
|
+
action: "designations-create",
|
|
22249
|
+
title: "Designations Create Projects",
|
|
22250
|
+
description: "Designations Create Projects.",
|
|
22251
|
+
safety: "create",
|
|
22252
|
+
destructive: false,
|
|
22253
|
+
cli: {
|
|
22254
|
+
group: ["projects", "designations"],
|
|
22255
|
+
command: "create",
|
|
22256
|
+
interactive: "default"
|
|
22257
|
+
},
|
|
22258
|
+
mcp: { entityTool: "projects" },
|
|
22259
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
22260
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
22261
|
+
trait_id: /* @__PURE__ */ number$2(),
|
|
22262
|
+
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22263
|
+
members: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ toggl_user_id: /* @__PURE__ */ number$2() })))
|
|
22264
|
+
})) }) }),
|
|
22265
|
+
execute: (input, { client }) => {
|
|
22266
|
+
const data = input;
|
|
22267
|
+
return client.runGeneratedRequest("createProjectDesignations", () => callGeneratedRequest(createProjectDesignations, [
|
|
22268
|
+
client.httpClient,
|
|
22269
|
+
client.organizationId,
|
|
22270
|
+
client.workspaceIdNumber,
|
|
22271
|
+
data.payload ?? data.data ?? data,
|
|
22272
|
+
void 0
|
|
22273
|
+
]));
|
|
22274
|
+
}
|
|
22275
|
+
},
|
|
22276
|
+
{
|
|
22277
|
+
id: "focus.projects.designations-create-bookings",
|
|
22278
|
+
family: "focus",
|
|
22279
|
+
resource: "projects",
|
|
22280
|
+
action: "designations-create-bookings",
|
|
22281
|
+
title: "Designations Create Bookings Projects",
|
|
22282
|
+
description: "Designations Create Bookings Projects.",
|
|
22283
|
+
safety: "create",
|
|
22284
|
+
destructive: false,
|
|
22285
|
+
cli: {
|
|
22286
|
+
group: ["projects", "designations"],
|
|
22287
|
+
command: "create-bookings",
|
|
22288
|
+
interactive: "default"
|
|
22289
|
+
},
|
|
22290
|
+
mcp: { entityTool: "projects" },
|
|
22291
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ bookings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
22292
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
22293
|
+
project_trait_id: /* @__PURE__ */ number$2(),
|
|
22294
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22295
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22296
|
+
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22297
|
+
})) }) }),
|
|
22298
|
+
execute: (input, { client }) => {
|
|
22299
|
+
const data = input;
|
|
22300
|
+
return client.runGeneratedRequest("createProjectDesignationBookings", () => callGeneratedRequest(createProjectDesignationBookings, [
|
|
22301
|
+
client.httpClient,
|
|
22302
|
+
client.organizationId,
|
|
22303
|
+
client.workspaceIdNumber,
|
|
22304
|
+
data.payload ?? data.data ?? data,
|
|
22305
|
+
void 0
|
|
22306
|
+
]));
|
|
22307
|
+
}
|
|
22308
|
+
},
|
|
22309
|
+
{
|
|
22310
|
+
id: "focus.projects.designations-delete",
|
|
22311
|
+
family: "focus",
|
|
22312
|
+
resource: "projects",
|
|
22313
|
+
action: "designations-delete",
|
|
22314
|
+
title: "Designations Delete Projects",
|
|
22315
|
+
description: "Designations Delete Projects.",
|
|
22316
|
+
safety: "delete",
|
|
22317
|
+
destructive: true,
|
|
22318
|
+
cli: {
|
|
22319
|
+
group: ["projects", "designations"],
|
|
22320
|
+
command: "delete",
|
|
22321
|
+
interactive: "default"
|
|
22322
|
+
},
|
|
22323
|
+
mcp: { entityTool: "projects" },
|
|
22324
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
22325
|
+
execute: (input, { client }) => {
|
|
22326
|
+
const data = input;
|
|
22327
|
+
return client.runGeneratedRequest("deleteProjectDesignations", () => callGeneratedRequest(deleteProjectDesignations, [
|
|
22328
|
+
client.httpClient,
|
|
22329
|
+
client.organizationId,
|
|
22330
|
+
client.workspaceIdNumber,
|
|
22331
|
+
data.payload ?? data.data ?? data,
|
|
22332
|
+
void 0
|
|
22333
|
+
]));
|
|
22334
|
+
}
|
|
22335
|
+
},
|
|
22336
|
+
{
|
|
22337
|
+
id: "focus.projects.designations-delete-bookings",
|
|
22338
|
+
family: "focus",
|
|
22339
|
+
resource: "projects",
|
|
22340
|
+
action: "designations-delete-bookings",
|
|
22341
|
+
title: "Designations Delete Bookings Projects",
|
|
22342
|
+
description: "Designations Delete Bookings Projects.",
|
|
22343
|
+
safety: "delete",
|
|
22344
|
+
destructive: true,
|
|
22345
|
+
cli: {
|
|
22346
|
+
group: ["projects", "designations"],
|
|
22347
|
+
command: "delete-bookings",
|
|
22348
|
+
interactive: "default"
|
|
22349
|
+
},
|
|
22350
|
+
mcp: { entityTool: "projects" },
|
|
22351
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
22352
|
+
execute: (input, { client }) => {
|
|
22353
|
+
const data = input;
|
|
22354
|
+
return client.runGeneratedRequest("deleteProjectDesignationBookings", () => callGeneratedRequest(deleteProjectDesignationBookings, [
|
|
22355
|
+
client.httpClient,
|
|
22356
|
+
client.organizationId,
|
|
22357
|
+
client.workspaceIdNumber,
|
|
22358
|
+
data.payload ?? data.data ?? data,
|
|
22359
|
+
void 0
|
|
22360
|
+
]));
|
|
22361
|
+
}
|
|
22362
|
+
},
|
|
22363
|
+
{
|
|
22364
|
+
id: "focus.projects.designations-get-bookings",
|
|
22365
|
+
family: "focus",
|
|
22366
|
+
resource: "projects",
|
|
22367
|
+
action: "designations-get-bookings",
|
|
22368
|
+
title: "Designations Get Bookings Projects",
|
|
22369
|
+
description: "Designations Get Bookings Projects.",
|
|
22370
|
+
safety: "read",
|
|
22371
|
+
destructive: false,
|
|
22372
|
+
cli: {
|
|
22373
|
+
group: ["projects", "designations"],
|
|
22374
|
+
command: "get-bookings",
|
|
22375
|
+
interactive: "hidden"
|
|
22376
|
+
},
|
|
22377
|
+
mcp: { entityTool: "projects" },
|
|
22378
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22379
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22380
|
+
include_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22381
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22382
|
+
project_ids: /* @__PURE__ */ unknown$1(),
|
|
22383
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
22384
|
+
}),
|
|
22385
|
+
execute: (input, { client }) => {
|
|
22386
|
+
const data = input;
|
|
22387
|
+
return client.runGeneratedRequest("getProjectDesignationBookings", () => callGeneratedRequest(getProjectDesignationBookings, [
|
|
22388
|
+
client.httpClient,
|
|
22389
|
+
client.organizationId,
|
|
22390
|
+
client.workspaceIdNumber,
|
|
22391
|
+
data,
|
|
22392
|
+
void 0
|
|
22393
|
+
]));
|
|
22394
|
+
}
|
|
22395
|
+
},
|
|
22396
|
+
{
|
|
22397
|
+
id: "focus.projects.designations-get-members",
|
|
22398
|
+
family: "focus",
|
|
22399
|
+
resource: "projects",
|
|
22400
|
+
action: "designations-get-members",
|
|
22401
|
+
title: "Designations Get Members Projects",
|
|
22402
|
+
description: "Designations Get Members Projects.",
|
|
22403
|
+
safety: "read",
|
|
22404
|
+
destructive: false,
|
|
22405
|
+
cli: {
|
|
22406
|
+
group: ["projects", "designations"],
|
|
22407
|
+
command: "get-members",
|
|
22408
|
+
interactive: "hidden"
|
|
22409
|
+
},
|
|
22410
|
+
mcp: { entityTool: "projects" },
|
|
22411
|
+
inputSchema: /* @__PURE__ */ looseObject({ project_ids: /* @__PURE__ */ unknown$1() }),
|
|
22412
|
+
execute: (input, { client }) => {
|
|
22413
|
+
const data = input;
|
|
22414
|
+
return client.runGeneratedRequest("getProjectDesignationMembers", () => callGeneratedRequest(getProjectDesignationMembers, [
|
|
22415
|
+
client.httpClient,
|
|
22416
|
+
client.organizationId,
|
|
22417
|
+
client.workspaceIdNumber,
|
|
22418
|
+
data,
|
|
22419
|
+
void 0
|
|
22420
|
+
]));
|
|
22421
|
+
}
|
|
22422
|
+
},
|
|
22423
|
+
{
|
|
22424
|
+
id: "focus.projects.designations-list",
|
|
22425
|
+
family: "focus",
|
|
22426
|
+
resource: "projects",
|
|
22427
|
+
action: "designations-list",
|
|
22428
|
+
title: "Designations List Projects",
|
|
22429
|
+
description: "Designations List Projects.",
|
|
22430
|
+
safety: "read",
|
|
22431
|
+
destructive: false,
|
|
22432
|
+
cli: {
|
|
22433
|
+
group: ["projects", "designations"],
|
|
22434
|
+
command: "list",
|
|
22435
|
+
interactive: "hidden"
|
|
22436
|
+
},
|
|
22437
|
+
mcp: { entityTool: "projects" },
|
|
22438
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22439
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22440
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22441
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22442
|
+
project_ids: /* @__PURE__ */ unknown$1(),
|
|
22443
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
22444
|
+
}),
|
|
22445
|
+
execute: (input, { client }) => {
|
|
22446
|
+
const data = input;
|
|
22447
|
+
return client.runGeneratedRequest("getProjectDesignations", () => callGeneratedRequest(getProjectDesignations, [
|
|
22448
|
+
client.httpClient,
|
|
22449
|
+
client.organizationId,
|
|
22450
|
+
client.workspaceIdNumber,
|
|
22451
|
+
data,
|
|
22452
|
+
void 0
|
|
22453
|
+
]));
|
|
22454
|
+
}
|
|
22455
|
+
},
|
|
22456
|
+
{
|
|
22457
|
+
id: "focus.projects.designations-update",
|
|
22458
|
+
family: "focus",
|
|
22459
|
+
resource: "projects",
|
|
22460
|
+
action: "designations-update",
|
|
22461
|
+
title: "Designations Update Projects",
|
|
22462
|
+
description: "Designations Update Projects.",
|
|
22463
|
+
safety: "update",
|
|
22464
|
+
destructive: false,
|
|
22465
|
+
cli: {
|
|
22466
|
+
group: ["projects", "designations"],
|
|
22467
|
+
command: "update",
|
|
22468
|
+
interactive: "default"
|
|
22469
|
+
},
|
|
22470
|
+
mcp: { entityTool: "projects" },
|
|
22471
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() })) }) }),
|
|
22472
|
+
execute: (input, { client }) => {
|
|
22473
|
+
const data = input;
|
|
22474
|
+
return client.runGeneratedRequest("updateProjectDesignations", () => callGeneratedRequest(updateProjectDesignations, [
|
|
22475
|
+
client.httpClient,
|
|
22476
|
+
client.organizationId,
|
|
22477
|
+
client.workspaceIdNumber,
|
|
22478
|
+
data.payload ?? data.data ?? data,
|
|
22479
|
+
void 0
|
|
22480
|
+
]));
|
|
22481
|
+
}
|
|
22482
|
+
},
|
|
22483
|
+
{
|
|
22484
|
+
id: "focus.projects.designations-update-bookings",
|
|
22485
|
+
family: "focus",
|
|
22486
|
+
resource: "projects",
|
|
22487
|
+
action: "designations-update-bookings",
|
|
22488
|
+
title: "Designations Update Bookings Projects",
|
|
22489
|
+
description: "Designations Update Bookings Projects.",
|
|
22490
|
+
safety: "update",
|
|
22491
|
+
destructive: false,
|
|
22492
|
+
cli: {
|
|
22493
|
+
group: ["projects", "designations"],
|
|
22494
|
+
command: "update-bookings",
|
|
22495
|
+
interactive: "default"
|
|
22496
|
+
},
|
|
22497
|
+
mcp: { entityTool: "projects" },
|
|
22498
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ bookings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() })) }) }),
|
|
22499
|
+
execute: (input, { client }) => {
|
|
22500
|
+
const data = input;
|
|
22501
|
+
return client.runGeneratedRequest("updateProjectDesignationBookings", () => callGeneratedRequest(updateProjectDesignationBookings, [
|
|
22502
|
+
client.httpClient,
|
|
22503
|
+
client.organizationId,
|
|
22504
|
+
client.workspaceIdNumber,
|
|
22505
|
+
data.payload ?? data.data ?? data,
|
|
22506
|
+
void 0
|
|
22507
|
+
]));
|
|
22508
|
+
}
|
|
22509
|
+
},
|
|
22510
|
+
{
|
|
22511
|
+
id: "focus.projects.designations-update-members",
|
|
22512
|
+
family: "focus",
|
|
22513
|
+
resource: "projects",
|
|
22514
|
+
action: "designations-update-members",
|
|
22515
|
+
title: "Designations Update Members Projects",
|
|
22516
|
+
description: "Designations Update Members Projects.",
|
|
22517
|
+
safety: "update",
|
|
22518
|
+
destructive: false,
|
|
22519
|
+
cli: {
|
|
22520
|
+
group: ["projects", "designations"],
|
|
22521
|
+
command: "update-members",
|
|
22522
|
+
interactive: "default"
|
|
22523
|
+
},
|
|
22524
|
+
mcp: { entityTool: "projects" },
|
|
22525
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
22526
|
+
add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
22527
|
+
project_trait_id: /* @__PURE__ */ number$2(),
|
|
22528
|
+
toggl_user_id: /* @__PURE__ */ number$2()
|
|
22529
|
+
}))),
|
|
22530
|
+
remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
22531
|
+
project_trait_id: /* @__PURE__ */ number$2(),
|
|
22532
|
+
toggl_user_id: /* @__PURE__ */ number$2()
|
|
22533
|
+
})))
|
|
22534
|
+
}) }),
|
|
22535
|
+
execute: (input, { client }) => {
|
|
22536
|
+
const data = input;
|
|
22537
|
+
return client.runGeneratedRequest("updateProjectDesignationMembers", () => callGeneratedRequest(updateProjectDesignationMembers, [
|
|
22538
|
+
client.httpClient,
|
|
22539
|
+
client.organizationId,
|
|
22540
|
+
client.workspaceIdNumber,
|
|
22541
|
+
data.payload ?? data.data ?? data,
|
|
22542
|
+
void 0
|
|
22543
|
+
]));
|
|
22544
|
+
}
|
|
22545
|
+
},
|
|
22151
22546
|
{
|
|
22152
22547
|
id: "focus.projects.duplicate",
|
|
22153
22548
|
family: "focus",
|
|
@@ -31809,6 +32204,7 @@ const generatedFocusOperations = [
|
|
|
31809
32204
|
goal_reminders_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31810
32205
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31811
32206
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
32207
|
+
invite_members_card_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31812
32208
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31813
32209
|
notification_delivery: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
31814
32210
|
"email",
|
|
@@ -34115,4 +34511,4 @@ Common commands:
|
|
|
34115
34511
|
//#endregion
|
|
34116
34512
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
34117
34513
|
|
|
34118
|
-
//# sourceMappingURL=program-
|
|
34514
|
+
//# sourceMappingURL=program-BdI9FC-7.js.map
|
package/build/program.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-BdI9FC-7.js";
|
|
2
2
|
export { createProgram };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togglhq/cli",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.294",
|
|
4
4
|
"description": "Toggl CLI for Toggl 2.0 API operations.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@toggl/cli-core": "workspace:^",
|
|
58
58
|
"@toggl/operations": "workspace:^",
|
|
59
|
-
"@toggl/queries": "2.2.
|
|
59
|
+
"@toggl/queries": "2.2.389",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|