@instabrain-sdks/api-client 2.3.0 → 2.3.1
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/README.md +198 -33
- package/dist/types/ibterm.types.d.ts +85 -29
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -623,15 +623,18 @@ const { quoteResponseId } = quoteResp.selectedQuote;
|
|
|
623
623
|
|
|
624
624
|
**Field priority rules:**
|
|
625
625
|
|
|
626
|
-
- `zipCode` takes priority over `stateCode` if both are provided
|
|
626
|
+
- `zipCode` takes priority over `stateCode` if both are provided *(ADB / GIGDB only)*
|
|
627
627
|
- `dateOfBirth` takes priority over `age` if both are provided
|
|
628
628
|
|
|
629
|
+
> **IB Term — do not send `zipCode`**. Per the updated `ThirdPartyIbTermQuoteDocs.md`, the IB Term quote endpoint only accepts `stateCode`; the `zipCode` field on `ThirdPartyQuoteReq` (used here for cross-product convenience) is ignored by IB Term. Pass `null`.
|
|
630
|
+
|
|
629
631
|
**Required-field rules (enforced server-side):**
|
|
630
632
|
|
|
631
633
|
- `benefitPeriod` is **required**.
|
|
632
634
|
- **Rating input** — supply exactly ONE group: `rateClass`, OR `healthClass`, OR `height` + `weightInLbs` together. `height` is optional in the type (omit it when rating via `rateClass`/`healthClass`).
|
|
633
635
|
- **Age** — supply `age` OR `dateOfBirth`; resolved age must be **18–60**.
|
|
634
|
-
- **Location** — supply `stateCode`
|
|
636
|
+
- **Location** — supply `stateCode` (for IB Term) or `stateCode` / `zipCode` (other products).
|
|
637
|
+
- **`flagTobaccoUse`** defaults to `false` when omitted on the IB Term quote — explicit `true` indicates nicotine use.
|
|
635
638
|
|
|
636
639
|
> The IB Term Quote endpoint returns failures in **two shapes**:
|
|
637
640
|
>
|
|
@@ -657,6 +660,8 @@ const { quoteResponseId, quoteAmount } = quoteResp.selectedQuote;
|
|
|
657
660
|
|
|
658
661
|
The IB Term Start Application takes a fully typed request with applicant info, address, birth jurisdiction, height/weight, driver license, primary care physician, structured tobacco/nicotine usage, beneficiary details, and (when the Dependent Child Rider was selected on the quote) child rider info.
|
|
659
662
|
|
|
663
|
+
> **Progressive disclosure:** the following top-level fields are **optional** — `address`, `socialSecurityNumber`, `dateOfBirth`, `birthJurisdiction`, `hasPrimaryCarePhysician`, `hasExistingCoverage`, `beneficiaryDetails`, `tobaccoNicotineUsage`. Within `childRiderInfo`, `hasExistingCoverageForChildren` and `childrenToBeInsuredDetails` are also optional. The full example below shows them populated for illustration; omit any of them if your flow collects them at a later step. Backend validation fires only when each parent is present.
|
|
664
|
+
|
|
660
665
|
```typescript
|
|
661
666
|
import {
|
|
662
667
|
BeneficiaryType,
|
|
@@ -719,20 +724,92 @@ const { opportunityId } = appResp;
|
|
|
719
724
|
|
|
720
725
|
- `isPayerAlsoOwnerAndInsured === false` → declined
|
|
721
726
|
- `isUsCitizenOrIsPermanentResident === false` → declined
|
|
727
|
+
- `isHoldingValidDriverLicense === false` → declined (driver license attestation)
|
|
722
728
|
- `areListedConditionsNotApplicable === false` → declined (one or more of the listed health conditions applies to the applicant)
|
|
723
729
|
- Any child knockout (`isAnyChildTakingMedication`, `isAnyChildDiagnosedWithDisability`, `isAnyChildDiagnosedWithSevereCondition`, `isAnyChildAdvisedForSurgery`) set to `true` → declined when Dependent Child Rider is selected
|
|
730
|
+
- Applicant height / weight outside the build chart → declined
|
|
731
|
+
|
|
732
|
+
> The physician-age-55 knockout was **removed** — applicants aged 55+ without primary care physician details are no longer declined.
|
|
724
733
|
|
|
725
734
|
> IB Term does **NOT** use `ApplicationLimitReached` (that applies to ADB / GIGDB only).
|
|
726
735
|
|
|
727
736
|
**Beneficiary type restriction:** IB Term accepts only `Person`, `Trust`, `Insured Estate`, `All Children Of The Insured Equally`, and `All Children Of The Marriage Equally`. The Business / Corporation / Charitable Organization / Employer / Other named-entity types are **not accepted** by IB Term — the SDK uses the shared `BeneficiaryDetails` union but the restriction is enforced server-side.
|
|
728
737
|
|
|
738
|
+
#### Applicant Disclosure (`areListedConditionsNotApplicable`)
|
|
739
|
+
|
|
740
|
+
This field corresponds to *"By checking the box I confirm the conditions listed are not applicable and able to proceed with the application."*
|
|
741
|
+
|
|
742
|
+
IB Term is designed for applicants who have **not** been diagnosed with the serious medical conditions below and have **not** had recent legal, driving, or insurance history issues that affect coverage availability.
|
|
743
|
+
|
|
744
|
+
| Value | Meaning | API behavior |
|
|
745
|
+
|---|---|---|
|
|
746
|
+
| `true` | None of the listed conditions apply to the applicant | Application may proceed (`isDeclined=false`). |
|
|
747
|
+
| `false` | One or more listed conditions apply | Immediate decline (`isDeclined=true`). |
|
|
748
|
+
|
|
749
|
+
Third-party integrations send a single boolean for the entire disclosure. Individual conditions are **not** separate request fields — your applicant-facing UI should present the full list and only set `areListedConditionsNotApplicable: true` when the applicant confirms none of the items below apply.
|
|
750
|
+
|
|
751
|
+
##### Listed conditions (by category)
|
|
752
|
+
|
|
753
|
+
**Cardiovascular & Heart Conditions**
|
|
754
|
+
|
|
755
|
+
- Angina, Heart Attack or Stroke
|
|
756
|
+
- Aortic or Brain Aneurysm
|
|
757
|
+
- Atrial Fibrillation and/or Arrhythmia (Irregular Heartbeat)
|
|
758
|
+
- Cardiomyopathy, Congestive Heart Failure
|
|
759
|
+
- Cerebral Vascular Accident (Stroke) or multiple Transient Ischemic Attacks (TIAs)
|
|
760
|
+
- Coronary Artery Blockage, Bypass, Stent Placement
|
|
761
|
+
- Myocardial Infarction (Heart Attack)
|
|
762
|
+
- Myocarditis
|
|
763
|
+
|
|
764
|
+
**Neurological Conditions**
|
|
765
|
+
|
|
766
|
+
- ALS (Lou Gehrig's Disease)
|
|
767
|
+
- Alzheimer's, Dementia or Cognitive Impairment
|
|
768
|
+
- Cerebral Palsy
|
|
769
|
+
- Multiple Sclerosis
|
|
770
|
+
- Parkinson's Disease
|
|
771
|
+
- Seizures including Grand Mal, Partial or Focal with moderate control
|
|
772
|
+
|
|
773
|
+
**Metabolic & Endocrine Conditions**
|
|
774
|
+
|
|
775
|
+
- Diagnosed with Diabetes Type I
|
|
776
|
+
- Diagnosed with Diabetes Type II below age 40
|
|
777
|
+
- Liver Disease including Cirrhosis, elevated Liver Function tests and/or Hemochromatosis
|
|
778
|
+
|
|
779
|
+
**Mental Health & Developmental Conditions**
|
|
780
|
+
|
|
781
|
+
- Autism
|
|
782
|
+
- Mental Illness (Schizophrenia or Psychosis)
|
|
783
|
+
- Mentally Challenged (Down's Syndrome, Autism, etc)
|
|
784
|
+
|
|
785
|
+
**Other Serious Medical Conditions**
|
|
786
|
+
|
|
787
|
+
- Any pending medical test or exams
|
|
788
|
+
- Lupus (SLE)
|
|
789
|
+
- Muscular Dystrophy
|
|
790
|
+
- Organ Transplant
|
|
791
|
+
- Sleep Apnea (non-compliant or within 6 months of diagnosis)
|
|
792
|
+
- Treatment for Alcohol and/or Drug Use within the past 5 years
|
|
793
|
+
- Ventilator use
|
|
794
|
+
|
|
795
|
+
**Legal & Insurance History**
|
|
796
|
+
|
|
797
|
+
- Adverse action by another Insurance carrier
|
|
798
|
+
- Convicted of a misdemeanor within the past 8 years
|
|
799
|
+
- Convicted of a felony
|
|
800
|
+
- Currently disabled
|
|
801
|
+
- Declined by or submitted more than 3 applications to life insurance carrier in the past year
|
|
802
|
+
- Do not currently have a valid drivers license
|
|
803
|
+
- DUI, License Suspension/Revoked, Reckless/Negligent Driving within last 2 years
|
|
804
|
+
- Pending criminal charges or current probation
|
|
805
|
+
|
|
729
806
|
#### Driver license
|
|
730
807
|
|
|
731
|
-
Driver license is two **flat fields** on the request (not a nested object): `driverLicenseState` and `driverLicenseNumber`.
|
|
808
|
+
Driver license is two **flat fields** on the request (not a nested object): `driverLicenseState` and `driverLicenseNumber`. They are **independent** of `isHoldingValidDriverLicense` — validated only when sent. Pass `null` (or omit) when you don't have them; the backend will only validate state-code / number-against-state format when present. Note that `isHoldingValidDriverLicense === false` is still a knockout decline (driver-license attestation), but that decline is independent of whether you supply the actual license values.
|
|
732
809
|
|
|
733
810
|
#### Primary care physician
|
|
734
811
|
|
|
735
|
-
When `hasPrimaryCarePhysician === true`, supply `physicianDetails.{physicianName, city, stateCode, lastSeen}
|
|
812
|
+
The whole `hasPrimaryCarePhysician` / `physicianDetails` pair is **optional**. When `hasPrimaryCarePhysician === true`, supply `physicianDetails.{physicianName, city, stateCode, lastSeen}`. `lastSeen` is `YYYY-MM` and must not be after the current month — the current month is allowed; only future months are rejected. When `false`, `physicianDetails` must be `null`. Physician's `stateCode` cannot be "Outside Of The USA". No decline is issued for applicants ≥ 55 without physician details (the physician knockout was removed).
|
|
736
813
|
|
|
737
814
|
#### Tobacco / nicotine usage
|
|
738
815
|
|
|
@@ -1087,7 +1164,7 @@ filters: [
|
|
|
1087
1164
|
| `wantsComparativeInformationForm` | `boolean | null` | No | Required when `address.state === "FL"` (per-coverage Q-08) |
|
|
1088
1165
|
|
|
1089
1166
|
|
|
1090
|
-
`**GigdbWillOtherCoverageBeReplacedOrFinancedData`:**
|
|
1167
|
+
`**GigdbWillOtherCoverageBeReplacedOrFinancedData`:**
|
|
1091
1168
|
|
|
1092
1169
|
|
|
1093
1170
|
| Field | Type | Required | Notes |
|
|
@@ -1096,7 +1173,7 @@ filters: [
|
|
|
1096
1173
|
| `otherInsuranceReplacementData` | `GigdbOtherInsuranceReplacementData | null` | No | Required when `address.state === "WA"` AND `willOtherCoverageBeReplacedOrFinanced === true` |
|
|
1097
1174
|
|
|
1098
1175
|
|
|
1099
|
-
`**GigdbOtherInsuranceReplacementData`:** *(
|
|
1176
|
+
`**GigdbOtherInsuranceReplacementData`:** *(WA-only)*
|
|
1100
1177
|
|
|
1101
1178
|
> All 7 booleans are server-required (must be non-null). For each boolean set to `true`, the paired `specify*` string must be a non-empty explanation. When the boolean is `false`, the paired `specify*` may be omitted or `null`.
|
|
1102
1179
|
|
|
@@ -1234,24 +1311,24 @@ filters: [
|
|
|
1234
1311
|
| `phoneNumber` | `string` | Yes | 10-digit local or E.164 (e.g. `+11234567890`) |
|
|
1235
1312
|
| `isUsCitizenOrIsPermanentResident` | `boolean` | Yes | Single combined field (IB Term variant) |
|
|
1236
1313
|
| `isPayerAlsoOwnerAndInsured` | `boolean` | Yes | Must be `true`; knockout otherwise |
|
|
1237
|
-
| `dateOfBirth` | `string`
|
|
1238
|
-
| `socialSecurityNumber` | `string`
|
|
1239
|
-
| `address` | `IBTermAddress`
|
|
1240
|
-
| `birthJurisdiction` | `IBTermBirthJurisdiction`
|
|
1314
|
+
| `dateOfBirth` | `string \| null` | No | ISO date; when sent, age 18–60. Optional — captured on the originating quote |
|
|
1315
|
+
| `socialSecurityNumber` | `string \| null` | No | 9 consecutive digits (`XXXXXXXXX`); dashed values rejected |
|
|
1316
|
+
| `address` | `IBTermAddress \| null` | No | See sub-fields below. Optional — state code is captured on the quote |
|
|
1317
|
+
| `birthJurisdiction` | `IBTermBirthJurisdiction \| null` | No | See sub-fields below |
|
|
1241
1318
|
| `height` | `IBTermHeight` | Yes | See sub-fields below |
|
|
1242
1319
|
| `weight` | `number` | Yes | Must be > 0 |
|
|
1243
|
-
| `isHoldingValidDriverLicense` | `boolean` | Yes |
|
|
1244
|
-
| `driverLicenseState` | `string
|
|
1245
|
-
| `driverLicenseNumber` | `string
|
|
1246
|
-
| `hasPrimaryCarePhysician` | `boolean`
|
|
1247
|
-
| `physicianDetails` | `IBTermPhysicianDetails
|
|
1248
|
-
| `tobaccoNicotineUsage` | `IBTermTobaccoNicotineUsage`
|
|
1320
|
+
| `isHoldingValidDriverLicense` | `boolean` | Yes | `false` → knockout (declined) |
|
|
1321
|
+
| `driverLicenseState` | `string \| null` | No (optional) | 2-letter US state. **Optional and independent of `isHoldingValidDriverLicense`** — validated only when sent. BE field: `DriverLicenseState` (top-level flat). |
|
|
1322
|
+
| `driverLicenseNumber` | `string \| null` | No (optional) | **Optional and independent of `isHoldingValidDriverLicense`** — validated against `driverLicenseState` when both are present. BE field: `DriverLicenseNumber` (top-level flat). |
|
|
1323
|
+
| `hasPrimaryCarePhysician` | `boolean \| null` | No | The whole physician pair is optional. Physician-age-55 knockout removed. |
|
|
1324
|
+
| `physicianDetails` | `IBTermPhysicianDetails \| null` | No | Required when `hasPrimaryCarePhysician === true`; must be `null` when `false` |
|
|
1325
|
+
| `tobaccoNicotineUsage` | `IBTermTobaccoNicotineUsage \| null` | No | Structured object — see sub-fields. Optional under progressive disclosure |
|
|
1249
1326
|
| `areListedConditionsNotApplicable` | `boolean` | Yes | Required acknowledgement. `false` → knockout (declined) |
|
|
1250
|
-
| `hasExistingCoverage` | `boolean`
|
|
1327
|
+
| `hasExistingCoverage` | `boolean \| null` | No | When `true`, supply `existingCoverageData` and `willOtherCoverageBeReplacedOrFinanced` |
|
|
1251
1328
|
| `willOtherCoverageBeReplacedOrFinanced` | `boolean` | No | Required when `hasExistingCoverage = true` |
|
|
1252
1329
|
| `existingCoverageData` | `IBTermExistingCoverageData` | No | Required when `hasExistingCoverage = true` |
|
|
1253
1330
|
| `willOtherCoverageBeReplacedOrFinancedData` | `IBTermWillOtherCoverageBeReplacedOrFinancedData` | No | Required when `address.state` is `"KS"` or `"WA"` AND `willOtherCoverageBeReplacedOrFinanced === true` |
|
|
1254
|
-
| `beneficiaryDetails` | `BeneficiaryDetails`
|
|
1331
|
+
| `beneficiaryDetails` | `BeneficiaryDetails \| null` | No | Restricted to Person / Trust / Insured Estate / All-children-of-insured-equally / All-children-of-marriage-equally |
|
|
1255
1332
|
| `childRiderInfo` | `IBTermChildRiderInfo` | No | Required when Dependent Child Rider was selected on the quote |
|
|
1256
1333
|
|
|
1257
1334
|
|
|
@@ -1292,7 +1369,7 @@ filters: [
|
|
|
1292
1369
|
| `physicianName` | `string` | Required when `hasPrimaryCarePhysician === true`. BE field: `PhysicianDetails.PhysicianName` |
|
|
1293
1370
|
| `city` | `string` | Physician's city. BE field: `PhysicianDetails.City` |
|
|
1294
1371
|
| `stateCode` | `string` | 2-letter US; "Outside Of The USA" not accepted. BE field: `PhysicianDetails.StateCode` |
|
|
1295
|
-
| `lastSeen` | `string` | `YYYY-MM
|
|
1372
|
+
| `lastSeen` | `string` | `YYYY-MM`. Must **not be after the current month** (current month is allowed; only future months are rejected). |
|
|
1296
1373
|
|
|
1297
1374
|
|
|
1298
1375
|
`**IBTermTobaccoNicotineUsage`:**
|
|
@@ -1368,12 +1445,12 @@ filters: [
|
|
|
1368
1445
|
|
|
1369
1446
|
| Field | Type | Required | Notes |
|
|
1370
1447
|
| ------------------------------------------- | --------------------------------- | -------- | ----- |
|
|
1371
|
-
| `hasExistingCoverageForChildren` | `boolean`
|
|
1448
|
+
| `hasExistingCoverageForChildren` | `boolean \| null` | No | When `true`, supply `existingCoverageInfoForChildren` (max 10 entries) |
|
|
1372
1449
|
| `isAnyChildTakingMedication` | `boolean` | Yes | Knockout when `true` |
|
|
1373
1450
|
| `isAnyChildDiagnosedWithDisability` | `boolean` | Yes | Knockout when `true` |
|
|
1374
1451
|
| `isAnyChildDiagnosedWithSevereCondition` | `boolean` | Yes | Knockout when `true` |
|
|
1375
1452
|
| `isAnyChildAdvisedForSurgery` | `boolean` | Yes | Knockout when `true` |
|
|
1376
|
-
| `childrenToBeInsuredDetails` | `IBTermChildToBeInsured[]`
|
|
1453
|
+
| `childrenToBeInsuredDetails` | `IBTermChildToBeInsured[] \| null` | No | When provided, each entry is validated (max 10). The previous "at least 1 required" constraint has been removed. |
|
|
1377
1454
|
| `existingCoverageInfoForChildren` | `IBTermChildExistingCoverage[]` | No | Required when `hasExistingCoverageForChildren === true`; max 10 entries; total non-replaced coverage ≤ $100,000 |
|
|
1378
1455
|
|
|
1379
1456
|
|
|
@@ -2140,6 +2217,8 @@ When the API returns `error: "InvalidRequestFormat"`, inspect `value.fields` (a
|
|
|
2140
2217
|
|
|
2141
2218
|
### IB Term — Start Application additional messages
|
|
2142
2219
|
|
|
2220
|
+
> **Progressive disclosure note:** for IB Term, the following common-pattern "is required" messages above no longer fire (the parent field is optional under progressive disclosure): `DateOfBirth`, `SocialSecurityNumber`, `Address`, `Address.*`, `BirthJurisdiction.*`, `HasExistingCoverage`, `BeneficiaryDetails`, `TobaccoNicotineUsage`. The format / sub-field validators below still apply when the parent block is sent.
|
|
2221
|
+
|
|
2143
2222
|
| Field path | Message |
|
|
2144
2223
|
|---|---|
|
|
2145
2224
|
| `DateOfBirth` | Age must be between 18 and 60 for IB Term. |
|
|
@@ -2155,15 +2234,11 @@ When the API returns `error: "InvalidRequestFormat"`, inspect `value.fields` (a
|
|
|
2155
2234
|
| `Weight` | Weight is required. |
|
|
2156
2235
|
| `Weight` | Weight must be greater than 0. |
|
|
2157
2236
|
| `IsHoldingValidDriverLicense` | IsHoldingValidDriverLicense is required. |
|
|
2158
|
-
| `DriverLicenseState` | Driver license state is
|
|
2159
|
-
| `
|
|
2160
|
-
| `
|
|
2161
|
-
| `DriverLicenseNumber` | Driver license number format is invalid for the selected driver license state. |
|
|
2162
|
-
| `DriverLicenseNumber` | Driver license number must be null when IsHoldingValidDriverLicense is false. |
|
|
2163
|
-
| `BirthJurisdiction.Country` | Birth jurisdiction country is required. |
|
|
2237
|
+
| `DriverLicenseState` | Driver license state code is invalid. *(Returned only when sent — driver license fields are independent of `IsHoldingValidDriverLicense`.)* |
|
|
2238
|
+
| `DriverLicenseNumber` | Driver license number format is invalid for the selected driver license state. *(Returned only when both fields are sent — driver license fields are independent of `IsHoldingValidDriverLicense`.)* |
|
|
2239
|
+
| `BirthJurisdiction.Country` | Birth jurisdiction country is required (when `BirthJurisdiction` is sent). |
|
|
2164
2240
|
| `BirthJurisdiction.State` | Birth jurisdiction state is required when birth country is US. |
|
|
2165
2241
|
| `BirthJurisdiction.State` | Birth state code is invalid. |
|
|
2166
|
-
| `HasPrimaryCarePhysician` | HasPrimaryCarePhysician is required. |
|
|
2167
2242
|
| `PhysicianDetails` | Physician details are required when HasPrimaryCarePhysician is true. |
|
|
2168
2243
|
| `PhysicianDetails` | Physician details must be null when HasPrimaryCarePhysician is false. |
|
|
2169
2244
|
| `PhysicianDetails.PhysicianName` | Physician name is required when HasPrimaryCarePhysician is true. |
|
|
@@ -2172,9 +2247,8 @@ When the API returns `error: "InvalidRequestFormat"`, inspect `value.fields` (a
|
|
|
2172
2247
|
| `PhysicianDetails.StateCode` | Outside Of The USA is not allowed for physician state. |
|
|
2173
2248
|
| `PhysicianDetails.StateCode` | Physician state code is invalid. |
|
|
2174
2249
|
| `PhysicianDetails.LastSeen` | Physician last-seen date is required when HasPrimaryCarePhysician is true. |
|
|
2175
|
-
| `PhysicianDetails.LastSeen` | Physician last-seen date must be in YYYY-MM format and
|
|
2176
|
-
| `TobaccoNicotineUsage` |
|
|
2177
|
-
| `TobaccoNicotineUsage.LastUsedPeriod` | Last used period is required. |
|
|
2250
|
+
| `PhysicianDetails.LastSeen` | Physician last-seen date must be in YYYY-MM format (year-month only, e.g. 2025-04; not 2025/04) and must not be after the current month. *(Current month is allowed; only future months are rejected — relaxed.)* |
|
|
2251
|
+
| `TobaccoNicotineUsage.LastUsedPeriod` | Last used period is required *(when `TobaccoNicotineUsage` is sent)*. |
|
|
2178
2252
|
| `TobaccoNicotineUsage.LastUsedPeriod` | Last used period must be one of: *(allowed values)*. |
|
|
2179
2253
|
| `TobaccoNicotineUsage.LastTimeUsed` | Last time used tobacco/nicotine date is required. |
|
|
2180
2254
|
| `TobaccoNicotineUsage.LastTimeUsed` | Last time used tobacco/nicotine date must be in YYYY-MM format. |
|
|
@@ -2190,12 +2264,10 @@ IB Term shares the state-specific Q-08 messages (MA / OK / DE / GA / FL / RI / W
|
|
|
2190
2264
|
|
|
2191
2265
|
| Field path | Message |
|
|
2192
2266
|
|---|---|
|
|
2193
|
-
| `ChildRiderInfo.HasExistingCoverageForChildren` | HasExistingCoverageForChildren is required when child rider info is present. |
|
|
2194
2267
|
| `ChildRiderInfo.IsAnyChildTakingMedication` | Child medication knockout question is required. |
|
|
2195
2268
|
| `ChildRiderInfo.IsAnyChildDiagnosedWithDisability` | Child disability knockout question is required. |
|
|
2196
2269
|
| `ChildRiderInfo.IsAnyChildDiagnosedWithSevereCondition` | Child severe condition knockout question is required. |
|
|
2197
2270
|
| `ChildRiderInfo.IsAnyChildAdvisedForSurgery` | Child surgery knockout question is required. |
|
|
2198
|
-
| `ChildRiderInfo.ChildrenToBeInsuredDetails` | At least one child must be provided when child rider info is present. |
|
|
2199
2271
|
| `ChildRiderInfo.ChildrenToBeInsuredDetails` | Maximum 10 children to be insured details allowed. |
|
|
2200
2272
|
| `ChildRiderInfo.ExistingCoverageInfoForChildren` | Existing coverage details required when HasExistingCoverageForChildren is true. |
|
|
2201
2273
|
| `ChildRiderInfo.ExistingCoverageInfoForChildren` | Maximum 10 child existing coverage entries allowed. |
|
|
@@ -2224,6 +2296,99 @@ IB Term shares the state-specific Q-08 messages (MA / OK / DE / GA / FL / RI / W
|
|
|
2224
2296
|
| `ChildRiderInfo.ExistingCoverageInfoForChildren[n].PolicyNumber` | Policy number is required for child existing coverage. |
|
|
2225
2297
|
| `ChildRiderInfo.ExistingCoverageInfoForChildren[n].DateOfIssue` | Date of issue is required for child existing coverage. |
|
|
2226
2298
|
|
|
2299
|
+
## IB Term Start Application — Field-to-Question Mapping
|
|
2300
|
+
|
|
2301
|
+
The table below maps every request field on `startIBTermApplication()` to the underwriting question or disclosure it answers, and to the API-level purpose / data shape of the field. The **Question** column is the regulated wording the applicant must see — integrators should display this exact text (or a close adaptation that preserves meaning) in their applicant-facing UI to satisfy state insurance disclosure rules. The **Purpose** column describes what the field represents on the API contract (data type, allowed values, role in the request). Fields with no applicant-facing question (data captures like name / address / IDs) show `—` in the Question column. Source: `IBTermStartApplicationDocs.md` § "Field to Question Mapping".
|
|
2302
|
+
|
|
2303
|
+
> See the `IBTermStartApplicationReq` reference table above for the always-required vs optional split; this table additionally maps the *meaning* of each field.
|
|
2304
|
+
|
|
2305
|
+
| API Field | Question | Purpose | When Required |
|
|
2306
|
+
|---|---|---|---|
|
|
2307
|
+
| `quoteResponseId` | — | Links the application to a previously generated quote. | Always required. |
|
|
2308
|
+
| `firstName` | — | First name of the proposed insured. | Always required. |
|
|
2309
|
+
| `lastName` | — | Last name of the proposed insured. | Always required. |
|
|
2310
|
+
| `email` | — | Email address of the proposed insured. | Always required. |
|
|
2311
|
+
| `phoneNumber` | — | Phone number of the proposed insured. | Always required. |
|
|
2312
|
+
| `isUsCitizenOrIsPermanentResident` | Are you a US citizen or lawful permanent resident who has resided in the US for more than 2 years? | Citizenship / residency knockout flag. | Always required. `false` results in a decline. |
|
|
2313
|
+
| `isPayerAlsoOwnerAndInsured` | Are you the insured, owner, and payor of this policy? | Confirms applicant role — the payer must also be the owner and the insured. | Always required. `false` results in a decline. |
|
|
2314
|
+
| `height.feet` | — | Height — feet component (1–8). | Always required. |
|
|
2315
|
+
| `height.inches` | — | Height — inches component (0–11). | Always required. |
|
|
2316
|
+
| `weight` | — | Weight in pounds (must be > 0). | Always required. |
|
|
2317
|
+
| `areListedConditionsNotApplicable` | By checking the box I confirm the conditions listed are not applicable and able to proceed with the application. | Single-boolean health / legal-history knockout disclosure covering the full conditions list (see "Applicant Disclosure" section above). | Always required. `false` results in a decline. |
|
|
2318
|
+
| `isHoldingValidDriverLicense` | Do you hold a valid driver's license? | Driver license attestation knockout flag. | Always required. `false` results in a decline. |
|
|
2319
|
+
| `driverLicenseState` | — | State that issued the driver's license (2-letter US state). | Optional. Validated when sent. |
|
|
2320
|
+
| `driverLicenseNumber` | — | Driver's license number; format validated against `driverLicenseState`. | Optional. Validated when sent with `driverLicenseState`. |
|
|
2321
|
+
| `dateOfBirth` | — | Date of birth of the proposed insured. | Optional. When sent, age must be 18–60. |
|
|
2322
|
+
| `socialSecurityNumber` | — | Social security number of the proposed insured (9 digits, no dashes). | Optional. |
|
|
2323
|
+
| `address.addressLine1` | — | Street address line 1. | When `address` is sent. |
|
|
2324
|
+
| `address.city` | — | City. | When `address` is sent. |
|
|
2325
|
+
| `address.state` | — | State of residence (must match the quote state). | When `address` is sent. |
|
|
2326
|
+
| `address.zipcode` | — | 5-digit US zip code. | When `address` is sent. |
|
|
2327
|
+
| `birthJurisdiction.country` | — | Country of birth (ISO country code). | When `birthJurisdiction` is sent. |
|
|
2328
|
+
| `birthJurisdiction.state` | — | State of birth (US state selection). | When `birthJurisdiction.country` is `"US"`. |
|
|
2329
|
+
| `tobaccoNicotineUsage.lastUsedPeriod` | When did you last use tobacco or nicotine products? | Usage-period bucket: `"never used"`, `"within the last 12 months"`, `"12 to 23 months"`, `"24 to 35 months"`, `"36 months or greater"`. | When `tobaccoNicotineUsage` is sent. |
|
|
2330
|
+
| `tobaccoNicotineUsage.productTypesUsed` | Which tobacco or nicotine products have you used? | Array of product-type strings. | When `tobaccoNicotineUsage` is sent and `lastUsedPeriod` is not `"never used"`. |
|
|
2331
|
+
| `tobaccoNicotineUsage.lastTimeUsed` | When was the most recent time you used tobacco or nicotine? | Year-month (`YYYY-MM`) of last use. | When `tobaccoNicotineUsage` is sent and `lastUsedPeriod` is not `"never used"`. |
|
|
2332
|
+
| `tobaccoNicotineUsage.cigarUsagePerYear` | How many cigars do you smoke per year? | Integer 1–999. | When `productTypesUsed` contains cigars only. |
|
|
2333
|
+
| `hasPrimaryCarePhysician` | Do you have a primary care physician? | Yes/no flag; when `true`, supply `physicianDetails`. | Optional. |
|
|
2334
|
+
| `physicianDetails.physicianName` | What is the name of your primary care physician? | Physician name string. | When `hasPrimaryCarePhysician` is `true`. |
|
|
2335
|
+
| `physicianDetails.city` | In which city does your physician practice? | Physician city string. | When `hasPrimaryCarePhysician` is `true`. |
|
|
2336
|
+
| `physicianDetails.stateCode` | In which state does your physician practice? | 2-letter US state (`"Outside Of The USA"` is rejected). | When `hasPrimaryCarePhysician` is `true`. |
|
|
2337
|
+
| `physicianDetails.lastSeen` | When did you last see your physician? | Year-month (`YYYY-MM`); current month or earlier. | When `hasPrimaryCarePhysician` is `true`. |
|
|
2338
|
+
| `beneficiaryDetails.beneficiaryType` | Who is your primary beneficiary? | Type of primary beneficiary. Must be one of the IB Term-specific values: `"Person"`, `"Trust"`, `"Insured Estate"`, `"All Children Of The Insured Equally"`, `"All Children Of The Marriage Equally"`. | When `beneficiaryDetails` is sent. |
|
|
2339
|
+
| `beneficiaryDetails.beneficiaryPerson.firstName` | What is your beneficiary's first name? | Beneficiary's first name. | Required when `beneficiaryType` is `"Person"`. |
|
|
2340
|
+
| `beneficiaryDetails.beneficiaryPerson.lastName` | What is your beneficiary's last name? | Beneficiary's last name. | Required when `beneficiaryType` is `"Person"`. |
|
|
2341
|
+
| `beneficiaryDetails.beneficiaryPerson.relationship` | What is your relationship to the beneficiary? | Beneficiary's relationship to the insured. | Required when `beneficiaryType` is `"Person"`. |
|
|
2342
|
+
| `beneficiaryDetails.namedEntity.name` | What is the name of the trust or estate? | Name of the trust or estate. | Required when `beneficiaryType` is `"Trust"`. |
|
|
2343
|
+
| `beneficiaryDetails.namedEntity.trustDate` | When was the trust established? | Year-month (`YYYY-MM`) of trust formation. | Optional. |
|
|
2344
|
+
| `beneficiaryDetails.namedEntity.taxId` | What is the trust's tax ID? | Tax identifier for the trust. | Optional. |
|
|
2345
|
+
| `hasExistingCoverage` | Do you have any existing life insurance or annuity contracts in force? | Triggers the existing-coverage replacement-disclosure block. | When sent as `true` or `false`. |
|
|
2346
|
+
| `existingCoverageData.isExistingPolicyBeingTerminated` | Are you considering terminating an existing policy? | Yes/no flag per state replacement-disclosure rules. | Required when `hasExistingCoverage` is `true`. |
|
|
2347
|
+
| `existingCoverageData.areExistingPoliciesIssuedByFidelity` | Are any of your existing policies issued by Fidelity Life Association? | RI / WV-specific disclosure flag. | Required for RI and WV. |
|
|
2348
|
+
| `existingCoverageData.existingCoverages[].nameOfTheCompany` | What is the name of the insurance company for this existing coverage? | Per-policy insurer name. | Required per existing coverage entry. |
|
|
2349
|
+
| `existingCoverageData.existingCoverages[].insuranceAmount` | What is the coverage amount of this existing policy? | Per-policy face amount (string). | Required per existing coverage entry. |
|
|
2350
|
+
| `existingCoverageData.existingCoverages[].dateOfIssue` | When was this existing policy issued? | Year-month (`YYYY-MM`) of policy issuance. | Required per existing coverage entry. |
|
|
2351
|
+
| `existingCoverageData.existingCoverages[].toBeReplaced` | Will this existing policy be replaced? | Per-policy replacement flag. | Required per existing coverage entry. |
|
|
2352
|
+
| `existingCoverageData.existingCoverages[].toBeFinanced` | Will funds from this policy be used to pay premiums on the new policy? | Per-policy financing flag. | Required per existing coverage entry. |
|
|
2353
|
+
| `existingCoverageData.existingCoverages[].requestsYieldIndices` | Would you like to request yield indices for cash value policies? | MA-only per-policy disclosure flag. | Required for MA only. |
|
|
2354
|
+
| `existingCoverageData.existingCoverages[].notifyPresentInsurer` | Should we notify your present insurer(s) regarding this transaction? | OK-only per-policy disclosure flag. | Required for OK only. |
|
|
2355
|
+
| `existingCoverageData.existingCoverages[].wantsPolicySummary` | Do you want a policy summary statement from your existing insurer? | DE / GA-only per-policy disclosure flag. | Required for DE and GA only. |
|
|
2356
|
+
| `existingCoverageData.existingCoverages[].wantsComparativeInformationForm` | Do you wish to receive a Comparative Information Form? | FL-only per-policy disclosure flag. | Required for FL only. |
|
|
2357
|
+
| `willOtherCoverageBeReplacedOrFinanced` | Will any existing coverage be cancelled, lapsed, or financed as part of this application? | Top-level replacement question; when `true`, supply the `willOtherCoverageBeReplacedOrFinancedData` block. | Required when `hasExistingCoverage` is `true`. |
|
|
2358
|
+
| `willOtherCoverageBeReplacedOrFinancedData.areReplacedPoliciesIssuedByFidelity` | Are any of the policies being replaced issued by Fidelity Life Association? | KS-specific disclosure flag. | Required for KS when replacing or financing. |
|
|
2359
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.mayReduceBenefitsIncreasePremiums` | Can there be reduced benefits or increased premiums in later years? | WA adverse-effect disclosure flag. | Required for WA when replacing or financing. |
|
|
2360
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.specifyReduceBenefitsIncreasePremiums` | If yes, please explain. | Free-text explanation when the preceding boolean is `true`. | Required when the corresponding boolean is `true`. |
|
|
2361
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.hasNewPolicyCharges` | Are there penalties or surrender charges for the new policy? | WA adverse-effect disclosure flag. | Required for WA when replacing or financing. |
|
|
2362
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.specifyNewPolicyCharges` | If yes, please explain (emphasising early-withdrawal costs). | Free-text explanation when the preceding boolean is `true`. | Required when the corresponding boolean is `true`. |
|
|
2363
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.hasPriorPolicyCharges` | Will there be penalties or surrender charges under the existing insurance? | WA adverse-effect disclosure flag. | Required for WA when replacing or financing. |
|
|
2364
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.specifyPriorPolicyCharges` | If yes, please explain. | Free-text explanation when the preceding boolean is `true`. | Required when the corresponding boolean is `true`. |
|
|
2365
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.hasTaxConsequences` | Are there adverse tax consequences from the replacement? | WA adverse-effect disclosure flag. | Required for WA when replacing or financing. |
|
|
2366
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.specifyTaxConsequences` | If yes, please explain. | Free-text explanation when the preceding boolean is `true`. | Required when the corresponding boolean is `true`. |
|
|
2367
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.hasInterestConsiderations` | Are interest earnings a consideration in this replacement? | WA adverse-effect disclosure flag. | Required for WA when replacing or financing. |
|
|
2368
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.specifyInterestConsiderations` | If yes, please explain which portions of premiums will produce limited or no earnings. | Free-text explanation when the preceding boolean is `true`. | Required when the corresponding boolean is `true`. |
|
|
2369
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.hasMinRequirementsBeforeInterest` | Are minimum amounts required before excess interest will be paid? | WA adverse-effect disclosure flag. | Required for WA when replacing or financing. |
|
|
2370
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.specifyMinRequirementsBeforeInterest` | If yes, please explain. | Free-text explanation when the preceding boolean is `true`. | Required when the corresponding boolean is `true`. |
|
|
2371
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.hasOtherAdverseEffects` | Are there other short or long-term effects that might be materially adverse? | WA adverse-effect disclosure flag. | Required for WA when replacing or financing. |
|
|
2372
|
+
| `willOtherCoverageBeReplacedOrFinancedData.otherInsuranceReplacementData.specifyOtherAdverseEffects` | If yes, please explain. | Free-text explanation when the preceding boolean is `true`. | Required when the corresponding boolean is `true`. |
|
|
2373
|
+
| `childRiderInfo.isAnyChildDiagnosedWithDisability` | Has any Proposed Child (Children) to be Insured been diagnosed with or treated by a Physician for any physical or mental disability? | Child rider health knockout. | Required when child rider is on the quote. `true` declines. |
|
|
2374
|
+
| `childRiderInfo.isAnyChildDiagnosedWithSevereCondition` | Has any Proposed Child (Children) to be Insured ever been diagnosed with or treated by a physician for any disorder of the heart, lung or for cancer? | Child rider health knockout. | Required when child rider is on the quote. `true` declines. |
|
|
2375
|
+
| `childRiderInfo.isAnyChildTakingMedication` | Is any Proposed Child (Children) to be Insured now taking medication, by prescription or over the counter (OTC), or undergoing treatment or therapy of any kind by a member of the medical profession? | Child rider health knockout. | Required when child rider is on the quote. `true` declines. |
|
|
2376
|
+
| `childRiderInfo.isAnyChildAdvisedForSurgery` | Within the last 5 years, has any Proposed Child (Children) to be Insured been advised by a member of the medical profession to have any surgery or hospitalization which has not yet been completed? | Child rider health knockout. | Required when child rider is on the quote. `true` declines. |
|
|
2377
|
+
| `childRiderInfo.childrenToBeInsuredDetails[].firstName` | — | Child's first name. | Required per child when that child entry is sent. |
|
|
2378
|
+
| `childRiderInfo.childrenToBeInsuredDetails[].lastName` | — | Child's last name. | Required per child when that child entry is sent. |
|
|
2379
|
+
| `childRiderInfo.childrenToBeInsuredDetails[].gender` | — | Child's gender (`Male` / `Female` or integer 1 / 2). | Required per child when that child entry is sent. |
|
|
2380
|
+
| `childRiderInfo.childrenToBeInsuredDetails[].height.feet` | — | Child's height — feet component. | Required per child when that child entry is sent. |
|
|
2381
|
+
| `childRiderInfo.childrenToBeInsuredDetails[].height.inches` | — | Child's height — inches component. | Required per child when that child entry is sent. |
|
|
2382
|
+
| `childRiderInfo.childrenToBeInsuredDetails[].weight` | — | Child's weight in pounds. | Required per child when that child entry is sent. |
|
|
2383
|
+
| `childRiderInfo.childrenToBeInsuredDetails[].dob` | — | Child's date of birth (15 days – under 18 years). | Required per child when that child entry is sent. |
|
|
2384
|
+
| `childRiderInfo.childrenToBeInsuredDetails[].relation` | — | Child's relationship to the proposed insured. | Required per child when that child entry is sent. |
|
|
2385
|
+
| `childRiderInfo.existingCoverageInfoForChildren[].nameOfTheCompany` | — | Name of the company holding the child's existing coverage. | Required per child existing coverage entry when `hasExistingCoverageForChildren` is `true`. |
|
|
2386
|
+
| `childRiderInfo.existingCoverageInfoForChildren[].policyNumber` | — | Policy number of the child's existing coverage. | Required per child existing coverage entry. |
|
|
2387
|
+
| `childRiderInfo.existingCoverageInfoForChildren[].insuranceAmount` | — | Insurance amount of the child's existing coverage (string). | Required per child existing coverage entry. |
|
|
2388
|
+
| `childRiderInfo.existingCoverageInfoForChildren[].dateOfIssue` | — | Year-month (`YYYY-MM`) of policy issuance. | Required per child existing coverage entry. |
|
|
2389
|
+
| `childRiderInfo.existingCoverageInfoForChildren[].toBeReplaced` | Will the child's existing policy be replaced? | Per-policy replacement flag. | Required per child existing coverage entry. |
|
|
2390
|
+
| `childRiderInfo.existingCoverageInfoForChildren[].toBeFinanced` | Will funds from the child's existing policy be used to pay premiums? | Per-policy financing flag. | Required per child existing coverage entry. |
|
|
2391
|
+
|
|
2227
2392
|
### Shared APIs — EFT Payment
|
|
2228
2393
|
|
|
2229
2394
|
`POST /api/ThirdPartyPayment/save-eft-payment`
|
|
@@ -71,15 +71,16 @@ export interface IBTermPhysicianDetails {
|
|
|
71
71
|
city: string;
|
|
72
72
|
/** 2-letter US state code; "Outside Of The USA" is not accepted. Backend field: `PhysicianDetails.StateCode`. */
|
|
73
73
|
stateCode: string;
|
|
74
|
-
/** YYYY-MM
|
|
74
|
+
/** `YYYY-MM`. Must not be after the current month (current month is allowed). */
|
|
75
75
|
lastSeen: string;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* IB Term tobacco / nicotine usage history.
|
|
79
79
|
*
|
|
80
80
|
* IB Term uses this structured object — it is NOT a boolean `isSmoker` flag
|
|
81
|
-
* like ADB / GIGDB.
|
|
82
|
-
* Start Application
|
|
81
|
+
* like ADB / GIGDB. Under the progressive disclosure model, the whole object
|
|
82
|
+
* is optional on Start Application; when present, every sub-rule below
|
|
83
|
+
* applies as before.
|
|
83
84
|
*/
|
|
84
85
|
export interface IBTermTobaccoNicotineUsage {
|
|
85
86
|
/** Bucket describing how recently the applicant last used tobacco / nicotine. */
|
|
@@ -210,7 +211,12 @@ export interface IBTermChildExistingCoverage {
|
|
|
210
211
|
* in a declined application.
|
|
211
212
|
*/
|
|
212
213
|
export interface IBTermChildRiderInfo {
|
|
213
|
-
|
|
214
|
+
/**
|
|
215
|
+
* Optional under the progressive disclosure model. Validated only when sent.
|
|
216
|
+
* When `true`, supply `existingCoverageInfoForChildren` (max 10 entries) per
|
|
217
|
+
* existing child policy.
|
|
218
|
+
*/
|
|
219
|
+
hasExistingCoverageForChildren?: boolean | null;
|
|
214
220
|
/** Knockout question — true declines the application. */
|
|
215
221
|
isAnyChildTakingMedication: boolean;
|
|
216
222
|
/** Knockout question — true declines the application. */
|
|
@@ -219,8 +225,12 @@ export interface IBTermChildRiderInfo {
|
|
|
219
225
|
isAnyChildDiagnosedWithSevereCondition: boolean;
|
|
220
226
|
/** Knockout question — true declines the application. */
|
|
221
227
|
isAnyChildAdvisedForSurgery: boolean;
|
|
222
|
-
/**
|
|
223
|
-
|
|
228
|
+
/**
|
|
229
|
+
* Optional under the progressive disclosure model. When provided, each entry
|
|
230
|
+
* is validated by the backend (max 10 entries). The previous "at least 1
|
|
231
|
+
* required" constraint has been removed.
|
|
232
|
+
*/
|
|
233
|
+
childrenToBeInsuredDetails?: IBTermChildToBeInsured[] | null;
|
|
224
234
|
/** Required when hasExistingCoverageForChildren === true; max 10 entries. */
|
|
225
235
|
existingCoverageInfoForChildren?: IBTermChildExistingCoverage[];
|
|
226
236
|
}
|
|
@@ -233,10 +243,23 @@ export interface IBTermChildRiderInfo {
|
|
|
233
243
|
* usage, and the Dependent Child Rider's nested child + child-existing-coverage
|
|
234
244
|
* arrays.
|
|
235
245
|
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
246
|
+
* **Progressive disclosure model:** eight top-level fields are
|
|
247
|
+
* optional — `address`, `socialSecurityNumber`, `dateOfBirth`,
|
|
248
|
+
* `birthJurisdiction`, `hasPrimaryCarePhysician`, `hasExistingCoverage`,
|
|
249
|
+
* `beneficiaryDetails`, `tobaccoNicotineUsage`. Backend validation fires only
|
|
250
|
+
* when each parent is sent. `IBTermChildRiderInfo.hasExistingCoverageForChildren`
|
|
251
|
+
* and `childrenToBeInsuredDetails` are similarly optional.
|
|
252
|
+
*
|
|
253
|
+
* Knockout returns `isDeclined: true` with no `opportunityId` created. Knockout
|
|
254
|
+
* triggers: `isUsCitizenOrIsPermanentResident === false`,
|
|
255
|
+
* `isPayerAlsoOwnerAndInsured === false`, driver license attestation
|
|
256
|
+
* (`isHoldingValidDriverLicense === false`), `areListedConditionsNotApplicable
|
|
257
|
+
* === false`, any of the four `IBTermChildRiderInfo` knockout booleans `true`,
|
|
258
|
+
* or height/weight outside allowed limits. The physician-age-55 knockout was
|
|
259
|
+
* removed. IB Term does NOT use `ApplicationLimitReached` (that
|
|
260
|
+
* applies to ADB/GIGDB only).
|
|
238
261
|
*
|
|
239
|
-
* Eligible age range: 18–60 (derived from
|
|
262
|
+
* Eligible age range: 18–60 (derived from the originating quote).
|
|
240
263
|
* Beneficiary types accepted: Person, Trust, Insured Estate, All Children Of The
|
|
241
264
|
* Insured Equally, All Children Of The Marriage Equally. (Business / Corporation
|
|
242
265
|
* / Charitable Organization / Employer / Other are NOT accepted by IB Term.)
|
|
@@ -256,38 +279,71 @@ export interface IBTermStartApplicationReq {
|
|
|
256
279
|
isUsCitizenOrIsPermanentResident: boolean;
|
|
257
280
|
/** Must be true to proceed — applicant must be both owner and insured. */
|
|
258
281
|
isPayerAlsoOwnerAndInsured: boolean;
|
|
259
|
-
/**
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
282
|
+
/**
|
|
283
|
+
* Optional under the progressive disclosure model. ISO date; when sent, age must be 18–60.
|
|
284
|
+
* The applicant's age is already captured on the originating quote, so this is
|
|
285
|
+
* not re-required on Start Application. Validated by the backend only when present.
|
|
286
|
+
*/
|
|
287
|
+
dateOfBirth?: string | null;
|
|
288
|
+
/**
|
|
289
|
+
* Optional under the progressive disclosure model. Format: XXXXXXXXX (9 digits) —
|
|
290
|
+
* dashed values are rejected. Validated by the backend only when present.
|
|
291
|
+
*/
|
|
292
|
+
socialSecurityNumber?: string | null;
|
|
293
|
+
/**
|
|
294
|
+
* Optional under the progressive disclosure model. The state code captured on
|
|
295
|
+
* the quote already drives state-specific rules; this address block is for the
|
|
296
|
+
* final policy record. When sent, all sub-fields are validated.
|
|
297
|
+
*/
|
|
298
|
+
address?: IBTermAddress | null;
|
|
299
|
+
/**
|
|
300
|
+
* Optional under the progressive disclosure model. When sent, all sub-fields
|
|
301
|
+
* are validated.
|
|
302
|
+
*/
|
|
303
|
+
birthJurisdiction?: IBTermBirthJurisdiction | null;
|
|
265
304
|
height: IBTermHeight;
|
|
266
305
|
/** Positive. */
|
|
267
306
|
weight: number;
|
|
268
307
|
isHoldingValidDriverLicense: boolean;
|
|
269
308
|
/**
|
|
270
|
-
* 2-letter US state code.
|
|
271
|
-
*
|
|
309
|
+
* 2-letter US state code. **Optional and independent of `isHoldingValidDriverLicense`** —
|
|
310
|
+
* validated only when sent. Omit or pass `null` when not collected.
|
|
272
311
|
* Backend property: `DriverLicenseState` (top-level on `ThirdPartyIBTermAppReq`).
|
|
273
312
|
*/
|
|
274
|
-
driverLicenseState
|
|
313
|
+
driverLicenseState?: string | null;
|
|
275
314
|
/**
|
|
276
|
-
* Driver license number.
|
|
277
|
-
*
|
|
315
|
+
* Driver license number. **Optional and independent of `isHoldingValidDriverLicense`** —
|
|
316
|
+
* validated only when sent (and only against `driverLicenseState` when both are present).
|
|
317
|
+
* Omit or pass `null` when not collected.
|
|
278
318
|
* Backend property: `DriverLicenseNumber` (top-level on `ThirdPartyIBTermAppReq`).
|
|
279
319
|
*/
|
|
280
|
-
driverLicenseNumber
|
|
281
|
-
|
|
320
|
+
driverLicenseNumber?: string | null;
|
|
321
|
+
/**
|
|
322
|
+
* Optional under the progressive disclosure model. The whole
|
|
323
|
+
* `hasPrimaryCarePhysician` / `physicianDetails` pair may be omitted. When
|
|
324
|
+
* `hasPrimaryCarePhysician === true`, supply `physicianDetails`; when `false`,
|
|
325
|
+
* `physicianDetails` must be `null`. The physician-based knockout was removed
|
|
326
|
+
* — applicants aged 55+ without physician details are no longer declined.
|
|
327
|
+
*/
|
|
328
|
+
hasPrimaryCarePhysician?: boolean | null;
|
|
282
329
|
/**
|
|
283
330
|
* Required when `hasPrimaryCarePhysician === true`. Must be `null` when
|
|
284
331
|
* `hasPrimaryCarePhysician === false`.
|
|
285
332
|
*/
|
|
286
333
|
physicianDetails?: IBTermPhysicianDetails | null;
|
|
287
|
-
|
|
334
|
+
/**
|
|
335
|
+
* Optional under the progressive disclosure model. IB Term uses this structured
|
|
336
|
+
* object — it is NOT a boolean `isSmoker` flag like ADB / GIGDB. When sent, all
|
|
337
|
+
* conditional sub-rules apply (see {@link IBTermTobaccoNicotineUsage}).
|
|
338
|
+
*/
|
|
339
|
+
tobaccoNicotineUsage?: IBTermTobaccoNicotineUsage | null;
|
|
288
340
|
/** Required boolean — applicant confirms none of the listed conditions apply. */
|
|
289
341
|
areListedConditionsNotApplicable: boolean;
|
|
290
|
-
|
|
342
|
+
/**
|
|
343
|
+
* Optional under the progressive disclosure model. When sent, follow the
|
|
344
|
+
* `existingCoverageData` / `willOtherCoverageBeReplacedOrFinanced` rules below.
|
|
345
|
+
*/
|
|
346
|
+
hasExistingCoverage?: boolean | null;
|
|
291
347
|
/** Required when hasExistingCoverage === true */
|
|
292
348
|
willOtherCoverageBeReplacedOrFinanced?: boolean;
|
|
293
349
|
/** Required when hasExistingCoverage === true */
|
|
@@ -295,12 +351,12 @@ export interface IBTermStartApplicationReq {
|
|
|
295
351
|
/** Required when address.state is "KS" or "WA" AND willOtherCoverageBeReplacedOrFinanced === true */
|
|
296
352
|
willOtherCoverageBeReplacedOrFinancedData?: IBTermWillOtherCoverageBeReplacedOrFinancedData;
|
|
297
353
|
/**
|
|
298
|
-
*
|
|
299
|
-
* `Person`, `Trust`, `Insured Estate`,
|
|
300
|
-
* `All Children Of The
|
|
301
|
-
* `BeneficiaryDetails` union; restriction is enforced server-side.
|
|
354
|
+
* Optional under the progressive disclosure model. IB Term restricts
|
|
355
|
+
* `beneficiaryType` to: `Person`, `Trust`, `Insured Estate`,
|
|
356
|
+
* `All Children Of The Insured Equally`, `All Children Of The Marriage Equally`.
|
|
357
|
+
* The SDK uses the shared `BeneficiaryDetails` union; restriction is enforced server-side.
|
|
302
358
|
*/
|
|
303
|
-
beneficiaryDetails
|
|
359
|
+
beneficiaryDetails?: BeneficiaryDetails | null;
|
|
304
360
|
/**
|
|
305
361
|
* Required when the Dependent Child Rider was selected on the originating
|
|
306
362
|
* quote. Setting any of the four knockout questions to `true` declines
|
package/package.json
CHANGED