4.21.4 • Published 1 month ago

leadconduit-types v4.21.4

Weekly downloads
1,396
License
CC-BY-NC-ND-4.0
Repository
github
Last release
1 month ago

LeadConduit Types

This Node.JS module parses lead data by type.

Build Status

Usage

var types = require('leadconduit-types');
var phone = types.phone.parse('(512) 789-1111');
console.log(phone);

Supported types

In LeadConduit each field has an associated type, which is used to help make sense out of submitted lead data. The following table summarizes all supported types and provides some example values for each.

Data TypeDescriptionExamples
stringAny string data which can include alphanumeric characters, whitespace, special characters, new lines, etc.John, I would like some information on your product, 0123
numberAny string which can be parsed to a number1000, 9,998.99
booleanAny string wich can be parsed to a booleantrue, 1, yes
date, dobMost strings which are reasonably recognizable as a date, including European formats (month before day)1995-12-25 (recommended), Dec 25, 1995, 12/25/1995, 25/12/1995
timeMost strings which are reasonably recognizable as a datetime, including European formats (month before day)2014-06-14T18:27:33.000Z (recommended), 2014-06-14T18:27:33Z, 06/14/2014 6:27:33 PM, Sat Jun 14 2014 13:27:33 GMT-0500 (CDT)
ssnA US Social Security Number. Data submitted in this field transient. It is never stored or logged by LeadConduit.123-45-6789, 123 45 6789, 123456789
postal codeA US, UK, or Canadian postal code78751, 78751-4424, AA11A 1AA
stateA US State abbreviation, or international localityTX, Quebec
rangeA numeric range, with a high and low boundary. A non-range is also acceptable provided is a number1 to 10, 1-10, 10+, 10
genderGender of the consumerMale, Female, Other, M, F, O
phoneA US phone number in a common format (optional extension must be preceded by the x character). To specify the type of the phone number append h for home, w for work, or m for mobile to the number.1-512-789-1111, 512-789-1111 x1234, (512) 789-1111h, 5127891111m, (512) 789-1111w
emailAn email addressfoo@bar.com, foo+bar@baz.com
streetA street address4203 Guadalupe St
trustedform_urlA TrustedForm certificate or ping URLhttps://cert.trustedform.com/eb9fc4dd9bed9ad451a5648946cf4bf09b5bb947
urlA URLhttps://mywebsite.com
4.21.4

1 month ago

4.21.1

8 months ago

4.21.2

7 months ago

4.21.3

7 months ago

4.21.0

9 months ago

4.20.4

1 year ago

4.20.5

12 months ago

4.20.6

11 months ago

4.20.7

10 months ago

4.20.8

10 months ago

4.20.9

10 months ago

4.20.2

1 year ago

4.20.3

1 year ago

4.20.1

1 year ago

4.20.0

2 years ago

4.19.5

2 years ago

4.19.0

2 years ago

4.19.1

2 years ago

4.19.2

2 years ago

4.19.3

2 years ago

4.19.4

2 years ago

4.18.7

2 years ago

4.18.5-alpha.1

3 years ago

4.18.5

3 years ago

4.18.3

4 years ago

4.18.4

4 years ago

4.18.2

5 years ago

4.18.1

5 years ago

4.18.0

5 years ago

4.17.0

6 years ago

4.16.3

6 years ago

4.16.2

6 years ago

4.16.1

6 years ago

4.16.0

7 years ago

4.15.1

7 years ago

4.15.0

7 years ago

4.14.3

7 years ago

4.14.2

7 years ago

4.14.1

7 years ago

4.14.0

7 years ago

4.13.0

7 years ago

4.12.3

7 years ago

4.12.2

8 years ago

4.12.1

8 years ago

4.12.0

8 years ago

4.11.7

8 years ago

4.11.6

8 years ago

4.11.5

8 years ago

4.11.4

8 years ago

4.11.3

8 years ago

4.11.2

8 years ago

4.11.1

8 years ago

4.11.0

8 years ago

4.10.0

8 years ago

4.9.0

8 years ago

4.8.2

8 years ago

4.8.1

8 years ago

4.8.0

8 years ago

4.7.2

8 years ago

4.7.1

8 years ago

4.7.0

8 years ago

4.6.0

8 years ago

4.5.1

8 years ago

4.5.0

8 years ago

4.4.0

8 years ago

4.3.0

8 years ago

4.2.0

9 years ago

4.1.0

9 years ago

4.0.0

9 years ago

3.2.3

9 years ago

3.2.2

9 years ago

3.2.1

9 years ago

3.2.0

9 years ago

3.1.4

9 years ago

3.1.3

9 years ago

3.1.2

9 years ago

3.1.1

9 years ago

3.1.0

9 years ago

3.0.2

9 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.4.1

9 years ago

2.4.0

9 years ago

2.3.0

9 years ago

2.2.5

9 years ago

2.2.4

9 years ago

2.2.3

9 years ago

2.2.1

9 years ago

2.2.0

9 years ago

2.1.0

9 years ago

2.0.0

9 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.4.0

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.8

10 years ago

0.2.7

10 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.1.3

10 years ago