@togglhq/cli 1.13.297 → 1.13.298

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-DzDYk-aB.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-DPYDXpYv.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-DzDYk-aB.js";
1
+ import { t as createProgram } from "./program-DPYDXpYv.js";
2
2
  export { createProgram };
@@ -7409,6 +7409,22 @@ const AlertRuleSchema = /* @__PURE__ */ object({
7409
7409
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7410
7410
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
7411
7411
  });
7412
+ const DtoAggregationFilterRequestSchema = /* @__PURE__ */ object({
7413
+ aggregation: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ object({
7414
+ function: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("One of `sum`, `avg`, `min`, `max`, `count`, `array` or `array_ordered`.")),
7415
+ property: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Property name, e.g. `user_name` or `project_custom_field:42`; see the endpoint description for every accepted name."))
7416
+ }), /* @__PURE__ */ description("Aggregation whose result is filtered, as in a HAVING clause."))),
7417
+ conditions: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema), /* @__PURE__ */ description("Nested aggregation filters, combined by an `and` / `or` operator."))),
7418
+ operator: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Operator such as `>`, `<=` or `is between`, or `and` / `or` to combine `conditions`."))),
7419
+ property: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The aggregation written as `function(property)`, e.g. `sum(duration)`; send it or `aggregation`, not both."))),
7420
+ value: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ unknown(), /* @__PURE__ */ description("Value compared against the aggregated result.")))
7421
+ });
7422
+ const DtoFilterRequestSchema = /* @__PURE__ */ object({
7423
+ conditions: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema))),
7424
+ operator: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Operator such as `=`, `in` or `is between`, or `and` / `or` to combine `conditions`."))),
7425
+ property: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Property name, e.g. `user_name` or `project_custom_field:42`; see the endpoint description for every accepted name."))),
7426
+ value: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ unknown(), /* @__PURE__ */ description("Value compared against; an array for `in`, `contains one of` and the between operators.")))
7427
+ });
7412
7428
  const ClientPayloadSchema = /* @__PURE__ */ object({
7413
7429
  name: /* @__PURE__ */ string(),
7414
7430
  address: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ string()), /* @__PURE__ */ description("Omit to keep the stored value on update; send null or a blank string to clear it."))),
@@ -7548,23 +7564,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7548
7564
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7549
7565
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7550
7566
  });
7551
- const DtoAggregationFilterRequestSchema = /* @__PURE__ */ object({
7552
- aggregation: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ object({
7553
- function: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("One of `sum`, `avg`, `min`, `max`, `count`, `array` or `array_ordered`.")),
7554
- property: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Property name, e.g. `user_name` or `project_custom_field:42`; see the endpoint description for every accepted name."))
7555
- }), /* @__PURE__ */ description("Aggregation whose result is filtered, as in a HAVING clause."))),
7556
- conditions: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema), /* @__PURE__ */ description("Nested aggregation filters, combined by an `and` / `or` operator."))),
7557
- operator: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Operator such as `>`, `<=` or `is between`, or `and` / `or` to combine `conditions`."))),
7558
- property: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The aggregation written as `function(property)`, e.g. `sum(duration)`; send it or `aggregation`, not both."))),
7559
- value: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ unknown(), /* @__PURE__ */ description("Value compared against the aggregated result.")))
7560
- });
7561
7567
  const DtoAggregationsFilterRequestSchema = /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoAggregationFilterRequestSchema));
7562
- const DtoFilterRequestSchema = /* @__PURE__ */ object({
7563
- conditions: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema))),
7564
- operator: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Operator such as `=`, `in` or `is between`, or `and` / `or` to combine `conditions`."))),
7565
- property: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Property name, e.g. `user_name` or `project_custom_field:42`; see the endpoint description for every accepted name."))),
7566
- value: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ unknown(), /* @__PURE__ */ description("Value compared against; an array for `in`, `contains one of` and the between operators.")))
7567
- });
7568
7568
  const InvoicedAmountSchema = /* @__PURE__ */ object({
7569
7569
  amount_minor: /* @__PURE__ */ number(),
7570
7570
  currency: /* @__PURE__ */ string()
@@ -34517,4 +34517,4 @@ Common commands:
34517
34517
  //#endregion
34518
34518
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
34519
34519
 
34520
- //# sourceMappingURL=program-DzDYk-aB.js.map
34520
+ //# sourceMappingURL=program-DPYDXpYv.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-DzDYk-aB.js";
1
+ import { t as createProgram } from "./program-DPYDXpYv.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.297",
3
+ "version": "1.13.298",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",