@togglhq/cli 1.13.180 → 1.13.181

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-B99mPwHE.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-C7q6erfV.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-B99mPwHE.js";
1
+ import { t as createProgram } from "./program-C7q6erfV.js";
2
2
  export { createProgram };
@@ -7797,7 +7797,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7797
7797
  name: /* @__PURE__ */ string(),
7798
7798
  organization_id: /* @__PURE__ */ number(),
7799
7799
  owner: /* @__PURE__ */ boolean(),
7800
- rate: /* @__PURE__ */ object({
7800
+ rate: /* @__PURE__ */ pipe(/* @__PURE__ */ object({
7801
7801
  currency: /* @__PURE__ */ string(),
7802
7802
  hourly_rate: /* @__PURE__ */ number(),
7803
7803
  start_at: /* @__PURE__ */ string(),
@@ -7805,7 +7805,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7805
7805
  end_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7806
7806
  workspace_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7807
7807
  workspace_user_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
7808
- }),
7808
+ }), /* @__PURE__ */ description("Deprecated: always the empty rate; this endpoint no longer returns rates. Read member rates from GET /organizations/{organization_id}/workspaces/{workspace_id}/billable-rates/users/rates.")),
7809
7809
  tags: /* @__PURE__ */ array(/* @__PURE__ */ object({
7810
7810
  color: /* @__PURE__ */ string(),
7811
7811
  id: /* @__PURE__ */ number(),
@@ -9984,7 +9984,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9984
9984
  })
9985
9985
  })).json();
9986
9986
  }
9987
- async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration, include_designations, include_shared_report_receiver, has_designations } = {}, signal) {
9987
+ async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration, include_designations, include_shared_report_receiver, has_designations } = {}, signal) {
9988
9988
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9989
9989
  signal,
9990
9990
  searchParams: buildSearchParams$2({
@@ -10002,7 +10002,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
10002
10002
  per_page,
10003
10003
  tag_ids,
10004
10004
  include_working_hours,
10005
- include_rates,
10006
10005
  pinned_ids,
10007
10006
  has_group,
10008
10007
  track_without_focus,
@@ -32602,4 +32601,4 @@ Common commands:
32602
32601
  //#endregion
32603
32602
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
32604
32603
 
32605
- //# sourceMappingURL=program-B99mPwHE.js.map
32604
+ //# sourceMappingURL=program-C7q6erfV.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-B99mPwHE.js";
1
+ import { t as createProgram } from "./program-C7q6erfV.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.180",
3
+ "version": "1.13.181",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",