@getlatedev/node 0.2.1809 → 0.2.1810

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.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.1809",
39
+ version: "0.2.1810",
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.1809",
8
+ version: "0.2.1810",
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.1809",
3
+ "version": "0.2.1810",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2151,9 +2151,15 @@ export const getXApiPricing = <ThrowOnError extends boolean = false>(options?: O
2151
2151
  *
2152
2152
  * A 10DLC fee goes to a profile only when its registration names one. Registrations filed by API or dashboard belong to the owner and stay unattributed.
2153
2153
  *
2154
- * 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.
2154
+ * A caller that sees the whole workspace gets `restricted: false` and the same `totals` as without `groupBy`.
2155
2155
  *
2156
- * Since 1.817.0 every billed account has one even price: the window's `accounts` total, after tiers and the monthly credit, divided by the billed accounts your members have connected now. Before, the oldest accounts took the credit and could show $0. Your invoice did not change.
2156
+ * Since 1.822.0, shares are measured over what the workspace's bill carries (before, over everything its members held in any workspace):
2157
+ *
2158
+ * - Its own profiles count, whoever connected their accounts. What its members hold on other bills takes no share.
2159
+ * - A profile moved between workspaces counts on each bill for the days it was there.
2160
+ * - What the bill carried for a profile that moved out, or still carries from outside the workspace, is `unattributed` and never named.
2161
+ *
2162
+ * Since 1.817.0 every billed account has one even price: the window's `accounts` total, after tiers and the monthly credit, divided by the accounts connected now (since 1.822.0, the ones the bill carries). Before, the oldest accounts took the credit and could show $0. Your invoice did not change.
2157
2163
  *
2158
2164
  * Example: 5 accounts cost $30 minus the $12 credit, $18, so $3.60 each. A profile with 2 of them shows $7.20. In a contract's first month, a credit carried over is unattributed instead, so they show $6.00 each.
2159
2165
  *