@epilot/app-client 0.7.0 → 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 +26 -3
- package/dist/openapi.json +67 -3
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -55,6 +55,10 @@ declare namespace Components {
|
|
|
55
55
|
* Configuration values for the app components
|
|
56
56
|
*/
|
|
57
57
|
option_values?: Schemas.OptionsRef[];
|
|
58
|
+
/**
|
|
59
|
+
* Manifest ID used to create/update the entity
|
|
60
|
+
*/
|
|
61
|
+
_manifest?: string /* uuid */[];
|
|
58
62
|
}
|
|
59
63
|
export interface PatchConfigMetadataRequest {
|
|
60
64
|
/**
|
|
@@ -229,7 +233,7 @@ declare namespace Components {
|
|
|
229
233
|
surfaces?: {
|
|
230
234
|
[key: string]: any;
|
|
231
235
|
};
|
|
232
|
-
} & (JourneyBlockComponent | PortalExtensionComponent | CustomFlowActionComponent | ErpInformToolkitComponent);
|
|
236
|
+
} & (JourneyBlockComponent | PortalExtensionComponent | CustomFlowActionComponent | ErpInformToolkitComponent | CustomCapabilityComponent);
|
|
233
237
|
export interface BaseComponentCommon {
|
|
234
238
|
/**
|
|
235
239
|
* Unique identifier for the component
|
|
@@ -429,7 +433,7 @@ declare namespace Components {
|
|
|
429
433
|
/**
|
|
430
434
|
* Type of app component
|
|
431
435
|
*/
|
|
432
|
-
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";
|
|
433
437
|
/**
|
|
434
438
|
* Configuration of the published app
|
|
435
439
|
*/
|
|
@@ -768,6 +772,22 @@ declare namespace Components {
|
|
|
768
772
|
versioned_by?: string;
|
|
769
773
|
};
|
|
770
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
|
+
}
|
|
771
791
|
export interface CustomFlowActionComponent {
|
|
772
792
|
component_type: "CUSTOM_FLOW_ACTION";
|
|
773
793
|
configuration: CustomFlowConfig;
|
|
@@ -1538,7 +1558,9 @@ declare namespace Paths {
|
|
|
1538
1558
|
}
|
|
1539
1559
|
namespace GetPublicFacingComponent {
|
|
1540
1560
|
namespace Responses {
|
|
1541
|
-
export
|
|
1561
|
+
export interface $200 {
|
|
1562
|
+
component?: Components.Schemas.BaseComponent;
|
|
1563
|
+
}
|
|
1542
1564
|
export interface $404 {
|
|
1543
1565
|
}
|
|
1544
1566
|
}
|
|
@@ -2402,6 +2424,7 @@ export type ComponentType = Components.Schemas.ComponentType;
|
|
|
2402
2424
|
export type Configuration = Components.Schemas.Configuration;
|
|
2403
2425
|
export type ConfigurationMetadata = Components.Schemas.ConfigurationMetadata;
|
|
2404
2426
|
export type ConfigurationVersion = Components.Schemas.ConfigurationVersion;
|
|
2427
|
+
export type CustomCapabilityComponent = Components.Schemas.CustomCapabilityComponent;
|
|
2405
2428
|
export type CustomFlowActionComponent = Components.Schemas.CustomFlowActionComponent;
|
|
2406
2429
|
export type CustomFlowConfig = Components.Schemas.CustomFlowConfig;
|
|
2407
2430
|
export type EnumArg = Components.Schemas.EnumArg;
|
package/dist/openapi.json
CHANGED
|
@@ -75,7 +75,12 @@
|
|
|
75
75
|
"content": {
|
|
76
76
|
"application/json": {
|
|
77
77
|
"schema": {
|
|
78
|
-
"
|
|
78
|
+
"type": "object",
|
|
79
|
+
"properties": {
|
|
80
|
+
"component": {
|
|
81
|
+
"$ref": "#/components/schemas/BaseComponent"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
79
84
|
}
|
|
80
85
|
}
|
|
81
86
|
}
|
|
@@ -1466,6 +1471,15 @@
|
|
|
1466
1471
|
"$ref": "#/components/schemas/OptionsRef"
|
|
1467
1472
|
},
|
|
1468
1473
|
"description": "Configuration values for the app components"
|
|
1474
|
+
},
|
|
1475
|
+
"_manifest": {
|
|
1476
|
+
"type": "array",
|
|
1477
|
+
"description": "Manifest ID used to create/update the entity",
|
|
1478
|
+
"items": {
|
|
1479
|
+
"type": "string",
|
|
1480
|
+
"format": "uuid",
|
|
1481
|
+
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
1482
|
+
}
|
|
1469
1483
|
}
|
|
1470
1484
|
}
|
|
1471
1485
|
}
|
|
@@ -1608,7 +1622,8 @@
|
|
|
1608
1622
|
"CUSTOM_JOURNEY_BLOCK",
|
|
1609
1623
|
"PORTAL_EXTENSION",
|
|
1610
1624
|
"CUSTOM_FLOW_ACTION",
|
|
1611
|
-
"ERP_INFORM_TOOLKIT"
|
|
1625
|
+
"ERP_INFORM_TOOLKIT",
|
|
1626
|
+
"CUSTOM_CAPABILITY"
|
|
1612
1627
|
],
|
|
1613
1628
|
"description": "Type of app component"
|
|
1614
1629
|
},
|
|
@@ -1716,7 +1731,8 @@
|
|
|
1716
1731
|
"CUSTOM_JOURNEY_BLOCK": "#/components/schemas/JourneyBlockComponent",
|
|
1717
1732
|
"PORTAL_EXTENSION": "#/components/schemas/PortalExtensionComponent",
|
|
1718
1733
|
"CUSTOM_FLOW_ACTION": "#/components/schemas/CustomFlowActionComponent",
|
|
1719
|
-
"ERP_INFORM_TOOLKIT": "#/components/schemas/ErpInformToolkitComponent"
|
|
1734
|
+
"ERP_INFORM_TOOLKIT": "#/components/schemas/ErpInformToolkitComponent",
|
|
1735
|
+
"CUSTOM_CAPABILITY": "#/components/schemas/CustomCapabilityComponent"
|
|
1720
1736
|
}
|
|
1721
1737
|
},
|
|
1722
1738
|
"oneOf": [
|
|
@@ -1731,11 +1747,59 @@
|
|
|
1731
1747
|
},
|
|
1732
1748
|
{
|
|
1733
1749
|
"$ref": "#/components/schemas/ErpInformToolkitComponent"
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"$ref": "#/components/schemas/CustomCapabilityComponent"
|
|
1734
1753
|
}
|
|
1735
1754
|
]
|
|
1736
1755
|
}
|
|
1737
1756
|
]
|
|
1738
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
|
+
},
|
|
1739
1803
|
"JourneyBlockComponent": {
|
|
1740
1804
|
"type": "object",
|
|
1741
1805
|
"required": [
|