@togglhq/cli 1.13.221 → 1.13.222
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-BtNwmxRz.js → program-CksHyD6g.js} +14 -11
- 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-CksHyD6g.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-CksHyD6g.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -9994,7 +9994,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9994
9994
|
})
|
|
9995
9995
|
})).json();
|
|
9996
9996
|
}
|
|
9997
|
-
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) {
|
|
9997
|
+
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_role_in_products, has_designations } = {}, signal) {
|
|
9998
9998
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9999
9999
|
signal,
|
|
10000
10000
|
searchParams: buildSearchParams$2({
|
|
@@ -10020,6 +10020,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
10020
10020
|
include_calendar_integration,
|
|
10021
10021
|
include_designations,
|
|
10022
10022
|
include_shared_report_receiver,
|
|
10023
|
+
has_role_in_products,
|
|
10023
10024
|
has_designations
|
|
10024
10025
|
}, true)
|
|
10025
10026
|
});
|
|
@@ -11130,7 +11131,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
11130
11131
|
]))
|
|
11131
11132
|
});
|
|
11132
11133
|
//#endregion
|
|
11133
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11134
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
11134
11135
|
async function getInvitations(httpClient, signal) {
|
|
11135
11136
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
11136
11137
|
}
|
|
@@ -11147,7 +11148,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
11147
11148
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
11148
11149
|
}
|
|
11149
11150
|
//#endregion
|
|
11150
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11151
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
11151
11152
|
function buildSearchParams(params, flattenArrays = false) {
|
|
11152
11153
|
const searchParams = new URLSearchParams();
|
|
11153
11154
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -11159,7 +11160,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
11159
11160
|
return searchParams;
|
|
11160
11161
|
}
|
|
11161
11162
|
//#endregion
|
|
11162
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11163
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
11163
11164
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
11164
11165
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
11165
11166
|
}
|
|
@@ -11174,7 +11175,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11174
11175
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11175
11176
|
}
|
|
11176
11177
|
//#endregion
|
|
11177
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11178
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
11178
11179
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11179
11180
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11180
11181
|
}
|
|
@@ -11194,7 +11195,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11194
11195
|
});
|
|
11195
11196
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11196
11197
|
//#endregion
|
|
11197
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11198
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
11198
11199
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11199
11200
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11200
11201
|
signal,
|
|
@@ -11205,12 +11206,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11205
11206
|
})).json();
|
|
11206
11207
|
}
|
|
11207
11208
|
//#endregion
|
|
11208
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11209
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
11209
11210
|
async function getStatus(httpClient, signal) {
|
|
11210
11211
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11211
11212
|
}
|
|
11212
11213
|
//#endregion
|
|
11213
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11214
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
11214
11215
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11215
11216
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11216
11217
|
signal,
|
|
@@ -11238,7 +11239,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11238
11239
|
return response.json();
|
|
11239
11240
|
}
|
|
11240
11241
|
//#endregion
|
|
11241
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11242
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11242
11243
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11243
11244
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11244
11245
|
}
|
|
@@ -16013,13 +16014,14 @@ async function deleteACustomReport(httpClient, workspace_id, id, signal) {
|
|
|
16013
16014
|
}
|
|
16014
16015
|
//#endregion
|
|
16015
16016
|
//#region ../focus-queries/dist/designations/requests.ts
|
|
16016
|
-
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, include_members, has_members, page, per_page, order_by } = {}, signal) {
|
|
16017
|
+
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, include_members, has_role_in_products, has_members, page, per_page, order_by } = {}, signal) {
|
|
16017
16018
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
16018
16019
|
signal,
|
|
16019
16020
|
searchParams: buildSearchParams$2({
|
|
16020
16021
|
designation_id,
|
|
16021
16022
|
name,
|
|
16022
16023
|
include_members,
|
|
16024
|
+
has_role_in_products,
|
|
16023
16025
|
has_members,
|
|
16024
16026
|
page,
|
|
16025
16027
|
per_page,
|
|
@@ -20365,6 +20367,7 @@ const generatedFocusOperations = [
|
|
|
20365
20367
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20366
20368
|
designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20367
20369
|
has_members: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20370
|
+
has_role_in_products: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20368
20371
|
include_members: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20369
20372
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20370
20373
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -33803,4 +33806,4 @@ Common commands:
|
|
|
33803
33806
|
//#endregion
|
|
33804
33807
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
33805
33808
|
|
|
33806
|
-
//# sourceMappingURL=program-
|
|
33809
|
+
//# sourceMappingURL=program-CksHyD6g.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-CksHyD6g.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.222",
|
|
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.347",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|