stand_socotra_policy_transformer 3.0.3 → 3.0.5
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.
- package/__tests__/__utils__/payloads/ai_additional_insured_new.json +90 -0
- package/__tests__/__utils__/payloads/ai_no_change_new_payload.json +103 -0
- package/__tests__/__utils__/payloads/ai_no_change_old_payload.json +764 -0
- package/__tests__/__utils__/payloads/ai_old_payload.json +707 -0
- package/__tests__/package_version.test.js +1 -1
- package/__tests__/retool_utils/socotra_payload.test.js +25 -0
- package/dist/stand_underwriter.js +1 -1
- package/package.json +1 -1
- package/src/retool_utils/socotra_payloads.js +18 -3
- package/src/retool_utils/socotra_structure_helper.js +8 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"owner_first_name": "Molly",
|
|
3
|
+
"seasonal": "No",
|
|
4
|
+
"zip": 92067,
|
|
5
|
+
"ensemble_mean": 0.66562,
|
|
6
|
+
"insured_dob": "1982-06-03",
|
|
7
|
+
"distance_to_fire_department": 2,
|
|
8
|
+
"presence_of_fence": "Yes - wood fence",
|
|
9
|
+
"water_damage_limit": 0.03,
|
|
10
|
+
"lng": -117.1739189,
|
|
11
|
+
"gre_arf": 11.542,
|
|
12
|
+
"claims": [],
|
|
13
|
+
"is_pay_in_full": true,
|
|
14
|
+
"state": "CA",
|
|
15
|
+
"premium_initial_indication": 51731.54,
|
|
16
|
+
"num_stories": "2",
|
|
17
|
+
"secondary_residence": "No",
|
|
18
|
+
"stand_protect_discount": "No",
|
|
19
|
+
"water_deductible": 25000,
|
|
20
|
+
"year_built": "1964",
|
|
21
|
+
"fireshed_capacity": 1,
|
|
22
|
+
"is_agreed_value": "No",
|
|
23
|
+
"owner_last_name": "Moon",
|
|
24
|
+
"replacement_cost": 2482000,
|
|
25
|
+
"mitigation_category": "ember_and_fire",
|
|
26
|
+
"county": "San Diego",
|
|
27
|
+
"residence_type": "Owner Occupied Single Family Residence",
|
|
28
|
+
"distributor_notes": "lkjlkjlkjlk",
|
|
29
|
+
"wildfire_category": "A",
|
|
30
|
+
"is_difference_in_condition": "No",
|
|
31
|
+
"coverage_e": 500000,
|
|
32
|
+
"months_unoccupied": 0,
|
|
33
|
+
"theft_alarm": "Central",
|
|
34
|
+
"coverage_d": 500000,
|
|
35
|
+
"coverage_c": 1360000,
|
|
36
|
+
"num_bath": 4,
|
|
37
|
+
"coverage_b": 340000,
|
|
38
|
+
"coverage_a": 3400000,
|
|
39
|
+
"street_address": "17401 Via Cuatro Caminos",
|
|
40
|
+
"purchase_year": 2020,
|
|
41
|
+
"construction_type": "Frame",
|
|
42
|
+
"smoke": "Yes",
|
|
43
|
+
"fire_alarm": "Central",
|
|
44
|
+
"roof_material": "Masonry",
|
|
45
|
+
"fire_ext": "Yes",
|
|
46
|
+
"coverage_f": 25000,
|
|
47
|
+
"fire_deductible": 0.1,
|
|
48
|
+
"property_id": "3946f204-f17a-49e9-9084-9cbdfc12e3c5",
|
|
49
|
+
"additional_insured_data": {
|
|
50
|
+
"additionalInterest": [
|
|
51
|
+
{
|
|
52
|
+
"zip": "98107",
|
|
53
|
+
"street_address": "3430 NW 62nd St",
|
|
54
|
+
"loan_number": "1231312",
|
|
55
|
+
"city": "Seattle",
|
|
56
|
+
"street_address2": "PMB 70879",
|
|
57
|
+
"state": "WA",
|
|
58
|
+
"type": "Mortgagee"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"core_logic_wf_score": 71,
|
|
63
|
+
"deadbolt": "Yes",
|
|
64
|
+
"norm_zesty": "20%",
|
|
65
|
+
"norm_bellweather": "110%",
|
|
66
|
+
"owner_email": "nick+pdfsl231@getstand.com",
|
|
67
|
+
"multi_policy_discount": "No",
|
|
68
|
+
"norm_core_logic": "71%",
|
|
69
|
+
"city": "Rancho Santa Fe",
|
|
70
|
+
"fence": "Yes - wood fence",
|
|
71
|
+
"gre_wf_score": 2.61,
|
|
72
|
+
"square_feet": "2934",
|
|
73
|
+
"claims_json": [],
|
|
74
|
+
"norm_gre": "65%",
|
|
75
|
+
"zesty_l2": 9,
|
|
76
|
+
"bellweather_wf_score": 0.017033,
|
|
77
|
+
"other_deductible": 25000,
|
|
78
|
+
"zesty_l1": 2,
|
|
79
|
+
"count_of_solar_panels": 0,
|
|
80
|
+
"mean_level": "High",
|
|
81
|
+
"presence_of_pool": "No",
|
|
82
|
+
"retrofitted": "No",
|
|
83
|
+
"extended_dwelling_coverage": "1.0",
|
|
84
|
+
"protection_class": "2",
|
|
85
|
+
"ensemble_variance": 0.102,
|
|
86
|
+
"sprinkler": "No",
|
|
87
|
+
"form": "Modified HO-5",
|
|
88
|
+
"lat": 33.0307821,
|
|
89
|
+
"premium_calculated": 52198.95
|
|
90
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"owner_first_name": "Molly",
|
|
3
|
+
"seasonal": "No",
|
|
4
|
+
"zip": 92067,
|
|
5
|
+
"ensemble_mean": 0.66562,
|
|
6
|
+
"insured_dob": "1982-06-03",
|
|
7
|
+
"distance_to_fire_department": 2,
|
|
8
|
+
"presence_of_fence": "Yes - wood fence",
|
|
9
|
+
"water_damage_limit": 0.03,
|
|
10
|
+
"lng": -117.1739189,
|
|
11
|
+
"gre_arf": 11.542,
|
|
12
|
+
"claims": [],
|
|
13
|
+
"is_pay_in_full": true,
|
|
14
|
+
"state": "CA",
|
|
15
|
+
"premium_initial_indication": 51731.54,
|
|
16
|
+
"num_stories": "2",
|
|
17
|
+
"secondary_residence": "No",
|
|
18
|
+
"stand_protect_discount": "No",
|
|
19
|
+
"water_deductible": 25000,
|
|
20
|
+
"year_built": "1964",
|
|
21
|
+
"fireshed_capacity": 1,
|
|
22
|
+
"is_agreed_value": "No",
|
|
23
|
+
"owner_last_name": "Moon",
|
|
24
|
+
"replacement_cost": 2482000,
|
|
25
|
+
"mitigation_category": "ember_and_fire",
|
|
26
|
+
"county": "San Diego",
|
|
27
|
+
"residence_type": "Owner Occupied Single Family Residence",
|
|
28
|
+
"distributor_notes": "lkjlkjlkjlk",
|
|
29
|
+
"wildfire_category": "A",
|
|
30
|
+
"is_difference_in_condition": "No",
|
|
31
|
+
"coverage_e": 500000,
|
|
32
|
+
"months_unoccupied": 0,
|
|
33
|
+
"theft_alarm": "Central",
|
|
34
|
+
"coverage_d": 500000,
|
|
35
|
+
"coverage_c": 1360000,
|
|
36
|
+
"num_bath": 4,
|
|
37
|
+
"coverage_b": 340000,
|
|
38
|
+
"coverage_a": 3400000,
|
|
39
|
+
"street_address": "17401 Via Cuatro Caminos",
|
|
40
|
+
"purchase_year": 2020,
|
|
41
|
+
"construction_type": "Frame",
|
|
42
|
+
"smoke": "Yes",
|
|
43
|
+
"fire_alarm": "Central",
|
|
44
|
+
"roof_material": "Masonry",
|
|
45
|
+
"fire_ext": "Yes",
|
|
46
|
+
"coverage_f": 25000,
|
|
47
|
+
"fire_deductible": 0.1,
|
|
48
|
+
"property_id": "3946f204-f17a-49e9-9084-9cbdfc12e3c5",
|
|
49
|
+
"additional_insured_data": {
|
|
50
|
+
"additionalInterest": [
|
|
51
|
+
{
|
|
52
|
+
"zip": "98107",
|
|
53
|
+
"street_address": "3430 NW 62nd St",
|
|
54
|
+
"loan_number": "1231312",
|
|
55
|
+
"city": "Seattle",
|
|
56
|
+
"street_address2": "PMB 70879",
|
|
57
|
+
"name": "Bank of Nick 2 return of nick",
|
|
58
|
+
"state": "WA",
|
|
59
|
+
"type": "Mortgagee"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"zip": "94104",
|
|
63
|
+
"commercial_exposure": "No",
|
|
64
|
+
"street_address": "548 Market Street",
|
|
65
|
+
"loan_number": "123122",
|
|
66
|
+
"city": "San Francisco",
|
|
67
|
+
"entity_details": "Estate Planning",
|
|
68
|
+
"name": "Nicks LLC",
|
|
69
|
+
"street_address2": "PMB 70879",
|
|
70
|
+
"state": "California",
|
|
71
|
+
"type": "LLC Name"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"core_logic_wf_score": 71,
|
|
76
|
+
"deadbolt": "Yes",
|
|
77
|
+
"norm_zesty": "20%",
|
|
78
|
+
"norm_bellweather": "110%",
|
|
79
|
+
"owner_email": "nick+pdfsl231@getstand.com",
|
|
80
|
+
"multi_policy_discount": "No",
|
|
81
|
+
"norm_core_logic": "71%",
|
|
82
|
+
"city": "Rancho Santa Fe",
|
|
83
|
+
"fence": "Yes - wood fence",
|
|
84
|
+
"gre_wf_score": 2.61,
|
|
85
|
+
"square_feet": "2934",
|
|
86
|
+
"claims_json": [],
|
|
87
|
+
"norm_gre": "65%",
|
|
88
|
+
"zesty_l2": 9,
|
|
89
|
+
"bellweather_wf_score": 0.017033,
|
|
90
|
+
"other_deductible": 25000,
|
|
91
|
+
"zesty_l1": 2,
|
|
92
|
+
"count_of_solar_panels": 0,
|
|
93
|
+
"mean_level": "High",
|
|
94
|
+
"presence_of_pool": "No",
|
|
95
|
+
"retrofitted": "No",
|
|
96
|
+
"extended_dwelling_coverage": "1.0",
|
|
97
|
+
"protection_class": "2",
|
|
98
|
+
"ensemble_variance": 0.102,
|
|
99
|
+
"sprinkler": "No",
|
|
100
|
+
"form": "Modified HO-5",
|
|
101
|
+
"lat": 33.0307821,
|
|
102
|
+
"premium_calculated": 52198.95
|
|
103
|
+
}
|