stand_socotra_policy_transformer 3.0.11 → 3.0.13
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/dist/stand_underwriter.js +1 -1
- package/package.json +8 -2
- package/__tests__/__utils__/load_payload.js +0 -16
- package/__tests__/__utils__/payloads/ai_additional_insured_new.json +0 -90
- package/__tests__/__utils__/payloads/ai_no_change_new_payload.json +0 -103
- package/__tests__/__utils__/payloads/ai_no_change_old_payload.json +0 -764
- package/__tests__/__utils__/payloads/ai_old_payload.json +0 -707
- package/__tests__/__utils__/payloads/claims_new_policy.json +0 -117
- package/__tests__/__utils__/payloads/claims_remove_new_payload.json +0 -68
- package/__tests__/__utils__/payloads/claims_remove_socotra_policy.json +0 -785
- package/__tests__/__utils__/payloads/claims_socotra_payload.json +0 -764
- package/__tests__/__utils__/payloads/minimal_change_base.json +0 -574
- package/__tests__/__utils__/payloads/minimal_change_base2.json +0 -574
- package/__tests__/__utils__/payloads/minimal_change_resulting_socotra.json +0 -17
- package/__tests__/__utils__/payloads/minimal_change_resulting_socotra2.json +0 -27
- package/__tests__/__utils__/payloads/minimal_change_retool.json +0 -37
- package/__tests__/__utils__/payloads/minimal_change_retool2.json +0 -27
- package/__tests__/__utils__/payloads/sample_minimal_retool.json +0 -33
- package/__tests__/__utils__/payloads/sample_minimal_socotra_payload.json +0 -116
- package/__tests__/__utils__/payloads/sample_new_policy_holder.json +0 -17
- package/__tests__/__utils__/payloads/sample_new_quote.json +0 -216
- package/__tests__/__utils__/payloads/sample_new_quote_retool.json +0 -93
- package/__tests__/__utils__/payloads/sample_retool.json +0 -157
- package/__tests__/__utils__/payloads/sample_retool_converted_quote.json +0 -54
- package/__tests__/__utils__/payloads/sample_retool_socotra_subset.json +0 -163
- package/__tests__/__utils__/payloads/sample_socotra_quote.json +0 -782
- package/__tests__/__utils__/payloads/sample_socotra_with_additional_insured.json +0 -764
- package/__tests__/__utils__/payloads/sample_update_quote.json +0 -18
- package/__tests__/__utils__/payloads/versions/v1/sample_new_quote.json +0 -211
- package/__tests__/__utils__/payloads/versions/v1/sample_retool.json +0 -160
- package/__tests__/__utils__/payloads/versions/v1/sample_retool_socotra_subset.json +0 -128
- package/__tests__/__utils__/payloads/versions/v1/sample_socotra_quote.json +0 -776
- package/__tests__/__utils__/payloads/versions/v1/sample_update_quote.json +0 -18
- package/__tests__/__utils__/payloads/versions/v2/sample_new_quote.json +0 -215
- package/__tests__/__utils__/payloads/versions/v2/sample_retool.json +0 -165
- package/__tests__/__utils__/payloads/versions/v2/sample_retool_socotra_subset.json +0 -159
- package/__tests__/__utils__/payloads/versions/v2/sample_socotra_quote.json +0 -779
- package/__tests__/__utils__/payloads/versions/v2/sample_update_quote.json +0 -18
- package/__tests__/basic_knockout.test.js +0 -113
- package/__tests__/claims_history_knockout.test.js +0 -56
- package/__tests__/exterior_knockout.test.js +0 -192
- package/__tests__/helpers/index.js +0 -10
- package/__tests__/home_owner_knockouts.js +0 -260
- package/__tests__/interior_knockout.test.js +0 -321
- package/__tests__/package_version.test.js +0 -7
- package/__tests__/rate_call_knockouts.test.js +0 -347
- package/__tests__/retool_utils/socotra_group_update.test.js +0 -563
- package/__tests__/retool_utils/socotra_payload.test.js +0 -270
- package/__tests__/retool_utils/socotra_structure_helper.test.js +0 -242
- package/__tests__/retool_utils/versions/entries_v1.test.js +0 -51
- package/__tests__/retool_utils/versions/entries_v2.test.js +0 -51
- package/__tests__/underwriter.test.js +0 -169
- package/__tests__/wf_knockout.test.js +0 -124
- package/src/index.js +0 -14
- package/src/knockouts/basic_knockouts.js +0 -66
- package/src/knockouts/claims_history_knockout.js +0 -24
- package/src/knockouts/exterior_knockouts.js +0 -97
- package/src/knockouts/home_owner_knockouts.js +0 -118
- package/src/knockouts/index.js +0 -83
- package/src/knockouts/interior_knockouts.js +0 -149
- package/src/knockouts/rate_call_knockouts.js +0 -155
- package/src/knockouts/wf_knockouts.js +0 -66
- package/src/retool_to_socotra.js +0 -18
- package/src/retool_utils/socotra_entries_helper_fuctions.js +0 -0
- package/src/retool_utils/socotra_payloads.js +0 -161
- package/src/retool_utils/socotra_structure_helper.js +0 -687
- package/src/retool_utils/versions/stand_v1_entries.js +0 -167
- package/src/retool_utils/versions/stand_v2_entries.js +0 -211
- package/src/retool_utils/versions/stand_v3_entries.js +0 -274
- package/src/underwriter.js +0 -86
- package/webpack.config.js +0 -14
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"owner_first_name": "Nico",
|
|
3
|
-
"zip": "94558",
|
|
4
|
-
"insured_dob": "1995-09-15",
|
|
5
|
-
"distance_to_fire_department": "05",
|
|
6
|
-
"owner_phone_number": "2153596443",
|
|
7
|
-
"presence_of_fence": "No",
|
|
8
|
-
"water_damage_limit": 0.03,
|
|
9
|
-
"lng": -122.311958,
|
|
10
|
-
"gre_arf": 0.45,
|
|
11
|
-
"cape_thumbnail": "https://flow.capeanalytics.com/api/v2/img/43dc82a0-5303-4b9b-a488-f8e0dafb0699/15",
|
|
12
|
-
"state": "CA",
|
|
13
|
-
"secondary_residence": "No",
|
|
14
|
-
"water_deductible": 500000,
|
|
15
|
-
"year_built": "2005",
|
|
16
|
-
"owner_last_name": "Gonzalez",
|
|
17
|
-
"replacement_cost": 2513000,
|
|
18
|
-
"cape_updated_at": "2024-09-05T23:47:15.252Z",
|
|
19
|
-
"coverage_e": "No Coverage",
|
|
20
|
-
"theft_alarm": "Central",
|
|
21
|
-
"coverage_d": 10000,
|
|
22
|
-
"coverage_c": 20000,
|
|
23
|
-
"coverage_b": 500000,
|
|
24
|
-
"street_address": "5870 Silverado Trail",
|
|
25
|
-
"coverage_a": 4000000,
|
|
26
|
-
"purchase_year": 0,
|
|
27
|
-
"construction_type": "Frame",
|
|
28
|
-
"smoke": "Yes",
|
|
29
|
-
"roof_material": "Concrete Tile",
|
|
30
|
-
"fire_alarm": "Central",
|
|
31
|
-
"fire_ext": "Yes",
|
|
32
|
-
"coverage_f": "No Coverage",
|
|
33
|
-
"property_id": "76aa4cb1-2d0e-4918-8170-32805812b2da",
|
|
34
|
-
"fire_deductible": 0.1,
|
|
35
|
-
"seasonal_residence": "No",
|
|
36
|
-
"core_logic_wf_score": 100,
|
|
37
|
-
"deadbolt": "Yes",
|
|
38
|
-
"first_street_score": 2,
|
|
39
|
-
"owner_email": "ngonzo95@gmail.com",
|
|
40
|
-
"city": "Napa",
|
|
41
|
-
"cape_uuid": "43dc82a0-5303-4b9b-a488-f8e0dafb0699",
|
|
42
|
-
"gre_wf_score": 2.75,
|
|
43
|
-
"claims_json": [],
|
|
44
|
-
"zesty_l2": null,
|
|
45
|
-
"other_deductible": 50000,
|
|
46
|
-
"zesty_l1": 8,
|
|
47
|
-
"count_of_solar_panels": 0,
|
|
48
|
-
"cape_review_url": "",
|
|
49
|
-
"presence_of_pool": "No",
|
|
50
|
-
"extended_dwelling_coverage": "1.25",
|
|
51
|
-
"protection_class": "4X",
|
|
52
|
-
"sprinkler": "No",
|
|
53
|
-
"lat": 38.409477
|
|
54
|
-
}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"socotra_config_version": 2,
|
|
3
|
-
"property_id": "18e23424-77fb-4bdc-b65f-6929122df7d1",
|
|
4
|
-
"payment_schedule": "quarterly",
|
|
5
|
-
"quote_name":"example name",
|
|
6
|
-
"attractive_nuisance": "No",
|
|
7
|
-
"bellweather_wf_score": "0.0017",
|
|
8
|
-
"num_bath": null,
|
|
9
|
-
"num_stories": null,
|
|
10
|
-
"chimney_spark_arrestors": "All",
|
|
11
|
-
"city": "Oakland",
|
|
12
|
-
"client_application_reason": null,
|
|
13
|
-
"client_application_reason_detail": null,
|
|
14
|
-
"construction_type": "Frame",
|
|
15
|
-
"core_logic_wf_score": 64,
|
|
16
|
-
"county": "Alameda",
|
|
17
|
-
"count_of_solar_panels": "1+",
|
|
18
|
-
"coverage_a": 4000000,
|
|
19
|
-
"coverage_b": 400000,
|
|
20
|
-
"coverage_c": 100000,
|
|
21
|
-
"coverage_d": 300000,
|
|
22
|
-
"coverage_e": "500000",
|
|
23
|
-
"coverage_f": "10000",
|
|
24
|
-
"deadbolt": "Yes",
|
|
25
|
-
"degree_of_slope": "0",
|
|
26
|
-
"distance_to_fire_department": "03",
|
|
27
|
-
"distance_to_neighboring_home": "20",
|
|
28
|
-
"electrical_updated_year": "2005",
|
|
29
|
-
"ember_resistant_vents": "No",
|
|
30
|
-
"enclosed_eaves": "All",
|
|
31
|
-
"ensemble_mean": 0.48374,
|
|
32
|
-
"ensemble_variance": 0.019,
|
|
33
|
-
"extended_dwelling_coverage": "1.25",
|
|
34
|
-
"fireshed_ID": 1721,
|
|
35
|
-
"fireshed_code": "san_francisco_ca",
|
|
36
|
-
"fire_alarm": "Central",
|
|
37
|
-
"fire_deductible": 0.03,
|
|
38
|
-
"fire_ext": "Yes",
|
|
39
|
-
"first_street_score": 4,
|
|
40
|
-
"fema_flood_zone": "A",
|
|
41
|
-
"flood_score": "1",
|
|
42
|
-
"foundation_type": "Basement Finished",
|
|
43
|
-
"fuel_tank_distance": ">=30",
|
|
44
|
-
"gre_arf": 1.06,
|
|
45
|
-
"gre_wf_score": 2.38,
|
|
46
|
-
"ground_clearance": "All",
|
|
47
|
-
"has_additional_insured": "Yes",
|
|
48
|
-
"has_home_business": "yes - farming",
|
|
49
|
-
"has_underground_fuel_tank": "No",
|
|
50
|
-
"home_heating_source": "thermostatically controlled electrical heat",
|
|
51
|
-
"home_heating_update_year": "2015",
|
|
52
|
-
"horses": "Yes",
|
|
53
|
-
"insured_dob": "1985-10-17",
|
|
54
|
-
"is_rental": "Short term rental",
|
|
55
|
-
"is_under_renovation": "No",
|
|
56
|
-
"lat": 37.8204616,
|
|
57
|
-
"lng": -122.1878753,
|
|
58
|
-
"months_unoccupied": "0",
|
|
59
|
-
"multifamily_unit_count": "1",
|
|
60
|
-
"fireshed_capacity": 0.3,
|
|
61
|
-
"number_of_bankrupcies": "0",
|
|
62
|
-
"number_of_mortgages": "0",
|
|
63
|
-
"occupation": "Actor",
|
|
64
|
-
"other_deductible": 5000,
|
|
65
|
-
"past_liens": "0",
|
|
66
|
-
"plumbing_updated_year": "2000",
|
|
67
|
-
"pool_type": "None",
|
|
68
|
-
"presence_of_fence": "No",
|
|
69
|
-
"previous_insurance_company": "Allstate",
|
|
70
|
-
"previous_policy_expiration_date": "2024-11-03",
|
|
71
|
-
"previous_premium": "150000",
|
|
72
|
-
"primary_dwelling_insured": "Yes",
|
|
73
|
-
"protection_class": "2",
|
|
74
|
-
"purchase_year": "2015",
|
|
75
|
-
"replacement_cost": 2251000,
|
|
76
|
-
"residence_type": "Owner Occupied Single Family Residence",
|
|
77
|
-
"retrofitted": "No",
|
|
78
|
-
"roof_material": "Concrete Tile",
|
|
79
|
-
"roof_replacement_year": "2012",
|
|
80
|
-
"seismic_shutoff": "Yes",
|
|
81
|
-
"siding_material": "Adobe",
|
|
82
|
-
"slab_plumbing": "No",
|
|
83
|
-
"smoke": "Yes",
|
|
84
|
-
"spouse_email": "shmoe@joe.com",
|
|
85
|
-
"spouse_first_name": "joe",
|
|
86
|
-
"spouse_last_name": "shmoe",
|
|
87
|
-
"spouse_phone_number": "2153598888",
|
|
88
|
-
"co_applicant_address": "9471 Skyline Blvd",
|
|
89
|
-
"sprinkler": "Partial",
|
|
90
|
-
"start_date": "2024-09-06",
|
|
91
|
-
"state": "CA",
|
|
92
|
-
"street_address": "9471 Skyline Blvd",
|
|
93
|
-
"theft_alarm": "Central",
|
|
94
|
-
"waterflow_alarm": "Yes",
|
|
95
|
-
"water_damage_limit": "0.05",
|
|
96
|
-
"water_deductible": 5000,
|
|
97
|
-
"water_heater_update_year": "2018",
|
|
98
|
-
"water_shutoff": "No",
|
|
99
|
-
"wildfire_category": "C",
|
|
100
|
-
"windows_frame_type": "Metal",
|
|
101
|
-
"windows_type": "Tempered Glass",
|
|
102
|
-
"year_built": "2000",
|
|
103
|
-
"producer_ascend_id": "e9d2140b-01fb-4ce1-98a9-f379f2cca132",
|
|
104
|
-
"producer_city": "San Francisco",
|
|
105
|
-
"producer_commission": "13",
|
|
106
|
-
"producer_email": "blah@example.com",
|
|
107
|
-
"producer_license_number": "12311",
|
|
108
|
-
"producer_name": "Da Broker",
|
|
109
|
-
"producer_phone_number": "2153596444",
|
|
110
|
-
"producer_state": "California",
|
|
111
|
-
"producer_street_address": "548 Market Street",
|
|
112
|
-
"producer_street_address2": "PMB 70879",
|
|
113
|
-
"producer_zip": "94104",
|
|
114
|
-
"broker_name": "The Distributor",
|
|
115
|
-
"broker_license_number": 55252,
|
|
116
|
-
"producer_id": 14,
|
|
117
|
-
"multi_policy_discount": "No",
|
|
118
|
-
"stand_protect_discount": "No",
|
|
119
|
-
"square_feet": "2000",
|
|
120
|
-
"withdrawal_reasons": ["pricing_disagreement"],
|
|
121
|
-
"premium_calculated": null,
|
|
122
|
-
"rejection_reasons": ["wood_shake_roof", "tiv_over_10m"],
|
|
123
|
-
"roof_rating": "Class A",
|
|
124
|
-
"zesty_l1": 3,
|
|
125
|
-
"zesty_l2": 9,
|
|
126
|
-
"zip": "94611",
|
|
127
|
-
"reinsurance_carrier_approved": null,
|
|
128
|
-
"reinsurance_rate": null,
|
|
129
|
-
"fronting_carrier_approval": null,
|
|
130
|
-
"stand_second_approval": null,
|
|
131
|
-
"competing_carrier": "Something",
|
|
132
|
-
"competing_pricing": 12500,
|
|
133
|
-
"is_agreed_value": null,
|
|
134
|
-
"is_difference_in_condition": null,
|
|
135
|
-
"lead_source": null,
|
|
136
|
-
"account_manager_name": null,
|
|
137
|
-
"alarm_company": null,
|
|
138
|
-
"billing_email": null,
|
|
139
|
-
"co_applicant_occupation": null,
|
|
140
|
-
"construction_renovations_details": null,
|
|
141
|
-
"count_domestic_employees": null,
|
|
142
|
-
"deck_type": null,
|
|
143
|
-
"defensible_space": null,
|
|
144
|
-
"domestic_employees_duties": null,
|
|
145
|
-
"eaves_material": null,
|
|
146
|
-
"exterior_door_material": null,
|
|
147
|
-
"exterior_sprinkler_type": null,
|
|
148
|
-
"farming_activity": null,
|
|
149
|
-
"gutter_guards_type": null,
|
|
150
|
-
"gutter_material": null,
|
|
151
|
-
"has_fence_attached": null,
|
|
152
|
-
"has_gutter_guards_installed": null,
|
|
153
|
-
"high_risk_tree_type": null,
|
|
154
|
-
"is_firewise_community": null,
|
|
155
|
-
"mulch_type": null,
|
|
156
|
-
"prior_policy_status": null,
|
|
157
|
-
"prior_status_reason": null,
|
|
158
|
-
"trellis_pergola_material": null,
|
|
159
|
-
"water_supply_fittings_type": null,
|
|
160
|
-
"water_supply_hoses_type": null,
|
|
161
|
-
"year_retrofitted": null
|
|
162
|
-
|
|
163
|
-
}
|