@epilot/sdk 2.20.49 → 2.20.50
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/journey-runtime.json +1 -1
- package/definitions/journey.json +356 -10
- package/definitions/pricing-runtime.json +1 -1
- package/definitions/pricing.json +949 -130
- 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 +6 -6
- 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 +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 +6 -6
- package/dist/apis/chat.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/identity.cjs +6 -6
- package/dist/apis/identity.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +8 -8
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +2 -2
- 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 +8 -8
- package/dist/apis/pricing.d.cts +2 -2
- package/dist/apis/pricing.d.ts +2 -2
- package/dist/apis/pricing.js +2 -2
- 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/chunk-BU5DVOFF.cjs +14 -0
- package/dist/{chunk-SJS5S6Z5.js → chunk-I3ZZES76.js} +1 -1
- package/dist/{chunk-X7UJYAG5.cjs → chunk-QYHNZLHS.cjs} +1 -1
- package/dist/chunk-QZ3FPCEP.js +14 -0
- package/dist/{chunk-CFHQ2UJU.cjs → chunk-TF4SGSFP.cjs} +4 -4
- package/dist/{chunk-B3CLGH23.js → chunk-VMA2UKDS.js} +4 -4
- 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/dist/journey-JDIVUY7T.cjs +7 -0
- package/dist/journey-PBOMOJ5G.js +7 -0
- package/dist/{journey-runtime-S5I3K4NH.js → journey-runtime-AQH7EG4C.js} +1 -1
- package/dist/{journey-runtime-BVSPJTYH.cjs → journey-runtime-KZUPV4XH.cjs} +2 -2
- package/dist/{journey.d-Dj93v-Lw.d.cts → journey.d-CMtM6U3Y.d.cts} +404 -15
- package/dist/{journey.d-Dj93v-Lw.d.ts → journey.d-CMtM6U3Y.d.ts} +404 -15
- package/dist/pricing-FYBJTHHN.js +7 -0
- package/dist/pricing-M2FG4LZ6.cjs +7 -0
- package/dist/{pricing-runtime-NMRZO6J4.cjs → pricing-runtime-PEAN7F5S.cjs} +2 -2
- package/dist/{pricing-runtime-MJAIO4AY.js → pricing-runtime-UDUM3AXP.js} +1 -1
- package/dist/{pricing.d-B3_8FPCM.d.cts → pricing.d-BMV5QoZ7.d.cts} +5039 -1447
- package/dist/{pricing.d-B3_8FPCM.d.ts → pricing.d-BMV5QoZ7.d.ts} +5039 -1447
- package/docs/journey.md +234 -36
- package/docs/pricing.md +940 -126
- package/package.json +1 -1
- package/dist/chunk-7Q3JW72Y.js +0 -14
- package/dist/chunk-QLWDOKGE.cjs +0 -14
- package/dist/journey-IVIBYU5V.js +0 -7
- package/dist/journey-ZN46FFPM.cjs +0 -7
- package/dist/pricing-JAICFDO5.cjs +0 -7
- package/dist/pricing-MYZSVSGK.js +0 -7
package/docs/journey.md
CHANGED
|
@@ -34,6 +34,7 @@ const { data } = await journeyClient.getJourneysByOrgId(...)
|
|
|
34
34
|
- [`publishJourneyRevision`](#publishjourneyrevision)
|
|
35
35
|
- [`getJourneyPublishState`](#getjourneypublishstate)
|
|
36
36
|
- [`getJourneyEnvironment`](#getjourneyenvironment)
|
|
37
|
+
- [`resolveJourneyExternalValues`](#resolvejourneyexternalvalues)
|
|
37
38
|
- [`getJourneyEnvironmentVariables`](#getjourneyenvironmentvariables)
|
|
38
39
|
- [`getJourneyProducts`](#getjourneyproducts)
|
|
39
40
|
- [`createJourney`](#createjourney)
|
|
@@ -56,7 +57,11 @@ const { data } = await journeyClient.getJourneysByOrgId(...)
|
|
|
56
57
|
- [`EnvironmentMap`](#environmentmap)
|
|
57
58
|
- [`EnvironmentLink`](#environmentlink)
|
|
58
59
|
- [`EnvironmentLinkList`](#environmentlinklist)
|
|
60
|
+
- [`EnvironmentScalarList`](#environmentscalarlist)
|
|
59
61
|
- [`JourneyEnvironmentResponse`](#journeyenvironmentresponse)
|
|
62
|
+
- [`JourneyExternalValuesRequest`](#journeyexternalvaluesrequest)
|
|
63
|
+
- [`JourneyExternalValuesResponse`](#journeyexternalvaluesresponse)
|
|
64
|
+
- [`ExternalValueError`](#externalvalueerror)
|
|
60
65
|
- [`JourneyEnvironmentVariablesResponse`](#journeyenvironmentvariablesresponse)
|
|
61
66
|
- [`GetJourneysResponse`](#getjourneysresponse)
|
|
62
67
|
- [`JourneyResponse`](#journeyresponse)
|
|
@@ -149,6 +154,7 @@ const { data } = await client.getJourney({
|
|
|
149
154
|
"showStepperLabels": true,
|
|
150
155
|
"stepperType": "numbers",
|
|
151
156
|
"hideNextButton": true,
|
|
157
|
+
"guestVisible": true,
|
|
152
158
|
"name": "string",
|
|
153
159
|
"stepId": "string",
|
|
154
160
|
"schema": {},
|
|
@@ -233,7 +239,10 @@ const { data } = await client.getJourney({
|
|
|
233
239
|
"mode": "auto",
|
|
234
240
|
"supportedRevision": 0
|
|
235
241
|
},
|
|
236
|
-
"thirdPartyCookies": true
|
|
242
|
+
"thirdPartyCookies": true,
|
|
243
|
+
"betaFeatures": {
|
|
244
|
+
"modernProducts": true
|
|
245
|
+
}
|
|
237
246
|
},
|
|
238
247
|
"validationRules": {
|
|
239
248
|
"block1": "rule123",
|
|
@@ -244,6 +253,7 @@ const { data } = await client.getJourney({
|
|
|
244
253
|
}
|
|
245
254
|
},
|
|
246
255
|
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
256
|
+
"blueprint_customization": {},
|
|
247
257
|
"createdBy": "string",
|
|
248
258
|
"updatedBy": "string",
|
|
249
259
|
"__lastModifiedAt": "string",
|
|
@@ -301,6 +311,7 @@ const { data } = await client.createJourneyRevision(
|
|
|
301
311
|
showStepperLabels: true,
|
|
302
312
|
stepperType: 'numbers',
|
|
303
313
|
hideNextButton: true,
|
|
314
|
+
guestVisible: true,
|
|
304
315
|
name: 'string',
|
|
305
316
|
stepId: 'string',
|
|
306
317
|
schema: {},
|
|
@@ -385,7 +396,10 @@ const { data } = await client.createJourneyRevision(
|
|
|
385
396
|
mode: 'auto',
|
|
386
397
|
supportedRevision: 0
|
|
387
398
|
},
|
|
388
|
-
thirdPartyCookies: true
|
|
399
|
+
thirdPartyCookies: true,
|
|
400
|
+
betaFeatures: {
|
|
401
|
+
modernProducts: true
|
|
402
|
+
}
|
|
389
403
|
},
|
|
390
404
|
validationRules: {
|
|
391
405
|
block1: 'rule123',
|
|
@@ -396,6 +410,7 @@ const { data } = await client.createJourneyRevision(
|
|
|
396
410
|
}
|
|
397
411
|
},
|
|
398
412
|
_manifest: ['123e4567-e89b-12d3-a456-426614174000'],
|
|
413
|
+
blueprint_customization: {},
|
|
399
414
|
createdBy: 'string',
|
|
400
415
|
updatedBy: 'string',
|
|
401
416
|
__lastModifiedAt: 'string',
|
|
@@ -549,7 +564,8 @@ const { data } = await client.getJourneyRevision({
|
|
|
549
564
|
"status": "string",
|
|
550
565
|
"isActive": true,
|
|
551
566
|
"savingProgress": {},
|
|
552
|
-
"thirdPartyCookies": true
|
|
567
|
+
"thirdPartyCookies": true,
|
|
568
|
+
"betaFeatures": {}
|
|
553
569
|
},
|
|
554
570
|
"validationRules": {
|
|
555
571
|
"block1": "rule123",
|
|
@@ -557,6 +573,7 @@ const { data } = await client.getJourneyRevision({
|
|
|
557
573
|
"block3": {}
|
|
558
574
|
},
|
|
559
575
|
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
576
|
+
"blueprint_customization": {},
|
|
560
577
|
"createdBy": "string",
|
|
561
578
|
"updatedBy": "string",
|
|
562
579
|
"__lastModifiedAt": "string",
|
|
@@ -640,7 +657,7 @@ const { data } = await client.getJourneyPublishState({
|
|
|
640
657
|
|
|
641
658
|
### `getJourneyEnvironment`
|
|
642
659
|
|
|
643
|
-
Resolve the environment variables referenced by this journey
|
|
660
|
+
Resolve the environment variables referenced by this journey: the environment-backed datasources declared in its steps, whether they source a block's options or supply the value an attached validation
|
|
644
661
|
|
|
645
662
|
`GET /v1/journey/configuration/{id}/environment`
|
|
646
663
|
|
|
@@ -667,6 +684,75 @@ const { data } = await client.getJourneyEnvironment({
|
|
|
667
684
|
"datasourceId": "string",
|
|
668
685
|
"code": "not_found"
|
|
669
686
|
}
|
|
687
|
+
],
|
|
688
|
+
"variables": [
|
|
689
|
+
{
|
|
690
|
+
"key": "string",
|
|
691
|
+
"type": "Text",
|
|
692
|
+
"value": "string"
|
|
693
|
+
}
|
|
694
|
+
],
|
|
695
|
+
"variableErrors": [
|
|
696
|
+
{
|
|
697
|
+
"key": "string",
|
|
698
|
+
"code": "not_found"
|
|
699
|
+
}
|
|
700
|
+
]
|
|
701
|
+
}
|
|
702
|
+
```
|
|
703
|
+
|
|
704
|
+
</details>
|
|
705
|
+
|
|
706
|
+
---
|
|
707
|
+
|
|
708
|
+
### `resolveJourneyExternalValues`
|
|
709
|
+
|
|
710
|
+
Resolve the External Values hooks this journey's validation rules compare against.
|
|
711
|
+
|
|
712
|
+
`POST /v1/journey/configuration/{id}/external-values`
|
|
713
|
+
|
|
714
|
+
```ts
|
|
715
|
+
const { data } = await client.resolveJourneyExternalValues(
|
|
716
|
+
{
|
|
717
|
+
id: '123e4567-e89b-12d3-a456-426614174000',
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
items: [
|
|
721
|
+
{
|
|
722
|
+
datasourceId: 'string',
|
|
723
|
+
context: {}
|
|
724
|
+
}
|
|
725
|
+
]
|
|
726
|
+
},
|
|
727
|
+
)
|
|
728
|
+
```
|
|
729
|
+
|
|
730
|
+
<details>
|
|
731
|
+
<summary>Response</summary>
|
|
732
|
+
|
|
733
|
+
```json
|
|
734
|
+
{
|
|
735
|
+
"items": [
|
|
736
|
+
{
|
|
737
|
+
"datasourceId": "string",
|
|
738
|
+
"values": {},
|
|
739
|
+
"errors": [
|
|
740
|
+
{
|
|
741
|
+
"result_id": "string",
|
|
742
|
+
"code": "string",
|
|
743
|
+
"message": "string"
|
|
744
|
+
}
|
|
745
|
+
],
|
|
746
|
+
"policy": {
|
|
747
|
+
"on_unavailable": "skip"
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
],
|
|
751
|
+
"errors": [
|
|
752
|
+
{
|
|
753
|
+
"datasourceId": "string",
|
|
754
|
+
"code": "unknown_datasource"
|
|
755
|
+
}
|
|
670
756
|
]
|
|
671
757
|
}
|
|
672
758
|
```
|
|
@@ -677,7 +763,7 @@ const { data } = await client.getJourneyEnvironment({
|
|
|
677
763
|
|
|
678
764
|
### `getJourneyEnvironmentVariables`
|
|
679
765
|
|
|
680
|
-
List the organization's environment variables
|
|
766
|
+
List the organization's client-safe environment variables a journey may use: Map and List``<Link>`` as an options source; Text, Number, Boolean and lists of them in logic conditions. Only variables that c
|
|
681
767
|
|
|
682
768
|
`GET /v1/journey/environment-variables`
|
|
683
769
|
|
|
@@ -693,16 +779,8 @@ const { data } = await client.getJourneyEnvironmentVariables()
|
|
|
693
779
|
"items": [
|
|
694
780
|
{
|
|
695
781
|
"key": "string",
|
|
696
|
-
"type": "
|
|
697
|
-
"value":
|
|
698
|
-
"fallbackLanguage": "de",
|
|
699
|
-
"options": [
|
|
700
|
-
{
|
|
701
|
-
"key": "string",
|
|
702
|
-
"value": "string"
|
|
703
|
-
}
|
|
704
|
-
]
|
|
705
|
-
},
|
|
782
|
+
"type": "Text",
|
|
783
|
+
"value": "string",
|
|
706
784
|
"description": "string"
|
|
707
785
|
}
|
|
708
786
|
]
|
|
@@ -789,6 +867,7 @@ const { data } = await client.createJourney(
|
|
|
789
867
|
showStepperLabels: true,
|
|
790
868
|
stepperType: 'numbers',
|
|
791
869
|
hideNextButton: true,
|
|
870
|
+
guestVisible: true,
|
|
792
871
|
name: 'string',
|
|
793
872
|
stepId: 'string',
|
|
794
873
|
schema: {},
|
|
@@ -873,7 +952,10 @@ const { data } = await client.createJourney(
|
|
|
873
952
|
mode: 'auto',
|
|
874
953
|
supportedRevision: 0
|
|
875
954
|
},
|
|
876
|
-
thirdPartyCookies: true
|
|
955
|
+
thirdPartyCookies: true,
|
|
956
|
+
betaFeatures: {
|
|
957
|
+
modernProducts: true
|
|
958
|
+
}
|
|
877
959
|
},
|
|
878
960
|
validationRules: {
|
|
879
961
|
block1: 'rule123',
|
|
@@ -884,6 +966,7 @@ const { data } = await client.createJourney(
|
|
|
884
966
|
}
|
|
885
967
|
},
|
|
886
968
|
_manifest: ['123e4567-e89b-12d3-a456-426614174000'],
|
|
969
|
+
blueprint_customization: {},
|
|
887
970
|
createdBy: 'string',
|
|
888
971
|
updatedBy: 'string',
|
|
889
972
|
__lastModifiedAt: 'string'
|
|
@@ -910,6 +993,7 @@ const { data } = await client.createJourney(
|
|
|
910
993
|
"showStepperLabels": true,
|
|
911
994
|
"stepperType": "numbers",
|
|
912
995
|
"hideNextButton": true,
|
|
996
|
+
"guestVisible": true,
|
|
913
997
|
"name": "string",
|
|
914
998
|
"stepId": "string",
|
|
915
999
|
"schema": {},
|
|
@@ -994,7 +1078,10 @@ const { data } = await client.createJourney(
|
|
|
994
1078
|
"mode": "auto",
|
|
995
1079
|
"supportedRevision": 0
|
|
996
1080
|
},
|
|
997
|
-
"thirdPartyCookies": true
|
|
1081
|
+
"thirdPartyCookies": true,
|
|
1082
|
+
"betaFeatures": {
|
|
1083
|
+
"modernProducts": true
|
|
1084
|
+
}
|
|
998
1085
|
},
|
|
999
1086
|
"validationRules": {
|
|
1000
1087
|
"block1": "rule123",
|
|
@@ -1005,6 +1092,7 @@ const { data } = await client.createJourney(
|
|
|
1005
1092
|
}
|
|
1006
1093
|
},
|
|
1007
1094
|
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
1095
|
+
"blueprint_customization": {},
|
|
1008
1096
|
"createdBy": "string",
|
|
1009
1097
|
"updatedBy": "string",
|
|
1010
1098
|
"__lastModifiedAt": "string",
|
|
@@ -1045,6 +1133,7 @@ const { data } = await client.updateJourney(
|
|
|
1045
1133
|
showStepperLabels: true,
|
|
1046
1134
|
stepperType: 'numbers',
|
|
1047
1135
|
hideNextButton: true,
|
|
1136
|
+
guestVisible: true,
|
|
1048
1137
|
name: 'string',
|
|
1049
1138
|
stepId: 'string',
|
|
1050
1139
|
schema: {},
|
|
@@ -1129,7 +1218,10 @@ const { data } = await client.updateJourney(
|
|
|
1129
1218
|
mode: 'auto',
|
|
1130
1219
|
supportedRevision: 0
|
|
1131
1220
|
},
|
|
1132
|
-
thirdPartyCookies: true
|
|
1221
|
+
thirdPartyCookies: true,
|
|
1222
|
+
betaFeatures: {
|
|
1223
|
+
modernProducts: true
|
|
1224
|
+
}
|
|
1133
1225
|
},
|
|
1134
1226
|
validationRules: {
|
|
1135
1227
|
block1: 'rule123',
|
|
@@ -1140,6 +1232,7 @@ const { data } = await client.updateJourney(
|
|
|
1140
1232
|
}
|
|
1141
1233
|
},
|
|
1142
1234
|
_manifest: ['123e4567-e89b-12d3-a456-426614174000'],
|
|
1235
|
+
blueprint_customization: {},
|
|
1143
1236
|
createdBy: 'string',
|
|
1144
1237
|
updatedBy: 'string',
|
|
1145
1238
|
__lastModifiedAt: 'string'
|
|
@@ -1227,7 +1320,8 @@ const { data } = await client.patchUpdateJourney(
|
|
|
1227
1320
|
"status": "string",
|
|
1228
1321
|
"isActive": true,
|
|
1229
1322
|
"savingProgress": {},
|
|
1230
|
-
"thirdPartyCookies": true
|
|
1323
|
+
"thirdPartyCookies": true,
|
|
1324
|
+
"betaFeatures": {}
|
|
1231
1325
|
},
|
|
1232
1326
|
"validationRules": {
|
|
1233
1327
|
"block1": "rule123",
|
|
@@ -1235,6 +1329,7 @@ const { data } = await client.patchUpdateJourney(
|
|
|
1235
1329
|
"block3": {}
|
|
1236
1330
|
},
|
|
1237
1331
|
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
1332
|
+
"blueprint_customization": {},
|
|
1238
1333
|
"createdBy": "string",
|
|
1239
1334
|
"updatedBy": "string",
|
|
1240
1335
|
"__lastModifiedAt": "string",
|
|
@@ -1402,6 +1497,7 @@ const { data } = await client.createJourneyV2(
|
|
|
1402
1497
|
showStepperLabels: true,
|
|
1403
1498
|
stepperType: 'numbers',
|
|
1404
1499
|
hideNextButton: true,
|
|
1500
|
+
guestVisible: true,
|
|
1405
1501
|
name: 'string',
|
|
1406
1502
|
stepId: 'string',
|
|
1407
1503
|
schema: {},
|
|
@@ -1482,6 +1578,9 @@ const { data } = await client.createJourneyV2(
|
|
|
1482
1578
|
savingProgress: {
|
|
1483
1579
|
mode: 'auto',
|
|
1484
1580
|
supportedRevision: 0
|
|
1581
|
+
},
|
|
1582
|
+
betaFeatures: {
|
|
1583
|
+
modernProducts: true
|
|
1485
1584
|
}
|
|
1486
1585
|
},
|
|
1487
1586
|
validationRules: {
|
|
@@ -1492,7 +1591,8 @@ const { data } = await client.createJourneyV2(
|
|
|
1492
1591
|
field2: ['rule102', 'rule103']
|
|
1493
1592
|
}
|
|
1494
1593
|
},
|
|
1495
|
-
_manifest: ['123e4567-e89b-12d3-a456-426614174000']
|
|
1594
|
+
_manifest: ['123e4567-e89b-12d3-a456-426614174000'],
|
|
1595
|
+
blueprint_customization: {}
|
|
1496
1596
|
},
|
|
1497
1597
|
)
|
|
1498
1598
|
```
|
|
@@ -1515,6 +1615,7 @@ const { data } = await client.createJourneyV2(
|
|
|
1515
1615
|
"showStepperLabels": true,
|
|
1516
1616
|
"stepperType": "numbers",
|
|
1517
1617
|
"hideNextButton": true,
|
|
1618
|
+
"guestVisible": true,
|
|
1518
1619
|
"name": "string",
|
|
1519
1620
|
"stepId": "string",
|
|
1520
1621
|
"schema": {},
|
|
@@ -1595,6 +1696,9 @@ const { data } = await client.createJourneyV2(
|
|
|
1595
1696
|
"savingProgress": {
|
|
1596
1697
|
"mode": "auto",
|
|
1597
1698
|
"supportedRevision": 0
|
|
1699
|
+
},
|
|
1700
|
+
"betaFeatures": {
|
|
1701
|
+
"modernProducts": true
|
|
1598
1702
|
}
|
|
1599
1703
|
},
|
|
1600
1704
|
"validationRules": {
|
|
@@ -1605,7 +1709,8 @@ const { data } = await client.createJourneyV2(
|
|
|
1605
1709
|
"field2": ["rule102", "rule103"]
|
|
1606
1710
|
}
|
|
1607
1711
|
},
|
|
1608
|
-
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
|
|
1712
|
+
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
1713
|
+
"blueprint_customization": {}
|
|
1609
1714
|
}
|
|
1610
1715
|
```
|
|
1611
1716
|
|
|
@@ -1636,6 +1741,7 @@ const { data } = await client.updateJourneyV2(
|
|
|
1636
1741
|
showStepperLabels: true,
|
|
1637
1742
|
stepperType: 'numbers',
|
|
1638
1743
|
hideNextButton: true,
|
|
1744
|
+
guestVisible: true,
|
|
1639
1745
|
name: 'string',
|
|
1640
1746
|
stepId: 'string',
|
|
1641
1747
|
schema: {},
|
|
@@ -1716,6 +1822,9 @@ const { data } = await client.updateJourneyV2(
|
|
|
1716
1822
|
savingProgress: {
|
|
1717
1823
|
mode: 'auto',
|
|
1718
1824
|
supportedRevision: 0
|
|
1825
|
+
},
|
|
1826
|
+
betaFeatures: {
|
|
1827
|
+
modernProducts: true
|
|
1719
1828
|
}
|
|
1720
1829
|
},
|
|
1721
1830
|
validationRules: {
|
|
@@ -1726,7 +1835,8 @@ const { data } = await client.updateJourneyV2(
|
|
|
1726
1835
|
field2: ['rule102', 'rule103']
|
|
1727
1836
|
}
|
|
1728
1837
|
},
|
|
1729
|
-
_manifest: ['123e4567-e89b-12d3-a456-426614174000']
|
|
1838
|
+
_manifest: ['123e4567-e89b-12d3-a456-426614174000'],
|
|
1839
|
+
blueprint_customization: {}
|
|
1730
1840
|
},
|
|
1731
1841
|
)
|
|
1732
1842
|
```
|
|
@@ -1749,6 +1859,7 @@ const { data } = await client.updateJourneyV2(
|
|
|
1749
1859
|
"showStepperLabels": true,
|
|
1750
1860
|
"stepperType": "numbers",
|
|
1751
1861
|
"hideNextButton": true,
|
|
1862
|
+
"guestVisible": true,
|
|
1752
1863
|
"name": "string",
|
|
1753
1864
|
"stepId": "string",
|
|
1754
1865
|
"schema": {},
|
|
@@ -1829,6 +1940,9 @@ const { data } = await client.updateJourneyV2(
|
|
|
1829
1940
|
"savingProgress": {
|
|
1830
1941
|
"mode": "auto",
|
|
1831
1942
|
"supportedRevision": 0
|
|
1943
|
+
},
|
|
1944
|
+
"betaFeatures": {
|
|
1945
|
+
"modernProducts": true
|
|
1832
1946
|
}
|
|
1833
1947
|
},
|
|
1834
1948
|
"validationRules": {
|
|
@@ -1839,7 +1953,8 @@ const { data } = await client.updateJourneyV2(
|
|
|
1839
1953
|
"field2": ["rule102", "rule103"]
|
|
1840
1954
|
}
|
|
1841
1955
|
},
|
|
1842
|
-
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
|
|
1956
|
+
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
1957
|
+
"blueprint_customization": {}
|
|
1843
1958
|
}
|
|
1844
1959
|
```
|
|
1845
1960
|
|
|
@@ -1881,6 +1996,7 @@ const { data } = await client.patchUpdateJourneyV2(
|
|
|
1881
1996
|
"showStepperLabels": true,
|
|
1882
1997
|
"stepperType": "numbers",
|
|
1883
1998
|
"hideNextButton": true,
|
|
1999
|
+
"guestVisible": true,
|
|
1884
2000
|
"name": "string",
|
|
1885
2001
|
"stepId": "string",
|
|
1886
2002
|
"schema": {},
|
|
@@ -1961,6 +2077,9 @@ const { data } = await client.patchUpdateJourneyV2(
|
|
|
1961
2077
|
"savingProgress": {
|
|
1962
2078
|
"mode": "auto",
|
|
1963
2079
|
"supportedRevision": 0
|
|
2080
|
+
},
|
|
2081
|
+
"betaFeatures": {
|
|
2082
|
+
"modernProducts": true
|
|
1964
2083
|
}
|
|
1965
2084
|
},
|
|
1966
2085
|
"validationRules": {
|
|
@@ -1971,7 +2090,8 @@ const { data } = await client.patchUpdateJourneyV2(
|
|
|
1971
2090
|
"field2": ["rule102", "rule103"]
|
|
1972
2091
|
}
|
|
1973
2092
|
},
|
|
1974
|
-
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
|
|
2093
|
+
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
2094
|
+
"blueprint_customization": {}
|
|
1975
2095
|
}
|
|
1976
2096
|
```
|
|
1977
2097
|
|
|
@@ -2010,6 +2130,7 @@ const { data } = await client.getJourneyV2({
|
|
|
2010
2130
|
"showStepperLabels": true,
|
|
2011
2131
|
"stepperType": "numbers",
|
|
2012
2132
|
"hideNextButton": true,
|
|
2133
|
+
"guestVisible": true,
|
|
2013
2134
|
"name": "string",
|
|
2014
2135
|
"stepId": "string",
|
|
2015
2136
|
"schema": {},
|
|
@@ -2090,6 +2211,9 @@ const { data } = await client.getJourneyV2({
|
|
|
2090
2211
|
"savingProgress": {
|
|
2091
2212
|
"mode": "auto",
|
|
2092
2213
|
"supportedRevision": 0
|
|
2214
|
+
},
|
|
2215
|
+
"betaFeatures": {
|
|
2216
|
+
"modernProducts": true
|
|
2093
2217
|
}
|
|
2094
2218
|
},
|
|
2095
2219
|
"validationRules": {
|
|
@@ -2100,7 +2224,8 @@ const { data } = await client.getJourneyV2({
|
|
|
2100
2224
|
"field2": ["rule102", "rule103"]
|
|
2101
2225
|
}
|
|
2102
2226
|
},
|
|
2103
|
-
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
|
|
2227
|
+
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
2228
|
+
"blueprint_customization": {}
|
|
2104
2229
|
}
|
|
2105
2230
|
```
|
|
2106
2231
|
|
|
@@ -2235,6 +2360,20 @@ type EnvironmentLinkList = {
|
|
|
2235
2360
|
}
|
|
2236
2361
|
```
|
|
2237
2362
|
|
|
2363
|
+
### `EnvironmentScalarList`
|
|
2364
|
+
|
|
2365
|
+
A list of scalars, served under this service's own `List`<Text>``,
|
|
2366
|
+
`List`<Number>`` or `List`<Boolean>`` token (ER-5455). Read by logic
|
|
2367
|
+
conditions; flattened to `items` by the journey runtime.
|
|
2368
|
+
|
|
2369
|
+
|
|
2370
|
+
```ts
|
|
2371
|
+
type EnvironmentScalarList = {
|
|
2372
|
+
itemType: "Text" | "Number" | "Boolean"
|
|
2373
|
+
items: string | number | boolean[]
|
|
2374
|
+
}
|
|
2375
|
+
```
|
|
2376
|
+
|
|
2238
2377
|
### `JourneyEnvironmentResponse`
|
|
2239
2378
|
|
|
2240
2379
|
```ts
|
|
@@ -2255,6 +2394,62 @@ type JourneyEnvironmentResponse = {
|
|
|
2255
2394
|
datasourceId: string
|
|
2256
2395
|
code: "not_found" | "unsupported_type" | "not_set" | "invalid_value" | "incompatible_consumer"
|
|
2257
2396
|
}>
|
|
2397
|
+
variables?: Array<{
|
|
2398
|
+
key: string
|
|
2399
|
+
type: "Text" | "Number" | "Boolean" | "List<Text>" | "List<Number>" | "List<Boolean>"
|
|
2400
|
+
value: string | number | boolean | {
|
|
2401
|
+
itemType: { ... }
|
|
2402
|
+
items: { ... }
|
|
2403
|
+
}
|
|
2404
|
+
}>
|
|
2405
|
+
variableErrors?: Array<{
|
|
2406
|
+
key: string
|
|
2407
|
+
code: "not_found" | "unsupported_type" | "not_set" | "invalid_value"
|
|
2408
|
+
}>
|
|
2409
|
+
}
|
|
2410
|
+
```
|
|
2411
|
+
|
|
2412
|
+
### `JourneyExternalValuesRequest`
|
|
2413
|
+
|
|
2414
|
+
```ts
|
|
2415
|
+
type JourneyExternalValuesRequest = {
|
|
2416
|
+
items: Array<{
|
|
2417
|
+
datasourceId: string
|
|
2418
|
+
context: Record<string, unknown>
|
|
2419
|
+
}>
|
|
2420
|
+
}
|
|
2421
|
+
```
|
|
2422
|
+
|
|
2423
|
+
### `JourneyExternalValuesResponse`
|
|
2424
|
+
|
|
2425
|
+
```ts
|
|
2426
|
+
type JourneyExternalValuesResponse = {
|
|
2427
|
+
items: Array<{
|
|
2428
|
+
datasourceId: string
|
|
2429
|
+
values: Record<string, unknown>
|
|
2430
|
+
errors?: Array<{
|
|
2431
|
+
result_id?: { ... }
|
|
2432
|
+
code: { ... }
|
|
2433
|
+
message?: { ... }
|
|
2434
|
+
}>
|
|
2435
|
+
policy?: {
|
|
2436
|
+
on_unavailable?: { ... }
|
|
2437
|
+
}
|
|
2438
|
+
}>
|
|
2439
|
+
errors: Array<{
|
|
2440
|
+
datasourceId: string
|
|
2441
|
+
code: "unknown_datasource" | "resolver_unavailable"
|
|
2442
|
+
}>
|
|
2443
|
+
}
|
|
2444
|
+
```
|
|
2445
|
+
|
|
2446
|
+
### `ExternalValueError`
|
|
2447
|
+
|
|
2448
|
+
```ts
|
|
2449
|
+
type ExternalValueError = {
|
|
2450
|
+
result_id?: string
|
|
2451
|
+
code: string
|
|
2452
|
+
message?: string
|
|
2258
2453
|
}
|
|
2259
2454
|
```
|
|
2260
2455
|
|
|
@@ -2264,14 +2459,17 @@ type JourneyEnvironmentResponse = {
|
|
|
2264
2459
|
type JourneyEnvironmentVariablesResponse = {
|
|
2265
2460
|
items: Array<{
|
|
2266
2461
|
key: string
|
|
2267
|
-
type: "Map" | "List<Link>"
|
|
2268
|
-
value: {
|
|
2462
|
+
type: "Text" | "Number" | "Boolean" | "Map" | "List<Link>" | "List<Text>" | "List<Number>" | "List<Boolean>"
|
|
2463
|
+
value: string | number | boolean | {
|
|
2269
2464
|
fallbackLanguage?: { ... }
|
|
2270
2465
|
options: { ... }
|
|
2271
2466
|
} | {
|
|
2272
2467
|
itemType: { ... }
|
|
2273
2468
|
fallbackLanguage?: { ... }
|
|
2274
2469
|
items: { ... }
|
|
2470
|
+
} | {
|
|
2471
|
+
itemType: { ... }
|
|
2472
|
+
items: { ... }
|
|
2275
2473
|
}
|
|
2276
2474
|
description?: string
|
|
2277
2475
|
}>
|
|
@@ -2302,6 +2500,7 @@ type JourneyResponse = {
|
|
|
2302
2500
|
showStepperLabels?: { ... }
|
|
2303
2501
|
stepperType?: { ... }
|
|
2304
2502
|
hideNextButton?: { ... }
|
|
2503
|
+
guestVisible?: { ... }
|
|
2305
2504
|
name: { ... }
|
|
2306
2505
|
stepId?: { ... }
|
|
2307
2506
|
schema: { ... }
|
|
@@ -2375,18 +2574,17 @@ type JourneyResponse = {
|
|
|
2375
2574
|
isActive?: { ... }
|
|
2376
2575
|
savingProgress?: { ... }
|
|
2377
2576
|
thirdPartyCookies?: { ... }
|
|
2577
|
+
betaFeatures?: { ... }
|
|
2378
2578
|
}
|
|
2379
2579
|
validationRules?: Record<string, string | string[] | Record<string, string | string[]>>
|
|
2380
2580
|
_manifest?: string // uuid[]
|
|
2581
|
+
blueprint_customization?: Record<string, unknown>
|
|
2381
2582
|
createdBy?: string
|
|
2382
2583
|
updatedBy?: string
|
|
2383
2584
|
__lastModifiedAt?: string
|
|
2384
2585
|
createdAt: string
|
|
2385
2586
|
lastModifiedAt: string
|
|
2386
2587
|
deletedAt?: string
|
|
2387
|
-
version: number
|
|
2388
|
-
revisions: number
|
|
2389
|
-
featureFlags?: Record<string, unknown>
|
|
2390
2588
|
// ...
|
|
2391
2589
|
}
|
|
2392
2590
|
```
|
|
@@ -2440,6 +2638,7 @@ type JourneyCreationRequest = {
|
|
|
2440
2638
|
showStepperLabels?: boolean
|
|
2441
2639
|
stepperType?: "numbers" | "progress bar"
|
|
2442
2640
|
hideNextButton?: boolean
|
|
2641
|
+
guestVisible?: boolean
|
|
2443
2642
|
name: string
|
|
2444
2643
|
stepId?: string
|
|
2445
2644
|
schema: unknown
|
|
@@ -2525,7 +2724,6 @@ type JourneyCreationRequest = {
|
|
|
2525
2724
|
}
|
|
2526
2725
|
isPublished?: boolean
|
|
2527
2726
|
status?: string
|
|
2528
|
-
isActive?: boolean
|
|
2529
2727
|
// ...
|
|
2530
2728
|
}
|
|
2531
2729
|
```
|
|
@@ -2546,6 +2744,7 @@ type JourneyCreationRequestV2 = {
|
|
|
2546
2744
|
showStepperLabels?: boolean
|
|
2547
2745
|
stepperType?: "numbers" | "progress bar"
|
|
2548
2746
|
hideNextButton?: boolean
|
|
2747
|
+
guestVisible?: boolean
|
|
2549
2748
|
name: string
|
|
2550
2749
|
stepId?: string
|
|
2551
2750
|
schema: unknown
|
|
@@ -2632,7 +2831,6 @@ type JourneyCreationRequestV2 = {
|
|
|
2632
2831
|
savingProgress?: {
|
|
2633
2832
|
mode?: { ... }
|
|
2634
2833
|
supportedRevision?: { ... }
|
|
2635
|
-
}
|
|
2636
2834
|
// ...
|
|
2637
2835
|
}
|
|
2638
2836
|
```
|
|
@@ -2691,6 +2889,7 @@ type Journey = {
|
|
|
2691
2889
|
showStepperLabels?: boolean
|
|
2692
2890
|
stepperType?: "numbers" | "progress bar"
|
|
2693
2891
|
hideNextButton?: boolean
|
|
2892
|
+
guestVisible?: boolean
|
|
2694
2893
|
name: string
|
|
2695
2894
|
stepId?: string
|
|
2696
2895
|
schema: unknown
|
|
@@ -2776,7 +2975,6 @@ type Journey = {
|
|
|
2776
2975
|
}
|
|
2777
2976
|
isPublished?: boolean
|
|
2778
2977
|
status?: string
|
|
2779
|
-
isActive?: boolean
|
|
2780
2978
|
// ...
|
|
2781
2979
|
}
|
|
2782
2980
|
```
|
|
@@ -2845,6 +3043,7 @@ type JourneyRevisionRequest = {
|
|
|
2845
3043
|
showStepperLabels?: boolean
|
|
2846
3044
|
stepperType?: "numbers" | "progress bar"
|
|
2847
3045
|
hideNextButton?: boolean
|
|
3046
|
+
guestVisible?: boolean
|
|
2848
3047
|
name: string
|
|
2849
3048
|
stepId?: string
|
|
2850
3049
|
schema: unknown
|
|
@@ -2930,7 +3129,6 @@ type JourneyRevisionRequest = {
|
|
|
2930
3129
|
}
|
|
2931
3130
|
isPublished?: boolean
|
|
2932
3131
|
status?: string
|
|
2933
|
-
isActive?: boolean
|
|
2934
3132
|
// ...
|
|
2935
3133
|
}
|
|
2936
3134
|
```
|
|
@@ -3004,6 +3202,7 @@ type JourneyRevision = {
|
|
|
3004
3202
|
showStepperLabels?: { ... }
|
|
3005
3203
|
stepperType?: { ... }
|
|
3006
3204
|
hideNextButton?: { ... }
|
|
3205
|
+
guestVisible?: { ... }
|
|
3007
3206
|
name: { ... }
|
|
3008
3207
|
stepId?: { ... }
|
|
3009
3208
|
schema: { ... }
|
|
@@ -3077,10 +3276,9 @@ type JourneyRevision = {
|
|
|
3077
3276
|
isActive?: { ... }
|
|
3078
3277
|
savingProgress?: { ... }
|
|
3079
3278
|
thirdPartyCookies?: { ... }
|
|
3279
|
+
betaFeatures?: { ... }
|
|
3080
3280
|
}
|
|
3081
3281
|
validationRules?: Record<string, string | string[] | Record<string, string | string[]>>
|
|
3082
|
-
_manifest?: string // uuid[]
|
|
3083
|
-
createdBy?: string
|
|
3084
3282
|
// ...
|
|
3085
3283
|
}
|
|
3086
3284
|
```
|