@epilot/sdk 2.18.16 → 2.18.18

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.
Files changed (138) hide show
  1. package/definitions/app.json +34 -17
  2. package/definitions/configuration-hub-runtime.json +1 -1
  3. package/definitions/configuration-hub.json +1064 -48
  4. package/dist/apis/access-token.cjs +6 -6
  5. package/dist/apis/access-token.js +1 -1
  6. package/dist/apis/address-suggestions.cjs +6 -6
  7. package/dist/apis/address-suggestions.js +1 -1
  8. package/dist/apis/address.cjs +6 -6
  9. package/dist/apis/address.js +1 -1
  10. package/dist/apis/ai-agents.cjs +6 -6
  11. package/dist/apis/ai-agents.js +1 -1
  12. package/dist/apis/app.cjs +6 -6
  13. package/dist/apis/app.d.cts +2 -2
  14. package/dist/apis/app.d.ts +2 -2
  15. package/dist/apis/app.js +1 -1
  16. package/dist/apis/audit-logs.cjs +6 -6
  17. package/dist/apis/audit-logs.js +1 -1
  18. package/dist/apis/automation.cjs +6 -6
  19. package/dist/apis/automation.js +1 -1
  20. package/dist/apis/billing.cjs +6 -6
  21. package/dist/apis/billing.js +1 -1
  22. package/dist/apis/blueprint-manifest.cjs +6 -6
  23. package/dist/apis/blueprint-manifest.js +1 -1
  24. package/dist/apis/calendar.cjs +6 -6
  25. package/dist/apis/calendar.js +1 -1
  26. package/dist/apis/configuration-hub.cjs +8 -8
  27. package/dist/apis/configuration-hub.d.cts +2 -2
  28. package/dist/apis/configuration-hub.d.ts +2 -2
  29. package/dist/apis/configuration-hub.js +2 -2
  30. package/dist/apis/consent.cjs +6 -6
  31. package/dist/apis/consent.js +1 -1
  32. package/dist/apis/customer-portal.cjs +6 -6
  33. package/dist/apis/customer-portal.js +1 -1
  34. package/dist/apis/dashboard.cjs +6 -6
  35. package/dist/apis/dashboard.js +1 -1
  36. package/dist/apis/data-governance.cjs +6 -6
  37. package/dist/apis/data-governance.js +1 -1
  38. package/dist/apis/deduplication.cjs +6 -6
  39. package/dist/apis/deduplication.js +1 -1
  40. package/dist/apis/design.cjs +6 -6
  41. package/dist/apis/design.js +1 -1
  42. package/dist/apis/document.cjs +6 -6
  43. package/dist/apis/document.js +1 -1
  44. package/dist/apis/email-settings.cjs +6 -6
  45. package/dist/apis/email-settings.js +1 -1
  46. package/dist/apis/email-template.cjs +6 -6
  47. package/dist/apis/email-template.js +1 -1
  48. package/dist/apis/entity-mapping.cjs +6 -6
  49. package/dist/apis/entity-mapping.js +1 -1
  50. package/dist/apis/entity.cjs +6 -6
  51. package/dist/apis/entity.js +1 -1
  52. package/dist/apis/environments.cjs +6 -6
  53. package/dist/apis/environments.js +1 -1
  54. package/dist/apis/event-catalog.cjs +6 -6
  55. package/dist/apis/event-catalog.js +1 -1
  56. package/dist/apis/file.cjs +6 -6
  57. package/dist/apis/file.js +1 -1
  58. package/dist/apis/iban.cjs +6 -6
  59. package/dist/apis/iban.js +1 -1
  60. package/dist/apis/integration-toolkit.cjs +6 -6
  61. package/dist/apis/integration-toolkit.js +1 -1
  62. package/dist/apis/journey.cjs +6 -6
  63. package/dist/apis/journey.js +1 -1
  64. package/dist/apis/kanban.cjs +6 -6
  65. package/dist/apis/kanban.js +1 -1
  66. package/dist/apis/message.cjs +6 -6
  67. package/dist/apis/message.js +1 -1
  68. package/dist/apis/metering.cjs +6 -6
  69. package/dist/apis/metering.js +1 -1
  70. package/dist/apis/notes.cjs +6 -6
  71. package/dist/apis/notes.js +1 -1
  72. package/dist/apis/notification.cjs +6 -6
  73. package/dist/apis/notification.js +1 -1
  74. package/dist/apis/organization.cjs +6 -6
  75. package/dist/apis/organization.js +1 -1
  76. package/dist/apis/partner-directory.cjs +6 -6
  77. package/dist/apis/partner-directory.js +1 -1
  78. package/dist/apis/permissions.cjs +6 -6
  79. package/dist/apis/permissions.js +1 -1
  80. package/dist/apis/pricing-tier.cjs +6 -6
  81. package/dist/apis/pricing-tier.js +1 -1
  82. package/dist/apis/pricing.cjs +6 -6
  83. package/dist/apis/pricing.js +1 -1
  84. package/dist/apis/purpose.cjs +6 -6
  85. package/dist/apis/purpose.js +1 -1
  86. package/dist/apis/query.cjs +6 -6
  87. package/dist/apis/query.js +1 -1
  88. package/dist/apis/sandbox.cjs +6 -6
  89. package/dist/apis/sandbox.js +1 -1
  90. package/dist/apis/sharing.cjs +6 -6
  91. package/dist/apis/sharing.js +1 -1
  92. package/dist/apis/snapshot.cjs +6 -6
  93. package/dist/apis/snapshot.js +1 -1
  94. package/dist/apis/submission.cjs +6 -6
  95. package/dist/apis/submission.js +1 -1
  96. package/dist/apis/target.cjs +6 -6
  97. package/dist/apis/target.js +1 -1
  98. package/dist/apis/targeting.cjs +6 -6
  99. package/dist/apis/targeting.js +1 -1
  100. package/dist/apis/template-variables.cjs +6 -6
  101. package/dist/apis/template-variables.js +1 -1
  102. package/dist/apis/user.cjs +6 -6
  103. package/dist/apis/user.js +1 -1
  104. package/dist/apis/validation-rules.cjs +6 -6
  105. package/dist/apis/validation-rules.js +1 -1
  106. package/dist/apis/webhooks.cjs +6 -6
  107. package/dist/apis/webhooks.js +1 -1
  108. package/dist/apis/workflow-definition.cjs +6 -6
  109. package/dist/apis/workflow-definition.js +1 -1
  110. package/dist/apis/workflow.cjs +6 -6
  111. package/dist/apis/workflow.js +1 -1
  112. package/dist/app-IXCUVIHD.js +7 -0
  113. package/dist/app-RKHOTF7Z.cjs +7 -0
  114. package/dist/{app.d-vPrbhe5h.d.cts → app.d-CZDjyxee.d.cts} +22 -15
  115. package/dist/{app.d-vPrbhe5h.d.ts → app.d-CZDjyxee.d.ts} +22 -15
  116. package/dist/chunk-2674L26S.cjs +14 -0
  117. package/dist/{chunk-WCFT56OJ.cjs → chunk-GZMYWGJR.cjs} +3 -3
  118. package/dist/chunk-TH4IM6Q6.js +14 -0
  119. package/dist/{chunk-S7LXTIGZ.js → chunk-WCF2QVZE.js} +3 -3
  120. package/dist/configuration-hub-6TSL5AGX.cjs +7 -0
  121. package/dist/configuration-hub-ZYOLN7ZX.js +7 -0
  122. package/dist/{configuration-hub-runtime-QVLJKEZD.cjs → configuration-hub-runtime-3RFJBODE.cjs} +2 -2
  123. package/dist/{configuration-hub-runtime-CXME7TCX.js → configuration-hub-runtime-EG2OIBXX.js} +1 -1
  124. package/dist/{configuration-hub.d-CbSJDa7k.d.cts → configuration-hub.d-Dv41yC3b.d.cts} +929 -84
  125. package/dist/{configuration-hub.d-CbSJDa7k.d.ts → configuration-hub.d-Dv41yC3b.d.ts} +929 -84
  126. package/dist/index.cjs +10 -10
  127. package/dist/index.d.cts +2 -2
  128. package/dist/index.d.ts +2 -2
  129. package/dist/index.js +2 -2
  130. package/docs/app.md +43 -88
  131. package/docs/configuration-hub.md +967 -40
  132. package/package.json +1 -1
  133. package/dist/app-A7P5LKNL.cjs +0 -7
  134. package/dist/app-EEEBOCVZ.js +0 -7
  135. package/dist/chunk-MOLFG5L4.cjs +0 -14
  136. package/dist/chunk-WW6DVKJR.js +0 -14
  137. package/dist/configuration-hub-E7S4JB2T.js +0 -7
  138. package/dist/configuration-hub-Q5JBYB52.cjs +0 -7
