@togglhq/cli 1.5.35 → 1.5.36

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-DWSbNAZL.js";
2
+ import { n as CommanderError, t as createProgram } from "./program-CvXt_j6s.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-DWSbNAZL.js";
1
+ import { t as createProgram } from "./program-CvXt_j6s.js";
2
2
  export { createProgram };
@@ -8861,19 +8861,9 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
8861
8861
  private: /* @__PURE__ */ boolean(),
8862
8862
  source: /* @__PURE__ */ string(),
8863
8863
  status_id: /* @__PURE__ */ number(),
8864
- sub_task_done_count: /* @__PURE__ */ number(),
8865
- sub_task_total_count: /* @__PURE__ */ number(),
8866
8864
  tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
8867
8865
  tags: /* @__PURE__ */ array(TagLiteSchema),
8868
- time_block_completed_count: /* @__PURE__ */ number(),
8869
- time_block_scheduled_completed_count: /* @__PURE__ */ number(),
8870
- time_block_scheduled_total_count: /* @__PURE__ */ number(),
8871
- time_block_total_count: /* @__PURE__ */ number(),
8872
- time_entry_total_count: /* @__PURE__ */ number(),
8873
8866
  toggl_user_id: /* @__PURE__ */ number(),
8874
- total_blocked_time: /* @__PURE__ */ number(),
8875
- total_scheduled_blocked_time: /* @__PURE__ */ number(),
8876
- total_tracked_time: /* @__PURE__ */ number(),
8877
8867
  workspace_id: /* @__PURE__ */ number(),
8878
8868
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
8879
8869
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
@@ -8903,6 +8893,16 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
8903
8893
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
8904
8894
  status: /* @__PURE__ */ optional(StatusLiteSchema),
8905
8895
  status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
8896
+ sub_task_done_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8897
+ sub_task_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8898
+ time_block_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8899
+ time_block_scheduled_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8900
+ time_block_scheduled_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8901
+ time_block_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("TODO: Set as `required` after FE adjusts things on their end"))),
8902
+ time_entry_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8903
+ total_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8904
+ total_scheduled_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8905
+ total_tracked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8906
8906
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
8907
8907
  });
8908
8908
  const PaginatedTasksWithMetaAndTotalSchema = /* @__PURE__ */ object({
@@ -9186,7 +9186,6 @@ const PaginatedStatussSchema = /* @__PURE__ */ object({
9186
9186
  const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
9187
9187
  data: /* @__PURE__ */ array(/* @__PURE__ */ object({
9188
9188
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
9189
- has_time_entry: /* @__PURE__ */ boolean(),
9190
9189
  id: /* @__PURE__ */ number(),
9191
9190
  start: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
9192
9191
  task_id: /* @__PURE__ */ number(),
@@ -9198,6 +9197,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
9198
9197
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9199
9198
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9200
9199
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9200
+ has_time_entry: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9201
9201
  task: /* @__PURE__ */ optional(TaskSchema),
9202
9202
  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."))),
9203
9203
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
@@ -25758,4 +25758,4 @@ Common commands:
25758
25758
  //#endregion
25759
25759
  export { CommanderError as n, createProgram as t };
25760
25760
 
25761
- //# sourceMappingURL=program-DWSbNAZL.js.map
25761
+ //# sourceMappingURL=program-CvXt_j6s.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-DWSbNAZL.js";
1
+ import { t as createProgram } from "./program-CvXt_j6s.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.5.35",
3
+ "version": "1.5.36",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",