@epilot/app-client 0.5.5 → 0.5.6-rc.1
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 +14 -0
- package/dist/openapi.json +32 -0
- package/package.json +2 -2
package/dist/openapi.d.ts
CHANGED
|
@@ -85,6 +85,12 @@ declare namespace Components {
|
|
|
85
85
|
export type UpsertComponentRequest = Schemas.BaseComponent;
|
|
86
86
|
}
|
|
87
87
|
namespace Schemas {
|
|
88
|
+
export interface AppBridgeSurfaceConfig {
|
|
89
|
+
/**
|
|
90
|
+
* URL of the uploaded App Bridge App
|
|
91
|
+
*/
|
|
92
|
+
app_url: string;
|
|
93
|
+
}
|
|
88
94
|
export interface Audit {
|
|
89
95
|
/**
|
|
90
96
|
* Timestamp of the creation
|
|
@@ -567,6 +573,9 @@ declare namespace Components {
|
|
|
567
573
|
export interface CustomFlowActionComponent {
|
|
568
574
|
component_type: "CUSTOM_FLOW_ACTION";
|
|
569
575
|
configuration: CustomFlowConfig;
|
|
576
|
+
surfaces?: {
|
|
577
|
+
flow_action_config?: AppBridgeSurfaceConfig;
|
|
578
|
+
};
|
|
570
579
|
}
|
|
571
580
|
export type CustomFlowConfig = ExternalIntegrationCustomActionConfig;
|
|
572
581
|
export interface EnumArg {
|
|
@@ -713,6 +722,10 @@ declare namespace Components {
|
|
|
713
722
|
*/
|
|
714
723
|
updated_by?: string;
|
|
715
724
|
};
|
|
725
|
+
/**
|
|
726
|
+
* Manifest ID used to create/update the entity
|
|
727
|
+
*/
|
|
728
|
+
_manifest?: string /* uuid */[];
|
|
716
729
|
}
|
|
717
730
|
export interface JourneyBlockComponent {
|
|
718
731
|
component_type: "CUSTOM_JOURNEY_BLOCK";
|
|
@@ -1911,6 +1924,7 @@ export interface PathsDictionary {
|
|
|
1911
1924
|
|
|
1912
1925
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
1913
1926
|
|
|
1927
|
+
export type AppBridgeSurfaceConfig = Components.Schemas.AppBridgeSurfaceConfig;
|
|
1914
1928
|
export type Audit = Components.Schemas.Audit;
|
|
1915
1929
|
export type Author = Components.Schemas.Author;
|
|
1916
1930
|
export type BaseComponent = Components.Schemas.BaseComponent;
|
package/dist/openapi.json
CHANGED
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
{
|
|
20
20
|
"url": "https://app.sls.epilot.io"
|
|
21
21
|
},
|
|
22
|
+
{
|
|
23
|
+
"url": "https://app.sls.epilot.io"
|
|
24
|
+
},
|
|
22
25
|
{
|
|
23
26
|
"url": "https://app.sls.epilot.io"
|
|
24
27
|
}
|
|
@@ -1521,6 +1524,14 @@
|
|
|
1521
1524
|
},
|
|
1522
1525
|
"configuration": {
|
|
1523
1526
|
"$ref": "#/components/schemas/CustomFlowConfig"
|
|
1527
|
+
},
|
|
1528
|
+
"surfaces": {
|
|
1529
|
+
"type": "object",
|
|
1530
|
+
"properties": {
|
|
1531
|
+
"flow_action_config": {
|
|
1532
|
+
"$ref": "#/components/schemas/AppBridgeSurfaceConfig"
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1524
1535
|
}
|
|
1525
1536
|
}
|
|
1526
1537
|
},
|
|
@@ -1774,6 +1785,18 @@
|
|
|
1774
1785
|
}
|
|
1775
1786
|
}
|
|
1776
1787
|
},
|
|
1788
|
+
"AppBridgeSurfaceConfig": {
|
|
1789
|
+
"type": "object",
|
|
1790
|
+
"properties": {
|
|
1791
|
+
"app_url": {
|
|
1792
|
+
"type": "string",
|
|
1793
|
+
"description": "URL of the uploaded App Bridge App"
|
|
1794
|
+
}
|
|
1795
|
+
},
|
|
1796
|
+
"required": [
|
|
1797
|
+
"app_url"
|
|
1798
|
+
]
|
|
1799
|
+
},
|
|
1777
1800
|
"JourneyBlockComponentArgs": {
|
|
1778
1801
|
"allOf": [
|
|
1779
1802
|
{
|
|
@@ -2268,6 +2291,15 @@
|
|
|
2268
2291
|
"$ref": "#/components/schemas/Audit"
|
|
2269
2292
|
}
|
|
2270
2293
|
]
|
|
2294
|
+
},
|
|
2295
|
+
"_manifest": {
|
|
2296
|
+
"type": "array",
|
|
2297
|
+
"description": "Manifest ID used to create/update the entity",
|
|
2298
|
+
"items": {
|
|
2299
|
+
"type": "string",
|
|
2300
|
+
"format": "uuid",
|
|
2301
|
+
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
2302
|
+
}
|
|
2271
2303
|
}
|
|
2272
2304
|
}
|
|
2273
2305
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/app-client",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6-rc.1",
|
|
4
4
|
"description": "JavaScript client library for the epilot App API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"test": "jest",
|
|
26
26
|
"typescript": "tsc",
|
|
27
27
|
"bundle-definition": "webpack",
|
|
28
|
-
"openapi": "node ../../scripts/update-openapi.js
|
|
28
|
+
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/app.yaml",
|
|
29
29
|
"typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
|
|
30
30
|
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
31
31
|
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|