Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

botonic-core: add attributes in input type for push notifications #2911

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/botonic-core/src/models/legacy-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export enum INPUT {
CHAT_EVENT = 'chatevent',
WHATSAPP_BUTTON_LIST = 'whatsapp-button-list',
WHATSAPP_CTA_URL_BUTTON = 'whatsapp-cta-url-button',
EVENT_AGENT_MESSAGE_CREATED = 'case_event_agent_message_created',
}

export interface Locales {
Expand Down Expand Up @@ -112,6 +113,7 @@ export type InputType =
| INPUT.CHAT_EVENT
| INPUT.WHATSAPP_BUTTON_LIST
| INPUT.WHATSAPP_CTA_URL_BUTTON
| INPUT.EVENT_AGENT_MESSAGE_CREATED

export interface IntentResult {
intent: string
Expand Down Expand Up @@ -149,6 +151,12 @@ export interface Input extends Partial<NluResult> {
}
message_id: string
bot_interaction_id: string
agent_id?: string
agent_name?: string
message?: {
type: string
data: string
}
}

export interface Campaign {
Expand Down
Loading