simpleloan_api 1.2.37 → 1.2.38
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 +29 -57
- package/dist/index.d.ts +29 -57
- package/dist/index.js +0 -3
- package/dist/index.mjs +0 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -178,7 +178,7 @@ type AkbarsPrintform = {
|
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
type AlfabankBalanceStages = 'app' | 'app_wait' | 'app_abort' | 'scans' | 'scans_wait' | 'scans_abort' | 'approval' | 'approval_wait' | 'end' | 'cancel' | 'unknown';
|
|
181
|
+
type AlfabankBalanceStages = 'app' | 'app_wait' | 'app_abort' | 'scans' | 'scans_wait' | 'scans_abort' | 'approval' | 'approval_wait' | 'end' | 'cancel' | 'unknown' | 'income' | 'income_wait' | 'income_abort';
|
|
182
182
|
type AlfabankBalanceOfferLoanParameters = {
|
|
183
183
|
ltv: number;
|
|
184
184
|
term: number;
|
|
@@ -624,9 +624,6 @@ type MortgageMeta = {
|
|
|
624
624
|
customers?: Customer[];
|
|
625
625
|
main_customer: Customer;
|
|
626
626
|
};
|
|
627
|
-
check_passports: Record<string, number>;
|
|
628
|
-
kinship_coborrower: Record<string, string>;
|
|
629
|
-
roles_coborrower: Record<string, string>;
|
|
630
627
|
};
|
|
631
628
|
type MortgageFields = {
|
|
632
629
|
program_id: number;
|
|
@@ -644,12 +641,12 @@ type MortgageFields = {
|
|
|
644
641
|
maternal_capital_in_loan_sum: boolean;
|
|
645
642
|
maternal_capital_in_down_payment: boolean;
|
|
646
643
|
maternal_capital_sum: number | null;
|
|
647
|
-
comment_bank_manager?: string;
|
|
648
644
|
is_pledge: boolean;
|
|
649
645
|
pledge_type: string | null;
|
|
650
646
|
pledge_readiness: string | null;
|
|
651
647
|
pledge_object: string | null;
|
|
652
648
|
campaign: string | null;
|
|
649
|
+
check_passports: Record<string, number>;
|
|
653
650
|
};
|
|
654
651
|
type Mortgage = MortgageMeta & MortgageFields;
|
|
655
652
|
type MortgageDictNames = 'ApartmentType' | 'MortgageType' | 'PledgeType' | 'PledgeReadiness' | 'PledgeObject' | 'Campaign' | 'IncomeConfirmationDocument' | 'RealEstateObject' | 'TypeOfProperty';
|
|
@@ -706,13 +703,6 @@ type MortgageScan = {
|
|
|
706
703
|
scan_type: string;
|
|
707
704
|
title: string;
|
|
708
705
|
};
|
|
709
|
-
type UpdateMortgageCustomerRequest = {
|
|
710
|
-
id: number;
|
|
711
|
-
customer_id: string;
|
|
712
|
-
check_passport_id?: number;
|
|
713
|
-
role_coborrower?: string;
|
|
714
|
-
kinship_coborrower?: string;
|
|
715
|
-
};
|
|
716
706
|
|
|
717
707
|
type ReportsAsyncStatus = 'new' | 'processing' | 'error' | 'done' | 'aborting' | 'aborted';
|
|
718
708
|
type ReportsAsync = {
|
|
@@ -921,13 +911,31 @@ type SovcombankFields = {};
|
|
|
921
911
|
type Sovcombank = SovcombankMeta & SovcombankFields;
|
|
922
912
|
|
|
923
913
|
type VtbBankmStages = 'app' | 'app_wait' | 'app_abort' | 'scans_wait' | 'scans_abort' | 'cancel' | 'end' | 'unknown';
|
|
924
|
-
type
|
|
914
|
+
type VtbBankmMeta = {
|
|
925
915
|
id: number;
|
|
926
916
|
created_at: string;
|
|
927
917
|
salespoint_id: number;
|
|
928
918
|
user_id: number;
|
|
929
919
|
mortgageapp_id: number;
|
|
930
920
|
bank_id: string;
|
|
921
|
+
offers: null;
|
|
922
|
+
scans_send: false;
|
|
923
|
+
verify_send: false;
|
|
924
|
+
stages: {
|
|
925
|
+
current: VtbBankmStages;
|
|
926
|
+
fields: [];
|
|
927
|
+
last_comment: string;
|
|
928
|
+
cancel_date: null;
|
|
929
|
+
result_app: string;
|
|
930
|
+
result_app_start: null;
|
|
931
|
+
result_app_stop: null;
|
|
932
|
+
result_scans: string;
|
|
933
|
+
result_scans_start: null;
|
|
934
|
+
result_scans_stop: null;
|
|
935
|
+
confirm_date: null;
|
|
936
|
+
};
|
|
937
|
+
};
|
|
938
|
+
type VtbBankmFields = {
|
|
931
939
|
division: string;
|
|
932
940
|
divisionCity: string;
|
|
933
941
|
objectCategory: string;
|
|
@@ -938,48 +946,17 @@ type Vtbbankm = {
|
|
|
938
946
|
initialPayment: string;
|
|
939
947
|
requestedLoanTerm: number;
|
|
940
948
|
loanProductGroup: string;
|
|
941
|
-
maternalCapitalUsagePurpouse:
|
|
949
|
+
maternalCapitalUsagePurpouse: string;
|
|
942
950
|
maternalCapitalAmount: null;
|
|
943
951
|
creditProgram: string;
|
|
944
|
-
refinancing: false;
|
|
945
952
|
is_pledge: false;
|
|
946
953
|
pledgeEstateType: null;
|
|
947
954
|
pledgeObjectCategory: null;
|
|
948
|
-
program_code: null;
|
|
949
|
-
down_payment_housing_subsidy: false;
|
|
950
|
-
down_payment_targeted_housing_loan: false;
|
|
951
955
|
is_tranche: false;
|
|
952
956
|
is_combo: false;
|
|
953
957
|
tranches: null;
|
|
954
|
-
scans_send: true;
|
|
955
|
-
scans_send_meta: true;
|
|
956
|
-
verify_send: true;
|
|
957
|
-
offers: VtbbankmOffers[];
|
|
958
|
-
stages: {
|
|
959
|
-
current: string;
|
|
960
|
-
fields: string[];
|
|
961
|
-
last_comment: string;
|
|
962
|
-
cancel_date: string | null;
|
|
963
|
-
result_app: string | null;
|
|
964
|
-
result_app_start: string | null;
|
|
965
|
-
result_app_stop: string | null;
|
|
966
|
-
result_scans: string | null;
|
|
967
|
-
result_scans_start: string | null;
|
|
968
|
-
result_scans_stop: string | null;
|
|
969
|
-
confirm_date: string | null;
|
|
970
|
-
};
|
|
971
|
-
};
|
|
972
|
-
type VtbbankmOffers = {
|
|
973
|
-
loanRate: number;
|
|
974
|
-
loanTerm: number;
|
|
975
|
-
approveDate: string;
|
|
976
|
-
approvedAmount: number;
|
|
977
|
-
monthlyPayment: number;
|
|
978
|
-
initialFeeAmount: number;
|
|
979
|
-
azsQuestionnaireId: string;
|
|
980
|
-
calculatedLoanAmount: number;
|
|
981
|
-
realEstateCategoryId: string;
|
|
982
958
|
};
|
|
959
|
+
type Vtbbankm = VtbBankmMeta & VtbBankmFields;
|
|
983
960
|
|
|
984
961
|
type ApiResponse<T> = {
|
|
985
962
|
_code: number;
|
|
@@ -1866,7 +1843,11 @@ declare const useSendMortgage: () => {
|
|
|
1866
1843
|
declare const useUpdateMortgageCustomer: () => {
|
|
1867
1844
|
readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
|
|
1868
1845
|
readonly pending: vue.Ref<boolean>;
|
|
1869
|
-
post(params: PostParams<
|
|
1846
|
+
post(params: PostParams<{
|
|
1847
|
+
id: number;
|
|
1848
|
+
customer_id: string;
|
|
1849
|
+
check_passport_id?: number;
|
|
1850
|
+
}>): Promise<ApiResponse<Mortgage> | null>;
|
|
1870
1851
|
};
|
|
1871
1852
|
/** Удаление кастомера из ипотечной заявки */
|
|
1872
1853
|
declare const useDeleteMortgageCustomer: () => {
|
|
@@ -2476,21 +2457,12 @@ declare const useSendVtbbankm: () => {
|
|
|
2476
2457
|
id: number;
|
|
2477
2458
|
}>): Promise<ApiResponse<Vtbbankm> | null>;
|
|
2478
2459
|
};
|
|
2479
|
-
/** Отправка заявки Втб банка */
|
|
2480
|
-
declare const useSendVtbbankmScans: () => {
|
|
2481
|
-
readonly response: vue.Ref<ApiResponse<Vtbbankm> | null>;
|
|
2482
|
-
readonly pending: vue.Ref<boolean>;
|
|
2483
|
-
post(params: PostParams<{
|
|
2484
|
-
id: number;
|
|
2485
|
-
}>): Promise<ApiResponse<Vtbbankm> | null>;
|
|
2486
|
-
};
|
|
2487
2460
|
/** Получение анкет для заёмщиков заявки Втб */
|
|
2488
2461
|
declare const useGenerateVtbbankmScansApplications: () => {
|
|
2489
2462
|
readonly response: vue.Ref<ApiResponse<Record<string, string>> | null>;
|
|
2490
2463
|
readonly pending: vue.Ref<boolean>;
|
|
2491
2464
|
post(params: PostParams<{
|
|
2492
2465
|
mortgageapp_id: number;
|
|
2493
|
-
is_consent: boolean;
|
|
2494
2466
|
}>): Promise<ApiResponse<Record<string, string>> | null>;
|
|
2495
2467
|
};
|
|
2496
2468
|
/** Отмена заявки Втб банка */
|
|
@@ -2516,4 +2488,4 @@ type Mode = 'development' | 'production';
|
|
|
2516
2488
|
declare function setMode(newMode: Mode): void;
|
|
2517
2489
|
declare function getMode(): Mode;
|
|
2518
2490
|
|
|
2519
|
-
export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, 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 Atbbank, type AtbbankFields, type AtbbankMeta, type AtbbankStages, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type CheckpassportApp, type CheckpassportUploadRequest, type CheckpassportUploadRequestWithAllFiles, type CheckpassportUploadRequestWithFiles, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type GetFmsResponse, type Login, type LoginResponse, type MessageUpdateWithGroupId, type MessageUpdateWithSalespointIds, type Mortgage, type MortgageBankApp, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageCommonDictNames, type MortgageDictNames, type MortgageFields, type MortgageLoanReportRequest, type MortgageLoanReportStatus, type MortgageMeta, type MortgageProgram, type MortgageProgramsLimits, type MortgageScan, type MortgageScanDoctype, type MortgageStages, type MortgageUpdate, type ReportsAsync, type ReportsAsyncStatus, type ReportsMortgageLoanRequest, type ReportsMortgageStatFilter, type ReportsMortgageStatRequest, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Salespointgroup, type Sex, type Sovcombank, type SovcombankFields, type SovcombankMeta, type SovcombankOffer, type SovcombankStages, type
|
|
2491
|
+
export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, 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 Atbbank, type AtbbankFields, type AtbbankMeta, type AtbbankStages, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type CheckpassportApp, type CheckpassportUploadRequest, type CheckpassportUploadRequestWithAllFiles, type CheckpassportUploadRequestWithFiles, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type GetFmsResponse, type Login, type LoginResponse, type MessageUpdateWithGroupId, type MessageUpdateWithSalespointIds, type Mortgage, type MortgageBankApp, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageCommonDictNames, type MortgageDictNames, type MortgageFields, type MortgageLoanReportRequest, type MortgageLoanReportStatus, type MortgageMeta, type MortgageProgram, type MortgageProgramsLimits, type MortgageScan, type MortgageScanDoctype, type MortgageStages, type MortgageUpdate, type ReportsAsync, type ReportsAsyncStatus, type ReportsMortgageLoanRequest, type ReportsMortgageStatFilter, type ReportsMortgageStatRequest, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Salespointgroup, type Sex, type Sovcombank, type SovcombankFields, type SovcombankMeta, type SovcombankOffer, type SovcombankStages, type UploadB64File, type UploadedFile, type User, type VtbBankmFields, type VtbBankmMeta, type VtbBankmStages, type Vtbbankm, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCalculateMortgage, useCancelAbsolutbank, useCancelAtbbank, useCancelGazprombankm, useCancelMortgage, useCancelRosbankDom, useCancelSovcombank, useCancelVtbbankm, useCloneAbsolutbank, useCloneAlfabankBalance, useCloneAtbbank, useCloneGazprombankm, useCloneMortgage, useCloneRosbankDom, useCloneSalespoint, useCloneSovcombank, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmAtbbank, useConfirmRosbankDom, useConfirmSovcombank, useDeleteAbsolutbank, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteAtbbank, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGazprombankm, useDeleteGroupUser, useDeleteMortgage, useDeleteMortgageCustomer, useDeleteMortgageProgram, useDeleteMortgageScan, useDeleteRosbankDom, useDeleteSalespoint, useDeleteSalespointgroup, useDeleteSovcombank, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useDeleteVtbbankm, useGenerateAbsolutbankScansApplications, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGenerateAtbbankScansApplications, useGenerateGazprombankmScansApplications, useGenerateMortgageLoanReport, useGenerateMortgageStatReport, useGenerateSovcombankScansApplications, useGenerateVtbbankmScansApplications, useGetAbsolutbank, useGetAbsolutbankDict, useGetAbsolutbankList, useGetAbsolutbankPrintforms, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetAtbbank, useGetAtbbankDict, useGetAtbbankFiles, useGetAtbbankList, useGetAtbbankPrintformsList, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCheckpassportStatus, useGetCommondictsBanks, useGetCommondictsPassportFms, useGetCustomer, useGetCustomerList, useGetGazprombankm, useGetGazprombankmDict, useGetGazprombankmList, useGetMortgage, useGetMortgageBankApp, useGetMortgageCommonDictList, useGetMortgageDict, useGetMortgageFieldChoices, useGetMortgageFieldRequired, useGetMortgageLimits, useGetMortgageList, useGetMortgageProgram, useGetMortgageProgramsGroup, useGetMortgageProgramsList, useGetMortgageScansDoctypesList, useGetMortgageScansList, useGetReportsList, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetSalespointgroup, useGetSalespointgroupList, useGetSovcombank, useGetSovcombankDict, useGetSovcombankFiles, useGetSovcombankList, useGetSovcombankPrintformsList, useGetUser, useGetUserList, useGetVtbbankm, useGetVtbbankmList, useLoanerApprovingAkbarsStatus, usePreapprovalAbsolutbankStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalAtbbankStatus, usePreapprovalRosbankDomStatus, usePreapprovalSovcombankStatus, usePrintMortgageForm, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAbsolutbank, useSendAbsolutbankScans, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendAtbbank, useSendAtbbankScans, useSendGazprombankm, useSendGazprombankmScans, useSendMortgage, useSendMortgageScans, useSendRosbankDom, useSendRosbankDomScans, useSendSovcombank, useSendSovcombankScans, useSendVtbbankm, useStatusManuallyAlfabankBalanceScans, useUpdateAbsolutbank, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateAtbbank, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCommondictsPassportFms, useUpdateCustomer, useUpdateGazprombankm, useUpdateManySalespoint, useUpdateManyUser, useUpdateMortgage, useUpdateMortgageCustomer, useUpdateMortgageProgram, useUpdateRosbankDom, useUpdateSalespoint, useUpdateSalespointgroup, useUpdateSovcombank, useUpdateUser, useUpdateVtbbankm, useUploadAkbarsDepositScan, useUploadCheckpassport, useUploadMortgageScan, useVerifyManuallyAlfabankBalanceScans };
|
package/dist/index.d.ts
CHANGED
|
@@ -178,7 +178,7 @@ type AkbarsPrintform = {
|
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
type AlfabankBalanceStages = 'app' | 'app_wait' | 'app_abort' | 'scans' | 'scans_wait' | 'scans_abort' | 'approval' | 'approval_wait' | 'end' | 'cancel' | 'unknown';
|
|
181
|
+
type AlfabankBalanceStages = 'app' | 'app_wait' | 'app_abort' | 'scans' | 'scans_wait' | 'scans_abort' | 'approval' | 'approval_wait' | 'end' | 'cancel' | 'unknown' | 'income' | 'income_wait' | 'income_abort';
|
|
182
182
|
type AlfabankBalanceOfferLoanParameters = {
|
|
183
183
|
ltv: number;
|
|
184
184
|
term: number;
|
|
@@ -624,9 +624,6 @@ type MortgageMeta = {
|
|
|
624
624
|
customers?: Customer[];
|
|
625
625
|
main_customer: Customer;
|
|
626
626
|
};
|
|
627
|
-
check_passports: Record<string, number>;
|
|
628
|
-
kinship_coborrower: Record<string, string>;
|
|
629
|
-
roles_coborrower: Record<string, string>;
|
|
630
627
|
};
|
|
631
628
|
type MortgageFields = {
|
|
632
629
|
program_id: number;
|
|
@@ -644,12 +641,12 @@ type MortgageFields = {
|
|
|
644
641
|
maternal_capital_in_loan_sum: boolean;
|
|
645
642
|
maternal_capital_in_down_payment: boolean;
|
|
646
643
|
maternal_capital_sum: number | null;
|
|
647
|
-
comment_bank_manager?: string;
|
|
648
644
|
is_pledge: boolean;
|
|
649
645
|
pledge_type: string | null;
|
|
650
646
|
pledge_readiness: string | null;
|
|
651
647
|
pledge_object: string | null;
|
|
652
648
|
campaign: string | null;
|
|
649
|
+
check_passports: Record<string, number>;
|
|
653
650
|
};
|
|
654
651
|
type Mortgage = MortgageMeta & MortgageFields;
|
|
655
652
|
type MortgageDictNames = 'ApartmentType' | 'MortgageType' | 'PledgeType' | 'PledgeReadiness' | 'PledgeObject' | 'Campaign' | 'IncomeConfirmationDocument' | 'RealEstateObject' | 'TypeOfProperty';
|
|
@@ -706,13 +703,6 @@ type MortgageScan = {
|
|
|
706
703
|
scan_type: string;
|
|
707
704
|
title: string;
|
|
708
705
|
};
|
|
709
|
-
type UpdateMortgageCustomerRequest = {
|
|
710
|
-
id: number;
|
|
711
|
-
customer_id: string;
|
|
712
|
-
check_passport_id?: number;
|
|
713
|
-
role_coborrower?: string;
|
|
714
|
-
kinship_coborrower?: string;
|
|
715
|
-
};
|
|
716
706
|
|
|
717
707
|
type ReportsAsyncStatus = 'new' | 'processing' | 'error' | 'done' | 'aborting' | 'aborted';
|
|
718
708
|
type ReportsAsync = {
|
|
@@ -921,13 +911,31 @@ type SovcombankFields = {};
|
|
|
921
911
|
type Sovcombank = SovcombankMeta & SovcombankFields;
|
|
922
912
|
|
|
923
913
|
type VtbBankmStages = 'app' | 'app_wait' | 'app_abort' | 'scans_wait' | 'scans_abort' | 'cancel' | 'end' | 'unknown';
|
|
924
|
-
type
|
|
914
|
+
type VtbBankmMeta = {
|
|
925
915
|
id: number;
|
|
926
916
|
created_at: string;
|
|
927
917
|
salespoint_id: number;
|
|
928
918
|
user_id: number;
|
|
929
919
|
mortgageapp_id: number;
|
|
930
920
|
bank_id: string;
|
|
921
|
+
offers: null;
|
|
922
|
+
scans_send: false;
|
|
923
|
+
verify_send: false;
|
|
924
|
+
stages: {
|
|
925
|
+
current: VtbBankmStages;
|
|
926
|
+
fields: [];
|
|
927
|
+
last_comment: string;
|
|
928
|
+
cancel_date: null;
|
|
929
|
+
result_app: string;
|
|
930
|
+
result_app_start: null;
|
|
931
|
+
result_app_stop: null;
|
|
932
|
+
result_scans: string;
|
|
933
|
+
result_scans_start: null;
|
|
934
|
+
result_scans_stop: null;
|
|
935
|
+
confirm_date: null;
|
|
936
|
+
};
|
|
937
|
+
};
|
|
938
|
+
type VtbBankmFields = {
|
|
931
939
|
division: string;
|
|
932
940
|
divisionCity: string;
|
|
933
941
|
objectCategory: string;
|
|
@@ -938,48 +946,17 @@ type Vtbbankm = {
|
|
|
938
946
|
initialPayment: string;
|
|
939
947
|
requestedLoanTerm: number;
|
|
940
948
|
loanProductGroup: string;
|
|
941
|
-
maternalCapitalUsagePurpouse:
|
|
949
|
+
maternalCapitalUsagePurpouse: string;
|
|
942
950
|
maternalCapitalAmount: null;
|
|
943
951
|
creditProgram: string;
|
|
944
|
-
refinancing: false;
|
|
945
952
|
is_pledge: false;
|
|
946
953
|
pledgeEstateType: null;
|
|
947
954
|
pledgeObjectCategory: null;
|
|
948
|
-
program_code: null;
|
|
949
|
-
down_payment_housing_subsidy: false;
|
|
950
|
-
down_payment_targeted_housing_loan: false;
|
|
951
955
|
is_tranche: false;
|
|
952
956
|
is_combo: false;
|
|
953
957
|
tranches: null;
|
|
954
|
-
scans_send: true;
|
|
955
|
-
scans_send_meta: true;
|
|
956
|
-
verify_send: true;
|
|
957
|
-
offers: VtbbankmOffers[];
|
|
958
|
-
stages: {
|
|
959
|
-
current: string;
|
|
960
|
-
fields: string[];
|
|
961
|
-
last_comment: string;
|
|
962
|
-
cancel_date: string | null;
|
|
963
|
-
result_app: string | null;
|
|
964
|
-
result_app_start: string | null;
|
|
965
|
-
result_app_stop: string | null;
|
|
966
|
-
result_scans: string | null;
|
|
967
|
-
result_scans_start: string | null;
|
|
968
|
-
result_scans_stop: string | null;
|
|
969
|
-
confirm_date: string | null;
|
|
970
|
-
};
|
|
971
|
-
};
|
|
972
|
-
type VtbbankmOffers = {
|
|
973
|
-
loanRate: number;
|
|
974
|
-
loanTerm: number;
|
|
975
|
-
approveDate: string;
|
|
976
|
-
approvedAmount: number;
|
|
977
|
-
monthlyPayment: number;
|
|
978
|
-
initialFeeAmount: number;
|
|
979
|
-
azsQuestionnaireId: string;
|
|
980
|
-
calculatedLoanAmount: number;
|
|
981
|
-
realEstateCategoryId: string;
|
|
982
958
|
};
|
|
959
|
+
type Vtbbankm = VtbBankmMeta & VtbBankmFields;
|
|
983
960
|
|
|
984
961
|
type ApiResponse<T> = {
|
|
985
962
|
_code: number;
|
|
@@ -1866,7 +1843,11 @@ declare const useSendMortgage: () => {
|
|
|
1866
1843
|
declare const useUpdateMortgageCustomer: () => {
|
|
1867
1844
|
readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
|
|
1868
1845
|
readonly pending: vue.Ref<boolean>;
|
|
1869
|
-
post(params: PostParams<
|
|
1846
|
+
post(params: PostParams<{
|
|
1847
|
+
id: number;
|
|
1848
|
+
customer_id: string;
|
|
1849
|
+
check_passport_id?: number;
|
|
1850
|
+
}>): Promise<ApiResponse<Mortgage> | null>;
|
|
1870
1851
|
};
|
|
1871
1852
|
/** Удаление кастомера из ипотечной заявки */
|
|
1872
1853
|
declare const useDeleteMortgageCustomer: () => {
|
|
@@ -2476,21 +2457,12 @@ declare const useSendVtbbankm: () => {
|
|
|
2476
2457
|
id: number;
|
|
2477
2458
|
}>): Promise<ApiResponse<Vtbbankm> | null>;
|
|
2478
2459
|
};
|
|
2479
|
-
/** Отправка заявки Втб банка */
|
|
2480
|
-
declare const useSendVtbbankmScans: () => {
|
|
2481
|
-
readonly response: vue.Ref<ApiResponse<Vtbbankm> | null>;
|
|
2482
|
-
readonly pending: vue.Ref<boolean>;
|
|
2483
|
-
post(params: PostParams<{
|
|
2484
|
-
id: number;
|
|
2485
|
-
}>): Promise<ApiResponse<Vtbbankm> | null>;
|
|
2486
|
-
};
|
|
2487
2460
|
/** Получение анкет для заёмщиков заявки Втб */
|
|
2488
2461
|
declare const useGenerateVtbbankmScansApplications: () => {
|
|
2489
2462
|
readonly response: vue.Ref<ApiResponse<Record<string, string>> | null>;
|
|
2490
2463
|
readonly pending: vue.Ref<boolean>;
|
|
2491
2464
|
post(params: PostParams<{
|
|
2492
2465
|
mortgageapp_id: number;
|
|
2493
|
-
is_consent: boolean;
|
|
2494
2466
|
}>): Promise<ApiResponse<Record<string, string>> | null>;
|
|
2495
2467
|
};
|
|
2496
2468
|
/** Отмена заявки Втб банка */
|
|
@@ -2516,4 +2488,4 @@ type Mode = 'development' | 'production';
|
|
|
2516
2488
|
declare function setMode(newMode: Mode): void;
|
|
2517
2489
|
declare function getMode(): Mode;
|
|
2518
2490
|
|
|
2519
|
-
export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, 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 Atbbank, type AtbbankFields, type AtbbankMeta, type AtbbankStages, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type CheckpassportApp, type CheckpassportUploadRequest, type CheckpassportUploadRequestWithAllFiles, type CheckpassportUploadRequestWithFiles, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type GetFmsResponse, type Login, type LoginResponse, type MessageUpdateWithGroupId, type MessageUpdateWithSalespointIds, type Mortgage, type MortgageBankApp, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageCommonDictNames, type MortgageDictNames, type MortgageFields, type MortgageLoanReportRequest, type MortgageLoanReportStatus, type MortgageMeta, type MortgageProgram, type MortgageProgramsLimits, type MortgageScan, type MortgageScanDoctype, type MortgageStages, type MortgageUpdate, type ReportsAsync, type ReportsAsyncStatus, type ReportsMortgageLoanRequest, type ReportsMortgageStatFilter, type ReportsMortgageStatRequest, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Salespointgroup, type Sex, type Sovcombank, type SovcombankFields, type SovcombankMeta, type SovcombankOffer, type SovcombankStages, type
|
|
2491
|
+
export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, 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 Atbbank, type AtbbankFields, type AtbbankMeta, type AtbbankStages, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type CheckpassportApp, type CheckpassportUploadRequest, type CheckpassportUploadRequestWithAllFiles, type CheckpassportUploadRequestWithFiles, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type GetFmsResponse, type Login, type LoginResponse, type MessageUpdateWithGroupId, type MessageUpdateWithSalespointIds, type Mortgage, type MortgageBankApp, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageCommonDictNames, type MortgageDictNames, type MortgageFields, type MortgageLoanReportRequest, type MortgageLoanReportStatus, type MortgageMeta, type MortgageProgram, type MortgageProgramsLimits, type MortgageScan, type MortgageScanDoctype, type MortgageStages, type MortgageUpdate, type ReportsAsync, type ReportsAsyncStatus, type ReportsMortgageLoanRequest, type ReportsMortgageStatFilter, type ReportsMortgageStatRequest, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Salespointgroup, type Sex, type Sovcombank, type SovcombankFields, type SovcombankMeta, type SovcombankOffer, type SovcombankStages, type UploadB64File, type UploadedFile, type User, type VtbBankmFields, type VtbBankmMeta, type VtbBankmStages, type Vtbbankm, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCalculateMortgage, useCancelAbsolutbank, useCancelAtbbank, useCancelGazprombankm, useCancelMortgage, useCancelRosbankDom, useCancelSovcombank, useCancelVtbbankm, useCloneAbsolutbank, useCloneAlfabankBalance, useCloneAtbbank, useCloneGazprombankm, useCloneMortgage, useCloneRosbankDom, useCloneSalespoint, useCloneSovcombank, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmAtbbank, useConfirmRosbankDom, useConfirmSovcombank, useDeleteAbsolutbank, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteAtbbank, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGazprombankm, useDeleteGroupUser, useDeleteMortgage, useDeleteMortgageCustomer, useDeleteMortgageProgram, useDeleteMortgageScan, useDeleteRosbankDom, useDeleteSalespoint, useDeleteSalespointgroup, useDeleteSovcombank, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useDeleteVtbbankm, useGenerateAbsolutbankScansApplications, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGenerateAtbbankScansApplications, useGenerateGazprombankmScansApplications, useGenerateMortgageLoanReport, useGenerateMortgageStatReport, useGenerateSovcombankScansApplications, useGenerateVtbbankmScansApplications, useGetAbsolutbank, useGetAbsolutbankDict, useGetAbsolutbankList, useGetAbsolutbankPrintforms, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetAtbbank, useGetAtbbankDict, useGetAtbbankFiles, useGetAtbbankList, useGetAtbbankPrintformsList, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCheckpassportStatus, useGetCommondictsBanks, useGetCommondictsPassportFms, useGetCustomer, useGetCustomerList, useGetGazprombankm, useGetGazprombankmDict, useGetGazprombankmList, useGetMortgage, useGetMortgageBankApp, useGetMortgageCommonDictList, useGetMortgageDict, useGetMortgageFieldChoices, useGetMortgageFieldRequired, useGetMortgageLimits, useGetMortgageList, useGetMortgageProgram, useGetMortgageProgramsGroup, useGetMortgageProgramsList, useGetMortgageScansDoctypesList, useGetMortgageScansList, useGetReportsList, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetSalespointgroup, useGetSalespointgroupList, useGetSovcombank, useGetSovcombankDict, useGetSovcombankFiles, useGetSovcombankList, useGetSovcombankPrintformsList, useGetUser, useGetUserList, useGetVtbbankm, useGetVtbbankmList, useLoanerApprovingAkbarsStatus, usePreapprovalAbsolutbankStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalAtbbankStatus, usePreapprovalRosbankDomStatus, usePreapprovalSovcombankStatus, usePrintMortgageForm, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAbsolutbank, useSendAbsolutbankScans, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendAtbbank, useSendAtbbankScans, useSendGazprombankm, useSendGazprombankmScans, useSendMortgage, useSendMortgageScans, useSendRosbankDom, useSendRosbankDomScans, useSendSovcombank, useSendSovcombankScans, useSendVtbbankm, useStatusManuallyAlfabankBalanceScans, useUpdateAbsolutbank, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateAtbbank, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCommondictsPassportFms, useUpdateCustomer, useUpdateGazprombankm, useUpdateManySalespoint, useUpdateManyUser, useUpdateMortgage, useUpdateMortgageCustomer, useUpdateMortgageProgram, useUpdateRosbankDom, useUpdateSalespoint, useUpdateSalespointgroup, useUpdateSovcombank, useUpdateUser, useUpdateVtbbankm, useUploadAkbarsDepositScan, useUploadCheckpassport, useUploadMortgageScan, useVerifyManuallyAlfabankBalanceScans };
|
package/dist/index.js
CHANGED
|
@@ -212,7 +212,6 @@ __export(simpleloan_api_exports, {
|
|
|
212
212
|
useSendSovcombank: () => useSendSovcombank,
|
|
213
213
|
useSendSovcombankScans: () => useSendSovcombankScans,
|
|
214
214
|
useSendVtbbankm: () => useSendVtbbankm,
|
|
215
|
-
useSendVtbbankmScans: () => useSendVtbbankmScans,
|
|
216
215
|
useStatusManuallyAlfabankBalanceScans: () => useStatusManuallyAlfabankBalanceScans,
|
|
217
216
|
useUpdateAbsolutbank: () => useUpdateAbsolutbank,
|
|
218
217
|
useUpdateAkbars: () => useUpdateAkbars,
|
|
@@ -557,7 +556,6 @@ var useGetVtbbankmList = () => useFetch(baseUrl19 + "get_list/");
|
|
|
557
556
|
var useDeleteVtbbankm = () => useFetch(baseUrl19 + "delete/");
|
|
558
557
|
var useUpdateVtbbankm = () => useFetch(baseUrl19 + "app/update/");
|
|
559
558
|
var useSendVtbbankm = () => useFetch(baseUrl19 + "app/send/");
|
|
560
|
-
var useSendVtbbankmScans = () => useFetch(baseUrl19 + "scans/send/");
|
|
561
559
|
var useGenerateVtbbankmScansApplications = () => useFetch(baseUrl19 + "scans/applications/generate/");
|
|
562
560
|
var useCancelVtbbankm = () => useFetch(baseUrl19 + "cancel/");
|
|
563
561
|
var useCloneVtbbankm = () => useFetch(baseUrl19 + "app/clone/");
|
|
@@ -721,7 +719,6 @@ var useCloneVtbbankm = () => useFetch(baseUrl19 + "app/clone/");
|
|
|
721
719
|
useSendSovcombank,
|
|
722
720
|
useSendSovcombankScans,
|
|
723
721
|
useSendVtbbankm,
|
|
724
|
-
useSendVtbbankmScans,
|
|
725
722
|
useStatusManuallyAlfabankBalanceScans,
|
|
726
723
|
useUpdateAbsolutbank,
|
|
727
724
|
useUpdateAkbars,
|
package/dist/index.mjs
CHANGED
|
@@ -350,7 +350,6 @@ var useGetVtbbankmList = () => useFetch(baseUrl19 + "get_list/");
|
|
|
350
350
|
var useDeleteVtbbankm = () => useFetch(baseUrl19 + "delete/");
|
|
351
351
|
var useUpdateVtbbankm = () => useFetch(baseUrl19 + "app/update/");
|
|
352
352
|
var useSendVtbbankm = () => useFetch(baseUrl19 + "app/send/");
|
|
353
|
-
var useSendVtbbankmScans = () => useFetch(baseUrl19 + "scans/send/");
|
|
354
353
|
var useGenerateVtbbankmScansApplications = () => useFetch(baseUrl19 + "scans/applications/generate/");
|
|
355
354
|
var useCancelVtbbankm = () => useFetch(baseUrl19 + "cancel/");
|
|
356
355
|
var useCloneVtbbankm = () => useFetch(baseUrl19 + "app/clone/");
|
|
@@ -513,7 +512,6 @@ export {
|
|
|
513
512
|
useSendSovcombank,
|
|
514
513
|
useSendSovcombankScans,
|
|
515
514
|
useSendVtbbankm,
|
|
516
|
-
useSendVtbbankmScans,
|
|
517
515
|
useStatusManuallyAlfabankBalanceScans,
|
|
518
516
|
useUpdateAbsolutbank,
|
|
519
517
|
useUpdateAkbars,
|