@togglhq/cli 1.5.41 → 1.5.43

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-BwvgopV7.js";
2
+ import { n as CommanderError, t as createProgram } from "./program-BhzFXHr2.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-BwvgopV7.js";
1
+ import { t as createProgram } from "./program-BhzFXHr2.js";
2
2
  export { createProgram };
@@ -14468,10 +14468,11 @@ async function getProfitabilityReport(httpClient, workspace_id, data, response_f
14468
14468
  })
14469
14469
  }).json();
14470
14470
  }
14471
- async function getFlexqData(httpClient, workspace_id, data, { response_format, include_dicts = false } = {}, signal) {
14471
+ async function getFlexqData(httpClient, workspace_id, data, { response_format, include_dicts = false, xTogglReportExport } = {}, signal) {
14472
14472
  return await httpClient.post(`reports/workspaces/${workspace_id}/query`, {
14473
14473
  signal,
14474
14474
  json: data,
14475
+ headers: { "X-Toggl-Report-Export": xTogglReportExport },
14475
14476
  searchParams: buildSearchParams$3({
14476
14477
  response_format,
14477
14478
  include_dicts
@@ -25818,4 +25819,4 @@ Common commands:
25818
25819
  //#endregion
25819
25820
  export { CommanderError as n, createProgram as t };
25820
25821
 
25821
- //# sourceMappingURL=program-BwvgopV7.js.map
25822
+ //# sourceMappingURL=program-BhzFXHr2.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-BwvgopV7.js";
1
+ import { t as createProgram } from "./program-BhzFXHr2.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.5.41",
3
+ "version": "1.5.43",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",