cc-everywhere

shared/src/types/Callbacks.types

Interfaces

Interface
Description
IntentChangeConfig
Optional configuration returned when the user navigates from one design workflow to another. Used by IntentChangeCallback to dynamically update app, export, or container config.
PublishStatus
-
Callbacks
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 | | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | LoadStartCallback | - | - | | LoadCallback | - | - | | LoadInitCallback | - | - | | CancelCallback | - | - | | PublishStartCallback | - | - | | PublishCallback | Keeping callback type as void | Promise<PublishStatus> for the publish operation, to handle promises as well | | EventCallback | - | - | | SignInRequiredCallback | Invoked when the anonymous embedded session needs the user signed in before continuing. reason is telemetry-only context — do not branch on its value. | - | | SignInFailedCallback | 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. | - | | IntentChangeCallback | 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. | - |