@togglhq/cli 1.13.43 → 1.13.45
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-DemysyXD.js → program-BoX5jdoM.js} +71 -71
- 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-BoX5jdoM.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-BoX5jdoM.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -7163,16 +7163,16 @@ const ProjectEstimateSourceSchema = /* @__PURE__ */ picklist([
|
|
|
7163
7163
|
const EffectiveProjectRatesSummarySchema = /* @__PURE__ */ object({
|
|
7164
7164
|
billable: /* @__PURE__ */ boolean(),
|
|
7165
7165
|
currency: /* @__PURE__ */ string(),
|
|
7166
|
-
end_at: /* @__PURE__ */ string(),
|
|
7167
7166
|
has_more_rates: /* @__PURE__ */ boolean(),
|
|
7168
7167
|
hourly_rate: /* @__PURE__ */ number(),
|
|
7169
7168
|
project_color: /* @__PURE__ */ string(),
|
|
7170
7169
|
project_created_at: /* @__PURE__ */ string(),
|
|
7171
7170
|
project_id: /* @__PURE__ */ number(),
|
|
7172
7171
|
project_name: /* @__PURE__ */ string(),
|
|
7173
|
-
project_rate_id: /* @__PURE__ */ number(),
|
|
7174
7172
|
start_at: /* @__PURE__ */ string(),
|
|
7175
|
-
|
|
7173
|
+
end_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7174
|
+
project_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7175
|
+
workspace_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
7176
7176
|
});
|
|
7177
7177
|
const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
7178
7178
|
draft: /* @__PURE__ */ boolean(),
|
|
@@ -7696,15 +7696,15 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7696
7696
|
billable_source: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(BillableSourceSchema, /* @__PURE__ */ description("Whether `billable` was set on the entry (`manual`) or resolved from its task, else its project (`task_default`)."))),
|
|
7697
7697
|
calendar_event: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
7698
7698
|
all_day: /* @__PURE__ */ boolean(),
|
|
7699
|
-
background_color: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
|
|
7700
|
-
end_time: /* @__PURE__ */ string(),
|
|
7701
|
-
foreground_color: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
|
|
7702
7699
|
html_link: /* @__PURE__ */ string(),
|
|
7703
7700
|
id: /* @__PURE__ */ number(),
|
|
7704
|
-
meeting_link: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
|
|
7705
7701
|
provider: /* @__PURE__ */ string(),
|
|
7706
|
-
|
|
7707
|
-
|
|
7702
|
+
background_color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7703
|
+
end_time: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7704
|
+
foreground_color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7705
|
+
meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7706
|
+
start_time: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7707
|
+
title: /* @__PURE__ */ optional(/* @__PURE__ */ string())
|
|
7708
7708
|
}))),
|
|
7709
7709
|
calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7710
7710
|
calendar_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("CalendarID is the calendar service's calendar PK. It stays set after a calendar deselect clears calendar_event_id."))),
|
|
@@ -7755,34 +7755,30 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
7755
7755
|
});
|
|
7756
7756
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
7757
7757
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
7758
|
-
account_locked_at: /* @__PURE__ */ string(),
|
|
7759
7758
|
accounts_role_id: /* @__PURE__ */ number(),
|
|
7760
7759
|
active: /* @__PURE__ */ boolean(),
|
|
7761
7760
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
7762
7761
|
created_at: /* @__PURE__ */ string(),
|
|
7763
|
-
deleted_at: /* @__PURE__ */ string(),
|
|
7764
7762
|
email: /* @__PURE__ */ string(),
|
|
7765
7763
|
groups: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7766
|
-
emoji: /* @__PURE__ */ string(),
|
|
7767
7764
|
id: /* @__PURE__ */ number(),
|
|
7768
7765
|
name: /* @__PURE__ */ string(),
|
|
7769
|
-
workspace_ids: /* @__PURE__ */ array(/* @__PURE__ */ number())
|
|
7766
|
+
workspace_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
|
|
7767
|
+
emoji: /* @__PURE__ */ optional(/* @__PURE__ */ string())
|
|
7770
7768
|
})),
|
|
7771
7769
|
id: /* @__PURE__ */ number(),
|
|
7772
|
-
invite_sent: /* @__PURE__ */ boolean(),
|
|
7773
7770
|
joined: /* @__PURE__ */ boolean(),
|
|
7774
7771
|
name: /* @__PURE__ */ string(),
|
|
7775
7772
|
organization_id: /* @__PURE__ */ number(),
|
|
7776
7773
|
owner: /* @__PURE__ */ boolean(),
|
|
7777
|
-
permissions: /* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown()),
|
|
7778
7774
|
rate: /* @__PURE__ */ object({
|
|
7779
7775
|
currency: /* @__PURE__ */ string(),
|
|
7780
|
-
end_at: /* @__PURE__ */ string(),
|
|
7781
7776
|
hourly_rate: /* @__PURE__ */ number(),
|
|
7782
7777
|
start_at: /* @__PURE__ */ string(),
|
|
7783
7778
|
workspace_id: /* @__PURE__ */ number(),
|
|
7784
|
-
|
|
7785
|
-
|
|
7779
|
+
end_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7780
|
+
workspace_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7781
|
+
workspace_user_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
7786
7782
|
}),
|
|
7787
7783
|
tags: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7788
7784
|
color: /* @__PURE__ */ string(),
|
|
@@ -7792,13 +7788,12 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7792
7788
|
updated_at: /* @__PURE__ */ string(),
|
|
7793
7789
|
user_account_id: /* @__PURE__ */ number(),
|
|
7794
7790
|
user_id: /* @__PURE__ */ string(),
|
|
7795
|
-
working_hours: /* @__PURE__ */ number(),
|
|
7796
7791
|
workspaces: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7797
7792
|
focus_role_id: /* @__PURE__ */ number(),
|
|
7798
7793
|
groups: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7799
|
-
emoji: /* @__PURE__ */ string(),
|
|
7800
7794
|
id: /* @__PURE__ */ number(),
|
|
7801
|
-
name: /* @__PURE__ */ string()
|
|
7795
|
+
name: /* @__PURE__ */ string(),
|
|
7796
|
+
emoji: /* @__PURE__ */ optional(/* @__PURE__ */ string())
|
|
7802
7797
|
})),
|
|
7803
7798
|
id: /* @__PURE__ */ number(),
|
|
7804
7799
|
name: /* @__PURE__ */ string(),
|
|
@@ -7807,12 +7802,17 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7807
7802
|
work_role_id: /* @__PURE__ */ number(),
|
|
7808
7803
|
workspace_user_id: /* @__PURE__ */ number()
|
|
7809
7804
|
})),
|
|
7805
|
+
account_locked_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7810
7806
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7807
|
+
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7811
7808
|
designations: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7812
7809
|
id: /* @__PURE__ */ number(),
|
|
7813
7810
|
name: /* @__PURE__ */ string()
|
|
7814
7811
|
}))),
|
|
7815
|
-
has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
|
|
7812
|
+
has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page."))),
|
|
7813
|
+
invite_sent: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7814
|
+
permissions: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown())),
|
|
7815
|
+
working_hours: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
7816
7816
|
});
|
|
7817
7817
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7818
7818
|
const ProjectBulkGroupEntrySchema = /* @__PURE__ */ object({
|
|
@@ -10902,7 +10902,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10902
10902
|
]))
|
|
10903
10903
|
});
|
|
10904
10904
|
//#endregion
|
|
10905
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10905
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.242_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1c62e7e32af93e2010a4e19d7c1b76c9/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10906
10906
|
async function getInvitations(httpClient, signal) {
|
|
10907
10907
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10908
10908
|
}
|
|
@@ -10919,7 +10919,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10919
10919
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10920
10920
|
}
|
|
10921
10921
|
//#endregion
|
|
10922
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10922
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.242_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1c62e7e32af93e2010a4e19d7c1b76c9/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10923
10923
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10924
10924
|
const searchParams = new URLSearchParams();
|
|
10925
10925
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10931,7 +10931,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10931
10931
|
return searchParams;
|
|
10932
10932
|
}
|
|
10933
10933
|
//#endregion
|
|
10934
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10934
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.242_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1c62e7e32af93e2010a4e19d7c1b76c9/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10935
10935
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10936
10936
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10937
10937
|
}
|
|
@@ -10945,7 +10945,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10945
10945
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10946
10946
|
}
|
|
10947
10947
|
//#endregion
|
|
10948
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10948
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.242_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1c62e7e32af93e2010a4e19d7c1b76c9/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10949
10949
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10950
10950
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10951
10951
|
}
|
|
@@ -10965,7 +10965,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10965
10965
|
});
|
|
10966
10966
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10967
10967
|
//#endregion
|
|
10968
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10968
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.242_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1c62e7e32af93e2010a4e19d7c1b76c9/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10969
10969
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10970
10970
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10971
10971
|
signal,
|
|
@@ -10976,12 +10976,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10976
10976
|
})).json();
|
|
10977
10977
|
}
|
|
10978
10978
|
//#endregion
|
|
10979
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10979
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.242_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1c62e7e32af93e2010a4e19d7c1b76c9/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10980
10980
|
async function getStatus(httpClient, signal) {
|
|
10981
10981
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10982
10982
|
}
|
|
10983
10983
|
//#endregion
|
|
10984
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10984
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.242_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1c62e7e32af93e2010a4e19d7c1b76c9/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10985
10985
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10986
10986
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10987
10987
|
signal,
|
|
@@ -11009,7 +11009,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11009
11009
|
return response.json();
|
|
11010
11010
|
}
|
|
11011
11011
|
//#endregion
|
|
11012
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11012
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.242_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1c62e7e32af93e2010a4e19d7c1b76c9/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11013
11013
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11014
11014
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11015
11015
|
}
|
|
@@ -16602,14 +16602,16 @@ const generatedFocusOperations = [
|
|
|
16602
16602
|
payload: /* @__PURE__ */ looseObject({
|
|
16603
16603
|
text: /* @__PURE__ */ string$1(),
|
|
16604
16604
|
page_context: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16605
|
-
|
|
16606
|
-
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
|
|
16612
|
-
|
|
16605
|
+
page: /* @__PURE__ */ string$1(),
|
|
16606
|
+
version: /* @__PURE__ */ number$2(),
|
|
16607
|
+
date_range: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16608
|
+
from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16609
|
+
preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16610
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16611
|
+
})),
|
|
16612
|
+
extra: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16613
|
+
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16614
|
+
entities: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16613
16615
|
id: /* @__PURE__ */ number$2(),
|
|
16614
16616
|
kind: /* @__PURE__ */ picklist$1([
|
|
16615
16617
|
"project",
|
|
@@ -16621,11 +16623,11 @@ const generatedFocusOperations = [
|
|
|
16621
16623
|
"status",
|
|
16622
16624
|
"time_entry"
|
|
16623
16625
|
]),
|
|
16624
|
-
name: /* @__PURE__ */ string$1()
|
|
16625
|
-
})),
|
|
16626
|
-
search: /* @__PURE__ */ string$1()
|
|
16627
|
-
}),
|
|
16628
|
-
focus: /* @__PURE__ */ looseObject({
|
|
16626
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16627
|
+
}))),
|
|
16628
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16629
|
+
})),
|
|
16630
|
+
focus: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16629
16631
|
id: /* @__PURE__ */ number$2(),
|
|
16630
16632
|
kind: /* @__PURE__ */ picklist$1([
|
|
16631
16633
|
"project",
|
|
@@ -16637,10 +16639,10 @@ const generatedFocusOperations = [
|
|
|
16637
16639
|
"status",
|
|
16638
16640
|
"time_entry"
|
|
16639
16641
|
]),
|
|
16640
|
-
name: /* @__PURE__ */ string$1()
|
|
16641
|
-
}),
|
|
16642
|
-
groups: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16643
|
-
items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16642
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16643
|
+
})),
|
|
16644
|
+
groups: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16645
|
+
items: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16644
16646
|
id: /* @__PURE__ */ number$2(),
|
|
16645
16647
|
kind: /* @__PURE__ */ picklist$1([
|
|
16646
16648
|
"project",
|
|
@@ -16652,10 +16654,10 @@ const generatedFocusOperations = [
|
|
|
16652
16654
|
"status",
|
|
16653
16655
|
"time_entry"
|
|
16654
16656
|
]),
|
|
16655
|
-
name: /* @__PURE__ */ string$1()
|
|
16656
|
-
})),
|
|
16657
|
-
label: /* @__PURE__ */ string$1(),
|
|
16658
|
-
ref: /* @__PURE__ */ looseObject({
|
|
16657
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16658
|
+
}))),
|
|
16659
|
+
label: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16660
|
+
ref: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16659
16661
|
id: /* @__PURE__ */ number$2(),
|
|
16660
16662
|
kind: /* @__PURE__ */ picklist$1([
|
|
16661
16663
|
"project",
|
|
@@ -16667,10 +16669,10 @@ const generatedFocusOperations = [
|
|
|
16667
16669
|
"status",
|
|
16668
16670
|
"time_entry"
|
|
16669
16671
|
]),
|
|
16670
|
-
name: /* @__PURE__ */ string$1()
|
|
16671
|
-
})
|
|
16672
|
-
})),
|
|
16673
|
-
items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16672
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16673
|
+
}))
|
|
16674
|
+
}))),
|
|
16675
|
+
items: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16674
16676
|
id: /* @__PURE__ */ number$2(),
|
|
16675
16677
|
kind: /* @__PURE__ */ picklist$1([
|
|
16676
16678
|
"project",
|
|
@@ -16682,13 +16684,11 @@ const generatedFocusOperations = [
|
|
|
16682
16684
|
"status",
|
|
16683
16685
|
"time_entry"
|
|
16684
16686
|
]),
|
|
16685
|
-
name: /* @__PURE__ */ string$1()
|
|
16686
|
-
})),
|
|
16687
|
-
language: /* @__PURE__ */ string$1(),
|
|
16688
|
-
|
|
16689
|
-
|
|
16690
|
-
url: /* @__PURE__ */ string$1(),
|
|
16691
|
-
version: /* @__PURE__ */ number$2()
|
|
16687
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16688
|
+
}))),
|
|
16689
|
+
language: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16690
|
+
page_label: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16691
|
+
url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16692
16692
|
}))
|
|
16693
16693
|
})
|
|
16694
16694
|
}),
|
|
@@ -18742,10 +18742,10 @@ const generatedFocusOperations = [
|
|
|
18742
18742
|
},
|
|
18743
18743
|
mcp: { entityTool: "organization" },
|
|
18744
18744
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
18745
|
-
emoji: /* @__PURE__ */ string$1(),
|
|
18746
18745
|
name: /* @__PURE__ */ string$1(),
|
|
18747
|
-
|
|
18748
|
-
|
|
18746
|
+
emoji: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18747
|
+
organization_users: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
18748
|
+
workspaces: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
18749
18749
|
}) }),
|
|
18750
18750
|
execute: (input, { client }) => {
|
|
18751
18751
|
const data = input;
|
|
@@ -18908,10 +18908,10 @@ const generatedFocusOperations = [
|
|
|
18908
18908
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18909
18909
|
group_id: /* @__PURE__ */ number$2(),
|
|
18910
18910
|
payload: /* @__PURE__ */ looseObject({
|
|
18911
|
-
emoji: /* @__PURE__ */ string$1(),
|
|
18912
18911
|
name: /* @__PURE__ */ string$1(),
|
|
18913
|
-
|
|
18914
|
-
|
|
18912
|
+
emoji: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18913
|
+
organization_users: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
18914
|
+
workspaces: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
18915
18915
|
})
|
|
18916
18916
|
}),
|
|
18917
18917
|
execute: (input, { client }) => {
|
|
@@ -22512,7 +22512,6 @@ const generatedFocusOperations = [
|
|
|
22512
22512
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
22513
22513
|
name: /* @__PURE__ */ string$1(),
|
|
22514
22514
|
params: /* @__PURE__ */ unknown$1(),
|
|
22515
|
-
pinned: /* @__PURE__ */ boolean$1(),
|
|
22516
22515
|
type: /* @__PURE__ */ picklist$1([
|
|
22517
22516
|
"inbox",
|
|
22518
22517
|
"archive",
|
|
@@ -22531,7 +22530,8 @@ const generatedFocusOperations = [
|
|
|
22531
22530
|
"reports.time-off",
|
|
22532
22531
|
"reports.time-accounting"
|
|
22533
22532
|
]),
|
|
22534
|
-
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
22533
|
+
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
22534
|
+
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
22535
22535
|
}) }),
|
|
22536
22536
|
execute: (input, { client }) => {
|
|
22537
22537
|
const data = input;
|
|
@@ -30192,4 +30192,4 @@ Common commands:
|
|
|
30192
30192
|
//#endregion
|
|
30193
30193
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
30194
30194
|
|
|
30195
|
-
//# sourceMappingURL=program-
|
|
30195
|
+
//# sourceMappingURL=program-BoX5jdoM.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-BoX5jdoM.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.45",
|
|
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.242",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|