reports
This commit is contained in:
parent
d272ae0bd3
commit
ff01efe4bb
17 changed files with 1378 additions and 21 deletions
|
|
@ -45,10 +45,16 @@ def _explorer_doc_for_template(template: AgentMessageTemplate) -> dict:
|
|||
"description": "Recipient name shown in the template body",
|
||||
"example": "Suyash",
|
||||
},
|
||||
"report_group": {
|
||||
"type": "string",
|
||||
"required": True,
|
||||
"description": "Urmiport report group slug used in the hosted report URL",
|
||||
"example": "acme-agent-runs",
|
||||
},
|
||||
"report_id": {
|
||||
"type": "string",
|
||||
"required": False,
|
||||
"description": "Report id suffix for the dynamic View Report button URL",
|
||||
"description": "Report postfix; auto-generated when omitted",
|
||||
"example": "run-abc123",
|
||||
},
|
||||
},
|
||||
|
|
@ -60,8 +66,9 @@ def _explorer_doc_for_template(template: AgentMessageTemplate) -> dict:
|
|||
"template": template.slug,
|
||||
"to": "919149154337",
|
||||
"customer_name": "Suyash",
|
||||
"report_group": "acme-agent-runs",
|
||||
"report_id": "run-abc123",
|
||||
"report_url": f"{template.button_url_base or ''}run-abc123",
|
||||
"report_url": f"{template.button_url_base or ''}acme-agent-runs/run-abc123",
|
||||
"wa_message_id": "wamid.HBg...",
|
||||
"dispatch_id": "00000000-0000-0000-0000-000000000001",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue