@togglhq/cli 1.13.208 → 1.13.210
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-CR_l78NL.js → program-BoepSLiL.js} +135 -34
- 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-BoepSLiL.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-BoepSLiL.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -11126,7 +11126,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
11126
11126
|
]))
|
|
11127
11127
|
});
|
|
11128
11128
|
//#endregion
|
|
11129
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11129
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
11130
11130
|
async function getInvitations(httpClient, signal) {
|
|
11131
11131
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
11132
11132
|
}
|
|
@@ -11143,7 +11143,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
11143
11143
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
11144
11144
|
}
|
|
11145
11145
|
//#endregion
|
|
11146
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11146
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
11147
11147
|
function buildSearchParams(params, flattenArrays = false) {
|
|
11148
11148
|
const searchParams = new URLSearchParams();
|
|
11149
11149
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -11155,7 +11155,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
11155
11155
|
return searchParams;
|
|
11156
11156
|
}
|
|
11157
11157
|
//#endregion
|
|
11158
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11158
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
11159
11159
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
11160
11160
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
11161
11161
|
}
|
|
@@ -11170,7 +11170,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11170
11170
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11171
11171
|
}
|
|
11172
11172
|
//#endregion
|
|
11173
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11173
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
11174
11174
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11175
11175
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11176
11176
|
}
|
|
@@ -11190,7 +11190,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11190
11190
|
});
|
|
11191
11191
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11192
11192
|
//#endregion
|
|
11193
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11193
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
11194
11194
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11195
11195
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11196
11196
|
signal,
|
|
@@ -11201,12 +11201,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11201
11201
|
})).json();
|
|
11202
11202
|
}
|
|
11203
11203
|
//#endregion
|
|
11204
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11204
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
11205
11205
|
async function getStatus(httpClient, signal) {
|
|
11206
11206
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11207
11207
|
}
|
|
11208
11208
|
//#endregion
|
|
11209
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11209
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
11210
11210
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11211
11211
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11212
11212
|
signal,
|
|
@@ -11234,7 +11234,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11234
11234
|
return response.json();
|
|
11235
11235
|
}
|
|
11236
11236
|
//#endregion
|
|
11237
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11237
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11238
11238
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11239
11239
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11240
11240
|
}
|
|
@@ -15362,13 +15362,14 @@ function formatValibotError(issues, maxLength = MAX_ERROR_LENGTH) {
|
|
|
15362
15362
|
}
|
|
15363
15363
|
//#endregion
|
|
15364
15364
|
//#region ../focus-queries/dist/ai/requests.ts
|
|
15365
|
-
async function getAiConversations(httpClient, organization_id, workspace_id, { search, before, limit } = {}, signal) {
|
|
15365
|
+
async function getAiConversations(httpClient, organization_id, workspace_id, { search, before, limit, product } = {}, signal) {
|
|
15366
15366
|
return (await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations`, {
|
|
15367
15367
|
signal,
|
|
15368
15368
|
searchParams: buildSearchParams$2({
|
|
15369
15369
|
search,
|
|
15370
15370
|
before,
|
|
15371
|
-
limit
|
|
15371
|
+
limit,
|
|
15372
|
+
product
|
|
15372
15373
|
})
|
|
15373
15374
|
})).json();
|
|
15374
15375
|
}
|
|
@@ -15383,32 +15384,51 @@ async function removeAiAttachment(httpClient, organization_id, workspace_id, con
|
|
|
15383
15384
|
if ([204, 205].includes(response.status)) return null;
|
|
15384
15385
|
return response.json();
|
|
15385
15386
|
}
|
|
15386
|
-
async function getAiMessages(httpClient, organization_id, workspace_id, conversation_id, { limit } = {}, signal) {
|
|
15387
|
+
async function getAiMessages(httpClient, organization_id, workspace_id, conversation_id, { limit, product } = {}, signal) {
|
|
15387
15388
|
return (await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages`, {
|
|
15388
15389
|
signal,
|
|
15389
|
-
searchParams: buildSearchParams$2({
|
|
15390
|
+
searchParams: buildSearchParams$2({
|
|
15391
|
+
limit,
|
|
15392
|
+
product
|
|
15393
|
+
})
|
|
15390
15394
|
})).json();
|
|
15391
15395
|
}
|
|
15392
|
-
async function sendAiMessage(httpClient, organization_id, workspace_id, conversation_id, data, signal) {
|
|
15396
|
+
async function sendAiMessage(httpClient, organization_id, workspace_id, conversation_id, data, product, signal) {
|
|
15393
15397
|
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages`, {
|
|
15394
15398
|
signal,
|
|
15395
|
-
json: data
|
|
15399
|
+
json: data,
|
|
15400
|
+
searchParams: buildSearchParams$2({ product })
|
|
15396
15401
|
})).json();
|
|
15397
15402
|
}
|
|
15398
|
-
async function nextAiActions(httpClient, organization_id, workspace_id, conversation_id, message_id, signal) {
|
|
15399
|
-
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/next`, {
|
|
15403
|
+
async function nextAiActions(httpClient, organization_id, workspace_id, conversation_id, message_id, product, signal) {
|
|
15404
|
+
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/next`, {
|
|
15405
|
+
signal,
|
|
15406
|
+
searchParams: buildSearchParams$2({ product })
|
|
15407
|
+
})).json();
|
|
15400
15408
|
}
|
|
15401
|
-
async function acceptAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
|
|
15402
|
-
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/accept`, {
|
|
15409
|
+
async function acceptAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, product, signal) {
|
|
15410
|
+
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/accept`, {
|
|
15411
|
+
signal,
|
|
15412
|
+
searchParams: buildSearchParams$2({ product })
|
|
15413
|
+
})).json();
|
|
15403
15414
|
}
|
|
15404
|
-
async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
|
|
15405
|
-
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, {
|
|
15415
|
+
async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, product, signal) {
|
|
15416
|
+
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, {
|
|
15417
|
+
signal,
|
|
15418
|
+
searchParams: buildSearchParams$2({ product })
|
|
15419
|
+
})).json();
|
|
15406
15420
|
}
|
|
15407
|
-
async function discardAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
|
|
15408
|
-
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/discard`, {
|
|
15421
|
+
async function discardAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, product, signal) {
|
|
15422
|
+
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/discard`, {
|
|
15423
|
+
signal,
|
|
15424
|
+
searchParams: buildSearchParams$2({ product })
|
|
15425
|
+
})).json();
|
|
15409
15426
|
}
|
|
15410
|
-
async function undoAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
|
|
15411
|
-
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/undo`, {
|
|
15427
|
+
async function undoAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, product, signal) {
|
|
15428
|
+
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/undo`, {
|
|
15429
|
+
signal,
|
|
15430
|
+
searchParams: buildSearchParams$2({ product })
|
|
15431
|
+
})).json();
|
|
15412
15432
|
}
|
|
15413
15433
|
async function dayRebuildGroup(httpClient, organization_id, workspace_id, data, signal) {
|
|
15414
15434
|
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/day-rebuild/group`, {
|
|
@@ -15465,10 +15485,11 @@ async function connectAiSource(httpClient, organization_id, workspace_id, source
|
|
|
15465
15485
|
async function getAiUsage(httpClient, organization_id, workspace_id, signal) {
|
|
15466
15486
|
return (await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/usage`, { signal })).json();
|
|
15467
15487
|
}
|
|
15468
|
-
async function runAiView(httpClient, organization_id, workspace_id, data, signal) {
|
|
15488
|
+
async function runAiView(httpClient, organization_id, workspace_id, data, product, signal) {
|
|
15469
15489
|
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/views/run`, {
|
|
15470
15490
|
signal,
|
|
15471
|
-
json: data
|
|
15491
|
+
json: data,
|
|
15492
|
+
searchParams: buildSearchParams$2({ product })
|
|
15472
15493
|
})).json();
|
|
15473
15494
|
}
|
|
15474
15495
|
//#endregion
|
|
@@ -17465,6 +17486,15 @@ async function partialUpdateUserSettings(httpClient, data, signal) {
|
|
|
17465
17486
|
json: data
|
|
17466
17487
|
})).json();
|
|
17467
17488
|
}
|
|
17489
|
+
async function getDesktopUserSettings(httpClient, signal) {
|
|
17490
|
+
return (await httpClient.get(`users/me/settings/desktop`, { signal })).json();
|
|
17491
|
+
}
|
|
17492
|
+
async function partialUpdateDesktopUserSettings(httpClient, data, signal) {
|
|
17493
|
+
return (await httpClient.patch(`users/me/settings/desktop`, {
|
|
17494
|
+
signal,
|
|
17495
|
+
json: data
|
|
17496
|
+
})).json();
|
|
17497
|
+
}
|
|
17468
17498
|
//#endregion
|
|
17469
17499
|
//#region ../focus-queries/dist/user-workspace-settings/requests.ts
|
|
17470
17500
|
async function getUserWorkspaceSettings(httpClient, workspace_id, signal) {
|
|
@@ -17584,6 +17614,7 @@ const generatedFocusOperations = [
|
|
|
17584
17614
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17585
17615
|
conversation_id: /* @__PURE__ */ string$1(),
|
|
17586
17616
|
message_id: /* @__PURE__ */ number$2(),
|
|
17617
|
+
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"])),
|
|
17587
17618
|
view_id: /* @__PURE__ */ string$1()
|
|
17588
17619
|
}),
|
|
17589
17620
|
execute: (input, { client }) => {
|
|
@@ -17595,6 +17626,7 @@ const generatedFocusOperations = [
|
|
|
17595
17626
|
data.conversation_id,
|
|
17596
17627
|
data.message_id,
|
|
17597
17628
|
data.view_id,
|
|
17629
|
+
data.product,
|
|
17598
17630
|
void 0
|
|
17599
17631
|
]));
|
|
17600
17632
|
}
|
|
@@ -17617,6 +17649,7 @@ const generatedFocusOperations = [
|
|
|
17617
17649
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17618
17650
|
conversation_id: /* @__PURE__ */ string$1(),
|
|
17619
17651
|
message_id: /* @__PURE__ */ number$2(),
|
|
17652
|
+
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"])),
|
|
17620
17653
|
view_id: /* @__PURE__ */ string$1()
|
|
17621
17654
|
}),
|
|
17622
17655
|
execute: (input, { client }) => {
|
|
@@ -17628,6 +17661,7 @@ const generatedFocusOperations = [
|
|
|
17628
17661
|
data.conversation_id,
|
|
17629
17662
|
data.message_id,
|
|
17630
17663
|
data.view_id,
|
|
17664
|
+
data.product,
|
|
17631
17665
|
void 0
|
|
17632
17666
|
]));
|
|
17633
17667
|
}
|
|
@@ -17808,6 +17842,7 @@ const generatedFocusOperations = [
|
|
|
17808
17842
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17809
17843
|
conversation_id: /* @__PURE__ */ string$1(),
|
|
17810
17844
|
message_id: /* @__PURE__ */ number$2(),
|
|
17845
|
+
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"])),
|
|
17811
17846
|
view_id: /* @__PURE__ */ string$1()
|
|
17812
17847
|
}),
|
|
17813
17848
|
execute: (input, { client }) => {
|
|
@@ -17819,6 +17854,7 @@ const generatedFocusOperations = [
|
|
|
17819
17854
|
data.conversation_id,
|
|
17820
17855
|
data.message_id,
|
|
17821
17856
|
data.view_id,
|
|
17857
|
+
data.product,
|
|
17822
17858
|
void 0
|
|
17823
17859
|
]));
|
|
17824
17860
|
}
|
|
@@ -17902,6 +17938,7 @@ const generatedFocusOperations = [
|
|
|
17902
17938
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17903
17939
|
before: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17904
17940
|
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17941
|
+
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17905
17942
|
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
17906
17943
|
}),
|
|
17907
17944
|
execute: (input, { client }) => {
|
|
@@ -17932,7 +17969,8 @@ const generatedFocusOperations = [
|
|
|
17932
17969
|
mcp: { entityTool: "ai" },
|
|
17933
17970
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17934
17971
|
conversation_id: /* @__PURE__ */ string$1(),
|
|
17935
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
17972
|
+
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17973
|
+
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
17936
17974
|
}),
|
|
17937
17975
|
execute: (input, { client }) => {
|
|
17938
17976
|
const data = input;
|
|
@@ -18009,7 +18047,8 @@ const generatedFocusOperations = [
|
|
|
18009
18047
|
mcp: { entityTool: "ai" },
|
|
18010
18048
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18011
18049
|
conversation_id: /* @__PURE__ */ string$1(),
|
|
18012
|
-
message_id: /* @__PURE__ */ number$2()
|
|
18050
|
+
message_id: /* @__PURE__ */ number$2(),
|
|
18051
|
+
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
|
|
18013
18052
|
}),
|
|
18014
18053
|
execute: (input, { client }) => {
|
|
18015
18054
|
const data = input;
|
|
@@ -18019,6 +18058,7 @@ const generatedFocusOperations = [
|
|
|
18019
18058
|
client.workspaceIdNumber,
|
|
18020
18059
|
data.conversation_id,
|
|
18021
18060
|
data.message_id,
|
|
18061
|
+
data.product,
|
|
18022
18062
|
void 0
|
|
18023
18063
|
]));
|
|
18024
18064
|
}
|
|
@@ -18069,10 +18109,13 @@ const generatedFocusOperations = [
|
|
|
18069
18109
|
interactive: "default"
|
|
18070
18110
|
},
|
|
18071
18111
|
mcp: { entityTool: "ai" },
|
|
18072
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
18073
|
-
|
|
18074
|
-
|
|
18075
|
-
|
|
18112
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
18113
|
+
payload: /* @__PURE__ */ looseObject({
|
|
18114
|
+
input: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
18115
|
+
tool: /* @__PURE__ */ string$1()
|
|
18116
|
+
}),
|
|
18117
|
+
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
|
|
18118
|
+
}),
|
|
18076
18119
|
execute: (input, { client }) => {
|
|
18077
18120
|
const data = input;
|
|
18078
18121
|
return client.runGeneratedRequest("runAiView", () => callGeneratedRequest(runAiView, [
|
|
@@ -18080,6 +18123,7 @@ const generatedFocusOperations = [
|
|
|
18080
18123
|
client.organizationId,
|
|
18081
18124
|
client.workspaceIdNumber,
|
|
18082
18125
|
data.payload ?? data.data ?? data,
|
|
18126
|
+
data.product,
|
|
18083
18127
|
void 0
|
|
18084
18128
|
]));
|
|
18085
18129
|
}
|
|
@@ -18220,7 +18264,8 @@ const generatedFocusOperations = [
|
|
|
18220
18264
|
page_label: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18221
18265
|
url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
18222
18266
|
}))
|
|
18223
|
-
})
|
|
18267
|
+
}),
|
|
18268
|
+
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
|
|
18224
18269
|
}),
|
|
18225
18270
|
execute: (input, { client }) => {
|
|
18226
18271
|
const data = input;
|
|
@@ -18230,6 +18275,7 @@ const generatedFocusOperations = [
|
|
|
18230
18275
|
client.workspaceIdNumber,
|
|
18231
18276
|
data.conversation_id,
|
|
18232
18277
|
data.payload ?? data.data ?? data,
|
|
18278
|
+
data.product,
|
|
18233
18279
|
void 0
|
|
18234
18280
|
]));
|
|
18235
18281
|
}
|
|
@@ -18252,6 +18298,7 @@ const generatedFocusOperations = [
|
|
|
18252
18298
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18253
18299
|
conversation_id: /* @__PURE__ */ string$1(),
|
|
18254
18300
|
message_id: /* @__PURE__ */ number$2(),
|
|
18301
|
+
product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"])),
|
|
18255
18302
|
view_id: /* @__PURE__ */ string$1()
|
|
18256
18303
|
}),
|
|
18257
18304
|
execute: (input, { client }) => {
|
|
@@ -18263,6 +18310,7 @@ const generatedFocusOperations = [
|
|
|
18263
18310
|
data.conversation_id,
|
|
18264
18311
|
data.message_id,
|
|
18265
18312
|
data.view_id,
|
|
18313
|
+
data.product,
|
|
18266
18314
|
void 0
|
|
18267
18315
|
]));
|
|
18268
18316
|
}
|
|
@@ -31363,6 +31411,24 @@ const generatedFocusOperations = [
|
|
|
31363
31411
|
]));
|
|
31364
31412
|
}
|
|
31365
31413
|
},
|
|
31414
|
+
{
|
|
31415
|
+
id: "focus.users.settings-get-desktop",
|
|
31416
|
+
family: "focus",
|
|
31417
|
+
resource: "users",
|
|
31418
|
+
action: "settings-get-desktop",
|
|
31419
|
+
title: "Settings Get Desktop Users",
|
|
31420
|
+
description: "Settings Get Desktop Users.",
|
|
31421
|
+
safety: "read",
|
|
31422
|
+
destructive: false,
|
|
31423
|
+
cli: {
|
|
31424
|
+
group: ["users", "settings"],
|
|
31425
|
+
command: "get-desktop",
|
|
31426
|
+
interactive: "hidden"
|
|
31427
|
+
},
|
|
31428
|
+
mcp: { entityTool: "users" },
|
|
31429
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
31430
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getDesktopUserSettings", () => callGeneratedRequest(getDesktopUserSettings, [client.httpClient, void 0]))
|
|
31431
|
+
},
|
|
31366
31432
|
{
|
|
31367
31433
|
id: "focus.users.settings-list",
|
|
31368
31434
|
family: "focus",
|
|
@@ -31484,6 +31550,41 @@ const generatedFocusOperations = [
|
|
|
31484
31550
|
]));
|
|
31485
31551
|
}
|
|
31486
31552
|
},
|
|
31553
|
+
{
|
|
31554
|
+
id: "focus.users.settings-update-desktop",
|
|
31555
|
+
family: "focus",
|
|
31556
|
+
resource: "users",
|
|
31557
|
+
action: "settings-update-desktop",
|
|
31558
|
+
title: "Settings Update Desktop Users",
|
|
31559
|
+
description: "Settings Update Desktop Users.",
|
|
31560
|
+
safety: "update",
|
|
31561
|
+
destructive: false,
|
|
31562
|
+
cli: {
|
|
31563
|
+
group: ["users", "settings"],
|
|
31564
|
+
command: "update-desktop",
|
|
31565
|
+
interactive: "default"
|
|
31566
|
+
},
|
|
31567
|
+
mcp: { entityTool: "users" },
|
|
31568
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ desktop_autotracker_rules: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
31569
|
+
enabled: /* @__PURE__ */ boolean$1(),
|
|
31570
|
+
id: /* @__PURE__ */ string$1(),
|
|
31571
|
+
keyword: /* @__PURE__ */ string$1(),
|
|
31572
|
+
keyword_mode: /* @__PURE__ */ picklist$1(["contains_phrase", "all_words"]),
|
|
31573
|
+
start_without_asking: /* @__PURE__ */ boolean$1(),
|
|
31574
|
+
stop_when_meeting_ends: /* @__PURE__ */ boolean$1(),
|
|
31575
|
+
trigger: /* @__PURE__ */ picklist$1(["window", "meeting"]),
|
|
31576
|
+
trigger_when_timer_is_running: /* @__PURE__ */ boolean$1(),
|
|
31577
|
+
updated_at: apiDateTimeString
|
|
31578
|
+
}))) }) }),
|
|
31579
|
+
execute: (input, { client }) => {
|
|
31580
|
+
const data = input;
|
|
31581
|
+
return client.runGeneratedRequest("partialUpdateDesktopUserSettings", () => callGeneratedRequest(partialUpdateDesktopUserSettings, [
|
|
31582
|
+
client.httpClient,
|
|
31583
|
+
data.payload ?? data.data ?? data,
|
|
31584
|
+
void 0
|
|
31585
|
+
]));
|
|
31586
|
+
}
|
|
31587
|
+
},
|
|
31487
31588
|
{
|
|
31488
31589
|
id: "focus.users.workspace-settings-list",
|
|
31489
31590
|
family: "focus",
|
|
@@ -33692,4 +33793,4 @@ Common commands:
|
|
|
33692
33793
|
//#endregion
|
|
33693
33794
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
33694
33795
|
|
|
33695
|
-
//# sourceMappingURL=program-
|
|
33796
|
+
//# sourceMappingURL=program-BoepSLiL.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-BoepSLiL.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.210",
|
|
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.334",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|