@togglhq/cli 1.13.211 → 1.13.213
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-DPMPawwS.js → program-HULB9owf.js} +14 -10
- 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-HULB9owf.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-HULB9owf.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -7482,6 +7482,7 @@ const ProjectSchema = /* @__PURE__ */ object({
|
|
|
7482
7482
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7483
7483
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7484
7484
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7485
|
+
has_other_open_periods: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7485
7486
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7486
7487
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
7487
7488
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7606,6 +7607,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7606
7607
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7607
7608
|
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7608
7609
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7610
|
+
has_other_open_periods: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7609
7611
|
invoicing: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ object({
|
|
7610
7612
|
agreement: /* @__PURE__ */ picklist(["hourly", "fixed_fee"]),
|
|
7611
7613
|
invoiced: /* @__PURE__ */ nullable(/* @__PURE__ */ array(InvoicedAmountSchema))
|
|
@@ -10155,7 +10157,7 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10155
10157
|
}
|
|
10156
10158
|
//#endregion
|
|
10157
10159
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10158
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, include_picker_parent_group_counts, include_picker_pinned_tasks, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, project_id, estimate_source, user_id, only_me, include_rates, include_rollover, include_invoicing, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10160
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, include_picker_parent_group_counts, include_picker_pinned_tasks, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, project_id, estimate_source, user_id, only_me, include_rates, include_rollover, include_invoicing, include_idle_recurring_templates, collapse_recurring, recurring_period_on, recurring_project_id, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10159
10161
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10160
10162
|
signal,
|
|
10161
10163
|
searchParams: buildSearchParams$2({
|
|
@@ -10195,6 +10197,8 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { m
|
|
|
10195
10197
|
include_invoicing,
|
|
10196
10198
|
include_idle_recurring_templates,
|
|
10197
10199
|
collapse_recurring,
|
|
10200
|
+
recurring_period_on,
|
|
10201
|
+
recurring_project_id,
|
|
10198
10202
|
include_drafts,
|
|
10199
10203
|
include_locked_private,
|
|
10200
10204
|
start_date,
|
|
@@ -11126,7 +11130,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
11126
11130
|
]))
|
|
11127
11131
|
});
|
|
11128
11132
|
//#endregion
|
|
11129
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11133
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
11130
11134
|
async function getInvitations(httpClient, signal) {
|
|
11131
11135
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
11132
11136
|
}
|
|
@@ -11143,7 +11147,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
11143
11147
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
11144
11148
|
}
|
|
11145
11149
|
//#endregion
|
|
11146
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11150
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
11147
11151
|
function buildSearchParams(params, flattenArrays = false) {
|
|
11148
11152
|
const searchParams = new URLSearchParams();
|
|
11149
11153
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -11155,7 +11159,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
11155
11159
|
return searchParams;
|
|
11156
11160
|
}
|
|
11157
11161
|
//#endregion
|
|
11158
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11162
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
11159
11163
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
11160
11164
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
11161
11165
|
}
|
|
@@ -11170,7 +11174,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11170
11174
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11171
11175
|
}
|
|
11172
11176
|
//#endregion
|
|
11173
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11177
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
11174
11178
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11175
11179
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11176
11180
|
}
|
|
@@ -11190,7 +11194,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11190
11194
|
});
|
|
11191
11195
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11192
11196
|
//#endregion
|
|
11193
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11197
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
11194
11198
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11195
11199
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11196
11200
|
signal,
|
|
@@ -11201,12 +11205,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11201
11205
|
})).json();
|
|
11202
11206
|
}
|
|
11203
11207
|
//#endregion
|
|
11204
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11208
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
11205
11209
|
async function getStatus(httpClient, signal) {
|
|
11206
11210
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11207
11211
|
}
|
|
11208
11212
|
//#endregion
|
|
11209
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11213
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
11210
11214
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11211
11215
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11212
11216
|
signal,
|
|
@@ -11234,7 +11238,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11234
11238
|
return response.json();
|
|
11235
11239
|
}
|
|
11236
11240
|
//#endregion
|
|
11237
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11241
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11238
11242
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11239
11243
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11240
11244
|
}
|
|
@@ -33799,4 +33803,4 @@ Common commands:
|
|
|
33799
33803
|
//#endregion
|
|
33800
33804
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
33801
33805
|
|
|
33802
|
-
//# sourceMappingURL=program-
|
|
33806
|
+
//# sourceMappingURL=program-HULB9owf.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-HULB9owf.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.213",
|
|
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.335",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|