mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-13 21:01:16 +08:00
- Set up stores for copilotThreads and copilotMessages. - Add support for upsert messages to the copilotMessages store on receiving ActionCable events. - Implement support for the upsert option.
10 lines
205 B
JavaScript
10 lines
205 B
JavaScript
import ApiClient from '../ApiClient';
|
|
|
|
class CopilotThreads extends ApiClient {
|
|
constructor() {
|
|
super('captain/copilot_threads', { accountScoped: true });
|
|
}
|
|
}
|
|
|
|
export default new CopilotThreads();
|