MCPcopy Index your code
hub / github.com/simstudioai/sim / mapLeadList

Function mapLeadList

apps/sim/tools/instantly/utils.ts:155–166  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

153}
154
155export 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
168export const leadOutputs = {
169 lead: {

Callers 1

Calls 3

asRecordFunction · 0.70
asStringFunction · 0.70
asBooleanFunction · 0.70

Tested by

no test coverage detected