@botonic/plugin-flow-builder 2.37.0 → 2.38.1
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/CHANGELOG.md +29 -0
- package/package.json +3 -3
- package/src/lib/action/ai-agent-from-user-input.js +9 -9
- package/src/lib/action/ai-agent-from-user-input.js.map +1 -1
- package/src/lib/action/first-interaction.js +6 -10
- package/src/lib/action/first-interaction.js.map +1 -1
- package/src/lib/action/get-contents.js +7 -6
- package/src/lib/action/get-contents.js.map +1 -1
- package/src/lib/action/index.js +4 -1
- package/src/lib/action/index.js.map +1 -1
- package/src/lib/action/push-flow.d.ts +3 -0
- package/src/lib/action/push-flow.js +8 -0
- package/src/lib/action/push-flow.js.map +1 -0
- package/src/lib/api.d.ts +0 -2
- package/src/lib/api.js +1 -11
- package/src/lib/api.js.map +1 -1
- package/src/lib/constants.d.ts +1 -1
- package/src/lib/constants.js +1 -1
- package/src/lib/constants.js.map +1 -1
- package/src/lib/content-fields/contact-reasons-conditional-matcher.d.ts +4 -0
- package/src/lib/content-fields/contact-reasons-conditional-matcher.js +8 -0
- package/src/lib/content-fields/contact-reasons-conditional-matcher.js.map +1 -0
- package/src/lib/content-fields/flow-ai-agent-base.js +4 -0
- package/src/lib/content-fields/flow-ai-agent-base.js.map +1 -1
- package/src/lib/content-fields/flow-ai-agent-router.js +3 -1
- package/src/lib/content-fields/flow-ai-agent-router.js.map +1 -1
- package/src/lib/content-fields/flow-ai-agent.js +2 -1
- package/src/lib/content-fields/flow-ai-agent.js.map +1 -1
- package/src/lib/content-fields/flow-button.d.ts +1 -3
- package/src/lib/content-fields/flow-button.js +2 -23
- package/src/lib/content-fields/flow-button.js.map +1 -1
- package/src/lib/content-fields/flow-carousel.d.ts +1 -1
- package/src/lib/content-fields/flow-carousel.js +2 -2
- package/src/lib/content-fields/flow-carousel.js.map +1 -1
- package/src/lib/content-fields/flow-contact-reasons-conditional.d.ts +14 -0
- package/src/lib/content-fields/flow-contact-reasons-conditional.js +69 -0
- package/src/lib/content-fields/flow-contact-reasons-conditional.js.map +1 -0
- package/src/lib/content-fields/flow-do-nothing.d.ts +9 -0
- package/src/lib/content-fields/flow-do-nothing.js +29 -0
- package/src/lib/content-fields/flow-do-nothing.js.map +1 -0
- package/src/lib/content-fields/flow-element.d.ts +1 -1
- package/src/lib/content-fields/flow-element.js +2 -2
- package/src/lib/content-fields/flow-element.js.map +1 -1
- package/src/lib/content-fields/flow-handoff.d.ts +7 -1
- package/src/lib/content-fields/flow-handoff.js +40 -2
- package/src/lib/content-fields/flow-handoff.js.map +1 -1
- package/src/lib/content-fields/flow-text.d.ts +1 -1
- package/src/lib/content-fields/flow-text.js +2 -2
- package/src/lib/content-fields/flow-text.js.map +1 -1
- package/src/lib/content-fields/flow-webview.d.ts +4 -0
- package/src/lib/content-fields/flow-webview.js +31 -0
- package/src/lib/content-fields/flow-webview.js.map +1 -1
- package/src/lib/content-fields/flow-whatsapp-cta-url-button.d.ts +1 -1
- package/src/lib/content-fields/flow-whatsapp-cta-url-button.js +2 -2
- package/src/lib/content-fields/flow-whatsapp-cta-url-button.js.map +1 -1
- package/src/lib/content-fields/flow-whatsapp-request-contact-info.d.ts +13 -0
- package/src/lib/content-fields/flow-whatsapp-request-contact-info.js +55 -0
- package/src/lib/content-fields/flow-whatsapp-request-contact-info.js.map +1 -0
- package/src/lib/content-fields/flow-whatsapp-template.d.ts +6 -1
- package/src/lib/content-fields/flow-whatsapp-template.js +72 -12
- package/src/lib/content-fields/flow-whatsapp-template.js.map +1 -1
- package/src/lib/content-fields/hubtype-fields/common.d.ts +2 -1
- package/src/lib/content-fields/hubtype-fields/contact-reasons-conditional.d.ts +16 -0
- package/src/lib/content-fields/hubtype-fields/contact-reasons-conditional.js +2 -0
- package/src/lib/content-fields/hubtype-fields/contact-reasons-conditional.js.map +1 -0
- package/src/lib/content-fields/hubtype-fields/do-nothing.d.ts +6 -0
- package/src/lib/content-fields/hubtype-fields/do-nothing.js +2 -0
- package/src/lib/content-fields/hubtype-fields/do-nothing.js.map +1 -0
- package/src/lib/content-fields/hubtype-fields/fallback.d.ts +0 -2
- package/src/lib/content-fields/hubtype-fields/handoff.d.ts +11 -1
- package/src/lib/content-fields/hubtype-fields/handoff.js +6 -1
- package/src/lib/content-fields/hubtype-fields/handoff.js.map +1 -1
- package/src/lib/content-fields/hubtype-fields/index.d.ts +3 -1
- package/src/lib/content-fields/hubtype-fields/index.js +3 -1
- package/src/lib/content-fields/hubtype-fields/index.js.map +1 -1
- package/src/lib/content-fields/hubtype-fields/node-types.d.ts +6 -4
- package/src/lib/content-fields/hubtype-fields/node-types.js +5 -3
- package/src/lib/content-fields/hubtype-fields/node-types.js.map +1 -1
- package/src/lib/content-fields/hubtype-fields/nodes.d.ts +4 -2
- package/src/lib/content-fields/hubtype-fields/smart-intent.d.ts +1 -0
- package/src/lib/content-fields/hubtype-fields/webview.d.ts +1 -0
- package/src/lib/content-fields/hubtype-fields/whatsapp-request-contact-info.d.ts +10 -0
- package/src/lib/content-fields/hubtype-fields/whatsapp-request-contact-info.js +2 -0
- package/src/lib/content-fields/hubtype-fields/whatsapp-request-contact-info.js.map +1 -0
- package/src/lib/content-fields/hubtype-fields/whatsapp-template.d.ts +27 -4
- package/src/lib/content-fields/hubtype-fields/whatsapp-template.js +5 -0
- package/src/lib/content-fields/hubtype-fields/whatsapp-template.js.map +1 -1
- package/src/lib/content-fields/index.d.ts +5 -3
- package/src/lib/content-fields/index.js +4 -2
- package/src/lib/content-fields/index.js.map +1 -1
- package/src/lib/flow-factory.js +10 -6
- package/src/lib/flow-factory.js.map +1 -1
- package/src/lib/index.d.ts +4 -2
- package/src/lib/index.js +48 -5
- package/src/lib/index.js.map +1 -1
- package/src/lib/tests/helpers/flows/basic.js +7 -10
- package/src/lib/tests/helpers/flows/basic.js.map +1 -1
- package/src/lib/tests/helpers/flows/capture-user-input.js +0 -3
- package/src/lib/tests/helpers/flows/capture-user-input.js.map +1 -1
- package/src/lib/tests/helpers/flows/handoff-close.d.ts +284 -0
- package/src/lib/tests/helpers/flows/handoff-close.js +242 -0
- package/src/lib/tests/helpers/flows/handoff-close.js.map +1 -0
- package/src/lib/tests/helpers/flows/nlu-resolution-start-condition.d.ts +2 -0
- package/src/lib/tests/helpers/flows/nlu-resolution-start-condition.js +60 -0
- package/src/lib/tests/helpers/flows/nlu-resolution-start-condition.js.map +1 -0
- package/src/lib/tests/helpers/flows/whatsapp-request-contact-info.d.ts +116 -0
- package/src/lib/tests/helpers/flows/whatsapp-request-contact-info.js +115 -0
- package/src/lib/tests/helpers/flows/whatsapp-request-contact-info.js.map +1 -0
- package/src/lib/tests/helpers/flows/whatsapp-template.js +112 -3
- package/src/lib/tests/helpers/flows/whatsapp-template.js.map +1 -1
- package/src/lib/tests/helpers/utils.d.ts +8 -2
- package/src/lib/tests/helpers/utils.js +10 -7
- package/src/lib/tests/helpers/utils.js.map +1 -1
- package/src/lib/tests/mocks/ai-agent-response.d.ts +1 -1
- package/src/lib/tests/mocks/ai-agent-response.js +2 -1
- package/src/lib/tests/mocks/ai-agent-response.js.map +1 -1
- package/src/lib/tracking.js +1 -2
- package/src/lib/tracking.js.map +1 -1
- package/src/lib/types.d.ts +6 -10
- package/src/lib/user-input/smart-intent.d.ts +1 -0
- package/src/lib/user-input/smart-intent.js +4 -0
- package/src/lib/user-input/smart-intent.js.map +1 -1
- package/src/lib/utils/ai-agent.d.ts +2 -0
- package/src/lib/utils/ai-agent.js +11 -0
- package/src/lib/utils/ai-agent.js.map +1 -1
- package/src/lib/utils/input.d.ts +0 -1
- package/src/lib/utils/input.js +0 -3
- package/src/lib/utils/input.js.map +1 -1
- package/src/lib/action/knowledge-bases.d.ts +0 -3
- package/src/lib/action/knowledge-bases.js +0 -90
- package/src/lib/action/knowledge-bases.js.map +0 -1
- package/src/lib/content-fields/flow-knowledge-base.d.ts +0 -21
- package/src/lib/content-fields/flow-knowledge-base.js +0 -54
- package/src/lib/content-fields/flow-knowledge-base.js.map +0 -1
- package/src/lib/content-fields/hubtype-fields/knowledge-base.d.ts +0 -17
- package/src/lib/content-fields/hubtype-fields/knowledge-base.js +0 -2
- package/src/lib/content-fields/hubtype-fields/knowledge-base.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import { BotServerMessageFactory, } from '@botonic/core';
|
|
3
|
-
import { WhatsappTemplateComponentBody, WhatsappTemplateComponentButton, WhatsappTemplateComponentHeader, WhatsappTemplateComponentSubType, WhatsappTemplateComponentType, WhatsappTemplateParameterImage, WhatsappTemplateParameterPayload, WhatsappTemplateParameterText, WhatsappTemplateParameterType, WhatsappTemplateParameterVideo, } from '@botonic/shared';
|
|
3
|
+
import { WhatsappTemplateComponentBody, WhatsappTemplateComponentButton, WhatsappTemplateComponentHeader, WhatsappTemplateComponentSubType, WhatsappTemplateComponentType, WhatsappTemplateFlowAction, WhatsappTemplateParameterAction, WhatsappTemplateParameterImage, WhatsappTemplateParameterPayload, WhatsappTemplateParameterText, WhatsappTemplateParameterType, WhatsappTemplateParameterVideo, } from '@botonic/shared';
|
|
4
4
|
import { trackOneContent } from '../tracking';
|
|
5
5
|
import { getFlowBuilderPlugin } from '../utils';
|
|
6
6
|
import { ContentFieldsBase } from './content-fields-base';
|
|
7
|
-
import { WHATSAPP_TEMPLATE, } from './hubtype-fields';
|
|
7
|
+
import { HtWhatsAppTemplateFlowActionType, WHATSAPP_TEMPLATE, } from './hubtype-fields';
|
|
8
8
|
export class FlowWhatsappTemplate extends ContentFieldsBase {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments);
|
|
@@ -12,14 +12,18 @@ export class FlowWhatsappTemplate extends ContentFieldsBase {
|
|
|
12
12
|
this.variableValues = {};
|
|
13
13
|
}
|
|
14
14
|
static fromHubtypeCMS(component, locale) {
|
|
15
|
+
var _a, _b;
|
|
15
16
|
const whatsappTemplate = new FlowWhatsappTemplate(component.id);
|
|
16
17
|
whatsappTemplate.code = component.code;
|
|
17
18
|
whatsappTemplate.buttons = component.content.buttons;
|
|
18
19
|
const contentByLocale = FlowWhatsappTemplate.getContentByLocale(component, locale);
|
|
19
|
-
whatsappTemplate.htWhatsappTemplate =
|
|
20
|
+
whatsappTemplate.htWhatsappTemplate =
|
|
21
|
+
(_a = contentByLocale.template) !== null && _a !== void 0 ? _a : {};
|
|
20
22
|
whatsappTemplate.headerVariables = contentByLocale.header_variables;
|
|
21
|
-
whatsappTemplate.variableValues = contentByLocale.variable_values;
|
|
23
|
+
whatsappTemplate.variableValues = (_b = contentByLocale.variable_values) !== null && _b !== void 0 ? _b : {};
|
|
22
24
|
whatsappTemplate.urlVariableValues = contentByLocale.url_variable_values;
|
|
25
|
+
whatsappTemplate.flowButtonActionValues =
|
|
26
|
+
contentByLocale.flow_button_action_values;
|
|
23
27
|
whatsappTemplate.followUp = component.follow_up;
|
|
24
28
|
return whatsappTemplate;
|
|
25
29
|
}
|
|
@@ -84,25 +88,42 @@ export class FlowWhatsappTemplate extends ContentFieldsBase {
|
|
|
84
88
|
});
|
|
85
89
|
return new WhatsappTemplateComponentBody({ parameters });
|
|
86
90
|
}
|
|
87
|
-
getButtons(whatsappTemplate, buttonNodes, urlVariableValues, botonicContext) {
|
|
91
|
+
getButtons(whatsappTemplate, buttonNodes, urlVariableValues, flowButtonActionValues, botonicContext) {
|
|
88
92
|
const htWhatsappTemplateButtons = whatsappTemplate.components.find(component => { var _a; return ((_a = component.type) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === WHATSAPP_TEMPLATE.Buttons; });
|
|
89
93
|
if (htWhatsappTemplateButtons) {
|
|
94
|
+
const templateName = whatsappTemplate.name;
|
|
90
95
|
const buttons = htWhatsappTemplateButtons.buttons
|
|
91
96
|
.map((button, index) => {
|
|
92
|
-
var _a, _b
|
|
93
|
-
|
|
97
|
+
var _a, _b;
|
|
98
|
+
const buttonType = (_a = button.type) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
99
|
+
if (buttonType === WhatsappTemplateComponentSubType.Url) {
|
|
94
100
|
const urlParam = urlVariableValues === null || urlVariableValues === void 0 ? void 0 : urlVariableValues[String(index)];
|
|
95
101
|
if (!urlParam) {
|
|
96
102
|
return null;
|
|
97
103
|
}
|
|
98
104
|
return this.createUrlButtonComponent(index, urlParam, botonicContext);
|
|
99
105
|
}
|
|
100
|
-
if (
|
|
101
|
-
|
|
102
|
-
const payload = ((_c = buttonNodes[index].target) === null || _c === void 0 ? void 0 : _c.id) || '';
|
|
106
|
+
if (buttonType === WhatsappTemplateComponentSubType.QuickReply) {
|
|
107
|
+
const payload = ((_b = buttonNodes[index].target) === null || _b === void 0 ? void 0 : _b.id) || '';
|
|
103
108
|
return this.createQuickReplyButtonComponent(index, payload);
|
|
104
109
|
}
|
|
105
|
-
|
|
110
|
+
if (buttonType === WhatsappTemplateComponentSubType.PhoneNumber) {
|
|
111
|
+
return this.createPhoneNumberButtonComponent(index);
|
|
112
|
+
}
|
|
113
|
+
if (buttonType === WhatsappTemplateComponentSubType.VoiceCall) {
|
|
114
|
+
return this.createVoiceCallButtonComponent(index);
|
|
115
|
+
}
|
|
116
|
+
if (buttonType === WhatsappTemplateComponentSubType.RequestContactInfo) {
|
|
117
|
+
return this.createRequestContactInfoButtonComponent(index);
|
|
118
|
+
}
|
|
119
|
+
if (buttonType === WhatsappTemplateComponentSubType.Flow) {
|
|
120
|
+
const actionValue = flowButtonActionValues === null || flowButtonActionValues === void 0 ? void 0 : flowButtonActionValues[String(index)];
|
|
121
|
+
if (!actionValue) {
|
|
122
|
+
throw new Error(`WhatsApp template '${templateName}' FLOW button at index ${index} requires flow_button_action_values`);
|
|
123
|
+
}
|
|
124
|
+
return this.createFlowButtonComponent(index, button, actionValue, botonicContext, templateName);
|
|
125
|
+
}
|
|
126
|
+
throw new Error(`WhatsApp template '${templateName}' has unsupported button at index ${index}`);
|
|
106
127
|
})
|
|
107
128
|
.filter(button => button !== null);
|
|
108
129
|
return buttons;
|
|
@@ -133,6 +154,45 @@ export class FlowWhatsappTemplate extends ContentFieldsBase {
|
|
|
133
154
|
index: index,
|
|
134
155
|
});
|
|
135
156
|
}
|
|
157
|
+
createPhoneNumberButtonComponent(index) {
|
|
158
|
+
return new WhatsappTemplateComponentButton({
|
|
159
|
+
subType: WhatsappTemplateComponentSubType.PhoneNumber,
|
|
160
|
+
index: index,
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
createRequestContactInfoButtonComponent(index) {
|
|
164
|
+
return new WhatsappTemplateComponentButton({
|
|
165
|
+
subType: WhatsappTemplateComponentSubType.RequestContactInfo,
|
|
166
|
+
index: index,
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
resolveFlowActionData(flowActionData, botonicContext) {
|
|
170
|
+
if (!flowActionData) {
|
|
171
|
+
return undefined;
|
|
172
|
+
}
|
|
173
|
+
const resolvedData = Object.fromEntries(Object.entries(flowActionData).map(([key, value]) => [
|
|
174
|
+
key,
|
|
175
|
+
this.replaceVariables(value, botonicContext),
|
|
176
|
+
]));
|
|
177
|
+
return Object.keys(resolvedData).length > 0 ? resolvedData : undefined;
|
|
178
|
+
}
|
|
179
|
+
createFlowButtonComponent(index, templateButton, actionValue, botonicContext, templateName) {
|
|
180
|
+
const flowToken = this.replaceVariables(actionValue.flow_token, botonicContext);
|
|
181
|
+
if (!flowToken.trim()) {
|
|
182
|
+
throw new Error(`WhatsApp template '${templateName}' FLOW button at index ${index} requires a non-empty flow_token`);
|
|
183
|
+
}
|
|
184
|
+
let flowActionData;
|
|
185
|
+
if (templateButton.flow_action !==
|
|
186
|
+
HtWhatsAppTemplateFlowActionType.DATA_EXCHANGE) {
|
|
187
|
+
flowActionData = this.resolveFlowActionData(actionValue.flow_action_data, botonicContext);
|
|
188
|
+
}
|
|
189
|
+
const action = new WhatsappTemplateFlowAction(flowToken, flowActionData !== null && flowActionData !== void 0 ? flowActionData : null);
|
|
190
|
+
return new WhatsappTemplateComponentButton({
|
|
191
|
+
subType: WhatsappTemplateComponentSubType.Flow,
|
|
192
|
+
index: index,
|
|
193
|
+
parameters: [new WhatsappTemplateParameterAction(action)],
|
|
194
|
+
});
|
|
195
|
+
}
|
|
136
196
|
trackFlow(botonicContext) {
|
|
137
197
|
return __awaiter(this, void 0, void 0, function* () {
|
|
138
198
|
yield trackOneContent(botonicContext, this);
|
|
@@ -152,7 +212,7 @@ export class FlowWhatsappTemplate extends ContentFieldsBase {
|
|
|
152
212
|
const pluginFlowBuilder = getFlowBuilderPlugin(botonicContext.plugins);
|
|
153
213
|
const resolvedLocale = pluginFlowBuilder.cmsApi.getResolvedLocale();
|
|
154
214
|
const header = this.getHeaderComponent(this.htWhatsappTemplate, this.headerVariables || {}, resolvedLocale, botonicContext);
|
|
155
|
-
const buttons = this.getButtons(this.htWhatsappTemplate, this.buttons || [], this.urlVariableValues || {}, botonicContext);
|
|
215
|
+
const buttons = this.getButtons(this.htWhatsappTemplate, this.buttons || [], this.urlVariableValues || {}, this.flowButtonActionValues || {}, botonicContext);
|
|
156
216
|
const components = [header, body, ...(buttons || [])].filter(component => component !== undefined);
|
|
157
217
|
return BotServerMessageFactory.createWhatsappTemplate({
|
|
158
218
|
name: templateName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-whatsapp-template.js","sourceRoot":"","sources":["../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/flow-whatsapp-template.ts"],"names":[],"mappings":";AAAA,OAAO,EAGL,uBAAuB,GACxB,MAAM,eAAe,CAAA;AACtB,OAAO,EAEL,6BAA6B,EAC7B,+BAA+B,EAC/B,+BAA+B,EAC/B,gCAAgC,EAChC,6BAA6B,EAC7B,8BAA8B,EAC9B,gCAAgC,EAChC,6BAA6B,EAC7B,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,iBAAiB,CAAA;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EAQL,iBAAiB,GAClB,MAAM,kBAAkB,CAAA;AAQzB,MAAM,OAAO,oBAAqB,SAAQ,iBAAiB;IAA3D;;QACS,uBAAkB,GAAuB,EAAwB,CAAA;QACjE,mBAAc,GAA2B,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"flow-whatsapp-template.js","sourceRoot":"","sources":["../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/flow-whatsapp-template.ts"],"names":[],"mappings":";AAAA,OAAO,EAGL,uBAAuB,GACxB,MAAM,eAAe,CAAA;AACtB,OAAO,EAEL,6BAA6B,EAC7B,+BAA+B,EAC/B,+BAA+B,EAC/B,gCAAgC,EAChC,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,8BAA8B,EAC9B,gCAAgC,EAChC,6BAA6B,EAC7B,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,iBAAiB,CAAA;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EAQL,gCAAgC,EAGhC,iBAAiB,GAClB,MAAM,kBAAkB,CAAA;AAQzB,MAAM,OAAO,oBAAqB,SAAQ,iBAAiB;IAA3D;;QACS,uBAAkB,GAAuB,EAAwB,CAAA;QACjE,mBAAc,GAA2B,EAAE,CAAA;IA+WpD,CAAC;IAzWC,MAAM,CAAC,cAAc,CACnB,SAAiC,EACjC,MAAc;;QAEd,MAAM,gBAAgB,GAAG,IAAI,oBAAoB,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/D,gBAAgB,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAA;QACtC,gBAAgB,CAAC,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC,OAAO,CAAA;QACpD,MAAM,eAAe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AI,EAAE,EACjC,cAAc,CACf,CAAA;YAED,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC,MAAM,CAC1D,SAAS,CAAC,EAAE,CAAC,SAAS,KAAK,SAAS,CACN,CAAA;YAEhC,OAAO,uBAAuB,CAAC,sBAAsB,CAAC;gBACpD,IAAI,EAAE,YAAY;gBAClB,YAAY,EAAE,gBAAgB;gBAC9B,SAAS,EAAE,IAAI,CAAC,kBAAkB,CAAC,SAAS;gBAC5C,UAAU;aACX,CAAC,CAAA;QACJ,CAAC;KAAA;CACF"}
|
|
@@ -7,7 +7,6 @@ export interface HtFlowBuilderData {
|
|
|
7
7
|
default_locale_code: string;
|
|
8
8
|
start_node_id?: string;
|
|
9
9
|
ai_model_id?: string;
|
|
10
|
-
is_knowledge_base_active?: boolean;
|
|
11
10
|
is_ai_agent_active?: boolean;
|
|
12
11
|
nodes: HtNodeComponent[];
|
|
13
12
|
flows: HtFlows[];
|
|
@@ -44,6 +43,8 @@ export interface HtBaseNode {
|
|
|
44
43
|
target?: HtNodeLink;
|
|
45
44
|
flow_id: string;
|
|
46
45
|
is_meaningful?: boolean;
|
|
46
|
+
is_code_ai_generated?: boolean;
|
|
47
|
+
ai_translated_locales?: never[];
|
|
47
48
|
}
|
|
48
49
|
export interface HtTextLocale {
|
|
49
50
|
message: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
|
+
export interface HtContactReasonBranch {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
project_id: string;
|
|
7
|
+
project_name: string;
|
|
8
|
+
target: HtNodeLink;
|
|
9
|
+
}
|
|
10
|
+
export interface HtContactReasonsNode extends HtBaseNode {
|
|
11
|
+
type: HtNodeWithContentType.CONTACT_REASONS_CONDITION;
|
|
12
|
+
content: {
|
|
13
|
+
contact_reasons: HtContactReasonBranch[];
|
|
14
|
+
default_target: HtNodeLink;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact-reasons-conditional.js","sourceRoot":"","sources":["../../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/hubtype-fields/contact-reasons-conditional.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"do-nothing.js","sourceRoot":"","sources":["../../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/hubtype-fields/do-nothing.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import { HtBaseNode, HtPayloadLocale, HtQueueLocale } from './common';
|
|
1
|
+
import { type HtBaseNode, type HtNodeLink, type HtPayloadLocale, type HtQueueLocale } from './common';
|
|
2
2
|
import { HtNodeWithContentType } from './node-types';
|
|
3
|
+
export declare enum DiscardType {
|
|
4
|
+
ByAgent = "discarded",
|
|
5
|
+
ByUser = "discarded_by_user",
|
|
6
|
+
BySystem = "discarded_by_system"
|
|
7
|
+
}
|
|
3
8
|
export interface HtHandoffNode extends HtBaseNode {
|
|
4
9
|
type: HtNodeWithContentType.HANDOFF;
|
|
5
10
|
content: {
|
|
@@ -7,5 +12,10 @@ export interface HtHandoffNode extends HtBaseNode {
|
|
|
7
12
|
payload: HtPayloadLocale[];
|
|
8
13
|
has_auto_assign: boolean;
|
|
9
14
|
has_queue_position_changed_notifications_enabled: boolean;
|
|
15
|
+
has_differentiated_close_types: boolean;
|
|
16
|
+
resolved_by_agent?: HtNodeLink;
|
|
17
|
+
discarded_by_agent?: HtNodeLink;
|
|
18
|
+
discarded_by_user?: HtNodeLink;
|
|
19
|
+
discarded_by_system?: HtNodeLink;
|
|
10
20
|
};
|
|
11
21
|
}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var DiscardType;
|
|
2
|
+
(function (DiscardType) {
|
|
3
|
+
DiscardType["ByAgent"] = "discarded";
|
|
4
|
+
DiscardType["ByUser"] = "discarded_by_user";
|
|
5
|
+
DiscardType["BySystem"] = "discarded_by_system";
|
|
6
|
+
})(DiscardType || (DiscardType = {}));
|
|
2
7
|
//# sourceMappingURL=handoff.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handoff.js","sourceRoot":"","sources":["../../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/hubtype-fields/handoff.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"handoff.js","sourceRoot":"","sources":["../../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/hubtype-fields/handoff.ts"],"names":[],"mappings":"AAQA,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,2CAA4B,CAAA;IAC5B,+CAAgC,CAAA;AAClC,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB"}
|
|
@@ -5,14 +5,15 @@ export * from './button';
|
|
|
5
5
|
export * from './capture-user-input';
|
|
6
6
|
export * from './carousel';
|
|
7
7
|
export * from './common';
|
|
8
|
+
export * from './contact-reasons-conditional';
|
|
8
9
|
export * from './custom-conditional-v2';
|
|
10
|
+
export * from './do-nothing';
|
|
9
11
|
export * from './fallback';
|
|
10
12
|
export * from './function';
|
|
11
13
|
export * from './go-to-flow';
|
|
12
14
|
export * from './handoff';
|
|
13
15
|
export * from './image';
|
|
14
16
|
export * from './keyword';
|
|
15
|
-
export * from './knowledge-base';
|
|
16
17
|
export * from './node-types';
|
|
17
18
|
export * from './nodes';
|
|
18
19
|
export * from './payload';
|
|
@@ -24,4 +25,5 @@ export * from './video';
|
|
|
24
25
|
export * from './webview';
|
|
25
26
|
export * from './whatsapp-button-list';
|
|
26
27
|
export * from './whatsapp-cta-url-button';
|
|
28
|
+
export * from './whatsapp-request-contact-info';
|
|
27
29
|
export * from './whatsapp-template';
|
|
@@ -5,14 +5,15 @@ export * from './button';
|
|
|
5
5
|
export * from './capture-user-input';
|
|
6
6
|
export * from './carousel';
|
|
7
7
|
export * from './common';
|
|
8
|
+
export * from './contact-reasons-conditional';
|
|
8
9
|
export * from './custom-conditional-v2';
|
|
10
|
+
export * from './do-nothing';
|
|
9
11
|
export * from './fallback';
|
|
10
12
|
export * from './function';
|
|
11
13
|
export * from './go-to-flow';
|
|
12
14
|
export * from './handoff';
|
|
13
15
|
export * from './image';
|
|
14
16
|
export * from './keyword';
|
|
15
|
-
export * from './knowledge-base';
|
|
16
17
|
export * from './node-types';
|
|
17
18
|
export * from './nodes';
|
|
18
19
|
export * from './payload';
|
|
@@ -24,5 +25,6 @@ export * from './video';
|
|
|
24
25
|
export * from './webview';
|
|
25
26
|
export * from './whatsapp-button-list';
|
|
26
27
|
export * from './whatsapp-cta-url-button';
|
|
28
|
+
export * from './whatsapp-request-contact-info';
|
|
27
29
|
export * from './whatsapp-template';
|
|
28
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/hubtype-fields/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,sBAAsB,CAAA;AACpC,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,yBAAyB,CAAA;AACvC,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/hubtype-fields/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,sBAAsB,CAAA;AACpC,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yBAAyB,CAAA;AACvC,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,wBAAwB,CAAA;AACtC,cAAc,2BAA2B,CAAA;AACzC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,qBAAqB,CAAA"}
|
|
@@ -8,10 +8,10 @@ export declare enum HtNodeWithContentType {
|
|
|
8
8
|
FUNCTION = "function",
|
|
9
9
|
FALLBACK = "fallback",
|
|
10
10
|
VIDEO = "video",
|
|
11
|
-
WHATSAPP_BUTTON_LIST = "
|
|
12
|
-
WHATSAPP_CTA_URL_BUTTON = "
|
|
11
|
+
WHATSAPP_BUTTON_LIST = "whatsapp-button-list",
|
|
12
|
+
WHATSAPP_CTA_URL_BUTTON = "whatsapp-cta-url-button",
|
|
13
13
|
WHATSAPP_TEMPLATE = "whatsapp-template",
|
|
14
|
-
|
|
14
|
+
WHATSAPP_REQUEST_CONTACT_INFO = "whatsapp-request-contact-info",
|
|
15
15
|
BOT_ACTION = "bot-action",
|
|
16
16
|
AI_AGENT = "ai-agent",
|
|
17
17
|
AI_AGENT_ROUTER = "ai-agent-router",
|
|
@@ -19,7 +19,9 @@ export declare enum HtNodeWithContentType {
|
|
|
19
19
|
WEBVIEW = "webview",
|
|
20
20
|
GO_TO_FLOW = "go-to-flow",
|
|
21
21
|
CAPTURE_USER_INPUT = "capture-user-input",
|
|
22
|
-
CUSTOM_CONDITION = "custom-condition"
|
|
22
|
+
CUSTOM_CONDITION = "custom-condition",
|
|
23
|
+
CONTACT_REASONS_CONDITION = "contact-reasons-condition",
|
|
24
|
+
DO_NOTHING = "do-nothing"
|
|
23
25
|
}
|
|
24
26
|
export declare enum HtNodeWithoutContentType {
|
|
25
27
|
URL = "url",
|
|
@@ -9,10 +9,10 @@ export var HtNodeWithContentType;
|
|
|
9
9
|
HtNodeWithContentType["FUNCTION"] = "function";
|
|
10
10
|
HtNodeWithContentType["FALLBACK"] = "fallback";
|
|
11
11
|
HtNodeWithContentType["VIDEO"] = "video";
|
|
12
|
-
HtNodeWithContentType["WHATSAPP_BUTTON_LIST"] = "
|
|
13
|
-
HtNodeWithContentType["WHATSAPP_CTA_URL_BUTTON"] = "
|
|
12
|
+
HtNodeWithContentType["WHATSAPP_BUTTON_LIST"] = "whatsapp-button-list";
|
|
13
|
+
HtNodeWithContentType["WHATSAPP_CTA_URL_BUTTON"] = "whatsapp-cta-url-button";
|
|
14
14
|
HtNodeWithContentType["WHATSAPP_TEMPLATE"] = "whatsapp-template";
|
|
15
|
-
HtNodeWithContentType["
|
|
15
|
+
HtNodeWithContentType["WHATSAPP_REQUEST_CONTACT_INFO"] = "whatsapp-request-contact-info";
|
|
16
16
|
HtNodeWithContentType["BOT_ACTION"] = "bot-action";
|
|
17
17
|
HtNodeWithContentType["AI_AGENT"] = "ai-agent";
|
|
18
18
|
HtNodeWithContentType["AI_AGENT_ROUTER"] = "ai-agent-router";
|
|
@@ -21,6 +21,8 @@ export var HtNodeWithContentType;
|
|
|
21
21
|
HtNodeWithContentType["GO_TO_FLOW"] = "go-to-flow";
|
|
22
22
|
HtNodeWithContentType["CAPTURE_USER_INPUT"] = "capture-user-input";
|
|
23
23
|
HtNodeWithContentType["CUSTOM_CONDITION"] = "custom-condition";
|
|
24
|
+
HtNodeWithContentType["CONTACT_REASONS_CONDITION"] = "contact-reasons-condition";
|
|
25
|
+
HtNodeWithContentType["DO_NOTHING"] = "do-nothing";
|
|
24
26
|
})(HtNodeWithContentType || (HtNodeWithContentType = {}));
|
|
25
27
|
export var HtNodeWithoutContentType;
|
|
26
28
|
(function (HtNodeWithoutContentType) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-types.js","sourceRoot":"","sources":["../../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/hubtype-fields/node-types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"node-types.js","sourceRoot":"","sources":["../../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/hubtype-fields/node-types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,qBAwBX;AAxBD,WAAY,qBAAqB;IAC/B,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,4CAAmB,CAAA;IACnB,sDAA6B,CAAA;IAC7B,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;IACrB,wCAAe,CAAA;IACf,sEAA6C,CAAA;IAC7C,4EAAmD,CAAA;IACnD,gEAAuC,CAAA;IACvC,wFAA+D,CAAA;IAC/D,kDAAyB,CAAA;IACzB,8CAAqB,CAAA;IACrB,4DAAmC,CAAA;IACnC,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;IACzB,kEAAyC,CAAA;IACzC,8DAAqC,CAAA;IACrC,gFAAuD,CAAA;IACvD,kDAAyB,CAAA;AAC3B,CAAC,EAxBW,qBAAqB,KAArB,qBAAqB,QAwBhC;AAED,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,uCAAW,CAAA;IACX,+CAAmB,CAAA;AACrB,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,QAGnC;AAED,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB"}
|
|
@@ -3,14 +3,15 @@ import { HtAiAgentRouterNode } from './ai-agent-router';
|
|
|
3
3
|
import { HtBotActionNode } from './bot-action';
|
|
4
4
|
import { HtCaptureUserInputNode } from './capture-user-input';
|
|
5
5
|
import { HtCarouselNode } from './carousel';
|
|
6
|
+
import { HtContactReasonsNode } from './contact-reasons-conditional';
|
|
6
7
|
import { HtCustomConditionalV2Node } from './custom-conditional-v2';
|
|
8
|
+
import { HtDoNothingNode } from './do-nothing';
|
|
7
9
|
import { HtFallbackNode } from './fallback';
|
|
8
10
|
import { HtFunctionNode } from './function';
|
|
9
11
|
import { HtGoToFlow } from './go-to-flow';
|
|
10
12
|
import { HtHandoffNode } from './handoff';
|
|
11
13
|
import { HtImageNode } from './image';
|
|
12
14
|
import { HtKeywordNode } from './keyword';
|
|
13
|
-
import { HtKnowledgeBaseNode } from './knowledge-base';
|
|
14
15
|
import { HtPayloadNode } from './payload';
|
|
15
16
|
import { HtRatingNode } from './rating';
|
|
16
17
|
import { HtSmartIntentNode } from './smart-intent';
|
|
@@ -20,7 +21,8 @@ import { HtVideoNode } from './video';
|
|
|
20
21
|
import { HtWebviewNode } from './webview';
|
|
21
22
|
import { HtWhatsappButtonListNode } from './whatsapp-button-list';
|
|
22
23
|
import { HtWhatsappCTAUrlButtonNode } from './whatsapp-cta-url-button';
|
|
24
|
+
import { HtWhatsappRequestContactInfoNode } from './whatsapp-request-contact-info';
|
|
23
25
|
import { HtWhatsappTemplateNode } from './whatsapp-template';
|
|
24
|
-
export type HtNodeWithContent = HtTextNode | HtImageNode | HtFallbackNode | HtVideoNode | HtCarouselNode | HtHandoffNode | HtKeywordNode | HtSmartIntentNode | HtFunctionNode | HtWhatsappButtonListNode | HtWhatsappCTAUrlButtonNode | HtWhatsappTemplateNode |
|
|
26
|
+
export type HtNodeWithContent = HtTextNode | HtImageNode | HtFallbackNode | HtVideoNode | HtCarouselNode | HtHandoffNode | HtKeywordNode | HtSmartIntentNode | HtFunctionNode | HtWhatsappButtonListNode | HtWhatsappCTAUrlButtonNode | HtWhatsappTemplateNode | HtWhatsappRequestContactInfoNode | HtBotActionNode | HtAiAgentNode | HtAiAgentRouterNode | HtRatingNode | HtWebviewNode | HtGoToFlow | HtCaptureUserInputNode | HtCustomConditionalV2Node | HtContactReasonsNode | HtDoNothingNode;
|
|
25
27
|
export type HtNodeWithoutContent = HtPayloadNode | HtUrlNode;
|
|
26
28
|
export type HtNodeComponent = HtNodeWithContent | HtNodeWithoutContent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { HtButton } from './button';
|
|
2
|
+
import type { HtBaseNode, HtTextLocale } from './common';
|
|
3
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
4
|
+
export interface HtWhatsappRequestContactInfoNode extends HtBaseNode {
|
|
5
|
+
type: HtNodeWithContentType.WHATSAPP_REQUEST_CONTACT_INFO;
|
|
6
|
+
content: {
|
|
7
|
+
text: HtTextLocale[];
|
|
8
|
+
button: HtButton;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"whatsapp-request-contact-info.js","sourceRoot":"","sources":["../../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/hubtype-fields/whatsapp-request-contact-info.ts"],"names":[],"mappings":""}
|
|
@@ -5,7 +5,11 @@ import type { HtNodeWithContentType } from './node-types';
|
|
|
5
5
|
export declare const WHATSAPP_TEMPLATE: {
|
|
6
6
|
readonly Buttons: "buttons";
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
export declare enum HtWhatsAppTemplateFlowActionType {
|
|
9
|
+
NAVIGATE = "navigate",
|
|
10
|
+
DATA_EXCHANGE = "data_exchange"
|
|
11
|
+
}
|
|
12
|
+
export type HtWhatsAppTemplateButton = {
|
|
9
13
|
type: WhatsappTemplateComponentSubType.Url;
|
|
10
14
|
text: string;
|
|
11
15
|
url?: string;
|
|
@@ -20,7 +24,26 @@ type HtWhatsAppTemplateButton = {
|
|
|
20
24
|
text: string;
|
|
21
25
|
phone_number: string;
|
|
22
26
|
index: number;
|
|
27
|
+
} | {
|
|
28
|
+
type: WhatsappTemplateComponentSubType.VoiceCall;
|
|
29
|
+
text: string;
|
|
30
|
+
index: number;
|
|
31
|
+
} | {
|
|
32
|
+
type: WhatsappTemplateComponentSubType.RequestContactInfo;
|
|
33
|
+
text?: string;
|
|
34
|
+
index: number;
|
|
35
|
+
} | {
|
|
36
|
+
type: WhatsappTemplateComponentSubType.Flow;
|
|
37
|
+
text: string;
|
|
38
|
+
flow_id: string;
|
|
39
|
+
flow_action?: HtWhatsAppTemplateFlowActionType;
|
|
40
|
+
navigate_screen?: string;
|
|
41
|
+
index: number;
|
|
23
42
|
};
|
|
43
|
+
export interface HtFlowButtonActionValue {
|
|
44
|
+
flow_token: string;
|
|
45
|
+
flow_action_data?: Record<string, string>;
|
|
46
|
+
}
|
|
24
47
|
export interface HtWhatsAppTemplateHeaderComponent {
|
|
25
48
|
type: WhatsappTemplateComponentType.Header;
|
|
26
49
|
format: WhatsappTemplateParameterType.Text | WhatsappTemplateParameterType.Image | WhatsappTemplateParameterType.Video;
|
|
@@ -56,14 +79,15 @@ export interface HtWhatsAppTemplate {
|
|
|
56
79
|
parameter_format: string;
|
|
57
80
|
}
|
|
58
81
|
export interface HtWhatsappTemplateContentByLocale {
|
|
59
|
-
template
|
|
82
|
+
template?: HtWhatsAppTemplate;
|
|
60
83
|
header_variables?: {
|
|
61
84
|
type: WhatsappTemplateParameterType;
|
|
62
85
|
text?: Record<string, string>;
|
|
63
86
|
media?: HtMediaFileLocale[];
|
|
64
87
|
};
|
|
65
|
-
variable_values
|
|
88
|
+
variable_values?: Record<string, string>;
|
|
66
89
|
url_variable_values?: Record<string, string>;
|
|
90
|
+
flow_button_action_values?: Record<string, HtFlowButtonActionValue>;
|
|
67
91
|
}
|
|
68
92
|
export interface HtWhatsappTemplateNode extends HtBaseNode {
|
|
69
93
|
type: HtNodeWithContentType.WHATSAPP_TEMPLATE;
|
|
@@ -72,4 +96,3 @@ export interface HtWhatsappTemplateNode extends HtBaseNode {
|
|
|
72
96
|
buttons: HtButton[];
|
|
73
97
|
};
|
|
74
98
|
}
|
|
75
|
-
export {};
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
export const WHATSAPP_TEMPLATE = { Buttons: 'buttons' };
|
|
2
|
+
export var HtWhatsAppTemplateFlowActionType;
|
|
3
|
+
(function (HtWhatsAppTemplateFlowActionType) {
|
|
4
|
+
HtWhatsAppTemplateFlowActionType["NAVIGATE"] = "navigate";
|
|
5
|
+
HtWhatsAppTemplateFlowActionType["DATA_EXCHANGE"] = "data_exchange";
|
|
6
|
+
})(HtWhatsAppTemplateFlowActionType || (HtWhatsAppTemplateFlowActionType = {}));
|
|
2
7
|
//# sourceMappingURL=whatsapp-template.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-template.js","sourceRoot":"","sources":["../../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/hubtype-fields/whatsapp-template.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,iBAAiB,GAAG,EAAE,OAAO,EAAE,SAAS,EAAW,CAAA"}
|
|
1
|
+
{"version":3,"file":"whatsapp-template.js","sourceRoot":"","sources":["../../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/hubtype-fields/whatsapp-template.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,iBAAiB,GAAG,EAAE,OAAO,EAAE,SAAS,EAAW,CAAA;AAEhE,MAAM,CAAN,IAAY,gCAGX;AAHD,WAAY,gCAAgC;IAC1C,yDAAqB,CAAA;IACrB,mEAA+B,CAAA;AACjC,CAAC,EAHW,gCAAgC,KAAhC,gCAAgC,QAG3C"}
|
|
@@ -5,18 +5,20 @@ import { FlowBotAction } from './flow-bot-action';
|
|
|
5
5
|
import { FlowCaptureUserInput } from './flow-capture-user-input';
|
|
6
6
|
import { FlowCarousel } from './flow-carousel';
|
|
7
7
|
import { FlowChannelConditional } from './flow-channel-conditional';
|
|
8
|
+
import { FlowContactReasonsConditional } from './flow-contact-reasons-conditional';
|
|
8
9
|
import { FlowCountryConditional } from './flow-country-conditional';
|
|
9
10
|
import { FlowCustomConditional } from './flow-custom-conditional';
|
|
11
|
+
import { FlowDoNothing } from './flow-do-nothing';
|
|
10
12
|
import { FlowGoToFlow } from './flow-go-to-flow';
|
|
11
13
|
import { FlowHandoff } from './flow-handoff';
|
|
12
14
|
import { FlowImage } from './flow-image';
|
|
13
|
-
import { DISABLED_MEMORY_LENGTH, FlowKnowledgeBase } from './flow-knowledge-base';
|
|
14
15
|
import { FlowQueueStatusConditional } from './flow-queue-status-conditional';
|
|
15
16
|
import { FlowRating } from './flow-rating';
|
|
16
17
|
import { FlowText } from './flow-text';
|
|
17
18
|
import { FlowVideo } from './flow-video';
|
|
18
19
|
import { FlowWhatsappCtaUrlButtonNode } from './flow-whatsapp-cta-url-button';
|
|
20
|
+
import { FlowWhatsappRequestContactInfoNode } from './flow-whatsapp-request-contact-info';
|
|
19
21
|
import { FlowWhatsappTemplate } from './flow-whatsapp-template';
|
|
20
22
|
import { FlowWhatsappButtonList } from './whatsapp-button-list/flow-whatsapp-button-list';
|
|
21
|
-
export type FlowContent = FlowCarousel | FlowImage | FlowText | FlowVideo | FlowWhatsappButtonList | FlowWhatsappCtaUrlButtonNode | FlowWhatsappTemplate |
|
|
22
|
-
export {
|
|
23
|
+
export type FlowContent = FlowCarousel | FlowImage | FlowText | FlowVideo | FlowWhatsappButtonList | FlowWhatsappCtaUrlButtonNode | FlowWhatsappTemplate | FlowWhatsappRequestContactInfoNode | FlowHandoff | FlowBotAction | FlowAiAgent | FlowAiAgentRouter | FlowRating | FlowCountryConditional | FlowChannelConditional | FlowQueueStatusConditional | FlowCustomConditional | FlowContactReasonsConditional | FlowGoToFlow | FlowCaptureUserInput | FlowCustomConditionalV2 | FlowDoNothing;
|
|
24
|
+
export { FlowAiAgent, FlowAiAgentRouter, FlowBotAction, FlowCaptureUserInput, FlowCarousel, FlowChannelConditional, FlowContactReasonsConditional, FlowCountryConditional, FlowCustomConditional, FlowCustomConditionalV2, FlowDoNothing, FlowGoToFlow, FlowHandoff, FlowImage, FlowQueueStatusConditional, FlowRating, FlowText, FlowVideo, FlowWhatsappButtonList, FlowWhatsappCtaUrlButtonNode, FlowWhatsappRequestContactInfoNode, FlowWhatsappTemplate, };
|
|
@@ -5,18 +5,20 @@ import { FlowBotAction } from './flow-bot-action';
|
|
|
5
5
|
import { FlowCaptureUserInput } from './flow-capture-user-input';
|
|
6
6
|
import { FlowCarousel } from './flow-carousel';
|
|
7
7
|
import { FlowChannelConditional } from './flow-channel-conditional';
|
|
8
|
+
import { FlowContactReasonsConditional } from './flow-contact-reasons-conditional';
|
|
8
9
|
import { FlowCountryConditional } from './flow-country-conditional';
|
|
9
10
|
import { FlowCustomConditional } from './flow-custom-conditional';
|
|
11
|
+
import { FlowDoNothing } from './flow-do-nothing';
|
|
10
12
|
import { FlowGoToFlow } from './flow-go-to-flow';
|
|
11
13
|
import { FlowHandoff } from './flow-handoff';
|
|
12
14
|
import { FlowImage } from './flow-image';
|
|
13
|
-
import { DISABLED_MEMORY_LENGTH, FlowKnowledgeBase, } from './flow-knowledge-base';
|
|
14
15
|
import { FlowQueueStatusConditional } from './flow-queue-status-conditional';
|
|
15
16
|
import { FlowRating } from './flow-rating';
|
|
16
17
|
import { FlowText } from './flow-text';
|
|
17
18
|
import { FlowVideo } from './flow-video';
|
|
18
19
|
import { FlowWhatsappCtaUrlButtonNode } from './flow-whatsapp-cta-url-button';
|
|
20
|
+
import { FlowWhatsappRequestContactInfoNode } from './flow-whatsapp-request-contact-info';
|
|
19
21
|
import { FlowWhatsappTemplate } from './flow-whatsapp-template';
|
|
20
22
|
import { FlowWhatsappButtonList } from './whatsapp-button-list/flow-whatsapp-button-list';
|
|
21
|
-
export {
|
|
23
|
+
export { FlowAiAgent, FlowAiAgentRouter, FlowBotAction, FlowCaptureUserInput, FlowCarousel, FlowChannelConditional, FlowContactReasonsConditional, FlowCountryConditional, FlowCustomConditional, FlowCustomConditionalV2, FlowDoNothing, FlowGoToFlow, FlowHandoff, FlowImage, FlowQueueStatusConditional, FlowRating, FlowText, FlowVideo, FlowWhatsappButtonList, FlowWhatsappCtaUrlButtonNode, FlowWhatsappRequestContactInfoNode, FlowWhatsappTemplate, };
|
|
22
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAA;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AACjE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/botonic/plugin-flow-builder/src/lib/content-fields/index.ts"],"names":[],"mappings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