@togglhq/cli 1.13.234 → 1.13.236
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-bTXNSlbG.js → program-C9UaH9Wv.js} +29 -13
- 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-C9UaH9Wv.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-C9UaH9Wv.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -11131,7 +11131,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
11131
11131
|
]))
|
|
11132
11132
|
});
|
|
11133
11133
|
//#endregion
|
|
11134
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11134
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
11135
11135
|
async function getInvitations(httpClient, signal) {
|
|
11136
11136
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
11137
11137
|
}
|
|
@@ -11148,7 +11148,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
11148
11148
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
11149
11149
|
}
|
|
11150
11150
|
//#endregion
|
|
11151
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11151
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
11152
11152
|
function buildSearchParams(params, flattenArrays = false) {
|
|
11153
11153
|
const searchParams = new URLSearchParams();
|
|
11154
11154
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -11160,7 +11160,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
11160
11160
|
return searchParams;
|
|
11161
11161
|
}
|
|
11162
11162
|
//#endregion
|
|
11163
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11163
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
11164
11164
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
11165
11165
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
11166
11166
|
}
|
|
@@ -11175,7 +11175,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11175
11175
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11176
11176
|
}
|
|
11177
11177
|
//#endregion
|
|
11178
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11178
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
11179
11179
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11180
11180
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11181
11181
|
}
|
|
@@ -11195,7 +11195,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11195
11195
|
});
|
|
11196
11196
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11197
11197
|
//#endregion
|
|
11198
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11198
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
11199
11199
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11200
11200
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11201
11201
|
signal,
|
|
@@ -11206,12 +11206,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11206
11206
|
})).json();
|
|
11207
11207
|
}
|
|
11208
11208
|
//#endregion
|
|
11209
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11209
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
11210
11210
|
async function getStatus(httpClient, signal) {
|
|
11211
11211
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11212
11212
|
}
|
|
11213
11213
|
//#endregion
|
|
11214
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11214
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
11215
11215
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11216
11216
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11217
11217
|
signal,
|
|
@@ -11239,7 +11239,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11239
11239
|
return response.json();
|
|
11240
11240
|
}
|
|
11241
11241
|
//#endregion
|
|
11242
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11242
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11243
11243
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11244
11244
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11245
11245
|
}
|
|
@@ -19907,19 +19907,26 @@ const generatedFocusOperations = [
|
|
|
19907
19907
|
"amount",
|
|
19908
19908
|
"labor_cost",
|
|
19909
19909
|
"profit",
|
|
19910
|
-
"billable_percentage"
|
|
19910
|
+
"billable_percentage",
|
|
19911
|
+
"non_billable_percentage"
|
|
19911
19912
|
])
|
|
19912
19913
|
})),
|
|
19913
19914
|
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ picklist$1([
|
|
19914
19915
|
"project_id",
|
|
19915
19916
|
"client_id",
|
|
19916
19917
|
"user_account_id",
|
|
19918
|
+
"user_group_id",
|
|
19917
19919
|
"task_id",
|
|
19918
19920
|
"tag_id",
|
|
19921
|
+
"description",
|
|
19919
19922
|
"time_entry_billable",
|
|
19923
|
+
"currency",
|
|
19920
19924
|
"start_date",
|
|
19925
|
+
"weekday",
|
|
19921
19926
|
"year_week",
|
|
19922
|
-
"year_month"
|
|
19927
|
+
"year_month",
|
|
19928
|
+
"year_quarter",
|
|
19929
|
+
"year"
|
|
19923
19930
|
]) }))
|
|
19924
19931
|
}),
|
|
19925
19932
|
type: /* @__PURE__ */ picklist$1([
|
|
@@ -19932,6 +19939,7 @@ const generatedFocusOperations = [
|
|
|
19932
19939
|
"table",
|
|
19933
19940
|
"pivot_table"
|
|
19934
19941
|
]),
|
|
19942
|
+
columns: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
19935
19943
|
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
19936
19944
|
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
19937
19945
|
})),
|
|
@@ -20066,19 +20074,26 @@ const generatedFocusOperations = [
|
|
|
20066
20074
|
"amount",
|
|
20067
20075
|
"labor_cost",
|
|
20068
20076
|
"profit",
|
|
20069
|
-
"billable_percentage"
|
|
20077
|
+
"billable_percentage",
|
|
20078
|
+
"non_billable_percentage"
|
|
20070
20079
|
])
|
|
20071
20080
|
})),
|
|
20072
20081
|
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ picklist$1([
|
|
20073
20082
|
"project_id",
|
|
20074
20083
|
"client_id",
|
|
20075
20084
|
"user_account_id",
|
|
20085
|
+
"user_group_id",
|
|
20076
20086
|
"task_id",
|
|
20077
20087
|
"tag_id",
|
|
20088
|
+
"description",
|
|
20078
20089
|
"time_entry_billable",
|
|
20090
|
+
"currency",
|
|
20079
20091
|
"start_date",
|
|
20092
|
+
"weekday",
|
|
20080
20093
|
"year_week",
|
|
20081
|
-
"year_month"
|
|
20094
|
+
"year_month",
|
|
20095
|
+
"year_quarter",
|
|
20096
|
+
"year"
|
|
20082
20097
|
]) }))
|
|
20083
20098
|
}),
|
|
20084
20099
|
type: /* @__PURE__ */ picklist$1([
|
|
@@ -20091,6 +20106,7 @@ const generatedFocusOperations = [
|
|
|
20091
20106
|
"table",
|
|
20092
20107
|
"pivot_table"
|
|
20093
20108
|
]),
|
|
20109
|
+
columns: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
20094
20110
|
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
20095
20111
|
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20096
20112
|
})),
|
|
@@ -33929,4 +33945,4 @@ Common commands:
|
|
|
33929
33945
|
//#endregion
|
|
33930
33946
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
33931
33947
|
|
|
33932
|
-
//# sourceMappingURL=program-
|
|
33948
|
+
//# sourceMappingURL=program-C9UaH9Wv.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-C9UaH9Wv.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.236",
|
|
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.348",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|