whatsapp fixes
This commit is contained in:
parent
ff01efe4bb
commit
248acba741
5 changed files with 425 additions and 38 deletions
|
|
@ -523,7 +523,14 @@ export const agentMessagesApi = {
|
|||
docs: () => jsonRequest<AgentMessageApiDoc>('/api/v1/agent/messages/docs/send'),
|
||||
send: (
|
||||
apiKey: string,
|
||||
payload: { template: string; to: string; customer_name: string; report_group: string; report_id?: string },
|
||||
payload: {
|
||||
template: string
|
||||
to: string
|
||||
customer_name: string
|
||||
report_group: string
|
||||
report_id?: string
|
||||
report_url?: string
|
||||
},
|
||||
) =>
|
||||
fetch(`${API_BASE_URL}/api/v1/agent/messages/send`, {
|
||||
method: 'POST',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue