@epilot/sdk 2.8.10 → 2.9.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/README.md +0 -1
- package/definitions/access-token-runtime.json +1 -1
- package/definitions/access-token.json +1 -155
- package/definitions/automation.json +0 -120
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +1 -571
- package/definitions/focus-pocus-runtime.json +1 -0
- package/definitions/focus-pocus.json +757 -0
- package/definitions/integration-toolkit.json +30 -5
- package/definitions/journey.json +2 -19
- package/definitions/targeting.json +4 -5
- package/definitions/user-runtime.json +1 -1
- package/definitions/user.json +0 -441
- package/dist/README-46VYEGGW.js +7 -0
- package/dist/README-IVBISSWB.cjs +7 -0
- package/dist/{_index-UY46ZN47.js → _index-5FB6F5YY.js} +0 -3
- package/dist/{_index-D5TTZP5F.cjs → _index-DB2VV4PQ.cjs} +1 -4
- package/dist/access-token-6BJDZSFE.cjs +7 -0
- package/dist/access-token-GSQZLDXR.js +7 -0
- package/dist/{access-token-runtime-2PSLN2U3.js → access-token-runtime-KCKGT4O7.js} +1 -1
- package/dist/{access-token-runtime-B6Z7JLUS.cjs → access-token-runtime-NZWZJPWV.cjs} +2 -2
- package/dist/{access-token.d-CegaQmrK.d.cts → access-token.d-CnmUTOlq.d.cts} +5 -165
- package/dist/{access-token.d-CegaQmrK.d.ts → access-token.d-CnmUTOlq.d.ts} +5 -165
- package/dist/{ai-agents.d-CC5IjXrs.d.ts → ai-agents.d-OkXfr2bz.d.cts} +2 -0
- package/dist/{ai-agents.d-CC5IjXrs.d.cts → ai-agents.d-OkXfr2bz.d.ts} +2 -0
- package/dist/apis/access-token.cjs +8 -8
- package/dist/apis/access-token.d.cts +2 -2
- package/dist/apis/access-token.d.ts +2 -2
- package/dist/apis/access-token.js +2 -2
- 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.d.cts +2 -2
- package/dist/apis/ai-agents.d.ts +2 -2
- 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 +6 -6
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- 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 +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.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- 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/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.d.cts +2 -2
- package/dist/apis/targeting.d.ts +2 -2
- 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 +8 -8
- package/dist/apis/user.d.cts +2 -2
- package/dist/apis/user.d.ts +2 -2
- package/dist/apis/user.js +2 -2
- 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-BMO7ZFTN.cjs +7 -0
- package/dist/automation-MEZTSUR3.js +7 -0
- package/dist/{automation.d-DS_YXDE8.d.cts → automation.d-Du6-uiz5.d.cts} +1 -300
- package/dist/{automation.d-DS_YXDE8.d.ts → automation.d-Du6-uiz5.d.ts} +1 -300
- package/dist/blueprint-manifest-6DEYW5MW.js +7 -0
- package/dist/blueprint-manifest-GCV7H74X.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-WU5MWPVT.cjs → blueprint-manifest-runtime-EIDOROIQ.cjs} +2 -2
- package/dist/{blueprint-manifest-runtime-2344IUIE.js → blueprint-manifest-runtime-FRLU3ZSF.js} +1 -1
- package/dist/{blueprint-manifest.d-2-TORV8o.d.ts → blueprint-manifest.d-B8yDxagC.d.cts} +4 -926
- package/dist/{blueprint-manifest.d-2-TORV8o.d.cts → blueprint-manifest.d-B8yDxagC.d.ts} +4 -926
- package/dist/chunk-3XKBB5AE.js +14 -0
- package/dist/{chunk-UWGWRGGB.js → chunk-4YBWMDFP.js} +1 -1
- package/dist/{chunk-OMZ2LWNR.cjs → chunk-CULH5PIN.cjs} +12 -14
- package/dist/{chunk-T57MT6J5.cjs → chunk-NGHCQ2FA.cjs} +1 -1
- package/dist/{chunk-S5HBBTKM.cjs → chunk-OXJOO2YF.cjs} +1 -1
- package/dist/{chunk-H5BH4GQQ.js → chunk-RZ4ABDOF.js} +12 -14
- package/dist/{chunk-OHHHS4HH.js → chunk-XSE4CFSM.js} +1 -1
- package/dist/chunk-Z5TVWG3I.cjs +14 -0
- package/dist/index.cjs +16 -24
- package/dist/index.d.cts +22 -24
- package/dist/index.d.ts +22 -24
- package/dist/index.js +6 -14
- package/dist/integration-toolkit-334NGEOE.cjs +7 -0
- package/dist/integration-toolkit-5VCY6CUN.js +7 -0
- package/dist/{integration-toolkit.d-BW9RK5G-.d.cts → integration-toolkit.d-BSA9RRdq.d.cts} +22 -4
- package/dist/{integration-toolkit.d-BW9RK5G-.d.ts → integration-toolkit.d-BSA9RRdq.d.ts} +22 -4
- package/dist/journey-4DIIPRU4.js +7 -0
- package/dist/journey-ATC3Y5AW.cjs +7 -0
- package/dist/{journey.d-B1sOeMHw.d.cts → journey.d-BenIUWaO.d.cts} +3 -16
- package/dist/{journey.d-B1sOeMHw.d.ts → journey.d-BenIUWaO.d.ts} +3 -16
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/dist/{targeting-WC62BBZN.cjs → targeting-DAFJBPIZ.cjs} +1 -1
- package/dist/{targeting-X4Y2ODBT.js → targeting-TGPCRRI6.js} +1 -1
- package/dist/{targeting.d-0rNF7ErD.d.cts → targeting.d-DxHQbn7-.d.cts} +4 -11
- package/dist/{targeting.d-0rNF7ErD.d.ts → targeting.d-DxHQbn7-.d.ts} +4 -11
- package/dist/user-7ZN2XO7G.cjs +7 -0
- package/dist/user-ZK7BK6VY.js +7 -0
- package/dist/user-runtime-7O2HLFVQ.cjs +5 -0
- package/dist/{user-runtime-6ICV2Y73.js → user-runtime-U4HYUWJU.js} +1 -1
- package/dist/{user.d-L-C7_K84.d.cts → user.d-D18fe97W.d.cts} +1 -421
- package/dist/{user.d-L-C7_K84.d.ts → user.d-D18fe97W.d.ts} +1 -421
- package/docs/access-token.md +3 -111
- package/docs/automation.md +37 -180
- package/docs/blueprint-manifest.md +95 -421
- package/docs/integration-toolkit.md +13 -0
- package/docs/journey.md +8 -28
- package/docs/targeting.md +3 -6
- package/docs/user.md +8 -321
- package/package.json +12 -20
- package/LICENSE +0 -21
- package/definitions/snapshot-runtime.json +0 -1
- package/definitions/snapshot.json +0 -966
- package/dist/README-NBWAQWQS.js +0 -7
- package/dist/README-XCIDDEAE.cjs +0 -7
- package/dist/access-token-GD6REL4U.js +0 -7
- package/dist/access-token-NQ5BLMOW.cjs +0 -7
- package/dist/apis/snapshot.cjs +0 -38
- package/dist/apis/snapshot.d.cts +0 -18
- package/dist/apis/snapshot.d.ts +0 -18
- package/dist/apis/snapshot.js +0 -38
- package/dist/automation-S6NFS5KU.cjs +0 -7
- package/dist/automation-W75XZG7B.js +0 -7
- package/dist/blueprint-manifest-WHYSBU66.cjs +0 -7
- package/dist/blueprint-manifest-WZVBTKUL.js +0 -7
- package/dist/chunk-54QNWEPZ.js +0 -14
- package/dist/chunk-NFIYEMMM.js +0 -14
- package/dist/chunk-OWXEZ56F.cjs +0 -14
- package/dist/chunk-YXJ4PBFQ.cjs +0 -14
- package/dist/integration-toolkit-27Z3VZBZ.cjs +0 -7
- package/dist/integration-toolkit-NRLZZFVS.js +0 -7
- package/dist/journey-LHVSSVTG.cjs +0 -7
- package/dist/journey-NXL264XW.js +0 -7
- package/dist/snapshot-HFVQTHYF.cjs +0 -7
- package/dist/snapshot-Y6A7QUYS.js +0 -7
- package/dist/snapshot-runtime-6DV42FVY.cjs +0 -5
- package/dist/snapshot-runtime-IW57MINC.js +0 -5
- package/dist/snapshot.d-CPTXg4xN.d.cts +0 -751
- package/dist/snapshot.d-CPTXg4xN.d.ts +0 -751
- package/dist/user-3SLAEEVD.cjs +0 -7
- package/dist/user-PRUYBXQV.js +0 -7
- package/dist/user-runtime-Y3227ETX.cjs +0 -5
- package/docs/snapshot.md +0 -654
|
@@ -161,6 +161,7 @@ const { data } = await integrationToolkitClient.acknowledgeTracking(...)
|
|
|
161
161
|
- [`SecureProxySummary`](#secureproxysummary)
|
|
162
162
|
- [`SecureProxyRequest`](#secureproxyrequest)
|
|
163
163
|
- [`SecureProxyResponse`](#secureproxyresponse)
|
|
164
|
+
- [`SecureProxyUpstreamError`](#secureproxyupstreamerror)
|
|
164
165
|
- [`ManagedCallOperationConfig`](#managedcalloperationconfig)
|
|
165
166
|
- [`ManagedCallOperation`](#managedcalloperation)
|
|
166
167
|
- [`ManagedCallExecuteRequest`](#managedcallexecuterequest)
|
|
@@ -5453,6 +5454,18 @@ type SecureProxyResponse = {
|
|
|
5453
5454
|
}
|
|
5454
5455
|
```
|
|
5455
5456
|
|
|
5457
|
+
### `SecureProxyUpstreamError`
|
|
5458
|
+
|
|
5459
|
+
Error payload returned when epilot could not obtain an HTTP response from the proxied target. The failure is epilot-generated (HTTP 502) but the cause is usually remote-side; `code`/`reason` make that attributable.
|
|
5460
|
+
|
|
5461
|
+
```ts
|
|
5462
|
+
type SecureProxyUpstreamError = {
|
|
5463
|
+
message: "Upstream network error" | "Upstream error"
|
|
5464
|
+
code?: string
|
|
5465
|
+
reason?: string
|
|
5466
|
+
}
|
|
5467
|
+
```
|
|
5468
|
+
|
|
5456
5469
|
### `ManagedCallOperationConfig`
|
|
5457
5470
|
|
|
5458
5471
|
Configuration for managed_call use cases. Defines a single API operation with JSONata mapping.
|
package/docs/journey.md
CHANGED
|
@@ -163,7 +163,6 @@ const { data } = await client.getJourney({
|
|
|
163
163
|
],
|
|
164
164
|
"journey_type": "Sales template (Premium)",
|
|
165
165
|
"protected": true,
|
|
166
|
-
"protectedEditable": ["string"],
|
|
167
166
|
"settings": {
|
|
168
167
|
"embedOptions": {
|
|
169
168
|
"mode": "full-screen",
|
|
@@ -357,7 +356,6 @@ const { data } = await client.createJourney(
|
|
|
357
356
|
],
|
|
358
357
|
journey_type: 'Sales template (Premium)',
|
|
359
358
|
protected: true,
|
|
360
|
-
protectedEditable: ['string'],
|
|
361
359
|
settings: {
|
|
362
360
|
embedOptions: {
|
|
363
361
|
mode: 'full-screen',
|
|
@@ -471,7 +469,6 @@ const { data } = await client.createJourney(
|
|
|
471
469
|
],
|
|
472
470
|
"journey_type": "Sales template (Premium)",
|
|
473
471
|
"protected": true,
|
|
474
|
-
"protectedEditable": ["string"],
|
|
475
472
|
"settings": {
|
|
476
473
|
"embedOptions": {
|
|
477
474
|
"mode": "full-screen",
|
|
@@ -599,7 +596,6 @@ const { data } = await client.updateJourney(
|
|
|
599
596
|
],
|
|
600
597
|
journey_type: 'Sales template (Premium)',
|
|
601
598
|
protected: true,
|
|
602
|
-
protectedEditable: ['string'],
|
|
603
599
|
settings: {
|
|
604
600
|
embedOptions: {
|
|
605
601
|
mode: 'full-screen',
|
|
@@ -704,7 +700,6 @@ const { data } = await client.patchUpdateJourney(
|
|
|
704
700
|
],
|
|
705
701
|
"journey_type": "Sales template (Premium)",
|
|
706
702
|
"protected": true,
|
|
707
|
-
"protectedEditable": ["string"],
|
|
708
703
|
"settings": {
|
|
709
704
|
"embedOptions": {},
|
|
710
705
|
"safeModeAutomation": true,
|
|
@@ -945,7 +940,6 @@ const { data } = await client.createJourneyV2(
|
|
|
945
940
|
],
|
|
946
941
|
journey_type: 'Sales template (Premium)',
|
|
947
942
|
protected: true,
|
|
948
|
-
protectedEditable: ['string'],
|
|
949
943
|
settings: {
|
|
950
944
|
embedOptions: {
|
|
951
945
|
mode: 'full-screen',
|
|
@@ -978,8 +972,7 @@ const { data } = await client.createJourneyV2(
|
|
|
978
972
|
useNewDesign: true,
|
|
979
973
|
thirdPartyCookies: true,
|
|
980
974
|
accessMode: 'PUBLIC',
|
|
981
|
-
enableDarkMode: true
|
|
982
|
-
isActive: true
|
|
975
|
+
enableDarkMode: true
|
|
983
976
|
},
|
|
984
977
|
validationRules: {
|
|
985
978
|
block1: 'rule123',
|
|
@@ -1049,7 +1042,6 @@ const { data } = await client.createJourneyV2(
|
|
|
1049
1042
|
],
|
|
1050
1043
|
"journey_type": "Sales template (Premium)",
|
|
1051
1044
|
"protected": true,
|
|
1052
|
-
"protectedEditable": ["string"],
|
|
1053
1045
|
"settings": {
|
|
1054
1046
|
"embedOptions": {
|
|
1055
1047
|
"mode": "full-screen",
|
|
@@ -1082,8 +1074,7 @@ const { data } = await client.createJourneyV2(
|
|
|
1082
1074
|
"useNewDesign": true,
|
|
1083
1075
|
"thirdPartyCookies": true,
|
|
1084
1076
|
"accessMode": "PUBLIC",
|
|
1085
|
-
"enableDarkMode": true
|
|
1086
|
-
"isActive": true
|
|
1077
|
+
"enableDarkMode": true
|
|
1087
1078
|
},
|
|
1088
1079
|
"validationRules": {
|
|
1089
1080
|
"block1": "rule123",
|
|
@@ -1161,7 +1152,6 @@ const { data } = await client.updateJourneyV2(
|
|
|
1161
1152
|
],
|
|
1162
1153
|
journey_type: 'Sales template (Premium)',
|
|
1163
1154
|
protected: true,
|
|
1164
|
-
protectedEditable: ['string'],
|
|
1165
1155
|
settings: {
|
|
1166
1156
|
embedOptions: {
|
|
1167
1157
|
mode: 'full-screen',
|
|
@@ -1194,8 +1184,7 @@ const { data } = await client.updateJourneyV2(
|
|
|
1194
1184
|
useNewDesign: true,
|
|
1195
1185
|
thirdPartyCookies: true,
|
|
1196
1186
|
accessMode: 'PUBLIC',
|
|
1197
|
-
enableDarkMode: true
|
|
1198
|
-
isActive: true
|
|
1187
|
+
enableDarkMode: true
|
|
1199
1188
|
},
|
|
1200
1189
|
validationRules: {
|
|
1201
1190
|
block1: 'rule123',
|
|
@@ -1265,7 +1254,6 @@ const { data } = await client.updateJourneyV2(
|
|
|
1265
1254
|
],
|
|
1266
1255
|
"journey_type": "Sales template (Premium)",
|
|
1267
1256
|
"protected": true,
|
|
1268
|
-
"protectedEditable": ["string"],
|
|
1269
1257
|
"settings": {
|
|
1270
1258
|
"embedOptions": {
|
|
1271
1259
|
"mode": "full-screen",
|
|
@@ -1298,8 +1286,7 @@ const { data } = await client.updateJourneyV2(
|
|
|
1298
1286
|
"useNewDesign": true,
|
|
1299
1287
|
"thirdPartyCookies": true,
|
|
1300
1288
|
"accessMode": "PUBLIC",
|
|
1301
|
-
"enableDarkMode": true
|
|
1302
|
-
"isActive": true
|
|
1289
|
+
"enableDarkMode": true
|
|
1303
1290
|
},
|
|
1304
1291
|
"validationRules": {
|
|
1305
1292
|
"block1": "rule123",
|
|
@@ -1388,7 +1375,6 @@ const { data } = await client.patchUpdateJourneyV2(
|
|
|
1388
1375
|
],
|
|
1389
1376
|
"journey_type": "Sales template (Premium)",
|
|
1390
1377
|
"protected": true,
|
|
1391
|
-
"protectedEditable": ["string"],
|
|
1392
1378
|
"settings": {
|
|
1393
1379
|
"embedOptions": {
|
|
1394
1380
|
"mode": "full-screen",
|
|
@@ -1421,8 +1407,7 @@ const { data } = await client.patchUpdateJourneyV2(
|
|
|
1421
1407
|
"useNewDesign": true,
|
|
1422
1408
|
"thirdPartyCookies": true,
|
|
1423
1409
|
"accessMode": "PUBLIC",
|
|
1424
|
-
"enableDarkMode": true
|
|
1425
|
-
"isActive": true
|
|
1410
|
+
"enableDarkMode": true
|
|
1426
1411
|
},
|
|
1427
1412
|
"validationRules": {
|
|
1428
1413
|
"block1": "rule123",
|
|
@@ -1508,7 +1493,6 @@ const { data } = await client.getJourneyV2({
|
|
|
1508
1493
|
],
|
|
1509
1494
|
"journey_type": "Sales template (Premium)",
|
|
1510
1495
|
"protected": true,
|
|
1511
|
-
"protectedEditable": ["string"],
|
|
1512
1496
|
"settings": {
|
|
1513
1497
|
"embedOptions": {
|
|
1514
1498
|
"mode": "full-screen",
|
|
@@ -1541,8 +1525,7 @@ const { data } = await client.getJourneyV2({
|
|
|
1541
1525
|
"useNewDesign": true,
|
|
1542
1526
|
"thirdPartyCookies": true,
|
|
1543
1527
|
"accessMode": "PUBLIC",
|
|
1544
|
-
"enableDarkMode": true
|
|
1545
|
-
"isActive": true
|
|
1528
|
+
"enableDarkMode": true
|
|
1546
1529
|
},
|
|
1547
1530
|
"validationRules": {
|
|
1548
1531
|
"block1": "rule123",
|
|
@@ -1692,7 +1675,6 @@ type JourneyResponse = {
|
|
|
1692
1675
|
}>
|
|
1693
1676
|
journey_type?: string
|
|
1694
1677
|
protected?: boolean
|
|
1695
|
-
protectedEditable?: string[]
|
|
1696
1678
|
settings?: {
|
|
1697
1679
|
embedOptions?: { ... }
|
|
1698
1680
|
safeModeAutomation?: { ... }
|
|
@@ -1832,7 +1814,6 @@ type JourneyCreationRequest = {
|
|
|
1832
1814
|
}>
|
|
1833
1815
|
journey_type?: string
|
|
1834
1816
|
protected?: boolean
|
|
1835
|
-
protectedEditable?: string[]
|
|
1836
1817
|
settings?: {
|
|
1837
1818
|
embedOptions?: {
|
|
1838
1819
|
mode?: { ... }
|
|
@@ -1874,6 +1855,7 @@ type JourneyCreationRequest = {
|
|
|
1874
1855
|
}
|
|
1875
1856
|
thirdPartyCookies?: boolean
|
|
1876
1857
|
}
|
|
1858
|
+
validationRules?: Record<string, string | Record<string, string>>
|
|
1877
1859
|
// ...
|
|
1878
1860
|
}
|
|
1879
1861
|
```
|
|
@@ -1938,7 +1920,6 @@ type JourneyCreationRequestV2 = {
|
|
|
1938
1920
|
}>
|
|
1939
1921
|
journey_type?: string
|
|
1940
1922
|
protected?: boolean
|
|
1941
|
-
protectedEditable?: string[]
|
|
1942
1923
|
settings?: {
|
|
1943
1924
|
embedOptions?: {
|
|
1944
1925
|
mode?: { ... }
|
|
@@ -1969,7 +1950,6 @@ type JourneyCreationRequestV2 = {
|
|
|
1969
1950
|
thirdPartyCookies?: boolean
|
|
1970
1951
|
accessMode?: "PUBLIC" | "PRIVATE"
|
|
1971
1952
|
enableDarkMode?: boolean
|
|
1972
|
-
isActive?: boolean
|
|
1973
1953
|
}
|
|
1974
1954
|
validationRules?: Record<string, string | Record<string, string>>
|
|
1975
1955
|
_manifest?: string // uuid[]
|
|
@@ -2074,7 +2054,6 @@ type Journey = {
|
|
|
2074
2054
|
}>
|
|
2075
2055
|
journey_type?: string
|
|
2076
2056
|
protected?: boolean
|
|
2077
|
-
protectedEditable?: string[]
|
|
2078
2057
|
settings?: {
|
|
2079
2058
|
embedOptions?: {
|
|
2080
2059
|
mode?: { ... }
|
|
@@ -2116,6 +2095,7 @@ type Journey = {
|
|
|
2116
2095
|
}
|
|
2117
2096
|
thirdPartyCookies?: boolean
|
|
2118
2097
|
}
|
|
2098
|
+
validationRules?: Record<string, string | Record<string, string>>
|
|
2119
2099
|
// ...
|
|
2120
2100
|
}
|
|
2121
2101
|
```
|
package/docs/targeting.md
CHANGED
|
@@ -291,8 +291,7 @@ const { data } = await client.setupCampaign(
|
|
|
291
291
|
block_id: 'b8c01433-5556-4e2b-aad4-6f5348d1df84'
|
|
292
292
|
},
|
|
293
293
|
email: {
|
|
294
|
-
automation_id: 'b8c01433-5556-4e2b-aad4-6f5348d1df84'
|
|
295
|
-
template_id: 'b8c01433-5556-4e2b-aad4-6f5348d1df84'
|
|
294
|
+
automation_id: 'b8c01433-5556-4e2b-aad4-6f5348d1df84'
|
|
296
295
|
}
|
|
297
296
|
}
|
|
298
297
|
},
|
|
@@ -1061,8 +1060,7 @@ type SetupCampaignRequest = {
|
|
|
1061
1060
|
block_id: { ... }
|
|
1062
1061
|
}
|
|
1063
1062
|
email?: {
|
|
1064
|
-
automation_id
|
|
1065
|
-
template_id?: { ... }
|
|
1063
|
+
automation_id: { ... }
|
|
1066
1064
|
}
|
|
1067
1065
|
}
|
|
1068
1066
|
}
|
|
@@ -1096,8 +1094,7 @@ type SetupTariffChangeCampaignRequest = {
|
|
|
1096
1094
|
block_id: { ... }
|
|
1097
1095
|
}
|
|
1098
1096
|
email?: {
|
|
1099
|
-
automation_id
|
|
1100
|
-
template_id?: { ... }
|
|
1097
|
+
automation_id: { ... }
|
|
1101
1098
|
}
|
|
1102
1099
|
}
|
|
1103
1100
|
}
|