hl-core 0.0.9-beta.24 → 0.0.9-beta.26

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.
@@ -995,6 +995,7 @@ export class DataStoreClass {
995
995
  ManagerPolicy: Value[];
996
996
  AgentData: AgentData[];
997
997
  riskGroup: Value[];
998
+ DicCoverTypePeriod: Value[];
998
999
  currencies: {
999
1000
  eur: number | null;
1000
1001
  usd: number | null;
@@ -1071,6 +1072,7 @@ export class DataStoreClass {
1071
1072
  this.RegionPolicy = [];
1072
1073
  this.ManagerPolicy = [];
1073
1074
  this.AgentData = [];
1075
+ this.DicCoverTypePeriod = [];
1074
1076
  this.product = import.meta.env.VITE_PRODUCT ? (import.meta.env.VITE_PRODUCT as Projects) : null;
1075
1077
  this.showNav = true;
1076
1078
  this.menuItems = [];
@@ -1203,14 +1205,17 @@ export class FormStoreClass {
1203
1205
  isUploadedSignedContract: boolean;
1204
1206
  signedContractFormData: any;
1205
1207
  lfb: {
1206
- insurers: ClientV2[];
1208
+ clients: ClientV2[];
1207
1209
  fixInsAmount: Value[];
1208
- policyholder: PolicyholderV2;
1209
- toggleAccidents: boolean;
1210
+ policyholder: MemberV2;
1211
+ hasAccidentIncidents: boolean;
1212
+ accidentIncidents: AccidentIncidents[];
1210
1213
  policyholderActivities: PolicyholderActivity[];
1211
1214
  beneficialOwners: BeneficialOwner[];
1212
1215
  beneficialOwnersIndex: number;
1213
1216
  isPolicyholderBeneficialOwner: boolean;
1217
+ clientId: string | null;
1218
+ policyholderFile: any;
1214
1219
  };
1215
1220
  additionalInsuranceTerms: AddCover[];
1216
1221
  additionalInsuranceTermsWithout: AddCover[];
@@ -1258,6 +1263,8 @@ export class FormStoreClass {
1258
1263
  surveyByHealthBasePolicyholder: boolean;
1259
1264
  surveyByCriticalBasePolicyholder: boolean;
1260
1265
  insuranceDocument: boolean;
1266
+ policyholderActivitiesForm: boolean;
1267
+ accidentStatisticsForm: boolean;
1261
1268
  };
1262
1269
  isPolicyholderInsured: boolean = false;
1263
1270
  isPolicyholderBeneficiary: boolean = false;
@@ -1305,14 +1312,17 @@ export class FormStoreClass {
1305
1312
  this.needToScanSignedContract = false;
1306
1313
  this.signedContractFormData = null;
1307
1314
  this.lfb = {
1308
- insurers: [],
1315
+ clients: [],
1309
1316
  fixInsAmount: [],
1310
- policyholder: new PolicyholderV2(),
1311
- toggleAccidents: false,
1317
+ policyholder: new MemberV2(),
1318
+ hasAccidentIncidents: true,
1312
1319
  policyholderActivities: [new PolicyholderActivity()],
1313
1320
  beneficialOwners: [new BeneficialOwner()],
1314
1321
  beneficialOwnersIndex: 0,
1315
1322
  isPolicyholderBeneficialOwner: false,
1323
+ accidentIncidents: [],
1324
+ clientId: null,
1325
+ policyholderFile: null,
1316
1326
  };
1317
1327
  this.additionalInsuranceTerms = [];
1318
1328
  this.additionalInsuranceTermsWithout = [];
@@ -1368,6 +1378,8 @@ export class FormStoreClass {
1368
1378
  surveyByHealthBasePolicyholder: true,
1369
1379
  surveyByCriticalBasePolicyholder: true,
1370
1380
  insuranceDocument: true,
1381
+ policyholderActivitiesForm: true,
1382
+ accidentStatisticsForm: true,
1371
1383
  };
1372
1384
  this.isPolicyholderInsured = false;
1373
1385
  this.isPolicyholderBeneficiary = false;
@@ -1396,138 +1408,238 @@ export class FormStoreClass {
1396
1408
  }
1397
1409
  }
1398
1410
 
1399
- export class PolicyholderV2 {
1400
- placeholderGrounds: string | null;
1401
- documentNumber: string | null;
1402
- date: string | null;
1403
- document: any;
1404
- phoneNumber: string | null;
1405
- iin: string | null;
1406
- lastName: string | null;
1407
- firstName: string | null;
1408
- middleName: string | null;
1409
- countryOfCitizenship: Value;
1410
- namePosition: string | null;
1411
- email: string | null;
1412
- involvementForeignOfficial: boolean;
1413
- bin: string | null;
1414
- fullOrganizationName: string | null;
1415
- iik: string | null;
1416
- nameBank: Value;
1417
- bik: string | null;
1418
- kbe: string | null;
1419
- signOfResidency: Value;
1420
- countryOfTaxResidency: Value;
1421
- economySectorCode: Value;
1422
- typeEconomicActivity: string | null;
1423
- legalAddress: Address;
1411
+ export class MemberV2 {
1412
+ personalData: {
1413
+ iin: string | null;
1414
+ phone: string | null;
1415
+ email: string | null;
1416
+ firstName: string | null;
1417
+ middleName: string | null;
1418
+ lastName: string | null;
1419
+ birthDate: string | null;
1420
+ citizenship: Value;
1421
+ birthPlace: string | null;
1422
+ resident: Value;
1423
+ taxResidentCountry: Value;
1424
+ showTaxResidentCountry: string | null;
1425
+ };
1426
+ identityCard: {
1427
+ documentType: Value;
1428
+ documentNumber: string | null;
1429
+ series: string | null;
1430
+ documentIssuer: Value;
1431
+ validity: string | null;
1432
+ };
1433
+ bankDetails: {
1434
+ bin: string | null;
1435
+ bankName: Value;
1436
+ iik: string | null;
1437
+ bik: string | null;
1438
+ kbe: string | null;
1439
+ };
1424
1440
  actualAddress: Address;
1425
- sameAddress: boolean;
1426
-
1441
+ juridicalAddressCompany: Address;
1442
+ clientPower: {
1443
+ documentBasisOn: string | null;
1444
+ documentBasisOnKz: string | null;
1445
+ docNumber: string | null;
1446
+ date: string | null;
1447
+ };
1448
+ position: string | null;
1449
+ organizationData: {
1450
+ organizationName: string | null;
1451
+ economySectorCode: Value;
1452
+ typeOfEconomicActivity: string | null;
1453
+ };
1454
+ jurAddressIsActualAddress: boolean;
1455
+ quests: {
1456
+ order: number;
1457
+ text: string | null;
1458
+ answer: boolean | null;
1459
+ }[];
1460
+ isLeader: boolean;
1461
+ // insuredPolicyData: {
1462
+ // insSum: 0;
1463
+ // insSumWithLoad: 0;
1464
+ // premium: 0;
1465
+ // premiumWithLoad: 0;
1466
+ // insuredRisk: {
1467
+ // lifeMultiply: 0;
1468
+ // lifeAdditive: 0;
1469
+ // disabilityMultiply: 0;
1470
+ // disabilityAdditive: 0;
1471
+ // traumaTableMultiple: 0;
1472
+ // accidentalLifeMultiply: 0;
1473
+ // accidentalLifeAdditive: 0;
1474
+ // criticalMultiply: 0;
1475
+ // criticalAdditive: 0;
1476
+ // };
1477
+ // insuredCoverData: {
1478
+ // coverTypeEnum: 1;
1479
+ // premium: 0;
1480
+ // }[];
1481
+ // };
1427
1482
  constructor() {
1428
- this.placeholderGrounds = null;
1429
- this.documentNumber = null;
1430
- this.date = null;
1431
- this.document = null;
1432
- this.phoneNumber = null;
1433
- this.iin = null;
1434
- this.lastName = null;
1435
- this.firstName = null;
1436
- this.middleName = null;
1437
- this.countryOfCitizenship = new Value();
1438
- this.namePosition = null;
1439
- this.email = null;
1440
- this.involvementForeignOfficial = false;
1441
- this.bin = null;
1442
- this.fullOrganizationName = null;
1443
- this.iik = null;
1444
- this.nameBank = new Value();
1445
- this.bik = null;
1446
- this.kbe = null;
1447
- this.signOfResidency = new Value();
1448
- this.countryOfTaxResidency = new Value();
1449
- this.economySectorCode = new Value();
1450
- this.typeEconomicActivity = null;
1451
- this.legalAddress = new Address();
1483
+ this.personalData = {
1484
+ iin: null,
1485
+ phone: null,
1486
+ email: null,
1487
+ firstName: null,
1488
+ middleName: null,
1489
+ lastName: null,
1490
+ birthDate: null,
1491
+ citizenship: new Value(),
1492
+ birthPlace: null,
1493
+ resident: new Value(),
1494
+ taxResidentCountry: new Value(),
1495
+ showTaxResidentCountry: null,
1496
+ };
1497
+ this.identityCard = {
1498
+ documentType: new Value(),
1499
+ documentNumber: null,
1500
+ series: null,
1501
+ documentIssuer: new Value(),
1502
+ validity: null,
1503
+ };
1504
+ this.bankDetails = {
1505
+ bin: null,
1506
+ bankName: new Value(),
1507
+ iik: null,
1508
+ bik: null,
1509
+ kbe: null,
1510
+ };
1452
1511
  this.actualAddress = new Address();
1453
- this.sameAddress = true;
1512
+ this.juridicalAddressCompany = new Address();
1513
+ this.clientPower = {
1514
+ documentBasisOn: null,
1515
+ documentBasisOnKz: null,
1516
+ docNumber: null,
1517
+ date: null,
1518
+ };
1519
+ this.position = null;
1520
+ this.organizationData = {
1521
+ organizationName: null,
1522
+ economySectorCode: new Value(),
1523
+ typeOfEconomicActivity: null,
1524
+ };
1525
+ this.jurAddressIsActualAddress = true;
1526
+ this.quests = [
1527
+ {
1528
+ order: 0,
1529
+ text: 'Отметка о наличии/отсутствии физического лица (лиц), которому прямо или косвенно принадлежат более 25 % долей участия в уставном капитале либо размещенных (за вычетом привилегированных и выкупленных обществом) акций юридического лица',
1530
+ answer: null,
1531
+ },
1532
+ {
1533
+ order: 1,
1534
+ text: 'Отметка о наличии/отсутствии физического лица (лиц), осуществляющего контроль над юридическим лицом по иным основаниям',
1535
+ answer: null,
1536
+ },
1537
+ {
1538
+ order: 2,
1539
+ text: 'Отметка о наличии/отсутствии физического лица (лиц) в интересах которого юридическим лицом устанавливаются деловые отношения (совершаются операции)',
1540
+ answer: null,
1541
+ },
1542
+ ];
1543
+ this.isLeader = true;
1544
+ // this.insuredPolicyData = {
1545
+ // insSum: 0,
1546
+ // insSumWithLoad: 0,
1547
+ // premium: 0,
1548
+ // premiumWithLoad: 0,
1549
+ // insuredRisk: {
1550
+ // lifeMultiply: 0,
1551
+ // lifeAdditive: 0,
1552
+ // disabilityMultiply: 0,
1553
+ // disabilityAdditive: 0,
1554
+ // traumaTableMultiple: 0,
1555
+ // accidentalLifeMultiply: 0,
1556
+ // accidentalLifeAdditive: 0,
1557
+ // criticalMultiply: 0,
1558
+ // criticalAdditive: 0,
1559
+ // },
1560
+ // insuredCoverData: [
1561
+ // {
1562
+ // coverTypeEnum: 1,
1563
+ // premium: 0,
1564
+ // },
1565
+ // ],
1566
+ // };
1454
1567
  }
1455
1568
  }
1456
1569
 
1457
1570
  export class Address {
1458
- registrationCountry: Value;
1459
- registrationProvince: Value;
1460
- registrationRegionType: Value;
1461
- registrationCity: Value;
1462
- registrationQuarter: string | null;
1463
- registrationMicroDistrict: string | null;
1464
- registrationStreet: string | null;
1465
- registrationNumberHouse: string | null;
1571
+ country: Value;
1572
+ region: Value;
1573
+ regionType: Value;
1574
+ city: Value;
1575
+ square: string | null;
1576
+ microdistrict: string | null;
1577
+ street: string | null;
1578
+ houseNumber: string | null;
1579
+ kato: string | null;
1466
1580
  constructor() {
1467
- this.registrationCountry = new Value();
1468
- this.registrationProvince = new Value();
1469
- this.registrationRegionType = new Value();
1470
- this.registrationCity = new Value();
1471
- this.registrationQuarter = null;
1472
- this.registrationMicroDistrict = null;
1473
- this.registrationStreet = null;
1474
- this.registrationNumberHouse = null;
1581
+ this.country = new Value();
1582
+ this.region = new Value();
1583
+ this.regionType = new Value();
1584
+ this.city = new Value();
1585
+ this.square = null;
1586
+ this.microdistrict = null;
1587
+ this.street = null;
1588
+ this.houseNumber = null;
1589
+ this.kato = null;
1475
1590
  }
1476
1591
  }
1477
1592
 
1478
1593
  export class PolicyholderActivity {
1479
- typeActivity: string | null;
1480
- numberEmp: string | null;
1594
+ activityTypeName: string | null;
1595
+ empoloyeeCount: string | null;
1481
1596
  constructor() {
1482
- this.typeActivity = null;
1483
- this.numberEmp = null;
1597
+ this.activityTypeName = null;
1598
+ this.empoloyeeCount = null;
1484
1599
  }
1485
1600
  }
1486
1601
 
1487
1602
  export class BeneficialOwner {
1488
- informationBO: { id: number; name: string; value: string }[];
1489
- isFirstManager: boolean;
1603
+ id: string | null;
1604
+ processInstanceId: string | number;
1605
+ insisId: number;
1490
1606
  iin: string | null;
1607
+ longName: string | null;
1608
+ isIpdl: boolean;
1609
+ isTerror: boolean;
1610
+ isIpdlCompliance: boolean;
1611
+ isTerrorCompliance: boolean;
1612
+ personType: number;
1491
1613
  lastName: string | null;
1492
1614
  firstName: string | null;
1493
1615
  middleName: string | null;
1494
- citizenship: Value;
1495
- isPublicForeignOfficial: boolean;
1496
- documentType: Value;
1497
- documentNumber: string | null;
1498
- series: string | null;
1499
- documentIssuers: Value;
1500
- documentExpire: string | null;
1501
-
1616
+ countryId: string | null;
1617
+ countryName: string | null;
1618
+ residentId: string | null;
1619
+ residentName: string | null;
1620
+ taxResidentId: string | null;
1621
+ taxResidentName: string | null;
1622
+ beneficialOwnerData: MemberV2;
1502
1623
  constructor() {
1503
- this.informationBO = [
1504
- {
1505
- id: 1,
1506
- name: 'Отметка о наличии/отсутствии физического лица (лиц), которому прямо или косвенно принадлежат более 25 % долей участия в уставном капитале либо размещенных (за вычетом привилегированных и выкупленных обществом) акций юридического лица',
1507
- value: '',
1508
- },
1509
- {
1510
- id: 2,
1511
- name: 'Отметка о наличии/отсутствии физического лица (лиц), осуществляющего контроль над юридическим лицом по иным основаниям',
1512
- value: '',
1513
- },
1514
- {
1515
- id: 3,
1516
- name: 'Отметка о наличии/отсутствии физического лица (лиц) в интересах которого юридическим лицом устанавливаются деловые отношения (совершаются операции)',
1517
- value: '',
1518
- },
1519
- ];
1520
- this.isFirstManager = false;
1624
+ this.id = null;
1625
+ this.processInstanceId = 0;
1626
+ this.insisId = 0;
1521
1627
  this.iin = null;
1628
+ this.longName = null;
1629
+ this.isIpdl = true;
1630
+ this.isTerror = true;
1631
+ this.isIpdlCompliance = true;
1632
+ this.isTerrorCompliance = true;
1633
+ this.personType = 0;
1522
1634
  this.lastName = null;
1523
1635
  this.firstName = null;
1524
1636
  this.middleName = null;
1525
- this.citizenship = new Value();
1526
- this.isPublicForeignOfficial = false;
1527
- this.documentType = new Value();
1528
- this.documentNumber = null;
1529
- this.series = null;
1530
- this.documentIssuers = new Value();
1531
- this.documentExpire = null;
1637
+ this.countryId = null;
1638
+ this.countryName = null;
1639
+ this.residentId = null;
1640
+ this.residentName = null;
1641
+ this.taxResidentId = null;
1642
+ this.taxResidentName = null;
1643
+ this.beneficialOwnerData = new MemberV2();
1532
1644
  }
1533
1645
  }
@@ -70,6 +70,7 @@ export class Styles {
70
70
  redBtn: string;
71
71
  yellowBtn: string;
72
72
  whiteBtn: string;
73
+ whiteBorderBtn: string;
73
74
  whiteBtnBlueBr: string;
74
75
  blueLightBtn: string;
75
76
  greenLightBtn: string;
@@ -92,6 +93,7 @@ export class Styles {
92
93
  this.blueBtn = `${this.blueBg} ${this.whiteText} ${this.textTitle} ${this.rounded} w-full ${this.blueBgHover}`;
93
94
  this.whiteBtnBlueBr = `${this.whiteBg} ${this.blueText} ${this.textTitle} ${this.rounded} w-full ${this.blueBgLightHover} ${this.blueBorder}`;
94
95
  this.whiteBtn = ` ${this.blackText} ${this.textTitle} ${this.rounded} w-full ${this.blueLightBgHover}`;
96
+ this.whiteBorderBtn = ` ${this.blackText} ${this.textTitle} ${this.rounded} w-full ${this.blueLightBgHover} border-[#A0B3D8] border-[1px]`;
95
97
  this.blueLightBtn = `${this.blueBgLight} ${this.greyTextLight} ${this.textTitle} ${this.rounded} w-full ${this.blueBgLightHover}`;
96
98
  this.greenLightBtn = `${this.greenBgLight} ${this.greenText} ${this.textTitle} ${this.rounded} w-full ${this.greenBgLightHover}`;
97
99