@togglhq/cli 1.13.180 → 1.13.182
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-B99mPwHE.js → program-oSNYpKl6.js} +12 -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-oSNYpKl6.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-oSNYpKl6.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -7797,7 +7797,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7797
7797
|
name: /* @__PURE__ */ string(),
|
|
7798
7798
|
organization_id: /* @__PURE__ */ number(),
|
|
7799
7799
|
owner: /* @__PURE__ */ boolean(),
|
|
7800
|
-
rate: /* @__PURE__ */ object({
|
|
7800
|
+
rate: /* @__PURE__ */ pipe(/* @__PURE__ */ object({
|
|
7801
7801
|
currency: /* @__PURE__ */ string(),
|
|
7802
7802
|
hourly_rate: /* @__PURE__ */ number(),
|
|
7803
7803
|
start_at: /* @__PURE__ */ string(),
|
|
@@ -7805,7 +7805,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7805
7805
|
end_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7806
7806
|
workspace_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7807
7807
|
workspace_user_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
7808
|
-
}),
|
|
7808
|
+
}), /* @__PURE__ */ description("Deprecated: always the empty rate; this endpoint no longer returns rates. Read member rates from GET /organizations/{organization_id}/workspaces/{workspace_id}/billable-rates/users/rates.")),
|
|
7809
7809
|
tags: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7810
7810
|
color: /* @__PURE__ */ string(),
|
|
7811
7811
|
id: /* @__PURE__ */ number(),
|
|
@@ -9984,7 +9984,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9984
9984
|
})
|
|
9985
9985
|
})).json();
|
|
9986
9986
|
}
|
|
9987
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours,
|
|
9987
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration, include_designations, include_shared_report_receiver, has_designations } = {}, signal) {
|
|
9988
9988
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9989
9989
|
signal,
|
|
9990
9990
|
searchParams: buildSearchParams$2({
|
|
@@ -10002,7 +10002,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
10002
10002
|
per_page,
|
|
10003
10003
|
tag_ids,
|
|
10004
10004
|
include_working_hours,
|
|
10005
|
-
include_rates,
|
|
10006
10005
|
pinned_ids,
|
|
10007
10006
|
has_group,
|
|
10008
10007
|
track_without_focus,
|
|
@@ -11117,7 +11116,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
11117
11116
|
]))
|
|
11118
11117
|
});
|
|
11119
11118
|
//#endregion
|
|
11120
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11119
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
11121
11120
|
async function getInvitations(httpClient, signal) {
|
|
11122
11121
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
11123
11122
|
}
|
|
@@ -11134,7 +11133,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
11134
11133
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
11135
11134
|
}
|
|
11136
11135
|
//#endregion
|
|
11137
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11136
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
11138
11137
|
function buildSearchParams(params, flattenArrays = false) {
|
|
11139
11138
|
const searchParams = new URLSearchParams();
|
|
11140
11139
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -11146,7 +11145,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
11146
11145
|
return searchParams;
|
|
11147
11146
|
}
|
|
11148
11147
|
//#endregion
|
|
11149
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11148
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
11150
11149
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
11151
11150
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
11152
11151
|
}
|
|
@@ -11161,7 +11160,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11161
11160
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11162
11161
|
}
|
|
11163
11162
|
//#endregion
|
|
11164
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11163
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
11165
11164
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11166
11165
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11167
11166
|
}
|
|
@@ -11181,7 +11180,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11181
11180
|
});
|
|
11182
11181
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11183
11182
|
//#endregion
|
|
11184
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11183
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
11185
11184
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11186
11185
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11187
11186
|
signal,
|
|
@@ -11192,12 +11191,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11192
11191
|
})).json();
|
|
11193
11192
|
}
|
|
11194
11193
|
//#endregion
|
|
11195
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11194
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
11196
11195
|
async function getStatus(httpClient, signal) {
|
|
11197
11196
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11198
11197
|
}
|
|
11199
11198
|
//#endregion
|
|
11200
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11199
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
11201
11200
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11202
11201
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11203
11202
|
signal,
|
|
@@ -11225,7 +11224,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11225
11224
|
return response.json();
|
|
11226
11225
|
}
|
|
11227
11226
|
//#endregion
|
|
11228
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11227
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11229
11228
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11230
11229
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11231
11230
|
}
|
|
@@ -32602,4 +32601,4 @@ Common commands:
|
|
|
32602
32601
|
//#endregion
|
|
32603
32602
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
32604
32603
|
|
|
32605
|
-
//# sourceMappingURL=program-
|
|
32604
|
+
//# sourceMappingURL=program-oSNYpKl6.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-oSNYpKl6.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.182",
|
|
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.316",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|