simpleloan_api 1.1.20 → 1.1.21
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/dist/index.d.mts +141 -141
- package/dist/index.d.ts +141 -141
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -311,6 +311,146 @@ type Brokerclient = {
|
|
|
311
311
|
staff_ids: number[];
|
|
312
312
|
};
|
|
313
313
|
|
|
314
|
+
type CustomerMeta = {
|
|
315
|
+
id: string;
|
|
316
|
+
status: string | 'new';
|
|
317
|
+
user_id: number | null;
|
|
318
|
+
mortgage: boolean;
|
|
319
|
+
};
|
|
320
|
+
type DictValue = string | number;
|
|
321
|
+
type CustomerFields = {
|
|
322
|
+
first_name: string;
|
|
323
|
+
last_name: string;
|
|
324
|
+
middle_name: string;
|
|
325
|
+
changed_name: boolean;
|
|
326
|
+
previous_first_name: string | null;
|
|
327
|
+
previous_last_name: string | null;
|
|
328
|
+
previous_middle_name: string | null;
|
|
329
|
+
email: string;
|
|
330
|
+
phone: string;
|
|
331
|
+
sex: Sex;
|
|
332
|
+
citizenship: string | 'RU';
|
|
333
|
+
tax_number: string | null;
|
|
334
|
+
insurance_number: string | null;
|
|
335
|
+
passport_serial: string;
|
|
336
|
+
passport_number: string;
|
|
337
|
+
passport_date: string;
|
|
338
|
+
passport_division_code: string;
|
|
339
|
+
passport_issuing: string;
|
|
340
|
+
dateofbirth: string;
|
|
341
|
+
birth_place: string | null;
|
|
342
|
+
changed_document: boolean;
|
|
343
|
+
old_passport_serial: string | null;
|
|
344
|
+
old_passport_number: string | null;
|
|
345
|
+
old_passport_date: string | null;
|
|
346
|
+
old_passport_division_code: string | null;
|
|
347
|
+
marital_status: DictValue | null;
|
|
348
|
+
dependents: number | null;
|
|
349
|
+
dependents_birth_dates: string | null;
|
|
350
|
+
education: DictValue | null;
|
|
351
|
+
employment_type: DictValue | null;
|
|
352
|
+
employer_name: string | null;
|
|
353
|
+
employer_phone: string | null;
|
|
354
|
+
employment_position: string | null;
|
|
355
|
+
employment_position_type: DictValue | null;
|
|
356
|
+
total_experience: number | null;
|
|
357
|
+
work_tax_number: string | null;
|
|
358
|
+
work_address: Address | null;
|
|
359
|
+
employment_experience: number | null;
|
|
360
|
+
employment_income: number | null;
|
|
361
|
+
proof_employment_income: number | null;
|
|
362
|
+
work_employees_count: number | null;
|
|
363
|
+
work_business_share: number | null;
|
|
364
|
+
employer_foundation_date: string | null;
|
|
365
|
+
income_confirmation_document: DictValue | null;
|
|
366
|
+
employer_okved: string | null;
|
|
367
|
+
employer_activity: DictValue | null;
|
|
368
|
+
add_employment_type: DictValue | null;
|
|
369
|
+
add_employer_okved: string | null;
|
|
370
|
+
add_employer_name: string | null;
|
|
371
|
+
add_employer_phone: string | null;
|
|
372
|
+
add_employment_position: string | null;
|
|
373
|
+
add_employment_position_type: string | null;
|
|
374
|
+
add_work_tax_number: string | null;
|
|
375
|
+
add_work_address: Address | null;
|
|
376
|
+
add_employment_experience: number | null;
|
|
377
|
+
add_employment_income: number | null;
|
|
378
|
+
add_proof_employment_income: number | null;
|
|
379
|
+
add_work_employees_count: number | null;
|
|
380
|
+
add_work_business_share: number | null;
|
|
381
|
+
add_employer_foundation_date: string | null;
|
|
382
|
+
add_income_confirmation_document: string | null;
|
|
383
|
+
add_income_type: DictValue | null;
|
|
384
|
+
add_income: number | null;
|
|
385
|
+
add_employer_activity: DictValue | null;
|
|
386
|
+
loan_payments: number | null;
|
|
387
|
+
alimony: number | null;
|
|
388
|
+
loan_for_fee: boolean;
|
|
389
|
+
change_job: boolean;
|
|
390
|
+
maternity_leave: boolean;
|
|
391
|
+
public_official_person: boolean;
|
|
392
|
+
address_country: string | null;
|
|
393
|
+
address_postcode: string | null;
|
|
394
|
+
address_region: string | null;
|
|
395
|
+
address_city: string | null;
|
|
396
|
+
address_street: string | null;
|
|
397
|
+
address_house: string | null;
|
|
398
|
+
address_flat: string | null;
|
|
399
|
+
address: Address | null;
|
|
400
|
+
address_status: DictValue | null;
|
|
401
|
+
actual_address: Address | null;
|
|
402
|
+
is_lawyer: boolean;
|
|
403
|
+
add_is_lawyer: boolean;
|
|
404
|
+
is_notary: boolean;
|
|
405
|
+
add_is_notary: boolean;
|
|
406
|
+
nature_of_work: DictValue | null;
|
|
407
|
+
add_nature_of_work: DictValue | null;
|
|
408
|
+
is_guarantor: boolean;
|
|
409
|
+
coborrower_status: DictValue | null;
|
|
410
|
+
employer_activity_in_company: DictValue | null;
|
|
411
|
+
employer_legal_form: DictValue | null;
|
|
412
|
+
employer_other_legal_form: string | null;
|
|
413
|
+
relative_person: boolean | null;
|
|
414
|
+
add_employer_legal_form: DictValue | null;
|
|
415
|
+
add_employer_activity_in_company: DictValue | null;
|
|
416
|
+
add_employer_other_legal_form: string | null;
|
|
417
|
+
is_it_mortgage_participant: boolean | null;
|
|
418
|
+
is_subsidy_kids_participant: boolean | null;
|
|
419
|
+
disabled_dependent_birth_date: string | null;
|
|
420
|
+
usa_tax_consent: boolean | null;
|
|
421
|
+
usa_tax_payer: boolean | null;
|
|
422
|
+
foreign_tax_resident: boolean | null;
|
|
423
|
+
own_funds_amount: number | null;
|
|
424
|
+
address_type: boolean | null;
|
|
425
|
+
address_phone: string | null;
|
|
426
|
+
actual_address_phone: string | null;
|
|
427
|
+
marriage_contract: boolean | null;
|
|
428
|
+
notarial_consent: boolean | null;
|
|
429
|
+
dependents_citizenship: string | null;
|
|
430
|
+
is_spouse_coborrower: boolean;
|
|
431
|
+
agreement_to_bki_request: boolean;
|
|
432
|
+
bki_agreement_date: string;
|
|
433
|
+
owns_international_passport: boolean;
|
|
434
|
+
tax_resident_of_russia: boolean;
|
|
435
|
+
tax_resident_of_another_country: boolean;
|
|
436
|
+
akbars_is_bank_employee: boolean;
|
|
437
|
+
akbars_is_card_holder: boolean;
|
|
438
|
+
akbars_digital_consent: boolean;
|
|
439
|
+
akbars_is_certificate_of_repayment: boolean;
|
|
440
|
+
akbars_property_insurance: boolean;
|
|
441
|
+
akbars_collective_insurance_contract: boolean;
|
|
442
|
+
akbars_own_insurance: boolean;
|
|
443
|
+
akbars_any_abb_account: 'Yes' | 'No';
|
|
444
|
+
akbars_add_any_abb_account: 'Yes' | 'No';
|
|
445
|
+
akbars_applicable_tax_system: string;
|
|
446
|
+
akbars_add_applicable_tax_system: string;
|
|
447
|
+
akbars_kind_private_practice: string;
|
|
448
|
+
akbars_add_kind_private_practice: string;
|
|
449
|
+
work_address_actual: Address;
|
|
450
|
+
add_work_address_actual: Address;
|
|
451
|
+
};
|
|
452
|
+
type Customer = CustomerFields & CustomerMeta;
|
|
453
|
+
|
|
314
454
|
type Mortgage = {
|
|
315
455
|
id: number;
|
|
316
456
|
created_at: string;
|
|
@@ -844,146 +984,6 @@ declare const useDeleteStaffBrokerclient: () => {
|
|
|
844
984
|
}>): Promise<ApiResponse<Brokerclient> | null>;
|
|
845
985
|
};
|
|
846
986
|
|
|
847
|
-
type CustomerMeta = {
|
|
848
|
-
id: string;
|
|
849
|
-
status: string | 'new';
|
|
850
|
-
user_id: number | null;
|
|
851
|
-
mortgage: boolean;
|
|
852
|
-
};
|
|
853
|
-
type DictValue = string | number;
|
|
854
|
-
type CustomerFields = {
|
|
855
|
-
first_name: string;
|
|
856
|
-
last_name: string;
|
|
857
|
-
middle_name: string;
|
|
858
|
-
changed_name: boolean;
|
|
859
|
-
previous_first_name: string | null;
|
|
860
|
-
previous_last_name: string | null;
|
|
861
|
-
previous_middle_name: string | null;
|
|
862
|
-
email: string;
|
|
863
|
-
phone: string;
|
|
864
|
-
sex: Sex;
|
|
865
|
-
citizenship: string | 'RU';
|
|
866
|
-
tax_number: string | null;
|
|
867
|
-
insurance_number: string | null;
|
|
868
|
-
passport_serial: string;
|
|
869
|
-
passport_number: string;
|
|
870
|
-
passport_date: string;
|
|
871
|
-
passport_division_code: string;
|
|
872
|
-
passport_issuing: string;
|
|
873
|
-
dateofbirth: string;
|
|
874
|
-
birth_place: string | null;
|
|
875
|
-
changed_document: boolean;
|
|
876
|
-
old_passport_serial: string | null;
|
|
877
|
-
old_passport_number: string | null;
|
|
878
|
-
old_passport_date: string | null;
|
|
879
|
-
old_passport_division_code: string | null;
|
|
880
|
-
marital_status: DictValue | null;
|
|
881
|
-
dependents: number | null;
|
|
882
|
-
dependents_birth_dates: string | null;
|
|
883
|
-
education: DictValue | null;
|
|
884
|
-
employment_type: DictValue | null;
|
|
885
|
-
employer_name: string | null;
|
|
886
|
-
employer_phone: string | null;
|
|
887
|
-
employment_position: string | null;
|
|
888
|
-
employment_position_type: DictValue | null;
|
|
889
|
-
total_experience: number | null;
|
|
890
|
-
work_tax_number: string | null;
|
|
891
|
-
work_address: Address | null;
|
|
892
|
-
employment_experience: number | null;
|
|
893
|
-
employment_income: number | null;
|
|
894
|
-
proof_employment_income: number | null;
|
|
895
|
-
work_employees_count: number | null;
|
|
896
|
-
work_business_share: number | null;
|
|
897
|
-
employer_foundation_date: string | null;
|
|
898
|
-
income_confirmation_document: DictValue | null;
|
|
899
|
-
employer_okved: string | null;
|
|
900
|
-
employer_activity: DictValue | null;
|
|
901
|
-
add_employment_type: DictValue | null;
|
|
902
|
-
add_employer_okved: string | null;
|
|
903
|
-
add_employer_name: string | null;
|
|
904
|
-
add_employer_phone: string | null;
|
|
905
|
-
add_employment_position: string | null;
|
|
906
|
-
add_employment_position_type: string | null;
|
|
907
|
-
add_work_tax_number: string | null;
|
|
908
|
-
add_work_address: Address | null;
|
|
909
|
-
add_employment_experience: number | null;
|
|
910
|
-
add_employment_income: number | null;
|
|
911
|
-
add_proof_employment_income: number | null;
|
|
912
|
-
add_work_employees_count: number | null;
|
|
913
|
-
add_work_business_share: number | null;
|
|
914
|
-
add_employer_foundation_date: string | null;
|
|
915
|
-
add_income_confirmation_document: string | null;
|
|
916
|
-
add_income_type: DictValue | null;
|
|
917
|
-
add_income: number | null;
|
|
918
|
-
add_employer_activity: DictValue | null;
|
|
919
|
-
loan_payments: number | null;
|
|
920
|
-
alimony: number | null;
|
|
921
|
-
loan_for_fee: boolean;
|
|
922
|
-
change_job: boolean;
|
|
923
|
-
maternity_leave: boolean;
|
|
924
|
-
public_official_person: boolean;
|
|
925
|
-
address_country: string | null;
|
|
926
|
-
address_postcode: string | null;
|
|
927
|
-
address_region: string | null;
|
|
928
|
-
address_city: string | null;
|
|
929
|
-
address_street: string | null;
|
|
930
|
-
address_house: string | null;
|
|
931
|
-
address_flat: string | null;
|
|
932
|
-
address: Address | null;
|
|
933
|
-
address_status: DictValue | null;
|
|
934
|
-
actual_address: Address | null;
|
|
935
|
-
is_lawyer: boolean;
|
|
936
|
-
add_is_lawyer: boolean;
|
|
937
|
-
is_notary: boolean;
|
|
938
|
-
add_is_notary: boolean;
|
|
939
|
-
nature_of_work: DictValue | null;
|
|
940
|
-
add_nature_of_work: DictValue | null;
|
|
941
|
-
is_guarantor: boolean;
|
|
942
|
-
coborrower_status: DictValue | null;
|
|
943
|
-
employer_activity_in_company: DictValue | null;
|
|
944
|
-
employer_legal_form: DictValue | null;
|
|
945
|
-
employer_other_legal_form: string | null;
|
|
946
|
-
relative_person: boolean | null;
|
|
947
|
-
add_employer_legal_form: DictValue | null;
|
|
948
|
-
add_employer_activity_in_company: DictValue | null;
|
|
949
|
-
add_employer_other_legal_form: string | null;
|
|
950
|
-
is_it_mortgage_participant: boolean | null;
|
|
951
|
-
is_subsidy_kids_participant: boolean | null;
|
|
952
|
-
disabled_dependent_birth_date: string | null;
|
|
953
|
-
usa_tax_consent: boolean | null;
|
|
954
|
-
usa_tax_payer: boolean | null;
|
|
955
|
-
foreign_tax_resident: boolean | null;
|
|
956
|
-
own_funds_amount: number | null;
|
|
957
|
-
address_type: boolean | null;
|
|
958
|
-
address_phone: string | null;
|
|
959
|
-
actual_address_phone: string | null;
|
|
960
|
-
marriage_contract: boolean | null;
|
|
961
|
-
notarial_consent: boolean | null;
|
|
962
|
-
dependents_citizenship: string | null;
|
|
963
|
-
is_spouse_coborrower: boolean;
|
|
964
|
-
agreement_to_bki_request: boolean;
|
|
965
|
-
bki_agreement_date: string;
|
|
966
|
-
owns_international_passport: boolean;
|
|
967
|
-
tax_resident_of_russia: boolean;
|
|
968
|
-
tax_resident_of_another_country: boolean;
|
|
969
|
-
akbars_is_bank_employee: boolean;
|
|
970
|
-
akbars_is_card_holder: boolean;
|
|
971
|
-
akbars_digital_consent: boolean;
|
|
972
|
-
akbars_is_certificate_of_repayment: boolean;
|
|
973
|
-
akbars_property_insurance: boolean;
|
|
974
|
-
akbars_collective_insurance_contract: boolean;
|
|
975
|
-
akbars_own_insurance: boolean;
|
|
976
|
-
akbars_any_abb_account: 'Yes' | 'No';
|
|
977
|
-
akbars_add_any_abb_account: 'Yes' | 'No';
|
|
978
|
-
akbars_applicable_tax_system: string;
|
|
979
|
-
akbars_add_applicable_tax_system: string;
|
|
980
|
-
akbars_kind_private_practice: string;
|
|
981
|
-
akbars_add_kind_private_practice: string;
|
|
982
|
-
work_address_actual: Address;
|
|
983
|
-
add_work_address_actual: Address;
|
|
984
|
-
};
|
|
985
|
-
type Customer = CustomerFields & CustomerMeta;
|
|
986
|
-
|
|
987
987
|
type CustomerUpdate = Partial<CustomerFields> & {
|
|
988
988
|
id: string;
|
|
989
989
|
};
|
|
@@ -1254,4 +1254,4 @@ type Mode = 'development' | 'production';
|
|
|
1254
1254
|
declare function setMode(newMode: Mode): void;
|
|
1255
1255
|
declare function getMode(): Mode;
|
|
1256
1256
|
|
|
1257
|
-
export { type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type Alfabankbalance, type AlfabankbalanceOffer, type AlfabankbalanceOfferLoanParameters, type AlfabankbalanceScanState, type AlfabankbalanceStages, type Brokerclient, type CustomerUpdate, type Dict, type DictItem, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageStages, type Rosbankdom, type RosbankdomOffer, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type User, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCancelRosbankdom, useCloneAlfabankbalance, useCloneRosbankdom, useCloneSalespoint, useCloneUser, useConfirmRosbankdom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankbalance, useDeleteAlfabankbalanceScans, useDeleteBrokerclient, useDeleteCustomerList, useDeleteGroupUser, useDeleteRosbankdom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankbalanceScansApplications, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankbalance, useGetAlfabankbalanceDict, useGetAlfabankbalanceList, useGetAlfabankbalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetCustomer, useGetCustomerList, useGetRosbankdom, useGetRosbankdomDict, useGetRosbankdomList, useGetRosbankdomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankbalanceStatus, usePreapprovalRosbankdomStatus, useProcessingAkbars, useRosbankdomOpportunity, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankbalance, useSendAlfabankbalanceScans, useSendRosbankdom, useSendRosbankdomScans, useStatusManuallyAlfabankbalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankbalance, useUpdateBrokerclient, useUpdateCustomer, useUpdateManySalespoint, useUpdateManyUser, useUpdateRosbankdom, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankbalanceScans };
|
|
1257
|
+
export { type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type Alfabankbalance, type AlfabankbalanceOffer, type AlfabankbalanceOfferLoanParameters, type AlfabankbalanceScanState, type AlfabankbalanceStages, type Brokerclient, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageStages, type Rosbankdom, type RosbankdomOffer, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type User, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCancelRosbankdom, useCloneAlfabankbalance, useCloneRosbankdom, useCloneSalespoint, useCloneUser, useConfirmRosbankdom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankbalance, useDeleteAlfabankbalanceScans, useDeleteBrokerclient, useDeleteCustomerList, useDeleteGroupUser, useDeleteRosbankdom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankbalanceScansApplications, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankbalance, useGetAlfabankbalanceDict, useGetAlfabankbalanceList, useGetAlfabankbalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetCustomer, useGetCustomerList, useGetRosbankdom, useGetRosbankdomDict, useGetRosbankdomList, useGetRosbankdomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankbalanceStatus, usePreapprovalRosbankdomStatus, useProcessingAkbars, useRosbankdomOpportunity, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankbalance, useSendAlfabankbalanceScans, useSendRosbankdom, useSendRosbankdomScans, useStatusManuallyAlfabankbalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankbalance, useUpdateBrokerclient, useUpdateCustomer, useUpdateManySalespoint, useUpdateManyUser, useUpdateRosbankdom, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankbalanceScans };
|
package/dist/index.d.ts
CHANGED
|
@@ -311,6 +311,146 @@ type Brokerclient = {
|
|
|
311
311
|
staff_ids: number[];
|
|
312
312
|
};
|
|
313
313
|
|
|
314
|
+
type CustomerMeta = {
|
|
315
|
+
id: string;
|
|
316
|
+
status: string | 'new';
|
|
317
|
+
user_id: number | null;
|
|
318
|
+
mortgage: boolean;
|
|
319
|
+
};
|
|
320
|
+
type DictValue = string | number;
|
|
321
|
+
type CustomerFields = {
|
|
322
|
+
first_name: string;
|
|
323
|
+
last_name: string;
|
|
324
|
+
middle_name: string;
|
|
325
|
+
changed_name: boolean;
|
|
326
|
+
previous_first_name: string | null;
|
|
327
|
+
previous_last_name: string | null;
|
|
328
|
+
previous_middle_name: string | null;
|
|
329
|
+
email: string;
|
|
330
|
+
phone: string;
|
|
331
|
+
sex: Sex;
|
|
332
|
+
citizenship: string | 'RU';
|
|
333
|
+
tax_number: string | null;
|
|
334
|
+
insurance_number: string | null;
|
|
335
|
+
passport_serial: string;
|
|
336
|
+
passport_number: string;
|
|
337
|
+
passport_date: string;
|
|
338
|
+
passport_division_code: string;
|
|
339
|
+
passport_issuing: string;
|
|
340
|
+
dateofbirth: string;
|
|
341
|
+
birth_place: string | null;
|
|
342
|
+
changed_document: boolean;
|
|
343
|
+
old_passport_serial: string | null;
|
|
344
|
+
old_passport_number: string | null;
|
|
345
|
+
old_passport_date: string | null;
|
|
346
|
+
old_passport_division_code: string | null;
|
|
347
|
+
marital_status: DictValue | null;
|
|
348
|
+
dependents: number | null;
|
|
349
|
+
dependents_birth_dates: string | null;
|
|
350
|
+
education: DictValue | null;
|
|
351
|
+
employment_type: DictValue | null;
|
|
352
|
+
employer_name: string | null;
|
|
353
|
+
employer_phone: string | null;
|
|
354
|
+
employment_position: string | null;
|
|
355
|
+
employment_position_type: DictValue | null;
|
|
356
|
+
total_experience: number | null;
|
|
357
|
+
work_tax_number: string | null;
|
|
358
|
+
work_address: Address | null;
|
|
359
|
+
employment_experience: number | null;
|
|
360
|
+
employment_income: number | null;
|
|
361
|
+
proof_employment_income: number | null;
|
|
362
|
+
work_employees_count: number | null;
|
|
363
|
+
work_business_share: number | null;
|
|
364
|
+
employer_foundation_date: string | null;
|
|
365
|
+
income_confirmation_document: DictValue | null;
|
|
366
|
+
employer_okved: string | null;
|
|
367
|
+
employer_activity: DictValue | null;
|
|
368
|
+
add_employment_type: DictValue | null;
|
|
369
|
+
add_employer_okved: string | null;
|
|
370
|
+
add_employer_name: string | null;
|
|
371
|
+
add_employer_phone: string | null;
|
|
372
|
+
add_employment_position: string | null;
|
|
373
|
+
add_employment_position_type: string | null;
|
|
374
|
+
add_work_tax_number: string | null;
|
|
375
|
+
add_work_address: Address | null;
|
|
376
|
+
add_employment_experience: number | null;
|
|
377
|
+
add_employment_income: number | null;
|
|
378
|
+
add_proof_employment_income: number | null;
|
|
379
|
+
add_work_employees_count: number | null;
|
|
380
|
+
add_work_business_share: number | null;
|
|
381
|
+
add_employer_foundation_date: string | null;
|
|
382
|
+
add_income_confirmation_document: string | null;
|
|
383
|
+
add_income_type: DictValue | null;
|
|
384
|
+
add_income: number | null;
|
|
385
|
+
add_employer_activity: DictValue | null;
|
|
386
|
+
loan_payments: number | null;
|
|
387
|
+
alimony: number | null;
|
|
388
|
+
loan_for_fee: boolean;
|
|
389
|
+
change_job: boolean;
|
|
390
|
+
maternity_leave: boolean;
|
|
391
|
+
public_official_person: boolean;
|
|
392
|
+
address_country: string | null;
|
|
393
|
+
address_postcode: string | null;
|
|
394
|
+
address_region: string | null;
|
|
395
|
+
address_city: string | null;
|
|
396
|
+
address_street: string | null;
|
|
397
|
+
address_house: string | null;
|
|
398
|
+
address_flat: string | null;
|
|
399
|
+
address: Address | null;
|
|
400
|
+
address_status: DictValue | null;
|
|
401
|
+
actual_address: Address | null;
|
|
402
|
+
is_lawyer: boolean;
|
|
403
|
+
add_is_lawyer: boolean;
|
|
404
|
+
is_notary: boolean;
|
|
405
|
+
add_is_notary: boolean;
|
|
406
|
+
nature_of_work: DictValue | null;
|
|
407
|
+
add_nature_of_work: DictValue | null;
|
|
408
|
+
is_guarantor: boolean;
|
|
409
|
+
coborrower_status: DictValue | null;
|
|
410
|
+
employer_activity_in_company: DictValue | null;
|
|
411
|
+
employer_legal_form: DictValue | null;
|
|
412
|
+
employer_other_legal_form: string | null;
|
|
413
|
+
relative_person: boolean | null;
|
|
414
|
+
add_employer_legal_form: DictValue | null;
|
|
415
|
+
add_employer_activity_in_company: DictValue | null;
|
|
416
|
+
add_employer_other_legal_form: string | null;
|
|
417
|
+
is_it_mortgage_participant: boolean | null;
|
|
418
|
+
is_subsidy_kids_participant: boolean | null;
|
|
419
|
+
disabled_dependent_birth_date: string | null;
|
|
420
|
+
usa_tax_consent: boolean | null;
|
|
421
|
+
usa_tax_payer: boolean | null;
|
|
422
|
+
foreign_tax_resident: boolean | null;
|
|
423
|
+
own_funds_amount: number | null;
|
|
424
|
+
address_type: boolean | null;
|
|
425
|
+
address_phone: string | null;
|
|
426
|
+
actual_address_phone: string | null;
|
|
427
|
+
marriage_contract: boolean | null;
|
|
428
|
+
notarial_consent: boolean | null;
|
|
429
|
+
dependents_citizenship: string | null;
|
|
430
|
+
is_spouse_coborrower: boolean;
|
|
431
|
+
agreement_to_bki_request: boolean;
|
|
432
|
+
bki_agreement_date: string;
|
|
433
|
+
owns_international_passport: boolean;
|
|
434
|
+
tax_resident_of_russia: boolean;
|
|
435
|
+
tax_resident_of_another_country: boolean;
|
|
436
|
+
akbars_is_bank_employee: boolean;
|
|
437
|
+
akbars_is_card_holder: boolean;
|
|
438
|
+
akbars_digital_consent: boolean;
|
|
439
|
+
akbars_is_certificate_of_repayment: boolean;
|
|
440
|
+
akbars_property_insurance: boolean;
|
|
441
|
+
akbars_collective_insurance_contract: boolean;
|
|
442
|
+
akbars_own_insurance: boolean;
|
|
443
|
+
akbars_any_abb_account: 'Yes' | 'No';
|
|
444
|
+
akbars_add_any_abb_account: 'Yes' | 'No';
|
|
445
|
+
akbars_applicable_tax_system: string;
|
|
446
|
+
akbars_add_applicable_tax_system: string;
|
|
447
|
+
akbars_kind_private_practice: string;
|
|
448
|
+
akbars_add_kind_private_practice: string;
|
|
449
|
+
work_address_actual: Address;
|
|
450
|
+
add_work_address_actual: Address;
|
|
451
|
+
};
|
|
452
|
+
type Customer = CustomerFields & CustomerMeta;
|
|
453
|
+
|
|
314
454
|
type Mortgage = {
|
|
315
455
|
id: number;
|
|
316
456
|
created_at: string;
|
|
@@ -844,146 +984,6 @@ declare const useDeleteStaffBrokerclient: () => {
|
|
|
844
984
|
}>): Promise<ApiResponse<Brokerclient> | null>;
|
|
845
985
|
};
|
|
846
986
|
|
|
847
|
-
type CustomerMeta = {
|
|
848
|
-
id: string;
|
|
849
|
-
status: string | 'new';
|
|
850
|
-
user_id: number | null;
|
|
851
|
-
mortgage: boolean;
|
|
852
|
-
};
|
|
853
|
-
type DictValue = string | number;
|
|
854
|
-
type CustomerFields = {
|
|
855
|
-
first_name: string;
|
|
856
|
-
last_name: string;
|
|
857
|
-
middle_name: string;
|
|
858
|
-
changed_name: boolean;
|
|
859
|
-
previous_first_name: string | null;
|
|
860
|
-
previous_last_name: string | null;
|
|
861
|
-
previous_middle_name: string | null;
|
|
862
|
-
email: string;
|
|
863
|
-
phone: string;
|
|
864
|
-
sex: Sex;
|
|
865
|
-
citizenship: string | 'RU';
|
|
866
|
-
tax_number: string | null;
|
|
867
|
-
insurance_number: string | null;
|
|
868
|
-
passport_serial: string;
|
|
869
|
-
passport_number: string;
|
|
870
|
-
passport_date: string;
|
|
871
|
-
passport_division_code: string;
|
|
872
|
-
passport_issuing: string;
|
|
873
|
-
dateofbirth: string;
|
|
874
|
-
birth_place: string | null;
|
|
875
|
-
changed_document: boolean;
|
|
876
|
-
old_passport_serial: string | null;
|
|
877
|
-
old_passport_number: string | null;
|
|
878
|
-
old_passport_date: string | null;
|
|
879
|
-
old_passport_division_code: string | null;
|
|
880
|
-
marital_status: DictValue | null;
|
|
881
|
-
dependents: number | null;
|
|
882
|
-
dependents_birth_dates: string | null;
|
|
883
|
-
education: DictValue | null;
|
|
884
|
-
employment_type: DictValue | null;
|
|
885
|
-
employer_name: string | null;
|
|
886
|
-
employer_phone: string | null;
|
|
887
|
-
employment_position: string | null;
|
|
888
|
-
employment_position_type: DictValue | null;
|
|
889
|
-
total_experience: number | null;
|
|
890
|
-
work_tax_number: string | null;
|
|
891
|
-
work_address: Address | null;
|
|
892
|
-
employment_experience: number | null;
|
|
893
|
-
employment_income: number | null;
|
|
894
|
-
proof_employment_income: number | null;
|
|
895
|
-
work_employees_count: number | null;
|
|
896
|
-
work_business_share: number | null;
|
|
897
|
-
employer_foundation_date: string | null;
|
|
898
|
-
income_confirmation_document: DictValue | null;
|
|
899
|
-
employer_okved: string | null;
|
|
900
|
-
employer_activity: DictValue | null;
|
|
901
|
-
add_employment_type: DictValue | null;
|
|
902
|
-
add_employer_okved: string | null;
|
|
903
|
-
add_employer_name: string | null;
|
|
904
|
-
add_employer_phone: string | null;
|
|
905
|
-
add_employment_position: string | null;
|
|
906
|
-
add_employment_position_type: string | null;
|
|
907
|
-
add_work_tax_number: string | null;
|
|
908
|
-
add_work_address: Address | null;
|
|
909
|
-
add_employment_experience: number | null;
|
|
910
|
-
add_employment_income: number | null;
|
|
911
|
-
add_proof_employment_income: number | null;
|
|
912
|
-
add_work_employees_count: number | null;
|
|
913
|
-
add_work_business_share: number | null;
|
|
914
|
-
add_employer_foundation_date: string | null;
|
|
915
|
-
add_income_confirmation_document: string | null;
|
|
916
|
-
add_income_type: DictValue | null;
|
|
917
|
-
add_income: number | null;
|
|
918
|
-
add_employer_activity: DictValue | null;
|
|
919
|
-
loan_payments: number | null;
|
|
920
|
-
alimony: number | null;
|
|
921
|
-
loan_for_fee: boolean;
|
|
922
|
-
change_job: boolean;
|
|
923
|
-
maternity_leave: boolean;
|
|
924
|
-
public_official_person: boolean;
|
|
925
|
-
address_country: string | null;
|
|
926
|
-
address_postcode: string | null;
|
|
927
|
-
address_region: string | null;
|
|
928
|
-
address_city: string | null;
|
|
929
|
-
address_street: string | null;
|
|
930
|
-
address_house: string | null;
|
|
931
|
-
address_flat: string | null;
|
|
932
|
-
address: Address | null;
|
|
933
|
-
address_status: DictValue | null;
|
|
934
|
-
actual_address: Address | null;
|
|
935
|
-
is_lawyer: boolean;
|
|
936
|
-
add_is_lawyer: boolean;
|
|
937
|
-
is_notary: boolean;
|
|
938
|
-
add_is_notary: boolean;
|
|
939
|
-
nature_of_work: DictValue | null;
|
|
940
|
-
add_nature_of_work: DictValue | null;
|
|
941
|
-
is_guarantor: boolean;
|
|
942
|
-
coborrower_status: DictValue | null;
|
|
943
|
-
employer_activity_in_company: DictValue | null;
|
|
944
|
-
employer_legal_form: DictValue | null;
|
|
945
|
-
employer_other_legal_form: string | null;
|
|
946
|
-
relative_person: boolean | null;
|
|
947
|
-
add_employer_legal_form: DictValue | null;
|
|
948
|
-
add_employer_activity_in_company: DictValue | null;
|
|
949
|
-
add_employer_other_legal_form: string | null;
|
|
950
|
-
is_it_mortgage_participant: boolean | null;
|
|
951
|
-
is_subsidy_kids_participant: boolean | null;
|
|
952
|
-
disabled_dependent_birth_date: string | null;
|
|
953
|
-
usa_tax_consent: boolean | null;
|
|
954
|
-
usa_tax_payer: boolean | null;
|
|
955
|
-
foreign_tax_resident: boolean | null;
|
|
956
|
-
own_funds_amount: number | null;
|
|
957
|
-
address_type: boolean | null;
|
|
958
|
-
address_phone: string | null;
|
|
959
|
-
actual_address_phone: string | null;
|
|
960
|
-
marriage_contract: boolean | null;
|
|
961
|
-
notarial_consent: boolean | null;
|
|
962
|
-
dependents_citizenship: string | null;
|
|
963
|
-
is_spouse_coborrower: boolean;
|
|
964
|
-
agreement_to_bki_request: boolean;
|
|
965
|
-
bki_agreement_date: string;
|
|
966
|
-
owns_international_passport: boolean;
|
|
967
|
-
tax_resident_of_russia: boolean;
|
|
968
|
-
tax_resident_of_another_country: boolean;
|
|
969
|
-
akbars_is_bank_employee: boolean;
|
|
970
|
-
akbars_is_card_holder: boolean;
|
|
971
|
-
akbars_digital_consent: boolean;
|
|
972
|
-
akbars_is_certificate_of_repayment: boolean;
|
|
973
|
-
akbars_property_insurance: boolean;
|
|
974
|
-
akbars_collective_insurance_contract: boolean;
|
|
975
|
-
akbars_own_insurance: boolean;
|
|
976
|
-
akbars_any_abb_account: 'Yes' | 'No';
|
|
977
|
-
akbars_add_any_abb_account: 'Yes' | 'No';
|
|
978
|
-
akbars_applicable_tax_system: string;
|
|
979
|
-
akbars_add_applicable_tax_system: string;
|
|
980
|
-
akbars_kind_private_practice: string;
|
|
981
|
-
akbars_add_kind_private_practice: string;
|
|
982
|
-
work_address_actual: Address;
|
|
983
|
-
add_work_address_actual: Address;
|
|
984
|
-
};
|
|
985
|
-
type Customer = CustomerFields & CustomerMeta;
|
|
986
|
-
|
|
987
987
|
type CustomerUpdate = Partial<CustomerFields> & {
|
|
988
988
|
id: string;
|
|
989
989
|
};
|
|
@@ -1254,4 +1254,4 @@ type Mode = 'development' | 'production';
|
|
|
1254
1254
|
declare function setMode(newMode: Mode): void;
|
|
1255
1255
|
declare function getMode(): Mode;
|
|
1256
1256
|
|
|
1257
|
-
export { type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type Alfabankbalance, type AlfabankbalanceOffer, type AlfabankbalanceOfferLoanParameters, type AlfabankbalanceScanState, type AlfabankbalanceStages, type Brokerclient, type CustomerUpdate, type Dict, type DictItem, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageStages, type Rosbankdom, type RosbankdomOffer, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type User, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCancelRosbankdom, useCloneAlfabankbalance, useCloneRosbankdom, useCloneSalespoint, useCloneUser, useConfirmRosbankdom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankbalance, useDeleteAlfabankbalanceScans, useDeleteBrokerclient, useDeleteCustomerList, useDeleteGroupUser, useDeleteRosbankdom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankbalanceScansApplications, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankbalance, useGetAlfabankbalanceDict, useGetAlfabankbalanceList, useGetAlfabankbalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetCustomer, useGetCustomerList, useGetRosbankdom, useGetRosbankdomDict, useGetRosbankdomList, useGetRosbankdomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankbalanceStatus, usePreapprovalRosbankdomStatus, useProcessingAkbars, useRosbankdomOpportunity, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankbalance, useSendAlfabankbalanceScans, useSendRosbankdom, useSendRosbankdomScans, useStatusManuallyAlfabankbalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankbalance, useUpdateBrokerclient, useUpdateCustomer, useUpdateManySalespoint, useUpdateManyUser, useUpdateRosbankdom, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankbalanceScans };
|
|
1257
|
+
export { type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type Alfabankbalance, type AlfabankbalanceOffer, type AlfabankbalanceOfferLoanParameters, type AlfabankbalanceScanState, type AlfabankbalanceStages, type Brokerclient, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageStages, type Rosbankdom, type RosbankdomOffer, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type User, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCancelRosbankdom, useCloneAlfabankbalance, useCloneRosbankdom, useCloneSalespoint, useCloneUser, useConfirmRosbankdom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankbalance, useDeleteAlfabankbalanceScans, useDeleteBrokerclient, useDeleteCustomerList, useDeleteGroupUser, useDeleteRosbankdom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankbalanceScansApplications, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankbalance, useGetAlfabankbalanceDict, useGetAlfabankbalanceList, useGetAlfabankbalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetCustomer, useGetCustomerList, useGetRosbankdom, useGetRosbankdomDict, useGetRosbankdomList, useGetRosbankdomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankbalanceStatus, usePreapprovalRosbankdomStatus, useProcessingAkbars, useRosbankdomOpportunity, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankbalance, useSendAlfabankbalanceScans, useSendRosbankdom, useSendRosbankdomScans, useStatusManuallyAlfabankbalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankbalance, useUpdateBrokerclient, useUpdateCustomer, useUpdateManySalespoint, useUpdateManyUser, useUpdateRosbankdom, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankbalanceScans };
|