@getlatedev/node 0.2.1684 → 0.2.1686

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
@@ -4885,12 +4885,19 @@ type AdRuleRun = {
4885
4885
  *
4886
4886
  */
4887
4887
  outcome: 'triggered' | 'cooldown' | 'daily_limit' | 'no_match' | 'failed' | 'paused';
4888
+ /**
4889
+ * Objects the rule judged. 0 means its campaigns and filters matched nothing that is running.
4890
+ */
4888
4891
  objectsEvaluated: number;
4889
4892
  actedObjectIds: Array<(string)>;
4890
4893
  /**
4891
- * The matched objects with their condition values, and what each action did.
4894
+ * The matched objects with their condition values, and what each action did. Null on a run that matched nothing, unless some objects could not be read.
4892
4895
  */
4893
4896
  evaluation: {
4897
+ /**
4898
+ * On a run that matched nothing: how many objects had a condition whose value could not be read, so they could not match. A campaign with under 3 of the 4 previous weeks of data has no `usual` yet.
4899
+ */
4900
+ unreadObjects?: number;
4894
4901
  /**
4895
4902
  * The rule as it was when this run happened, so its actions stay readable after the rule is renamed or deleted. Absent on runs recorded before October 2026.
4896
4903
  */
@@ -39590,15 +39597,21 @@ type GetPendingOAuthDataResponse = ({
39590
39597
  });
39591
39598
  type GetPendingOAuthDataError = (ErrorResponse);
39592
39599
  type ListLinkedInOrganizationsData = {
39600
+ headers?: {
39601
+ /**
39602
+ * The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
39603
+ */
39604
+ 'X-Temp-Token'?: string;
39605
+ };
39593
39606
  query: {
39594
39607
  /**
39595
39608
  * Comma-separated list of organization IDs to fetch details for (max 100)
39596
39609
  */
39597
39610
  orgIds: string;
39598
39611
  /**
39599
- * The temporary LinkedIn access token from the OAuth redirect
39612
+ * The temporary LinkedIn access token from the OAuth redirect. Required unless sent in the X-Temp-Token header.
39600
39613
  */
39601
- tempToken: string;
39614
+ tempToken?: string;
39602
39615
  };
39603
39616
  };
39604
39617
  type ListLinkedInOrganizationsResponse = ({
package/dist/index.d.ts CHANGED
@@ -4885,12 +4885,19 @@ type AdRuleRun = {
4885
4885
  *
4886
4886
  */
4887
4887
  outcome: 'triggered' | 'cooldown' | 'daily_limit' | 'no_match' | 'failed' | 'paused';
4888
+ /**
4889
+ * Objects the rule judged. 0 means its campaigns and filters matched nothing that is running.
4890
+ */
4888
4891
  objectsEvaluated: number;
4889
4892
  actedObjectIds: Array<(string)>;
4890
4893
  /**
4891
- * The matched objects with their condition values, and what each action did.
4894
+ * The matched objects with their condition values, and what each action did. Null on a run that matched nothing, unless some objects could not be read.
4892
4895
  */
4893
4896
  evaluation: {
4897
+ /**
4898
+ * On a run that matched nothing: how many objects had a condition whose value could not be read, so they could not match. A campaign with under 3 of the 4 previous weeks of data has no `usual` yet.
4899
+ */
4900
+ unreadObjects?: number;
4894
4901
  /**
4895
4902
  * The rule as it was when this run happened, so its actions stay readable after the rule is renamed or deleted. Absent on runs recorded before October 2026.
4896
4903
  */
@@ -39590,15 +39597,21 @@ type GetPendingOAuthDataResponse = ({
39590
39597
  });
39591
39598
  type GetPendingOAuthDataError = (ErrorResponse);
39592
39599
  type ListLinkedInOrganizationsData = {
39600
+ headers?: {
39601
+ /**
39602
+ * The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
39603
+ */
39604
+ 'X-Temp-Token'?: string;
39605
+ };
39593
39606
  query: {
39594
39607
  /**
39595
39608
  * Comma-separated list of organization IDs to fetch details for (max 100)
39596
39609
  */
39597
39610
  orgIds: string;
39598
39611
  /**
39599
- * The temporary LinkedIn access token from the OAuth redirect
39612
+ * The temporary LinkedIn access token from the OAuth redirect. Required unless sent in the X-Temp-Token header.
39600
39613
  */
39601
- tempToken: string;
39614
+ tempToken?: string;
39602
39615
  };
39603
39616
  };
39604
39617
  type ListLinkedInOrganizationsResponse = ({
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.1684",
39
+ version: "0.2.1686",
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.1684",
8
+ version: "0.2.1686",
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.1684",
3
+ "version": "0.2.1686",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2468,12 +2468,19 @@ export type AdRuleRun = {
2468
2468
  *
2469
2469
  */
2470
2470
  outcome: 'triggered' | 'cooldown' | 'daily_limit' | 'no_match' | 'failed' | 'paused';
2471
+ /**
2472
+ * Objects the rule judged. 0 means its campaigns and filters matched nothing that is running.
2473
+ */
2471
2474
  objectsEvaluated: number;
2472
2475
  actedObjectIds: Array<(string)>;
2473
2476
  /**
2474
- * The matched objects with their condition values, and what each action did.
2477
+ * The matched objects with their condition values, and what each action did. Null on a run that matched nothing, unless some objects could not be read.
2475
2478
  */
2476
2479
  evaluation: {
2480
+ /**
2481
+ * On a run that matched nothing: how many objects had a condition whose value could not be read, so they could not match. A campaign with under 3 of the 4 previous weeks of data has no `usual` yet.
2482
+ */
2483
+ unreadObjects?: number;
2477
2484
  /**
2478
2485
  * The rule as it was when this run happened, so its actions stay readable after the rule is renamed or deleted. Absent on runs recorded before October 2026.
2479
2486
  */
@@ -38900,15 +38907,21 @@ export type GetPendingOAuthDataResponse = ({
38900
38907
  export type GetPendingOAuthDataError = (ErrorResponse);
38901
38908
 
38902
38909
  export type ListLinkedInOrganizationsData = {
38910
+ headers?: {
38911
+ /**
38912
+ * The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
38913
+ */
38914
+ 'X-Temp-Token'?: string;
38915
+ };
38903
38916
  query: {
38904
38917
  /**
38905
38918
  * Comma-separated list of organization IDs to fetch details for (max 100)
38906
38919
  */
38907
38920
  orgIds: string;
38908
38921
  /**
38909
- * The temporary LinkedIn access token from the OAuth redirect
38922
+ * The temporary LinkedIn access token from the OAuth redirect. Required unless sent in the X-Temp-Token header.
38910
38923
  */
38911
- tempToken: string;
38924
+ tempToken?: string;
38912
38925
  };
38913
38926
  };
38914
38927