smartystreets-javascript-sdk 5.0.1 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,739 @@
1
+ const chai = require("chai");
2
+ const expect = chai.expect;
3
+ const {Response} = require("../../src/us_enrichment/Response.js");
4
+
5
+ describe("A US Enrichment Response", function () {
6
+ it("is initialized correctly with API response data.", function () {
7
+ const mockResponse = {
8
+ smarty_key: "a",
9
+ data_set_name: "b",
10
+ data_subset_name: "c",
11
+ attributes: {
12
+ "1st_floor_sqft": "01",
13
+ "2nd_floor_sqft": "02",
14
+ acres: "0",
15
+ address_info_privacy: "1",
16
+ air_conditioner: "2",
17
+ arbor_pergola: "3",
18
+ assessed_improvement_percent: "4",
19
+ assessed_improvement_value: "5",
20
+ assessed_land_value: "6",
21
+ assessed_value: "7",
22
+ assessor_last_update: "8",
23
+ assessor_taxroll_update: "9",
24
+ attic_area: "10",
25
+ attic_flag: "11",
26
+ balcony: "12",
27
+ balcony_area: "13",
28
+ basement_sqft: "14",
29
+ basement_sqft_finished: "15",
30
+ basement_sqft_unfinished: "16",
31
+ bath_house: "17",
32
+ bath_house_sqft: "18",
33
+ bathrooms_partial: "19",
34
+ bathrooms_total: "20",
35
+ bedrooms: "21",
36
+ block_1: "22",
37
+ block_2: "23",
38
+ boat_access: "24",
39
+ boat_house: "25",
40
+ boat_house_sqft: "26",
41
+ boat_lift: "27",
42
+ bonus_room: "28",
43
+ breakfast_nook: "29",
44
+ breezeway: "30",
45
+ building_definition: "31",
46
+ building_sqft: "32",
47
+ cabin: "33",
48
+ cabin_sqft: "34",
49
+ canopy: "35",
50
+ canopy_sqft: "36",
51
+ carport: "37",
52
+ carport_sqft: "38",
53
+ cbsa_code: "39",
54
+ cbsa_name: "40",
55
+ cellar: "41",
56
+ census_block: "42",
57
+ census_block_group: "43",
58
+ census_fips_place_code: "44",
59
+ census_tract: "45",
60
+ central_vacuum: "46",
61
+ code_title_company: "47",
62
+ combined_statistical_area: "48",
63
+ community_rec: "49",
64
+ company_flag: "50",
65
+ congressional_district: "51",
66
+ construction_type: "52",
67
+ contact_city: "53",
68
+ contact_crrt: "54",
69
+ contact_full_address: "55",
70
+ contact_house_number: "56",
71
+ contact_main_info_format: "57",
72
+ contact_mail_info_privacy: "58",
73
+ contact_mailing_county: "59",
74
+ contact_mailing_fips: "60",
75
+ contact_post_direction: "61",
76
+ contact_pre_direction: "62",
77
+ contact_state: "63",
78
+ contact_street_name: "64",
79
+ contact_suffix: "65",
80
+ contact_unit_designator: "66",
81
+ contact_value: "67",
82
+ contact_zip: "68",
83
+ contact_zip4: "69",
84
+ courtyard: "70",
85
+ courtyard_area: "71",
86
+ deck: "72",
87
+ deck_area: "73",
88
+ deed_document_page: "74",
89
+ deed_document_book: "75",
90
+ deed_document_number: "76",
91
+ deed_owner_first_name: "77",
92
+ deed_owner_first_name2: "78",
93
+ deed_owner_first_name3: "79",
94
+ deed_owner_first_name4: "80",
95
+ deed_owner_full_name: "81",
96
+ deed_owner_full_name2: "82",
97
+ deed_owner_full_name3: "83",
98
+ deed_owner_full_name4: "84",
99
+ deed_owner_last_name: "85",
100
+ deed_owner_last_name2: "86",
101
+ deed_owner_last_name3: "87",
102
+ deed_owner_last_name4: "88",
103
+ deed_owner_middle_name: "89",
104
+ deed_owner_middle_name2: "90",
105
+ deed_owner_middle_name3: "91",
106
+ deed_owner_middle_name4: "92",
107
+ deed_owner_suffix: "93",
108
+ deed_owner_suffix2: "94",
109
+ deed_owner_suffix3: "95",
110
+ deed_owner_suffix4: "96",
111
+ deed_sale_date: "97",
112
+ deed_sale_price: "98",
113
+ deed_transaction_id: "99",
114
+ depth_linear_footage: "100",
115
+ disabled_tax_exemption: "101",
116
+ driveway_sqft: "102",
117
+ driveway_type: "103",
118
+ effective_year_built: "104",
119
+ elevation_feet: "105",
120
+ elevator: "106",
121
+ equestrian_arena: "107",
122
+ escalator: "108",
123
+ exercise_room: "109",
124
+ exterior_walls: "110",
125
+ family_room: "111",
126
+ fence: "112",
127
+ fence_area: "113",
128
+ fips_code: "114",
129
+ fire_resistance_code: "115",
130
+ fire_sprinkler_flag: "116",
131
+ fireplace: "117",
132
+ fireplace_number: "118",
133
+ first_name: "119",
134
+ first_name2: "120",
135
+ first_name3: "121",
136
+ first_name4: "122",
137
+ flooring: "123",
138
+ foundation: "124",
139
+ game_room: "125",
140
+ garage: "126",
141
+ garage_sqft: "127",
142
+ gazebo: "128",
143
+ gazebo_sqft: "129",
144
+ golf_course: "130",
145
+ grainery: "131",
146
+ grainery_sqft: "132",
147
+ great_room: "133",
148
+ greenhouse: "134",
149
+ greenhouse_sqft: "135",
150
+ gross_sqft: "136",
151
+ guesthouse: "137",
152
+ guesthouse_sqft: "138",
153
+ handicap_accessibility: "139",
154
+ heat: "140",
155
+ heat_fuel_type: "141",
156
+ hobby_room: "142",
157
+ homeowner_tax_exemption: "143",
158
+ instrument_date: "144",
159
+ intercom_system: "145",
160
+ interest_rate_type_2: "146",
161
+ interior_structure: "147",
162
+ kennel: "148",
163
+ kennel_sqft: "149",
164
+ land_use_code: "150",
165
+ land_use_group: "151",
166
+ land_use_standard: "152",
167
+ last_name: "153",
168
+ last_name_2: "154",
169
+ last_name_3: "155",
170
+ last_name_4: "156",
171
+ latitude: "157",
172
+ laundry: "158",
173
+ lean_to: "159",
174
+ lean_to_sqft: "160",
175
+ legal_description: "161",
176
+ legal_unit: "162",
177
+ lender_address: "163",
178
+ lender_address_2: "164",
179
+ lender_city: "165",
180
+ lender_city_2: "166",
181
+ lender_code: "167",
182
+ lender_code_2: "168",
183
+ lender_first_name: "169",
184
+ lender_first_name_2: "170",
185
+ lender_last_name: "171",
186
+ lender_last_name_2: "172",
187
+ lender_name: "173",
188
+ lender_name_2: "174",
189
+ lender_seller_carry_back: "175",
190
+ lender_seller_carry_back_2: "176",
191
+ lender_state: "177",
192
+ lender_state_2: "178",
193
+ lender_zip: "179",
194
+ lender_zip_2: "180",
195
+ lender_zip_extended: "181",
196
+ lender_zip_extended_2: "182",
197
+ loading_platform: "183",
198
+ loading_platform_sqft: "184",
199
+ longitude: "185",
200
+ lot_1: "186",
201
+ lot_2: "187",
202
+ lot_3: "188",
203
+ lot_sqft: "189",
204
+ market_improvement_percent: "190",
205
+ market_improvement_value: "191",
206
+ market_land_value: "192",
207
+ market_value_year: "193",
208
+ match_type: "194",
209
+ media_room: "195",
210
+ metro_division: "196",
211
+ middle_name: "197",
212
+ middle_name_2: "198",
213
+ middle_name_3: "199",
214
+ middle_name_4: "200",
215
+ milkhouse: "201",
216
+ milkhouse_sqft: "202",
217
+ minor_civil_division_code: "203",
218
+ minor_civil_division_name: "204",
219
+ mobile_home_hookup: "205",
220
+ mortgage_amount: "206",
221
+ mortgage_amount_2: "207",
222
+ mortgage_due_date: "208",
223
+ mortgage_due_date_2: "209",
224
+ mortgage_interest_rate: "210",
225
+ mortgage_interest_rate_type: "211",
226
+ mortgage_lender_code: "212",
227
+ mortgage_rate_2: "213",
228
+ mortgage_recording_date: "214",
229
+ mortgage_recording_date_2: "215",
230
+ mortgage_term: "216",
231
+ mortgage_term_2: "217",
232
+ mortgage_term_type: "218",
233
+ mortgage_term_type_2: "219",
234
+ mortgage_type: "220",
235
+ mortgage_type_2: "221",
236
+ msa_code: "222",
237
+ msa_name: "223",
238
+ mud_room: "224",
239
+ multi_parcel_flag: "225",
240
+ name_title_company: "226",
241
+ neighborhood_code: "227",
242
+ number_of_buildings: "228",
243
+ office: "229",
244
+ office_sqft: "230",
245
+ other_tax_exemption: "231",
246
+ outdoor_kitchen_fireplace: "232",
247
+ overhead_door: "233",
248
+ owner_full_name: "234",
249
+ owner_full_name_2: "235",
250
+ owner_full_name_3: "236",
251
+ owner_full_name_4: "237",
252
+ owner_occupancy_status: "238",
253
+ ownership_transfer_date: "239",
254
+ ownership_transfer_doc_number: "240",
255
+ ownership_transfer_transaction_id: "241",
256
+ ownership_type: "242",
257
+ ownership_type_2: "243",
258
+ ownership_vesting_relation_code: "244",
259
+ parcel_account_number: "245",
260
+ parcel_map_book: "246",
261
+ parcel_map_page: "247",
262
+ parcel_number_alternate: "248",
263
+ parcel_number_formatted: "249",
264
+ parcel_number_previous: "250",
265
+ parcel_number_year_added: "251",
266
+ parcel_number_year_change: "252",
267
+ parcel_raw_number: "253",
268
+ parcel_shell_record: "254",
269
+ parking_spaces: "255",
270
+ patio_area: "256",
271
+ phase_name: "257",
272
+ plumbing_fixtures_count: "257",
273
+ pole_struct: "258",
274
+ pole_struct_sqft: "259",
275
+ pond: "260",
276
+ pool: "261",
277
+ pool_area: "262",
278
+ poolhouse: "263",
279
+ poolhouse_sqft: "264",
280
+ porch: "265",
281
+ porch_area: "266",
282
+ poultry_house: "267",
283
+ poultry_house_sqft: "268",
284
+ previous_assessed_value: "269",
285
+ prior_sale_amount: "270",
286
+ prior_sale_date: "271",
287
+ property_address_carrier_route_code: "272",
288
+ property_address_city: "273",
289
+ property_address_full: "274",
290
+ property_address_house_number: "275",
291
+ property_address_post_direction: "276",
292
+ property_address_pre_direction: "277",
293
+ property_address_state: "278",
294
+ property_address_street_name: "279",
295
+ property_address_street_suffix: "280",
296
+ property_address_unit_designator: "281",
297
+ property_address_unit_value: "282",
298
+ property_address_zip_4: "283",
299
+ property_address_zipcode: "284",
300
+ publication_date: "285",
301
+ quarter: "286",
302
+ quarter_quarter: "287",
303
+ quonset: "288",
304
+ quonset_sqft: "289",
305
+ range: "290",
306
+ recording_date: "291",
307
+ roof_cover: "292",
308
+ roof_frame: "293",
309
+ rooms: "294",
310
+ rv_parking: "295",
311
+ safe_room: "296",
312
+ sale_amount: "297",
313
+ sale_date: "298",
314
+ sauna: "299",
315
+ section: "300",
316
+ security_alarm: "301",
317
+ senior_tax_exemption: "302",
318
+ sewer_type: "303",
319
+ shed: "304",
320
+ shed_sqft: "305",
321
+ silo: "306",
322
+ silo_sqft: "307",
323
+ sitting_room: "308",
324
+ situs_county: "309",
325
+ situs_state: "310",
326
+ sound_system: "311",
327
+ sports_court: "312",
328
+ sprinklers: "313",
329
+ stable: "314",
330
+ stable_sqft: "315",
331
+ storage_building: "316",
332
+ storage_buildling_sqft: "317",
333
+ stories_number: "318",
334
+ storm_shelter: "319",
335
+ storm_shutter: "320",
336
+ structure_style: "321",
337
+ study: "322",
338
+ subdivision: "323",
339
+ suffix: "324",
340
+ suffix_2: "325",
341
+ suffix_3: "326",
342
+ suffix_4: "327",
343
+ sunroom: "328",
344
+ tax_assess_year: "329",
345
+ tax_billed_amount: "330",
346
+ tax_delinquent_year: "331",
347
+ tax_fiscal_year: "332",
348
+ tax_jurisdiction: "333",
349
+ tax_rate_area: "334",
350
+ tennis_court: "335",
351
+ topography_code: "336",
352
+ total_market_value: "337",
353
+ township: "338",
354
+ tract_number: "339",
355
+ transfer_amount: "340",
356
+ trust_description: "341",
357
+ unit_count: "342",
358
+ upper_floors_sqft: "343",
359
+ utility: "344",
360
+ utility_building: "345",
361
+ utility_building_sqft: "346",
362
+ utility_sqft: "347",
363
+ veteran_tax_exemption: "348",
364
+ view_description: "349",
365
+ water_feature: "350",
366
+ water_service_type: "351",
367
+ wet_bar: "352",
368
+ widow_tax_exemption: "353",
369
+ width_linear_footage: "354",
370
+ wine_cellar: "355",
371
+ year_built: "356",
372
+ zoning: "357",
373
+ },
374
+ };
375
+ let response = new Response(mockResponse);
376
+
377
+ expect(response.attributes.firstFloorSqft).to.equal("01");
378
+ expect(response.attributes.secondFlootSqft).to.equal("02");
379
+ expect(response.attributes.acres).to.equal("0");
380
+ expect(response.attributes.addressInfoPrivacy).to.equal("1");
381
+ expect(response.attributes.airConditioner).to.equal("2");
382
+ expect(response.attributes.arborPergola).to.equal("3");
383
+ expect(response.attributes.assessedImprovementPercent).to.equal("4");
384
+ expect(response.attributes.assessedImprovementValue).to.equal("5");
385
+ expect(response.attributes.assessedLandValue).to.equal("6");
386
+ expect(response.attributes.assessedValue).to.equal("7");
387
+ expect(response.attributes.assessorLastUpdate).to.equal("8");
388
+ expect(response.attributes.assessorTaxrollUpdate).to.equal("9");
389
+ expect(response.attributes.atticArea).to.equal("10");
390
+ expect(response.attributes.atticFlag).to.equal("11");
391
+ expect(response.attributes.balcony).to.equal("12");
392
+ expect(response.attributes.balconyArea).to.equal("13");
393
+ expect(response.attributes.basementSqft).to.equal("14");
394
+ expect(response.attributes.basementSqftFinished).to.equal("15");
395
+ expect(response.attributes.basementsqftUnfinished).to.equal("16");
396
+ expect(response.attributes.bathHouse).to.equal("17");
397
+ expect(response.attributes.bathHouseSqft).to.equal("18");
398
+ expect(response.attributes.bathroomsPartial).to.equal("19");
399
+ expect(response.attributes.bathroomsTotal).to.equal("20");
400
+ expect(response.attributes.bedrooms).to.equal("21");
401
+ expect(response.attributes.block1).to.equal("22");
402
+ expect(response.attributes.block2).to.equal("23");
403
+ expect(response.attributes.boatAccess).to.equal("24");
404
+ expect(response.attributes.boatHouse).to.equal("25");
405
+ expect(response.attributes.boatHouseSqft).to.equal("26");
406
+ expect(response.attributes.boatLift).to.equal("27");
407
+ expect(response.attributes.bonusRoom).to.equal("28");
408
+ expect(response.attributes.breakfastNook).to.equal("29");
409
+ expect(response.attributes.breezeway).to.equal("30");
410
+ expect(response.attributes.buildingDefinitionCode).to.equal("31");
411
+ expect(response.attributes.buildingSqft).to.equal("32");
412
+ expect(response.attributes.cabin).to.equal("33");
413
+ expect(response.attributes.cabinSqft).to.equal("34");
414
+ expect(response.attributes.canopy).to.equal("35");
415
+ expect(response.attributes.canopySqft).to.equal("36");
416
+ expect(response.attributes.carport).to.equal("37");
417
+ expect(response.attributes.carportSqft).to.equal("38");
418
+ expect(response.attributes.cbsaCode).to.equal("39");
419
+ expect(response.attributes.cbsaName).to.equal("40");
420
+ expect(response.attributes.cellar).to.equal("41");
421
+ expect(response.attributes.censusBlock).to.equal("42");
422
+ expect(response.attributes.censusBlockGroup).to.equal("43");
423
+ expect(response.attributes.censusFipsPlaceCode).to.equal("44");
424
+ expect(response.attributes.censusTract).to.equal("45");
425
+ expect(response.attributes.centralVacuum).to.equal("46");
426
+ expect(response.attributes.codeTitleCompany).to.equal("47");
427
+ expect(response.attributes.combinedStatisticalArea).to.equal("48");
428
+ expect(response.attributes.communityRec).to.equal("49");
429
+ expect(response.attributes.companyFlag).to.equal("50");
430
+ expect(response.attributes.congressionalDistrict).to.equal("51");
431
+ expect(response.attributes.constructionType).to.equal("52");
432
+ expect(response.attributes.contactCity).to.equal("53");
433
+ expect(response.attributes.contactCrrt).to.equal("54");
434
+ expect(response.attributes.contactFullAddress).to.equal("55");
435
+ expect(response.attributes.contactHouseNumber).to.equal("56");
436
+ expect(response.attributes.contactMailInfoFormat).to.equal("57");
437
+ expect(response.attributes.contactMailInfoPrivacy).to.equal("58");
438
+ expect(response.attributes.contactMailingCounty).to.equal("59");
439
+ expect(response.attributes.contactMailingFips).to.equal("60");
440
+ expect(response.attributes.contactPostDirection).to.equal("61");
441
+ expect(response.attributes.contactPreDirection).to.equal("62");
442
+ expect(response.attributes.contactState).to.equal("63");
443
+ expect(response.attributes.contactStreetName).to.equal("64");
444
+ expect(response.attributes.contactSuffix).to.equal("65");
445
+ expect(response.attributes.contactUnitDesignator).to.equal("66");
446
+ expect(response.attributes.contactValue).to.equal("67");
447
+ expect(response.attributes.contactZip).to.equal("68");
448
+ expect(response.attributes.contactZip4).to.equal("69");
449
+ expect(response.attributes.courtyard).to.equal("70");
450
+ expect(response.attributes.courtyardArea).to.equal("71");
451
+ expect(response.attributes.deck).to.equal("72");
452
+ expect(response.attributes.deckArea).to.equal("73");
453
+ expect(response.attributes.deedDocumentPage).to.equal("74");
454
+ expect(response.attributes.deedDocumentBook).to.equal("75");
455
+ expect(response.attributes.deedDocumentNumber).to.equal("76");
456
+ expect(response.attributes.deedOwnerFirstName).to.equal("77");
457
+ expect(response.attributes.deedOwnerFirstName2).to.equal("78");
458
+ expect(response.attributes.deedOwnerFirstName3).to.equal("79");
459
+ expect(response.attributes.deedOwnerFirstName4).to.equal("80");
460
+ expect(response.attributes.deedOwnerFullName).to.equal("81");
461
+ expect(response.attributes.deedOwnerFullName2).to.equal("82");
462
+ expect(response.attributes.deedOwnerFullName3).to.equal("83");
463
+ expect(response.attributes.deedOwnerFullName4).to.equal("84");
464
+ expect(response.attributes.deedOwnerLastName).to.equal("85");
465
+ expect(response.attributes.deedOwnerLastName2).to.equal("86");
466
+ expect(response.attributes.deedOwnerLastName3).to.equal("87");
467
+ expect(response.attributes.deedOwnerLastName4).to.equal("88");
468
+ expect(response.attributes.deedOwnerMiddleName).to.equal("89");
469
+ expect(response.attributes.deedOwnerMiddleName2).to.equal("90");
470
+ expect(response.attributes.deedOwnerMiddleName3).to.equal("91");
471
+ expect(response.attributes.deedOwnerMiddleName4).to.equal("92");
472
+ expect(response.attributes.deedOwnerSuffix).to.equal("93");
473
+ expect(response.attributes.deedOwnerSuffix2).to.equal("94");
474
+ expect(response.attributes.deedOwnerSuffix3).to.equal("95");
475
+ expect(response.attributes.deedOwnerSuffix4).to.equal("96");
476
+ expect(response.attributes.deedSaleDate).to.equal("97");
477
+ expect(response.attributes.deedSalePrice).to.equal("98");
478
+ expect(response.attributes.deedTransactionId).to.equal("99");
479
+ expect(response.attributes.depthLinearFootage).to.equal("100");
480
+ expect(response.attributes.disabledTaxExemption).to.equal("101");
481
+ expect(response.attributes.drivewaySqft).to.equal("102");
482
+ expect(response.attributes.drivewayType).to.equal("103");
483
+ expect(response.attributes.effectiveYearBuilt).to.equal("104");
484
+ expect(response.attributes.elevationFeet).to.equal("105");
485
+ expect(response.attributes.elevator).to.equal("106");
486
+ expect(response.attributes.equestrianArena).to.equal("107");
487
+ expect(response.attributes.escalator).to.equal("108");
488
+ expect(response.attributes.exerciseRoom).to.equal("109");
489
+ expect(response.attributes.exteriorWalls).to.equal("110");
490
+ expect(response.attributes.familyRoom).to.equal("111");
491
+ expect(response.attributes.fence).to.equal("112");
492
+ expect(response.attributes.fenceArea).to.equal("113");
493
+ expect(response.attributes.fipsCode).to.equal("114");
494
+ expect(response.attributes.fireResistanceCode).to.equal("115");
495
+ expect(response.attributes.fireSprinklersFlag).to.equal("116");
496
+ expect(response.attributes.fireplace).to.equal("117");
497
+ expect(response.attributes.fireplaceNumber).to.equal("118");
498
+ expect(response.attributes.firstName).to.equal("119");
499
+ expect(response.attributes.firstName2).to.equal("120");
500
+ expect(response.attributes.firstName3).to.equal("121");
501
+ expect(response.attributes.firstName4).to.equal("122");
502
+ expect(response.attributes.flooring).to.equal("123");
503
+ expect(response.attributes.foundation).to.equal("124");
504
+ expect(response.attributes.gameRoom).to.equal("125");
505
+ expect(response.attributes.garage).to.equal("126");
506
+ expect(response.attributes.garageSqft).to.equal("127");
507
+ expect(response.attributes.gazebo).to.equal("128");
508
+ expect(response.attributes.gazeboSqft).to.equal("129");
509
+ expect(response.attributes.golfCourse).to.equal("130");
510
+ expect(response.attributes.grainery).to.equal("131");
511
+ expect(response.attributes.grainerySqft).to.equal("132");
512
+ expect(response.attributes.greatRoom).to.equal("133");
513
+ expect(response.attributes.greenhouse).to.equal("134");
514
+ expect(response.attributes.greenhouseSqft).to.equal("135");
515
+ expect(response.attributes.grossSqft).to.equal("136");
516
+ expect(response.attributes.guesthouse).to.equal("137");
517
+ expect(response.attributes.guesthouseSqft).to.equal("138");
518
+ expect(response.attributes.handicapAccessibility).to.equal("139");
519
+ expect(response.attributes.heat).to.equal("140");
520
+ expect(response.attributes.heatFuelType).to.equal("141");
521
+ expect(response.attributes.hobbyRoom).to.equal("142");
522
+ expect(response.attributes.homeownerTaxExemption).to.equal("143");
523
+ expect(response.attributes.instrumentDate).to.equal("144");
524
+ expect(response.attributes.intercomSystem).to.equal("145");
525
+ expect(response.attributes.interestRateType2).to.equal("146");
526
+ expect(response.attributes.interiorStructure).to.equal("147");
527
+ expect(response.attributes.kennel).to.equal("148");
528
+ expect(response.attributes.kennelSqft).to.equal("149");
529
+ expect(response.attributes.landUseCode).to.equal("150");
530
+ expect(response.attributes.landUseGroup).to.equal("151");
531
+ expect(response.attributes.landUseStandard).to.equal("152");
532
+ expect(response.attributes.lastName).to.equal("153");
533
+ expect(response.attributes.lastName2).to.equal("154");
534
+ expect(response.attributes.lastName3).to.equal("155");
535
+ expect(response.attributes.lastName4).to.equal("156");
536
+ expect(response.attributes.latitude).to.equal("157");
537
+ expect(response.attributes.laundry).to.equal("158");
538
+ expect(response.attributes.leanTo).to.equal("159");
539
+ expect(response.attributes.leanToSqft).to.equal("160");
540
+ expect(response.attributes.legalDescription).to.equal("161");
541
+ expect(response.attributes.legalUnit).to.equal("162");
542
+ expect(response.attributes.lenderAddress).to.equal("163");
543
+ expect(response.attributes.lenderAddress2).to.equal("164");
544
+ expect(response.attributes.lenderCity).to.equal("165");
545
+ expect(response.attributes.lenderCity2).to.equal("166");
546
+ expect(response.attributes.lenderCode).to.equal("167");
547
+ expect(response.attributes.lenderCode2).to.equal("168");
548
+ expect(response.attributes.lenderFirstName).to.equal("169");
549
+ expect(response.attributes.lenderFirstName2).to.equal("170");
550
+ expect(response.attributes.lenderLastName).to.equal("171");
551
+ expect(response.attributes.lenderLastName2).to.equal("172");
552
+ expect(response.attributes.lenderName).to.equal("173");
553
+ expect(response.attributes.lenderName2).to.equal("174");
554
+ expect(response.attributes.lenderSellerCarryBack).to.equal("175");
555
+ expect(response.attributes.lenderSellerCarryBack2).to.equal("176");
556
+ expect(response.attributes.lenderState).to.equal("177");
557
+ expect(response.attributes.lenderState2).to.equal("178");
558
+ expect(response.attributes.lenderZip).to.equal("179");
559
+ expect(response.attributes.lenderZip2).to.equal("180");
560
+ expect(response.attributes.lenderZipExtended).to.equal("181");
561
+ expect(response.attributes.lenderZipExtended2).to.equal("182");
562
+ expect(response.attributes.loadingPlatform).to.equal("183");
563
+ expect(response.attributes.loadingPlatformSqft).to.equal("184");
564
+ expect(response.attributes.longitude).to.equal("185");
565
+ expect(response.attributes.lot1).to.equal("186");
566
+ expect(response.attributes.lot2).to.equal("187");
567
+ expect(response.attributes.lot3).to.equal("188");
568
+ expect(response.attributes.lotSqft).to.equal("189");
569
+ expect(response.attributes.marketImprovementPercent).to.equal("190");
570
+ expect(response.attributes.marketImprovementValue).to.equal("191");
571
+ expect(response.attributes.marketLandValue).to.equal("192");
572
+ expect(response.attributes.marketValueYear).to.equal("193");
573
+ expect(response.attributes.matchType).to.equal("194");
574
+ expect(response.attributes.mediaRoom).to.equal("195");
575
+ expect(response.attributes.metroDivision).to.equal("196");
576
+ expect(response.attributes.middleName).to.equal("197");
577
+ expect(response.attributes.middleName2).to.equal("198");
578
+ expect(response.attributes.middleName3).to.equal("199");
579
+ expect(response.attributes.middleName4).to.equal("200");
580
+ expect(response.attributes.milkhouse).to.equal("201");
581
+ expect(response.attributes.milkhouseSqft).to.equal("202");
582
+ expect(response.attributes.minorCivilDivisionCode).to.equal("203");
583
+ expect(response.attributes.minorCivilDivisionName).to.equal("204");
584
+ expect(response.attributes.mobileHomeHookup).to.equal("205");
585
+ expect(response.attributes.mortgageAmount).to.equal("206");
586
+ expect(response.attributes.mortgageAmount2).to.equal("207");
587
+ expect(response.attributes.mortgageDueDate).to.equal("208");
588
+ expect(response.attributes.mortgageDueDate2).to.equal("209");
589
+ expect(response.attributes.mortgageInterestRate).to.equal("210");
590
+ expect(response.attributes.mortgageInterestRateType).to.equal("211");
591
+ expect(response.attributes.mortgageLenderCode).to.equal("212");
592
+ expect(response.attributes.mortgageRate2).to.equal("213");
593
+ expect(response.attributes.mortgageRecordingDate).to.equal("214");
594
+ expect(response.attributes.mortgageRecordingDate2).to.equal("215");
595
+ expect(response.attributes.mortgageTerm).to.equal("216");
596
+ expect(response.attributes.mortgageTerm2).to.equal("217");
597
+ expect(response.attributes.mortgageTermType).to.equal("218");
598
+ expect(response.attributes.mortgageTermType2).to.equal("219");
599
+ expect(response.attributes.mortgageType).to.equal("220");
600
+ expect(response.attributes.mortgageType2).to.equal("221");
601
+ expect(response.attributes.msaCode).to.equal("222");
602
+ expect(response.attributes.msaName).to.equal("223");
603
+ expect(response.attributes.mudRoom).to.equal("224");
604
+ expect(response.attributes.multiParcelFlag).to.equal("225");
605
+ expect(response.attributes.nameTitleCompany).to.equal("226");
606
+ expect(response.attributes.neighborhoodCode).to.equal("227");
607
+ expect(response.attributes.numberOfBuildings).to.equal("228");
608
+ expect(response.attributes.office).to.equal("229");
609
+ expect(response.attributes.officeSqft).to.equal("230");
610
+ expect(response.attributes.otherTaxExemption).to.equal("231");
611
+ expect(response.attributes.outdoorKitchenFireplace).to.equal("232");
612
+ expect(response.attributes.overheadDoor).to.equal("233");
613
+ expect(response.attributes.ownerFullName).to.equal("234");
614
+ expect(response.attributes.ownerFullName2).to.equal("235");
615
+ expect(response.attributes.ownerFullName3).to.equal("236");
616
+ expect(response.attributes.ownerFullName4).to.equal("237");
617
+ expect(response.attributes.ownerOccupancyStatus).to.equal("238");
618
+ expect(response.attributes.ownershipTransferDate).to.equal("239");
619
+ expect(response.attributes.ownershipTransferDocNumber).to.equal("240");
620
+ expect(response.attributes.ownershipTransferTransactionId).to.equal("241");
621
+ expect(response.attributes.ownershipType).to.equal("242");
622
+ expect(response.attributes.ownershipType2).to.equal("243");
623
+ expect(response.attributes.ownershipVestingRelationCode).to.equal("244");
624
+ expect(response.attributes.parcelAccountNumber).to.equal("245");
625
+ expect(response.attributes.parcelMapBook).to.equal("246");
626
+ expect(response.attributes.parcelMapPage).to.equal("247");
627
+ expect(response.attributes.parcelNumberAlternate).to.equal("248");
628
+ expect(response.attributes.parcelNumberFormatted).to.equal("249");
629
+ expect(response.attributes.parcelNumberPrevious).to.equal("250");
630
+ expect(response.attributes.parcelNumberYearAdded).to.equal("251");
631
+ expect(response.attributes.parcelNumberYearChange).to.equal("252");
632
+ expect(response.attributes.parcelRawNumber).to.equal("253");
633
+ expect(response.attributes.parcelShellRecord).to.equal("254");
634
+ expect(response.attributes.parkingSpaces).to.equal("255");
635
+ expect(response.attributes.patioArea).to.equal("256");
636
+ expect(response.attributes.phaseName).to.equal("257");
637
+ expect(response.attributes.plumbingFixturesCount).to.equal("257");
638
+ expect(response.attributes.poleStruct).to.equal("258");
639
+ expect(response.attributes.poleStructSqft).to.equal("259");
640
+ expect(response.attributes.pond).to.equal("260");
641
+ expect(response.attributes.pool).to.equal("261");
642
+ expect(response.attributes.poolArea).to.equal("262");
643
+ expect(response.attributes.poolhouse).to.equal("263");
644
+ expect(response.attributes.poolhouseSqft).to.equal("264");
645
+ expect(response.attributes.porch).to.equal("265");
646
+ expect(response.attributes.porchArea).to.equal("266");
647
+ expect(response.attributes.poultryHouse).to.equal("267");
648
+ expect(response.attributes.poultryHouseSqft).to.equal("268");
649
+ expect(response.attributes.previousAssessedValue).to.equal("269");
650
+ expect(response.attributes.priorSaleAmount).to.equal("270");
651
+ expect(response.attributes.priorSaleDate).to.equal("271");
652
+ expect(response.attributes.propertyAddressCarrierRouteCode).to.equal("272");
653
+ expect(response.attributes.propertyAddressCity).to.equal("273");
654
+ expect(response.attributes.propertyAddressFull).to.equal("274");
655
+ expect(response.attributes.propertyAddressHouseNumber).to.equal("275");
656
+ expect(response.attributes.propertyAddressPostDirection).to.equal("276");
657
+ expect(response.attributes.propertyAddressPreDirection).to.equal("277");
658
+ expect(response.attributes.propertyAddressState).to.equal("278");
659
+ expect(response.attributes.propertyAddressStreetName).to.equal("279");
660
+ expect(response.attributes.propertyAddressStreetSuffix).to.equal("280");
661
+ expect(response.attributes.propertyAddressUnitDesignator).to.equal("281");
662
+ expect(response.attributes.propertyAddressUnitValue).to.equal("282");
663
+ expect(response.attributes.propertyAddressZip4).to.equal("283");
664
+ expect(response.attributes.propertyAddressZipcode).to.equal("284");
665
+ expect(response.attributes.publicationDate).to.equal("285");
666
+ expect(response.attributes.quarter).to.equal("286");
667
+ expect(response.attributes.quarterQuarter).to.equal("287");
668
+ expect(response.attributes.quonset).to.equal("288");
669
+ expect(response.attributes.quonsetSqft).to.equal("289");
670
+ expect(response.attributes.range).to.equal("290");
671
+ expect(response.attributes.recordingDate).to.equal("291");
672
+ expect(response.attributes.roofCover).to.equal("292");
673
+ expect(response.attributes.roofFrame).to.equal("293");
674
+ expect(response.attributes.rooms).to.equal("294");
675
+ expect(response.attributes.rvParking).to.equal("295");
676
+ expect(response.attributes.safeRoom).to.equal("296");
677
+ expect(response.attributes.saleAmount).to.equal("297");
678
+ expect(response.attributes.saleDate).to.equal("298");
679
+ expect(response.attributes.sauna).to.equal("299");
680
+ expect(response.attributes.section).to.equal("300");
681
+ expect(response.attributes.securityAlarm).to.equal("301");
682
+ expect(response.attributes.seniorTaxExemption).to.equal("302");
683
+ expect(response.attributes.sewerType).to.equal("303");
684
+ expect(response.attributes.shed).to.equal("304");
685
+ expect(response.attributes.shedSqft).to.equal("305");
686
+ expect(response.attributes.silo).to.equal("306");
687
+ expect(response.attributes.siloSqft).to.equal("307");
688
+ expect(response.attributes.sittingRoom).to.equal("308");
689
+ expect(response.attributes.situsCounty).to.equal("309");
690
+ expect(response.attributes.situsState).to.equal("310");
691
+ expect(response.attributes.soundSystem).to.equal("311");
692
+ expect(response.attributes.sportsCourt).to.equal("312");
693
+ expect(response.attributes.sprinklers).to.equal("313");
694
+ expect(response.attributes.stable).to.equal("314");
695
+ expect(response.attributes.stableSqft).to.equal("315");
696
+ expect(response.attributes.storageBuilding).to.equal("316");
697
+ expect(response.attributes.storageBuildingSqft).to.equal("317");
698
+ expect(response.attributes.storiesNumber).to.equal("318");
699
+ expect(response.attributes.stormShelter).to.equal("319");
700
+ expect(response.attributes.stormShutter).to.equal("320");
701
+ expect(response.attributes.structureStyle).to.equal("321");
702
+ expect(response.attributes.study).to.equal("322");
703
+ expect(response.attributes.subdivision).to.equal("323");
704
+ expect(response.attributes.suffix).to.equal("324");
705
+ expect(response.attributes.suffix2).to.equal("325");
706
+ expect(response.attributes.suffix3).to.equal("326");
707
+ expect(response.attributes.suffix4).to.equal("327");
708
+ expect(response.attributes.sunroom).to.equal("328");
709
+ expect(response.attributes.taxAssessYear).to.equal("329");
710
+ expect(response.attributes.taxBilledAmount).to.equal("330");
711
+ expect(response.attributes.taxDelinquentYear).to.equal("331");
712
+ expect(response.attributes.taxFiscalYear).to.equal("332");
713
+ expect(response.attributes.taxJurisdiction).to.equal("333");
714
+ expect(response.attributes.taxRateArea).to.equal("334");
715
+ expect(response.attributes.tennisCourt).to.equal("335");
716
+ expect(response.attributes.topographyCode).to.equal("336");
717
+ expect(response.attributes.totalMarketValue).to.equal("337");
718
+ expect(response.attributes.township).to.equal("338");
719
+ expect(response.attributes.tractNumber).to.equal("339");
720
+ expect(response.attributes.transferAmount).to.equal("340");
721
+ expect(response.attributes.trustDescription).to.equal("341");
722
+ expect(response.attributes.unitCount).to.equal("342");
723
+ expect(response.attributes.upperFloorsSqft).to.equal("343");
724
+ expect(response.attributes.utility).to.equal("344");
725
+ expect(response.attributes.utilityBuilding).to.equal("345");
726
+ expect(response.attributes.utilityBuildingSqft).to.equal("346");
727
+ expect(response.attributes.utilitySqft).to.equal("347");
728
+ expect(response.attributes.veteranTaxExemption).to.equal("348");
729
+ expect(response.attributes.viewDescription).to.equal("349");
730
+ expect(response.attributes.waterFeature).to.equal("350");
731
+ expect(response.attributes.waterServiceType).to.equal("351");
732
+ expect(response.attributes.wetBar).to.equal("352");
733
+ expect(response.attributes.widowTaxExemption).to.equal("353");
734
+ expect(response.attributes.widthLinearFootage).to.equal("354");
735
+ expect(response.attributes.wineCellar).to.equal("355");
736
+ expect(response.attributes.yearBuilt).to.equal("356");
737
+ expect(response.attributes.zoning).to.equal("357");
738
+ });
739
+ });