hl-core 0.0.10-beta.2 → 0.0.10-beta.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import { MemberCodes, Methods } from '../types/enum';
2
2
  import { useAxiosInstance } from '../composables/axios';
3
- import { Value, IDocument, CountryValue } from '../composables/classes';
3
+ import { Value, IDocument } from '../composables/classes';
4
4
 
5
5
  export class ApiClass {
6
6
  private readonly baseURL: string = import.meta.env.VITE_BASE_URL as string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hl-core",
3
- "version": "0.0.10-beta.2",
3
+ "version": "0.0.10-beta.3",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "nuxt.config.ts",
package/types/env.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  /// <reference types="vite/client" />
2
2
 
3
- interface ImportMetaEnv {
3
+ export interface ImportMetaEnv {
4
4
  readonly VITE_MODE: EnvModes;
5
5
  readonly VITE_PRODUCT?: Projects;
6
6
  readonly VITE_PARENT_PRODUCT?: 'efo' | 'auletti';
7
7
  readonly VITE_COMMIT_VERSION?: string;
8
8
  }
9
9
 
10
- interface ImportMeta {
10
+ export interface ImportMeta {
11
11
  readonly env: ImportMetaEnv;
12
12
  }
package/types/form.ts CHANGED
@@ -1,5 +1,3 @@
1
- export {};
2
-
3
1
  export enum FieldTypes {
4
2
  TEXT = 'text',
5
3
  NUMBER = 'number',
@@ -8,14 +6,15 @@ export enum FieldTypes {
8
6
  PASSWORD = 'password',
9
7
  FILE = 'file',
10
8
  }
9
+ export {};
11
10
 
12
11
  declare global {
13
- type InputType = TextInput | NumberInput | FileInput | SwitchInput;
14
- type FormMasks = 'numbers' | 'iin' | 'otp' | 'phone' | 'date' | 'post' | 'threeDigit' | 'iik';
15
- type FormIcons = 'arrowRight' | 'search' | 'sms' | null;
16
- type Suffix = 'kzt' | 'usd' | 'percent' | null;
12
+ export type InputType = TextInput | NumberInput | FileInput | SwitchInput;
13
+ export type FormMasks = 'numbers' | 'iin' | 'otp' | 'phone' | 'date' | 'post' | 'threeDigit' | 'iik';
14
+ export type FormIcons = 'arrowRight' | 'search' | 'sms' | null;
15
+ export type Suffix = 'kzt' | 'usd' | 'percent' | null;
17
16
 
18
- type FetchFunctions =
17
+ export type FetchFunctions =
19
18
  | 'getResidents'
20
19
  | 'getFamilyStatuses'
21
20
  | 'getRelationTypes'
@@ -40,7 +39,7 @@ declare global {
40
39
  fieldOrder?: string[];
41
40
  }
42
41
 
43
- type InputBase = {
42
+ export type InputBase = {
44
43
  key?: any;
45
44
  modelValue?: any;
46
45
  clearable?: boolean;
@@ -59,21 +58,21 @@ declare global {
59
58
  fetchFrom?: FetchFunctions | null;
60
59
  };
61
60
 
62
- type FormControl<T extends InputType> = T & {
61
+ export type FormControl<T extends InputType> = T & {
63
62
  valid: boolean;
64
63
  dirty: boolean;
65
64
  touched: boolean;
66
65
  };
67
66
 
68
- type FileInput = InputBase & {
67
+ export type FileInput = InputBase & {
69
68
  type: FieldTypes.FILE;
70
69
  };
71
70
 
72
- type TextInput = InputBase & {
71
+ export type TextInput = InputBase & {
73
72
  type: FieldTypes.TEXT;
74
73
  };
75
74
 
76
- type SwitchInput = InputBase & {
75
+ export type SwitchInput = InputBase & {
77
76
  type: FieldTypes.SWITCH;
78
77
  labeling: boolean | null;
79
78
  direction: 'horizontal' | 'vertical';
@@ -81,13 +80,13 @@ declare global {
81
80
  trueValue: boolean | string | null;
82
81
  };
83
82
 
84
- type NumberInput = InputBase & {
83
+ export type NumberInput = InputBase & {
85
84
  type: FieldTypes.NUMBER;
86
85
  };
87
86
 
88
- type ValidationRule = (value: string) => boolean | string;
87
+ export type ValidationRule = (value: string) => boolean | string;
89
88
 
90
- type SectionType = {
89
+ export type SectionType = {
91
90
  title?: string;
92
91
  fields: InputType[];
93
92
  };
package/types/index.ts CHANGED
@@ -2,12 +2,10 @@ 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
-
6
5
  export {};
7
-
8
6
  declare global {
9
- type EnvModes = 'development' | 'test' | 'production';
10
- type Projects =
7
+ export type EnvModes = 'development' | 'test' | 'production';
8
+ export type Projects =
11
9
  | 'aml'
12
10
  | 'baiterek'
13
11
  | 'bolashak'
@@ -31,15 +29,15 @@ declare global {
31
29
  | 'auletti'
32
30
  | 'lka-auletti'
33
31
  | 'prepensionannuity';
34
- type MemberKeys = keyof ReturnType<typeof useFormStore>;
35
- type MemberFormTypes = 'policyholderForm' | 'insuredForm' | 'beneficiaryForm' | 'beneficialOwnerForm' | 'policyholdersRepresentativeForm' | 'productConditionsForm';
36
- type SingleMember = 'policyholderForm' | 'policyholdersRepresentativeForm';
37
- type MultipleMember = 'insuredForm' | 'beneficiaryForm' | 'beneficialOwnerForm';
38
- type PanelTypes = 'settings' | 'panel' | 'rightPanel';
39
- type FileActions = 'view' | 'download';
40
- type RouteType = RouteLocationNormalizedLoaded | RouteLocationNormalized;
41
- type InputVariants = 'solo' | 'filled' | 'outlined' | 'plain' | 'underlined';
42
- type InputTypes =
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 =
43
41
  | 'button'
44
42
  | 'checkbox'
45
43
  | 'color'
@@ -63,19 +61,19 @@ declare global {
63
61
  | 'url'
64
62
  | 'week';
65
63
 
66
- type NestedKeyOf<ObjectType extends object> = {
64
+ export type NestedKeyOf<ObjectType extends object> = {
67
65
  [Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object ? `${Key}` | `${Key}.${NestedKeyOf<ObjectType[Key]>}` : Key;
68
66
  }[keyof ObjectType & (string | number)];
69
67
 
70
- type FinalNestedKeyOf<ObjectType extends object> = {
68
+ export type FinalNestedKeyOf<ObjectType extends object> = {
71
69
  [Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object ? `${Key}.${NestedKeyOf<ObjectType[Key]>}` : Key;
72
70
  }[keyof ObjectType & (string | number)];
73
71
 
74
- interface AxiosRequestLocalConfig extends AxiosRequestConfig {
72
+ export interface AxiosRequestLocalConfig extends AxiosRequestConfig {
75
73
  method: Methods | keyof typeof Methods;
76
74
  }
77
75
 
78
- interface TaskListItem {
76
+ export interface TaskListItem {
79
77
  addRegNumber: string | number;
80
78
  applicationTaskId: string;
81
79
  dateCreated: string;
@@ -95,7 +93,7 @@ declare global {
95
93
  userName: string;
96
94
  level?: string;
97
95
  }
98
- type TaskHistory = {
96
+ export type TaskHistory = {
99
97
  appointmentDate: string | null;
100
98
  comment: string | null;
101
99
  dateCreated: string;
@@ -112,21 +110,21 @@ declare global {
112
110
  violationText: string | null;
113
111
  };
114
112
 
115
- type Item = {
113
+ export type Item = {
116
114
  itemCode: string;
117
115
  itemId: number;
118
116
  itemName: string;
119
117
  };
120
118
 
121
119
  // Remove
122
- type GBDFLResponse = {
120
+ export type GBDFLResponse = {
123
121
  status: string;
124
122
  statusName: string;
125
123
  content: string;
126
124
  };
127
125
 
128
126
  // Remove
129
- type FamilyInfoGKB = {
127
+ export type FamilyInfoGKB = {
130
128
  infoList: InfoListGKB;
131
129
  status: string;
132
130
  statusName: string;
@@ -134,12 +132,12 @@ declare global {
134
132
  };
135
133
 
136
134
  // Remove
137
- type InfoListGKB = {
135
+ export type InfoListGKB = {
138
136
  birthInfos: BirthInfoGKB[];
139
137
  };
140
138
 
141
139
  // Remove
142
- type BirthInfoGKB = {
140
+ export type BirthInfoGKB = {
143
141
  actDate?: string;
144
142
  actNumber?: string;
145
143
  childBirthDate?: string;
@@ -169,12 +167,12 @@ declare global {
169
167
  zagsNameRU?: string;
170
168
  };
171
169
 
172
- type AnketaBody = {
170
+ export type AnketaBody = {
173
171
  first: EachAnketa;
174
172
  second: AnketaSecond[] | null;
175
173
  };
176
174
 
177
- type EachAnketa = {
175
+ export type EachAnketa = {
178
176
  id: string;
179
177
  name: string;
180
178
  answerType: AnswerType;
@@ -203,7 +201,7 @@ declare global {
203
201
  D = 'D',
204
202
  }
205
203
 
206
- type AnketaFirst = {
204
+ export type AnketaFirst = {
207
205
  id: string;
208
206
  insuredId: string | null;
209
207
  body: AnketaBody[];
@@ -211,7 +209,7 @@ declare global {
211
209
  clientId: string | null;
212
210
  };
213
211
 
214
- type AnketaSecond = {
212
+ export type AnketaSecond = {
215
213
  id: string;
216
214
  name: string;
217
215
  answerType: AnswerType;
@@ -223,7 +221,7 @@ declare global {
223
221
  answerText: string | null;
224
222
  };
225
223
 
226
- type SendOtpResponse = {
224
+ export type SendOtpResponse = {
227
225
  tokenId?: string;
228
226
  errMessage?: string | null;
229
227
  result?: string | null;
@@ -231,9 +229,9 @@ declare global {
231
229
  statusName?: string | null;
232
230
  };
233
231
 
234
- type OtpDataType = { iin: string; phoneNumber: string; type: string; processInstanceId?: string | number };
232
+ export type OtpDataType = { iin: string; phoneNumber: string; type: string; processInstanceId?: string | number };
235
233
 
236
- type StartApplicationType = {
234
+ export type StartApplicationType = {
237
235
  clientId: string | number | null;
238
236
  iin: string;
239
237
  longName: string;
@@ -241,7 +239,7 @@ declare global {
241
239
  policyId: number;
242
240
  };
243
241
 
244
- type ESBDValidationType = {
242
+ export type ESBDValidationType = {
245
243
  personType: number;
246
244
  iin: string;
247
245
  lastName: string;
@@ -259,14 +257,14 @@ declare global {
259
257
  countryId: number;
260
258
  };
261
259
 
262
- type ESBDResponseType = {
260
+ export type ESBDResponseType = {
263
261
  errorCode: number;
264
262
  errorMsg: string;
265
263
  esbdClientID: number;
266
264
  verifiedDate: string;
267
265
  };
268
266
 
269
- type RecalculationDataType = {
267
+ export type RecalculationDataType = {
270
268
  signDate?: string;
271
269
  birthDate?: string;
272
270
  gender: number;
@@ -288,7 +286,7 @@ declare global {
288
286
  processDefinitionFgotId?: any;
289
287
  };
290
288
 
291
- interface ClientV2 {
289
+ export interface ClientV2 {
292
290
  id: string | number;
293
291
  iin: string;
294
292
  fullName: string;
@@ -309,7 +307,7 @@ declare global {
309
307
  hasAttachedFile?: boolean;
310
308
  }
311
309
 
312
- type RecalculationResponseType = {
310
+ export type RecalculationResponseType = {
313
311
  amount: number;
314
312
  premium: number;
315
313
  statePremium5?: number;
@@ -329,7 +327,7 @@ declare global {
329
327
  mainPremiumWithCommission?: number;
330
328
  };
331
329
 
332
- interface AddCover {
330
+ export interface AddCover {
333
331
  id: string | null;
334
332
  processInstanceId: string;
335
333
  coverTypeId: string;
@@ -349,7 +347,7 @@ declare global {
349
347
  coverTypeNameKz?: string;
350
348
  }
351
349
 
352
- type SignUrlType = {
350
+ export type SignUrlType = {
353
351
  uri: string;
354
352
  shortUri: string;
355
353
  iin: string | null;
@@ -358,7 +356,7 @@ declare global {
358
356
  signed: boolean;
359
357
  };
360
358
 
361
- type SignDataType = {
359
+ export type SignDataType = {
362
360
  processInstanceId: string;
363
361
  name:
364
362
  | 'Statement'
@@ -375,7 +373,7 @@ declare global {
375
373
  format: 'pdf' | 'xml';
376
374
  };
377
375
 
378
- type SmsDataType = {
376
+ export type SmsDataType = {
379
377
  processInstanceId: string;
380
378
  iin: string;
381
379
  phoneNumber: string;
@@ -383,14 +381,14 @@ declare global {
383
381
  text: string;
384
382
  };
385
383
 
386
- type RegNumberDataType = { processInstanceId: string; regNumber: string; date: string };
384
+ export type RegNumberDataType = { processInstanceId: string; regNumber: string; date: string };
387
385
 
388
- type EpayShortResponse = {
386
+ export type EpayShortResponse = {
389
387
  id: string;
390
388
  link: string;
391
389
  };
392
390
 
393
- type EpayResponse = {
391
+ export type EpayResponse = {
394
392
  id: string;
395
393
  processInstanceId: string;
396
394
  createDate: string;
@@ -409,13 +407,13 @@ declare global {
409
407
  paymentLink: string;
410
408
  };
411
409
 
412
- type SendTask = {
410
+ export type SendTask = {
413
411
  decision: keyof typeof constants.actions;
414
412
  taskId: string;
415
413
  comment?: string;
416
414
  };
417
415
 
418
- type AgentData = {
416
+ export type AgentData = {
419
417
  agentId?: number | null;
420
418
  manId?: number;
421
419
  fullName?: string;
@@ -429,24 +427,24 @@ declare global {
429
427
  iin?: string | null;
430
428
  };
431
429
 
432
- type ChipComponent = {
430
+ export type ChipComponent = {
433
431
  title: string;
434
432
  description?: string;
435
433
  };
436
434
 
437
- type GetContragentRequest = {
435
+ export type GetContragentRequest = {
438
436
  firstName: string;
439
437
  lastName: string;
440
438
  middleName: string;
441
439
  iin: string;
442
440
  };
443
441
 
444
- type GetContragentResponse = {
442
+ export type GetContragentResponse = {
445
443
  totalItems: number;
446
444
  items: ContragentType[];
447
445
  };
448
446
 
449
- interface ContragentType {
447
+ export interface ContragentType {
450
448
  id: number;
451
449
  type: number;
452
450
  iin: string;
@@ -464,7 +462,7 @@ declare global {
464
462
  verifyDate: string;
465
463
  }
466
464
 
467
- interface ContragentQuestionaries {
465
+ export interface ContragentQuestionaries {
468
466
  id: number;
469
467
  contragentId: number;
470
468
  questId: string;
@@ -473,7 +471,7 @@ declare global {
473
471
  questAnswerName: string | null;
474
472
  }
475
473
 
476
- interface ContragentDocuments {
474
+ export interface ContragentDocuments {
477
475
  id: number;
478
476
  contragentId: number;
479
477
  type?: string;
@@ -491,7 +489,7 @@ declare global {
491
489
  verifyDate: string;
492
490
  }
493
491
 
494
- interface ContragentAddress {
492
+ export interface ContragentAddress {
495
493
  id: number;
496
494
  contragentId: number;
497
495
  type?: string;
@@ -513,7 +511,7 @@ declare global {
513
511
  kvartal?: string | null;
514
512
  }
515
513
 
516
- interface ContragentContacts {
514
+ export interface ContragentContacts {
517
515
  id: number;
518
516
  contragentId: number;
519
517
  type: string;
@@ -526,7 +524,7 @@ declare global {
526
524
  verifyDate?: string | null;
527
525
  }
528
526
 
529
- type AddCoverAnswer = {
527
+ export type AddCoverAnswer = {
530
528
  id: string;
531
529
  code: string;
532
530
  calculatorValue: number;
@@ -535,7 +533,7 @@ declare global {
535
533
  isDefault: boolean;
536
534
  };
537
535
 
538
- type PolicyAppDto = {
536
+ export type PolicyAppDto = {
539
537
  id?: string;
540
538
  processInstanceId?: string;
541
539
  policyId?: number | null;
@@ -608,7 +606,7 @@ declare global {
608
606
  calcDate?: string;
609
607
  };
610
608
 
611
- type InsisWorkDataApp = {
609
+ export type InsisWorkDataApp = {
612
610
  id?: string;
613
611
  processInstanceId?: string;
614
612
  agentId?: number;
@@ -625,12 +623,12 @@ declare global {
625
623
  insuranceProgramType?: string;
626
624
  };
627
625
 
628
- type TripInsuranceAmount = {
626
+ export type TripInsuranceAmount = {
629
627
  amounts: Value[];
630
628
  currency: string;
631
629
  };
632
630
 
633
- type TripInsuranceDaysOptions = {
631
+ export type TripInsuranceDaysOptions = {
634
632
  period: {
635
633
  '90': string[];
636
634
  '180': string[];
@@ -638,12 +636,12 @@ declare global {
638
636
  '365': string[];
639
637
  };
640
638
  };
641
- type getTripInsuredAmountRequest = {
639
+ export type getTripInsuredAmountRequest = {
642
640
  tripTypeID: string | number | null;
643
641
  countryID: string[];
644
642
  };
645
643
 
646
- type SetApplicationRequest = {
644
+ export type SetApplicationRequest = {
647
645
  processInstanceId?: string | number | null;
648
646
  id?: string | null;
649
647
  addCoversDto?: AddCover[];
@@ -718,7 +716,7 @@ declare global {
718
716
  mrpPayment?: number;
719
717
  };
720
718
 
721
- type KGDResponse = {
719
+ export type KGDResponse = {
722
720
  responseCode: string;
723
721
  content: string | null;
724
722
  lastName: string;
@@ -727,7 +725,7 @@ declare global {
727
725
  name: string;
728
726
  };
729
727
 
730
- type AccidentIncidents = {
728
+ export type AccidentIncidents = {
731
729
  id: string | null;
732
730
  processInstanceId: string | null;
733
731
  coverTypeId: string | null;
@@ -738,14 +736,14 @@ declare global {
738
736
  shortDescription: string | null;
739
737
  };
740
738
 
741
- type GovPremiums = {
739
+ export type GovPremiums = {
742
740
  statePremium5: number | null;
743
741
  statePremium7: number | null;
744
742
  totalAmount5: number | null;
745
743
  totalAmount7: number | null;
746
744
  };
747
745
 
748
- type InsuredPolicyType = {
746
+ export type InsuredPolicyType = {
749
747
  insSum: number;
750
748
  insSumWithLoad: number;
751
749
  premium: number;
@@ -767,53 +765,53 @@ declare global {
767
765
  }[];
768
766
  };
769
767
 
770
- type ResponseStructure<T> = { code: 0; message: 'OK'; data: T };
768
+ export type ResponseStructure<T> = { code: 0; message: 'OK'; data: T };
771
769
 
772
- type SignedState = {
770
+ export type SignedState = {
773
771
  isOnline: boolean;
774
772
  signValue: number;
775
773
  signName: string;
776
774
  code: string;
777
775
  };
778
776
 
779
- namespace Utils {
780
- type ProjectConfig = {
777
+ export namespace Utils {
778
+ export type ProjectConfig = {
781
779
  version: string;
782
780
  buildTime: string;
783
781
  isDown: boolean;
784
782
  };
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' };
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' };
788
786
  }
789
787
 
790
- namespace Api {
791
- namespace GenerateShortLink {
792
- type Templates = 'halyk_pay_link_template';
793
- type Response = {
788
+ export namespace Api {
789
+ export namespace GenerateShortLink {
790
+ export type Templates = 'halyk_pay_link_template';
791
+ export type Response = {
794
792
  id: string;
795
793
  link: string;
796
794
  };
797
- type Request = { link: string; priority: string; template?: Api.GenerateShortLink.Templates };
795
+ export type Request = { link: string; priority: string; template?: Api.GenerateShortLink.Templates };
798
796
  }
799
- namespace GBD {
800
- type Request = {
797
+ export namespace GBD {
798
+ export type Request = {
801
799
  iin: string;
802
800
  phoneNumber: string;
803
801
  };
804
- type UlRequest = { userName: string; branchName: string; bin: string };
805
- type Response = {
802
+ export type UlRequest = { userName: string; branchName: string; bin: string };
803
+ export type Response = {
806
804
  status: string;
807
805
  statusName: string;
808
806
  content: string;
809
807
  };
810
- type Dict = {
808
+ export type Dict = {
811
809
  code: string;
812
810
  nameRu: string;
813
811
  nameKz: string;
814
812
  changeDate: string;
815
813
  };
816
- type Document = {
814
+ export type Document = {
817
815
  type: Api.GBD.Dict & { code: Enums.GBD.DocTypes };
818
816
  beginDate: string;
819
817
  endDate: string;
@@ -825,7 +823,7 @@ declare global {
825
823
  patronymic?: string;
826
824
  birthDate: string;
827
825
  };
828
- type Person = {
826
+ export type Person = {
829
827
  iin: string;
830
828
  surname: string;
831
829
  name: string;
@@ -857,17 +855,17 @@ declare global {
857
855
  addresses: any;
858
856
  };
859
857
  }
860
- namespace GKB {
861
- type Response = {
858
+ export namespace GKB {
859
+ export type Response = {
862
860
  infoList: Api.GKB.BirthInfoList;
863
861
  status: string;
864
862
  statusName: string;
865
863
  content: null;
866
864
  };
867
- type BirthInfoList = {
865
+ export type BirthInfoList = {
868
866
  birthInfos: Api.GKB.BirthInfo[];
869
867
  };
870
- type BirthInfo = {
868
+ export type BirthInfo = {
871
869
  actDate?: string;
872
870
  actNumber?: string;
873
871
  childBirthDate?: string;
@@ -898,8 +896,8 @@ declare global {
898
896
  };
899
897
  }
900
898
 
901
- namespace KGD {
902
- type Response = {
899
+ export namespace KGD {
900
+ export type Response = {
903
901
  responseCode: string;
904
902
  content: string | null;
905
903
  lastName: string;
@@ -910,7 +908,7 @@ declare global {
910
908
  }
911
909
  }
912
910
 
913
- namespace Dicts {
914
- type WorkPosition = { workPositionClassCode: string; workPositionCode: string; workPositionName: string };
911
+ export namespace Dicts {
912
+ export type WorkPosition = { workPositionClassCode: string; workPositionCode: string; workPositionName: string };
915
913
  }
916
914
  }