( params: ZoomInfoBaseParams )
| 14 | } |
| 15 | |
| 16 | export function buildProxyBody( |
| 17 | params: ZoomInfoBaseParams |
| 18 | ): Pick<ZoomInfoProxyEnvelope, 'clientId' | 'clientSecret'> { |
| 19 | return { |
| 20 | clientId: params.clientId, |
| 21 | clientSecret: params.clientSecret, |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | export function parseJsonField<T>(value: unknown, fieldName: string): T { |
| 26 | if (typeof value !== 'string') return value as T |
no outgoing calls
no test coverage detected