@togglhq/cli 1.5.30 → 1.5.32

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-D1SqAxB5.js";
2
+ import { n as CommanderError, t as createProgram } from "./program-DY-DY0eI.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-D1SqAxB5.js";
1
+ import { t as createProgram } from "./program-DY-DY0eI.js";
2
2
  export { createProgram };
@@ -8796,6 +8796,7 @@ const TagLiteSchema = /* @__PURE__ */ object({
8796
8796
  });
8797
8797
  const TaskSchema = /* @__PURE__ */ object({
8798
8798
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
8799
+ estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
8799
8800
  id: /* @__PURE__ */ number(),
8800
8801
  is_template: /* @__PURE__ */ boolean(),
8801
8802
  name: /* @__PURE__ */ string(),
@@ -8845,6 +8846,7 @@ const TaskSchema = /* @__PURE__ */ object({
8845
8846
  });
8846
8847
  const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
8847
8848
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
8849
+ estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
8848
8850
  id: /* @__PURE__ */ number(),
8849
8851
  is_template: /* @__PURE__ */ boolean(),
8850
8852
  name: /* @__PURE__ */ string(),
@@ -9388,6 +9390,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
9388
9390
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown())),
9389
9391
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9390
9392
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9393
+ estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
9391
9394
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9392
9395
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9393
9396
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9426,6 +9429,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
9426
9429
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
9427
9430
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9428
9431
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
9432
+ estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
9429
9433
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9430
9434
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9431
9435
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -9459,6 +9463,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
9459
9463
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
9460
9464
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9461
9465
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
9466
+ estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
9462
9467
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9463
9468
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9464
9469
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -14558,7 +14563,7 @@ async function upsertTaskConstraints(httpClient, workspace_id, data, signal) {
14558
14563
  }
14559
14564
  //#endregion
14560
14565
  //#region ../focus-queries/dist/task-groups/requests.ts
14561
- async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, tasks_per_group, include_group_totals, include_unassigned, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
14566
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
14562
14567
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
14563
14568
  signal,
14564
14569
  searchParams: buildSearchParams$3({
@@ -14584,9 +14589,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
14584
14589
  include_ghosts,
14585
14590
  include_assignees,
14586
14591
  min_days,
14587
- tasks_per_group,
14588
- include_group_totals,
14589
- include_unassigned,
14590
14592
  include_drafts,
14591
14593
  cf_filter,
14592
14594
  page,
@@ -15391,6 +15393,7 @@ const generatedFocusOperations = [
15391
15393
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15392
15394
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
15393
15395
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
15396
+ estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
15394
15397
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15395
15398
  integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15396
15399
  integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -15418,6 +15421,7 @@ const generatedFocusOperations = [
15418
15421
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15419
15422
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
15420
15423
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
15424
+ estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
15421
15425
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15422
15426
  integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15423
15427
  integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -21050,8 +21054,6 @@ const generatedFocusOperations = [
21050
21054
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21051
21055
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21052
21056
  include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21053
- include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21054
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21055
21057
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21056
21058
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21057
21059
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21066,7 +21068,6 @@ const generatedFocusOperations = [
21066
21068
  start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21067
21069
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21068
21070
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21069
- tasks_per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21070
21071
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21071
21072
  }),
21072
21073
  execute: (input, { client }) => {
@@ -21287,6 +21288,7 @@ const generatedFocusOperations = [
21287
21288
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21288
21289
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
21289
21290
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
21291
+ estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
21290
21292
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21291
21293
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
21292
21294
  outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -25751,4 +25753,4 @@ Common commands:
25751
25753
  //#endregion
25752
25754
  export { CommanderError as n, createProgram as t };
25753
25755
 
25754
- //# sourceMappingURL=program-D1SqAxB5.js.map
25756
+ //# sourceMappingURL=program-DY-DY0eI.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-D1SqAxB5.js";
1
+ import { t as createProgram } from "./program-DY-DY0eI.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.5.30",
3
+ "version": "1.5.32",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",