@getlatedev/node 0.2.1719 → 0.2.1720

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
@@ -73722,6 +73722,25 @@ type GetEventResponse = ({
73722
73722
  errorCode?: (string) | null;
73723
73723
  sentAt?: string;
73724
73724
  }>;
73725
+ /**
73726
+ * The touches of the person before the event that its credit is split across, oldest first: website visits from somewhere (an ad click, search, a tagged link) and earlier lead forms or sales. Empty when the event counts whole for its own campaign under every model.
73727
+ */
73728
+ touches?: Array<{
73729
+ at?: string;
73730
+ kind?: 'ad_click' | 'paid' | 'email' | 'social' | 'campaign' | 'organic_search' | 'ai_assistant' | 'referral' | 'lead_form' | 'event';
73731
+ platform?: (string) | null;
73732
+ adAccountId?: (string) | null;
73733
+ /**
73734
+ * The campaign the touch resolved to; null for a touch that named none (search, referral).
73735
+ */
73736
+ campaignId?: (string) | null;
73737
+ /**
73738
+ * The share of the event (0 to 1) this touch gets per model: first_touch, last_non_direct, linear, position_based, time_decay.
73739
+ */
73740
+ credit?: {
73741
+ [key: string]: (number);
73742
+ };
73743
+ }>;
73725
73744
  });
73726
73745
  type GetEventError = (ErrorResponse | {
73727
73746
  error?: string;
package/dist/index.d.ts CHANGED
@@ -73722,6 +73722,25 @@ type GetEventResponse = ({
73722
73722
  errorCode?: (string) | null;
73723
73723
  sentAt?: string;
73724
73724
  }>;
73725
+ /**
73726
+ * The touches of the person before the event that its credit is split across, oldest first: website visits from somewhere (an ad click, search, a tagged link) and earlier lead forms or sales. Empty when the event counts whole for its own campaign under every model.
73727
+ */
73728
+ touches?: Array<{
73729
+ at?: string;
73730
+ kind?: 'ad_click' | 'paid' | 'email' | 'social' | 'campaign' | 'organic_search' | 'ai_assistant' | 'referral' | 'lead_form' | 'event';
73731
+ platform?: (string) | null;
73732
+ adAccountId?: (string) | null;
73733
+ /**
73734
+ * The campaign the touch resolved to; null for a touch that named none (search, referral).
73735
+ */
73736
+ campaignId?: (string) | null;
73737
+ /**
73738
+ * The share of the event (0 to 1) this touch gets per model: first_touch, last_non_direct, linear, position_based, time_decay.
73739
+ */
73740
+ credit?: {
73741
+ [key: string]: (number);
73742
+ };
73743
+ }>;
73725
73744
  });
73726
73745
  type GetEventError = (ErrorResponse | {
73727
73746
  error?: string;
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.1719",
39
+ version: "0.2.1720",
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.1719",
8
+ version: "0.2.1720",
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.1719",
3
+ "version": "0.2.1720",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -75513,6 +75513,25 @@ export type GetEventResponse = ({
75513
75513
  errorCode?: (string) | null;
75514
75514
  sentAt?: string;
75515
75515
  }>;
75516
+ /**
75517
+ * The touches of the person before the event that its credit is split across, oldest first: website visits from somewhere (an ad click, search, a tagged link) and earlier lead forms or sales. Empty when the event counts whole for its own campaign under every model.
75518
+ */
75519
+ touches?: Array<{
75520
+ at?: string;
75521
+ kind?: 'ad_click' | 'paid' | 'email' | 'social' | 'campaign' | 'organic_search' | 'ai_assistant' | 'referral' | 'lead_form' | 'event';
75522
+ platform?: (string) | null;
75523
+ adAccountId?: (string) | null;
75524
+ /**
75525
+ * The campaign the touch resolved to; null for a touch that named none (search, referral).
75526
+ */
75527
+ campaignId?: (string) | null;
75528
+ /**
75529
+ * The share of the event (0 to 1) this touch gets per model: first_touch, last_non_direct, linear, position_based, time_decay.
75530
+ */
75531
+ credit?: {
75532
+ [key: string]: (number);
75533
+ };
75534
+ }>;
75516
75535
  });
75517
75536
 
75518
75537
  export type GetEventError = (ErrorResponse | {