( response: Response, label: string )
| 33 | } |
| 34 | |
| 35 | async function readDocusignJson( |
| 36 | response: Response, |
| 37 | label: string |
| 38 | ): Promise<Record<string, unknown>> { |
| 39 | return readResponseJsonWithLimit<Record<string, unknown>>(response, { |
| 40 | maxBytes: MAX_DOCUSIGN_JSON_BYTES, |
| 41 | label, |
| 42 | }) |
| 43 | } |
| 44 | |
| 45 | function docusignError(data: Record<string, unknown>, fallback: string): string { |
| 46 | return ( |
no test coverage detected