hl-core 0.0.10-beta.4 → 0.0.10-beta.6

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/types/index.ts CHANGED
@@ -2,913 +2,860 @@ import { Value } from '../composables/classes';
2
2
  import type { RouteLocationNormalizedLoaded, RouteLocationNormalized } from 'vue-router';
3
3
  import type { AxiosRequestConfig } from 'axios';
4
4
  import { Methods, Enums } from './enum';
5
- export {};
6
- declare global {
7
- export type EnvModes = 'development' | 'test' | 'production';
8
- export type Projects =
9
- | 'aml'
10
- | 'baiterek'
11
- | 'bolashak'
12
- | 'calculator'
13
- | 'efo'
14
- | 'gons'
15
- | 'halykkazyna'
16
- | 'lifebusiness'
17
- | 'liferenta'
18
- | 'lifetrip'
19
- | 'lka'
20
- | 'mycar'
21
- | 'checkcontract'
22
- | 'checkcontragent'
23
- | 'daskamkorlyk'
24
- | 'amuletlife'
25
- | 'gns'
26
- | 'pensionannuitynew'
27
- | 'dso'
28
- | 'uu'
29
- | 'auletti'
30
- | 'lka-auletti'
31
- | 'prepensionannuity';
32
- export type MemberKeys = keyof ReturnType<typeof useFormStore>;
33
- export type MemberFormTypes = 'policyholderForm' | 'insuredForm' | 'beneficiaryForm' | 'beneficialOwnerForm' | 'policyholdersRepresentativeForm' | 'productConditionsForm';
34
- export type SingleMember = 'policyholderForm' | 'policyholdersRepresentativeForm';
35
- export type MultipleMember = 'insuredForm' | 'beneficiaryForm' | 'beneficialOwnerForm';
36
- export type PanelTypes = 'settings' | 'panel' | 'rightPanel';
37
- export type FileActions = 'view' | 'download';
38
- export type RouteType = RouteLocationNormalizedLoaded | RouteLocationNormalized;
39
- export type InputVariants = 'solo' | 'filled' | 'outlined' | 'plain' | 'underlined';
40
- export type InputTypes =
41
- | 'button'
42
- | 'checkbox'
43
- | 'color'
44
- | 'date'
45
- | 'datetime-local'
46
- | 'email'
47
- | 'file'
48
- | 'hidden'
49
- | 'image'
50
- | 'month'
51
- | 'number'
52
- | 'password'
53
- | 'radio'
54
- | 'range'
55
- | 'reset'
56
- | 'search'
57
- | 'submit'
58
- | 'tel'
59
- | 'text'
60
- | 'time'
61
- | 'url'
62
- | 'week';
63
-
64
- export type NestedKeyOf<ObjectType extends object> = {
65
- [Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object ? `${Key}` | `${Key}.${NestedKeyOf<ObjectType[Key]>}` : Key;
66
- }[keyof ObjectType & (string | number)];
67
-
68
- export type FinalNestedKeyOf<ObjectType extends object> = {
69
- [Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object ? `${Key}.${NestedKeyOf<ObjectType[Key]>}` : Key;
70
- }[keyof ObjectType & (string | number)];
71
-
72
- export interface AxiosRequestLocalConfig extends AxiosRequestConfig {
73
- method: Methods | keyof typeof Methods;
74
- }
75
-
76
- export interface TaskListItem {
77
- addRegNumber: string | number;
78
- applicationTaskId: string;
79
- dateCreated: string;
80
- historyStatus: string;
81
- historyStatusTitle: string;
82
- id: string;
83
- iin: string;
84
- insurerIin: string;
85
- insurerLongName: string;
86
- isTask: boolean | number;
87
- longName: string;
88
- number: string;
89
- processCode: number;
90
- processCodeTitle: string;
91
- status: string;
92
- userId: string;
93
- userName: string;
94
- level?: string;
95
- }
96
- export type TaskHistory = {
97
- appointmentDate: string | null;
98
- comment: string | null;
99
- dateCreated: string;
100
- decisionCode: string | null;
101
- decisionNameRu: string | null;
102
- factEndDate: string;
103
- id: string;
104
- number: string;
105
- planEndDate: string;
106
- statusCode: string;
107
- statusTitle: string;
108
- userFullName: string | null;
109
- userId: string | null;
110
- violationText: string | null;
111
- };
112
-
113
- export type Item = {
114
- itemCode: string;
115
- itemId: number;
116
- itemName: string;
117
- };
118
-
119
- // Remove
120
- export type GBDFLResponse = {
121
- status: string;
122
- statusName: string;
123
- content: string;
124
- };
125
-
126
- // Remove
127
- export type FamilyInfoGKB = {
128
- infoList: InfoListGKB;
129
- status: string;
130
- statusName: string;
131
- content: null;
132
- };
133
-
134
- // Remove
135
- export type InfoListGKB = {
136
- birthInfos: BirthInfoGKB[];
137
- };
138
-
139
- // Remove
140
- export type BirthInfoGKB = {
141
- actDate?: string;
142
- actNumber?: string;
143
- childBirthDate?: string;
144
- childIIN?: string;
145
- childLifeStatus?: number;
146
- childName?: string;
147
- childPatronymic?: string;
148
- childSurName?: string;
149
- fatherBirthDate?: string;
150
- fatherLifeStatus?: number;
151
- fatherIIN?: string;
152
- fatherName?: string;
153
- fatherPatronymic?: string;
154
- fatherSurName?: string;
155
- marriageActDate?: string;
156
- marriageActNumber?: string;
157
- marriageActPlace?: string;
158
- motherApplication?: number;
159
- motherBirthDate?: string;
160
- motherLifeStatus?: string | null;
161
- motherIIN?: string | null;
162
- motherName?: string | null;
163
- motherPatronymic?: string | null;
164
- motherSurName?: string | null;
165
- zagsCode?: string;
166
- zagsNameKZ?: string;
167
- zagsNameRU?: string;
168
- };
169
-
170
- export type AnketaBody = {
171
- first: EachAnketa;
172
- second: AnketaSecond[] | null;
173
- };
174
-
175
- export type EachAnketa = {
176
- id: string;
177
- name: string;
178
- answerType: AnswerType;
179
- definedAnswers: DefinedAnswers;
180
- defaultAnswer: string;
181
- questOrder: number;
182
- answerId: string | null;
183
- answerName: AnswerName | null;
184
- answerText: string | null;
185
- };
186
-
187
- enum AnswerName {
188
- Нет = 'Нет',
189
- Да = 'Да',
190
- }
191
-
192
- enum AnswerType {
193
- N = 'N',
194
- T = 'T',
195
- D = 'D',
196
- }
197
-
198
- enum DefinedAnswers {
199
- N = 'N',
200
- Y = 'Y',
201
- D = 'D',
202
- }
203
-
204
- export type AnketaFirst = {
205
- id: string;
206
- insuredId: string | null;
207
- body: AnketaBody[];
208
- type: 'health' | 'critical';
209
- clientId: string | null;
210
- };
211
-
212
- export type AnketaSecond = {
213
- id: string;
214
- name: string;
215
- answerType: AnswerType;
216
- definedAnswers: DefinedAnswers;
217
- defaultAnswer: string | null;
218
- questOrder: number;
219
- answerId: string | null;
220
- answerName: string | null;
221
- answerText: string | null;
222
- };
223
-
224
- export type SendOtpResponse = {
225
- tokenId?: string;
226
- errMessage?: string | null;
227
- result?: string | null;
228
- status?: string | number | null;
229
- statusName?: string | null;
230
- };
231
5
 
232
- export type OtpDataType = { iin: string; phoneNumber: string; type: string; processInstanceId?: string | number };
233
-
234
- export type StartApplicationType = {
235
- clientId: string | number | null;
236
- iin: string;
237
- longName: string;
238
- processCode: number;
239
- policyId: number;
240
- };
241
-
242
- export type ESBDValidationType = {
243
- personType: number;
244
- iin: string;
245
- lastName: string;
246
- firstName: string;
247
- middleName: string;
248
- birthDate: string;
249
- sex: number;
250
- docType: number;
251
- docNumber: string;
252
- docIssuedDate: string;
253
- docIssuedBy: string;
254
- activityKindId: number;
255
- economicsSectorId: number;
256
- resident: number;
257
- countryId: number;
258
- };
259
-
260
- export type ESBDResponseType = {
261
- errorCode: number;
262
- errorMsg: string;
263
- esbdClientID: number;
264
- verifiedDate: string;
265
- };
266
-
267
- export type RecalculationDataType = {
268
- signDate?: string;
269
- birthDate?: string;
270
- gender: number;
271
- amount: number | null;
272
- premium: number | null;
273
- coverPeriod: number;
274
- payPeriod: number;
275
- indexRateId?: string | number | null;
276
- paymentPeriodId?: string;
277
- addCovers: AddCover[];
278
- insrCount?: number;
279
- insTermInMonth?: number;
280
- insSumType?: number;
281
- insSumMultiplier?: number;
282
- fixInsSum?: number | null;
283
- tariffId?: string | number | null;
284
- clients?: ClientV2[];
285
- agentCommission?: number | null;
286
- processDefinitionFgotId?: any;
287
- };
288
-
289
- export interface ClientV2 {
290
- id: string | number;
291
- iin: string;
292
- fullName: string;
293
- gender: number;
294
- birthDate: string;
295
- insSum: number;
296
- premium?: number;
297
- premiumWithLoad?: number;
298
- position?: string;
299
- lifeMultiply?: number;
300
- lifeAdditive?: number;
301
- disabilityMultiply?: number;
302
- traumaTableMultiple?: number;
303
- accidentalLifeMultiply?: number;
304
- accidentalLifeAdditive?: number;
305
- criticalMultiply?: string;
306
- criticalAdditive?: string;
307
- hasAttachedFile?: boolean;
308
- }
309
-
310
- export type RecalculationResponseType = {
311
- amount: number;
312
- premium: number;
313
- statePremium5?: number;
314
- statePremium7?: number;
315
- totalAmount5?: number;
316
- totalAmount7?: number;
317
- mainCoverPremium: number;
318
- addCovers: AddCover[];
319
- amountInCurrency: number;
320
- premiumInCurrency: number;
321
- annuityMonthPay: string | number | null;
322
- mainPremium?: number;
323
- clients?: ClientV2[];
324
- fixInsSum?: number | null;
325
- agentCommission?: number | null;
326
- mainInsSum?: number | null;
327
- mainPremiumWithCommission?: number;
328
- };
329
-
330
- export interface AddCover {
331
- id: string | null;
332
- processInstanceId: string;
333
- coverTypeId: string;
334
- coverTypeName: string;
335
- coverTypeCode: number;
336
- coverSumId: string;
337
- coverSumName: string;
338
- coverSumCode: string;
339
- amount: number;
340
- premium: number;
341
- isMigrate: boolean;
342
- coverPeriodId?: string | null;
343
- coverPeriodName?: string | null;
344
- coverPeriodCode?: string | null;
345
- calculatorValue?: number;
346
- coverTypeNameRu?: string;
347
- coverTypeNameKz?: string;
348
- }
349
-
350
- export type SignUrlType = {
351
- uri: string;
352
- shortUri: string;
353
- iin: string | null;
354
- longName: string | null;
355
- phoneNumber: string | null;
356
- signed: boolean;
357
- };
358
-
359
- export type SignDataType = {
360
- processInstanceId: string;
361
- name:
362
- | 'Statement'
363
- | 'Agreement'
364
- | 'Contract'
365
- | 'PA_Contract'
366
- | 'PA_Statement'
367
- | 'PA_RefundStatement'
368
- | 'PA_RefundAgreement'
369
- | 'PAEnpf_Agreement'
370
- | 'InvoicePayment'
371
- | 'RejectOSNS'
372
- | 'RejectInsuredNotValid';
373
- format: 'pdf' | 'xml';
374
- };
375
-
376
- export type SmsDataType = {
377
- processInstanceId: string;
378
- iin: string;
379
- phoneNumber: string;
380
- type: 'SignUrl' | 'PayUrl';
381
- text: string;
382
- };
383
-
384
- export type RegNumberDataType = { processInstanceId: string; regNumber: string; date: string };
6
+ export type EnvModes = 'development' | 'test' | 'production';
7
+ export type Projects =
8
+ | 'aml'
9
+ | 'baiterek'
10
+ | 'bolashak'
11
+ | 'calculator'
12
+ | 'efo'
13
+ | 'gons'
14
+ | 'halykkazyna'
15
+ | 'lifebusiness'
16
+ | 'liferenta'
17
+ | 'lifetrip'
18
+ | 'lka'
19
+ | 'mycar'
20
+ | 'checkcontract'
21
+ | 'checkcontragent'
22
+ | 'daskamkorlyk'
23
+ | 'amuletlife'
24
+ | 'gns'
25
+ | 'pensionannuitynew'
26
+ | 'dso'
27
+ | 'uu'
28
+ | 'auletti'
29
+ | 'lka-auletti'
30
+ | 'prepensionannuity';
31
+ export type MemberKeys = keyof ReturnType<typeof useFormStore>;
32
+ export type MemberFormTypes = 'policyholderForm' | 'insuredForm' | 'beneficiaryForm' | 'beneficialOwnerForm' | 'policyholdersRepresentativeForm' | 'productConditionsForm';
33
+ export type SingleMember = 'policyholderForm' | 'policyholdersRepresentativeForm';
34
+ export type MultipleMember = 'insuredForm' | 'beneficiaryForm' | 'beneficialOwnerForm';
35
+ export type PanelTypes = 'settings' | 'panel' | 'rightPanel';
36
+ export type FileActions = 'view' | 'download';
37
+ export type RouteType = RouteLocationNormalizedLoaded | RouteLocationNormalized;
38
+ export type InputVariants = 'solo' | 'filled' | 'outlined' | 'plain' | 'underlined';
39
+ export type InputTypes =
40
+ | 'button'
41
+ | 'checkbox'
42
+ | 'color'
43
+ | 'date'
44
+ | 'datetime-local'
45
+ | 'email'
46
+ | 'file'
47
+ | 'hidden'
48
+ | 'image'
49
+ | 'month'
50
+ | 'number'
51
+ | 'password'
52
+ | 'radio'
53
+ | 'range'
54
+ | 'reset'
55
+ | 'search'
56
+ | 'submit'
57
+ | 'tel'
58
+ | 'text'
59
+ | 'time'
60
+ | 'url'
61
+ | 'week';
62
+
63
+ export type NestedKeyOf<ObjectType extends object> = {
64
+ [Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object ? `${Key}` | `${Key}.${NestedKeyOf<ObjectType[Key]>}` : Key;
65
+ }[keyof ObjectType & (string | number)];
66
+
67
+ export type FinalNestedKeyOf<ObjectType extends object> = {
68
+ [Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object ? `${Key}.${NestedKeyOf<ObjectType[Key]>}` : Key;
69
+ }[keyof ObjectType & (string | number)];
70
+
71
+ export interface AxiosRequestLocalConfig extends AxiosRequestConfig {
72
+ method: Methods | keyof typeof Methods;
73
+ }
385
74
 
386
- export type EpayShortResponse = {
387
- id: string;
388
- link: string;
389
- };
75
+ export interface TaskListItem {
76
+ addRegNumber: string | number;
77
+ applicationTaskId: string;
78
+ dateCreated: string;
79
+ historyStatus: string;
80
+ historyStatusTitle: string;
81
+ id: string;
82
+ iin: string;
83
+ insurerIin: string;
84
+ insurerLongName: string;
85
+ isTask: boolean | number;
86
+ longName: string;
87
+ number: string;
88
+ processCode: number;
89
+ processCodeTitle: string;
90
+ status: string;
91
+ userId: string;
92
+ userName: string;
93
+ level?: string;
94
+ }
95
+ export type TaskHistory = {
96
+ appointmentDate: string | null;
97
+ comment: string | null;
98
+ dateCreated: string;
99
+ decisionCode: string | null;
100
+ decisionNameRu: string | null;
101
+ factEndDate: string;
102
+ id: string;
103
+ number: string;
104
+ planEndDate: string;
105
+ statusCode: string;
106
+ statusTitle: string;
107
+ userFullName: string | null;
108
+ userId: string | null;
109
+ violationText: string | null;
110
+ };
111
+
112
+ export type Item = {
113
+ itemCode: string;
114
+ itemId: number;
115
+ itemName: string;
116
+ };
117
+
118
+ export type AnketaBody = {
119
+ first: EachAnketa;
120
+ second: AnketaSecond[] | null;
121
+ };
122
+
123
+ export type EachAnketa = {
124
+ id: string;
125
+ name: string;
126
+ answerType: AnswerType;
127
+ definedAnswers: DefinedAnswers;
128
+ defaultAnswer: string;
129
+ questOrder: number;
130
+ answerId: string | null;
131
+ answerName: AnswerName | null;
132
+ answerText: string | null;
133
+ };
134
+
135
+ export enum AnswerName {
136
+ Нет = 'Нет',
137
+ Да = 'Да',
138
+ }
390
139
 
391
- export type EpayResponse = {
392
- id: string;
393
- processInstanceId: string;
394
- createDate: string;
395
- number: number;
396
- phoneNumber: string;
397
- amount: number;
398
- currency: string;
399
- dueDate: string;
400
- transactionId: string;
401
- transactionDate: string;
402
- status: number;
403
- statusName: string;
404
- description: string;
405
- epayHtml: string | null;
406
- epayResponse: string | null;
407
- paymentLink: string;
408
- };
140
+ export enum AnswerType {
141
+ N = 'N',
142
+ T = 'T',
143
+ D = 'D',
144
+ }
409
145
 
410
- export type SendTask = {
411
- decision: keyof typeof constants.actions;
412
- taskId: string;
413
- comment?: string;
414
- };
146
+ export enum DefinedAnswers {
147
+ N = 'N',
148
+ Y = 'Y',
149
+ D = 'D',
150
+ }
415
151
 
416
- export type AgentData = {
417
- agentId?: number | null;
418
- manId?: number;
419
- fullName?: string;
420
- officeId?: number | null;
421
- officeCode?: string | null;
422
- saleChannel?: string;
423
- staffId?: number;
424
- managerName?: string;
425
- mainAgentId?: string | null;
426
- agentNo?: string;
427
- iin?: string | null;
428
- };
152
+ export type AnketaFirst = {
153
+ id: string;
154
+ insuredId: string | null;
155
+ body: AnketaBody[];
156
+ type: 'health' | 'critical';
157
+ clientId: string | null;
158
+ };
159
+
160
+ export type AnketaSecond = {
161
+ id: string;
162
+ name: string;
163
+ answerType: AnswerType;
164
+ definedAnswers: DefinedAnswers;
165
+ defaultAnswer: string | null;
166
+ questOrder: number;
167
+ answerId: string | null;
168
+ answerName: string | null;
169
+ answerText: string | null;
170
+ };
171
+
172
+ export type SendOtpResponse = {
173
+ tokenId?: string;
174
+ errMessage?: string | null;
175
+ result?: string | null;
176
+ status?: string | number | null;
177
+ statusName?: string | null;
178
+ };
179
+
180
+ export type OtpDataType = { iin: string; phoneNumber: string; type: string; processInstanceId?: string | number };
181
+
182
+ export type StartApplicationType = {
183
+ clientId: string | number | null;
184
+ iin: string;
185
+ longName: string;
186
+ processCode: number;
187
+ policyId: number;
188
+ };
189
+
190
+ export type ESBDValidationType = {
191
+ personType: number;
192
+ iin: string;
193
+ lastName: string;
194
+ firstName: string;
195
+ middleName: string;
196
+ birthDate: string;
197
+ sex: number;
198
+ docType: number;
199
+ docNumber: string;
200
+ docIssuedDate: string;
201
+ docIssuedBy: string;
202
+ activityKindId: number;
203
+ economicsSectorId: number;
204
+ resident: number;
205
+ countryId: number;
206
+ };
207
+
208
+ export type ESBDResponseType = {
209
+ errorCode: number;
210
+ errorMsg: string;
211
+ esbdClientID: number;
212
+ verifiedDate: string;
213
+ };
214
+
215
+ export type RecalculationDataType = {
216
+ signDate?: string;
217
+ birthDate?: string;
218
+ gender: number;
219
+ amount: number | null;
220
+ premium: number | null;
221
+ coverPeriod: number;
222
+ payPeriod: number;
223
+ indexRateId?: string | number | null;
224
+ paymentPeriodId?: string;
225
+ addCovers: AddCover[];
226
+ insrCount?: number;
227
+ insTermInMonth?: number;
228
+ insSumType?: number;
229
+ insSumMultiplier?: number;
230
+ fixInsSum?: number | null;
231
+ tariffId?: string | number | null;
232
+ clients?: ClientV2[];
233
+ agentCommission?: number | null;
234
+ processDefinitionFgotId?: any;
235
+ };
236
+
237
+ export interface ClientV2 {
238
+ id: string | number;
239
+ iin: string;
240
+ fullName: string;
241
+ gender: number;
242
+ birthDate: string;
243
+ insSum: number;
244
+ premium?: number;
245
+ premiumWithLoad?: number;
246
+ position?: string;
247
+ lifeMultiply?: number;
248
+ lifeAdditive?: number;
249
+ disabilityMultiply?: number;
250
+ traumaTableMultiple?: number;
251
+ accidentalLifeMultiply?: number;
252
+ accidentalLifeAdditive?: number;
253
+ criticalMultiply?: string;
254
+ criticalAdditive?: string;
255
+ hasAttachedFile?: boolean;
256
+ }
429
257
 
430
- export type ChipComponent = {
431
- title: string;
432
- description?: string;
433
- };
258
+ export type RecalculationResponseType = {
259
+ amount: number;
260
+ premium: number;
261
+ statePremium5?: number;
262
+ statePremium7?: number;
263
+ totalAmount5?: number;
264
+ totalAmount7?: number;
265
+ mainCoverPremium: number;
266
+ addCovers: AddCover[];
267
+ amountInCurrency: number;
268
+ premiumInCurrency: number;
269
+ annuityMonthPay: string | number | null;
270
+ mainPremium?: number;
271
+ clients?: ClientV2[];
272
+ fixInsSum?: number | null;
273
+ agentCommission?: number | null;
274
+ mainInsSum?: number | null;
275
+ mainPremiumWithCommission?: number;
276
+ };
277
+
278
+ export interface AddCover {
279
+ id: string | null;
280
+ processInstanceId: string;
281
+ coverTypeId: string;
282
+ coverTypeName: string;
283
+ coverTypeCode: number;
284
+ coverSumId: string;
285
+ coverSumName: string;
286
+ coverSumCode: string;
287
+ amount: number;
288
+ premium: number;
289
+ isMigrate: boolean;
290
+ coverPeriodId?: string | null;
291
+ coverPeriodName?: string | null;
292
+ coverPeriodCode?: string | null;
293
+ calculatorValue?: number;
294
+ coverTypeNameRu?: string;
295
+ coverTypeNameKz?: string;
296
+ }
434
297
 
435
- export type GetContragentRequest = {
436
- firstName: string;
437
- lastName: string;
438
- middleName: string;
439
- iin: string;
440
- };
298
+ export type SignUrlType = {
299
+ uri: string;
300
+ shortUri: string;
301
+ iin: string | null;
302
+ longName: string | null;
303
+ phoneNumber: string | null;
304
+ signed: boolean;
305
+ };
306
+
307
+ export type SignDataType = {
308
+ processInstanceId: string;
309
+ name:
310
+ | 'Statement'
311
+ | 'Agreement'
312
+ | 'Contract'
313
+ | 'PA_Contract'
314
+ | 'PA_Statement'
315
+ | 'PA_RefundStatement'
316
+ | 'PA_RefundAgreement'
317
+ | 'PAEnpf_Agreement'
318
+ | 'InvoicePayment'
319
+ | 'RejectOSNS'
320
+ | 'RejectInsuredNotValid';
321
+ format: 'pdf' | 'xml';
322
+ };
323
+
324
+ export type SmsDataType = {
325
+ processInstanceId: string;
326
+ iin: string;
327
+ phoneNumber: string;
328
+ type: 'SignUrl' | 'PayUrl';
329
+ text: string;
330
+ };
331
+
332
+ export type RegNumberDataType = { processInstanceId: string; regNumber: string; date: string };
333
+
334
+ export type EpayShortResponse = {
335
+ id: string;
336
+ link: string;
337
+ };
338
+
339
+ export type EpayResponse = {
340
+ id: string;
341
+ processInstanceId: string;
342
+ createDate: string;
343
+ number: number;
344
+ phoneNumber: string;
345
+ amount: number;
346
+ currency: string;
347
+ dueDate: string;
348
+ transactionId: string;
349
+ transactionDate: string;
350
+ status: number;
351
+ statusName: string;
352
+ description: string;
353
+ epayHtml: string | null;
354
+ epayResponse: string | null;
355
+ paymentLink: string;
356
+ };
357
+
358
+ export type SendTask = {
359
+ decision: keyof typeof constants.actions;
360
+ taskId: string;
361
+ comment?: string;
362
+ };
363
+
364
+ export type AgentData = {
365
+ agentId?: number | null;
366
+ manId?: number;
367
+ fullName?: string;
368
+ officeId?: number | null;
369
+ officeCode?: string | null;
370
+ saleChannel?: string;
371
+ staffId?: number;
372
+ managerName?: string;
373
+ mainAgentId?: string | null;
374
+ agentNo?: string;
375
+ iin?: string | null;
376
+ };
377
+
378
+ export type ChipComponent = {
379
+ title: string;
380
+ description?: string;
381
+ };
382
+
383
+ export type GetContragentRequest = {
384
+ firstName: string;
385
+ lastName: string;
386
+ middleName: string;
387
+ iin: string;
388
+ };
389
+
390
+ export type GetContragentResponse = {
391
+ totalItems: number;
392
+ items: ContragentType[];
393
+ };
394
+
395
+ export interface ContragentType {
396
+ id: number;
397
+ type: number;
398
+ iin: string;
399
+ longName: string;
400
+ lastName: string;
401
+ firstName: string;
402
+ middleName: string | null;
403
+ birthDate: string;
404
+ gender: number;
405
+ genderName: string;
406
+ birthPlace: string;
407
+ age: number;
408
+ registrationDate: string;
409
+ verifyType: string;
410
+ verifyDate: string;
411
+ }
441
412
 
442
- export type GetContragentResponse = {
443
- totalItems: number;
444
- items: ContragentType[];
445
- };
413
+ export interface ContragentQuestionaries {
414
+ id: number;
415
+ contragentId: number;
416
+ questId: string;
417
+ questName: string;
418
+ questAnswer: string | number | null;
419
+ questAnswerName: string | null;
420
+ }
446
421
 
447
- export interface ContragentType {
448
- id: number;
449
- type: number;
450
- iin: string;
451
- longName: string;
452
- lastName: string;
453
- firstName: string;
454
- middleName: string | null;
455
- birthDate: string;
456
- gender: number;
457
- genderName: string;
458
- birthPlace: string;
459
- age: number;
460
- registrationDate: string;
461
- verifyType: string;
462
- verifyDate: string;
463
- }
422
+ export interface ContragentDocuments {
423
+ id: number;
424
+ contragentId: number;
425
+ type?: string;
426
+ typeName: string | null;
427
+ serial: string | null;
428
+ number: string | null;
429
+ issueDate: string;
430
+ expireDate: string;
431
+ issuerId: number;
432
+ issuerName: string | null;
433
+ issuerNameRu: string | null;
434
+ description: string | null;
435
+ note: string | null;
436
+ verifyType: string;
437
+ verifyDate: string;
438
+ }
464
439
 
465
- export interface ContragentQuestionaries {
466
- id: number;
467
- contragentId: number;
468
- questId: string;
469
- questName: string;
470
- questAnswer: string | number | null;
471
- questAnswerName: string | null;
472
- }
440
+ export interface ContragentAddress {
441
+ id: number;
442
+ contragentId: number;
443
+ type?: string;
444
+ address?: string;
445
+ countryCode?: string | number;
446
+ countryName?: string;
447
+ stateCode?: string | number;
448
+ stateName?: string;
449
+ cityCode?: string | number;
450
+ cityName?: string;
451
+ regionCode?: string | number | null;
452
+ regionName?: string | null;
453
+ streetName?: string;
454
+ blockNumber?: string;
455
+ apartmentNumber?: string;
456
+ cityTypeId?: number | null;
457
+ cityTypeName?: string;
458
+ microRaion?: string | null;
459
+ kvartal?: string | null;
460
+ }
473
461
 
474
- export interface ContragentDocuments {
475
- id: number;
476
- contragentId: number;
477
- type?: string;
478
- typeName: string | null;
479
- serial: string | null;
480
- number: string | null;
481
- issueDate: string;
482
- expireDate: string;
483
- issuerId: number;
484
- issuerName: string | null;
485
- issuerNameRu: string | null;
486
- description: string | null;
487
- note: string | null;
488
- verifyType: string;
489
- verifyDate: string;
490
- }
462
+ export interface ContragentContacts {
463
+ id: number;
464
+ contragentId: number;
465
+ type: string;
466
+ typeName: string;
467
+ value: string | null;
468
+ note: string | null;
469
+ primaryFlag: string;
470
+ newValue: string | null;
471
+ verifyType?: string | null;
472
+ verifyDate?: string | null;
473
+ }
491
474
 
492
- export interface ContragentAddress {
493
- id: number;
494
- contragentId: number;
495
- type?: string;
496
- address?: string;
497
- countryCode?: string | number;
498
- countryName?: string;
499
- stateCode?: string | number;
500
- stateName?: string;
501
- cityCode?: string | number;
502
- cityName?: string;
503
- regionCode?: string | number | null;
504
- regionName?: string | null;
505
- streetName?: string;
506
- blockNumber?: string;
507
- apartmentNumber?: string;
508
- cityTypeId?: number | null;
509
- cityTypeName?: string;
510
- microRaion?: string | null;
511
- kvartal?: string | null;
512
- }
475
+ export type AddCoverAnswer = {
476
+ id: string;
477
+ code: string;
478
+ calculatorValue: number;
479
+ nameKz: string;
480
+ nameRu: string;
481
+ isDefault: boolean;
482
+ };
483
+
484
+ export type PolicyAppDto = {
485
+ id?: string;
486
+ processInstanceId?: string;
487
+ policyId?: number | null;
488
+ policyNumber?: string | null;
489
+ contractDate?: string;
490
+ contractEndDate?: string;
491
+ amount?: number | null;
492
+ premium?: number | null;
493
+ mainCoverPremium?: number;
494
+ currency?: string;
495
+ isSpokesman?: boolean;
496
+ coverPeriod?: number | null;
497
+ payPeriod?: number | null;
498
+ indexRateId?: string | number;
499
+ indexRateCode?: string;
500
+ indexRateName?: string;
501
+ paymentPeriodId?: string | number;
502
+ paymentPeriodName?: string;
503
+ lifeMultiply?: number;
504
+ lifeAdditive?: number;
505
+ adbMultiply?: number;
506
+ adbAdditive?: number;
507
+ disabilityMultiply?: number;
508
+ disabilityAdditive?: number;
509
+ documentSignTypeId?: string;
510
+ documentSignTypeCode?: string;
511
+ documentSignTypeName?: string;
512
+ isDocumentsSigned?: boolean;
513
+ paymentTypeId?: string;
514
+ paymentTypeName?: string;
515
+ isPayed?: boolean;
516
+ underwritingType?: number;
517
+ annualIncome?: number | null;
518
+ calcDirect?: number;
519
+ tariffName?: string;
520
+ riskGroup?: number;
521
+ riskGroup2?: number;
522
+ lifeMultiplyClient?: number;
523
+ lifeAdditiveClient?: number;
524
+ annuityTypeId?: string;
525
+ annuityTypeName?: string;
526
+ annuityPaymentPeriodId?: string;
527
+ annuityPaymentPeriodName?: string;
528
+ guaranteedPaymentPeriod?: number | null;
529
+ paymentPeriod?: number;
530
+ annuityMonthPay?: number;
531
+ annuityPaymentBeginDate?: string;
532
+ annuityPaymentEndDate?: string;
533
+ amountInCurrency?: number | null;
534
+ premiumInCurrency?: number | null;
535
+ currencyExchangeRate?: number | null;
536
+ age?: string | number | null;
537
+ lifeTripCountries?: string[] | null;
538
+ tripPurposeId?: string | number | null;
539
+ insuredAmountId?: string | number | null;
540
+ workTypeId?: string | number | null;
541
+ sportsTypeId?: string | number | null;
542
+ singleTripDays?: string | number | null;
543
+ multipleTripMaxDays?: string | number | null;
544
+ tripInsurancePeriod?: string | number | null;
545
+ startDate?: string | null;
546
+ endDate?: string | null;
547
+ insTermInMonth?: number | null;
548
+ fixInsSum?: number | string | null;
549
+ tariffId?: string | null;
550
+ mainPremium?: number | string | null;
551
+ processDefinitionFgotId?: string | number;
552
+ mainInsSum?: number | null;
553
+ agentCommission?: number | null;
554
+ calcDate?: string;
555
+ };
556
+
557
+ export type InsisWorkDataApp = {
558
+ id?: string;
559
+ processInstanceId?: string;
560
+ agentId?: number;
561
+ agentName?: string;
562
+ salesChannel?: string;
563
+ salesChannelName?: string;
564
+ insrType?: number;
565
+ saleChanellPolicy?: string;
566
+ saleChanellPolicyName?: string;
567
+ regionPolicy?: string;
568
+ regionPolicyName?: string;
569
+ managerPolicy?: string;
570
+ managerPolicyName?: string;
571
+ insuranceProgramType?: string;
572
+ };
573
+
574
+ export type TripInsuranceAmount = {
575
+ amounts: Value[];
576
+ currency: string;
577
+ };
578
+
579
+ export type TripInsuranceDaysOptions = {
580
+ period: {
581
+ '90': string[];
582
+ '180': string[];
583
+ '270': string[];
584
+ '365': string[];
585
+ };
586
+ };
587
+ export type getTripInsuredAmountRequest = {
588
+ tripTypeID: string | number | null;
589
+ countryID: string[];
590
+ };
591
+
592
+ export type SetApplicationRequest = {
593
+ processInstanceId?: string | number | null;
594
+ id?: string | null;
595
+ addCoversDto?: AddCover[];
596
+ insuredAmountId?: string | number | null;
597
+ age?: string | number | null;
598
+ lifeTripCountries?: string[] | null;
599
+ tripPurposeId?: string | number | null;
600
+ workTypeId?: string | number | null;
601
+ sportsTypeId?: string | number | null;
602
+ singleTripDays?: number;
603
+ multipleTripMaxDays?: number;
604
+ tripInsurancePeriod?: number;
605
+ startDate?: string | null;
606
+ endDate?: string | null;
607
+ policyId?: number;
608
+ policyNumber?: string;
609
+ contractDate?: string;
610
+ contractEndDate?: string;
611
+ amount?: number;
612
+ premium?: number;
613
+ mainCoverPremium?: number;
614
+ currency?: string;
615
+ isSpokesman?: boolean;
616
+ coverPeriod?: number;
617
+ payPeriod?: number;
618
+ indexRateId?: string;
619
+ indexRateCode?: string;
620
+ indexRateName?: string;
621
+ paymentPeriodId?: string;
622
+ paymentPeriodName?: string;
623
+ lifeMultiply?: number;
624
+ lifeAdditive?: number;
625
+ adbMultiply?: number;
626
+ adbAdditive?: number;
627
+ disabilityMultiply?: number;
628
+ disabilityAdditive?: number;
629
+ documentSignTypeId?: string;
630
+ documentSignTypeCode?: string;
631
+ documentSignTypeName?: string;
632
+ isDocumentsSigned?: boolean;
633
+ paymentTypeId?: string;
634
+ paymentTypeName?: string;
635
+ isPayed?: boolean;
636
+ underwritingType?: number;
637
+ calcDirect?: number;
638
+ tariffId?: string;
639
+ tariffName?: string;
640
+ riskGroup?: number;
641
+ riskGroup2?: number;
642
+ lifeMultiplyClient?: number;
643
+ lifeAdditiveClient?: number;
644
+ annuityTypeId?: string;
645
+ annuityTypeName?: string;
646
+ annuityPaymentPeriodId?: string;
647
+ annuityPaymentPeriodName?: string;
648
+ guaranteedPaymentPeriod?: number;
649
+ paymentPeriod?: number;
650
+ annuityMonthPay?: number;
651
+ annuityPaymentBeginDate?: string;
652
+ annuityPaymentEndDate?: string;
653
+ calcDate?: string;
654
+ guaranteedPaymentBeginDate?: string;
655
+ guaranteedPaymentEndDate?: string;
656
+ annuityPaymentAmount?: number;
657
+ countPay?: number;
658
+ guaranteedPeriod?: number;
659
+ dateFirstPay?: string;
660
+ effectiveAnnualpercentage?: number;
661
+ factorCurrentValueGP?: number;
662
+ alfa?: number;
663
+ gamma?: number;
664
+ mrpPayment?: number;
665
+ };
666
+
667
+ export type KGDResponse = {
668
+ responseCode: string;
669
+ content: string | null;
670
+ lastName: string;
671
+ firstName: string;
672
+ middleName: string;
673
+ name: string;
674
+ };
675
+
676
+ export type AccidentIncidents = {
677
+ id: string | null;
678
+ processInstanceId: string | null;
679
+ coverTypeId: string | null;
680
+ coverTypeName: string | null;
681
+ coverTypeCode: number | null;
682
+ count: number | string;
683
+ amount: number | string;
684
+ shortDescription: string | null;
685
+ };
686
+
687
+ export type GovPremiums = {
688
+ statePremium5: number | null;
689
+ statePremium7: number | null;
690
+ totalAmount5: number | null;
691
+ totalAmount7: number | null;
692
+ };
693
+
694
+ export type InsuredPolicyType = {
695
+ insSum: number;
696
+ insSumWithLoad: number;
697
+ premium: number;
698
+ premiumWithLoad: number;
699
+ insuredRisk: {
700
+ lifeMultiply: number;
701
+ lifeAdditive: number;
702
+ disabilityMultiply: number;
703
+ disabilityAdditive: number;
704
+ traumaTableMultiple: number;
705
+ accidentalLifeMultiply: number;
706
+ accidentalLifeAdditive: number;
707
+ criticalMultiply: number;
708
+ criticalAdditive: number;
709
+ };
710
+ insuredCoverData: {
711
+ coverTypeEnum: number;
712
+ prmeium: number;
713
+ }[];
714
+ };
715
+
716
+ export type ResponseStructure<T> = { code: 0; message: 'OK'; data: T };
717
+
718
+ export type SignedState = {
719
+ isOnline: boolean;
720
+ signValue: number;
721
+ signName: string;
722
+ code: string;
723
+ };
724
+
725
+ export namespace Utils {
726
+ export type ProjectConfig = {
727
+ version: string;
728
+ buildTime: string;
729
+ isDown: boolean;
730
+ };
731
+ export type VuetifyAnimations = 'expand' | 'fab' | 'fade' | 'scale' | 'scroll-x' | 'scroll-y' | 'slide-x' | 'slide-x-r' | 'slide-y' | 'slide-y-r';
732
+ export type LabelSize = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
733
+ export type VIcon = { mdi?: string; color?: string; bg?: string; size?: 'x-small' | 'small' | 'default' | 'large' | 'x-large' };
734
+ }
513
735
 
514
- export interface ContragentContacts {
515
- id: number;
516
- contragentId: number;
517
- type: string;
518
- typeName: string;
519
- value: string | null;
520
- note: string | null;
521
- primaryFlag: string;
522
- newValue: string | null;
523
- verifyType?: string | null;
524
- verifyDate?: string | null;
736
+ export namespace Api {
737
+ export namespace GenerateShortLink {
738
+ export type Templates = 'halyk_pay_link_template';
739
+ export type Response = {
740
+ id: string;
741
+ link: string;
742
+ };
743
+ export type Request = { link: string; priority: string; template?: Api.GenerateShortLink.Templates };
525
744
  }
526
-
527
- export type AddCoverAnswer = {
528
- id: string;
529
- code: string;
530
- calculatorValue: number;
531
- nameKz: string;
532
- nameRu: string;
533
- isDefault: boolean;
534
- };
535
-
536
- export type PolicyAppDto = {
537
- id?: string;
538
- processInstanceId?: string;
539
- policyId?: number | null;
540
- policyNumber?: string | null;
541
- contractDate?: string;
542
- contractEndDate?: string;
543
- amount?: number | null;
544
- premium?: number | null;
545
- mainCoverPremium?: number;
546
- currency?: string;
547
- isSpokesman?: boolean;
548
- coverPeriod?: number | null;
549
- payPeriod?: number | null;
550
- indexRateId?: string | number;
551
- indexRateCode?: string;
552
- indexRateName?: string;
553
- paymentPeriodId?: string | number;
554
- paymentPeriodName?: string;
555
- lifeMultiply?: number;
556
- lifeAdditive?: number;
557
- adbMultiply?: number;
558
- adbAdditive?: number;
559
- disabilityMultiply?: number;
560
- disabilityAdditive?: number;
561
- documentSignTypeId?: string;
562
- documentSignTypeCode?: string;
563
- documentSignTypeName?: string;
564
- isDocumentsSigned?: boolean;
565
- paymentTypeId?: string;
566
- paymentTypeName?: string;
567
- isPayed?: boolean;
568
- underwritingType?: number;
569
- annualIncome?: number | null;
570
- calcDirect?: number;
571
- tariffName?: string;
572
- riskGroup?: number;
573
- riskGroup2?: number;
574
- lifeMultiplyClient?: number;
575
- lifeAdditiveClient?: number;
576
- annuityTypeId?: string;
577
- annuityTypeName?: string;
578
- annuityPaymentPeriodId?: string;
579
- annuityPaymentPeriodName?: string;
580
- guaranteedPaymentPeriod?: number | null;
581
- paymentPeriod?: number;
582
- annuityMonthPay?: number;
583
- annuityPaymentBeginDate?: string;
584
- annuityPaymentEndDate?: string;
585
- amountInCurrency?: number | null;
586
- premiumInCurrency?: number | null;
587
- currencyExchangeRate?: number | null;
588
- age?: string | number | null;
589
- lifeTripCountries?: string[] | null;
590
- tripPurposeId?: string | number | null;
591
- insuredAmountId?: string | number | null;
592
- workTypeId?: string | number | null;
593
- sportsTypeId?: string | number | null;
594
- singleTripDays?: string | number | null;
595
- multipleTripMaxDays?: string | number | null;
596
- tripInsurancePeriod?: string | number | null;
597
- startDate?: string | null;
598
- endDate?: string | null;
599
- insTermInMonth?: number | null;
600
- fixInsSum?: number | string | null;
601
- tariffId?: string | null;
602
- mainPremium?: number | string | null;
603
- processDefinitionFgotId?: string | number;
604
- mainInsSum?: number | null;
605
- agentCommission?: number | null;
606
- calcDate?: string;
607
- };
608
-
609
- export type InsisWorkDataApp = {
610
- id?: string;
611
- processInstanceId?: string;
612
- agentId?: number;
613
- agentName?: string;
614
- salesChannel?: string;
615
- salesChannelName?: string;
616
- insrType?: number;
617
- saleChanellPolicy?: string;
618
- saleChanellPolicyName?: string;
619
- regionPolicy?: string;
620
- regionPolicyName?: string;
621
- managerPolicy?: string;
622
- managerPolicyName?: string;
623
- insuranceProgramType?: string;
624
- };
625
-
626
- export type TripInsuranceAmount = {
627
- amounts: Value[];
628
- currency: string;
629
- };
630
-
631
- export type TripInsuranceDaysOptions = {
632
- period: {
633
- '90': string[];
634
- '180': string[];
635
- '270': string[];
636
- '365': string[];
745
+ export namespace GBD {
746
+ export type Request = {
747
+ iin: string;
748
+ phoneNumber: string;
637
749
  };
638
- };
639
- export type getTripInsuredAmountRequest = {
640
- tripTypeID: string | number | null;
641
- countryID: string[];
642
- };
643
-
644
- export type SetApplicationRequest = {
645
- processInstanceId?: string | number | null;
646
- id?: string | null;
647
- addCoversDto?: AddCover[];
648
- insuredAmountId?: string | number | null;
649
- age?: string | number | null;
650
- lifeTripCountries?: string[] | null;
651
- tripPurposeId?: string | number | null;
652
- workTypeId?: string | number | null;
653
- sportsTypeId?: string | number | null;
654
- singleTripDays?: number;
655
- multipleTripMaxDays?: number;
656
- tripInsurancePeriod?: number;
657
- startDate?: string | null;
658
- endDate?: string | null;
659
- policyId?: number;
660
- policyNumber?: string;
661
- contractDate?: string;
662
- contractEndDate?: string;
663
- amount?: number;
664
- premium?: number;
665
- mainCoverPremium?: number;
666
- currency?: string;
667
- isSpokesman?: boolean;
668
- coverPeriod?: number;
669
- payPeriod?: number;
670
- indexRateId?: string;
671
- indexRateCode?: string;
672
- indexRateName?: string;
673
- paymentPeriodId?: string;
674
- paymentPeriodName?: string;
675
- lifeMultiply?: number;
676
- lifeAdditive?: number;
677
- adbMultiply?: number;
678
- adbAdditive?: number;
679
- disabilityMultiply?: number;
680
- disabilityAdditive?: number;
681
- documentSignTypeId?: string;
682
- documentSignTypeCode?: string;
683
- documentSignTypeName?: string;
684
- isDocumentsSigned?: boolean;
685
- paymentTypeId?: string;
686
- paymentTypeName?: string;
687
- isPayed?: boolean;
688
- underwritingType?: number;
689
- calcDirect?: number;
690
- tariffId?: string;
691
- tariffName?: string;
692
- riskGroup?: number;
693
- riskGroup2?: number;
694
- lifeMultiplyClient?: number;
695
- lifeAdditiveClient?: number;
696
- annuityTypeId?: string;
697
- annuityTypeName?: string;
698
- annuityPaymentPeriodId?: string;
699
- annuityPaymentPeriodName?: string;
700
- guaranteedPaymentPeriod?: number;
701
- paymentPeriod?: number;
702
- annuityMonthPay?: number;
703
- annuityPaymentBeginDate?: string;
704
- annuityPaymentEndDate?: string;
705
- calcDate?: string;
706
- guaranteedPaymentBeginDate?: string;
707
- guaranteedPaymentEndDate?: string;
708
- annuityPaymentAmount?: number;
709
- countPay?: number;
710
- guaranteedPeriod?: number;
711
- dateFirstPay?: string;
712
- effectiveAnnualpercentage?: number;
713
- factorCurrentValueGP?: number;
714
- alfa?: number;
715
- gamma?: number;
716
- mrpPayment?: number;
717
- };
718
-
719
- export type KGDResponse = {
720
- responseCode: string;
721
- content: string | null;
722
- lastName: string;
723
- firstName: string;
724
- middleName: string;
725
- name: string;
726
- };
727
-
728
- export type AccidentIncidents = {
729
- id: string | null;
730
- processInstanceId: string | null;
731
- coverTypeId: string | null;
732
- coverTypeName: string | null;
733
- coverTypeCode: number | null;
734
- count: number | string;
735
- amount: number | string;
736
- shortDescription: string | null;
737
- };
738
-
739
- export type GovPremiums = {
740
- statePremium5: number | null;
741
- statePremium7: number | null;
742
- totalAmount5: number | null;
743
- totalAmount7: number | null;
744
- };
745
-
746
- export type InsuredPolicyType = {
747
- insSum: number;
748
- insSumWithLoad: number;
749
- premium: number;
750
- premiumWithLoad: number;
751
- insuredRisk: {
752
- lifeMultiply: number;
753
- lifeAdditive: number;
754
- disabilityMultiply: number;
755
- disabilityAdditive: number;
756
- traumaTableMultiple: number;
757
- accidentalLifeMultiply: number;
758
- accidentalLifeAdditive: number;
759
- criticalMultiply: number;
760
- criticalAdditive: number;
750
+ export type UlRequest = { userName: string; branchName: string; bin: string };
751
+ export type Response = {
752
+ status: string;
753
+ statusName: string;
754
+ content: string;
761
755
  };
762
- insuredCoverData: {
763
- coverTypeEnum: number;
764
- prmeium: number;
765
- }[];
766
- };
767
-
768
- export type ResponseStructure<T> = { code: 0; message: 'OK'; data: T };
769
-
770
- export type SignedState = {
771
- isOnline: boolean;
772
- signValue: number;
773
- signName: string;
774
- code: string;
775
- };
776
-
777
- export namespace Utils {
778
- export type ProjectConfig = {
779
- version: string;
780
- buildTime: string;
781
- isDown: boolean;
756
+ export type Dict = {
757
+ code: string;
758
+ nameRu: string;
759
+ nameKz: string;
760
+ changeDate: string;
782
761
  };
783
- export type VuetifyAnimations = 'expand' | 'fab' | 'fade' | 'scale' | 'scroll-x' | 'scroll-y' | 'slide-x' | 'slide-x-r' | 'slide-y' | 'slide-y-r';
784
- export type LabelSize = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
785
- export type VIcon = { mdi?: string; color?: string; bg?: string; size?: 'x-small' | 'small' | 'default' | 'large' | 'x-large' };
786
- }
787
-
788
- export namespace Api {
789
- export namespace GenerateShortLink {
790
- export type Templates = 'halyk_pay_link_template';
791
- export type Response = {
792
- id: string;
793
- link: string;
794
- };
795
- export type Request = { link: string; priority: string; template?: Api.GenerateShortLink.Templates };
796
- }
797
- export namespace GBD {
798
- export type Request = {
799
- iin: string;
800
- phoneNumber: string;
801
- };
802
- export type UlRequest = { userName: string; branchName: string; bin: string };
803
- export type Response = {
804
- status: string;
805
- statusName: string;
806
- content: string;
807
- };
808
- export type Dict = {
809
- code: string;
810
- nameRu: string;
811
- nameKz: string;
812
- changeDate: string;
813
- };
814
- export type Document = {
815
- type: Api.GBD.Dict & { code: Enums.GBD.DocTypes };
762
+ export type Document = {
763
+ type: Api.GBD.Dict & { code: Enums.GBD.DocTypes };
764
+ beginDate: string;
765
+ endDate: string;
766
+ number: string;
767
+ issueOrganization: Api.GBD.Dict;
768
+ status: Api.GBD.Dict;
769
+ surname: string;
770
+ name: string;
771
+ patronymic?: string;
772
+ birthDate: string;
773
+ };
774
+ export type Person = {
775
+ iin: string;
776
+ surname: string;
777
+ name: string;
778
+ patronymic?: string;
779
+ engFirstName: string;
780
+ engSurname: string;
781
+ birthDate: string;
782
+ gender: Api.GBD.Dict;
783
+ nationality: Api.GBD.Dict;
784
+ citizenship: Api.GBD.Dict;
785
+ lifeStatus: Api.GBD.Dict;
786
+ birthPlace: { country: Api.GBD.Dict; district: Api.GBD.Dict; region: Api.GBD.Dict; city: any };
787
+ regAddress: {
788
+ country: Api.GBD.Dict;
789
+ district: Api.GBD.Dict;
790
+ region: Api.GBD.Dict;
791
+ street: string;
792
+ city: string;
793
+ building: string;
794
+ flat: string;
816
795
  beginDate: string;
817
- endDate: string;
818
- number: string;
819
- issueOrganization: Api.GBD.Dict;
820
796
  status: Api.GBD.Dict;
821
- surname: string;
822
- name: string;
823
- patronymic?: string;
824
- birthDate: string;
825
- };
826
- export type Person = {
827
- iin: string;
828
- surname: string;
829
- name: string;
830
- patronymic?: string;
831
- engFirstName: string;
832
- engSurname: string;
833
- birthDate: string;
834
- gender: Api.GBD.Dict;
835
- nationality: Api.GBD.Dict;
836
- citizenship: Api.GBD.Dict;
837
- lifeStatus: Api.GBD.Dict;
838
- birthPlace: { country: Api.GBD.Dict; district: Api.GBD.Dict; region: Api.GBD.Dict; city: any };
839
- regAddress: {
840
- country: Api.GBD.Dict;
841
- district: Api.GBD.Dict;
842
- region: Api.GBD.Dict;
843
- street: string;
844
- city: string;
845
- building: string;
846
- flat: string;
847
- beginDate: string;
848
- status: Api.GBD.Dict;
849
- invalidity: Api.GBD.Dict;
850
- arcode: string;
851
- };
852
- documents: {
853
- document: Api.GBD.Document | Api.GBD.Document[];
854
- };
855
- addresses: any;
797
+ invalidity: Api.GBD.Dict;
798
+ arcode: string;
856
799
  };
857
- }
858
- export namespace GKB {
859
- export type Response = {
860
- infoList: Api.GKB.BirthInfoList;
861
- status: string;
862
- statusName: string;
863
- content: null;
800
+ documents: {
801
+ document: Api.GBD.Document | Api.GBD.Document[];
864
802
  };
865
- export type BirthInfoList = {
866
- birthInfos: Api.GKB.BirthInfo[];
867
- };
868
- export type BirthInfo = {
869
- actDate?: string;
870
- actNumber?: string;
871
- childBirthDate?: string;
872
- childIIN?: string;
873
- childLifeStatus?: number;
874
- childName?: string;
875
- childPatronymic?: string;
876
- childSurName?: string;
877
- fatherBirthDate?: string;
878
- fatherLifeStatus?: number;
879
- fatherIIN?: string;
880
- fatherName?: string;
881
- fatherPatronymic?: string;
882
- fatherSurName?: string;
883
- marriageActDate?: string;
884
- marriageActNumber?: string;
885
- marriageActPlace?: string;
886
- motherApplication?: number;
887
- motherBirthDate?: string;
888
- motherLifeStatus?: string | null;
889
- motherIIN?: string | null;
890
- motherName?: string | null;
891
- motherPatronymic?: string | null;
892
- motherSurName?: string | null;
893
- zagsCode?: string;
894
- zagsNameKZ?: string;
895
- zagsNameRU?: string;
896
- };
897
- }
898
-
899
- export namespace KGD {
900
- export type Response = {
901
- responseCode: string;
902
- content: string | null;
903
- lastName: string;
904
- firstName: string;
905
- middleName: string;
906
- name: string;
907
- };
908
- }
803
+ addresses: any;
804
+ };
805
+ }
806
+ export namespace GKB {
807
+ export type Response = {
808
+ infoList: Api.GKB.BirthInfoList;
809
+ status: string;
810
+ statusName: string;
811
+ content: null;
812
+ };
813
+ export type BirthInfoList = {
814
+ birthInfos: Api.GKB.BirthInfo[];
815
+ };
816
+ export type BirthInfo = {
817
+ actDate?: string;
818
+ actNumber?: string;
819
+ childBirthDate?: string;
820
+ childIIN?: string;
821
+ childLifeStatus?: number;
822
+ childName?: string;
823
+ childPatronymic?: string;
824
+ childSurName?: string;
825
+ fatherBirthDate?: string;
826
+ fatherLifeStatus?: number;
827
+ fatherIIN?: string;
828
+ fatherName?: string;
829
+ fatherPatronymic?: string;
830
+ fatherSurName?: string;
831
+ marriageActDate?: string;
832
+ marriageActNumber?: string;
833
+ marriageActPlace?: string;
834
+ motherApplication?: number;
835
+ motherBirthDate?: string;
836
+ motherLifeStatus?: string | null;
837
+ motherIIN?: string | null;
838
+ motherName?: string | null;
839
+ motherPatronymic?: string | null;
840
+ motherSurName?: string | null;
841
+ zagsCode?: string;
842
+ zagsNameKZ?: string;
843
+ zagsNameRU?: string;
844
+ };
909
845
  }
910
846
 
911
- export namespace Dicts {
912
- export type WorkPosition = { workPositionClassCode: string; workPositionCode: string; workPositionName: string };
847
+ export namespace KGD {
848
+ export type Response = {
849
+ responseCode: string;
850
+ content: string | null;
851
+ lastName: string;
852
+ firstName: string;
853
+ middleName: string;
854
+ name: string;
855
+ };
913
856
  }
914
857
  }
858
+
859
+ export namespace Dicts {
860
+ export type WorkPosition = { workPositionClassCode: string; workPositionCode: string; workPositionName: string };
861
+ }