@epilot/sdk 2.20.19 → 2.20.21
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/definitions/automation-runtime.json +1 -1
- package/definitions/automation.json +64 -179
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +1102 -106
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +8 -8
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +2 -2
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/automation-FTFGFHT7.cjs +7 -0
- package/dist/automation-HJGT6QK5.js +7 -0
- package/dist/{automation-runtime-Y52HM57N.js → automation-runtime-ORW5BVCD.js} +1 -1
- package/dist/{automation-runtime-KLCXZKEC.cjs → automation-runtime-RM5EOZH2.cjs} +2 -2
- package/dist/{automation.d-D8JxyoFa.d.cts → automation.d-Bp45eKlU.d.cts} +111 -178
- package/dist/{automation.d-D8JxyoFa.d.ts → automation.d-Bp45eKlU.d.ts} +111 -178
- package/dist/{chunk-ACIBIJN5.js → chunk-6LUOXPO4.js} +4 -4
- package/dist/chunk-766NNARL.cjs +14 -0
- package/dist/chunk-ADSWGLIV.cjs +14 -0
- package/dist/{chunk-5EIG7AKU.cjs → chunk-CKLXVVGF.cjs} +4 -4
- package/dist/chunk-I67RRULD.js +14 -0
- package/dist/chunk-LCE7N4ZL.js +14 -0
- package/dist/customer-portal-2K3FXGI4.cjs +7 -0
- package/dist/customer-portal-QU3C24B4.js +7 -0
- package/dist/{customer-portal-runtime-UVMYBCJL.cjs → customer-portal-runtime-5YBPM5TU.cjs} +2 -2
- package/dist/{customer-portal-runtime-PIBTR7QG.js → customer-portal-runtime-5Z5NO6FH.js} +1 -1
- package/dist/{customer-portal.d-gb6dOHv3.d.cts → customer-portal.d-DF4g7c3i.d.cts} +7812 -5245
- package/dist/{customer-portal.d-gb6dOHv3.d.ts → customer-portal.d-DF4g7c3i.d.ts} +7812 -5245
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/docs/automation.md +93 -87
- package/docs/customer-portal.md +1443 -127
- package/package.json +1 -1
- package/dist/automation-23XNDPBF.cjs +0 -7
- package/dist/automation-OMESM3H3.js +0 -7
- package/dist/chunk-GB2OJK7Z.js +0 -14
- package/dist/chunk-Q35SXSWS.cjs +0 -14
- package/dist/chunk-QW3ROE6H.js +0 -14
- package/dist/chunk-WOUASZJW.cjs +0 -14
- package/dist/customer-portal-FDB3TGS7.cjs +0 -7
- package/dist/customer-portal-NELL7GRO.js +0 -7
package/dist/index.cjs
CHANGED
|
@@ -123,7 +123,7 @@ var _chunk2674L26Scjs = require('./chunk-2674L26S.cjs');
|
|
|
123
123
|
var _chunkBM6NCHPLcjs = require('./chunk-BM6NCHPL.cjs');
|
|
124
124
|
|
|
125
125
|
|
|
126
|
-
var
|
|
126
|
+
var _chunk766NNARLcjs = require('./chunk-766NNARL.cjs');
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
var _chunkVMCF5R6Rcjs = require('./chunk-VMCF5R6R.cjs');
|
|
@@ -150,7 +150,7 @@ var _chunkN2P6RELZcjs = require('./chunk-N2P6RELZ.cjs');
|
|
|
150
150
|
var _chunkRUZRPIHWcjs = require('./chunk-RUZRPIHW.cjs');
|
|
151
151
|
|
|
152
152
|
|
|
153
|
-
var
|
|
153
|
+
var _chunkADSWGLIVcjs = require('./chunk-ADSWGLIV.cjs');
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
|
|
@@ -158,7 +158,7 @@ var _chunkWOUASZJWcjs = require('./chunk-WOUASZJW.cjs');
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
var
|
|
161
|
+
var _chunkCKLXVVGFcjs = require('./chunk-CKLXVVGF.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 =
|
|
228
|
+
entry.instance = _chunkCKLXVVGFcjs.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) =>
|
|
261
|
+
var expandDef = (mod) => _chunkCKLXVVGFcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
262
262
|
var registerBuiltinApis = (registry) => {
|
|
263
263
|
registerApi({
|
|
264
264
|
registry,
|
|
@@ -293,7 +293,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
293
293
|
registerApi({
|
|
294
294
|
registry,
|
|
295
295
|
name: "automation",
|
|
296
|
-
loader: () => expandDef(
|
|
296
|
+
loader: () => expandDef(_chunkADSWGLIVcjs.require_automation_runtime.call(void 0, ))
|
|
297
297
|
});
|
|
298
298
|
registerApi({
|
|
299
299
|
registry,
|
|
@@ -323,7 +323,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
323
323
|
registerApi({
|
|
324
324
|
registry,
|
|
325
325
|
name: "customerPortal",
|
|
326
|
-
loader: () => expandDef(
|
|
326
|
+
loader: () => expandDef(_chunk766NNARLcjs.require_customer_portal_runtime.call(void 0, ))
|
|
327
327
|
});
|
|
328
328
|
registerApi({
|
|
329
329
|
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
|
|
604
|
+
return _chunkCKLXVVGFcjs.createApiHandle.call(void 0, {
|
|
605
605
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
606
|
-
createClient: () =>
|
|
606
|
+
createClient: () => _chunkCKLXVVGFcjs.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) =>
|
|
654
|
+
return (apiName) => _chunkCKLXVVGFcjs.help.call(void 0, apiName);
|
|
655
655
|
case "openapi":
|
|
656
|
-
return (apiName) =>
|
|
656
|
+
return (apiName) => _chunkCKLXVVGFcjs.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 =
|
|
686
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkCKLXVVGFcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkCKLXVVGFcjs.help; exports.openapi = _chunkCKLXVVGFcjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -9,13 +9,13 @@ import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
|
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-B3TkP4mo.cjs';
|
|
10
10
|
import { C as Client$4 } from './app.d-CqXqNLxq.cjs';
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
|
|
12
|
-
import { C as Client$6 } from './automation.d-
|
|
12
|
+
import { C as Client$6 } from './automation.d-Bp45eKlU.cjs';
|
|
13
13
|
import { C as Client$7 } from './billing.d-DA3sViEF.cjs';
|
|
14
14
|
import { C as Client$8 } from './blueprint-manifest.d-B8YKYzSJ.cjs';
|
|
15
15
|
import { C as Client$9 } from './calendar.d-mk-ltGpk.cjs';
|
|
16
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
|
-
import { C as Client$c } from './customer-portal.d-
|
|
18
|
+
import { C as Client$c } from './customer-portal.d-DF4g7c3i.cjs';
|
|
19
19
|
import { C as Client$d } from './dashboard.d-BSevFHjf.cjs';
|
|
20
20
|
import { C as Client$e } from './data-governance.d-BbZ466j5.cjs';
|
|
21
21
|
import { C as Client$f } from './deduplication.d-Cueh8bDD.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -9,13 +9,13 @@ import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
|
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-B3TkP4mo.js';
|
|
10
10
|
import { C as Client$4 } from './app.d-CqXqNLxq.js';
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
|
|
12
|
-
import { C as Client$6 } from './automation.d-
|
|
12
|
+
import { C as Client$6 } from './automation.d-Bp45eKlU.js';
|
|
13
13
|
import { C as Client$7 } from './billing.d-DA3sViEF.js';
|
|
14
14
|
import { C as Client$8 } from './blueprint-manifest.d-B8YKYzSJ.js';
|
|
15
15
|
import { C as Client$9 } from './calendar.d-mk-ltGpk.js';
|
|
16
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
|
-
import { C as Client$c } from './customer-portal.d-
|
|
18
|
+
import { C as Client$c } from './customer-portal.d-DF4g7c3i.js';
|
|
19
19
|
import { C as Client$d } from './dashboard.d-BSevFHjf.js';
|
|
20
20
|
import { C as Client$e } from './data-governance.d-BbZ466j5.js';
|
|
21
21
|
import { C as Client$f } from './deduplication.d-Cueh8bDD.js';
|
package/dist/index.js
CHANGED
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
} from "./chunk-2BPBDRRO.js";
|
|
124
124
|
import {
|
|
125
125
|
require_customer_portal_runtime
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-I67RRULD.js";
|
|
127
127
|
import {
|
|
128
128
|
require_dashboard_runtime
|
|
129
129
|
} from "./chunk-TIRWWTDP.js";
|
|
@@ -150,7 +150,7 @@ import {
|
|
|
150
150
|
} from "./chunk-RELUU5QZ.js";
|
|
151
151
|
import {
|
|
152
152
|
require_automation_runtime
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-LCE7N4ZL.js";
|
|
154
154
|
import {
|
|
155
155
|
authorize,
|
|
156
156
|
createApiClient,
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
expand,
|
|
159
159
|
help,
|
|
160
160
|
openapi
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-6LUOXPO4.js";
|
|
162
162
|
import {
|
|
163
163
|
__require
|
|
164
164
|
} from "./chunk-YPSWSI3M.js";
|
package/docs/automation.md
CHANGED
|
@@ -146,8 +146,6 @@ const { data } = await automationClient.searchFlows(...)
|
|
|
146
146
|
- [`TriggerEventEntityActivity`](#triggerevententityactivity)
|
|
147
147
|
- [`TriggerEventMessaging`](#triggereventmessaging)
|
|
148
148
|
- [`TriggerEventEntityOperation`](#triggerevententityoperation)
|
|
149
|
-
- [`TriggerEventEventCatalog`](#triggereventeventcatalog)
|
|
150
|
-
- [`TriggerEventPayloadRef`](#triggereventpayloadref)
|
|
151
149
|
- [`ApiCallerContext`](#apicallercontext)
|
|
152
150
|
- [`ExecutionStatus`](#executionstatus)
|
|
153
151
|
- [`GetExecutionsResp`](#getexecutionsresp)
|
|
@@ -177,7 +175,6 @@ const { data } = await automationClient.searchFlows(...)
|
|
|
177
175
|
- [`EntitySearchFilter`](#entitysearchfilter)
|
|
178
176
|
- [`EntitySearchFilterValue`](#entitysearchfiltervalue)
|
|
179
177
|
- [`EntityManualTrigger`](#entitymanualtrigger)
|
|
180
|
-
- [`EventCatalogTrigger`](#eventcatalogtrigger)
|
|
181
178
|
- [`TriggerCondition`](#triggercondition)
|
|
182
179
|
- [`Comparison`](#comparison)
|
|
183
180
|
- [`FilterConditionOnEvent`](#filterconditiononevent)
|
|
@@ -213,7 +210,6 @@ const { data } = await client.searchFlows({
|
|
|
213
210
|
from: 1,
|
|
214
211
|
trigger_source_id: 'example',
|
|
215
212
|
target_workflow: 'example',
|
|
216
|
-
trigger_event_name: 'example',
|
|
217
213
|
include_flows: true,
|
|
218
214
|
})
|
|
219
215
|
```
|
|
@@ -1320,16 +1316,6 @@ type AutomationFlow = {
|
|
|
1320
1316
|
configuration?: {
|
|
1321
1317
|
journey_id?: { ... }
|
|
1322
1318
|
}
|
|
1323
|
-
} | {
|
|
1324
|
-
id?: string // uuid
|
|
1325
|
-
type: "event_catalog"
|
|
1326
|
-
configuration: {
|
|
1327
|
-
event_name: { ... }
|
|
1328
|
-
event_version: { ... }
|
|
1329
|
-
entity_node_id: { ... }
|
|
1330
|
-
entity_schema: { ... }
|
|
1331
|
-
ignore_automation_triggered?: { ... }
|
|
1332
|
-
}
|
|
1333
1319
|
}>
|
|
1334
1320
|
trigger_conditions?: Array<{
|
|
1335
1321
|
source: string
|
|
@@ -1350,6 +1336,16 @@ type AutomationFlow = {
|
|
|
1350
1336
|
allow_failure?: boolean
|
|
1351
1337
|
statements?: Array<{
|
|
1352
1338
|
id?: { ... }
|
|
1339
|
+
source?: { ... }
|
|
1340
|
+
operation?: { ... }
|
|
1341
|
+
values?: { ... }
|
|
1342
|
+
}>
|
|
1343
|
+
}>
|
|
1344
|
+
schedules?: Array<{
|
|
1345
|
+
id: string
|
|
1346
|
+
scheduleApiId?: string
|
|
1347
|
+
numberOfUnits?: number
|
|
1348
|
+
timePeriod?: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
1353
1349
|
// ...
|
|
1354
1350
|
}
|
|
1355
1351
|
```
|
|
@@ -1412,10 +1408,6 @@ type SearchAutomationsResp = {
|
|
|
1412
1408
|
id?: { ... }
|
|
1413
1409
|
type: { ... }
|
|
1414
1410
|
configuration?: { ... }
|
|
1415
|
-
} | {
|
|
1416
|
-
id?: { ... }
|
|
1417
|
-
type: { ... }
|
|
1418
|
-
configuration: { ... }
|
|
1419
1411
|
}>
|
|
1420
1412
|
trigger_conditions?: Array<{
|
|
1421
1413
|
source: { ... }
|
|
@@ -1465,6 +1457,10 @@ type SearchAutomationsResp = {
|
|
|
1465
1457
|
type?: { ... }
|
|
1466
1458
|
config?: { ... }
|
|
1467
1459
|
} | {
|
|
1460
|
+
type?: { ... }
|
|
1461
|
+
config?: { ... }
|
|
1462
|
+
} | {
|
|
1463
|
+
type?: { ... }
|
|
1468
1464
|
// ...
|
|
1469
1465
|
}
|
|
1470
1466
|
```
|
|
@@ -1540,16 +1536,6 @@ type AnyTrigger = {
|
|
|
1540
1536
|
configuration?: {
|
|
1541
1537
|
journey_id?: string // uuid
|
|
1542
1538
|
}
|
|
1543
|
-
} | {
|
|
1544
|
-
id?: string // uuid
|
|
1545
|
-
type: "event_catalog"
|
|
1546
|
-
configuration: {
|
|
1547
|
-
event_name: string
|
|
1548
|
-
event_version: string
|
|
1549
|
-
entity_node_id: string
|
|
1550
|
-
entity_schema: string
|
|
1551
|
-
ignore_automation_triggered?: boolean
|
|
1552
|
-
}
|
|
1553
1539
|
}
|
|
1554
1540
|
```
|
|
1555
1541
|
|
|
@@ -2295,6 +2281,7 @@ type GraphContextEntry = {
|
|
|
2295
2281
|
cardinality?: { ... }
|
|
2296
2282
|
fields?: { ... }
|
|
2297
2283
|
filter?: { ... }
|
|
2284
|
+
optional?: { ... }
|
|
2298
2285
|
}>
|
|
2299
2286
|
edges: Array<{
|
|
2300
2287
|
from: { ... }
|
|
@@ -2326,6 +2313,7 @@ type GraphDefinition = {
|
|
|
2326
2313
|
attribute: { ... }
|
|
2327
2314
|
value: { ... }
|
|
2328
2315
|
}>
|
|
2316
|
+
optional?: boolean
|
|
2329
2317
|
}>
|
|
2330
2318
|
edges: Array<{
|
|
2331
2319
|
from: string
|
|
@@ -2346,6 +2334,7 @@ type GraphNode = {
|
|
|
2346
2334
|
attribute: string
|
|
2347
2335
|
value: string | number | boolean
|
|
2348
2336
|
}>
|
|
2337
|
+
optional?: boolean
|
|
2349
2338
|
}
|
|
2350
2339
|
```
|
|
2351
2340
|
|
|
@@ -2594,7 +2583,31 @@ type AssignEntityConfig = {
|
|
|
2594
2583
|
email?: string
|
|
2595
2584
|
}>
|
|
2596
2585
|
write_mode?: "replace" | "append"
|
|
2597
|
-
assignment_type?: "direct"
|
|
2586
|
+
assignment_type?: "direct" | "sequential" | "even_distribution"
|
|
2587
|
+
candidate_group?: {
|
|
2588
|
+
type: "user" | "partner_user" | "partner_organization" | "group"
|
|
2589
|
+
user_id?: string
|
|
2590
|
+
group_id?: string
|
|
2591
|
+
org_id?: string
|
|
2592
|
+
partner_id?: string
|
|
2593
|
+
display_name?: string
|
|
2594
|
+
email?: string
|
|
2595
|
+
}
|
|
2596
|
+
reset_interval?: "daily" | "weekly" | "monthly" | "never"
|
|
2597
|
+
workload_filter?: {
|
|
2598
|
+
attribute?: string
|
|
2599
|
+
values?: string[]
|
|
2600
|
+
}
|
|
2601
|
+
fallback?: "leave_unassigned" | "assign_to_fallback"
|
|
2602
|
+
fallback_assignees?: Array<{
|
|
2603
|
+
type: "user" | "partner_user" | "partner_organization" | "group"
|
|
2604
|
+
user_id?: string
|
|
2605
|
+
group_id?: string
|
|
2606
|
+
org_id?: string
|
|
2607
|
+
partner_id?: string
|
|
2608
|
+
display_name?: string
|
|
2609
|
+
email?: string
|
|
2610
|
+
}>
|
|
2598
2611
|
source?: {
|
|
2599
2612
|
id?: string
|
|
2600
2613
|
origin?: "trigger" | "action"
|
|
@@ -2623,7 +2636,31 @@ type AssignEntityActionConfig = {
|
|
|
2623
2636
|
email?: { ... }
|
|
2624
2637
|
}>
|
|
2625
2638
|
write_mode?: "replace" | "append"
|
|
2626
|
-
assignment_type?: "direct"
|
|
2639
|
+
assignment_type?: "direct" | "sequential" | "even_distribution"
|
|
2640
|
+
candidate_group?: {
|
|
2641
|
+
type: { ... }
|
|
2642
|
+
user_id?: { ... }
|
|
2643
|
+
group_id?: { ... }
|
|
2644
|
+
org_id?: { ... }
|
|
2645
|
+
partner_id?: { ... }
|
|
2646
|
+
display_name?: { ... }
|
|
2647
|
+
email?: { ... }
|
|
2648
|
+
}
|
|
2649
|
+
reset_interval?: "daily" | "weekly" | "monthly" | "never"
|
|
2650
|
+
workload_filter?: {
|
|
2651
|
+
attribute?: { ... }
|
|
2652
|
+
values?: { ... }
|
|
2653
|
+
}
|
|
2654
|
+
fallback?: "leave_unassigned" | "assign_to_fallback"
|
|
2655
|
+
fallback_assignees?: Array<{
|
|
2656
|
+
type: { ... }
|
|
2657
|
+
user_id?: { ... }
|
|
2658
|
+
group_id?: { ... }
|
|
2659
|
+
org_id?: { ... }
|
|
2660
|
+
partner_id?: { ... }
|
|
2661
|
+
display_name?: { ... }
|
|
2662
|
+
email?: { ... }
|
|
2663
|
+
}>
|
|
2627
2664
|
source?: {
|
|
2628
2665
|
id?: { ... }
|
|
2629
2666
|
origin?: { ... }
|
|
@@ -2660,7 +2697,31 @@ type AssignEntityAction = {
|
|
|
2660
2697
|
email?: { ... }
|
|
2661
2698
|
}>
|
|
2662
2699
|
write_mode?: "replace" | "append"
|
|
2663
|
-
assignment_type?: "direct"
|
|
2700
|
+
assignment_type?: "direct" | "sequential" | "even_distribution"
|
|
2701
|
+
candidate_group?: {
|
|
2702
|
+
type: { ... }
|
|
2703
|
+
user_id?: { ... }
|
|
2704
|
+
group_id?: { ... }
|
|
2705
|
+
org_id?: { ... }
|
|
2706
|
+
partner_id?: { ... }
|
|
2707
|
+
display_name?: { ... }
|
|
2708
|
+
email?: { ... }
|
|
2709
|
+
}
|
|
2710
|
+
reset_interval?: "daily" | "weekly" | "monthly" | "never"
|
|
2711
|
+
workload_filter?: {
|
|
2712
|
+
attribute?: { ... }
|
|
2713
|
+
values?: { ... }
|
|
2714
|
+
}
|
|
2715
|
+
fallback?: "leave_unassigned" | "assign_to_fallback"
|
|
2716
|
+
fallback_assignees?: Array<{
|
|
2717
|
+
type: { ... }
|
|
2718
|
+
user_id?: { ... }
|
|
2719
|
+
group_id?: { ... }
|
|
2720
|
+
org_id?: { ... }
|
|
2721
|
+
partner_id?: { ... }
|
|
2722
|
+
display_name?: { ... }
|
|
2723
|
+
email?: { ... }
|
|
2724
|
+
}>
|
|
2664
2725
|
source?: {
|
|
2665
2726
|
id?: { ... }
|
|
2666
2727
|
origin?: { ... }
|
|
@@ -3334,7 +3395,7 @@ type ConditionStatement = {
|
|
|
3334
3395
|
source?: {
|
|
3335
3396
|
id?: string
|
|
3336
3397
|
origin?: "trigger" | "action"
|
|
3337
|
-
originType?: "entity" | "workflow" | "journey_block"
|
|
3398
|
+
originType?: "entity" | "workflow" | "journey_block"
|
|
3338
3399
|
schema?: string
|
|
3339
3400
|
attribute?: string
|
|
3340
3401
|
attributeType?: "string" | "text" | "number" | "boolean" | "date" | "datetime" | "tags" | "country" | "email" | "phone" | "product" | "price" | "status" | "relation" | "multiselect" | "select" | "radio" | "relation_user" | "purpose" | "label" | "payment" | "relation_payment_method"
|
|
@@ -3656,42 +3717,6 @@ type TriggerEventEntityOperation = {
|
|
|
3656
3717
|
}
|
|
3657
3718
|
```
|
|
3658
3719
|
|
|
3659
|
-
### `TriggerEventEventCatalog`
|
|
3660
|
-
|
|
3661
|
-
Set on executions started by an Event Catalog event (see EventCatalogTrigger). The full event payload is not stored inline (it may be up to 256 KB) but by reference in `payload_ref`; automation workers hydrate it before every action.
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
```ts
|
|
3665
|
-
type TriggerEventEventCatalog = {
|
|
3666
|
-
type: "event_catalog"
|
|
3667
|
-
org_id: string
|
|
3668
|
-
entity_id: string
|
|
3669
|
-
entity_node_id: string
|
|
3670
|
-
event_id: string
|
|
3671
|
-
event_name: string
|
|
3672
|
-
event_version: string
|
|
3673
|
-
published_version?: string
|
|
3674
|
-
event_time?: string // date-time
|
|
3675
|
-
trigger_source_type?: string
|
|
3676
|
-
trigger_source?: string
|
|
3677
|
-
payload_ref?: {
|
|
3678
|
-
bucket: string
|
|
3679
|
-
key: string
|
|
3680
|
-
}
|
|
3681
|
-
}
|
|
3682
|
-
```
|
|
3683
|
-
|
|
3684
|
-
### `TriggerEventPayloadRef`
|
|
3685
|
-
|
|
3686
|
-
S3 reference to the stored trigger event payload (`_downgrades` stripped, downgraded to the pinned version)
|
|
3687
|
-
|
|
3688
|
-
```ts
|
|
3689
|
-
type TriggerEventPayloadRef = {
|
|
3690
|
-
bucket: string
|
|
3691
|
-
key: string
|
|
3692
|
-
}
|
|
3693
|
-
```
|
|
3694
|
-
|
|
3695
3720
|
### `ApiCallerContext`
|
|
3696
3721
|
|
|
3697
3722
|
```ts
|
|
@@ -4413,25 +4438,6 @@ type EntityManualTrigger = {
|
|
|
4413
4438
|
}
|
|
4414
4439
|
```
|
|
4415
4440
|
|
|
4416
|
-
### `EventCatalogTrigger`
|
|
4417
|
-
|
|
4418
|
-
Starts the flow when an Event Catalog event is published for the organization. The execution runs in the context of one entity from the event's entity graph (`entity_node_id`), and the event payload is available to conditions and actions as the `event` variable context.
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
```ts
|
|
4422
|
-
type EventCatalogTrigger = {
|
|
4423
|
-
id?: string // uuid
|
|
4424
|
-
type: "event_catalog"
|
|
4425
|
-
configuration: {
|
|
4426
|
-
event_name: string
|
|
4427
|
-
event_version: string
|
|
4428
|
-
entity_node_id: string
|
|
4429
|
-
entity_schema: string
|
|
4430
|
-
ignore_automation_triggered?: boolean
|
|
4431
|
-
}
|
|
4432
|
-
}
|
|
4433
|
-
```
|
|
4434
|
-
|
|
4435
4441
|
### `TriggerCondition`
|
|
4436
4442
|
|
|
4437
4443
|
```ts
|