@epilot/sdk 2.20.78 → 2.20.79
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/integration-toolkit.json +251 -63
- package/definitions/journey-runtime.json +1 -1
- package/definitions/journey.json +399 -13
- 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/external-values.cjs +6 -6
- package/dist/apis/external-values.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 +14 -10
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +9 -5
- 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/phone-integration.cjs +6 -6
- package/dist/apis/phone-integration.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/{chunk-M5Z7JYJ3.cjs → chunk-4G44P2X4.cjs} +3 -3
- package/dist/{chunk-ZREXF3XS.js → chunk-5Z7XQQT2.js} +3 -3
- package/dist/{chunk-I3ZZES76.js → chunk-NQBHADQX.js} +1 -1
- package/dist/{chunk-QYHNZLHS.cjs → chunk-PK5IH3WQ.cjs} +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/integration-toolkit-3XNG4PL5.cjs +7 -0
- package/dist/integration-toolkit-VLTS5HKV.js +7 -0
- package/dist/{integration-toolkit.d-l5cgwHLa.d.cts → integration-toolkit.d-BGF0LVB7.d.cts} +587 -85
- package/dist/{integration-toolkit.d-l5cgwHLa.d.ts → integration-toolkit.d-BGF0LVB7.d.ts} +587 -85
- package/dist/journey-LAEXXNCD.js +7 -0
- package/dist/journey-RKBZQRPL.cjs +7 -0
- package/dist/{journey-runtime-KZUPV4XH.cjs → journey-runtime-2N77HRB6.cjs} +2 -2
- package/dist/{journey-runtime-AQH7EG4C.js → journey-runtime-YJ5G4IG2.js} +1 -1
- package/dist/{journey.d-CMtM6U3Y.d.cts → journey.d-5GpTnSld.d.cts} +261 -80
- package/dist/{journey.d-CMtM6U3Y.d.ts → journey.d-5GpTnSld.d.ts} +261 -80
- package/docs/integration-toolkit.md +88 -270
- package/docs/journey.md +217 -38
- package/package.json +1 -1
- package/dist/integration-toolkit-FI32O7II.cjs +0 -7
- package/dist/integration-toolkit-MHULDW3E.js +0 -7
- package/dist/journey-JDIVUY7T.cjs +0 -7
- package/dist/journey-PBOMOJ5G.js +0 -7
|
@@ -198,7 +198,17 @@ declare namespace Components {
|
|
|
198
198
|
* true
|
|
199
199
|
*/
|
|
200
200
|
thirdPartyCookies?: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* Offline journeys (ER-5432): whether the published revision has settings.offline.enabled. Absent when the setting was never set.
|
|
203
|
+
* example:
|
|
204
|
+
* true
|
|
205
|
+
*/
|
|
206
|
+
offline?: boolean;
|
|
201
207
|
}
|
|
208
|
+
/**
|
|
209
|
+
* What the journey's Handlebars templates need from the organization, derived from the served configuration only. Present when the journey contains templates and templating is enabled for the organization. Read-only: like `featureFlags`, it is dropped from any write, so a client that sends the configuration back never stores it.
|
|
210
|
+
*
|
|
211
|
+
*/
|
|
202
212
|
export interface Journey {
|
|
203
213
|
[name: string]: any;
|
|
204
214
|
journeyId?: string;
|
|
@@ -447,7 +457,28 @@ declare namespace Components {
|
|
|
447
457
|
*
|
|
448
458
|
*/
|
|
449
459
|
modernProducts?: boolean;
|
|
460
|
+
/**
|
|
461
|
+
* Opt this launcher journey into the modern Journey Launcher (picker, card and hero shells). Launcher journeys only. Effective when true OR the organization flag `journey-modern-launcher` is on.
|
|
462
|
+
*
|
|
463
|
+
*/
|
|
464
|
+
modernLauncher?: boolean;
|
|
450
465
|
};
|
|
466
|
+
/**
|
|
467
|
+
* Offline journeys (ER-5432). Revision-owned like every other setting: effective on publish. The runtime prepares an offline pack for this journey only when the organization flag `journey-offline` is on AND `enabled` is true.
|
|
468
|
+
*
|
|
469
|
+
*/
|
|
470
|
+
offline?: {
|
|
471
|
+
/**
|
|
472
|
+
* Prepare this journey for offline use on devices that open it online first.
|
|
473
|
+
*/
|
|
474
|
+
enabled: boolean;
|
|
475
|
+
/**
|
|
476
|
+
* How long a prepared pack stays fresh before the next online open refreshes it. Default 24.
|
|
477
|
+
* example:
|
|
478
|
+
* 24
|
|
479
|
+
*/
|
|
480
|
+
packTtlHours?: number;
|
|
481
|
+
} | null;
|
|
451
482
|
};
|
|
452
483
|
validationRules?: /**
|
|
453
484
|
* References to validation rules organized by blocks and fields.
|
|
@@ -475,17 +506,6 @@ declare namespace Components {
|
|
|
475
506
|
* Manifest/Blueprint ID used to create/update the entity
|
|
476
507
|
*/
|
|
477
508
|
_manifest?: string /* uuid */[];
|
|
478
|
-
/**
|
|
479
|
-
* Blueprint field-locking contract (server-managed). Carries the
|
|
480
|
-
* author plane (locks, default level) and the org plane (server-derived
|
|
481
|
-
* overlay). Public writes never persist client-supplied values — the
|
|
482
|
-
* stored contract is authoritative; it is written only by the
|
|
483
|
-
* Blueprints install pipeline.
|
|
484
|
-
*
|
|
485
|
-
*/
|
|
486
|
-
blueprint_customization?: {
|
|
487
|
-
[name: string]: any;
|
|
488
|
-
};
|
|
489
509
|
createdBy?: string;
|
|
490
510
|
updatedBy?: string | null;
|
|
491
511
|
/**
|
|
@@ -508,6 +528,7 @@ declare namespace Components {
|
|
|
508
528
|
featureFlags?: {
|
|
509
529
|
[name: string]: any;
|
|
510
530
|
};
|
|
531
|
+
templating?: JourneyTemplating;
|
|
511
532
|
}
|
|
512
533
|
/**
|
|
513
534
|
* Journeys read from the API always carry an explicit `settings.isActive`. The flag remains optional in request bodies.
|
|
@@ -784,7 +805,28 @@ declare namespace Components {
|
|
|
784
805
|
*
|
|
785
806
|
*/
|
|
786
807
|
modernProducts?: boolean;
|
|
808
|
+
/**
|
|
809
|
+
* Opt this launcher journey into the modern Journey Launcher (picker, card and hero shells). Launcher journeys only. Effective when true OR the organization flag `journey-modern-launcher` is on.
|
|
810
|
+
*
|
|
811
|
+
*/
|
|
812
|
+
modernLauncher?: boolean;
|
|
787
813
|
};
|
|
814
|
+
/**
|
|
815
|
+
* Offline journeys (ER-5432). Revision-owned like every other setting: effective on publish. The runtime prepares an offline pack for this journey only when the organization flag `journey-offline` is on AND `enabled` is true.
|
|
816
|
+
*
|
|
817
|
+
*/
|
|
818
|
+
offline?: {
|
|
819
|
+
/**
|
|
820
|
+
* Prepare this journey for offline use on devices that open it online first.
|
|
821
|
+
*/
|
|
822
|
+
enabled: boolean;
|
|
823
|
+
/**
|
|
824
|
+
* How long a prepared pack stays fresh before the next online open refreshes it. Default 24.
|
|
825
|
+
* example:
|
|
826
|
+
* 24
|
|
827
|
+
*/
|
|
828
|
+
packTtlHours?: number;
|
|
829
|
+
} | null;
|
|
788
830
|
};
|
|
789
831
|
validationRules?: /**
|
|
790
832
|
* References to validation rules organized by blocks and fields.
|
|
@@ -812,17 +854,6 @@ declare namespace Components {
|
|
|
812
854
|
* Manifest/Blueprint ID used to create/update the entity
|
|
813
855
|
*/
|
|
814
856
|
_manifest?: string /* uuid */[];
|
|
815
|
-
/**
|
|
816
|
-
* Blueprint field-locking contract (server-managed). Carries the
|
|
817
|
-
* author plane (locks, default level) and the org plane (server-derived
|
|
818
|
-
* overlay). Public writes never persist client-supplied values — the
|
|
819
|
-
* stored contract is authoritative; it is written only by the
|
|
820
|
-
* Blueprints install pipeline.
|
|
821
|
-
*
|
|
822
|
-
*/
|
|
823
|
-
blueprint_customization?: {
|
|
824
|
-
[name: string]: any;
|
|
825
|
-
};
|
|
826
857
|
createdBy?: string;
|
|
827
858
|
updatedBy?: string | null;
|
|
828
859
|
/**
|
|
@@ -1067,7 +1098,28 @@ declare namespace Components {
|
|
|
1067
1098
|
*
|
|
1068
1099
|
*/
|
|
1069
1100
|
modernProducts?: boolean;
|
|
1101
|
+
/**
|
|
1102
|
+
* Opt this launcher journey into the modern Journey Launcher (picker, card and hero shells). Launcher journeys only. Effective when true OR the organization flag `journey-modern-launcher` is on.
|
|
1103
|
+
*
|
|
1104
|
+
*/
|
|
1105
|
+
modernLauncher?: boolean;
|
|
1070
1106
|
};
|
|
1107
|
+
/**
|
|
1108
|
+
* Offline journeys (ER-5432). Revision-owned like every other setting: effective on publish. The runtime prepares an offline pack for this journey only when the organization flag `journey-offline` is on AND `enabled` is true.
|
|
1109
|
+
*
|
|
1110
|
+
*/
|
|
1111
|
+
offline?: {
|
|
1112
|
+
/**
|
|
1113
|
+
* Prepare this journey for offline use on devices that open it online first.
|
|
1114
|
+
*/
|
|
1115
|
+
enabled: boolean;
|
|
1116
|
+
/**
|
|
1117
|
+
* How long a prepared pack stays fresh before the next online open refreshes it. Default 24.
|
|
1118
|
+
* example:
|
|
1119
|
+
* 24
|
|
1120
|
+
*/
|
|
1121
|
+
packTtlHours?: number;
|
|
1122
|
+
} | null;
|
|
1071
1123
|
};
|
|
1072
1124
|
validationRules?: /**
|
|
1073
1125
|
* References to validation rules organized by blocks and fields.
|
|
@@ -1095,17 +1147,6 @@ declare namespace Components {
|
|
|
1095
1147
|
* Manifest/Blueprint ID used to create/update the entity
|
|
1096
1148
|
*/
|
|
1097
1149
|
_manifest?: string /* uuid */[];
|
|
1098
|
-
/**
|
|
1099
|
-
* Blueprint field-locking contract (server-managed). Carries the
|
|
1100
|
-
* author plane (locks, default level) and the org plane (server-derived
|
|
1101
|
-
* overlay). Public writes never persist client-supplied values — the
|
|
1102
|
-
* stored contract is authoritative; it is written only by the
|
|
1103
|
-
* Blueprints install pipeline.
|
|
1104
|
-
*
|
|
1105
|
-
*/
|
|
1106
|
-
blueprint_customization?: {
|
|
1107
|
-
[name: string]: any;
|
|
1108
|
-
};
|
|
1109
1150
|
}
|
|
1110
1151
|
export interface JourneyEnvironmentResponse {
|
|
1111
1152
|
items: {
|
|
@@ -1321,7 +1362,11 @@ declare namespace Components {
|
|
|
1321
1362
|
published_by?: string;
|
|
1322
1363
|
}
|
|
1323
1364
|
export interface JourneyResponse {
|
|
1324
|
-
createdJourney?:
|
|
1365
|
+
createdJourney?: /**
|
|
1366
|
+
* What the journey's Handlebars templates need from the organization, derived from the served configuration only. Present when the journey contains templates and templating is enabled for the organization. Read-only: like `featureFlags`, it is dropped from any write, so a client that sends the configuration back never stores it.
|
|
1367
|
+
*
|
|
1368
|
+
*/
|
|
1369
|
+
Journey;
|
|
1325
1370
|
}
|
|
1326
1371
|
export interface JourneyRevision {
|
|
1327
1372
|
/**
|
|
@@ -1611,7 +1656,28 @@ declare namespace Components {
|
|
|
1611
1656
|
*
|
|
1612
1657
|
*/
|
|
1613
1658
|
modernProducts?: boolean;
|
|
1659
|
+
/**
|
|
1660
|
+
* Opt this launcher journey into the modern Journey Launcher (picker, card and hero shells). Launcher journeys only. Effective when true OR the organization flag `journey-modern-launcher` is on.
|
|
1661
|
+
*
|
|
1662
|
+
*/
|
|
1663
|
+
modernLauncher?: boolean;
|
|
1614
1664
|
};
|
|
1665
|
+
/**
|
|
1666
|
+
* Offline journeys (ER-5432). Revision-owned like every other setting: effective on publish. The runtime prepares an offline pack for this journey only when the organization flag `journey-offline` is on AND `enabled` is true.
|
|
1667
|
+
*
|
|
1668
|
+
*/
|
|
1669
|
+
offline?: {
|
|
1670
|
+
/**
|
|
1671
|
+
* Prepare this journey for offline use on devices that open it online first.
|
|
1672
|
+
*/
|
|
1673
|
+
enabled: boolean;
|
|
1674
|
+
/**
|
|
1675
|
+
* How long a prepared pack stays fresh before the next online open refreshes it. Default 24.
|
|
1676
|
+
* example:
|
|
1677
|
+
* 24
|
|
1678
|
+
*/
|
|
1679
|
+
packTtlHours?: number;
|
|
1680
|
+
} | null;
|
|
1615
1681
|
};
|
|
1616
1682
|
validationRules?: /**
|
|
1617
1683
|
* References to validation rules organized by blocks and fields.
|
|
@@ -1639,17 +1705,6 @@ declare namespace Components {
|
|
|
1639
1705
|
* Manifest/Blueprint ID used to create/update the entity
|
|
1640
1706
|
*/
|
|
1641
1707
|
_manifest?: string /* uuid */[];
|
|
1642
|
-
/**
|
|
1643
|
-
* Blueprint field-locking contract (server-managed). Carries the
|
|
1644
|
-
* author plane (locks, default level) and the org plane (server-derived
|
|
1645
|
-
* overlay). Public writes never persist client-supplied values — the
|
|
1646
|
-
* stored contract is authoritative; it is written only by the
|
|
1647
|
-
* Blueprints install pipeline.
|
|
1648
|
-
*
|
|
1649
|
-
*/
|
|
1650
|
-
blueprint_customization?: {
|
|
1651
|
-
[name: string]: any;
|
|
1652
|
-
};
|
|
1653
1708
|
createdBy?: string;
|
|
1654
1709
|
updatedBy?: string | null;
|
|
1655
1710
|
/**
|
|
@@ -1672,6 +1727,7 @@ declare namespace Components {
|
|
|
1672
1727
|
featureFlags?: {
|
|
1673
1728
|
[name: string]: any;
|
|
1674
1729
|
};
|
|
1730
|
+
templating?: JourneyTemplating;
|
|
1675
1731
|
};
|
|
1676
1732
|
}
|
|
1677
1733
|
export interface JourneyRevisionConflict {
|
|
@@ -1942,7 +1998,28 @@ declare namespace Components {
|
|
|
1942
1998
|
*
|
|
1943
1999
|
*/
|
|
1944
2000
|
modernProducts?: boolean;
|
|
2001
|
+
/**
|
|
2002
|
+
* Opt this launcher journey into the modern Journey Launcher (picker, card and hero shells). Launcher journeys only. Effective when true OR the organization flag `journey-modern-launcher` is on.
|
|
2003
|
+
*
|
|
2004
|
+
*/
|
|
2005
|
+
modernLauncher?: boolean;
|
|
1945
2006
|
};
|
|
2007
|
+
/**
|
|
2008
|
+
* Offline journeys (ER-5432). Revision-owned like every other setting: effective on publish. The runtime prepares an offline pack for this journey only when the organization flag `journey-offline` is on AND `enabled` is true.
|
|
2009
|
+
*
|
|
2010
|
+
*/
|
|
2011
|
+
offline?: {
|
|
2012
|
+
/**
|
|
2013
|
+
* Prepare this journey for offline use on devices that open it online first.
|
|
2014
|
+
*/
|
|
2015
|
+
enabled: boolean;
|
|
2016
|
+
/**
|
|
2017
|
+
* How long a prepared pack stays fresh before the next online open refreshes it. Default 24.
|
|
2018
|
+
* example:
|
|
2019
|
+
* 24
|
|
2020
|
+
*/
|
|
2021
|
+
packTtlHours?: number;
|
|
2022
|
+
} | null;
|
|
1946
2023
|
};
|
|
1947
2024
|
validationRules?: /**
|
|
1948
2025
|
* References to validation rules organized by blocks and fields.
|
|
@@ -1970,17 +2047,6 @@ declare namespace Components {
|
|
|
1970
2047
|
* Manifest/Blueprint ID used to create/update the entity
|
|
1971
2048
|
*/
|
|
1972
2049
|
_manifest?: string /* uuid */[];
|
|
1973
|
-
/**
|
|
1974
|
-
* Blueprint field-locking contract (server-managed). Carries the
|
|
1975
|
-
* author plane (locks, default level) and the org plane (server-derived
|
|
1976
|
-
* overlay). Public writes never persist client-supplied values — the
|
|
1977
|
-
* stored contract is authoritative; it is written only by the
|
|
1978
|
-
* Blueprints install pipeline.
|
|
1979
|
-
*
|
|
1980
|
-
*/
|
|
1981
|
-
blueprint_customization?: {
|
|
1982
|
-
[name: string]: any;
|
|
1983
|
-
};
|
|
1984
2050
|
createdBy?: string;
|
|
1985
2051
|
updatedBy?: string | null;
|
|
1986
2052
|
/**
|
|
@@ -2064,6 +2130,60 @@ declare namespace Components {
|
|
|
2064
2130
|
*/
|
|
2065
2131
|
revision_id?: string;
|
|
2066
2132
|
}
|
|
2133
|
+
export interface JourneyTemplateVariablesResponse {
|
|
2134
|
+
/**
|
|
2135
|
+
* Custom Variables a template can expand as `{{key}}`
|
|
2136
|
+
*/
|
|
2137
|
+
customVariables: {
|
|
2138
|
+
key: string;
|
|
2139
|
+
name: string;
|
|
2140
|
+
}[];
|
|
2141
|
+
/**
|
|
2142
|
+
* Environment variables a template can read as `{{env.key}}`; a Link as `{{env.key.url}}` and `{{env.key.label}}`
|
|
2143
|
+
*/
|
|
2144
|
+
environment: {
|
|
2145
|
+
key: string;
|
|
2146
|
+
type: "String" | "Text" | "Number" | "Boolean" | "Link";
|
|
2147
|
+
description?: string;
|
|
2148
|
+
/**
|
|
2149
|
+
* The environment group the variable belongs to, when it has one
|
|
2150
|
+
*/
|
|
2151
|
+
group?: string;
|
|
2152
|
+
}[];
|
|
2153
|
+
}
|
|
2154
|
+
export interface JourneyTemplating {
|
|
2155
|
+
/**
|
|
2156
|
+
* Custom Variables the journey's templates reference, expanded transitively
|
|
2157
|
+
*/
|
|
2158
|
+
customVariables: {
|
|
2159
|
+
key: string;
|
|
2160
|
+
template: string;
|
|
2161
|
+
}[];
|
|
2162
|
+
/**
|
|
2163
|
+
* Browser-safe environment values the templates read, keyed by variable key; scalars, or a Link's fields
|
|
2164
|
+
*/
|
|
2165
|
+
env: {
|
|
2166
|
+
[name: string]: string | number | boolean | /* A Link variable; label and description are a string or per-language strings, resolved by the runtime */ JourneyTemplatingLink;
|
|
2167
|
+
};
|
|
2168
|
+
}
|
|
2169
|
+
/**
|
|
2170
|
+
* What the journey's Handlebars templates need from the organization, derived from the served configuration only. Present when the journey contains templates and templating is enabled for the organization. Read-only: like `featureFlags`, it is dropped from any write, so a client that sends the configuration back never stores it.
|
|
2171
|
+
*
|
|
2172
|
+
*/
|
|
2173
|
+
export interface JourneyTemplatingContext {
|
|
2174
|
+
templating?: JourneyTemplating;
|
|
2175
|
+
}
|
|
2176
|
+
/**
|
|
2177
|
+
* A Link variable; label and description are a string or per-language strings, resolved by the runtime
|
|
2178
|
+
*/
|
|
2179
|
+
export interface JourneyTemplatingLink {
|
|
2180
|
+
url: string;
|
|
2181
|
+
label: JourneyTemplatingTranslatable;
|
|
2182
|
+
description?: JourneyTemplatingTranslatable;
|
|
2183
|
+
}
|
|
2184
|
+
export type JourneyTemplatingTranslatable = string | {
|
|
2185
|
+
[name: string]: string;
|
|
2186
|
+
};
|
|
2067
2187
|
export interface JourneyValidationError {
|
|
2068
2188
|
/**
|
|
2069
2189
|
* Error type identifier
|
|
@@ -2472,7 +2592,11 @@ declare namespace Paths {
|
|
|
2472
2592
|
}
|
|
2473
2593
|
export type RequestBody = Components.Schemas.JourneyCreationRequest;
|
|
2474
2594
|
namespace Responses {
|
|
2475
|
-
export type $201 =
|
|
2595
|
+
export type $201 = /**
|
|
2596
|
+
* What the journey's Handlebars templates need from the organization, derived from the served configuration only. Present when the journey contains templates and templating is enabled for the organization. Read-only: like `featureFlags`, it is dropped from any write, so a client that sends the configuration back never stores it.
|
|
2597
|
+
*
|
|
2598
|
+
*/
|
|
2599
|
+
Components.Schemas.Journey;
|
|
2476
2600
|
export type $400 = Components.Schemas.JourneyValidationError;
|
|
2477
2601
|
}
|
|
2478
2602
|
}
|
|
@@ -2868,7 +2992,28 @@ declare namespace Paths {
|
|
|
2868
2992
|
*
|
|
2869
2993
|
*/
|
|
2870
2994
|
modernProducts?: boolean;
|
|
2995
|
+
/**
|
|
2996
|
+
* Opt this launcher journey into the modern Journey Launcher (picker, card and hero shells). Launcher journeys only. Effective when true OR the organization flag `journey-modern-launcher` is on.
|
|
2997
|
+
*
|
|
2998
|
+
*/
|
|
2999
|
+
modernLauncher?: boolean;
|
|
2871
3000
|
};
|
|
3001
|
+
/**
|
|
3002
|
+
* Offline journeys (ER-5432). Revision-owned like every other setting: effective on publish. The runtime prepares an offline pack for this journey only when the organization flag `journey-offline` is on AND `enabled` is true.
|
|
3003
|
+
*
|
|
3004
|
+
*/
|
|
3005
|
+
offline?: {
|
|
3006
|
+
/**
|
|
3007
|
+
* Prepare this journey for offline use on devices that open it online first.
|
|
3008
|
+
*/
|
|
3009
|
+
enabled: boolean;
|
|
3010
|
+
/**
|
|
3011
|
+
* How long a prepared pack stays fresh before the next online open refreshes it. Default 24.
|
|
3012
|
+
* example:
|
|
3013
|
+
* 24
|
|
3014
|
+
*/
|
|
3015
|
+
packTtlHours?: number;
|
|
3016
|
+
} | null;
|
|
2872
3017
|
};
|
|
2873
3018
|
validationRules?: /**
|
|
2874
3019
|
* References to validation rules organized by blocks and fields.
|
|
@@ -2896,17 +3041,6 @@ declare namespace Paths {
|
|
|
2896
3041
|
* Manifest/Blueprint ID used to create/update the entity
|
|
2897
3042
|
*/
|
|
2898
3043
|
_manifest?: string /* uuid */[];
|
|
2899
|
-
/**
|
|
2900
|
-
* Blueprint field-locking contract (server-managed). Carries the
|
|
2901
|
-
* author plane (locks, default level) and the org plane (server-derived
|
|
2902
|
-
* overlay). Public writes never persist client-supplied values — the
|
|
2903
|
-
* stored contract is authoritative; it is written only by the
|
|
2904
|
-
* Blueprints install pipeline.
|
|
2905
|
-
*
|
|
2906
|
-
*/
|
|
2907
|
-
blueprint_customization?: {
|
|
2908
|
-
[name: string]: any;
|
|
2909
|
-
};
|
|
2910
3044
|
createdBy?: string;
|
|
2911
3045
|
updatedBy?: string | null;
|
|
2912
3046
|
/**
|
|
@@ -2929,6 +3063,7 @@ declare namespace Paths {
|
|
|
2929
3063
|
featureFlags?: {
|
|
2930
3064
|
[name: string]: any;
|
|
2931
3065
|
};
|
|
3066
|
+
templating?: Components.Schemas.JourneyTemplating;
|
|
2932
3067
|
/**
|
|
2933
3068
|
* example:
|
|
2934
3069
|
* 42
|
|
@@ -3052,6 +3187,15 @@ declare namespace Paths {
|
|
|
3052
3187
|
}
|
|
3053
3188
|
}
|
|
3054
3189
|
}
|
|
3190
|
+
namespace GetJourneyTemplateVariables {
|
|
3191
|
+
namespace Responses {
|
|
3192
|
+
export type $200 = Components.Schemas.JourneyTemplateVariablesResponse;
|
|
3193
|
+
export interface $401 {
|
|
3194
|
+
}
|
|
3195
|
+
export interface $403 {
|
|
3196
|
+
}
|
|
3197
|
+
}
|
|
3198
|
+
}
|
|
3055
3199
|
namespace GetJourneyV2 {
|
|
3056
3200
|
namespace Parameters {
|
|
3057
3201
|
/**
|
|
@@ -3316,7 +3460,28 @@ declare namespace Paths {
|
|
|
3316
3460
|
*
|
|
3317
3461
|
*/
|
|
3318
3462
|
modernProducts?: boolean;
|
|
3463
|
+
/**
|
|
3464
|
+
* Opt this launcher journey into the modern Journey Launcher (picker, card and hero shells). Launcher journeys only. Effective when true OR the organization flag `journey-modern-launcher` is on.
|
|
3465
|
+
*
|
|
3466
|
+
*/
|
|
3467
|
+
modernLauncher?: boolean;
|
|
3319
3468
|
};
|
|
3469
|
+
/**
|
|
3470
|
+
* Offline journeys (ER-5432). Revision-owned like every other setting: effective on publish. The runtime prepares an offline pack for this journey only when the organization flag `journey-offline` is on AND `enabled` is true.
|
|
3471
|
+
*
|
|
3472
|
+
*/
|
|
3473
|
+
offline?: {
|
|
3474
|
+
/**
|
|
3475
|
+
* Prepare this journey for offline use on devices that open it online first.
|
|
3476
|
+
*/
|
|
3477
|
+
enabled: boolean;
|
|
3478
|
+
/**
|
|
3479
|
+
* How long a prepared pack stays fresh before the next online open refreshes it. Default 24.
|
|
3480
|
+
* example:
|
|
3481
|
+
* 24
|
|
3482
|
+
*/
|
|
3483
|
+
packTtlHours?: number;
|
|
3484
|
+
} | null;
|
|
3320
3485
|
};
|
|
3321
3486
|
validationRules?: /**
|
|
3322
3487
|
* References to validation rules organized by blocks and fields.
|
|
@@ -3344,17 +3509,6 @@ declare namespace Paths {
|
|
|
3344
3509
|
* Manifest/Blueprint ID used to create/update the entity
|
|
3345
3510
|
*/
|
|
3346
3511
|
_manifest?: string /* uuid */[];
|
|
3347
|
-
/**
|
|
3348
|
-
* Blueprint field-locking contract (server-managed). Carries the
|
|
3349
|
-
* author plane (locks, default level) and the org plane (server-derived
|
|
3350
|
-
* overlay). Public writes never persist client-supplied values — the
|
|
3351
|
-
* stored contract is authoritative; it is written only by the
|
|
3352
|
-
* Blueprints install pipeline.
|
|
3353
|
-
*
|
|
3354
|
-
*/
|
|
3355
|
-
blueprint_customization?: {
|
|
3356
|
-
[name: string]: any;
|
|
3357
|
-
};
|
|
3358
3512
|
}
|
|
3359
3513
|
}
|
|
3360
3514
|
}
|
|
@@ -3746,6 +3900,16 @@ interface OperationMethods {
|
|
|
3746
3900
|
data?: any,
|
|
3747
3901
|
config?: AxiosRequestConfig
|
|
3748
3902
|
): OperationResponse<Paths.GetJourneyEnvironmentVariables.Responses.$200>
|
|
3903
|
+
/**
|
|
3904
|
+
* getJourneyTemplateVariables - getJourneyTemplateVariables
|
|
3905
|
+
*
|
|
3906
|
+
* List what a journey template can reference beyond the entity's own attributes: the organization's Custom Variables and its scalar environment variables (`String`, `Text`, `Number`, `Boolean`). Names only, never values. Intended for the journey builder's variable picker; requires a journey authoring token, not an environments token.
|
|
3907
|
+
*/
|
|
3908
|
+
'getJourneyTemplateVariables'(
|
|
3909
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3910
|
+
data?: any,
|
|
3911
|
+
config?: AxiosRequestConfig
|
|
3912
|
+
): OperationResponse<Paths.GetJourneyTemplateVariables.Responses.$200>
|
|
3749
3913
|
/**
|
|
3750
3914
|
* getJourneyProducts - getJourneyProducts
|
|
3751
3915
|
*
|
|
@@ -4046,6 +4210,18 @@ interface PathsDictionary {
|
|
|
4046
4210
|
config?: AxiosRequestConfig
|
|
4047
4211
|
): OperationResponse<Paths.GetJourneyEnvironmentVariables.Responses.$200>
|
|
4048
4212
|
}
|
|
4213
|
+
['/v1/journey/template-variables']: {
|
|
4214
|
+
/**
|
|
4215
|
+
* getJourneyTemplateVariables - getJourneyTemplateVariables
|
|
4216
|
+
*
|
|
4217
|
+
* List what a journey template can reference beyond the entity's own attributes: the organization's Custom Variables and its scalar environment variables (`String`, `Text`, `Number`, `Boolean`). Names only, never values. Intended for the journey builder's variable picker; requires a journey authoring token, not an environments token.
|
|
4218
|
+
*/
|
|
4219
|
+
'get'(
|
|
4220
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4221
|
+
data?: any,
|
|
4222
|
+
config?: AxiosRequestConfig
|
|
4223
|
+
): OperationResponse<Paths.GetJourneyTemplateVariables.Responses.$200>
|
|
4224
|
+
}
|
|
4049
4225
|
['/v1/journey/products/{id}']: {
|
|
4050
4226
|
/**
|
|
4051
4227
|
* getJourneyProducts - getJourneyProducts
|
|
@@ -4238,6 +4414,11 @@ type JourneyRevisionList = Components.Schemas.JourneyRevisionList;
|
|
|
4238
4414
|
type JourneyRevisionRequest = Components.Schemas.JourneyRevisionRequest;
|
|
4239
4415
|
type JourneyRevisionSummary = Components.Schemas.JourneyRevisionSummary;
|
|
4240
4416
|
type JourneyServedRevision = Components.Schemas.JourneyServedRevision;
|
|
4417
|
+
type JourneyTemplateVariablesResponse = Components.Schemas.JourneyTemplateVariablesResponse;
|
|
4418
|
+
type JourneyTemplating = Components.Schemas.JourneyTemplating;
|
|
4419
|
+
type JourneyTemplatingContext = Components.Schemas.JourneyTemplatingContext;
|
|
4420
|
+
type JourneyTemplatingLink = Components.Schemas.JourneyTemplatingLink;
|
|
4421
|
+
type JourneyTemplatingTranslatable = Components.Schemas.JourneyTemplatingTranslatable;
|
|
4241
4422
|
type JourneyValidationError = Components.Schemas.JourneyValidationError;
|
|
4242
4423
|
type JourneyValidationResponse = Components.Schemas.JourneyValidationResponse;
|
|
4243
4424
|
type PatchUpdateJourneyRequest = Components.Schemas.PatchUpdateJourneyRequest;
|
|
@@ -4250,4 +4431,4 @@ type SearchJourneysResponse = Components.Schemas.SearchJourneysResponse;
|
|
|
4250
4431
|
type TemplateSettings = Components.Schemas.TemplateSettings;
|
|
4251
4432
|
type ValidationRuleRef = Components.Schemas.ValidationRuleRef;
|
|
4252
4433
|
|
|
4253
|
-
export { type JourneyRevisionSummary as A, type ButtonOption as B, type Client as C, type JourneyServedRevision as D, type EnvironmentLink as E, type
|
|
4434
|
+
export { type JourneyRevisionSummary as A, type ButtonOption as B, type Client as C, type JourneyServedRevision as D, type EnvironmentLink as E, type JourneyTemplateVariablesResponse as F, type GenerateDocumentRequest as G, type JourneyTemplating as H, type JourneyTemplatingContext as I, type Journey as J, type JourneyTemplatingLink as K, type JourneyTemplatingTranslatable as L, type JourneyValidationError as M, type JourneyValidationResponse as N, type OperationMethods as O, Paths as P, type PatchUpdateJourneyRequest as Q, type PublishResult as R, type PublishRevisionRequest as S, type RuleRef as T, type S3Reference as U, type SearchJourneysQueryRequest as V, type SearchJourneysResponse as W, type TemplateSettings as X, type ValidationRuleRef as Y, Components as a, type PathsDictionary as b, type EnvironmentLinkList as c, type EnvironmentMap as d, type EnvironmentMapEntry as e, type EnvironmentScalarList as f, type ExternalValueError as g, type GenerateDocumentResponse as h, type GetJourneysResponse as i, GetSettingsForJourney as j, type JourneyActivationGuarantee as k, type JourneyAuditInfo as l, type JourneyCreationRequest as m, type JourneyCreationRequestV2 as n, type JourneyEnvironmentResponse as o, type JourneyEnvironmentVariablesResponse as p, type JourneyExternalValuesRequest as q, type JourneyExternalValuesResponse as r, type JourneyFeatureFlags as s, type JourneyProductsResponse as t, type JourneyPublishState as u, type JourneyResponse as v, type JourneyRevision as w, type JourneyRevisionConflict as x, type JourneyRevisionList as y, type JourneyRevisionRequest as z };
|