diff --git a/package.json b/package.json index 09c45a50..776f597b 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "dependencies": { "@sentry/integrations": "^6.13.2", "@sentry/vue": "^6.13.2", - "@weni/unnnic-system": "^1.16.27", + "@weni/unnnic-system": "^1.16.41", "axios": "0.21.1", "core-js": "^3.6.5", "global": "^4.4.0", diff --git a/tests/unit/specs/components/__snapshots__/OnboardModal.spec.js.snap b/tests/unit/specs/components/__snapshots__/OnboardModal.spec.js.snap index 70885e3d..82dd8e31 100644 --- a/tests/unit/specs/components/__snapshots__/OnboardModal.spec.js.snap +++ b/tests/unit/specs/components/__snapshots__/OnboardModal.spec.js.snap @@ -5,17 +5,17 @@ exports[`components/OnboardModal.vue should not render modal if app is configure exports[`components/OnboardModal.vue should not render modal if onboardStatus is false 1`] = ``; exports[`components/OnboardModal.vue should render modal app is not configured 1`] = ` -
-
-
-
-
+
+
+
+
+
Integrate a channel to your project
-
+
Choose the channel you want to use and follow the step by step to add it. It's fast and easy.
-
+
@@ -24,25 +24,25 @@ exports[`components/OnboardModal.vue should render modal app is not configured 1 `; exports[`components/OnboardModal.vue telegram should handle telegram back action until app selection 1`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate Telegram
-
  1. Find the Telegram card and click on it. A sidebar will open on the right side of the page.
  2. Paste the token @BotFather sent you in the field provided. Then click "validate".
  3. Your bot will be created with the name you chose.
  4. To access the bot in Telegram, just search for the name you defined in the search field. Done!
-
@@ -51,25 +51,25 @@ exports[`components/OnboardModal.vue telegram should handle telegram back action `; exports[`components/OnboardModal.vue telegram should handle telegram back action until app selection 2`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate Telegram
-
  1. Let's go! Open your Telegram and search for "@BotFather".
  2. Then send “/newbot”, choose a Username (usernames must always end with “_bot”, Eg:. test_bot).
  3. With these steps completed, you will receive a token.
  4. On the Weni Platform, access the integrations module, and click on the “+” on the telegram card, then you will be redirected to my applications.
-
@@ -78,17 +78,17 @@ exports[`components/OnboardModal.vue telegram should handle telegram back action `; exports[`components/OnboardModal.vue telegram should handle telegram back action until app selection 3`] = ` -
-
-
-
-
+
+
+
+
+
Integrate a channel to your project
-
+
Choose the channel you want to use and follow the step by step to add it. It's fast and easy.
-
+
@@ -97,25 +97,25 @@ exports[`components/OnboardModal.vue telegram should handle telegram back action `; exports[`components/OnboardModal.vue telegram should render telegram pages correctly and close modal in the end 1`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate Telegram
-
  1. Let's go! Open your Telegram and search for "@BotFather".
  2. Then send “/newbot”, choose a Username (usernames must always end with “_bot”, Eg:. test_bot).
  3. With these steps completed, you will receive a token.
  4. On the Weni Platform, access the integrations module, and click on the “+” on the telegram card, then you will be redirected to my applications.
-
@@ -124,25 +124,25 @@ exports[`components/OnboardModal.vue telegram should render telegram pages corre `; exports[`components/OnboardModal.vue telegram should render telegram pages correctly and close modal in the end 2`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate Telegram
-
  1. Find the Telegram card and click on it. A sidebar will open on the right side of the page.
  2. Paste the token @BotFather sent you in the field provided. Then click "validate".
  3. Your bot will be created with the name you chose.
  4. To access the bot in Telegram, just search for the name you defined in the search field. Done!
-
@@ -153,25 +153,25 @@ exports[`components/OnboardModal.vue telegram should render telegram pages corre exports[`components/OnboardModal.vue telegram should render telegram pages correctly and close modal in the end 3`] = ``; exports[`components/OnboardModal.vue telegram should start telegram steps on telegram icon click 1`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate Telegram
-
  1. Let's go! Open your Telegram and search for "@BotFather".
  2. Then send “/newbot”, choose a Username (usernames must always end with “_bot”, Eg:. test_bot).
  3. With these steps completed, you will receive a token.
  4. On the Weni Platform, access the integrations module, and click on the “+” on the telegram card, then you will be redirected to my applications.
-
@@ -180,25 +180,25 @@ exports[`components/OnboardModal.vue telegram should start telegram steps on tel `; exports[`components/OnboardModal.vue weni web chat should handle wwc back action until app selection 1`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate Telegram
-
  1. Let's go! Open your Telegram and search for "@BotFather".
  2. Then send “/newbot”, choose a Username (usernames must always end with “_bot”, Eg:. test_bot).
  3. With these steps completed, you will receive a token.
  4. On the Weni Platform, access the integrations module, and click on the “+” on the telegram card, then you will be redirected to my applications.
-
@@ -207,17 +207,17 @@ exports[`components/OnboardModal.vue weni web chat should handle wwc back action `; exports[`components/OnboardModal.vue weni web chat should handle wwc back action until app selection 2`] = ` -
-
-
-
-
+
+
+
+
+
Integrate a channel to your project
-
+
Choose the channel you want to use and follow the step by step to add it. It's fast and easy.
-
+
@@ -226,25 +226,25 @@ exports[`components/OnboardModal.vue weni web chat should handle wwc back action `; exports[`components/OnboardModal.vue weni web chat should render weniwebchat pages correctly and close modal in the end 1`] = ` -
-
-
-
-
+
+
+
+
+
How to Integrate Weni Web Chat
-
  1. Under communication channels, click Weni Web Chat.
  2. Click the "Add" button in the upper right corner of the screen.
  3. Now you can customize your bot, choosing the colors, the name and the messages it will send.
  4. Finally, access the "Script Code" section and copy the code that appears there. Paste it above the </body> tag on your site.
-
@@ -255,25 +255,25 @@ exports[`components/OnboardModal.vue weni web chat should render weniwebchat pag exports[`components/OnboardModal.vue weni web chat should render weniwebchat pages correctly and close modal in the end 2`] = ``; exports[`components/OnboardModal.vue weni web chat should start weni web chat steps on weni web chat icon click 1`] = ` -
-
-
-
-
+
+
+
+
+
How to Integrate Weni Web Chat
-
  1. Under communication channels, click Weni Web Chat.
  2. Click the "Add" button in the upper right corner of the screen.
  3. Now you can customize your bot, choosing the colors, the name and the messages it will send.
  4. Finally, access the "Script Code" section and copy the code that appears there. Paste it above the </body> tag on your site.
-
@@ -282,25 +282,25 @@ exports[`components/OnboardModal.vue weni web chat should start weni web chat st `; exports[`components/OnboardModal.vue whatsapp should handle whatsapp back action until app selection 1`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate WhatsApp
-
  1. After making these settings, a new Weni Platform screen will appear. Just click Create Channel.
  2. Your channel is now integrated with WhatsApp and ready to be customized.
  3. To customize, click on the WhatsApp card that displays your business number .
  4. Then you can customize the name and description.
-
@@ -309,25 +309,25 @@ exports[`components/OnboardModal.vue whatsapp should handle whatsapp back action `; exports[`components/OnboardModal.vue whatsapp should handle whatsapp back action until app selection 2`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate WhatsApp
-
  1. Now it's time to fill in your company details.
  2. Create or select a profile for your WhatsApp Bussines, this account will belong to your target business account .
  3. Add the phone number that people will use to chat with you on WhatsApp.
  4. After that enter your number and fill in the verification code field that will be sent to you.
-
@@ -336,25 +336,25 @@ exports[`components/OnboardModal.vue whatsapp should handle whatsapp back action `; exports[`components/OnboardModal.vue whatsapp should handle whatsapp back action until app selection 3`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate WhatsApp
-
  1. On the WhatsApp card, look for the "+" button and click on it.
  2. Next, a window will appear asking if you want to connect your WhatsApp account with Facebook.
  3. Log in to your Facebook and click "Start" to be redirected to the next page.
  4. Oh, and don't worry about the requested permissions. They are needed so that we can help you even more!
-
@@ -363,17 +363,17 @@ exports[`components/OnboardModal.vue whatsapp should handle whatsapp back action `; exports[`components/OnboardModal.vue whatsapp should handle whatsapp back action until app selection 4`] = ` -
-
-
-
-
+
+
+
+
+
Integrate a channel to your project
-
+
Choose the channel you want to use and follow the step by step to add it. It's fast and easy.
-
+
@@ -382,25 +382,25 @@ exports[`components/OnboardModal.vue whatsapp should handle whatsapp back action `; exports[`components/OnboardModal.vue whatsapp should render whatsapp pages correctly and close modal in the end 1`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate WhatsApp
-
  1. On the WhatsApp card, look for the "+" button and click on it.
  2. Next, a window will appear asking if you want to connect your WhatsApp account with Facebook.
  3. Log in to your Facebook and click "Start" to be redirected to the next page.
  4. Oh, and don't worry about the requested permissions. They are needed so that we can help you even more!
-
@@ -409,25 +409,25 @@ exports[`components/OnboardModal.vue whatsapp should render whatsapp pages corre `; exports[`components/OnboardModal.vue whatsapp should render whatsapp pages correctly and close modal in the end 2`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate WhatsApp
-
  1. Now it's time to fill in your company details.
  2. Create or select a profile for your WhatsApp Bussines, this account will belong to your target business account .
  3. Add the phone number that people will use to chat with you on WhatsApp.
  4. After that enter your number and fill in the verification code field that will be sent to you.
-
@@ -436,25 +436,25 @@ exports[`components/OnboardModal.vue whatsapp should render whatsapp pages corre `; exports[`components/OnboardModal.vue whatsapp should render whatsapp pages correctly and close modal in the end 3`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate WhatsApp
-
  1. After making these settings, a new Weni Platform screen will appear. Just click Create Channel.
  2. Your channel is now integrated with WhatsApp and ready to be customized.
  3. To customize, click on the WhatsApp card that displays your business number .
  4. Then you can customize the name and description.
-
@@ -465,25 +465,25 @@ exports[`components/OnboardModal.vue whatsapp should render whatsapp pages corre exports[`components/OnboardModal.vue whatsapp should render whatsapp pages correctly and close modal in the end 4`] = ``; exports[`components/OnboardModal.vue whatsapp should start whatsapp steps on whatsapp icon click 1`] = ` -
-
-
-
-
+
+
+
+
+
How to integrate WhatsApp
-
  1. On the WhatsApp card, look for the "+" button and click on it.
  2. Next, a window will appear asking if you want to connect your WhatsApp account with Facebook.
  3. Log in to your Facebook and click "Start" to be redirected to the next page.
  4. Oh, and don't worry about the requested permissions. They are needed so that we can help you even more!
-
diff --git a/tests/unit/specs/components/__snapshots__/Survey.spec.js.snap b/tests/unit/specs/components/__snapshots__/Survey.spec.js.snap index ed734967..c6737a08 100644 --- a/tests/unit/specs/components/__snapshots__/Survey.spec.js.snap +++ b/tests/unit/specs/components/__snapshots__/Survey.spec.js.snap @@ -5,7 +5,7 @@ exports[`components/Survey.vue should be rendered properly with content closed 1 -
+
`; @@ -15,25 +15,25 @@ exports[`components/Survey.vue should be rendered properly with content open 1`]

Do you miss any integration? If so, tell us which one

-
+
-
-
+
`; diff --git a/tests/unit/specs/components/app/__snapshots__/AppDetailsComments.spec.js.snap b/tests/unit/specs/components/app/__snapshots__/AppDetailsComments.spec.js.snap index 8fe3ecfa..091a9dec 100644 --- a/tests/unit/specs/components/app/__snapshots__/AppDetailsComments.spec.js.snap +++ b/tests/unit/specs/components/app/__snapshots__/AppDetailsComments.spec.js.snap @@ -7,8 +7,8 @@ exports[`AppDetailsComments.vue should be rendered properly 1`] = `
-
- +
+
diff --git a/tests/unit/specs/components/config/channels/generic/__snapshots__/Config.spec.js.snap b/tests/unit/specs/components/config/channels/generic/__snapshots__/Config.spec.js.snap index 007adf3f..861be725 100644 --- a/tests/unit/specs/components/config/channels/generic/__snapshots__/Config.spec.js.snap +++ b/tests/unit/specs/components/config/channels/generic/__snapshots__/Config.spec.js.snap @@ -12,15 +12,15 @@ exports[`components/config/channels/generic/Config.vue should be rendered proper
-
diff --git a/tests/unit/specs/components/config/channels/whatsapp/components/tabs/__snapshots__/WebhookTab.spec.js.snap b/tests/unit/specs/components/config/channels/whatsapp/components/tabs/__snapshots__/WebhookTab.spec.js.snap index 89d5968f..db274688 100644 --- a/tests/unit/specs/components/config/channels/whatsapp/components/tabs/__snapshots__/WebhookTab.spec.js.snap +++ b/tests/unit/specs/components/config/channels/whatsapp/components/tabs/__snapshots__/WebhookTab.spec.js.snap @@ -5,7 +5,7 @@ exports[`components/config/channels/whatsapp/components/tabs/WebhookTab.vue shou
-

Method

+

Method

@@ -17,7 +17,7 @@ exports[`components/config/channels/whatsapp/components/tabs/WebhookTab.vue shou

Webhook URL

-
+
@@ -30,7 +30,7 @@ exports[`components/config/channels/whatsapp/components/tabs/WebhookTab.vue shou
-
+
@@ -38,7 +38,7 @@ exports[`components/config/channels/whatsapp/components/tabs/WebhookTab.vue shou
-
+
@@ -48,7 +48,7 @@ exports[`components/config/channels/whatsapp/components/tabs/WebhookTab.vue shou
-
+
@@ -56,7 +56,7 @@ exports[`components/config/channels/whatsapp/components/tabs/WebhookTab.vue shou
-
+
@@ -66,15 +66,15 @@ exports[`components/config/channels/whatsapp/components/tabs/WebhookTab.vue shou
-
diff --git a/tests/unit/specs/components/config/external/chatgpt/__snapshots__/Config.spec.js.snap b/tests/unit/specs/components/config/external/chatgpt/__snapshots__/Config.spec.js.snap index 02e946fd..606b82fd 100644 --- a/tests/unit/specs/components/config/external/chatgpt/__snapshots__/Config.spec.js.snap +++ b/tests/unit/specs/components/config/external/chatgpt/__snapshots__/Config.spec.js.snap @@ -40,10 +40,10 @@ exports[`components/config/external/chatgpt/Config.vue should be rendered proper
-
+
gpt-3.5-turbo-16k
-
+
gpt-3.5-turbo
@@ -73,9 +73,9 @@ exports[`components/config/external/chatgpt/Config.vue should be rendered proper - + - +
@@ -95,10 +95,10 @@ exports[`components/config/external/chatgpt/Config.vue should be rendered proper
-
+
gpt-3.5-turbo-16k
-
+
gpt-3.5-turbo
diff --git a/tests/unit/specs/components/config/external/omie/__snapshots__/Config.spec.js.snap b/tests/unit/specs/components/config/external/omie/__snapshots__/Config.spec.js.snap index 37b0b709..8dbc5a77 100644 --- a/tests/unit/specs/components/config/external/omie/__snapshots__/Config.spec.js.snap +++ b/tests/unit/specs/components/config/external/omie/__snapshots__/Config.spec.js.snap @@ -9,53 +9,53 @@ exports[`components/config/external/omie/Config.vue should be rendered properly
Learn more about integrating with Omie here
-
-
-
    -
  • Configure
  • +
    +
    +
      +
    • Configure
    -
    -
    -
    -
    -
    -
    +
    +
    +
    +
    +
    +

    Name

    -
    +
    -
    +

    App Key

    -
    +
    -
    +

    App Secret

    -
    +
    -
    +
    -
    diff --git a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormHeader.spec.js.snap b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormHeader.spec.js.snap index 19605099..4890b4d7 100644 --- a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormHeader.spec.js.snap +++ b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormHeader.spec.js.snap @@ -4,9 +4,9 @@ exports[`components/whatsAppTemplates/FormHeader.vue should be rendered properly
    WhatsApp Templates -
    some specific text diff --git a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormTabContent.spec.js.snap b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormTabContent.spec.js.snap index 1e9ddfe7..720e449f 100644 --- a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormTabContent.spec.js.snap +++ b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormTabContent.spec.js.snap @@ -6,7 +6,7 @@ exports[`components/whatsAppTemplates/FormTabContent.vue should be rendered prop

    Name

    -
    +
    @@ -14,14 +14,14 @@ exports[`components/whatsAppTemplates/FormTabContent.vue should be rendered prop
    Category
    -
    Select the category
    +
    Select the category
    -

    Language

    +

    Language

    diff --git a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormTabContentBody.spec.js.snap b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormTabContentBody.spec.js.snap index b397c88e..7e26a836 100644 --- a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormTabContentBody.spec.js.snap +++ b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormTabContentBody.spec.js.snap @@ -4,14 +4,14 @@ exports[`components/whatsAppTemplates/FormTabContentBody.vue should be rendered
    Body Text -
    - -
    0/1024
    +
    + +
    0/1024
    -
    -
    Bold
    -
    Italic
    -
    Strike Through
    -
    Monospace
    -
    -
    diff --git a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/Table.spec.js.snap b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/Table.spec.js.snap index d6cb37e8..f5b94a40 100644 --- a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/Table.spec.js.snap +++ b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/Table.spec.js.snap @@ -10,7 +10,7 @@ exports[`components/whatsAppTemplates/Table.vue should be rendered properly 1`]
    -
    +
    @@ -19,9 +19,9 @@ exports[`components/whatsAppTemplates/Table.vue should be rendered properly 1`]
    -

    some specific text

    +

    some specific text

    -
    -
    -
    +
    +
    +
    some specific text
    @@ -222,12 +222,12 @@ exports[`components/whatsAppTemplates/Table.vue should be rendered properly 1`]
    -
    -
    +
    +
    -
    -
    -
    +
    +
    +
    template name @@ -256,9 +256,9 @@ exports[`components/whatsAppTemplates/Table.vue should be rendered properly 1`]
    -
    +
    en - +
    diff --git a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TableActionButton.spec.js.snap b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TableActionButton.spec.js.snap index 6445ae19..1a6f1d79 100644 --- a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TableActionButton.spec.js.snap +++ b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TableActionButton.spec.js.snap @@ -2,9 +2,9 @@ exports[`components/whatsAppTemplates/TableActionButton.vue should be rendered properly 1`] = `
    -
    @@ -14,14 +14,14 @@ exports[`components/whatsAppTemplates/TableActionButton.vue should be rendered p exports[`components/whatsAppTemplates/TableActionButton.vue should render options properly 1`] = `
    -
    - diff --git a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TableSort.spec.js.snap b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TableSort.spec.js.snap index dc447bae..59afc884 100644 --- a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TableSort.spec.js.snap +++ b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TableSort.spec.js.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`components/whatsAppTemplates/TableSort.vue should be rendered properly with the asc icon and emit accordingly 1`] = ``; +exports[`components/whatsAppTemplates/TableSort.vue should be rendered properly with the asc icon and emit accordingly 1`] = ``; -exports[`components/whatsAppTemplates/TableSort.vue should be rendered properly with the default icon and emit accordingly 1`] = ``; +exports[`components/whatsAppTemplates/TableSort.vue should be rendered properly with the default icon and emit accordingly 1`] = ``; -exports[`components/whatsAppTemplates/TableSort.vue should be rendered properly with the desc icon and emit accordingly 1`] = ``; +exports[`components/whatsAppTemplates/TableSort.vue should be rendered properly with the desc icon and emit accordingly 1`] = ``; diff --git a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TemplatePreview.spec.js.snap b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TemplatePreview.spec.js.snap index a4ea11ce..dce5801f 100644 --- a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TemplatePreview.spec.js.snap +++ b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TemplatePreview.spec.js.snap @@ -2,7 +2,7 @@ exports[`components/whatsAppTemplates/FormHeader.vue should be rendered properly 1`] = `
    -
    Preview
    +
    Preview
    diff --git a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TranslationSampleForm.spec.js.snap b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TranslationSampleForm.spec.js.snap index eb4bcd92..4f97a40d 100644 --- a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TranslationSampleForm.spec.js.snap +++ b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/TranslationSampleForm.spec.js.snap @@ -2,17 +2,17 @@ exports[`components/whatsAppTemplates/TranslationSampleForm.vue should be rendered properly 1`] = `
    - -
    -
    -
    -
    -
    - -
    Add Sample Content
    + +
    +
    +
    +
    +
    + +
    Add Sample Content
    -
    -
    +
    +
    You have the option to provide specific content examples for your template. @@ -34,10 +34,10 @@ exports[`components/whatsAppTemplates/TranslationSampleForm.vue should be render
    -
    @@ -45,7 +45,7 @@ exports[`Discovery.vue should be rendered properly 1`] = `
    Weni Web Chat
    some specific text
    -
    +
    4.9
    (undefined some specific text)
    @@ -65,15 +65,15 @@ exports[`Discovery.vue should be rendered properly 1`] = `
    -
    +

    some specific text

    -
    @@ -83,7 +83,7 @@ exports[`Discovery.vue should be rendered properly 1`] = `
    Weni Web Chat
    some specific text
    -
    +
    4.9
    (undefined some specific text)
    @@ -103,7 +103,7 @@ exports[`Discovery.vue should be rendered properly 1`] = `
    -
    +

    some specific text