From f94abaef5f4cc88b3125f2315f82ad332d50fb48 Mon Sep 17 00:00:00 2001 From: Brandon Wilson Date: Fri, 27 Aug 2021 10:26:45 -0400 Subject: [PATCH] feat: Shows inbox identifier token for API inbox (#2894) Fixes: #2605 --- .../dashboard/i18n/locale/en/inboxMgmt.json | 2 + .../dashboard/settings/inbox/Settings.vue | 10 +++- app/models/inbox.rb | 4 ++ app/views/api/v1/models/_inbox.json.jbuilder | 1 + spec/models/inbox_spec.rb | 48 +++++++++++++++++++ 5 files changed, 64 insertions(+), 1 deletion(-) diff --git a/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json b/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json index 472c871a0..3731e79a9 100644 --- a/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json +++ b/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json @@ -274,6 +274,8 @@ "AUTO_ASSIGNMENT_SUB_TEXT": "Enable or disable the automatic assignment of new conversations to the agents added to this inbox.", "HMAC_VERIFICATION": "User Identity Validation", "HMAC_DESCRIPTION": "Inorder to validate the user's identity, the SDK allows you to pass an `identifier_hash` for each user. You can generate HMAC using 'sha256' with the key shown here.", + "INBOX_IDENTIFIER": "Inbox Identifier", + "INBOX_IDENTIFIER_SUB_TEXT": "Use the `inbox_identifier` token shown here to authentication your API clients.", "FORWARD_EMAIL_TITLE": "Forward to Email", "FORWARD_EMAIL_SUB_TEXT": "Start forwarding your emails to the following email address." }, diff --git a/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue b/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue index df71bd957..b41c13a97 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue @@ -279,6 +279,14 @@ +
+ + + +