({
externalThreadId,
channelId,
threadId,
}: LinenTypes.threadFindType)
| 67 | // threads ----- |
| 68 | |
| 69 | getThread({ |
| 70 | externalThreadId, |
| 71 | channelId, |
| 72 | threadId, |
| 73 | }: LinenTypes.threadFindType): Promise<LinenTypes.threadFindResponseType> { |
| 74 | return this.get( |
| 75 | `/api/integrations/threads?${qs({ |
| 76 | externalThreadId, |
| 77 | channelId, |
| 78 | threadId, |
| 79 | })}` |
| 80 | ); |
| 81 | } |
| 82 | |
| 83 | createNewThread(thread: LinenTypes.threadPostType) { |
| 84 | return this.post(`/api/integrations/threads`, thread); |
no test coverage detected