@togglhq/cli 1.13.37 → 1.13.39

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-C2e4goEY.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-Ck6T2Lm4.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-C2e4goEY.js";
1
+ import { t as createProgram } from "./program-Ck6T2Lm4.js";
2
2
  export { createProgram };
@@ -7155,7 +7155,11 @@ const CustomFieldValueSchema = /* @__PURE__ */ object({
7155
7155
  })),
7156
7156
  value: /* @__PURE__ */ unknown()
7157
7157
  });
7158
- const ProjectEstimateSourceSchema = /* @__PURE__ */ picklist(["manual", "tasks"]);
7158
+ const ProjectEstimateSourceSchema = /* @__PURE__ */ picklist([
7159
+ "manual",
7160
+ "tasks",
7161
+ "designation"
7162
+ ]);
7159
7163
  const EffectiveProjectRatesSummarySchema = /* @__PURE__ */ object({
7160
7164
  billable: /* @__PURE__ */ boolean(),
7161
7165
  currency: /* @__PURE__ */ string(),
@@ -7411,7 +7415,11 @@ const ProjectPayloadSchema = /* @__PURE__ */ object({
7411
7415
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7412
7416
  draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7413
7417
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7414
- estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["manual", "tasks"]))),
7418
+ estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist([
7419
+ "manual",
7420
+ "tasks",
7421
+ "designation"
7422
+ ]))),
7415
7423
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7416
7424
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeePayloadSchema),
7417
7425
  is_template: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7544,6 +7552,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
7544
7552
  billable: /* @__PURE__ */ boolean(),
7545
7553
  completion_mode: /* @__PURE__ */ picklist(["manual", "automatic"]),
7546
7554
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
7555
+ designation_estimated_mins: /* @__PURE__ */ number(),
7547
7556
  draft: /* @__PURE__ */ boolean(),
7548
7557
  estimate_source: ProjectEstimateSourceSchema,
7549
7558
  id: /* @__PURE__ */ number(),
@@ -7826,7 +7835,11 @@ const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7826
7835
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7827
7836
  draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7828
7837
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7829
- estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["manual", "tasks"])),
7838
+ estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist([
7839
+ "manual",
7840
+ "tasks",
7841
+ "designation"
7842
+ ])),
7830
7843
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7831
7844
  fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
7832
7845
  name: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ minLength(1))),
@@ -7853,7 +7866,11 @@ const ProjectPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7853
7866
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7854
7867
  draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7855
7868
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7856
- estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["manual", "tasks"])),
7869
+ estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist([
7870
+ "manual",
7871
+ "tasks",
7872
+ "designation"
7873
+ ])),
7857
7874
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7858
7875
  fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
7859
7876
  groups: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(ProjectBulkGroupEntrySchema))),
@@ -19339,7 +19356,11 @@ const generatedFocusOperations = [
19339
19356
  auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19340
19357
  completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
19341
19358
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
19342
- estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "tasks"])),
19359
+ estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
19360
+ "manual",
19361
+ "tasks",
19362
+ "designation"
19363
+ ])),
19343
19364
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
19344
19365
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19345
19366
  rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -19383,7 +19404,11 @@ const generatedFocusOperations = [
19383
19404
  date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
19384
19405
  payload: /* @__PURE__ */ looseObject({
19385
19406
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19386
- estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "tasks"])),
19407
+ estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
19408
+ "manual",
19409
+ "tasks",
19410
+ "designation"
19411
+ ])),
19387
19412
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
19388
19413
  }),
19389
19414
  project_id: /* @__PURE__ */ number$2()
@@ -19419,7 +19444,11 @@ const generatedFocusOperations = [
19419
19444
  inputSchema: /* @__PURE__ */ looseObject({
19420
19445
  payload: /* @__PURE__ */ looseObject({
19421
19446
  auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19422
- estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "tasks"])),
19447
+ estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
19448
+ "manual",
19449
+ "tasks",
19450
+ "designation"
19451
+ ])),
19423
19452
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
19424
19453
  fixed_fee: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
19425
19454
  amount: /* @__PURE__ */ number$2(),
@@ -30161,4 +30190,4 @@ Common commands:
30161
30190
  //#endregion
30162
30191
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
30163
30192
 
30164
- //# sourceMappingURL=program-C2e4goEY.js.map
30193
+ //# sourceMappingURL=program-Ck6T2Lm4.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-C2e4goEY.js";
1
+ import { t as createProgram } from "./program-Ck6T2Lm4.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.37",
3
+ "version": "1.13.39",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",