@epilot/sdk 2.20.21 → 2.20.23
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/README.md +1 -0
- package/definitions/automation-runtime.json +1 -1
- package/definitions/automation.json +207 -2
- package/definitions/chat-runtime.json +1 -0
- package/definitions/chat.json +2909 -0
- package/dist/README-7F36AG5O.js +7 -0
- package/dist/README-I7JMAFA4.cjs +7 -0
- package/dist/{_index-D5TTZP5F.cjs → _index-655GNTWT.cjs} +4 -1
- package/dist/{_index-UY46ZN47.js → _index-6FK4PV6Y.js} +3 -0
- 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/chat.cjs +38 -0
- package/dist/apis/chat.d.cts +18 -0
- package/dist/apis/chat.d.ts +18 -0
- package/dist/apis/chat.js +38 -0
- 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 +6 -6
- package/dist/apis/customer-portal.js +1 -1
- 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-CDMOEYVP.cjs +7 -0
- package/dist/automation-XFMSH7Y3.js +7 -0
- package/dist/{automation-runtime-RM5EOZH2.cjs → automation-runtime-KLCXZKEC.cjs} +2 -2
- package/dist/{automation-runtime-ORW5BVCD.js → automation-runtime-Y52HM57N.js} +1 -1
- package/dist/{automation.d-Bp45eKlU.d.cts → automation.d-2biAmiMc.d.cts} +214 -6
- package/dist/{automation.d-Bp45eKlU.d.ts → automation.d-2biAmiMc.d.ts} +214 -6
- package/dist/chat-5EOD2OPN.cjs +7 -0
- package/dist/chat-D5KXPRYY.js +7 -0
- package/dist/chat-runtime-MF35HI2U.js +5 -0
- package/dist/chat-runtime-MYMUFT3Y.cjs +5 -0
- package/dist/chat.d-CQ5eRtNU.d.cts +1544 -0
- package/dist/chat.d-CQ5eRtNU.d.ts +1544 -0
- package/dist/chunk-6ZTP7EQE.js +14 -0
- package/dist/chunk-A5THJ4SF.cjs +14 -0
- package/dist/{chunk-6LUOXPO4.js → chunk-KZXOYL5D.js} +6 -4
- package/dist/chunk-QW3ROE6H.js +14 -0
- package/dist/chunk-WOUASZJW.cjs +14 -0
- package/dist/{chunk-CKLXVVGF.cjs → chunk-YCTBOY3T.cjs} +6 -4
- package/dist/index.cjs +27 -19
- package/dist/index.d.cts +85 -83
- package/dist/index.d.ts +85 -83
- package/dist/index.js +22 -14
- package/docs/automation.md +99 -17
- package/docs/chat.md +695 -0
- package/package.json +10 -1
- package/dist/README-NBWAQWQS.js +0 -7
- package/dist/README-XCIDDEAE.cjs +0 -7
- package/dist/automation-FTFGFHT7.cjs +0 -7
- package/dist/automation-HJGT6QK5.js +0 -7
- package/dist/chunk-ADSWGLIV.cjs +0 -14
- package/dist/chunk-LCE7N4ZL.js +0 -14
package/dist/index.d.ts
CHANGED
|
@@ -9,51 +9,52 @@ 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-2biAmiMc.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
|
-
import { C as Client$a } from './
|
|
17
|
-
import { C as Client$b } from './
|
|
18
|
-
import { C as Client$c } from './
|
|
19
|
-
import { C as Client$d } from './
|
|
20
|
-
import { C as Client$e } from './
|
|
21
|
-
import { C as Client$f } from './
|
|
22
|
-
import { C as Client$g } from './
|
|
23
|
-
import { C as Client$h } from './
|
|
24
|
-
import { C as Client$i } from './
|
|
25
|
-
import { C as Client$j } from './email-
|
|
26
|
-
import { C as Client$k } from './
|
|
27
|
-
import { C as Client$l } from './entity
|
|
28
|
-
import { C as Client$m } from './
|
|
29
|
-
import { C as Client$n } from './
|
|
30
|
-
import { C as Client$o } from './
|
|
31
|
-
import { C as Client$p } from './
|
|
32
|
-
import { C as Client$q } from './
|
|
33
|
-
import { C as Client$r } from './
|
|
34
|
-
import { C as Client$s } from './
|
|
35
|
-
import { C as Client$t } from './
|
|
36
|
-
import { C as Client$u } from './
|
|
37
|
-
import { C as Client$v } from './
|
|
38
|
-
import { C as Client$w } from './
|
|
39
|
-
import { C as Client$x } from './
|
|
40
|
-
import { C as Client$y } from './
|
|
41
|
-
import { C as Client$z } from './
|
|
42
|
-
import { C as Client$A } from './
|
|
43
|
-
import { C as Client$B } from './pricing
|
|
44
|
-
import { C as Client$C } from './
|
|
45
|
-
import { C as Client$D } from './
|
|
46
|
-
import { C as Client$E } from './
|
|
47
|
-
import { C as Client$F } from './
|
|
48
|
-
import { C as Client$G } from './
|
|
49
|
-
import { C as Client$H } from './
|
|
50
|
-
import { C as Client$I } from './
|
|
51
|
-
import { C as Client$J } from './
|
|
52
|
-
import { C as Client$K } from './
|
|
53
|
-
import { C as Client$L } from './
|
|
54
|
-
import { C as Client$M } from './
|
|
55
|
-
import { C as Client$N } from './
|
|
56
|
-
import { C as Client$O } from './workflow
|
|
16
|
+
import { C as Client$a } from './chat.d-CQ5eRtNU.js';
|
|
17
|
+
import { C as Client$b } from './configuration-hub.d-Dv41yC3b.js';
|
|
18
|
+
import { C as Client$c } from './consent.d-C2PROHhX.js';
|
|
19
|
+
import { C as Client$d } from './customer-portal.d-DF4g7c3i.js';
|
|
20
|
+
import { C as Client$e } from './dashboard.d-BSevFHjf.js';
|
|
21
|
+
import { C as Client$f } from './data-governance.d-BbZ466j5.js';
|
|
22
|
+
import { C as Client$g } from './deduplication.d-Cueh8bDD.js';
|
|
23
|
+
import { C as Client$h } from './design.d-CYHbiaq_.js';
|
|
24
|
+
import { C as Client$i } from './document.d-DN37pjdx.js';
|
|
25
|
+
import { C as Client$j } from './email-settings.d-DViLYaOl.js';
|
|
26
|
+
import { C as Client$k } from './email-template.d-gtQkdaXM.js';
|
|
27
|
+
import { C as Client$l } from './entity.d-GfKqzFGA.js';
|
|
28
|
+
import { C as Client$m } from './entity-mapping.d-CQv75o8M.js';
|
|
29
|
+
import { C as Client$n } from './environments.d-qL1urwAq.js';
|
|
30
|
+
import { C as Client$o } from './event-catalog.d-CCE1qmBN.js';
|
|
31
|
+
import { C as Client$p } from './file.d-DELNV63w.js';
|
|
32
|
+
import { C as Client$q } from './iban.d-BwdiGbxi.js';
|
|
33
|
+
import { C as Client$r } from './integration-toolkit.d-bhpB79pc.js';
|
|
34
|
+
import { C as Client$s } from './journey.d-DvwLALwc.js';
|
|
35
|
+
import { C as Client$t } from './kanban.d-BHnSRCYW.js';
|
|
36
|
+
import { C as Client$u } from './message.d-DwnqO-Us.js';
|
|
37
|
+
import { C as Client$v } from './metering.d-DomHYl06.js';
|
|
38
|
+
import { C as Client$w } from './notes.d-rbcyHfiB.js';
|
|
39
|
+
import { C as Client$x } from './notification.d-r89Jec85.js';
|
|
40
|
+
import { C as Client$y } from './organization.d-DqwnNxMg.js';
|
|
41
|
+
import { C as Client$z } from './partner-directory.d-BCIjHoGs.js';
|
|
42
|
+
import { C as Client$A } from './permissions.d-BKoyMhU7.js';
|
|
43
|
+
import { C as Client$B } from './pricing.d-CuF7KcXt.js';
|
|
44
|
+
import { C as Client$C } from './pricing-tier.d-Cg0jl6n_.js';
|
|
45
|
+
import { C as Client$D } from './purpose.d-CbIYfTua.js';
|
|
46
|
+
import { C as Client$E } from './query.d-Cmp78IhZ.js';
|
|
47
|
+
import { C as Client$F } from './sandbox.d-BdbOFzDu.js';
|
|
48
|
+
import { C as Client$G } from './sharing.d-sOXq-gtz.js';
|
|
49
|
+
import { C as Client$H } from './snapshot.d-DT0zg2CS.js';
|
|
50
|
+
import { C as Client$I } from './submission.d-BamwfhXw.js';
|
|
51
|
+
import { C as Client$J } from './targeting.d-BYVSahmV.js';
|
|
52
|
+
import { C as Client$K } from './template-variables.d-Ble9TSBa.js';
|
|
53
|
+
import { C as Client$L } from './user.d-rqYtwsCz.js';
|
|
54
|
+
import { C as Client$M } from './validation-rules.d-Bbo90IYn.js';
|
|
55
|
+
import { C as Client$N } from './webhooks.d-DqOEzFsp.js';
|
|
56
|
+
import { C as Client$O } from './workflow.d-5cyNJgVQ.js';
|
|
57
|
+
import { C as Client$P } from './workflow-definition.d-CweGhhBU.js';
|
|
57
58
|
|
|
58
59
|
type SDKClientMap = {
|
|
59
60
|
accessToken: Client;
|
|
@@ -66,47 +67,48 @@ type SDKClientMap = {
|
|
|
66
67
|
billing: Client$7;
|
|
67
68
|
blueprintManifest: Client$8;
|
|
68
69
|
calendar: Client$9;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
70
|
+
chat: Client$a;
|
|
71
|
+
configurationHub: Client$b;
|
|
72
|
+
consent: Client$c;
|
|
73
|
+
customerPortal: Client$d;
|
|
74
|
+
dashboard: Client$e;
|
|
75
|
+
dataGovernance: Client$f;
|
|
76
|
+
deduplication: Client$g;
|
|
77
|
+
design: Client$h;
|
|
78
|
+
document: Client$i;
|
|
79
|
+
emailSettings: Client$j;
|
|
80
|
+
emailTemplate: Client$k;
|
|
81
|
+
entity: Client$l;
|
|
82
|
+
entityMapping: Client$m;
|
|
83
|
+
environments: Client$n;
|
|
84
|
+
eventCatalog: Client$o;
|
|
85
|
+
file: Client$p;
|
|
86
|
+
iban: Client$q;
|
|
87
|
+
integrationToolkit: Client$r;
|
|
88
|
+
journey: Client$s;
|
|
89
|
+
kanban: Client$t;
|
|
90
|
+
message: Client$u;
|
|
91
|
+
metering: Client$v;
|
|
92
|
+
notes: Client$w;
|
|
93
|
+
notification: Client$x;
|
|
94
|
+
organization: Client$y;
|
|
95
|
+
partnerDirectory: Client$z;
|
|
96
|
+
permissions: Client$A;
|
|
97
|
+
pricing: Client$B;
|
|
98
|
+
pricingTier: Client$C;
|
|
99
|
+
purpose: Client$D;
|
|
100
|
+
query: Client$E;
|
|
101
|
+
sandbox: Client$F;
|
|
102
|
+
sharing: Client$G;
|
|
103
|
+
snapshot: Client$H;
|
|
104
|
+
submission: Client$I;
|
|
105
|
+
targeting: Client$J;
|
|
106
|
+
templateVariables: Client$K;
|
|
107
|
+
user: Client$L;
|
|
108
|
+
validationRules: Client$M;
|
|
109
|
+
webhooks: Client$N;
|
|
110
|
+
workflow: Client$O;
|
|
111
|
+
workflowDefinition: Client$P;
|
|
110
112
|
};
|
|
111
113
|
|
|
112
114
|
type LargeResponseConfig = {
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
require_template_variables_runtime
|
|
3
|
+
} from "./chunk-QTR3RH4N.js";
|
|
1
4
|
import {
|
|
2
5
|
require_user_runtime
|
|
3
6
|
} from "./chunk-N254AABZ.js";
|
|
@@ -13,6 +16,9 @@ import {
|
|
|
13
16
|
import {
|
|
14
17
|
require_workflow_runtime
|
|
15
18
|
} from "./chunk-522LYPPW.js";
|
|
19
|
+
import {
|
|
20
|
+
require_purpose_runtime
|
|
21
|
+
} from "./chunk-D7Q4JGN7.js";
|
|
16
22
|
import {
|
|
17
23
|
require_query_runtime
|
|
18
24
|
} from "./chunk-MM5JDJFO.js";
|
|
@@ -32,8 +38,8 @@ import {
|
|
|
32
38
|
require_targeting_runtime
|
|
33
39
|
} from "./chunk-MSFE3E7D.js";
|
|
34
40
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./chunk-
|
|
41
|
+
require_metering_runtime
|
|
42
|
+
} from "./chunk-LE4OZS7T.js";
|
|
37
43
|
import {
|
|
38
44
|
require_notes_runtime
|
|
39
45
|
} from "./chunk-WIQXF7DD.js";
|
|
@@ -56,8 +62,8 @@ import {
|
|
|
56
62
|
require_pricing_runtime
|
|
57
63
|
} from "./chunk-7Q3JW72Y.js";
|
|
58
64
|
import {
|
|
59
|
-
|
|
60
|
-
} from "./chunk-
|
|
65
|
+
require_environments_runtime
|
|
66
|
+
} from "./chunk-2LEEXRJX.js";
|
|
61
67
|
import {
|
|
62
68
|
require_event_catalog_runtime
|
|
63
69
|
} from "./chunk-LTCN52JS.js";
|
|
@@ -80,8 +86,8 @@ import {
|
|
|
80
86
|
require_message_runtime
|
|
81
87
|
} from "./chunk-OT6AETWN.js";
|
|
82
88
|
import {
|
|
83
|
-
|
|
84
|
-
} from "./chunk-
|
|
89
|
+
require_data_governance_runtime
|
|
90
|
+
} from "./chunk-5ED7FB3Q.js";
|
|
85
91
|
import {
|
|
86
92
|
require_deduplication_runtime
|
|
87
93
|
} from "./chunk-5B7KMWW3.js";
|
|
@@ -103,9 +109,6 @@ import {
|
|
|
103
109
|
import {
|
|
104
110
|
require_entity_runtime
|
|
105
111
|
} from "./chunk-ZQU37FR3.js";
|
|
106
|
-
import {
|
|
107
|
-
require_environments_runtime
|
|
108
|
-
} from "./chunk-2LEEXRJX.js";
|
|
109
112
|
import {
|
|
110
113
|
require_billing_runtime
|
|
111
114
|
} from "./chunk-5SAISAQY.js";
|
|
@@ -115,6 +118,9 @@ import {
|
|
|
115
118
|
import {
|
|
116
119
|
require_calendar_runtime
|
|
117
120
|
} from "./chunk-QEAIJQTE.js";
|
|
121
|
+
import {
|
|
122
|
+
require_chat_runtime
|
|
123
|
+
} from "./chunk-6ZTP7EQE.js";
|
|
118
124
|
import {
|
|
119
125
|
require_configuration_hub_runtime
|
|
120
126
|
} from "./chunk-TH4IM6Q6.js";
|
|
@@ -127,9 +133,6 @@ import {
|
|
|
127
133
|
import {
|
|
128
134
|
require_dashboard_runtime
|
|
129
135
|
} from "./chunk-TIRWWTDP.js";
|
|
130
|
-
import {
|
|
131
|
-
require_data_governance_runtime
|
|
132
|
-
} from "./chunk-5ED7FB3Q.js";
|
|
133
136
|
import {
|
|
134
137
|
require_access_token_runtime
|
|
135
138
|
} from "./chunk-TW4SUGOF.js";
|
|
@@ -150,7 +153,7 @@ import {
|
|
|
150
153
|
} from "./chunk-RELUU5QZ.js";
|
|
151
154
|
import {
|
|
152
155
|
require_automation_runtime
|
|
153
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-QW3ROE6H.js";
|
|
154
157
|
import {
|
|
155
158
|
authorize,
|
|
156
159
|
createApiClient,
|
|
@@ -158,7 +161,7 @@ import {
|
|
|
158
161
|
expand,
|
|
159
162
|
help,
|
|
160
163
|
openapi
|
|
161
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-KZXOYL5D.js";
|
|
162
165
|
import {
|
|
163
166
|
__require
|
|
164
167
|
} from "./chunk-YPSWSI3M.js";
|
|
@@ -310,6 +313,11 @@ var registerBuiltinApis = (registry) => {
|
|
|
310
313
|
name: "calendar",
|
|
311
314
|
loader: () => expandDef(require_calendar_runtime())
|
|
312
315
|
});
|
|
316
|
+
registerApi({
|
|
317
|
+
registry,
|
|
318
|
+
name: "chat",
|
|
319
|
+
loader: () => expandDef(require_chat_runtime())
|
|
320
|
+
});
|
|
313
321
|
registerApi({
|
|
314
322
|
registry,
|
|
315
323
|
name: "configurationHub",
|
package/docs/automation.md
CHANGED
|
@@ -146,6 +146,8 @@ const { data } = await automationClient.searchFlows(...)
|
|
|
146
146
|
- [`TriggerEventEntityActivity`](#triggerevententityactivity)
|
|
147
147
|
- [`TriggerEventMessaging`](#triggereventmessaging)
|
|
148
148
|
- [`TriggerEventEntityOperation`](#triggerevententityoperation)
|
|
149
|
+
- [`TriggerEventEventCatalog`](#triggereventeventcatalog)
|
|
150
|
+
- [`TriggerEventPayloadRef`](#triggereventpayloadref)
|
|
149
151
|
- [`ApiCallerContext`](#apicallercontext)
|
|
150
152
|
- [`ExecutionStatus`](#executionstatus)
|
|
151
153
|
- [`GetExecutionsResp`](#getexecutionsresp)
|
|
@@ -175,6 +177,7 @@ const { data } = await automationClient.searchFlows(...)
|
|
|
175
177
|
- [`EntitySearchFilter`](#entitysearchfilter)
|
|
176
178
|
- [`EntitySearchFilterValue`](#entitysearchfiltervalue)
|
|
177
179
|
- [`EntityManualTrigger`](#entitymanualtrigger)
|
|
180
|
+
- [`EventCatalogTrigger`](#eventcatalogtrigger)
|
|
178
181
|
- [`TriggerCondition`](#triggercondition)
|
|
179
182
|
- [`Comparison`](#comparison)
|
|
180
183
|
- [`FilterConditionOnEvent`](#filterconditiononevent)
|
|
@@ -210,6 +213,7 @@ const { data } = await client.searchFlows({
|
|
|
210
213
|
from: 1,
|
|
211
214
|
trigger_source_id: 'example',
|
|
212
215
|
target_workflow: 'example',
|
|
216
|
+
trigger_event_name: 'example',
|
|
213
217
|
include_flows: true,
|
|
214
218
|
})
|
|
215
219
|
```
|
|
@@ -506,6 +510,7 @@ const { data } = await client.startExecution(
|
|
|
506
510
|
"id": "loop_contracts",
|
|
507
511
|
"source_path": "submission.steps[0]['Contracts']",
|
|
508
512
|
"source_type": "journey-multi-select",
|
|
513
|
+
"filter_tags": ["_hidden_ 2a4b1c3d-0000-4000-8000-000000000000 - Dokumente"],
|
|
509
514
|
"length": 0
|
|
510
515
|
}
|
|
511
516
|
],
|
|
@@ -879,6 +884,7 @@ const { data } = await client.getExecution({
|
|
|
879
884
|
"id": "loop_contracts",
|
|
880
885
|
"source_path": "submission.steps[0]['Contracts']",
|
|
881
886
|
"source_type": "journey-multi-select",
|
|
887
|
+
"filter_tags": ["_hidden_ 2a4b1c3d-0000-4000-8000-000000000000 - Dokumente"],
|
|
882
888
|
"length": 0
|
|
883
889
|
}
|
|
884
890
|
],
|
|
@@ -1030,6 +1036,7 @@ const { data } = await client.cancelExecution({
|
|
|
1030
1036
|
"id": "loop_contracts",
|
|
1031
1037
|
"source_path": "submission.steps[0]['Contracts']",
|
|
1032
1038
|
"source_type": "journey-multi-select",
|
|
1039
|
+
"filter_tags": ["_hidden_ 2a4b1c3d-0000-4000-8000-000000000000 - Dokumente"],
|
|
1033
1040
|
"length": 0
|
|
1034
1041
|
}
|
|
1035
1042
|
],
|
|
@@ -1316,6 +1323,16 @@ type AutomationFlow = {
|
|
|
1316
1323
|
configuration?: {
|
|
1317
1324
|
journey_id?: { ... }
|
|
1318
1325
|
}
|
|
1326
|
+
} | {
|
|
1327
|
+
id?: string // uuid
|
|
1328
|
+
type: "event_catalog"
|
|
1329
|
+
configuration: {
|
|
1330
|
+
event_name: { ... }
|
|
1331
|
+
event_version: { ... }
|
|
1332
|
+
entity_node_id: { ... }
|
|
1333
|
+
entity_schema: { ... }
|
|
1334
|
+
ignore_automation_triggered?: { ... }
|
|
1335
|
+
}
|
|
1319
1336
|
}>
|
|
1320
1337
|
trigger_conditions?: Array<{
|
|
1321
1338
|
source: string
|
|
@@ -1336,16 +1353,6 @@ type AutomationFlow = {
|
|
|
1336
1353
|
allow_failure?: boolean
|
|
1337
1354
|
statements?: Array<{
|
|
1338
1355
|
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"
|
|
1349
1356
|
// ...
|
|
1350
1357
|
}
|
|
1351
1358
|
```
|
|
@@ -1408,6 +1415,10 @@ type SearchAutomationsResp = {
|
|
|
1408
1415
|
id?: { ... }
|
|
1409
1416
|
type: { ... }
|
|
1410
1417
|
configuration?: { ... }
|
|
1418
|
+
} | {
|
|
1419
|
+
id?: { ... }
|
|
1420
|
+
type: { ... }
|
|
1421
|
+
configuration: { ... }
|
|
1411
1422
|
}>
|
|
1412
1423
|
trigger_conditions?: Array<{
|
|
1413
1424
|
source: { ... }
|
|
@@ -1436,6 +1447,7 @@ type SearchAutomationsResp = {
|
|
|
1436
1447
|
id: { ... }
|
|
1437
1448
|
source_path: { ... }
|
|
1438
1449
|
source_type?: { ... }
|
|
1450
|
+
filter_tags?: { ... }
|
|
1439
1451
|
length?: { ... }
|
|
1440
1452
|
}>
|
|
1441
1453
|
actions: Array<{
|
|
@@ -1456,11 +1468,6 @@ type SearchAutomationsResp = {
|
|
|
1456
1468
|
} | {
|
|
1457
1469
|
type?: { ... }
|
|
1458
1470
|
config?: { ... }
|
|
1459
|
-
} | {
|
|
1460
|
-
type?: { ... }
|
|
1461
|
-
config?: { ... }
|
|
1462
|
-
} | {
|
|
1463
|
-
type?: { ... }
|
|
1464
1471
|
// ...
|
|
1465
1472
|
}
|
|
1466
1473
|
```
|
|
@@ -1536,6 +1543,16 @@ type AnyTrigger = {
|
|
|
1536
1543
|
configuration?: {
|
|
1537
1544
|
journey_id?: string // uuid
|
|
1538
1545
|
}
|
|
1546
|
+
} | {
|
|
1547
|
+
id?: string // uuid
|
|
1548
|
+
type: "event_catalog"
|
|
1549
|
+
configuration: {
|
|
1550
|
+
event_name: string
|
|
1551
|
+
event_version: string
|
|
1552
|
+
entity_node_id: string
|
|
1553
|
+
entity_schema: string
|
|
1554
|
+
ignore_automation_triggered?: boolean
|
|
1555
|
+
}
|
|
1539
1556
|
}
|
|
1540
1557
|
```
|
|
1541
1558
|
|
|
@@ -1783,7 +1800,8 @@ A loop scope on an automation flow.
|
|
|
1783
1800
|
type AutomationLoop = {
|
|
1784
1801
|
id: string
|
|
1785
1802
|
source_path: string
|
|
1786
|
-
source_type?: "journey-multi-select" | "previous-action-outputs" | "entity-relation"
|
|
1803
|
+
source_type?: "journey-multi-select" | "journey-file-upload" | "previous-action-outputs" | "entity-relation"
|
|
1804
|
+
filter_tags?: string[]
|
|
1787
1805
|
length?: number
|
|
1788
1806
|
}
|
|
1789
1807
|
```
|
|
@@ -2598,6 +2616,9 @@ type AssignEntityConfig = {
|
|
|
2598
2616
|
attribute?: string
|
|
2599
2617
|
values?: string[]
|
|
2600
2618
|
}
|
|
2619
|
+
match_user_skills?: boolean
|
|
2620
|
+
required_skill_categories?: string[]
|
|
2621
|
+
skill_match_mode?: "require_all" | "prefer"
|
|
2601
2622
|
fallback?: "leave_unassigned" | "assign_to_fallback"
|
|
2602
2623
|
fallback_assignees?: Array<{
|
|
2603
2624
|
type: "user" | "partner_user" | "partner_organization" | "group"
|
|
@@ -2651,6 +2672,9 @@ type AssignEntityActionConfig = {
|
|
|
2651
2672
|
attribute?: { ... }
|
|
2652
2673
|
values?: { ... }
|
|
2653
2674
|
}
|
|
2675
|
+
match_user_skills?: boolean
|
|
2676
|
+
required_skill_categories?: string[]
|
|
2677
|
+
skill_match_mode?: "require_all" | "prefer"
|
|
2654
2678
|
fallback?: "leave_unassigned" | "assign_to_fallback"
|
|
2655
2679
|
fallback_assignees?: Array<{
|
|
2656
2680
|
type: { ... }
|
|
@@ -2712,6 +2736,9 @@ type AssignEntityAction = {
|
|
|
2712
2736
|
attribute?: { ... }
|
|
2713
2737
|
values?: { ... }
|
|
2714
2738
|
}
|
|
2739
|
+
match_user_skills?: boolean
|
|
2740
|
+
required_skill_categories?: string[]
|
|
2741
|
+
skill_match_mode?: "require_all" | "prefer"
|
|
2715
2742
|
fallback?: "leave_unassigned" | "assign_to_fallback"
|
|
2716
2743
|
fallback_assignees?: Array<{
|
|
2717
2744
|
type: { ... }
|
|
@@ -3395,7 +3422,7 @@ type ConditionStatement = {
|
|
|
3395
3422
|
source?: {
|
|
3396
3423
|
id?: string
|
|
3397
3424
|
origin?: "trigger" | "action"
|
|
3398
|
-
originType?: "entity" | "workflow" | "journey_block"
|
|
3425
|
+
originType?: "entity" | "workflow" | "journey_block" | "event"
|
|
3399
3426
|
schema?: string
|
|
3400
3427
|
attribute?: string
|
|
3401
3428
|
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"
|
|
@@ -3717,6 +3744,42 @@ type TriggerEventEntityOperation = {
|
|
|
3717
3744
|
}
|
|
3718
3745
|
```
|
|
3719
3746
|
|
|
3747
|
+
### `TriggerEventEventCatalog`
|
|
3748
|
+
|
|
3749
|
+
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.
|
|
3750
|
+
|
|
3751
|
+
|
|
3752
|
+
```ts
|
|
3753
|
+
type TriggerEventEventCatalog = {
|
|
3754
|
+
type: "event_catalog"
|
|
3755
|
+
org_id: string
|
|
3756
|
+
entity_id: string
|
|
3757
|
+
entity_node_id: string
|
|
3758
|
+
event_id: string
|
|
3759
|
+
event_name: string
|
|
3760
|
+
event_version: string
|
|
3761
|
+
published_version?: string
|
|
3762
|
+
event_time?: string // date-time
|
|
3763
|
+
trigger_source_type?: string
|
|
3764
|
+
trigger_source?: string
|
|
3765
|
+
payload_ref?: {
|
|
3766
|
+
bucket: string
|
|
3767
|
+
key: string
|
|
3768
|
+
}
|
|
3769
|
+
}
|
|
3770
|
+
```
|
|
3771
|
+
|
|
3772
|
+
### `TriggerEventPayloadRef`
|
|
3773
|
+
|
|
3774
|
+
S3 reference to the stored trigger event payload (`_downgrades` stripped, downgraded to the pinned version)
|
|
3775
|
+
|
|
3776
|
+
```ts
|
|
3777
|
+
type TriggerEventPayloadRef = {
|
|
3778
|
+
bucket: string
|
|
3779
|
+
key: string
|
|
3780
|
+
}
|
|
3781
|
+
```
|
|
3782
|
+
|
|
3720
3783
|
### `ApiCallerContext`
|
|
3721
3784
|
|
|
3722
3785
|
```ts
|
|
@@ -4438,6 +4501,25 @@ type EntityManualTrigger = {
|
|
|
4438
4501
|
}
|
|
4439
4502
|
```
|
|
4440
4503
|
|
|
4504
|
+
### `EventCatalogTrigger`
|
|
4505
|
+
|
|
4506
|
+
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.
|
|
4507
|
+
|
|
4508
|
+
|
|
4509
|
+
```ts
|
|
4510
|
+
type EventCatalogTrigger = {
|
|
4511
|
+
id?: string // uuid
|
|
4512
|
+
type: "event_catalog"
|
|
4513
|
+
configuration: {
|
|
4514
|
+
event_name: string
|
|
4515
|
+
event_version: string
|
|
4516
|
+
entity_node_id: string
|
|
4517
|
+
entity_schema: string
|
|
4518
|
+
ignore_automation_triggered?: boolean
|
|
4519
|
+
}
|
|
4520
|
+
}
|
|
4521
|
+
```
|
|
4522
|
+
|
|
4441
4523
|
### `TriggerCondition`
|
|
4442
4524
|
|
|
4443
4525
|
```ts
|