From c08ab3d0077b6301540e09f06152b11ea843f656 Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Tue, 23 Jan 2024 08:17:22 +0100 Subject: [PATCH] :rocket: (whatsapp) Remove beta status --- .../preview/components/RuntimeMenu.tsx | 5 ++-- .../WhatsAppPreviewInstructions.tsx | 6 ---- apps/builder/src/features/preview/data.tsx | 1 - apps/docs/deploy/whatsapp/overview.mdx | 2 -- apps/docs/openapi/builder.json | 28 ++----------------- 5 files changed, 5 insertions(+), 37 deletions(-) diff --git a/apps/builder/src/features/preview/components/RuntimeMenu.tsx b/apps/builder/src/features/preview/components/RuntimeMenu.tsx index 276b88816..414acf973 100644 --- a/apps/builder/src/features/preview/components/RuntimeMenu.tsx +++ b/apps/builder/src/features/preview/components/RuntimeMenu.tsx @@ -28,7 +28,8 @@ export const RuntimeMenu = ({ selectedRuntime, onSelectRuntime }: Props) => { > {selectedRuntime.name} - {'status' in selectedRuntime ? ( + {'status' in selectedRuntime && + typeof selectedRuntime.status === 'string' ? ( {selectedRuntime.status} ) : null} @@ -44,7 +45,7 @@ export const RuntimeMenu = ({ selectedRuntime, onSelectRuntime }: Props) => { > {runtime.name} - {'status' in runtime ? ( + {'status' in runtime && typeof runtime.status === 'string' ? ( {runtime.status} ) : null} diff --git a/apps/builder/src/features/preview/components/WhatsAppPreviewInstructions.tsx b/apps/builder/src/features/preview/components/WhatsAppPreviewInstructions.tsx index c725bfd09..2a6e20a70 100644 --- a/apps/builder/src/features/preview/components/WhatsAppPreviewInstructions.tsx +++ b/apps/builder/src/features/preview/components/WhatsAppPreviewInstructions.tsx @@ -86,12 +86,6 @@ export const WhatsAppPreviewInstructions = (props: StackProps) => { Check the docs - - - The WhatsApp integration is still in beta test. -
- Your bug reports are greatly appreciate 🧡 -
, - status: 'beta', }, { name: 'API', icon: }, ] as const diff --git a/apps/docs/deploy/whatsapp/overview.mdx b/apps/docs/deploy/whatsapp/overview.mdx index 7931a90d5..6b7f97c88 100644 --- a/apps/docs/deploy/whatsapp/overview.mdx +++ b/apps/docs/deploy/whatsapp/overview.mdx @@ -3,8 +3,6 @@ sidebarTitle: Overview title: WhatsApp --- -WhatsApp integration is currently in beta. If you encounter any issue, please contact me directly using the Bubble in app.typebot.io. - ## Preview You can preview and test your bot by clicking on the Preview button in the editor and change the runtime to "WhatsApp". diff --git a/apps/docs/openapi/builder.json b/apps/docs/openapi/builder.json index cfbc660c7..f73b77e43 100644 --- a/apps/docs/openapi/builder.json +++ b/apps/docs/openapi/builder.json @@ -13969,32 +13969,8 @@ "type": "object", "properties": { "resultExample": { - "allOf": [ - { - "type": "object", - "properties": { - "message": { - "type": "string", - "enum": [ - "This is a sample result, it has been generated ⬇️" - ] - }, - "Submitted at": { - "type": "string" - } - }, - "required": [ - "message", - "Submitted at" - ] - }, - { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - ], + "type": "object", + "additionalProperties": {}, "description": "Can contain any fields." } },