@epilot/automation-client 2.9.3 → 2.9.5

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/openapi.d.ts CHANGED
@@ -913,24 +913,12 @@ declare namespace Components {
913
913
  */
914
914
  export interface Condition {
915
915
  source?: {
916
- /**
917
- * example:
918
- * action | trigger
919
- */
920
- origin?: string;
921
- /**
922
- * example:
923
- * entity | workflow | journey block
924
- */
925
- originType?: string;
916
+ origin?: "trigger" | "action";
917
+ originType?: "entity" | "workflow" | "journey_block";
926
918
  id?: string;
927
919
  schema?: string;
928
920
  attribute?: string;
929
- /**
930
- * example:
931
- * text | boolean | date | number
932
- */
933
- attributeType?: string;
921
+ attributeType?: "text" | "number" | "boolean" | "date" | "tag" | "country" | "email" | "phone" | "product" | "price";
934
922
  };
935
923
  operation?: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "is_empty" | "is_not_empty";
936
924
  values?: string[];
package/dist/openapi.json CHANGED
@@ -1776,11 +1776,18 @@
1776
1776
  "properties": {
1777
1777
  "origin": {
1778
1778
  "type": "string",
1779
- "example": "action | trigger"
1779
+ "enum": [
1780
+ "trigger",
1781
+ "action"
1782
+ ]
1780
1783
  },
1781
1784
  "originType": {
1782
1785
  "type": "string",
1783
- "example": "entity | workflow | journey block"
1786
+ "enum": [
1787
+ "entity",
1788
+ "workflow",
1789
+ "journey_block"
1790
+ ]
1784
1791
  },
1785
1792
  "id": {
1786
1793
  "type": "string"
@@ -1793,7 +1800,18 @@
1793
1800
  },
1794
1801
  "attributeType": {
1795
1802
  "type": "string",
1796
- "example": "text | boolean | date | number"
1803
+ "enum": [
1804
+ "text",
1805
+ "number",
1806
+ "boolean",
1807
+ "date",
1808
+ "tag",
1809
+ "country",
1810
+ "email",
1811
+ "phone",
1812
+ "product",
1813
+ "price"
1814
+ ]
1797
1815
  }
1798
1816
  }
1799
1817
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/automation-client",
3
- "version": "2.9.3",
3
+ "version": "2.9.5",
4
4
  "description": "Client library for epilot automation API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",