@epilot/app-client 0.7.1 → 0.7.2
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 +19 -2
- package/dist/openapi.json +52 -2
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -233,7 +233,7 @@ declare namespace Components {
|
|
|
233
233
|
surfaces?: {
|
|
234
234
|
[key: string]: any;
|
|
235
235
|
};
|
|
236
|
-
} & (JourneyBlockComponent | PortalExtensionComponent | CustomFlowActionComponent | ErpInformToolkitComponent);
|
|
236
|
+
} & (JourneyBlockComponent | PortalExtensionComponent | CustomFlowActionComponent | ErpInformToolkitComponent | CustomCapabilityComponent);
|
|
237
237
|
export interface BaseComponentCommon {
|
|
238
238
|
/**
|
|
239
239
|
* Unique identifier for the component
|
|
@@ -433,7 +433,7 @@ declare namespace Components {
|
|
|
433
433
|
/**
|
|
434
434
|
* Type of app component
|
|
435
435
|
*/
|
|
436
|
-
export type ComponentType = "CUSTOM_JOURNEY_BLOCK" | "PORTAL_EXTENSION" | "CUSTOM_FLOW_ACTION" | "ERP_INFORM_TOOLKIT";
|
|
436
|
+
export type ComponentType = "CUSTOM_JOURNEY_BLOCK" | "PORTAL_EXTENSION" | "CUSTOM_FLOW_ACTION" | "ERP_INFORM_TOOLKIT" | "CUSTOM_CAPABILITY";
|
|
437
437
|
/**
|
|
438
438
|
* Configuration of the published app
|
|
439
439
|
*/
|
|
@@ -772,6 +772,22 @@ declare namespace Components {
|
|
|
772
772
|
versioned_by?: string;
|
|
773
773
|
};
|
|
774
774
|
}
|
|
775
|
+
export interface CustomCapabilityComponent {
|
|
776
|
+
component_type: "CUSTOM_CAPABILITY";
|
|
777
|
+
configuration: {
|
|
778
|
+
/**
|
|
779
|
+
* Define what type of capability this is
|
|
780
|
+
*/
|
|
781
|
+
type?: "tab" | "group";
|
|
782
|
+
/**
|
|
783
|
+
* Which schemas are supported by the capability. If empty, all schemas are supported.
|
|
784
|
+
*/
|
|
785
|
+
allowed_schemas?: string[];
|
|
786
|
+
};
|
|
787
|
+
surfaces?: {
|
|
788
|
+
capability_config?: AppBridgeSurfaceConfig;
|
|
789
|
+
};
|
|
790
|
+
}
|
|
775
791
|
export interface CustomFlowActionComponent {
|
|
776
792
|
component_type: "CUSTOM_FLOW_ACTION";
|
|
777
793
|
configuration: CustomFlowConfig;
|
|
@@ -2408,6 +2424,7 @@ export type ComponentType = Components.Schemas.ComponentType;
|
|
|
2408
2424
|
export type Configuration = Components.Schemas.Configuration;
|
|
2409
2425
|
export type ConfigurationMetadata = Components.Schemas.ConfigurationMetadata;
|
|
2410
2426
|
export type ConfigurationVersion = Components.Schemas.ConfigurationVersion;
|
|
2427
|
+
export type CustomCapabilityComponent = Components.Schemas.CustomCapabilityComponent;
|
|
2411
2428
|
export type CustomFlowActionComponent = Components.Schemas.CustomFlowActionComponent;
|
|
2412
2429
|
export type CustomFlowConfig = Components.Schemas.CustomFlowConfig;
|
|
2413
2430
|
export type EnumArg = Components.Schemas.EnumArg;
|
package/dist/openapi.json
CHANGED
|
@@ -1622,7 +1622,8 @@
|
|
|
1622
1622
|
"CUSTOM_JOURNEY_BLOCK",
|
|
1623
1623
|
"PORTAL_EXTENSION",
|
|
1624
1624
|
"CUSTOM_FLOW_ACTION",
|
|
1625
|
-
"ERP_INFORM_TOOLKIT"
|
|
1625
|
+
"ERP_INFORM_TOOLKIT",
|
|
1626
|
+
"CUSTOM_CAPABILITY"
|
|
1626
1627
|
],
|
|
1627
1628
|
"description": "Type of app component"
|
|
1628
1629
|
},
|
|
@@ -1730,7 +1731,8 @@
|
|
|
1730
1731
|
"CUSTOM_JOURNEY_BLOCK": "#/components/schemas/JourneyBlockComponent",
|
|
1731
1732
|
"PORTAL_EXTENSION": "#/components/schemas/PortalExtensionComponent",
|
|
1732
1733
|
"CUSTOM_FLOW_ACTION": "#/components/schemas/CustomFlowActionComponent",
|
|
1733
|
-
"ERP_INFORM_TOOLKIT": "#/components/schemas/ErpInformToolkitComponent"
|
|
1734
|
+
"ERP_INFORM_TOOLKIT": "#/components/schemas/ErpInformToolkitComponent",
|
|
1735
|
+
"CUSTOM_CAPABILITY": "#/components/schemas/CustomCapabilityComponent"
|
|
1734
1736
|
}
|
|
1735
1737
|
},
|
|
1736
1738
|
"oneOf": [
|
|
@@ -1745,11 +1747,59 @@
|
|
|
1745
1747
|
},
|
|
1746
1748
|
{
|
|
1747
1749
|
"$ref": "#/components/schemas/ErpInformToolkitComponent"
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"$ref": "#/components/schemas/CustomCapabilityComponent"
|
|
1748
1753
|
}
|
|
1749
1754
|
]
|
|
1750
1755
|
}
|
|
1751
1756
|
]
|
|
1752
1757
|
},
|
|
1758
|
+
"CustomCapabilityComponent": {
|
|
1759
|
+
"type": "object",
|
|
1760
|
+
"required": [
|
|
1761
|
+
"component_type",
|
|
1762
|
+
"configuration"
|
|
1763
|
+
],
|
|
1764
|
+
"properties": {
|
|
1765
|
+
"component_type": {
|
|
1766
|
+
"type": "string",
|
|
1767
|
+
"enum": [
|
|
1768
|
+
"CUSTOM_CAPABILITY"
|
|
1769
|
+
]
|
|
1770
|
+
},
|
|
1771
|
+
"configuration": {
|
|
1772
|
+
"type": "object",
|
|
1773
|
+
"properties": {
|
|
1774
|
+
"type": {
|
|
1775
|
+
"description": "Define what type of capability this is",
|
|
1776
|
+
"type": "string",
|
|
1777
|
+
"enum": [
|
|
1778
|
+
"tab",
|
|
1779
|
+
"group"
|
|
1780
|
+
]
|
|
1781
|
+
},
|
|
1782
|
+
"allowed_schemas": {
|
|
1783
|
+
"description": "Which schemas are supported by the capability. If empty, all schemas are supported.",
|
|
1784
|
+
"type": "array",
|
|
1785
|
+
"items": {
|
|
1786
|
+
"type": "string",
|
|
1787
|
+
"description": "Name of the schema",
|
|
1788
|
+
"example": "opportunity"
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1793
|
+
"surfaces": {
|
|
1794
|
+
"type": "object",
|
|
1795
|
+
"properties": {
|
|
1796
|
+
"capability_config": {
|
|
1797
|
+
"$ref": "#/components/schemas/AppBridgeSurfaceConfig"
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1753
1803
|
"JourneyBlockComponent": {
|
|
1754
1804
|
"type": "object",
|
|
1755
1805
|
"required": [
|