(value: unknown)
| 153 | } |
| 154 | |
| 155 | export function mapLeadList(value: unknown): InstantlyLeadList { |
| 156 | const leadList = asRecord(value) |
| 157 | |
| 158 | return { |
| 159 | id: asString(leadList.id), |
| 160 | organization_id: asString(leadList.organization_id), |
| 161 | has_enrichment_task: asBoolean(leadList.has_enrichment_task), |
| 162 | owned_by: asString(leadList.owned_by), |
| 163 | name: asString(leadList.name), |
| 164 | timestamp_created: asString(leadList.timestamp_created), |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | export const leadOutputs = { |
| 169 | lead: { |
no test coverage detected