@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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -0
- package/src/generated/types.gen.ts +1 -1
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,
|
|
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,
|
|
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.
|
|
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.
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -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,
|
|
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
|
/**
|