@epilot/app-client 0.6.2 → 0.6.3

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
@@ -225,7 +225,7 @@ declare namespace Components {
225
225
  surfaces?: {
226
226
  [key: string]: any;
227
227
  };
228
- } & (JourneyBlockComponent | PortalExtensionComponent | CustomFlowActionComponent);
228
+ } & (JourneyBlockComponent | PortalExtensionComponent | CustomFlowActionComponent | ErpInformToolkitComponent);
229
229
  export interface BaseComponentCommon {
230
230
  /**
231
231
  * Unique identifier for the component
@@ -415,7 +415,7 @@ declare namespace Components {
415
415
  /**
416
416
  * Type of app component
417
417
  */
418
- export type ComponentType = "CUSTOM_JOURNEY_BLOCK" | "PORTAL_EXTENSION" | "CUSTOM_FLOW_ACTION";
418
+ export type ComponentType = "CUSTOM_JOURNEY_BLOCK" | "PORTAL_EXTENSION" | "CUSTOM_FLOW_ACTION" | "ERP_INFORM_TOOLKIT";
419
419
  /**
420
420
  * Configuration of the published app
421
421
  */
@@ -810,6 +810,12 @@ declare namespace Components {
810
810
  }[]
811
811
  ];
812
812
  }
813
+ export interface ErpInformToolkitComponent {
814
+ component_type: "ERP_INFORM_TOOLKIT";
815
+ configuration: {
816
+ type: "inbound" | "outbound";
817
+ };
818
+ }
813
819
  export interface EventsQuery {
814
820
  /**
815
821
  * Either use preset OR start+end
@@ -2383,6 +2389,7 @@ export type ConfigurationVersion = Components.Schemas.ConfigurationVersion;
2383
2389
  export type CustomFlowActionComponent = Components.Schemas.CustomFlowActionComponent;
2384
2390
  export type CustomFlowConfig = Components.Schemas.CustomFlowConfig;
2385
2391
  export type EnumArg = Components.Schemas.EnumArg;
2392
+ export type ErpInformToolkitComponent = Components.Schemas.ErpInformToolkitComponent;
2386
2393
  export type EventsQuery = Components.Schemas.EventsQuery;
2387
2394
  export type EventsQueryResponse = Components.Schemas.EventsQueryResponse;
2388
2395
  export type ExternalIntegrationCustomActionConfig = Components.Schemas.ExternalIntegrationCustomActionConfig;
package/dist/openapi.json CHANGED
@@ -1590,7 +1590,8 @@
1590
1590
  "enum": [
1591
1591
  "CUSTOM_JOURNEY_BLOCK",
1592
1592
  "PORTAL_EXTENSION",
1593
- "CUSTOM_FLOW_ACTION"
1593
+ "CUSTOM_FLOW_ACTION",
1594
+ "ERP_INFORM_TOOLKIT"
1594
1595
  ],
1595
1596
  "description": "Type of app component"
1596
1597
  },
@@ -1697,7 +1698,8 @@
1697
1698
  "mapping": {
1698
1699
  "CUSTOM_JOURNEY_BLOCK": "#/components/schemas/JourneyBlockComponent",
1699
1700
  "PORTAL_EXTENSION": "#/components/schemas/PortalExtensionComponent",
1700
- "CUSTOM_FLOW_ACTION": "#/components/schemas/CustomFlowActionComponent"
1701
+ "CUSTOM_FLOW_ACTION": "#/components/schemas/CustomFlowActionComponent",
1702
+ "ERP_INFORM_TOOLKIT": "#/components/schemas/ErpInformToolkitComponent"
1701
1703
  }
1702
1704
  },
1703
1705
  "oneOf": [
@@ -1709,6 +1711,9 @@
1709
1711
  },
1710
1712
  {
1711
1713
  "$ref": "#/components/schemas/CustomFlowActionComponent"
1714
+ },
1715
+ {
1716
+ "$ref": "#/components/schemas/ErpInformToolkitComponent"
1712
1717
  }
1713
1718
  ]
1714
1719
  }
@@ -1732,6 +1737,36 @@
1732
1737
  }
1733
1738
  }
1734
1739
  },
1740
+ "ErpInformToolkitComponent": {
1741
+ "type": "object",
1742
+ "required": [
1743
+ "component_type",
1744
+ "configuration"
1745
+ ],
1746
+ "properties": {
1747
+ "component_type": {
1748
+ "type": "string",
1749
+ "enum": [
1750
+ "ERP_INFORM_TOOLKIT"
1751
+ ]
1752
+ },
1753
+ "configuration": {
1754
+ "type": "object",
1755
+ "required": [
1756
+ "type"
1757
+ ],
1758
+ "properties": {
1759
+ "type": {
1760
+ "type": "string",
1761
+ "enum": [
1762
+ "inbound",
1763
+ "outbound"
1764
+ ]
1765
+ }
1766
+ }
1767
+ }
1768
+ }
1769
+ },
1735
1770
  "CustomFlowActionComponent": {
1736
1771
  "type": "object",
1737
1772
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/app-client",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "JavaScript client library for the epilot App API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",