@getlatedev/node 0.2.1794 → 0.2.1795

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/dist/index.d.mts CHANGED
@@ -25905,7 +25905,7 @@ type UsageMetering = {
25905
25905
  groupBy?: 'profile' | 'account';
25906
25906
  groups?: Array<UsageAttributionGroup>;
25907
25907
  /**
25908
- * Spend no profile/account can claim: credits, 10DLC fees, Verify, and usage whose record no longer resolves to an account. Zero for a restricted principal.
25908
+ * Spend no profile/account of your workspace can claim: credits, 10DLC fees, Verify, usage whose record no longer resolves to an account, and the share measured outside your workspace. Zero for a restricted principal.
25909
25909
  */
25910
25910
  unattributed?: UsageAttributionSlice;
25911
25911
  /**
package/dist/index.d.ts CHANGED
@@ -25905,7 +25905,7 @@ type UsageMetering = {
25905
25905
  groupBy?: 'profile' | 'account';
25906
25906
  groups?: Array<UsageAttributionGroup>;
25907
25907
  /**
25908
- * Spend no profile/account can claim: credits, 10DLC fees, Verify, and usage whose record no longer resolves to an account. Zero for a restricted principal.
25908
+ * Spend no profile/account of your workspace can claim: credits, 10DLC fees, Verify, usage whose record no longer resolves to an account, and the share measured outside your workspace. Zero for a restricted principal.
25909
25909
  */
25910
25910
  unattributed?: UsageAttributionSlice;
25911
25911
  /**
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.1794",
39
+ version: "0.2.1795",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.1794",
8
+ version: "0.2.1795",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1794",
3
+ "version": "0.2.1795",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2145,6 +2145,8 @@ export const getXApiPricing = <ThrowOnError extends boolean = false>(options?: O
2145
2145
  *
2146
2146
  * Profile-scoped API keys and members only see their profiles' groups (`attribution.restricted: true`, with `totals` summing the visible groups). Credits, 10DLC fees and Verify are always unattributed.
2147
2147
  *
2148
+ * A caller that sees the whole workspace gets `restricted: false` and the same `totals` as without `groupBy`. Shares are measured over everything the bill and its members carry, so `unattributed` can include spend outside the workspace, never named.
2149
+ *
2148
2150
  * Since 1.630.0 a profile-scoped key or member never gets the team payload in metering mode: without `groupBy` or a filter, `days`, `totals` and `lineItems` are projected onto its visible profiles, `peaks`, `callUsage` and `tax` are `null`, and no `attribution` is returned. Full-access keys and sessions keep the team payload.
2149
2151
  *
2150
2152
  * ### Related endpoints
@@ -24310,7 +24310,7 @@ export type UsageMetering = {
24310
24310
  groupBy?: 'profile' | 'account';
24311
24311
  groups?: Array<UsageAttributionGroup>;
24312
24312
  /**
24313
- * Spend no profile/account can claim: credits, 10DLC fees, Verify, and usage whose record no longer resolves to an account. Zero for a restricted principal.
24313
+ * Spend no profile/account of your workspace can claim: credits, 10DLC fees, Verify, usage whose record no longer resolves to an account, and the share measured outside your workspace. Zero for a restricted principal.
24314
24314
  */
24315
24315
  unattributed?: UsageAttributionSlice;
24316
24316
  /**