hl-core 0.0.9-beta.2 → 0.0.9-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/components/Complex/MessageBlock.vue +1 -1
- package/components/Form/ManagerAttachment.vue +2 -2
- package/composables/classes.ts +5 -5
- package/composables/constants.ts +4 -0
- package/composables/index.ts +10 -4
- package/locales/kz.json +5 -0
- package/locales/ru.json +5 -0
- package/package.json +3 -3
- package/store/data.store.ts +28 -24
- package/types/index.ts +39 -26
|
@@ -129,9 +129,9 @@ export default defineComponent({
|
|
|
129
129
|
dataStore.panel.title = title;
|
|
130
130
|
currentDictName.value = currentDict;
|
|
131
131
|
|
|
132
|
-
if (currentDict === 'ManagerPolicy') {
|
|
132
|
+
if (currentDict === 'ManagerPolicy' && formStore.RegionPolicy.ids) {
|
|
133
133
|
isPanelLoading.value = true;
|
|
134
|
-
await dataStore.filterManagerByRegion(
|
|
134
|
+
await dataStore.filterManagerByRegion(formStore.RegionPolicy.ids as string);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
isPanelOpen.value = true;
|
package/composables/classes.ts
CHANGED
|
@@ -405,11 +405,11 @@ export class Member extends Person {
|
|
|
405
405
|
registrationRegion: Value;
|
|
406
406
|
registrationRegionType: Value;
|
|
407
407
|
registrationCity: Value;
|
|
408
|
-
registrationQuarter
|
|
409
|
-
registrationMicroDistrict
|
|
410
|
-
registrationStreet
|
|
411
|
-
registrationNumberHouse
|
|
412
|
-
registrationNumberApartment
|
|
408
|
+
registrationQuarter?: string | null;
|
|
409
|
+
registrationMicroDistrict?: string | null;
|
|
410
|
+
registrationStreet?: string | null;
|
|
411
|
+
registrationNumberHouse?: string | null;
|
|
412
|
+
registrationNumberApartment?: string | null;
|
|
413
413
|
birthRegion: Value;
|
|
414
414
|
documentType: Value;
|
|
415
415
|
documentNumber: string | null;
|
package/composables/constants.ts
CHANGED
|
@@ -10,6 +10,10 @@ export const constants = Object.freeze({
|
|
|
10
10
|
gons: 10,
|
|
11
11
|
halykkazyna: 11,
|
|
12
12
|
},
|
|
13
|
+
amlProducts: {
|
|
14
|
+
checkcontragent: 1,
|
|
15
|
+
checkcontract: 2,
|
|
16
|
+
},
|
|
13
17
|
editableStatuses: [Statuses.StartForm, Statuses.EditBeneficiaryForm, Statuses.EditForm],
|
|
14
18
|
documentsLinkVisibleStatuses: [
|
|
15
19
|
Statuses.DocumentsSignedFrom,
|
package/composables/index.ts
CHANGED
|
@@ -229,13 +229,19 @@ export const setAddressBeneficiary = (whichIndex: number, sameAddress: boolean)
|
|
|
229
229
|
} else {
|
|
230
230
|
if (beneficiary.response && beneficiary.response.addresses && beneficiary.response.addresses.length) {
|
|
231
231
|
const benAddress = beneficiary.response.addresses;
|
|
232
|
-
const
|
|
233
|
-
const
|
|
232
|
+
const countryName = benAddress[0].countryName;
|
|
233
|
+
const cityName = benAddress[0].cityName;
|
|
234
|
+
if (countryName) {
|
|
235
|
+
const country = dataStore.countries.find(i => (i.nameRu as string).match(new RegExp(countryName, 'i')));
|
|
236
|
+
beneficiary.registrationCountry = country ?? new Value();
|
|
237
|
+
}
|
|
238
|
+
if (cityName) {
|
|
239
|
+
const city = dataStore.cities.find(i => i.nameRu === cityName.replace('г.', ''));
|
|
240
|
+
beneficiary.registrationCity = city ?? new Value();
|
|
241
|
+
}
|
|
234
242
|
const province = dataStore.states.find(i => i.ids === benAddress[0].stateCode);
|
|
235
243
|
const localityType = dataStore.localityTypes.find(i => i.nameRu === benAddress[0].cityTypeName);
|
|
236
244
|
const region = dataStore.regions.find(i => i.ids == benAddress[0].regionCode);
|
|
237
|
-
beneficiary.registrationCountry = country ?? new Value();
|
|
238
|
-
beneficiary.registrationCity = city ?? new Value();
|
|
239
245
|
beneficiary.registrationMicroDistrict = beneficiary.response?.addresses[0].microRaion ?? '';
|
|
240
246
|
beneficiary.registrationNumberApartment = beneficiary.response?.addresses[0].apartmentNumber ?? '';
|
|
241
247
|
beneficiary.registrationNumberHouse = beneficiary.response?.addresses[0].blockNumber ?? '';
|
package/locales/kz.json
CHANGED
|
@@ -392,6 +392,11 @@
|
|
|
392
392
|
"dicts": "Справочники",
|
|
393
393
|
"aml": "AML",
|
|
394
394
|
"amlLong": "Ақшаны жылыстатумен күрес",
|
|
395
|
+
"checkContract": "Присвоение уровня риска",
|
|
396
|
+
"checkContragent": "Проверка Контрагента",
|
|
397
|
+
"riskPoint": "Уровень риска",
|
|
398
|
+
"comment": "Комментарий",
|
|
399
|
+
"matchWith": "Совпадение по",
|
|
395
400
|
"efoLong": "Единое фронтальное окно",
|
|
396
401
|
"efo": "ЕФО",
|
|
397
402
|
"lkaLong": "Личный кабинет Агента",
|
package/locales/ru.json
CHANGED
|
@@ -393,6 +393,11 @@
|
|
|
393
393
|
"dicts": "Справочники",
|
|
394
394
|
"aml": "AML",
|
|
395
395
|
"amlLong": "Противодействие отмыву денег",
|
|
396
|
+
"checkContract": "Присвоение уровня риска",
|
|
397
|
+
"checkContragent": "Проверка Контрагента",
|
|
398
|
+
"riskPoint": "Уровень риска",
|
|
399
|
+
"comment": "Комментарий",
|
|
400
|
+
"matchWith": "Совпадение по",
|
|
396
401
|
"efoLong": "Единое фронтальное окно",
|
|
397
402
|
"efo": "ЕФО",
|
|
398
403
|
"lkaLong": "Личный кабинет Агента",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hl-core",
|
|
3
|
-
"version": "0.0.9-beta.
|
|
3
|
+
"version": "0.0.9-beta.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "nuxt.config.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"generate": "nuxt generate",
|
|
30
30
|
"preview": "nuxt preview",
|
|
31
31
|
"update:core": "git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main",
|
|
32
|
-
"update:aml": "cd .. && cd aml && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
32
|
+
"update:aml": "cd .. && cd aml && cd aml && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd checkcontract && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
33
33
|
"update:baiterek": "cd .. && cd baiterek && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
34
34
|
"update:bolashak": "cd .. && cd bolashak && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
35
35
|
"update:calculator": "cd .. && cd calculator && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"pull:kazyna": "cd .. && cd kazyna && git pull && cd .. && cd core",
|
|
49
49
|
"pull:liferenta": "cd .. && cd liferenta && git pull && cd .. && cd core",
|
|
50
50
|
"pull:lka": "cd .. && cd lka && git pull && cd .. && cd core",
|
|
51
|
-
"pull:all": "
|
|
51
|
+
"pull:all": "yarn pull:aml && yarn pull:baiterek && yarn pull:bolashak && yarn pull:calculator && yarn pull:efo && yarn pull:gons && yarn pull:kazyna && yarn pull:liferenta && yarn pull:lka",
|
|
52
52
|
"typecheck": "nuxt typecheck"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
package/store/data.store.ts
CHANGED
|
@@ -44,7 +44,8 @@ export const useDataStore = defineStore('data', {
|
|
|
44
44
|
isGons: state => state.product === 'gons',
|
|
45
45
|
isKazyna: state => state.product === 'halykkazyna',
|
|
46
46
|
isCalculator: state => state.product === 'calculator',
|
|
47
|
-
|
|
47
|
+
isCheckContract: state => state.product === 'checkcontract',
|
|
48
|
+
isCheckContragent: state => state.product === 'checkcontragent',
|
|
48
49
|
isEveryFormDisabled: state => Object.values(state.formStore.isDisabled).every(i => i === true),
|
|
49
50
|
hasClientAnketa: state => state.formStore.additionalInsuranceTerms.find(i => i.coverTypeCode === 10),
|
|
50
51
|
isClientAnketaCondition: state =>
|
|
@@ -478,12 +479,15 @@ export const useDataStore = defineStore('data', {
|
|
|
478
479
|
}
|
|
479
480
|
if ('address' in user && user.address && user.address.length) {
|
|
480
481
|
const userAddress = user.address[0];
|
|
481
|
-
const
|
|
482
|
+
const countryName = userAddress.countryName;
|
|
483
|
+
if (countryName) {
|
|
484
|
+
const country = this.countries.find(i => i.nameRu?.match(new RegExp(countryName, 'i')));
|
|
485
|
+
member.registrationCountry = country ? country : new Value();
|
|
486
|
+
}
|
|
482
487
|
const province = this.states.find(i => i.ids === userAddress.stateCode);
|
|
483
488
|
const localityType = this.localityTypes.find(i => i.nameRu === userAddress.cityTypeName);
|
|
484
489
|
const city = this.cities.find(i => !!userAddress.cityName && i.nameRu === userAddress.cityName.replace('г.', ''));
|
|
485
490
|
const region = this.regions.find(i => !!userAddress.regionCode && i.ids == userAddress.regionCode);
|
|
486
|
-
member.registrationCountry = country ? country : new Value();
|
|
487
491
|
member.registrationStreet = userAddress.streetName;
|
|
488
492
|
member.registrationCity = city ? city : new Value();
|
|
489
493
|
member.registrationNumberApartment = userAddress.apartmentNumber;
|
|
@@ -636,7 +640,7 @@ export const useDataStore = defineStore('data', {
|
|
|
636
640
|
}))(user);
|
|
637
641
|
const questionariesData: ContragentQuestionaries[] = Object.values(userQuestionnaires).map(question => {
|
|
638
642
|
let questName = '';
|
|
639
|
-
let questionId = parseInt(
|
|
643
|
+
let questionId = parseInt(question.ids as string).toString();
|
|
640
644
|
if (questionId === '500003') {
|
|
641
645
|
questName = 'Код сектора экономики';
|
|
642
646
|
} else if (questionId === '500011') {
|
|
@@ -659,11 +663,11 @@ export const useDataStore = defineStore('data', {
|
|
|
659
663
|
user.addTaxResidency = new Value();
|
|
660
664
|
}
|
|
661
665
|
const addTaxResidency = userResponseQuestionnaires !== null ? userResponseQuestionnaires.find(i => i.questId === '507777') : undefined;
|
|
662
|
-
if (user.addTaxResidency.nameRu !== null) {
|
|
666
|
+
if (user.addTaxResidency.nameRu !== null && user.addTaxResidency.ids) {
|
|
663
667
|
questionariesData.push({
|
|
664
668
|
id: addTaxResidency ? addTaxResidency.id : 0,
|
|
665
669
|
contragentId: Number(user.id),
|
|
666
|
-
questAnswer:
|
|
670
|
+
questAnswer: user.addTaxResidency.ids,
|
|
667
671
|
questAnswerName: user.addTaxResidency.nameRu,
|
|
668
672
|
questName: 'Указать если налоговое резиденство выбрано другое',
|
|
669
673
|
questId: '507777',
|
|
@@ -735,7 +739,7 @@ export const useDataStore = defineStore('data', {
|
|
|
735
739
|
issuerNameRu: user.documentIssuers.nameRu,
|
|
736
740
|
note: null,
|
|
737
741
|
number: user.documentNumber,
|
|
738
|
-
type: user.documentType.ids ?
|
|
742
|
+
type: user.documentType.ids ? (user.documentType.ids as string) : undefined,
|
|
739
743
|
typeName: user.documentType.nameRu,
|
|
740
744
|
serial: null,
|
|
741
745
|
verifyType: user.verifyType,
|
|
@@ -753,13 +757,13 @@ export const useDataStore = defineStore('data', {
|
|
|
753
757
|
addressData.push({
|
|
754
758
|
id: userResponseAddress !== null ? userResponseAddress[0].id : 0,
|
|
755
759
|
contragentId: Number(user.id),
|
|
756
|
-
countryCode:
|
|
760
|
+
countryCode: user.registrationCountry.ids ?? undefined,
|
|
757
761
|
countryName: user.registrationCountry.nameRu ?? '',
|
|
758
|
-
stateCode:
|
|
762
|
+
stateCode: user.registrationProvince.ids ?? undefined,
|
|
759
763
|
stateName: user.registrationProvince.nameRu ?? '',
|
|
760
|
-
cityCode:
|
|
764
|
+
cityCode: user.registrationCity.code ?? undefined,
|
|
761
765
|
cityName: user.registrationCity.nameRu ?? '',
|
|
762
|
-
regionCode:
|
|
766
|
+
regionCode: user.registrationRegion.ids ?? undefined,
|
|
763
767
|
regionName: user.registrationRegion.nameRu,
|
|
764
768
|
streetName: user.registrationStreet ?? '',
|
|
765
769
|
kvartal: user.registrationQuarter,
|
|
@@ -942,9 +946,9 @@ export const useDataStore = defineStore('data', {
|
|
|
942
946
|
payPeriod: this.formStore.productConditionsForm.coverPeriod,
|
|
943
947
|
annualIncome: this.formStore.productConditionsForm.annualIncome ? Number(this.formStore.productConditionsForm.annualIncome.replace(/\s/g, '')) : null,
|
|
944
948
|
indexRateId: this.formStore.productConditionsForm.processIndexRate?.id
|
|
945
|
-
?
|
|
946
|
-
:
|
|
947
|
-
paymentPeriodId:
|
|
949
|
+
? this.formStore.productConditionsForm.processIndexRate.id ?? undefined
|
|
950
|
+
: this.processIndexRate.find(i => i.code === '0')?.id ?? undefined,
|
|
951
|
+
paymentPeriodId: this.formStore.productConditionsForm.paymentPeriod.id ?? undefined,
|
|
948
952
|
lifeMultiply: formatProcents(this.formStore.productConditionsForm.lifeMultiply ?? ''),
|
|
949
953
|
lifeAdditive: formatProcents(this.formStore.productConditionsForm.lifeAdditive ?? ''),
|
|
950
954
|
adbMultiply: formatProcents(this.formStore.productConditionsForm.adbMultiply ?? ''),
|
|
@@ -962,9 +966,9 @@ export const useDataStore = defineStore('data', {
|
|
|
962
966
|
}
|
|
963
967
|
if (this.isLiferenta) {
|
|
964
968
|
conditionsData.policyAppDto.guaranteedPaymentPeriod = this.formStore.productConditionsForm.guaranteedPeriod || 0;
|
|
965
|
-
conditionsData.policyAppDto.annuityTypeId =
|
|
969
|
+
conditionsData.policyAppDto.annuityTypeId = (this.formStore.productConditionsForm.typeAnnuityInsurance.id as string) ?? undefined;
|
|
966
970
|
conditionsData.policyAppDto.paymentPeriod = Number(this.formStore.productConditionsForm.termAnnuityPayments);
|
|
967
|
-
conditionsData.policyAppDto.annuityPaymentPeriodId =
|
|
971
|
+
conditionsData.policyAppDto.annuityPaymentPeriodId = (this.formStore.productConditionsForm.periodAnnuityPayment.id as string) ?? undefined;
|
|
968
972
|
}
|
|
969
973
|
return conditionsData;
|
|
970
974
|
},
|
|
@@ -1052,11 +1056,11 @@ export const useDataStore = defineStore('data', {
|
|
|
1052
1056
|
salesChannel: this.formStore.applicationData.insisWorkDataApp.salesChannel,
|
|
1053
1057
|
salesChannelName: this.formStore.applicationData.insisWorkDataApp.salesChannelName,
|
|
1054
1058
|
insrType: this.formStore.applicationData.insisWorkDataApp.insrType,
|
|
1055
|
-
saleChanellPolicy:
|
|
1059
|
+
saleChanellPolicy: (this.formStore.SaleChanellPolicy.ids as string) ?? undefined,
|
|
1056
1060
|
saleChanellPolicyName: this.formStore.SaleChanellPolicy.nameRu ?? '',
|
|
1057
|
-
regionPolicy:
|
|
1061
|
+
regionPolicy: (this.formStore.RegionPolicy.ids as string) ?? undefined,
|
|
1058
1062
|
regionPolicyName: this.formStore.RegionPolicy.nameRu ?? '',
|
|
1059
|
-
managerPolicy:
|
|
1063
|
+
managerPolicy: this.formStore.ManagerPolicy.ids as string,
|
|
1060
1064
|
managerPolicyName: this.formStore.ManagerPolicy.nameRu ?? '',
|
|
1061
1065
|
insuranceProgramType: this.formStore.applicationData.insisWorkDataApp.insuranceProgramType,
|
|
1062
1066
|
};
|
|
@@ -1514,9 +1518,9 @@ export const useDataStore = defineStore('data', {
|
|
|
1514
1518
|
coverPeriod: Number(this.formStore.productConditionsForm.coverPeriod),
|
|
1515
1519
|
payPeriod: Number(this.formStore.productConditionsForm.coverPeriod),
|
|
1516
1520
|
indexRateId: this.formStore.productConditionsForm.processIndexRate?.id
|
|
1517
|
-
?
|
|
1518
|
-
:
|
|
1519
|
-
paymentPeriodId:
|
|
1521
|
+
? this.formStore.productConditionsForm.processIndexRate.id ?? undefined
|
|
1522
|
+
: this.processIndexRate.find(i => i.code === '0')?.id ?? undefined,
|
|
1523
|
+
paymentPeriodId: (this.formStore.productConditionsForm.paymentPeriod.id as string) ?? undefined,
|
|
1520
1524
|
addCovers: this.formStore.additionalInsuranceTermsWithout,
|
|
1521
1525
|
};
|
|
1522
1526
|
if (this.isKazyna || product === 'halykkazyna') {
|
|
@@ -1526,9 +1530,9 @@ export const useDataStore = defineStore('data', {
|
|
|
1526
1530
|
}
|
|
1527
1531
|
if (this.isLiferenta) {
|
|
1528
1532
|
calculationData.guaranteedPaymentPeriod = this.formStore.productConditionsForm.guaranteedPeriod || 0;
|
|
1529
|
-
calculationData.annuityTypeId =
|
|
1533
|
+
calculationData.annuityTypeId = (this.formStore.productConditionsForm.typeAnnuityInsurance.id as string) ?? undefined;
|
|
1530
1534
|
calculationData.paymentPeriod = Number(this.formStore.productConditionsForm.termAnnuityPayments);
|
|
1531
|
-
calculationData.annuityPaymentPeriodId =
|
|
1535
|
+
calculationData.annuityPaymentPeriodId = (this.formStore.productConditionsForm.periodAnnuityPayment.id as string) ?? undefined;
|
|
1532
1536
|
}
|
|
1533
1537
|
const calculationResponse = await this.api.calculateWithoutApplication(calculationData, this.isCalculator ? product : undefined);
|
|
1534
1538
|
this.formStore.productConditionsForm.requestedSumInsured = this.getNumberWithSpaces(calculationResponse.amount);
|
package/types/index.ts
CHANGED
|
@@ -4,7 +4,20 @@ export {};
|
|
|
4
4
|
|
|
5
5
|
declare global {
|
|
6
6
|
type EnvModes = 'development' | 'test' | 'vercel' | 'production';
|
|
7
|
-
type Projects =
|
|
7
|
+
type Projects =
|
|
8
|
+
| 'aml'
|
|
9
|
+
| 'baiterek'
|
|
10
|
+
| 'bolashak'
|
|
11
|
+
| 'calculator'
|
|
12
|
+
| 'efo'
|
|
13
|
+
| 'gons'
|
|
14
|
+
| 'halykkazyna'
|
|
15
|
+
| 'liferenta'
|
|
16
|
+
| 'lifetrip'
|
|
17
|
+
| 'lka'
|
|
18
|
+
| 'mycar'
|
|
19
|
+
| 'checkcontract'
|
|
20
|
+
| 'checkcontragent';
|
|
8
21
|
type MemberKeys = keyof ReturnType<typeof useFormStore>;
|
|
9
22
|
type MemberFormTypes = 'policyholderForm' | 'insuredForm' | 'beneficiaryForm' | 'beneficialOwnerForm' | 'policyholdersRepresentativeForm' | 'productConditionsForm';
|
|
10
23
|
type SingleMember = 'policyholderForm' | 'policyholdersRepresentativeForm';
|
|
@@ -36,7 +49,7 @@ declare global {
|
|
|
36
49
|
| 'time'
|
|
37
50
|
| 'url'
|
|
38
51
|
| 'week';
|
|
39
|
-
|
|
52
|
+
interface TaskListItem {
|
|
40
53
|
addRegNumber: string | number;
|
|
41
54
|
applicationTaskId: string;
|
|
42
55
|
dateCreated: string;
|
|
@@ -54,7 +67,7 @@ declare global {
|
|
|
54
67
|
status: string;
|
|
55
68
|
userId: string;
|
|
56
69
|
userName: string;
|
|
57
|
-
}
|
|
70
|
+
}
|
|
58
71
|
type TaskHistory = {
|
|
59
72
|
appointmentDate: string | null;
|
|
60
73
|
comment: string | null;
|
|
@@ -229,8 +242,8 @@ declare global {
|
|
|
229
242
|
premium: number | null;
|
|
230
243
|
coverPeriod: number;
|
|
231
244
|
payPeriod: number;
|
|
232
|
-
indexRateId?: string | null;
|
|
233
|
-
paymentPeriodId
|
|
245
|
+
indexRateId?: string | number | null;
|
|
246
|
+
paymentPeriodId?: string;
|
|
234
247
|
addCovers: AddCover[];
|
|
235
248
|
};
|
|
236
249
|
|
|
@@ -367,14 +380,14 @@ declare global {
|
|
|
367
380
|
contragentId: number;
|
|
368
381
|
questId: string;
|
|
369
382
|
questName: string;
|
|
370
|
-
questAnswer: string | null;
|
|
383
|
+
questAnswer: string | number | null;
|
|
371
384
|
questAnswerName: string | null;
|
|
372
385
|
};
|
|
373
386
|
|
|
374
387
|
type ContragentDocuments = {
|
|
375
388
|
id: number;
|
|
376
389
|
contragentId: number;
|
|
377
|
-
type
|
|
390
|
+
type?: string;
|
|
378
391
|
typeName: string | null;
|
|
379
392
|
serial: string | null;
|
|
380
393
|
number: string | null;
|
|
@@ -392,23 +405,23 @@ declare global {
|
|
|
392
405
|
type ContragentAddress = {
|
|
393
406
|
id: number;
|
|
394
407
|
contragentId: number;
|
|
395
|
-
type
|
|
396
|
-
address
|
|
397
|
-
countryCode
|
|
398
|
-
countryName
|
|
399
|
-
stateCode
|
|
400
|
-
stateName
|
|
401
|
-
cityCode
|
|
402
|
-
cityName
|
|
403
|
-
regionCode
|
|
404
|
-
regionName
|
|
405
|
-
streetName
|
|
406
|
-
blockNumber
|
|
407
|
-
apartmentNumber
|
|
408
|
-
cityTypeId
|
|
409
|
-
cityTypeName
|
|
410
|
-
microRaion
|
|
411
|
-
kvartal
|
|
408
|
+
type?: string;
|
|
409
|
+
address?: string;
|
|
410
|
+
countryCode?: string | number;
|
|
411
|
+
countryName?: string;
|
|
412
|
+
stateCode?: string | number;
|
|
413
|
+
stateName?: string;
|
|
414
|
+
cityCode?: string | number;
|
|
415
|
+
cityName?: string;
|
|
416
|
+
regionCode?: string | number |null;
|
|
417
|
+
regionName?: string | null;
|
|
418
|
+
streetName?: string;
|
|
419
|
+
blockNumber?: string;
|
|
420
|
+
apartmentNumber?: string;
|
|
421
|
+
cityTypeId?: number | null;
|
|
422
|
+
cityTypeName?: string;
|
|
423
|
+
microRaion?: string | null;
|
|
424
|
+
kvartal?: string | null;
|
|
412
425
|
};
|
|
413
426
|
|
|
414
427
|
type ContragentContacts = {
|
|
@@ -447,10 +460,10 @@ declare global {
|
|
|
447
460
|
isSpokesman?: boolean;
|
|
448
461
|
coverPeriod?: number | null;
|
|
449
462
|
payPeriod?: number | null;
|
|
450
|
-
indexRateId?: string;
|
|
463
|
+
indexRateId?: string | number;
|
|
451
464
|
indexRateCode?: string;
|
|
452
465
|
indexRateName?: string;
|
|
453
|
-
paymentPeriodId?: string;
|
|
466
|
+
paymentPeriodId?: string | number;
|
|
454
467
|
paymentPeriodName?: string;
|
|
455
468
|
lifeMultiply?: number;
|
|
456
469
|
lifeAdditive?: number;
|