hl-core 0.0.9-beta.8 → 0.0.10-beta.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/api/base.api.ts +1109 -0
- package/api/index.ts +2 -620
- package/api/interceptors.ts +38 -1
- package/components/Button/Btn.vue +1 -6
- package/components/Complex/MessageBlock.vue +1 -1
- package/components/Complex/Page.vue +1 -1
- package/components/Complex/TextBlock.vue +23 -0
- package/components/Dialog/Dialog.vue +70 -16
- package/components/Dialog/FamilyDialog.vue +1 -1
- package/components/Form/DynamicForm.vue +100 -0
- package/components/Form/FormBlock.vue +12 -3
- package/components/Form/FormData.vue +110 -0
- package/components/Form/FormSection.vue +3 -3
- package/components/Form/FormTextSection.vue +11 -3
- package/components/Form/FormToggle.vue +25 -5
- package/components/Form/ManagerAttachment.vue +177 -89
- package/components/Form/ProductConditionsBlock.vue +59 -6
- package/components/Input/Datepicker.vue +43 -7
- package/components/Input/DynamicInput.vue +23 -0
- package/components/Input/FileInput.vue +25 -5
- package/components/Input/FormInput.vue +7 -4
- package/components/Input/Monthpicker.vue +34 -0
- package/components/Input/PanelInput.vue +5 -1
- package/components/Input/RoundedSelect.vue +7 -2
- package/components/Input/SwitchInput.vue +64 -0
- package/components/Input/TextInput.vue +160 -0
- package/components/Layout/Drawer.vue +17 -4
- package/components/Layout/Header.vue +23 -2
- package/components/Layout/Loader.vue +2 -1
- package/components/Layout/SettingsPanel.vue +24 -11
- package/components/Menu/InfoMenu.vue +35 -0
- package/components/Menu/MenuNav.vue +25 -3
- package/components/Pages/Anketa.vue +254 -65
- package/components/Pages/Auth.vue +56 -9
- package/components/Pages/ContragentForm.vue +9 -9
- package/components/Pages/Documents.vue +266 -30
- package/components/Pages/InvoiceInfo.vue +1 -1
- package/components/Pages/MemberForm.vue +774 -102
- package/components/Pages/ProductAgreement.vue +1 -8
- package/components/Pages/ProductConditions.vue +1132 -180
- package/components/Panel/PanelHandler.vue +632 -50
- package/components/Panel/PanelSelectItem.vue +17 -2
- package/components/Panel/RightPanelCloser.vue +7 -0
- package/components/Transitions/Animation.vue +28 -0
- package/components/Utilities/JsonViewer.vue +3 -2
- package/components/Utilities/Qr.vue +44 -0
- package/composables/axios.ts +1 -0
- package/composables/classes.ts +501 -14
- package/composables/constants.ts +126 -6
- package/composables/fields.ts +328 -0
- package/composables/index.ts +355 -20
- package/composables/styles.ts +23 -6
- package/configs/pwa.ts +63 -0
- package/layouts/clear.vue +21 -0
- package/layouts/default.vue +62 -3
- package/layouts/full.vue +21 -0
- package/locales/ru.json +559 -16
- package/nuxt.config.ts +11 -15
- package/package.json +36 -39
- package/pages/Token.vue +0 -13
- package/plugins/head.ts +26 -0
- package/plugins/vuetifyPlugin.ts +1 -5
- package/store/data.store.ts +1610 -321
- package/store/extractStore.ts +17 -0
- package/store/form.store.ts +13 -1
- package/store/member.store.ts +1 -1
- package/store/rules.ts +97 -3
- package/store/toast.ts +1 -1
- package/types/enum.ts +81 -0
- package/types/env.d.ts +2 -0
- package/types/form.ts +94 -0
- package/types/index.ts +419 -24
package/types/index.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Value } from '../composables/classes';
|
|
2
|
+
import type { RouteLocationNormalizedLoaded, RouteLocationNormalized } from 'vue-router';
|
|
3
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
4
|
+
import { Methods, Enums } from './enum';
|
|
2
5
|
|
|
3
6
|
export {};
|
|
4
7
|
|
|
5
8
|
declare global {
|
|
6
|
-
type EnvModes = 'development' | 'test' | '
|
|
9
|
+
type EnvModes = 'development' | 'test' | 'production';
|
|
7
10
|
type Projects =
|
|
8
11
|
| 'aml'
|
|
9
12
|
| 'baiterek'
|
|
@@ -18,12 +21,21 @@ declare global {
|
|
|
18
21
|
| 'lka'
|
|
19
22
|
| 'mycar'
|
|
20
23
|
| 'checkcontract'
|
|
21
|
-
| 'checkcontragent'
|
|
24
|
+
| 'checkcontragent'
|
|
25
|
+
| 'daskamkorlyk'
|
|
26
|
+
| 'amuletlife'
|
|
27
|
+
| 'gns'
|
|
28
|
+
| 'pensionannuitynew'
|
|
29
|
+
| 'dso'
|
|
30
|
+
| 'uu'
|
|
31
|
+
| 'auletti'
|
|
32
|
+
| 'lka-auletti'
|
|
33
|
+
| 'prepensionannuity';
|
|
22
34
|
type MemberKeys = keyof ReturnType<typeof useFormStore>;
|
|
23
35
|
type MemberFormTypes = 'policyholderForm' | 'insuredForm' | 'beneficiaryForm' | 'beneficialOwnerForm' | 'policyholdersRepresentativeForm' | 'productConditionsForm';
|
|
24
36
|
type SingleMember = 'policyholderForm' | 'policyholdersRepresentativeForm';
|
|
25
37
|
type MultipleMember = 'insuredForm' | 'beneficiaryForm' | 'beneficialOwnerForm';
|
|
26
|
-
type PanelTypes = 'settings' | 'panel';
|
|
38
|
+
type PanelTypes = 'settings' | 'panel' | 'rightPanel';
|
|
27
39
|
type FileActions = 'view' | 'download';
|
|
28
40
|
type RouteType = RouteLocationNormalizedLoaded | RouteLocationNormalized;
|
|
29
41
|
type InputVariants = 'solo' | 'filled' | 'outlined' | 'plain' | 'underlined';
|
|
@@ -50,6 +62,19 @@ declare global {
|
|
|
50
62
|
| 'time'
|
|
51
63
|
| 'url'
|
|
52
64
|
| 'week';
|
|
65
|
+
|
|
66
|
+
type NestedKeyOf<ObjectType extends object> = {
|
|
67
|
+
[Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object ? `${Key}` | `${Key}.${NestedKeyOf<ObjectType[Key]>}` : Key;
|
|
68
|
+
}[keyof ObjectType & (string | number)];
|
|
69
|
+
|
|
70
|
+
type FinalNestedKeyOf<ObjectType extends object> = {
|
|
71
|
+
[Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object ? `${Key}.${NestedKeyOf<ObjectType[Key]>}` : Key;
|
|
72
|
+
}[keyof ObjectType & (string | number)];
|
|
73
|
+
|
|
74
|
+
interface AxiosRequestLocalConfig extends AxiosRequestConfig {
|
|
75
|
+
method: Methods | keyof typeof Methods;
|
|
76
|
+
}
|
|
77
|
+
|
|
53
78
|
interface TaskListItem {
|
|
54
79
|
addRegNumber: string | number;
|
|
55
80
|
applicationTaskId: string;
|
|
@@ -68,6 +93,7 @@ declare global {
|
|
|
68
93
|
status: string;
|
|
69
94
|
userId: string;
|
|
70
95
|
userName: string;
|
|
96
|
+
level?: string;
|
|
71
97
|
}
|
|
72
98
|
type TaskHistory = {
|
|
73
99
|
appointmentDate: string | null;
|
|
@@ -92,12 +118,14 @@ declare global {
|
|
|
92
118
|
itemName: string;
|
|
93
119
|
};
|
|
94
120
|
|
|
121
|
+
// Remove
|
|
95
122
|
type GBDFLResponse = {
|
|
96
123
|
status: string;
|
|
97
124
|
statusName: string;
|
|
98
125
|
content: string;
|
|
99
126
|
};
|
|
100
127
|
|
|
128
|
+
// Remove
|
|
101
129
|
type FamilyInfoGKB = {
|
|
102
130
|
infoList: InfoListGKB;
|
|
103
131
|
status: string;
|
|
@@ -105,10 +133,12 @@ declare global {
|
|
|
105
133
|
content: null;
|
|
106
134
|
};
|
|
107
135
|
|
|
136
|
+
// Remove
|
|
108
137
|
type InfoListGKB = {
|
|
109
138
|
birthInfos: BirthInfoGKB[];
|
|
110
139
|
};
|
|
111
140
|
|
|
141
|
+
// Remove
|
|
112
142
|
type BirthInfoGKB = {
|
|
113
143
|
actDate?: string;
|
|
114
144
|
actNumber?: string;
|
|
@@ -141,7 +171,7 @@ declare global {
|
|
|
141
171
|
|
|
142
172
|
type AnketaBody = {
|
|
143
173
|
first: EachAnketa;
|
|
144
|
-
second:
|
|
174
|
+
second: AnketaSecond[] | null;
|
|
145
175
|
};
|
|
146
176
|
|
|
147
177
|
type EachAnketa = {
|
|
@@ -170,6 +200,7 @@ declare global {
|
|
|
170
200
|
enum DefinedAnswers {
|
|
171
201
|
N = 'N',
|
|
172
202
|
Y = 'Y',
|
|
203
|
+
D = 'D',
|
|
173
204
|
}
|
|
174
205
|
|
|
175
206
|
type AnketaFirst = {
|
|
@@ -236,8 +267,8 @@ declare global {
|
|
|
236
267
|
};
|
|
237
268
|
|
|
238
269
|
type RecalculationDataType = {
|
|
239
|
-
signDate
|
|
240
|
-
birthDate
|
|
270
|
+
signDate?: string;
|
|
271
|
+
birthDate?: string;
|
|
241
272
|
gender: number;
|
|
242
273
|
amount: number | null;
|
|
243
274
|
premium: number | null;
|
|
@@ -246,19 +277,59 @@ declare global {
|
|
|
246
277
|
indexRateId?: string | number | null;
|
|
247
278
|
paymentPeriodId?: string;
|
|
248
279
|
addCovers: AddCover[];
|
|
249
|
-
|
|
280
|
+
insrCount?: number;
|
|
281
|
+
insTermInMonth?: number;
|
|
282
|
+
insSumType?: number;
|
|
283
|
+
insSumMultiplier?: number;
|
|
284
|
+
fixInsSum?: number | null;
|
|
285
|
+
tariffId?: string | number | null;
|
|
286
|
+
clients?: ClientV2[];
|
|
287
|
+
agentCommission?: number | null;
|
|
288
|
+
processDefinitionFgotId?: any;
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
interface ClientV2 {
|
|
292
|
+
id: string | number;
|
|
293
|
+
iin: string;
|
|
294
|
+
fullName: string;
|
|
295
|
+
gender: number;
|
|
296
|
+
birthDate: string;
|
|
297
|
+
insSum: number;
|
|
298
|
+
premium?: number;
|
|
299
|
+
premiumWithLoad?: number;
|
|
300
|
+
position?: string;
|
|
301
|
+
lifeMultiply?: number;
|
|
302
|
+
lifeAdditive?: number;
|
|
303
|
+
disabilityMultiply?: number;
|
|
304
|
+
traumaTableMultiple?: number;
|
|
305
|
+
accidentalLifeMultiply?: number;
|
|
306
|
+
accidentalLifeAdditive?: number;
|
|
307
|
+
criticalMultiply?: string;
|
|
308
|
+
criticalAdditive?: string;
|
|
309
|
+
hasAttachedFile?: boolean;
|
|
310
|
+
}
|
|
250
311
|
|
|
251
312
|
type RecalculationResponseType = {
|
|
252
313
|
amount: number;
|
|
253
314
|
premium: number;
|
|
315
|
+
statePremium5?: number;
|
|
316
|
+
statePremium7?: number;
|
|
317
|
+
totalAmount5?: number;
|
|
318
|
+
totalAmount7?: number;
|
|
254
319
|
mainCoverPremium: number;
|
|
255
320
|
addCovers: AddCover[];
|
|
256
321
|
amountInCurrency: number;
|
|
257
322
|
premiumInCurrency: number;
|
|
258
323
|
annuityMonthPay: string | number | null;
|
|
324
|
+
mainPremium?: number;
|
|
325
|
+
clients?: ClientV2[];
|
|
326
|
+
fixInsSum?: number | null;
|
|
327
|
+
agentCommission?: number | null;
|
|
328
|
+
mainInsSum?: number | null;
|
|
329
|
+
mainPremiumWithCommission?: number;
|
|
259
330
|
};
|
|
260
331
|
|
|
261
|
-
|
|
332
|
+
interface AddCover {
|
|
262
333
|
id: string | null;
|
|
263
334
|
processInstanceId: string;
|
|
264
335
|
coverTypeId: string;
|
|
@@ -270,7 +341,13 @@ declare global {
|
|
|
270
341
|
amount: number;
|
|
271
342
|
premium: number;
|
|
272
343
|
isMigrate: boolean;
|
|
273
|
-
|
|
344
|
+
coverPeriodId?: string | null;
|
|
345
|
+
coverPeriodName?: string | null;
|
|
346
|
+
coverPeriodCode?: string | null;
|
|
347
|
+
calculatorValue?: number;
|
|
348
|
+
coverTypeNameRu?: string;
|
|
349
|
+
coverTypeNameKz?: string;
|
|
350
|
+
}
|
|
274
351
|
|
|
275
352
|
type SignUrlType = {
|
|
276
353
|
uri: string;
|
|
@@ -283,8 +360,19 @@ declare global {
|
|
|
283
360
|
|
|
284
361
|
type SignDataType = {
|
|
285
362
|
processInstanceId: string;
|
|
286
|
-
name:
|
|
287
|
-
|
|
363
|
+
name:
|
|
364
|
+
| 'Statement'
|
|
365
|
+
| 'Agreement'
|
|
366
|
+
| 'Contract'
|
|
367
|
+
| 'PA_Contract'
|
|
368
|
+
| 'PA_Statement'
|
|
369
|
+
| 'PA_RefundStatement'
|
|
370
|
+
| 'PA_RefundAgreement'
|
|
371
|
+
| 'PAEnpf_Agreement'
|
|
372
|
+
| 'InvoicePayment'
|
|
373
|
+
| 'RejectOSNS'
|
|
374
|
+
| 'RejectInsuredNotValid';
|
|
375
|
+
format: 'pdf' | 'xml';
|
|
288
376
|
};
|
|
289
377
|
|
|
290
378
|
type SmsDataType = {
|
|
@@ -358,7 +446,7 @@ declare global {
|
|
|
358
446
|
items: ContragentType[];
|
|
359
447
|
};
|
|
360
448
|
|
|
361
|
-
|
|
449
|
+
interface ContragentType {
|
|
362
450
|
id: number;
|
|
363
451
|
type: number;
|
|
364
452
|
iin: string;
|
|
@@ -374,18 +462,18 @@ declare global {
|
|
|
374
462
|
registrationDate: string;
|
|
375
463
|
verifyType: string;
|
|
376
464
|
verifyDate: string;
|
|
377
|
-
}
|
|
465
|
+
}
|
|
378
466
|
|
|
379
|
-
|
|
467
|
+
interface ContragentQuestionaries {
|
|
380
468
|
id: number;
|
|
381
469
|
contragentId: number;
|
|
382
470
|
questId: string;
|
|
383
471
|
questName: string;
|
|
384
472
|
questAnswer: string | number | null;
|
|
385
473
|
questAnswerName: string | null;
|
|
386
|
-
}
|
|
474
|
+
}
|
|
387
475
|
|
|
388
|
-
|
|
476
|
+
interface ContragentDocuments {
|
|
389
477
|
id: number;
|
|
390
478
|
contragentId: number;
|
|
391
479
|
type?: string;
|
|
@@ -401,9 +489,9 @@ declare global {
|
|
|
401
489
|
note: string | null;
|
|
402
490
|
verifyType: string;
|
|
403
491
|
verifyDate: string;
|
|
404
|
-
}
|
|
492
|
+
}
|
|
405
493
|
|
|
406
|
-
|
|
494
|
+
interface ContragentAddress {
|
|
407
495
|
id: number;
|
|
408
496
|
contragentId: number;
|
|
409
497
|
type?: string;
|
|
@@ -414,7 +502,7 @@ declare global {
|
|
|
414
502
|
stateName?: string;
|
|
415
503
|
cityCode?: string | number;
|
|
416
504
|
cityName?: string;
|
|
417
|
-
regionCode?: string | number |null;
|
|
505
|
+
regionCode?: string | number | null;
|
|
418
506
|
regionName?: string | null;
|
|
419
507
|
streetName?: string;
|
|
420
508
|
blockNumber?: string;
|
|
@@ -423,9 +511,9 @@ declare global {
|
|
|
423
511
|
cityTypeName?: string;
|
|
424
512
|
microRaion?: string | null;
|
|
425
513
|
kvartal?: string | null;
|
|
426
|
-
}
|
|
514
|
+
}
|
|
427
515
|
|
|
428
|
-
|
|
516
|
+
interface ContragentContacts {
|
|
429
517
|
id: number;
|
|
430
518
|
contragentId: number;
|
|
431
519
|
type: string;
|
|
@@ -436,7 +524,7 @@ declare global {
|
|
|
436
524
|
newValue: string | null;
|
|
437
525
|
verifyType?: string | null;
|
|
438
526
|
verifyDate?: string | null;
|
|
439
|
-
}
|
|
527
|
+
}
|
|
440
528
|
|
|
441
529
|
type AddCoverAnswer = {
|
|
442
530
|
id: string;
|
|
@@ -482,7 +570,6 @@ declare global {
|
|
|
482
570
|
underwritingType?: number;
|
|
483
571
|
annualIncome?: number | null;
|
|
484
572
|
calcDirect?: number;
|
|
485
|
-
tariffId?: string;
|
|
486
573
|
tariffName?: string;
|
|
487
574
|
riskGroup?: number;
|
|
488
575
|
riskGroup2?: number;
|
|
@@ -500,6 +587,25 @@ declare global {
|
|
|
500
587
|
amountInCurrency?: number | null;
|
|
501
588
|
premiumInCurrency?: number | null;
|
|
502
589
|
currencyExchangeRate?: number | null;
|
|
590
|
+
age?: string | number | null;
|
|
591
|
+
lifeTripCountries?: string[] | null;
|
|
592
|
+
tripPurposeId?: string | number | null;
|
|
593
|
+
insuredAmountId?: string | number | null;
|
|
594
|
+
workTypeId?: string | number | null;
|
|
595
|
+
sportsTypeId?: string | number | null;
|
|
596
|
+
singleTripDays?: string | number | null;
|
|
597
|
+
multipleTripMaxDays?: string | number | null;
|
|
598
|
+
tripInsurancePeriod?: string | number | null;
|
|
599
|
+
startDate?: string | null;
|
|
600
|
+
endDate?: string | null;
|
|
601
|
+
insTermInMonth?: number | null;
|
|
602
|
+
fixInsSum?: number | string | null;
|
|
603
|
+
tariffId?: string | null;
|
|
604
|
+
mainPremium?: number | string | null;
|
|
605
|
+
processDefinitionFgotId?: string | number;
|
|
606
|
+
mainInsSum?: number | null;
|
|
607
|
+
agentCommission?: number | null;
|
|
608
|
+
calcDate?: string;
|
|
503
609
|
};
|
|
504
610
|
|
|
505
611
|
type InsisWorkDataApp = {
|
|
@@ -518,4 +624,293 @@ declare global {
|
|
|
518
624
|
managerPolicyName?: string;
|
|
519
625
|
insuranceProgramType?: string;
|
|
520
626
|
};
|
|
627
|
+
|
|
628
|
+
type TripInsuranceAmount = {
|
|
629
|
+
amounts: Value[];
|
|
630
|
+
currency: string;
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
type TripInsuranceDaysOptions = {
|
|
634
|
+
period: {
|
|
635
|
+
'90': string[];
|
|
636
|
+
'180': string[];
|
|
637
|
+
'270': string[];
|
|
638
|
+
'365': string[];
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
type getTripInsuredAmountRequest = {
|
|
642
|
+
tripTypeID: string | number | null;
|
|
643
|
+
countryID: string[];
|
|
644
|
+
};
|
|
645
|
+
|
|
646
|
+
type SetApplicationRequest = {
|
|
647
|
+
processInstanceId?: string | number | null;
|
|
648
|
+
id?: string | null;
|
|
649
|
+
addCoversDto?: AddCover[];
|
|
650
|
+
insuredAmountId?: string | number | null;
|
|
651
|
+
age?: string | number | null;
|
|
652
|
+
lifeTripCountries?: string[] | null;
|
|
653
|
+
tripPurposeId?: string | number | null;
|
|
654
|
+
workTypeId?: string | number | null;
|
|
655
|
+
sportsTypeId?: string | number | null;
|
|
656
|
+
singleTripDays?: number;
|
|
657
|
+
multipleTripMaxDays?: number;
|
|
658
|
+
tripInsurancePeriod?: number;
|
|
659
|
+
startDate?: string | null;
|
|
660
|
+
endDate?: string | null;
|
|
661
|
+
policyId?: number;
|
|
662
|
+
policyNumber?: string;
|
|
663
|
+
contractDate?: string;
|
|
664
|
+
contractEndDate?: string;
|
|
665
|
+
amount?: number;
|
|
666
|
+
premium?: number;
|
|
667
|
+
mainCoverPremium?: number;
|
|
668
|
+
currency?: string;
|
|
669
|
+
isSpokesman?: boolean;
|
|
670
|
+
coverPeriod?: number;
|
|
671
|
+
payPeriod?: number;
|
|
672
|
+
indexRateId?: string;
|
|
673
|
+
indexRateCode?: string;
|
|
674
|
+
indexRateName?: string;
|
|
675
|
+
paymentPeriodId?: string;
|
|
676
|
+
paymentPeriodName?: string;
|
|
677
|
+
lifeMultiply?: number;
|
|
678
|
+
lifeAdditive?: number;
|
|
679
|
+
adbMultiply?: number;
|
|
680
|
+
adbAdditive?: number;
|
|
681
|
+
disabilityMultiply?: number;
|
|
682
|
+
disabilityAdditive?: number;
|
|
683
|
+
documentSignTypeId?: string;
|
|
684
|
+
documentSignTypeCode?: string;
|
|
685
|
+
documentSignTypeName?: string;
|
|
686
|
+
isDocumentsSigned?: boolean;
|
|
687
|
+
paymentTypeId?: string;
|
|
688
|
+
paymentTypeName?: string;
|
|
689
|
+
isPayed?: boolean;
|
|
690
|
+
underwritingType?: number;
|
|
691
|
+
calcDirect?: number;
|
|
692
|
+
tariffId?: string;
|
|
693
|
+
tariffName?: string;
|
|
694
|
+
riskGroup?: number;
|
|
695
|
+
riskGroup2?: number;
|
|
696
|
+
lifeMultiplyClient?: number;
|
|
697
|
+
lifeAdditiveClient?: number;
|
|
698
|
+
annuityTypeId?: string;
|
|
699
|
+
annuityTypeName?: string;
|
|
700
|
+
annuityPaymentPeriodId?: string;
|
|
701
|
+
annuityPaymentPeriodName?: string;
|
|
702
|
+
guaranteedPaymentPeriod?: number;
|
|
703
|
+
paymentPeriod?: number;
|
|
704
|
+
annuityMonthPay?: number;
|
|
705
|
+
annuityPaymentBeginDate?: string;
|
|
706
|
+
annuityPaymentEndDate?: string;
|
|
707
|
+
calcDate?: string;
|
|
708
|
+
guaranteedPaymentBeginDate?: string;
|
|
709
|
+
guaranteedPaymentEndDate?: string;
|
|
710
|
+
annuityPaymentAmount?: number;
|
|
711
|
+
countPay?: number;
|
|
712
|
+
guaranteedPeriod?: number;
|
|
713
|
+
dateFirstPay?: string;
|
|
714
|
+
effectiveAnnualpercentage?: number;
|
|
715
|
+
factorCurrentValueGP?: number;
|
|
716
|
+
alfa?: number;
|
|
717
|
+
gamma?: number;
|
|
718
|
+
mrpPayment?: number;
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
type KGDResponse = {
|
|
722
|
+
responseCode: string;
|
|
723
|
+
content: string | null;
|
|
724
|
+
lastName: string;
|
|
725
|
+
firstName: string;
|
|
726
|
+
middleName: string;
|
|
727
|
+
name: string;
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
type AccidentIncidents = {
|
|
731
|
+
id: string | null;
|
|
732
|
+
processInstanceId: string | null;
|
|
733
|
+
coverTypeId: string | null;
|
|
734
|
+
coverTypeName: string | null;
|
|
735
|
+
coverTypeCode: number | null;
|
|
736
|
+
count: number | string;
|
|
737
|
+
amount: number | string;
|
|
738
|
+
shortDescription: string | null;
|
|
739
|
+
};
|
|
740
|
+
|
|
741
|
+
type GovPremiums = {
|
|
742
|
+
statePremium5: number | null;
|
|
743
|
+
statePremium7: number | null;
|
|
744
|
+
totalAmount5: number | null;
|
|
745
|
+
totalAmount7: number | null;
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
type InsuredPolicyType = {
|
|
749
|
+
insSum: number;
|
|
750
|
+
insSumWithLoad: number;
|
|
751
|
+
premium: number;
|
|
752
|
+
premiumWithLoad: number;
|
|
753
|
+
insuredRisk: {
|
|
754
|
+
lifeMultiply: number;
|
|
755
|
+
lifeAdditive: number;
|
|
756
|
+
disabilityMultiply: number;
|
|
757
|
+
disabilityAdditive: number;
|
|
758
|
+
traumaTableMultiple: number;
|
|
759
|
+
accidentalLifeMultiply: number;
|
|
760
|
+
accidentalLifeAdditive: number;
|
|
761
|
+
criticalMultiply: number;
|
|
762
|
+
criticalAdditive: number;
|
|
763
|
+
};
|
|
764
|
+
insuredCoverData: {
|
|
765
|
+
coverTypeEnum: number;
|
|
766
|
+
prmeium: number;
|
|
767
|
+
}[];
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
type ResponseStructure<T> = { code: 0; message: 'OK'; data: T };
|
|
771
|
+
|
|
772
|
+
type SignedState = {
|
|
773
|
+
isOnline: boolean;
|
|
774
|
+
signValue: number;
|
|
775
|
+
signName: string;
|
|
776
|
+
code: string;
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
namespace Utils {
|
|
780
|
+
type ProjectConfig = {
|
|
781
|
+
version: string;
|
|
782
|
+
buildTime: string;
|
|
783
|
+
isDown: boolean;
|
|
784
|
+
};
|
|
785
|
+
type VuetifyAnimations = 'expand' | 'fab' | 'fade' | 'scale' | 'scroll-x' | 'scroll-y' | 'slide-x' | 'slide-x-r' | 'slide-y' | 'slide-y-r';
|
|
786
|
+
type LabelSize = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
787
|
+
type VIcon = { mdi?: string; color?: string; bg?: string; size?: 'x-small' | 'small' | 'default' | 'large' | 'x-large' };
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
namespace Api {
|
|
791
|
+
namespace GenerateShortLink {
|
|
792
|
+
type Templates = 'halyk_pay_link_template';
|
|
793
|
+
type Response = {
|
|
794
|
+
id: string;
|
|
795
|
+
link: string;
|
|
796
|
+
};
|
|
797
|
+
type Request = { link: string; priority: string; template?: Api.GenerateShortLink.Templates };
|
|
798
|
+
}
|
|
799
|
+
namespace GBD {
|
|
800
|
+
type Request = {
|
|
801
|
+
iin: string;
|
|
802
|
+
phoneNumber: string;
|
|
803
|
+
};
|
|
804
|
+
type UlRequest = { userName: string; branchName: string; bin: string };
|
|
805
|
+
type Response = {
|
|
806
|
+
status: string;
|
|
807
|
+
statusName: string;
|
|
808
|
+
content: string;
|
|
809
|
+
};
|
|
810
|
+
type Dict = {
|
|
811
|
+
code: string;
|
|
812
|
+
nameRu: string;
|
|
813
|
+
nameKz: string;
|
|
814
|
+
changeDate: string;
|
|
815
|
+
};
|
|
816
|
+
type Document = {
|
|
817
|
+
type: Api.GBD.Dict & { code: Enums.GBD.DocTypes };
|
|
818
|
+
beginDate: string;
|
|
819
|
+
endDate: string;
|
|
820
|
+
number: string;
|
|
821
|
+
issueOrganization: Api.GBD.Dict;
|
|
822
|
+
status: Api.GBD.Dict;
|
|
823
|
+
surname: string;
|
|
824
|
+
name: string;
|
|
825
|
+
patronymic?: string;
|
|
826
|
+
birthDate: string;
|
|
827
|
+
};
|
|
828
|
+
type Person = {
|
|
829
|
+
iin: string;
|
|
830
|
+
surname: string;
|
|
831
|
+
name: string;
|
|
832
|
+
patronymic?: string;
|
|
833
|
+
engFirstName: string;
|
|
834
|
+
engSurname: string;
|
|
835
|
+
birthDate: string;
|
|
836
|
+
gender: Api.GBD.Dict;
|
|
837
|
+
nationality: Api.GBD.Dict;
|
|
838
|
+
citizenship: Api.GBD.Dict;
|
|
839
|
+
lifeStatus: Api.GBD.Dict;
|
|
840
|
+
birthPlace: { country: Api.GBD.Dict; district: Api.GBD.Dict; region: Api.GBD.Dict; city: any };
|
|
841
|
+
regAddress: {
|
|
842
|
+
country: Api.GBD.Dict;
|
|
843
|
+
district: Api.GBD.Dict;
|
|
844
|
+
region: Api.GBD.Dict;
|
|
845
|
+
street: string;
|
|
846
|
+
city: string;
|
|
847
|
+
building: string;
|
|
848
|
+
flat: string;
|
|
849
|
+
beginDate: string;
|
|
850
|
+
status: Api.GBD.Dict;
|
|
851
|
+
invalidity: Api.GBD.Dict;
|
|
852
|
+
arcode: string;
|
|
853
|
+
};
|
|
854
|
+
documents: {
|
|
855
|
+
document: Api.GBD.Document | Api.GBD.Document[];
|
|
856
|
+
};
|
|
857
|
+
addresses: any;
|
|
858
|
+
};
|
|
859
|
+
}
|
|
860
|
+
namespace GKB {
|
|
861
|
+
type Response = {
|
|
862
|
+
infoList: Api.GKB.BirthInfoList;
|
|
863
|
+
status: string;
|
|
864
|
+
statusName: string;
|
|
865
|
+
content: null;
|
|
866
|
+
};
|
|
867
|
+
type BirthInfoList = {
|
|
868
|
+
birthInfos: Api.GKB.BirthInfo[];
|
|
869
|
+
};
|
|
870
|
+
type BirthInfo = {
|
|
871
|
+
actDate?: string;
|
|
872
|
+
actNumber?: string;
|
|
873
|
+
childBirthDate?: string;
|
|
874
|
+
childIIN?: string;
|
|
875
|
+
childLifeStatus?: number;
|
|
876
|
+
childName?: string;
|
|
877
|
+
childPatronymic?: string;
|
|
878
|
+
childSurName?: string;
|
|
879
|
+
fatherBirthDate?: string;
|
|
880
|
+
fatherLifeStatus?: number;
|
|
881
|
+
fatherIIN?: string;
|
|
882
|
+
fatherName?: string;
|
|
883
|
+
fatherPatronymic?: string;
|
|
884
|
+
fatherSurName?: string;
|
|
885
|
+
marriageActDate?: string;
|
|
886
|
+
marriageActNumber?: string;
|
|
887
|
+
marriageActPlace?: string;
|
|
888
|
+
motherApplication?: number;
|
|
889
|
+
motherBirthDate?: string;
|
|
890
|
+
motherLifeStatus?: string | null;
|
|
891
|
+
motherIIN?: string | null;
|
|
892
|
+
motherName?: string | null;
|
|
893
|
+
motherPatronymic?: string | null;
|
|
894
|
+
motherSurName?: string | null;
|
|
895
|
+
zagsCode?: string;
|
|
896
|
+
zagsNameKZ?: string;
|
|
897
|
+
zagsNameRU?: string;
|
|
898
|
+
};
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
namespace KGD {
|
|
902
|
+
type Response = {
|
|
903
|
+
responseCode: string;
|
|
904
|
+
content: string | null;
|
|
905
|
+
lastName: string;
|
|
906
|
+
firstName: string;
|
|
907
|
+
middleName: string;
|
|
908
|
+
name: string;
|
|
909
|
+
};
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
namespace Dicts {
|
|
914
|
+
type WorkPosition = { workPositionClassCode: string; workPositionCode: string; workPositionName: string };
|
|
915
|
+
}
|
|
521
916
|
}
|