shared/src/types/Callbacks.types
Interfaces
Interface
Description
Optional configuration returned when the user navigates from one design workflow to another. Used by IntentChangeCallback to dynamically update app, export, or container config.
Map of optional lifecycle and event callbacks for the CC Everywhere SDK. Hosts implement the callbacks they need; all are optional.
Type Aliases
Type Alias
Description
Keeping callback type as void |
Promise<PublishStatus> for the publish operation, to handle promises as wellInvoked when the anonymous embedded session needs the user signed in before continuing.
reason is telemetry-only context — do not branch on its value.Invoked if the IMS jump fails after a SignInRequiredCallback resolved with a token — that promise is already settled, so this is the only place such a failure surfaces. Use it to show an error; the originating action is not retried automatically.
Callback invoked when the user navigates from one design workflow to another (e.g. Quick action to Express). May return IntentChangeConfig to update app, export, or container config for the new intent.