hl-core 0.0.10-beta.5 → 0.0.10-beta.50

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.
Files changed (41) hide show
  1. package/README.md +0 -2
  2. package/api/base.api.ts +327 -137
  3. package/api/interceptors.ts +3 -5
  4. package/components/Dialog/Dialog.vue +5 -1
  5. package/components/Form/DigitalDocument.vue +52 -0
  6. package/components/Form/FormSource.vue +30 -0
  7. package/components/Form/ManagerAttachment.vue +60 -11
  8. package/components/Form/ProductConditionsBlock.vue +12 -6
  9. package/components/Input/Datepicker.vue +5 -0
  10. package/components/Input/FileInput.vue +1 -1
  11. package/components/Input/FormInput.vue +5 -0
  12. package/components/Input/OtpInput.vue +25 -0
  13. package/components/Input/RoundedInput.vue +2 -0
  14. package/components/Input/RoundedSelect.vue +2 -0
  15. package/components/Input/TextAreaField.vue +71 -0
  16. package/components/Menu/MenuNav.vue +1 -1
  17. package/components/Pages/Anketa.vue +207 -176
  18. package/components/Pages/ContragentForm.vue +1 -1
  19. package/components/Pages/Documents.vue +436 -64
  20. package/components/Pages/MemberForm.vue +343 -170
  21. package/components/Pages/ProductConditions.vue +895 -241
  22. package/components/Panel/PanelHandler.vue +282 -124
  23. package/components/Utilities/Chip.vue +1 -1
  24. package/components/Utilities/JsonViewer.vue +1 -2
  25. package/composables/classes.ts +121 -20
  26. package/composables/constants.ts +45 -1
  27. package/composables/index.ts +333 -8
  28. package/composables/styles.ts +8 -24
  29. package/configs/pwa.ts +1 -7
  30. package/layouts/clear.vue +1 -1
  31. package/layouts/default.vue +1 -1
  32. package/layouts/full.vue +1 -1
  33. package/locales/ru.json +82 -19
  34. package/nuxt.config.ts +10 -12
  35. package/package.json +12 -12
  36. package/plugins/head.ts +7 -1
  37. package/store/data.store.ts +867 -525
  38. package/store/member.store.ts +17 -6
  39. package/store/rules.ts +23 -3
  40. package/types/enum.ts +40 -2
  41. package/types/index.ts +110 -56
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <label v-if="chip && chip.title" class="transition-all leading-6 px-3 py-1 rounded-pill border-[1px] border-white mr-4 whitespace-nowrap" :class="[textSize, color]"
2
+ <label v-if="chip && chip.title" class="transition-all leading-6 px-3 rounded-pill border-[1px] border-white mr-4 whitespace-nowrap" :class="[textSize, color]"
3
3
  >{{ chip.title }}<v-tooltip v-if="chip.description" activator="parent" location="bottom" :max-width="maxWidth">{{ chip.description }}</v-tooltip></label
4
4
  >
5
5
  </template>
@@ -14,13 +14,12 @@
14
14
  <script lang="ts">
15
15
  import VueJsonPretty from 'vue-json-pretty';
16
16
  import 'vue-json-pretty/lib/styles.css';
17
- import { type JSONDataType } from 'vue-json-pretty/types/utils';
18
17
 
