* POST /a2a/atp/verify -- confirm or trigger AI judge verification * @param {string} orderId * @param {string} action - 'confirm' | 'ai_judge'
(orderId, action)
| 205 | * @param {string} action - 'confirm' | 'ai_judge' |
| 206 | */ |
| 207 | function verifyDelivery(orderId, action) { |
| 208 | const nodeId = getNodeId(); |
| 209 | return _post('/atp/verify', '/a2a/atp/verify', { |
| 210 | sender_id: nodeId, |
| 211 | order_id: orderId, |
| 212 | action: action || 'confirm', |
| 213 | }); |
| 214 | } |
| 215 | |
| 216 | /** |
| 217 | * POST /a2a/atp/settle -- force settlement |
no test coverage detected