Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 0 additions & 3 deletions integrations/whatsapp/integration.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,6 @@ export default new IntegrationDefinition({
schema: startConversationProps.input.schema.shape['conversation'],
},
},
__advanced: {
useLegacyZuiTransformer: true,
},
})
.extend(typingIndicator, () => ({ entities: {} }))
.extend(proactiveConversation, ({ entities }) => ({
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botpress/cli",
"version": "5.0.3",
"version": "5.1.0",
"description": "Botpress CLI",
"scripts": {
"build": "pnpm run build:types && pnpm run bundle && pnpm run template:gen",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ export class IntegrationImplementationModule extends Module {
'',
"export type HandlerProps = Parameters<IntegrationProps['handler']>[0]",
'',
"export type Context = HandlerProps['ctx']",
"export type Logger = HandlerProps['logger']",
'',
'export type CommonHandlerProps = {',
' ctx: Context',
' client: Client',
' logger: Logger',
'}',
'',
'export type ActionProps = {',
" [K in keyof IntegrationProps['actions']]: Parameters<IntegrationProps['actions'][K]>[0]",
'}',
Expand All @@ -57,9 +66,6 @@ export class IntegrationImplementationModule extends Module {
'}',
'export type AnyMessageProps = ValueOf<ValueOf<MessageProps>>',
'',
"export type Context = HandlerProps['ctx']",
"export type Logger = HandlerProps['logger']",
'',
'export type AckFunctions = {',
' [TChannel in keyof MessageProps]: {',
" [TMessage in keyof MessageProps[TChannel]]: Cast<MessageProps[TChannel][TMessage], AnyMessageProps>['ack']",
Expand Down
3 changes: 0 additions & 3 deletions plugins/conversation-insights/plugin.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,4 @@ export default new PluginDefinition({
},
},
workflows: { updateAllConversations: { input: { schema: z.object({}) }, output: { schema: z.object({}) } } },
__advanced: {
useLegacyZuiTransformer: true,
},
})
3 changes: 0 additions & 3 deletions plugins/file-synchronizer/plugin.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,4 @@ export default new sdk.PluginDefinition({
interfaces: {
'files-readonly': sdk.version.allWithinMajorOf(filesReadonly),
},
__advanced: {
useLegacyZuiTransformer: true,
},
})
3 changes: 0 additions & 3 deletions plugins/hitl/plugin.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,4 @@ export default new sdk.PluginDefinition({
}),
},
},
__advanced: {
useLegacyZuiTransformer: true,
},
})
Loading