@zernio/node 0.2.1844 → 0.2.1846

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
@@ -7935,11 +7935,19 @@ type AutomationRun = {
7935
7935
  */
7936
7936
  type?: string;
7937
7937
  id?: string;
7938
+ /**
7939
+ * The person's display name, where the run knows it. Null for a check about a post, an ad or an order.
7940
+ */
7941
+ name?: (string) | null;
7942
+ /**
7943
+ * The person's username without `@`, or their phone number in E.164 (it always starts with `+`). Null where neither is known.
7944
+ */
7945
+ handle?: (string) | null;
7938
7946
  } | null;
7939
7947
  startedAt: string;
7940
7948
  endedAt: (string) | null;
7941
7949
  /**
7942
- * Why an exited or failed run stopped, for example `replied`, `unsubscribed` or `skipped`.
7950
+ * Why an exited or failed run stopped, for example `handoff` (a flow handed the conversation to a person), `wait_expired`, `superseded`, `replied`, `unsubscribed` or `skipped`.
7943
7951
  */
7944
7952
  exitReason: (string) | null;
7945
7953
  error: (string) | null;
@@ -8291,6 +8299,10 @@ type AutomationTemplateAutomation = {
8291
8299
  definition: {
8292
8300
  [key: string]: unknown;
8293
8301
  };
8302
+ /**
8303
+ * The same automation as the graph the editor opens and saves, input references kept in place. Read only: always present in responses, null only for a definition whose kind cannot be told.
8304
+ */
8305
+ graph?: (AutomationGraph | null);
8294
8306
  };
8295
8307
  /**
8296
8308
  * Where the automations come from. Send `from` or `automations`, not both.
package/dist/index.d.ts CHANGED
@@ -7935,11 +7935,19 @@ type AutomationRun = {
7935
7935
  */
7936
7936
  type?: string;
7937
7937
  id?: string;
7938
+ /**
7939
+ * The person's display name, where the run knows it. Null for a check about a post, an ad or an order.
7940
+ */
7941
+ name?: (string) | null;
7942
+ /**
7943
+ * The person's username without `@`, or their phone number in E.164 (it always starts with `+`). Null where neither is known.
7944
+ */
7945
+ handle?: (string) | null;
7938
7946
  } | null;
7939
7947
  startedAt: string;
7940
7948
  endedAt: (string) | null;
7941
7949
  /**
7942
- * Why an exited or failed run stopped, for example `replied`, `unsubscribed` or `skipped`.
7950
+ * Why an exited or failed run stopped, for example `handoff` (a flow handed the conversation to a person), `wait_expired`, `superseded`, `replied`, `unsubscribed` or `skipped`.
7943
7951
  */
7944
7952
  exitReason: (string) | null;
7945
7953
  error: (string) | null;
@@ -8291,6 +8299,10 @@ type AutomationTemplateAutomation = {
8291
8299
  definition: {
8292
8300
  [key: string]: unknown;
8293
8301
  };
8302
+ /**
8303
+ * The same automation as the graph the editor opens and saves, input references kept in place. Read only: always present in responses, null only for a definition whose kind cannot be told.
8304
+ */
8305
+ graph?: (AutomationGraph | null);
8294
8306
  };
8295
8307
  /**
8296
8308
  * Where the automations come from. Send `from` or `automations`, not both.
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: "@zernio/node",
39
- version: "0.2.1844",
39
+ version: "0.2.1846",
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: "@zernio/node",
8
- version: "0.2.1844",
8
+ version: "0.2.1846",
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": "@zernio/node",
3
- "version": "0.2.1844",
3
+ "version": "0.2.1846",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -5485,11 +5485,19 @@ export type AutomationRun = {
5485
5485
  */
5486
5486
  type?: string;
5487
5487
  id?: string;
5488
+ /**
5489
+ * The person's display name, where the run knows it. Null for a check about a post, an ad or an order.
5490
+ */
5491
+ name?: (string) | null;
5492
+ /**
5493
+ * The person's username without `@`, or their phone number in E.164 (it always starts with `+`). Null where neither is known.
5494
+ */
5495
+ handle?: (string) | null;
5488
5496
  } | null;
5489
5497
  startedAt: string;
5490
5498
  endedAt: (string) | null;
5491
5499
  /**
5492
- * Why an exited or failed run stopped, for example `replied`, `unsubscribed` or `skipped`.
5500
+ * Why an exited or failed run stopped, for example `handoff` (a flow handed the conversation to a person), `wait_expired`, `superseded`, `replied`, `unsubscribed` or `skipped`.
5493
5501
  */
5494
5502
  exitReason: (string) | null;
5495
5503
  error: (string) | null;
@@ -5854,6 +5862,10 @@ export type AutomationTemplateAutomation = {
5854
5862
  definition: {
5855
5863
  [key: string]: unknown;
5856
5864
  };
5865
+ /**
5866
+ * The same automation as the graph the editor opens and saves, input references kept in place. Read only: always present in responses, null only for a definition whose kind cannot be told.
5867
+ */
5868
+ graph?: (AutomationGraph | null);
5857
5869
  };
5858
5870
 
5859
5871
  /**