({
id,
text,
runId,
reply,
questionId,
}: {
id: string;
text: string;
runId?: string;
reply?: boolean;
questionId?: string;
})
| 401 | }; |
| 402 | |
| 403 | export const sendInterestCommand = async ({ |
| 404 | id, |
| 405 | text, |
| 406 | runId, |
| 407 | reply, |
| 408 | questionId, |
| 409 | }: { |
| 410 | id: string; |
| 411 | text: string; |
| 412 | runId?: string; |
| 413 | reply?: boolean; |
| 414 | questionId?: string; |
| 415 | }): Promise<Pick<UserInterest, 'id'>> => { |
| 416 | const res = await gqlClient.request<{ |
| 417 | sendInterestCommand: Pick<UserInterest, 'id'>; |
| 418 | }>(SEND_INTEREST_COMMAND_MUTATION, { id, text, runId, reply, questionId }); |
| 419 | return res.sendInterestCommand; |
| 420 | }; |
| 421 | |
| 422 | export type InterestHistoryArgs = { |
| 423 | id: string; |
no outgoing calls
no test coverage detected