(args: Record<string, unknown>)
| 98 | }; |
| 99 | |
| 100 | function extractWebhookUrl(args: Record<string, unknown>): string | undefined { |
| 101 | const pnc = args.push_notification_config as { url?: unknown } | undefined; |
| 102 | if (!pnc || typeof pnc !== 'object') return undefined; |
| 103 | return typeof pnc.url === 'string' && pnc.url.length > 0 ? pnc.url : undefined; |
| 104 | } |
| 105 | |
| 106 | function extractRegisteredOperationId(args: Record<string, unknown>): string | undefined { |
| 107 | const pnc = args.push_notification_config as { operation_id?: unknown } | undefined; |
no outgoing calls
no test coverage detected