@getlatedev/node 0.2.1809 → 0.2.1811

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
@@ -80621,6 +80621,17 @@ type SendEventsResponse = ({
80621
80621
  */
80622
80622
  eventsDropped?: number;
80623
80623
  drops?: Array<ConsentDrop>;
80624
+ /**
80625
+ * Events not sent again because this destination already accepted them (same eventId and eventName within 48 hours), another request is sending them right now, or an earlier event in this request has the same eventId and eventName.
80626
+ */
80627
+ eventsSkipped?: number;
80628
+ skipped?: Array<{
80629
+ /**
80630
+ * Position of the event in the request's `events` array, counted from 0.
80631
+ */
80632
+ eventIndex?: number;
80633
+ eventId?: string;
80634
+ }>;
80624
80635
  failures?: Array<{
80625
80636
  /**
80626
80637
  * Position of the event in the request's `events` array, counted from 0, also when repeats or events this destination does not take were left out.
package/dist/index.d.ts CHANGED
@@ -80621,6 +80621,17 @@ type SendEventsResponse = ({
80621
80621
  */
80622
80622
  eventsDropped?: number;
80623
80623
  drops?: Array<ConsentDrop>;
80624
+ /**
80625
+ * Events not sent again because this destination already accepted them (same eventId and eventName within 48 hours), another request is sending them right now, or an earlier event in this request has the same eventId and eventName.
80626
+ */
80627
+ eventsSkipped?: number;
80628
+ skipped?: Array<{
80629
+ /**
80630
+ * Position of the event in the request's `events` array, counted from 0.
80631
+ */
80632
+ eventIndex?: number;
80633
+ eventId?: string;
80634
+ }>;
80624
80635
  failures?: Array<{
80625
80636
  /**
80626
80637
  * Position of the event in the request's `events` array, counted from 0, also when repeats or events this destination does not take were left out.
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.1811",
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.1811",
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.1811",
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
  *
@@ -82631,6 +82631,17 @@ export type SendEventsResponse = ({
82631
82631
  */
82632
82632
  eventsDropped?: number;
82633
82633
  drops?: Array<ConsentDrop>;
82634
+ /**
82635
+ * Events not sent again because this destination already accepted them (same eventId and eventName within 48 hours), another request is sending them right now, or an earlier event in this request has the same eventId and eventName.
82636
+ */
82637
+ eventsSkipped?: number;
82638
+ skipped?: Array<{
82639
+ /**
82640
+ * Position of the event in the request's `events` array, counted from 0.
82641
+ */
82642
+ eventIndex?: number;
82643
+ eventId?: string;
82644
+ }>;
82634
82645
  failures?: Array<{
82635
82646
  /**
82636
82647
  * Position of the event in the request's `events` array, counted from 0, also when repeats or events this destination does not take were left out.