19
18
  export default defineComponent({
20
19
  components: { VueJsonPretty },
21
20
  props: {
22
21
  data: {
23
- type: Object as PropType<JSONDataType>,
22
+ type: Object as PropType<any>,
24
23
  required: false,
25
24
  },
26
25
  },
@@ -88,6 +88,7 @@ export class IDocument {
88
88
  iin?: string;
89
89
  fileTypeId?: string;
90
90
  fileTypeName?: string;
91
+ fileTypeNameRu?: string;
91
92
  fileId?: string;
92
93
  page?: number;
93
94
  fileName?: string;
@@ -96,6 +97,7 @@ export class IDocument {
96
97
  signed?: boolean | null;
97
98
  signId?: string | null;
98
99
  certificateDate?: string | null;
100
+ signedType?: number;
99
101
 
100
102
  constructor(
101
103
  id?: string,
@@ -103,6 +105,7 @@ export class IDocument {
103
105
  iin?: string,
104
106
  fileTypeId?: string,
105
107
  fileTypeName?: string,
108
+ fileTypeNameRu?: string,
106
109
  fileId?: string,
107
110
  page?: number,
108
111
  fileName?: string,
@@ -111,12 +114,14 @@ export class IDocument {
111
114
  signed?: boolean | null,
112
115
  signId?: string | null,
113
116
  certificateDate?: string | null,
117
+ signedType?: number,
114
118
  ) {
115
119
  this.id = id;
116
120
  this.processInstanceId = processInstanceId;
117
121
  this.iin = iin;
118
122
  this.fileTypeId = fileTypeId;
119
123
  this.fileTypeName = fileTypeName;
124
+ this.fileTypeNameRu = fileTypeNameRu;
120
125
  this.fileId = fileId;
121
126
  this.page = page;
122
127
  this.fileName = fileName;
@@ -125,14 +130,31 @@ export class IDocument {
125
130
  this.signed = signed;
126
131
  this.signId = signId;
127
132
  this.certificateDate = certificateDate;
133
+ this.signedType = signedType;
128
134
  }
129
135
  }
130
136
 
131
137
  export class DocumentItem extends IDocument {
132
138
  constructor(
133
- { id, processInstanceId, iin, fileTypeId, fileTypeName, fileId, page, fileName, fileTypeCode, sharedId, signed, signId, certificateDate }: IDocument = new IDocument(),
139
+ {
140
+ id,
141
+ processInstanceId,
142
+ iin,
143
+ fileTypeId,
144
+ fileTypeName,
145
+ fileTypeNameRu,
146
+ fileId,
147
+ page,
148
+ fileName,
149
+ fileTypeCode,
150
+ sharedId,
151
+ signed,
152
+ signId,
153
+ certificateDate,
154
+ signedType,
155
+ }: IDocument = new IDocument(),
134
156
  ) {
135
- super(id, processInstanceId, iin, fileTypeId, fileTypeName, fileId, page, fileName, fileTypeCode, sharedId, signed, signId, certificateDate);
157
+ super(id, processInstanceId, iin, fileTypeId, fileTypeName, fileTypeNameRu, fileId, page, fileName, fileTypeCode, sharedId, signed, signId, certificateDate, signedType);
136
158
  }
137
159
  }
138
160
 
@@ -180,13 +202,25 @@ export class User {
180
202
  roles: string[];
181
203
  id: string | null;
182
204
  fullName: string | null;
205
+ code: string;
206
+ branchCode: string;
183
207
 
184
- constructor(login: string | null = null, password: string | null = null, roles: string[] = [], id: string | null = null, fullName: string | null = null) {
208
+ constructor(
209
+ login: string | null = null,
210
+ password: string | null = null,
211
+ roles: string[] = [],
212
+ id: string | null = null,
213
+ fullName: string | null = null,
214
+ code: string = '',
215
+ branchCode: string = '',
216
+ ) {
185
217
  this.login = login;
186
218
  this.password = password;
187
219
  this.roles = roles;
188
220
  this.id = id;
189
221
  this.fullName = fullName;
222
+ this.code = code;
223
+ this.branchCode = branchCode;
190
224
  }
191
225
 
192
226
  resetUser() {
@@ -195,6 +229,8 @@ export class User {
195
229
  this.roles = [];
196
230
  this.id = null;
197
231
  this.fullName = null;
232
+ this.code = '';
233
+ this.branchCode = '';
198
234
  }
199
235
  }
200
236
 
@@ -291,10 +327,9 @@ class Person {
291
327
  getAgeByBirthDate() {
292
328
  const date = this.formatDate(this.birthDate);
293
329
  if (date) {
294
- const age = Math.abs(new Date(Date.now() - new Date(date).getTime()).getUTCFullYear() - 1970);
295
- if (new Date(date) < new Date(Date.now()) && age >= 0) {
296
- return age.toString();
297
- }
330
+ const birthDate = new Date(date);
331
+ const today = new Date();
332
+ return String(today.getFullYear() - birthDate.getFullYear() - (today < new Date(today.getFullYear(), birthDate.getMonth(), birthDate.getDate()) ? 1 : 0));
298
333
  } else {
299
334
  return null;
300
335
  }
@@ -428,7 +463,7 @@ export class Member extends Person {
428
463
  birthRegion: Value;
429
464
  documentType: Value;
430
465
  documentNumber: string | null;
431
- documentIssuers: Value;
466
+ documentIssuers: Types.Base.Document.IssuerOther;
432
467
  documentDate: string | null;
433
468
  documentExpire: string | null;
434
469
  signOfResidency: Value;
@@ -456,11 +491,12 @@ export class Member extends Person {
456
491
  parsedDocument: any;
457
492
  hasAgreement: boolean | null;
458
493
  otpTokenId: string | null;
459
- otpCode: string | null;
494
+ otpCode: string;
460
495
  documentsList: Types.ContragentDocuments[];
461
496
  isInsuredUnderage?: boolean = false;
462
497
  bankInfo: BankInfoClass;
463
498
  transferContractCompany: Value;
499
+ digitalDocument: IDocument | null;
464
500
  identityDocument: {
465
501
  documentType: Value;
466
502
  documentNumber: string | null;
@@ -587,7 +623,7 @@ export class Member extends Person {
587
623
  this.homePhone = homePhone;
588
624
  this.email = email;
589
625
  this.otpTokenId = null;
590
- this.otpCode = null;
626
+ this.otpCode = '';
591
627
  this.address = address;
592
628
  this.familyStatus = familyStatus;
593
629
  this.isTerror = isTerror;
@@ -605,6 +641,7 @@ export class Member extends Person {
605
641
  this.hasAgreement = null;
606
642
  this.bankInfo = new BankInfoClass();
607
643
  this.transferContractCompany = new Value();
644
+ this.digitalDocument = null;
608
645
  this.identityDocument = {
609
646
  documentType: new Value(),
610
647
  documentNumber: null,
@@ -772,7 +809,6 @@ export class ProductConditions {
772
809
  adbAdditive: string | number | null;
773
810
  disabilityMultiply: string | number | null;
774
811
  disabilityAdditive: string | number | null;
775
- processTariff: Value;
776
812
  riskGroup: Value;
777
813
  riskGroup2: Value;
778
814
  additionalConditionAnnuityPayments: boolean;
@@ -789,8 +825,11 @@ export class ProductConditions {
789
825
  calculatorForm: CalculatorForm;
790
826
  agentCommission: number | null;
791
827
  fixInsSum: number | string | null;
828
+ amountRefunded: number | string | null;
829
+ amountPaid: number | string | null;
792
830
  calcDate: string | null;
793
831
  contractEndDate: string | null;
832
+ currency: Value;
794
833
 
795
834
  constructor(
796
835
  insuranceCase = null,
@@ -820,7 +859,6 @@ export class ProductConditions {
820
859
  adbAdditive = null,
821
860
  disabilityMultiply = null,
822
861
  disabilityAdditive = null,
823
- processTariff = new Value(),
824
862
  riskGroup = new Value(),
825
863
  riskGroup2 = new Value(),
826
864
  additionalConditionAnnuityPayments = false,
@@ -837,8 +875,11 @@ export class ProductConditions {
837
875
  calculatorForm = new CalculatorForm(),
838
876
  agentCommission = null,
839
877
  fixInsSum = null,
878
+ amountRefunded = null,
879
+ amountPaid = null,
840
880
  calcDate = null,
841
881
  contractEndDate = null,
882
+ currency = new Value(),
842
883
  ) {
843
884
  this.requestedSumInsuredInDollar = null;
844
885
  this.insurancePremiumPerMonthInDollar = null;
@@ -872,7 +913,6 @@ export class ProductConditions {
872
913
  this.adbAdditive = adbAdditive;
873
914
  this.disabilityMultiply = disabilityMultiply;
874
915
  this.disabilityAdditive = disabilityAdditive;
875
- this.processTariff = processTariff;
876
916
  this.riskGroup = riskGroup;
877
917
  this.riskGroup2 = riskGroup2;
878
918
  this.additionalConditionAnnuityPayments = additionalConditionAnnuityPayments;
@@ -889,8 +929,11 @@ export class ProductConditions {
889
929
  this.calculatorForm = calculatorForm;
890
930
  this.agentCommission = agentCommission;
891
931
  this.fixInsSum = fixInsSum;
932
+ this.amountRefunded = amountRefunded;
933
+ this.amountPaid = amountPaid;
892
934
  this.calcDate = calcDate;
893
935
  this.contractEndDate = contractEndDate;
936
+ this.currency = currency;
894
937
  }
895
938
 
896
939
  getSingleTripDays() {
@@ -964,6 +1007,8 @@ export class DataStoreClass {
964
1007
  hasChooseSign: boolean;
965
1008
  // Выбор метода оплаты
966
1009
  hasChoosePay: boolean;
1010
+ // Блок источник
1011
+ hasSource: boolean;
967
1012
  };
968
1013
  members: {
969
1014
  clientApp: MemberSettings;
@@ -1034,7 +1079,6 @@ export class DataStoreClass {
1034
1079
  relations: Value[];
1035
1080
  banks: Value[];
1036
1081
  transferContractCompanies: Value[];
1037
- processTariff: Value[];
1038
1082
  insurancePay: Value[];
1039
1083
  questionRefs: Value[];
1040
1084
  residents: Value[];
@@ -1046,7 +1090,6 @@ export class DataStoreClass {
1046
1090
  fontSize: number;
1047
1091
  isFontChangerOpen: boolean = false;
1048
1092
  isLoading: boolean = false;
1049
- user: User;
1050
1093
  accessToken: string | null = null;
1051
1094
  refreshToken: string | null = null;
1052
1095
  processIndexRate: Value[];
@@ -1065,9 +1108,11 @@ export class DataStoreClass {
1065
1108
  SaleChanellPolicy: Value[];
1066
1109
  RegionPolicy: Value[];
1067
1110
  ManagerPolicy: Value[];
1111
+ ExecutorGPH: Value[];
1068
1112
  AgentData: Types.AgentData[];
1069
1113
  riskGroup: Value[];
1070
1114
  DicCoverTypePeriod: Value[];
1115
+ Source: Value[];
1071
1116
  currencies: {
1072
1117
  eur: number | null;
1073
1118
  usd: number | null;
@@ -1087,7 +1132,7 @@ export class DataStoreClass {
1087
1132
  workTypes: Value[];
1088
1133
  sportsTypes: Value[];
1089
1134
  purposes: Value[];
1090
-
1135
+ programType: Value[];
1091
1136
  constructor() {
1092
1137
  this.projectConfig = null;
1093
1138
  this.filters = {
@@ -1135,20 +1180,24 @@ export class DataStoreClass {
1135
1180
  hasAffiliation: true,
1136
1181
  hasChooseSign: false,
1137
1182
  hasChoosePay: false,
1183
+ hasSource: false,
1138
1184
  };
1139
1185
  this.iframeLoading = false;
1140
1186
  this.hasLayoutMargins = true;
1141
1187
  this.processIndexRate = [];
1142
1188
  this.processGfot = [];
1143
1189
  this.processPaymentPeriod = [];
1190
+ this.programType = [];
1144
1191
  this.dicAnnuityTypeList = [];
1145
1192
  this.processAnnuityPaymentPeriod = [];
1146
1193
  this.questionRefs = [];
1147
1194
  this.SaleChanellPolicy = [];
1148
1195
  this.RegionPolicy = [];
1149
1196
  this.ManagerPolicy = [];
1197
+ this.ExecutorGPH = [];
1150
1198
  this.AgentData = [];
1151
1199
  this.DicCoverTypePeriod = [];
1200
+ this.Source = [];
1152
1201
  this.product = import.meta.env.VITE_PRODUCT ? (import.meta.env.VITE_PRODUCT as Types.Projects) : null;
1153
1202
  this.parentProduct = import.meta.env.VITE_PARENT_PRODUCT ? import.meta.env.VITE_PARENT_PRODUCT : 'efo';
1154
1203
  this.showNav = true;
@@ -1217,7 +1266,6 @@ export class DataStoreClass {
1217
1266
  this.familyStatuses = [];
1218
1267
  this.disabilityGroups = [];
1219
1268
  this.relations = [];
1220
- this.processTariff = [];
1221
1269
  this.banks = [];
1222
1270
  this.transferContractCompanies = [];
1223
1271
  this.insurancePay = [];
@@ -1230,7 +1278,6 @@ export class DataStoreClass {
1230
1278
  this.fontSize = 14;
1231
1279
  this.isFontChangerOpen = false;
1232
1280
  this.isLoading = false;
1233
- this.user = new User();
1234
1281
  this.accessToken = null;
1235
1282
  this.refreshToken = null;
1236
1283
  this.taskList = [];
@@ -1312,6 +1359,8 @@ export class FormStoreClass {
1312
1359
  clientId: string | null;
1313
1360
  insuredFile: any;
1314
1361
  isPanelInside: boolean;
1362
+ typeChange: string;
1363
+ add: boolean;
1315
1364
  };
1316
1365
  additionalInsuranceTerms: Types.AddCover[];
1317
1366
  additionalInsuranceTermsWithout: Types.AddCover[];
@@ -1330,6 +1379,7 @@ export class FormStoreClass {
1330
1379
  date: string | null;
1331
1380
  };
1332
1381
  signedDocumentList: IDocument[];
1382
+ signatories: any[];
1333
1383
  surveyByHealthBase: Types.AnketaFirst | null;
1334
1384
  surveyByHealthBasePolicyholder: Types.AnketaFirst | null;
1335
1385
  surveyByCriticalBase: Types.AnketaFirst | null;
@@ -1345,11 +1395,14 @@ export class FormStoreClass {
1345
1395
  AgentData: Types.AgentData;
1346
1396
  RegionPolicy: Value;
1347
1397
  ManagerPolicy: Value;
1398
+ ExecutorGPH: Value;
1399
+ Source: Value;
1348
1400
  isDisabled: {
1349
1401
  policyholderForm: boolean;
1350
1402
  beneficiaryForm: boolean;
1351
1403
  beneficialOwnerForm: boolean;
1352
1404
  insuredForm: boolean;
1405
+ slaveInsuredForm: boolean;
1353
1406
  policyholdersRepresentativeForm: boolean;
1354
1407
  productConditionsForm: boolean;
1355
1408
  calculatorForm: boolean;
@@ -1382,8 +1435,11 @@ export class FormStoreClass {
1382
1435
  isTask?: boolean | null;
1383
1436
  createDate?: string | null;
1384
1437
  policyAppDto?: Types.PolicyAppDto;
1438
+ parentPolicyDto?: Types.ParentPolicyDto | null;
1385
1439
  insisWorkDataApp?: Types.InsisWorkDataApp;
1386
1440
  addCoverDto?: Types.AddCover[];
1441
+ slave?: any;
1442
+ insuredCount?: number;
1387
1443
  };
1388
1444
  policyholderForm: Member;
1389
1445
  policyholderFormKey: StoreMembers.policyholderForm;
@@ -1396,15 +1452,18 @@ export class FormStoreClass {
1396
1452
  beneficialOwnerFormIndex: number;
1397
1453
  beneficialOwnerFormKey: StoreMembers.beneficialOwnerForm;
1398
1454
  insuredForm: Member[];
1455
+ slaveInsuredForm: Member;
1399
1456
  insuredFormKey: StoreMembers.insuredForm;
1400
1457
  insuredFormIndex: number;
1401
1458
  productConditionsForm: ProductConditions;
1402
1459
  productConditionsFormKey: string;
1460
+ pensionApp: any;
1403
1461
  questionnaireByHealth: any;
1404
1462
  questionnaireByCritical: any[];
1405
1463
  canBeClaimed: boolean | null;
1406
1464
  applicationTaskId: string | null;
1407
-
1465
+ requiredDocuments: RequiredDocument[];
1466
+ isNeedToRecalculate: boolean;
1408
1467
  constructor() {
1409
1468
  this.regNumber = null;
1410
1469
  this.policyNumber = null;
@@ -1425,6 +1484,8 @@ export class FormStoreClass {
1425
1484
  clientId: null,
1426
1485
  insuredFile: null,
1427
1486
  isPanelInside: false,
1487
+ typeChange: 'calculation',
1488
+ add: false,
1428
1489
  };
1429
1490
  this.additionalInsuranceTerms = [];
1430
1491
  this.additionalInsuranceTermsWithout = [];
@@ -1443,6 +1504,7 @@ export class FormStoreClass {
1443
1504
  date: null,
1444
1505
  };
1445
1506
  this.signedDocumentList = [];
1507
+ this.signatories = [];
1446
1508
  this.surveyByHealthBase = null;
1447
1509
  this.surveyByHealthBasePolicyholder = null;
1448
1510
  this.surveyByCriticalBase = null;
@@ -1466,11 +1528,14 @@ export class FormStoreClass {
1466
1528
  };
1467
1529
  this.RegionPolicy = new Value();
1468
1530
  this.ManagerPolicy = new Value();
1531
+ this.ExecutorGPH = new Value();
1532
+ this.Source = new Value();
1469
1533
  this.isDisabled = {
1470
1534
  policyholderForm: true,
1471
1535
  beneficiaryForm: true,
1472
1536
  beneficialOwnerForm: true,
1473
1537
  insuredForm: true,
1538
+ slaveInsuredForm: true,
1474
1539
  policyholdersRepresentativeForm: true,
1475
1540
  productConditionsForm: true,
1476
1541
  calculatorForm: true,
@@ -1499,6 +1564,7 @@ export class FormStoreClass {
1499
1564
  this.beneficialOwnerFormIndex = 0;
1500
1565
  this.beneficialOwnerFormKey = StoreMembers.beneficialOwnerForm;
1501
1566
  this.insuredForm = [new Member()];
1567
+ this.slaveInsuredForm = new Member();
1502
1568
  this.insuredFormKey = StoreMembers.insuredForm;
1503
1569
  this.insuredFormIndex = 0;
1504
1570
  this.productConditionsForm = new ProductConditions();
@@ -1507,12 +1573,15 @@ export class FormStoreClass {
1507
1573
  this.questionnaireByCritical = [];
1508
1574
  this.canBeClaimed = null;
1509
1575
  this.applicationTaskId = null;
1576
+ this.requiredDocuments = [];
1577
+ this.isNeedToRecalculate = false;
1510
1578
  }
1511
1579
  }
1512
1580
 
1513
1581
  export class Address {
1514
1582
  country: Value;
1515
1583
  region: Value;
1584
+ state: Value;
1516
1585
  regionType: Value;
1517
1586
  city: Value;
1518
1587
  square: string | null;
@@ -1526,6 +1595,7 @@ export class Address {
1526
1595
  constructor() {
1527
1596
  this.country = new Value();
1528
1597
  this.region = new Value();
1598
+ this.state = new Value();
1529
1599
  this.regionType = new Value();
1530
1600
  this.city = new Value();
1531
1601
  this.square = null;
@@ -1645,7 +1715,7 @@ export class PhysGroupClass extends BaseGroupClass {
1645
1715
 
1646
1716
  export class GroupMember extends PhysGroupClass {
1647
1717
  isLeader: boolean;
1648
-
1718
+ organizationStartDate: string;
1649
1719
  typeOfEconomicActivity: Value;
1650
1720
  activityTypes: { activityTypeName: string; empoloyeeCount: number }[];
1651
1721
  beneficalOwnerQuest: { order: number; text: string; answer: boolean | null }[];
@@ -1656,6 +1726,7 @@ export class GroupMember extends PhysGroupClass {
1656
1726
  super();
1657
1727
  // Client
1658
1728
  this.isLeader = false;
1729
+ this.organizationStartDate = '';
1659
1730
  this.typeOfEconomicActivity = new Value();
1660
1731
  this.activityTypes = [];
1661
1732
  this.beneficalOwnerQuest = [
@@ -1735,3 +1806,33 @@ export class BeneficialOwner {
1735
1806
  this.id = '';
1736
1807
  }
1737
1808
  }
1809
+
1810
+ export class TransferContract {
1811
+ id: string | null;
1812
+ transferContractIsOppv: boolean;
1813
+ transferContractFirstPaymentDate: string;
1814
+ transferContractAmount: number | string;
1815
+ transferContractDate: string;
1816
+ transferContractNumber: string;
1817
+ transferContractRegNumber: string;
1818
+ transferContract: boolean;
1819
+ transferContractCompany: Value;
1820
+ transferContractMonthCount: number | null;
1821
+
1822
+ constructor() {
1823
+ this.id = null;
1824
+ this.transferContractIsOppv = false;
1825
+ this.transferContractFirstPaymentDate = '';
1826
+ this.transferContractAmount = 0;
1827
+ this.transferContractDate = '';
1828
+ this.transferContractNumber = '';
1829
+ this.transferContract = false;
1830
+ this.transferContractRegNumber = '';
1831
+ this.transferContractCompany = new Value();
1832
+ this.transferContractMonthCount = null;
1833
+ }
1834
+ }
1835
+
1836
+ export class RequiredDocument extends Value {
1837
+ iin: string = '';
1838
+ }
@@ -18,12 +18,20 @@ export const constants = Object.freeze({
18
18
  gns: 16,
19
19
  prepensionannuity: 18,
20
20
  pensionannuitynew: 19,
21
+ halykkazynaap: 20,
22
+ balam: 21,
23
+ halykkazynaapsms: 23,
24
+ pensionannuityrefundnew: 24,
25
+ pensionannuityjointnew: 25,
26
+ gonsadd: 26,
27
+ tumar: 27,
28
+ criticalillness: 29,
21
29
  },
22
30
  amlProducts: {
23
31
  checkcontragent: 1,
24
32
  checkcontract: 2,
25
33
  },
26
- extractedProducts: ['dso', 'uu'],
34
+ extractedProducts: ['dso', 'uu', 'lka'],
27
35
  editableStatuses: [Statuses.StartForm, Statuses.EditBeneficiaryForm, Statuses.EditForm, Statuses.InputDataForm],
28
36
  documentsLinkVisibleStatuses: [
29
37
  Statuses.Completed,
@@ -36,6 +44,7 @@ export const constants = Object.freeze({
36
44
  returnStatementStatuses: [
37
45
  Statuses.ApproveForm,
38
46
  Statuses.ActuaryForm,
47
+ Statuses.JuristForm,
39
48
  Statuses.DsoUsnsForm,
40
49
  Statuses.AccountantForm,
41
50
  Statuses.UnderwriterForm,
@@ -74,6 +83,20 @@ export const constants = Object.freeze({
74
83
  kzt: '₸',
75
84
  usd: '$',
76
85
  },
86
+ pensionAge: {
87
+ man: 68,
88
+ woman: 68,
89
+ },
90
+ genderByIIN: {
91
+ '0': 'Ж',
92
+ '3': 'М',
93
+ '4': 'Ж',
94
+ '5': 'М',
95
+ '6': 'Ж',
96
+ '7': 'М',
97
+ '8': 'Ж',
98
+ '9': 'М',
99
+ },
77
100
  documentTypes: {
78
101
  statement: 5,
79
102
  contract: 6,
@@ -87,6 +110,11 @@ export const constants = Object.freeze({
87
110
  questionnaireInsured: 35,
88
111
  invoicePayment: 36,
89
112
  },
113
+ fileTypes: {
114
+ pdf: 'application/pdf',
115
+ docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
116
+ doc: 'application/msword',
117
+ },
90
118
  regex: {
91
119
  isoDate: /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)((-(\d{2}):(\d{2})|Z)?)$/,
92
120
  },
@@ -162,4 +190,20 @@ export const constants = Object.freeze({
162
190
  ids: '',
163
191
  },
164
192
  ],
193
+ currencyList: [
194
+ {
195
+ code: 'KZT',
196
+ id: '1',
197
+ nameKz: 'Тенге',
198
+ nameRu: 'Тенге',
199
+ ids: '',
200
+ },
201
+ {
202
+ code: 'USD',
203
+ id: '2',
204
+ nameKz: 'С индексацией на курс USD',
205
+ nameRu: 'С индексацией на курс USD',
206
+ ids: '',
207
+ },
208
+ ],
165
209
  });