diff --git a/package.json b/package.json index 776f597b..eb4d4249 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.41", + "@weni/unnnic-system": "^1.16.51", "axios": "0.21.1", "core-js": "^3.6.5", "global": "^4.4.0", diff --git a/src/components/config/channels/whatsapp/Setup.vue b/src/components/config/channels/whatsapp/Setup.vue index 180aab63..f3241f77 100644 --- a/src/components/config/channels/whatsapp/Setup.vue +++ b/src/components/config/channels/whatsapp/Setup.vue @@ -173,7 +173,7 @@ }, { return_scopes: true, - scope: 'business_management,whatsapp_business_management,whatsapp_business_messaging', + scope: 'business_management,whatsapp_business_management,whatsapp_business_messaging,catalog_management', extras: { feature: 'whatsapp_embedded_signup', }, diff --git a/tests/unit/specs/components/__snapshots__/OnboardModal.spec.js.snap b/tests/unit/specs/components/__snapshots__/OnboardModal.spec.js.snap index 82dd8e31..bc3a05c5 100644 --- a/tests/unit/specs/components/__snapshots__/OnboardModal.spec.js.snap +++ b/tests/unit/specs/components/__snapshots__/OnboardModal.spec.js.snap @@ -34,15 +34,15 @@ exports[`components/OnboardModal.vue telegram should handle telegram back action
  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!
-
@@ -61,15 +61,15 @@ exports[`components/OnboardModal.vue telegram should handle telegram back action
  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.
-
@@ -107,15 +107,15 @@ exports[`components/OnboardModal.vue telegram should render telegram pages corre
  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.
-
@@ -134,15 +134,15 @@ exports[`components/OnboardModal.vue telegram should render telegram pages corre
  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!
-
@@ -163,15 +163,15 @@ exports[`components/OnboardModal.vue telegram should start telegram steps on tel
  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.
-
@@ -190,15 +190,15 @@ exports[`components/OnboardModal.vue weni web chat should handle wwc back action
  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.
-
@@ -236,15 +236,15 @@ exports[`components/OnboardModal.vue weni web chat should render weniwebchat pag
  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.
-
@@ -265,15 +265,15 @@ exports[`components/OnboardModal.vue weni web chat should start weni web chat st
  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.
-
@@ -292,15 +292,15 @@ exports[`components/OnboardModal.vue whatsapp should handle whatsapp back action
  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.
-
@@ -319,15 +319,15 @@ exports[`components/OnboardModal.vue whatsapp should handle whatsapp back action
  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.
-
@@ -346,15 +346,15 @@ exports[`components/OnboardModal.vue whatsapp should handle whatsapp back action
  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!
-
@@ -392,15 +392,15 @@ exports[`components/OnboardModal.vue whatsapp should render whatsapp pages corre
  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!
-
@@ -419,15 +419,15 @@ exports[`components/OnboardModal.vue whatsapp should render whatsapp pages corre
  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.
-
@@ -446,15 +446,15 @@ exports[`components/OnboardModal.vue whatsapp should render whatsapp pages corre
  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.
-
@@ -475,15 +475,15 @@ exports[`components/OnboardModal.vue whatsapp should start whatsapp steps on wha
  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 c6737a08..f7dc4cfd 100644 --- a/tests/unit/specs/components/__snapshots__/Survey.spec.js.snap +++ b/tests/unit/specs/components/__snapshots__/Survey.spec.js.snap @@ -21,15 +21,15 @@ exports[`components/Survey.vue should be rendered properly with content open 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 861be725..2d49735b 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 db274688..ed122c86 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 @@ -66,15 +66,15 @@ exports[`components/config/channels/whatsapp/components/tabs/WebhookTab.vue shou -
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 8dbc5a77..1619513d 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 @@ -47,15 +47,15 @@ exports[`components/config/external/omie/Config.vue should be rendered properly
-
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 720e449f..ee55a480 100644 --- a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormTabContent.spec.js.snap +++ b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormTabContent.spec.js.snap @@ -43,41 +43,41 @@ exports[`components/whatsAppTemplates/FormTabContent.vue should be rendered prop
-
-
Bold
-
Bold
+
Italic
-
Italic
+
Strike Through
-
Strike Through
+
Monospace
+ Monospace
- 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 7e26a836..f84a16ed 100644 --- a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormTabContentBody.spec.js.snap +++ b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/FormTabContentBody.spec.js.snap @@ -9,9 +9,9 @@ exports[`components/whatsAppTemplates/FormTabContentBody.vue should be rendered
0/1024
-
-
Bold
-
Bold
+
Italic
-
Italic
+
Strike Through
-
Strike Through
+
Monospace
+ 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 f5b94a40..3de280ab 100644 --- a/tests/unit/specs/components/whatsAppTemplates/__snapshots__/Table.spec.js.snap +++ b/tests/unit/specs/components/whatsAppTemplates/__snapshots__/Table.spec.js.snap @@ -19,9 +19,9 @@ exports[`components/whatsAppTemplates/Table.vue should be rendered properly 1`]