feat: Generate SSO URL in Chatwoot, move Captain to primary tab (#9871)

- Generate SSO URL in Chatwoot, move Captain to the primary tab

Co-authored-by: Pranav <pranavrajs@gmail.com>
This commit is contained in:
Sojan Jose
2024-08-01 19:22:34 -07:00
committed by GitHub
parent 17a6df10a0
commit 829bb842fd
16 changed files with 237 additions and 12 deletions

View File

@@ -217,3 +217,14 @@
locked: false
description: 'Contents on your firebase credentials json file'
## ------ End of Configs added for FCM v1 notifications ------ ##
## ----- Captain Configs ----- ##
- name: CAPTAIN_API_URL
value:
display_title: 'Captain API URL'
description: 'The API URL for Captain'
- name: CAPTAIN_APP_URL
value:
display_title: 'Captain App URL'
description: 'The App URL for Captain'
## ----- End of Captain Configs ----- ##

View File

@@ -216,6 +216,11 @@ Rails.application.routes.draw do
resources :webhooks, only: [:index, :create, :update, :destroy]
namespace :integrations do
resources :apps, only: [:index, :show]
resource :captain, controller: 'captain', only: [] do
collection do
get :sso_url
end
end
resources :hooks, only: [:show, :create, :update, :destroy] do
member do
post :process_event