@togglhq/cli 1.11.199 → 1.11.201

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 { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-BRq-um7E.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-DZZp43xO.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-BRq-um7E.js";
1
+ import { t as createProgram } from "./program-DZZp43xO.js";
2
2
  export { createProgram };
@@ -7503,6 +7503,7 @@ const ProjectPayloadSchema = /* @__PURE__ */ object({
7503
7503
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7504
7504
  draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7505
7505
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7506
+ estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["manual", "tasks"]))),
7506
7507
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7507
7508
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeePayloadSchema),
7508
7509
  is_template: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7518,6 +7519,7 @@ const ProjectPayloadSchema = /* @__PURE__ */ object({
7518
7519
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7519
7520
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number())))
7520
7521
  });
7522
+ const ProjectEstimateSourceSchema = /* @__PURE__ */ picklist(["manual", "tasks"]);
7521
7523
  const ProjectFixedFeeSchema = /* @__PURE__ */ object({
7522
7524
  amount: /* @__PURE__ */ number(),
7523
7525
  currency: /* @__PURE__ */ string()
@@ -7529,6 +7531,7 @@ const ProjectSchema = /* @__PURE__ */ object({
7529
7531
  completion_mode: /* @__PURE__ */ picklist(["manual", "automatic"]),
7530
7532
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
7531
7533
  draft: /* @__PURE__ */ boolean(),
7534
+ estimate_source: ProjectEstimateSourceSchema,
7532
7535
  id: /* @__PURE__ */ number(),
7533
7536
  is_template: /* @__PURE__ */ boolean(),
7534
7537
  name: /* @__PURE__ */ string(),
@@ -7634,6 +7637,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
7634
7637
  completion_mode: /* @__PURE__ */ picklist(["manual", "automatic"]),
7635
7638
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
7636
7639
  draft: /* @__PURE__ */ boolean(),
7640
+ estimate_source: ProjectEstimateSourceSchema,
7637
7641
  id: /* @__PURE__ */ number(),
7638
7642
  is_template: /* @__PURE__ */ boolean(),
7639
7643
  name: /* @__PURE__ */ string(),
@@ -7836,7 +7840,7 @@ const ProjectBulkUserEntrySchema = /* @__PURE__ */ object({
7836
7840
  user_id: /* @__PURE__ */ number()
7837
7841
  });
7838
7842
  const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7839
- auto_compute_estimates: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7843
+ auto_compute_estimates: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7840
7844
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7841
7845
  client_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7842
7846
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
@@ -7845,6 +7849,7 @@ const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7845
7849
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7846
7850
  draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7847
7851
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7852
+ estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["manual", "tasks"])),
7848
7853
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7849
7854
  fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
7850
7855
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -7862,7 +7867,7 @@ const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7862
7867
  });
7863
7868
  const ProjectPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7864
7869
  id: /* @__PURE__ */ number(),
7865
- auto_compute_estimates: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7870
+ auto_compute_estimates: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7866
7871
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7867
7872
  client_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7868
7873
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
@@ -7871,6 +7876,7 @@ const ProjectPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7871
7876
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7872
7877
  draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7873
7878
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7879
+ estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["manual", "tasks"])),
7874
7880
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7875
7881
  fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
7876
7882
  groups: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(ProjectBulkGroupEntrySchema))),
@@ -18552,6 +18558,7 @@ const generatedFocusOperations = [
18552
18558
  auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18553
18559
  completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
18554
18560
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18561
+ estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "tasks"])),
18555
18562
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18556
18563
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18557
18564
  rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -18594,8 +18601,8 @@ const generatedFocusOperations = [
18594
18601
  inputSchema: /* @__PURE__ */ looseObject({
18595
18602
  date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
18596
18603
  payload: /* @__PURE__ */ looseObject({
18597
- auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18598
18604
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18605
+ estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "tasks"])),
18599
18606
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
18600
18607
  }),
18601
18608
  project_id: /* @__PURE__ */ number$2()
@@ -18631,6 +18638,7 @@ const generatedFocusOperations = [
18631
18638
  inputSchema: /* @__PURE__ */ looseObject({
18632
18639
  payload: /* @__PURE__ */ looseObject({
18633
18640
  auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18641
+ estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "tasks"])),
18634
18642
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18635
18643
  fixed_fee: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
18636
18644
  amount: /* @__PURE__ */ number$2(),
@@ -29193,4 +29201,4 @@ Common commands:
29193
29201
  //#endregion
29194
29202
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
29195
29203
 
29196
- //# sourceMappingURL=program-BRq-um7E.js.map
29204
+ //# sourceMappingURL=program-DZZp43xO.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-BRq-um7E.js";
1
+ import { t as createProgram } from "./program-DZZp43xO.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.11.199",
3
+ "version": "1.11.201",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",