@epilot/app-client 0.9.8 → 0.10.0
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 +32 -1
- package/dist/openapi.json +46 -1
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -821,7 +821,7 @@ declare namespace Components {
|
|
|
821
821
|
flow_action_config?: AppBridgeSurfaceConfig;
|
|
822
822
|
};
|
|
823
823
|
}
|
|
824
|
-
export type CustomFlowConfig = ExternalIntegrationCustomActionConfig;
|
|
824
|
+
export type CustomFlowConfig = ExternalIntegrationCustomActionConfig | SandboxCustomActionConfig;
|
|
825
825
|
export interface EnumArg {
|
|
826
826
|
type?: "enum";
|
|
827
827
|
/**
|
|
@@ -1379,6 +1379,10 @@ declare namespace Components {
|
|
|
1379
1379
|
type: "contractIdentification";
|
|
1380
1380
|
auth?: PortalExtensionAuthBlock;
|
|
1381
1381
|
call: {
|
|
1382
|
+
/**
|
|
1383
|
+
* HTTP method to use for the call
|
|
1384
|
+
*/
|
|
1385
|
+
method?: string;
|
|
1382
1386
|
/**
|
|
1383
1387
|
* URL to call. Supports variable interpolation.
|
|
1384
1388
|
*/
|
|
@@ -1595,6 +1599,10 @@ declare namespace Components {
|
|
|
1595
1599
|
type: "registrationIdentifiersCheck";
|
|
1596
1600
|
auth?: PortalExtensionAuthBlock;
|
|
1597
1601
|
call: {
|
|
1602
|
+
/**
|
|
1603
|
+
* HTTP method to use for the call
|
|
1604
|
+
*/
|
|
1605
|
+
method?: string;
|
|
1598
1606
|
/**
|
|
1599
1607
|
* URL to call. Supports variable interpolation.
|
|
1600
1608
|
*/
|
|
@@ -1799,6 +1807,28 @@ declare namespace Components {
|
|
|
1799
1807
|
*/
|
|
1800
1808
|
key: string;
|
|
1801
1809
|
}
|
|
1810
|
+
export interface SandboxCustomActionConfig {
|
|
1811
|
+
/**
|
|
1812
|
+
* Name of the custom action
|
|
1813
|
+
*/
|
|
1814
|
+
name?: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* Description of the custom action
|
|
1817
|
+
*/
|
|
1818
|
+
description?: string;
|
|
1819
|
+
/**
|
|
1820
|
+
* Wait for callback_url to be called before completing the action
|
|
1821
|
+
*/
|
|
1822
|
+
wait_for_callback?: boolean;
|
|
1823
|
+
type: "sandbox";
|
|
1824
|
+
sandbox_settings?: {
|
|
1825
|
+
/**
|
|
1826
|
+
* JavaScript code to execute for the sandbox action. Maximum size: 300KB (hard limit). Code is stored as raw JavaScript and will be syntax-validated on save. Security restrictions: eval() and Function() constructor are not allowed.
|
|
1827
|
+
*
|
|
1828
|
+
*/
|
|
1829
|
+
code?: string;
|
|
1830
|
+
};
|
|
1831
|
+
}
|
|
1802
1832
|
export interface TextArg {
|
|
1803
1833
|
type?: "text";
|
|
1804
1834
|
}
|
|
@@ -3040,5 +3070,6 @@ export type RawEvents = Components.Schemas.RawEvents;
|
|
|
3040
3070
|
export type Review = Components.Schemas.Review;
|
|
3041
3071
|
export type Role = Components.Schemas.Role;
|
|
3042
3072
|
export type S3Reference = Components.Schemas.S3Reference;
|
|
3073
|
+
export type SandboxCustomActionConfig = Components.Schemas.SandboxCustomActionConfig;
|
|
3043
3074
|
export type TextArg = Components.Schemas.TextArg;
|
|
3044
3075
|
export type TranslatedString = Components.Schemas.TranslatedString;
|
package/dist/openapi.json
CHANGED
|
@@ -2070,17 +2070,52 @@
|
|
|
2070
2070
|
}
|
|
2071
2071
|
]
|
|
2072
2072
|
},
|
|
2073
|
+
"SandboxCustomActionConfig": {
|
|
2074
|
+
"allOf": [
|
|
2075
|
+
{
|
|
2076
|
+
"$ref": "#/components/schemas/BaseCustomActionConfig"
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
"type": "object",
|
|
2080
|
+
"properties": {
|
|
2081
|
+
"type": {
|
|
2082
|
+
"type": "string",
|
|
2083
|
+
"enum": [
|
|
2084
|
+
"sandbox"
|
|
2085
|
+
]
|
|
2086
|
+
},
|
|
2087
|
+
"sandbox_settings": {
|
|
2088
|
+
"type": "object",
|
|
2089
|
+
"properties": {
|
|
2090
|
+
"code": {
|
|
2091
|
+
"type": "string",
|
|
2092
|
+
"description": "JavaScript code to execute for the sandbox action. Maximum size: 300KB (hard limit). Code is stored as raw JavaScript and will be syntax-validated on save. Security restrictions: eval() and Function() constructor are not allowed.\n",
|
|
2093
|
+
"maxLength": 307200
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
}
|
|
2097
|
+
},
|
|
2098
|
+
"required": [
|
|
2099
|
+
"type"
|
|
2100
|
+
]
|
|
2101
|
+
}
|
|
2102
|
+
]
|
|
2103
|
+
},
|
|
2073
2104
|
"CustomFlowConfig": {
|
|
2074
2105
|
"type": "object",
|
|
2075
2106
|
"oneOf": [
|
|
2076
2107
|
{
|
|
2077
2108
|
"$ref": "#/components/schemas/ExternalIntegrationCustomActionConfig"
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"$ref": "#/components/schemas/SandboxCustomActionConfig"
|
|
2078
2112
|
}
|
|
2079
2113
|
],
|
|
2080
2114
|
"discriminator": {
|
|
2081
2115
|
"propertyName": "type",
|
|
2082
2116
|
"mapping": {
|
|
2083
|
-
"external_integration": "#/components/schemas/ExternalIntegrationCustomActionConfig"
|
|
2117
|
+
"external_integration": "#/components/schemas/ExternalIntegrationCustomActionConfig",
|
|
2118
|
+
"sandbox": "#/components/schemas/SandboxCustomActionConfig"
|
|
2084
2119
|
}
|
|
2085
2120
|
}
|
|
2086
2121
|
},
|
|
@@ -2184,6 +2219,11 @@
|
|
|
2184
2219
|
"call": {
|
|
2185
2220
|
"type": "object",
|
|
2186
2221
|
"properties": {
|
|
2222
|
+
"method": {
|
|
2223
|
+
"type": "string",
|
|
2224
|
+
"description": "HTTP method to use for the call",
|
|
2225
|
+
"default": "POST"
|
|
2226
|
+
},
|
|
2187
2227
|
"url": {
|
|
2188
2228
|
"type": "string",
|
|
2189
2229
|
"description": "URL to call. Supports variable interpolation."
|
|
@@ -2248,6 +2288,11 @@
|
|
|
2248
2288
|
"call": {
|
|
2249
2289
|
"type": "object",
|
|
2250
2290
|
"properties": {
|
|
2291
|
+
"method": {
|
|
2292
|
+
"type": "string",
|
|
2293
|
+
"description": "HTTP method to use for the call",
|
|
2294
|
+
"default": "POST"
|
|
2295
|
+
},
|
|
2251
2296
|
"url": {
|
|
2252
2297
|
"type": "string",
|
|
2253
2298
|
"description": "URL to call. Supports variable interpolation."
|