feat: Add APIs for linear integration (#9346)
This commit is contained in:
@@ -83,3 +83,5 @@
|
||||
- name: help_center_embedding_search
|
||||
enabled: false
|
||||
premium: true
|
||||
- name: linear_integration
|
||||
enabled: false
|
||||
|
||||
@@ -159,3 +159,27 @@ openai:
|
||||
},
|
||||
]
|
||||
visible_properties: ['api_key', 'label_suggestion']
|
||||
linear:
|
||||
id: linear
|
||||
logo: linear.png
|
||||
i18n_key: linear
|
||||
action: /linear
|
||||
hook_type: account
|
||||
allow_multiple_hooks: false
|
||||
settings_json_schema: {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"api_key": { "type": "string" },
|
||||
},
|
||||
"required": ["api_key"],
|
||||
"additionalProperties": false,
|
||||
}
|
||||
settings_form_schema: [
|
||||
{
|
||||
"label": "API Key",
|
||||
"type": "text",
|
||||
"name": "api_key",
|
||||
"validation": "required",
|
||||
},
|
||||
]
|
||||
visible_properties: []
|
||||
|
||||
@@ -224,6 +224,9 @@ en:
|
||||
openai:
|
||||
name: "OpenAI"
|
||||
description: "Integrate powerful AI features into Chatwoot by leveraging the GPT models from OpenAI."
|
||||
linear:
|
||||
name: "Linear"
|
||||
description: "Create Linear issues from conversations, or link existing ones for seamless tracking."
|
||||
public_portal:
|
||||
search:
|
||||
search_placeholder: Search for article by title or body...
|
||||
|
||||
@@ -227,6 +227,17 @@ Rails.application.routes.draw do
|
||||
post :add_participant_to_meeting
|
||||
end
|
||||
end
|
||||
resource :linear, controller: 'linear', only: [] do
|
||||
collection do
|
||||
get :teams
|
||||
get :team_entities
|
||||
post :create_issue
|
||||
post :link_issue
|
||||
post :unlink_issue
|
||||
get :search_issue
|
||||
get :linked_issues
|
||||
end
|
||||
end
|
||||
end
|
||||
resources :working_hours, only: [:update]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user