@togglhq/cli 1.5.60 → 1.5.62

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { n as CommanderError, t as createProgram } from "./program-D7Z9Wzq6.js";
2
+ import { n as CommanderError, t as createProgram } from "./program-BpTJ4d__.js";
3
3
  //#region src/cli.ts
4
4
  try {
5
5
  await createProgram({ enableUpdateNotification: true }).parseAsync(process.argv);
package/build/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-D7Z9Wzq6.js";
1
+ import { t as createProgram } from "./program-BpTJ4d__.js";
2
2
  export { createProgram };
@@ -8888,9 +8888,19 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
8888
8888
  private: /* @__PURE__ */ boolean(),
8889
8889
  source: /* @__PURE__ */ string(),
8890
8890
  status_id: /* @__PURE__ */ number(),
8891
+ sub_task_done_count: /* @__PURE__ */ number(),
8892
+ sub_task_total_count: /* @__PURE__ */ number(),
8891
8893
  tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
8892
8894
  tags: /* @__PURE__ */ array(TagLiteSchema),
8895
+ time_block_completed_count: /* @__PURE__ */ number(),
8896
+ time_block_scheduled_completed_count: /* @__PURE__ */ number(),
8897
+ time_block_scheduled_total_count: /* @__PURE__ */ number(),
8898
+ time_block_total_count: /* @__PURE__ */ number(),
8899
+ time_entry_total_count: /* @__PURE__ */ number(),
8893
8900
  toggl_user_id: /* @__PURE__ */ number(),
8901
+ total_blocked_time: /* @__PURE__ */ number(),
8902
+ total_scheduled_blocked_time: /* @__PURE__ */ number(),
8903
+ total_tracked_time: /* @__PURE__ */ number(),
8894
8904
  workspace_id: /* @__PURE__ */ number(),
8895
8905
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
8896
8906
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
@@ -8920,16 +8930,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
8920
8930
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
8921
8931
  status: /* @__PURE__ */ optional(StatusLiteSchema),
8922
8932
  status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
8923
- sub_task_done_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8924
- sub_task_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8925
- time_block_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8926
- time_block_scheduled_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8927
- time_block_scheduled_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8928
- time_block_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("TODO: Set as `required` after FE adjusts things on their end"))),
8929
- time_entry_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8930
- total_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8931
- total_scheduled_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8932
- total_tracked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8933
8933
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
8934
8934
  });
8935
8935
  const PaginatedTasksWithMetaAndTotalSchema = /* @__PURE__ */ object({
@@ -9213,6 +9213,7 @@ const PaginatedStatussSchema = /* @__PURE__ */ object({
9213
9213
  const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
9214
9214
  data: /* @__PURE__ */ array(/* @__PURE__ */ object({
9215
9215
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
9216
+ has_time_entry: /* @__PURE__ */ boolean(),
9216
9217
  id: /* @__PURE__ */ number(),
9217
9218
  start: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
9218
9219
  task_id: /* @__PURE__ */ number(),
@@ -9224,7 +9225,6 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
9224
9225
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9225
9226
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9226
9227
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9227
- has_time_entry: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9228
9228
  task: /* @__PURE__ */ optional(TaskSchema),
9229
9229
  timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
9230
9230
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
@@ -25978,4 +25978,4 @@ Common commands:
25978
25978
  //#endregion
25979
25979
  export { CommanderError as n, createProgram as t };
25980
25980
 
25981
- //# sourceMappingURL=program-D7Z9Wzq6.js.map
25981
+ //# sourceMappingURL=program-BpTJ4d__.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-D7Z9Wzq6.js";
1
+ import { t as createProgram } from "./program-BpTJ4d__.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.5.60",
3
+ "version": "1.5.62",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",