package/dist/index.cjs CHANGED
@@ -117,7 +117,7 @@ var _chunkZ54CI2VScjs = require('./chunk-Z54CI2VS.cjs');
117
117
  var _chunkHBJJOW2Mcjs = require('./chunk-HBJJOW2M.cjs');
118
118
 
119
119
 
120
- var _chunkMOLFG5L4cjs = require('./chunk-MOLFG5L4.cjs');
120
+ var _chunk2674L26Scjs = require('./chunk-2674L26S.cjs');
121
121
 
122
122
 
123
123
  var _chunkBM6NCHPLcjs = require('./chunk-BM6NCHPL.cjs');
@@ -158,7 +158,7 @@ var _chunkADSWGLIVcjs = require('./chunk-ADSWGLIV.cjs');
158
158
 
159
159
 
160
160
 
161
- var _chunkWCFT56OJcjs = require('./chunk-WCFT56OJ.cjs');
161
+ var _chunkGZMYWGJRcjs = require('./chunk-GZMYWGJR.cjs');
162
162
 
163
163
 
164
164
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -225,7 +225,7 @@ var resolveClient = (params) => {
225
225
  }
226
226
  if (!entry.instance) {
227
227
  const definition = entry.loader();
228
- entry.instance = _chunkWCFT56OJcjs.createApiClient.call(void 0, {
228
+ entry.instance = _chunkGZMYWGJRcjs.createApiClient.call(void 0, {
229
229
  definition,
230
230
  token: state.token,
231
231
  headers: state.globalHeaders,
@@ -258,7 +258,7 @@ var resetAllClients = (registry) => {
258
258
  };
259
259
 
260
260
  // src/apis/_registry.ts
261
- var expandDef = (mod) => _chunkWCFT56OJcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
261
+ var expandDef = (mod) => _chunkGZMYWGJRcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
262
262
  var registerBuiltinApis = (registry) => {
263
263
  registerApi({
264
264
  registry,
@@ -313,7 +313,7 @@ var registerBuiltinApis = (registry) => {
313
313
  registerApi({
314
314
  registry,
315
315
  name: "configurationHub",
316
- loader: () => expandDef(_chunkMOLFG5L4cjs.require_configuration_hub_runtime.call(void 0, ))
316
+ loader: () => expandDef(_chunk2674L26Scjs.require_configuration_hub_runtime.call(void 0, ))
317
317
  });
318
318
  registerApi({
319
319
  registry,
@@ -601,9 +601,9 @@ var createSDK = () => {
601
601
  const available = [...registry.keys()].join(", ");
602
602
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
603
603
  }
604
- return _chunkWCFT56OJcjs.createApiHandle.call(void 0, {
604
+ return _chunkGZMYWGJRcjs.createApiHandle.call(void 0, {
605
605
  resolveClient: () => resolveClient({ registry, name, state }),
606
- createClient: () => _chunkWCFT56OJcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
606
+ createClient: () => _chunkGZMYWGJRcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
607
607
  apiName: name
608
608
  });
609
609
  };
@@ -651,9 +651,9 @@ var createSDK = () => {
651
651
  return interceptorUse;
652
652
  }
653
653
  case "help":
654
- return (apiName) => _chunkWCFT56OJcjs.help.call(void 0, apiName);
654
+ return (apiName) => _chunkGZMYWGJRcjs.help.call(void 0, apiName);
655
655
  case "openapi":
656
- return (apiName) => _chunkWCFT56OJcjs.openapi.call(void 0, apiName);
656
+ return (apiName) => _chunkGZMYWGJRcjs.openapi.call(void 0, apiName);
657
657
  case "then":
658
658
  case "catch":
659
659
  case "finally":
@@ -683,4 +683,4 @@ var epilot = createSDK();
683
683
 
684
684
 
685
685
 
686
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkWCFT56OJcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkWCFT56OJcjs.help; exports.openapi = _chunkWCFT56OJcjs.openapi;
686
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkGZMYWGJRcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkGZMYWGJRcjs.help; exports.openapi = _chunkGZMYWGJRcjs.openapi;
package/dist/index.d.cts CHANGED
@@ -7,13 +7,13 @@ import { C as Client } from './access-token.d-BhRUc8I-.cjs';
7
7
  import { C as Client$1 } from './address.d-CwAPOVxa.cjs';
8
8
  import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
9
9
  import { C as Client$3 } from './ai-agents.d-BnR7CAeJ.cjs';
10
- import { C as Client$4 } from './app.d-vPrbhe5h.cjs';
10
+ import { C as Client$4 } from './app.d-CZDjyxee.cjs';
11
11
  import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
12
12
  import { C as Client$6 } from './automation.d-DiWfPkLs.cjs';
13
13
  import { C as Client$7 } from './billing.d-N_1F759g.cjs';
14
14
  import { C as Client$8 } from './blueprint-manifest.d-CjsI-JqR.cjs';
15
15
  import { C as Client$9 } from './calendar.d-Cz8R-GJ5.cjs';
16
- import { C as Client$a } from './configuration-hub.d-CbSJDa7k.cjs';
16
+ import { C as Client$a } from './configuration-hub.d-Dv41yC3b.cjs';
17
17
  import { C as Client$b } from './consent.d-C2PROHhX.cjs';
18
18
  import { C as Client$c } from './customer-portal.d-JVkJjm_e.cjs';
19
19
  import { C as Client$d } from './dashboard.d-BSevFHjf.cjs';
package/dist/index.d.ts CHANGED
@@ -7,13 +7,13 @@ import { C as Client } from './access-token.d-BhRUc8I-.js';
7
7
  import { C as Client$1 } from './address.d-CwAPOVxa.js';
8
8
  import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
9
9
  import { C as Client$3 } from './ai-agents.d-BnR7CAeJ.js';
10
- import { C as Client$4 } from './app.d-vPrbhe5h.js';
10
+ import { C as Client$4 } from './app.d-CZDjyxee.js';
11
11
  import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
12
12
  import { C as Client$6 } from './automation.d-DiWfPkLs.js';
13
13
  import { C as Client$7 } from './billing.d-N_1F759g.js';
14
14
  import { C as Client$8 } from './blueprint-manifest.d-CjsI-JqR.js';
15
15
  import { C as Client$9 } from './calendar.d-Cz8R-GJ5.js';
16
- import { C as Client$a } from './configuration-hub.d-CbSJDa7k.js';
16
+ import { C as Client$a } from './configuration-hub.d-Dv41yC3b.js';
17
17
  import { C as Client$b } from './consent.d-C2PROHhX.js';
18
18
  import { C as Client$c } from './customer-portal.d-JVkJjm_e.js';
19
19
  import { C as Client$d } from './dashboard.d-BSevFHjf.js';
package/dist/index.js CHANGED
@@ -117,7 +117,7 @@ import {
117
117
  } from "./chunk-QEAIJQTE.js";
118
118
  import {
119
119
  require_configuration_hub_runtime
120
- } from "./chunk-WW6DVKJR.js";
120
+ } from "./chunk-TH4IM6Q6.js";
121
121
  import {
122
122
  require_consent_runtime
123
123
  } from "./chunk-2BPBDRRO.js";
@@ -158,7 +158,7 @@ import {
158
158
  expand,
159
159
  help,
160
160
  openapi
161
- } from "./chunk-S7LXTIGZ.js";
161
+ } from "./chunk-WCF2QVZE.js";
162
162
  import {
163
163
  __require
164
164
  } from "./chunk-YPSWSI3M.js";
package/docs/app.md CHANGED
@@ -91,6 +91,7 @@ const { data } = await appClient.getPublicFacingComponent(...)
91
91
  - [`CustomFlowActionComponent`](#customflowactioncomponent)
92
92
  - [`BaseCustomActionConfig`](#basecustomactionconfig)
93
93
  - [`ExternalIntegrationCustomActionConfig`](#externalintegrationcustomactionconfig)
94
+ - [`FunctionRefCustomActionConfig`](#functionrefcustomactionconfig)
94
95
  - [`CustomFlowConfig`](#customflowconfig)
95
96
  - [`ExternalProductCatalogComponent`](#externalproductcatalogcomponent)
96
97
  - [`ExternalProductCatalogConfig`](#externalproductcatalogconfig)
@@ -415,9 +416,7 @@ const { data } = await client.getPublicConfiguration({
415
416
  "schedule": "rate(30 minutes)",
416
417
  "schedule_timezone": "Europe/Berlin",
417
418
  "schedule_overlap": "skip",
418
- "secrets": ["string"],
419
- "wait_for_callback": true,
420
- "surfaces": {}
419
+ "secrets": ["string"]
421
420
  }
422
421
  ],
423
422
  "is_beta": true,
@@ -531,9 +530,7 @@ const { data } = await client.getConfiguration({
531
530
  "schedule": "rate(30 minutes)",
532
531
  "schedule_timezone": "Europe/Berlin",
533
532
  "schedule_overlap": "skip",
534
- "secrets": ["string"],
535
- "wait_for_callback": true,
536
- "surfaces": {}
533
+ "secrets": ["string"]
537
534
  }
538
535
  ],
539
536
  "visibility": "private",
@@ -908,15 +905,7 @@ const { data } = await client.listVersions({
908
905
  "schedule": "rate(30 minutes)",
909
906
  "schedule_timezone": "Europe/Berlin",
910
907
  "schedule_overlap": "skip",
911
- "secrets": ["string"],
912
- "wait_for_callback": true,
913
- "surfaces": {
914
- "flow_action_config": {
915
- "app_url": "string",
916
- "zip_url": "string",
917
- "override_url": "string"
918
- }
919
- }
908
+ "secrets": ["string"]
920
909
  }
921
910
  ],
922
911
  "visibility": "private",
@@ -1032,9 +1021,7 @@ const { data } = await client.getVersion({
1032
1021
  "schedule": "rate(30 minutes)",
1033
1022
  "schedule_timezone": "Europe/Berlin",
1034
1023
  "schedule_overlap": "skip",
1035
- "secrets": ["string"],
1036
- "wait_for_callback": true,
1037
- "surfaces": {}
1024
+ "secrets": ["string"]
1038
1025
  }
1039
1026
  ],
1040
1027
  "visibility": "private",
@@ -1123,15 +1110,7 @@ const { data } = await client.patchVersion(
1123
1110
  schedule: 'rate(30 minutes)',
1124
1111
  schedule_timezone: 'Europe/Berlin',
1125
1112
  schedule_overlap: 'skip',
1126
- secrets: ['string'],
1127
- wait_for_callback: true,
1128
- surfaces: {
1129
- flow_action_config: {
1130
- app_url: 'string',
1131
- zip_url: 'string',
1132
- override_url: 'string'
1133
- }
1134
- }
1113
+ secrets: ['string']
1135
1114
  }
1136
1115
  ]
1137
1116
  },
@@ -1430,15 +1409,7 @@ const { data } = await client.listInstallations({
1430
1409
  "schedule": "rate(30 minutes)",
1431
1410
  "schedule_timezone": "Europe/Berlin",
1432
1411
  "schedule_overlap": "skip",
1433
- "secrets": ["string"],
1434
- "wait_for_callback": true,
1435
- "surfaces": {
1436
- "flow_action_config": {
1437
- "app_url": "string",
1438
- "zip_url": "string",
1439
- "override_url": "string"
1440
- }
1441
- }
1412
+ "secrets": ["string"]
1442
1413
  }
1443
1414
  ],
1444
1415
  "installed_version": "string",
@@ -1538,15 +1509,7 @@ const { data } = await client.getInstallation({
1538
1509
  "schedule": "rate(30 minutes)",
1539
1510
  "schedule_timezone": "Europe/Berlin",
1540
1511
  "schedule_overlap": "skip",
1541
- "secrets": ["string"],
1542
- "wait_for_callback": true,
1543
- "surfaces": {
1544
- "flow_action_config": {
1545
- "app_url": "string",
1546
- "zip_url": "string",
1547
- "override_url": "string"
1548
- }
1549
- }
1512
+ "secrets": ["string"]
1550
1513
  }
1551
1514
  ],
1552
1515
  "installed_version": "string",
@@ -1656,15 +1619,7 @@ const { data } = await client.install(
1656
1619
  "schedule": "rate(30 minutes)",
1657
1620
  "schedule_timezone": "Europe/Berlin",
1658
1621
  "schedule_overlap": "skip",
1659
- "secrets": ["string"],
1660
- "wait_for_callback": true,
1661
- "surfaces": {
1662
- "flow_action_config": {
1663
- "app_url": "string",
1664
- "zip_url": "string",
1665
- "override_url": "string"
1666
- }
1667
- }
1622
+ "secrets": ["string"]
1668
1623
  }
1669
1624
  ],
1670
1625
  "installed_version": "string",
@@ -1803,15 +1758,7 @@ const { data } = await client.promoteVersion({
1803
1758
  "schedule": "rate(30 minutes)",
1804
1759
  "schedule_timezone": "Europe/Berlin",
1805
1760
  "schedule_overlap": "skip",
1806
- "secrets": ["string"],
1807
- "wait_for_callback": true,
1808
- "surfaces": {
1809
- "flow_action_config": {
1810
- "app_url": "string",
1811
- "zip_url": "string",
1812
- "override_url": "string"
1813
- }
1814
- }
1761
+ "secrets": ["string"]
1815
1762
  }
1816
1763
  ],
1817
1764
  "installed_version": "string",
@@ -2072,14 +2019,6 @@ type FunctionDefinition = {
2072
2019
  schedule_timezone?: string
2073
2020
  schedule_overlap?: "skip"
2074
2021
  secrets?: string[]
2075
- wait_for_callback?: boolean
2076
- surfaces?: {
2077
- flow_action_config?: {
2078
- app_url?: { ... }
2079
- zip_url?: { ... }
2080
- override_url?: { ... }
2081
- }
2082
- }
2083
2022
  }
2084
2023
  ```
2085
2024
 
@@ -2307,6 +2246,12 @@ type CustomFlowActionComponent = {
2307
2246
  url?: { ... }
2308
2247
  headers?: { ... }
2309
2248
  }
2249
+ } | {
2250
+ name?: string
2251
+ description?: string
2252
+ wait_for_callback?: boolean
2253
+ type: "function"
2254
+ function_name: string
2310
2255
  }
2311
2256
  surfaces?: {
2312
2257
  flow_action_config?: {
@@ -2343,9 +2288,21 @@ type ExternalIntegrationCustomActionConfig = {
2343
2288
  }
2344
2289
  ```
2345
2290
 
2291
+ ### `FunctionRefCustomActionConfig`
2292
+
2293
+ ```ts
2294
+ type FunctionRefCustomActionConfig = {
2295
+ name?: string
2296
+ description?: string
2297
+ wait_for_callback?: boolean
2298
+ type: "function"
2299
+ function_name: string
2300
+ }
2301
+ ```
2302
+
2346
2303
  ### `CustomFlowConfig`
2347
2304
 
2348
- Configuration of an external-integration flow action. Sandboxed code belongs in the app's `functions` (type `workflow`) instead — workflow functions are selectable directly in the flow builder without a component.
2305
+ Configuration of a flow action component. `external_integration` calls an external HTTP endpoint; `function` runs a workflow-type app function in the epilot sandbox.
2349
2306
 
2350
2307
 
2351
2308
  ```ts
@@ -2358,6 +2315,12 @@ type CustomFlowConfig = {
2358
2315
  url?: string
2359
2316
  headers?: Record<string, unknown>
2360
2317
  }
2318
+ } | {
2319
+ name?: string
2320
+ description?: string
2321
+ wait_for_callback?: boolean
2322
+ type: "function"
2323
+ function_name: string
2361
2324
  }
2362
2325
  ```
2363
2326
 
@@ -3568,10 +3531,6 @@ type ConfigurationVersion = {
3568
3531
  schedule_timezone?: string
3569
3532
  schedule_overlap?: "skip"
3570
3533
  secrets?: string[]
3571
- wait_for_callback?: boolean
3572
- surfaces?: {
3573
- flow_action_config?: { ... }
3574
- }
3575
3534
  }>
3576
3535
  visibility?: "public" | "private"
3577
3536
  public?: boolean
@@ -3697,10 +3656,6 @@ type Installation = {
3697
3656
  schedule_timezone?: string
3698
3657
  schedule_overlap?: "skip"
3699
3658
  secrets?: string[]
3700
- wait_for_callback?: boolean
3701
- surfaces?: {
3702
- flow_action_config?: { ... }
3703
- }
3704
3659
  }>
3705
3660
  installed_version: string
3706
3661
  role?: string
@@ -3784,10 +3739,6 @@ type PublicConfiguration = {
3784
3739
  schedule_timezone?: string
3785
3740
  schedule_overlap?: "skip"
3786
3741
  secrets?: string[]
3787
- wait_for_callback?: boolean
3788
- surfaces?: {
3789
- flow_action_config?: { ... }
3790
- }
3791
3742
  }>
3792
3743
  is_beta?: boolean
3793
3744
  deprecated_at?: string
@@ -3824,6 +3775,10 @@ type PublicConfiguration = {
3824
3775
  code: { ... }
3825
3776
  schedule?: { ... }
3826
3777
  schedule_timezone?: { ... }
3778
+ schedule_overlap?: { ... }
3779
+ secrets?: { ... }
3780
+ }>
3781
+ visibility?: "public" | "private"
3827
3782
  // ...
3828
3783
  }
3829
3784
  ```
@@ -3907,10 +3862,6 @@ type Configuration = {
3907
3862
  schedule_timezone?: string
3908
3863
  schedule_overlap?: "skip"
3909
3864
  secrets?: string[]
3910
- wait_for_callback?: boolean
3911
- surfaces?: {
3912
- flow_action_config?: { ... }
3913
- }
3914
3865
  }>
3915
3866
  visibility?: "public" | "private"
3916
3867
  public?: boolean
@@ -3933,6 +3884,10 @@ type Configuration = {
3933
3884
  source_blueprint_file?: string
3934
3885
  }
3935
3886
  version_audit: {
3887
+ created_at?: string
3888
+ created_by?: string
3889
+ updated_at?: string
3890
+ updated_by?: string
3936
3891
  // ...
3937
3892
  }
3938
3893
  ```