simpleloan_api 1.1.27 → 1.1.29
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 +235 -144
- package/dist/index.d.ts +235 -144
- package/dist/index.js +81 -81
- package/dist/index.mjs +54 -54
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -187,8 +187,8 @@ type AkbarsPrintform = {
|
|
|
187
187
|
};
|
|
188
188
|
};
|
|
189
189
|
|
|
190
|
-
type
|
|
191
|
-
type
|
|
190
|
+
type AlfabankBalanceStages = 'app' | 'app_wait' | 'app_abort' | 'scans' | 'scans_wait' | 'scans_abort' | 'approval' | 'approval_wait' | 'end' | 'cancel' | 'unknown';
|
|
191
|
+
type AlfabankBalanceOfferLoanParameters = {
|
|
192
192
|
ltv: number;
|
|
193
193
|
term: number;
|
|
194
194
|
amount: number;
|
|
@@ -210,13 +210,13 @@ type AlfabankbalanceOfferLoanParameters = {
|
|
|
210
210
|
personal_manager_email: string | null;
|
|
211
211
|
personal_manager_phone: string | null;
|
|
212
212
|
};
|
|
213
|
-
type
|
|
213
|
+
type AlfabankBalanceOffer = {
|
|
214
214
|
date: string;
|
|
215
215
|
sub_state: string;
|
|
216
216
|
description: string | null;
|
|
217
|
-
loan_parameters:
|
|
217
|
+
loan_parameters: AlfabankBalanceOfferLoanParameters[];
|
|
218
218
|
};
|
|
219
|
-
type
|
|
219
|
+
type AlfabankBalance = {
|
|
220
220
|
id: number;
|
|
221
221
|
created_at: string;
|
|
222
222
|
salespoint_id: number;
|
|
@@ -237,10 +237,10 @@ type Alfabankbalance = {
|
|
|
237
237
|
credit_type: string;
|
|
238
238
|
scans_date: string;
|
|
239
239
|
verify_date: string;
|
|
240
|
-
offers:
|
|
241
|
-
pre_offers:
|
|
240
|
+
offers: AlfabankBalanceOffer[] | null;
|
|
241
|
+
pre_offers: AlfabankBalanceOffer[] | null;
|
|
242
242
|
stages: {
|
|
243
|
-
current:
|
|
243
|
+
current: AlfabankBalanceStages;
|
|
244
244
|
fields: string[];
|
|
245
245
|
last_comment: string | null;
|
|
246
246
|
cancel_date: string | null;
|
|
@@ -253,7 +253,7 @@ type Alfabankbalance = {
|
|
|
253
253
|
confirm_date: string | null;
|
|
254
254
|
};
|
|
255
255
|
};
|
|
256
|
-
type
|
|
256
|
+
type AlfabankBalanceScanState = 'not_processed' | 'processed' | 'unknown' | 'processing';
|
|
257
257
|
|
|
258
258
|
type Sex = 'M' | 'F';
|
|
259
259
|
type UploadB64File = {
|
|
@@ -483,13 +483,40 @@ type CustomerFields = {
|
|
|
483
483
|
};
|
|
484
484
|
type Customer = CustomerFields & CustomerMeta;
|
|
485
485
|
|
|
486
|
-
type
|
|
486
|
+
type MortgageStages = 'app_create' | 'app_wait' | 'app_ending' | 'app_issued' | 'app_cancel' | 'app_complete_decline' | 'app_complete_accept';
|
|
487
|
+
type MortgageBankNames = 'alfabankbalance' | 'rosbankdom' | 'akbars' | 'vtbbankm';
|
|
488
|
+
type MortgageBankAppStatus = {
|
|
487
489
|
id: number;
|
|
490
|
+
bank: MortgageBankNames;
|
|
491
|
+
status: 'bank_note';
|
|
492
|
+
comment: string;
|
|
493
|
+
bank_sum: number;
|
|
494
|
+
bank_term: number;
|
|
495
|
+
status_last_date: number;
|
|
496
|
+
};
|
|
497
|
+
type MortgageMeta = {
|
|
498
|
+
id: number;
|
|
499
|
+
user_id: number;
|
|
500
|
+
comment: string;
|
|
501
|
+
version: number;
|
|
488
502
|
created_at: string;
|
|
503
|
+
program_id: number;
|
|
504
|
+
cancel_date: string | null;
|
|
505
|
+
cancel_reason: string | null;
|
|
506
|
+
customers_ids: string[];
|
|
489
507
|
salespoint_id: number;
|
|
490
|
-
user_id: number;
|
|
491
508
|
main_customer_id: string;
|
|
492
|
-
|
|
509
|
+
bank_app_status?: MortgageBankAppStatus;
|
|
510
|
+
stages: {
|
|
511
|
+
current: MortgageStages;
|
|
512
|
+
fields: string[];
|
|
513
|
+
};
|
|
514
|
+
customer_applications: {
|
|
515
|
+
customers?: Customer[];
|
|
516
|
+
main_customer: Customer;
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
type MortgageFields = {
|
|
493
520
|
program_id: number;
|
|
494
521
|
apartment_type: string;
|
|
495
522
|
apartment_price: string;
|
|
@@ -497,7 +524,6 @@ type Mortgage = {
|
|
|
497
524
|
credit_term: number;
|
|
498
525
|
down_payment: number;
|
|
499
526
|
monthly_payment: string | null;
|
|
500
|
-
comment: string;
|
|
501
527
|
apartment_region: string;
|
|
502
528
|
apartment_city: string;
|
|
503
529
|
consent_type: string | null;
|
|
@@ -506,69 +532,81 @@ type Mortgage = {
|
|
|
506
532
|
maternal_capital_in_loan_sum: boolean;
|
|
507
533
|
maternal_capital_in_down_payment: boolean;
|
|
508
534
|
maternal_capital_sum: number | null;
|
|
509
|
-
bank_app_status?: MortgageBankAppStatus;
|
|
510
|
-
cancel_date: string | null;
|
|
511
|
-
cancel_reason: string | null;
|
|
512
|
-
version: number;
|
|
513
|
-
customers_ids: string[];
|
|
514
|
-
stages: {
|
|
515
|
-
current: MortgageStages;
|
|
516
|
-
fields: string[];
|
|
517
|
-
};
|
|
518
535
|
is_pledge: boolean;
|
|
519
536
|
pledge_type: string | null;
|
|
520
537
|
pledge_readiness: string | null;
|
|
521
538
|
pledge_object: string | null;
|
|
522
539
|
campaign: string | null;
|
|
523
540
|
};
|
|
524
|
-
type
|
|
525
|
-
type
|
|
526
|
-
type
|
|
541
|
+
type Mortgage = MortgageMeta & MortgageFields;
|
|
542
|
+
type MortgageDictNames = 'ApartmentType' | 'MortgageType' | 'PledgeType' | 'PledgeReadiness' | 'PledgeObject' | 'Campaign' | 'IncomeConfirmationDocument' | 'RealEstateObject' | 'TypeOfProperty';
|
|
543
|
+
type MortgageProgram = {
|
|
527
544
|
id: number;
|
|
545
|
+
deleted_at: string | null;
|
|
528
546
|
bank: MortgageBankNames;
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
547
|
+
code: string;
|
|
548
|
+
title: string;
|
|
549
|
+
mortgage_type: string;
|
|
550
|
+
apartment_types: string[];
|
|
551
|
+
description: string | null;
|
|
552
|
+
loan_rate: string;
|
|
553
|
+
loan_sum_min: number;
|
|
554
|
+
loan_sum_max: number;
|
|
555
|
+
loan_term_min: number;
|
|
556
|
+
loan_term_max: number;
|
|
557
|
+
loan_term_vars: number[] | null;
|
|
558
|
+
loan_initial_min: number | null;
|
|
559
|
+
loan_initial_max: number | null;
|
|
560
|
+
default: boolean;
|
|
561
|
+
start_at: string | null;
|
|
562
|
+
end_at: string | null;
|
|
563
|
+
origin_code: string;
|
|
564
|
+
};
|
|
565
|
+
type MortgageCalculateProgram = {
|
|
566
|
+
product: MortgageProgram;
|
|
567
|
+
credit_amount: number;
|
|
568
|
+
monthly_payment: number;
|
|
569
|
+
overpayment: number;
|
|
570
|
+
loan_rate: string;
|
|
571
|
+
down_payment: number;
|
|
572
|
+
alt: boolean;
|
|
534
573
|
};
|
|
535
574
|
|
|
536
|
-
type
|
|
575
|
+
type RosbankDomStages = 'app' | 'app_wait' | 'app_abort' | 'opportunity_wait' | 'opportunity_abort' | 'scans_wait' | 'scans_abort' | 'approval_wait' | 'cancel' | 'end' | 'unknown';
|
|
576
|
+
type RosbankDomOffer = {
|
|
577
|
+
decision: {
|
|
578
|
+
id: number;
|
|
579
|
+
status: number;
|
|
580
|
+
annuity: number;
|
|
581
|
+
endDate: string | null;
|
|
582
|
+
approvedSum: number;
|
|
583
|
+
description: string;
|
|
584
|
+
creditAmount: number;
|
|
585
|
+
interestRate: number;
|
|
586
|
+
integrationId: string;
|
|
587
|
+
creditTermYears: number;
|
|
588
|
+
creditProgramName: string;
|
|
589
|
+
};
|
|
590
|
+
additionalConditions: null;
|
|
591
|
+
additionalConditionsStep: null;
|
|
592
|
+
};
|
|
593
|
+
type RosbankDomMeta = {
|
|
537
594
|
id: number;
|
|
538
595
|
created_at: string;
|
|
539
596
|
salespoint_id: number;
|
|
540
597
|
user_id: number;
|
|
541
598
|
mortgageapp_id: number;
|
|
542
599
|
bank_id: string;
|
|
543
|
-
opportunity_id: number | null;
|
|
544
|
-
apartment_type: string;
|
|
545
|
-
apartment_price: string;
|
|
546
|
-
credit_amount: string;
|
|
547
|
-
credit_term: number;
|
|
548
|
-
down_payment: string;
|
|
549
|
-
monthly_payment: number | null;
|
|
550
|
-
comment: string;
|
|
551
|
-
consentType: string;
|
|
552
|
-
preapprovalType: string | null;
|
|
553
|
-
regionOfPurchase: string;
|
|
554
|
-
cityOfPurchase: string;
|
|
555
|
-
monthlyPayment: number | null;
|
|
556
|
-
pledgeType: string | null;
|
|
557
|
-
pledgeReadiness: null;
|
|
558
|
-
pledgeObject: null;
|
|
559
|
-
refinanceProgramm: null;
|
|
560
|
-
campaign: null;
|
|
561
|
-
partnerConsentSign: null;
|
|
562
|
-
branch: string;
|
|
563
600
|
scans_send: true;
|
|
564
601
|
result_confirm: string | null;
|
|
565
602
|
result_confirm_start: string | null;
|
|
566
603
|
result_confirm_stop: string | null;
|
|
567
|
-
pre_offers:
|
|
568
|
-
offers:
|
|
604
|
+
pre_offers: RosbankDomOffer[] | null;
|
|
605
|
+
offers: RosbankDomOffer[] | null;
|
|
569
606
|
preapproval_field: boolean;
|
|
607
|
+
comment: string;
|
|
570
608
|
stages: {
|
|
571
|
-
current:
|
|
609
|
+
current: RosbankDomStages;
|
|
572
610
|
fields: string[];
|
|
573
611
|
last_comment: string;
|
|
574
612
|
cancel_date: string;
|
|
@@ -584,23 +622,28 @@ type Rosbankdom = {
|
|
|
584
622
|
confirm_date: string | null;
|
|
585
623
|
};
|
|
586
624
|
};
|
|
587
|
-
type
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
625
|
+
type RosbankDomFields = {
|
|
626
|
+
opportunity_id: number | null;
|
|
627
|
+
apartment_type: string;
|
|
628
|
+
apartment_price: string;
|
|
629
|
+
credit_amount: string;
|
|
630
|
+
credit_term: number;
|
|
631
|
+
down_payment: string;
|
|
632
|
+
monthly_payment: number | null;
|
|
633
|
+
consentType: string;
|
|
634
|
+
preapprovalType: string | null;
|
|
635
|
+
regionOfPurchase: string;
|
|
636
|
+
cityOfPurchase: string;
|
|
637
|
+
monthlyPayment: number | null;
|
|
638
|
+
pledgeType: string | null;
|
|
639
|
+
pledgeReadiness: null;
|
|
640
|
+
pledgeObject: null;
|
|
641
|
+
refinanceProgramm: null;
|
|
642
|
+
campaign: null;
|
|
643
|
+
partnerConsentSign: null;
|
|
644
|
+
branch: string;
|
|
603
645
|
};
|
|
646
|
+
type RosbankDom = RosbankDomMeta & RosbankDomFields;
|
|
604
647
|
|
|
605
648
|
type Salespoint = {
|
|
606
649
|
id: number;
|
|
@@ -651,6 +694,54 @@ type SalespointNotificationMode = 'on' | 'off' | 'def_on' | 'def_off';
|
|
|
651
694
|
type SalespointInsuranceMode = 'none' | 'our' | 'bank';
|
|
652
695
|
type SalespointCreditType = 'loan' | 'installment' | 'all' | 'all_partial' | 'partial_installment';
|
|
653
696
|
|
|
697
|
+
type VtbBankmStages = 'app' | 'app_wait' | 'app_abort' | 'scans_wait' | 'scans_abort' | 'cancel' | 'end' | 'unknown';
|
|
698
|
+
type VtbBankmMeta = {
|
|
699
|
+
id: number;
|
|
700
|
+
created_at: string;
|
|
701
|
+
salespoint_id: number;
|
|
702
|
+
user_id: number;
|
|
703
|
+
mortgageapp_id: number;
|
|
704
|
+
bank_id: string;
|
|
705
|
+
offers: null;
|
|
706
|
+
scans_send: false;
|
|
707
|
+
verify_send: false;
|
|
708
|
+
stages: {
|
|
709
|
+
current: VtbBankmStages;
|
|
710
|
+
fields: [];
|
|
711
|
+
last_comment: string;
|
|
712
|
+
cancel_date: null;
|
|
713
|
+
result_app: string;
|
|
714
|
+
result_app_start: null;
|
|
715
|
+
result_app_stop: null;
|
|
716
|
+
result_scans: string;
|
|
717
|
+
result_scans_start: null;
|
|
718
|
+
result_scans_stop: null;
|
|
719
|
+
confirm_date: null;
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
type VtbBankmFields = {
|
|
723
|
+
division: string;
|
|
724
|
+
divisionCity: string;
|
|
725
|
+
objectCategory: string;
|
|
726
|
+
realEstateRegion: string;
|
|
727
|
+
realEstateCost: string;
|
|
728
|
+
objectProgram: string;
|
|
729
|
+
requestedLoanAmount: string;
|
|
730
|
+
initialPayment: string;
|
|
731
|
+
requestedLoanTerm: number;
|
|
732
|
+
loanProductGroup: string;
|
|
733
|
+
maternalCapitalUsagePurpouse: string;
|
|
734
|
+
maternalCapitalAmount: null;
|
|
735
|
+
creditProgram: string;
|
|
736
|
+
is_pledge: false;
|
|
737
|
+
pledgeEstateType: null;
|
|
738
|
+
pledgeObjectCategory: null;
|
|
739
|
+
is_tranche: false;
|
|
740
|
+
is_combo: false;
|
|
741
|
+
tranches: null;
|
|
742
|
+
};
|
|
743
|
+
type Vtbbankm = VtbBankmMeta & VtbBankmFields;
|
|
744
|
+
|
|
654
745
|
/** Авторизация */
|
|
655
746
|
declare const useAccountLogin: () => {
|
|
656
747
|
readonly response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
@@ -854,31 +945,31 @@ declare const useDeleteAkbarsDepositScan: () => {
|
|
|
854
945
|
}>): Promise<ApiResponse<null> | null>;
|
|
855
946
|
};
|
|
856
947
|
|
|
857
|
-
type
|
|
948
|
+
type AlfabankBalanceUpdate = Partial<AlfabankBalance> & {
|
|
858
949
|
id: number;
|
|
859
950
|
};
|
|
860
951
|
/** Получение справочника Альфа банка */
|
|
861
|
-
declare const
|
|
952
|
+
declare const useGetAlfabankBalanceDict: (dict: string) => {
|
|
862
953
|
readonly response: vue.Ref<ApiResponse<Dict> | null>;
|
|
863
954
|
readonly pending: vue.Ref<boolean>;
|
|
864
955
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Dict> | null>;
|
|
865
956
|
};
|
|
866
957
|
/** Получение заявки Альфа Банка */
|
|
867
|
-
declare const
|
|
868
|
-
readonly response: vue.Ref<ApiResponse<
|
|
958
|
+
declare const useGetAlfabankBalance: () => {
|
|
959
|
+
readonly response: vue.Ref<ApiResponse<AlfabankBalance> | null>;
|
|
869
960
|
readonly pending: vue.Ref<boolean>;
|
|
870
961
|
post(params: PostParams<{
|
|
871
962
|
id: number;
|
|
872
|
-
}>): Promise<ApiResponse<
|
|
963
|
+
}>): Promise<ApiResponse<AlfabankBalance> | null>;
|
|
873
964
|
};
|
|
874
965
|
/** Получение списка заявок Альфа Банка */
|
|
875
|
-
declare const
|
|
876
|
-
readonly response: vue.Ref<ApiResponse<
|
|
966
|
+
declare const useGetAlfabankBalanceList: () => {
|
|
967
|
+
readonly response: vue.Ref<ApiResponse<AlfabankBalance[]> | null>;
|
|
877
968
|
readonly pending: vue.Ref<boolean>;
|
|
878
|
-
post(params?: PostParamsWithoutBody): Promise<ApiResponse<
|
|
969
|
+
post(params?: PostParamsWithoutBody): Promise<ApiResponse<AlfabankBalance[]> | null>;
|
|
879
970
|
};
|
|
880
971
|
/** Удаление заявки Альфа Банка */
|
|
881
|
-
declare const
|
|
972
|
+
declare const useDeleteAlfabankBalance: () => {
|
|
882
973
|
readonly response: vue.Ref<ApiResponse<null> | null>;
|
|
883
974
|
readonly pending: vue.Ref<boolean>;
|
|
884
975
|
post(params: PostParams<{
|
|
@@ -886,55 +977,55 @@ declare const useDeleteAlfabankbalance: () => {
|
|
|
886
977
|
}>): Promise<ApiResponse<null> | null>;
|
|
887
978
|
};
|
|
888
979
|
/** Обновление заявки Альфа Банка */
|
|
889
|
-
declare const
|
|
890
|
-
readonly response: vue.Ref<ApiResponse<
|
|
980
|
+
declare const useUpdateAlfabankBalance: () => {
|
|
981
|
+
readonly response: vue.Ref<ApiResponse<AlfabankBalance> | null>;
|
|
891
982
|
readonly pending: vue.Ref<boolean>;
|
|
892
|
-
post(params: PostParams<
|
|
983
|
+
post(params: PostParams<AlfabankBalanceUpdate>): Promise<ApiResponse<AlfabankBalance> | null>;
|
|
893
984
|
};
|
|
894
985
|
/** Отправка заявки Альфа Банка */
|
|
895
|
-
declare const
|
|
896
|
-
readonly response: vue.Ref<ApiResponse<
|
|
986
|
+
declare const useSendAlfabankBalance: () => {
|
|
987
|
+
readonly response: vue.Ref<ApiResponse<AlfabankBalance> | null>;
|
|
897
988
|
readonly pending: vue.Ref<boolean>;
|
|
898
989
|
post(params: PostParams<{
|
|
899
990
|
id: number;
|
|
900
|
-
}>): Promise<ApiResponse<
|
|
991
|
+
}>): Promise<ApiResponse<AlfabankBalance> | null>;
|
|
901
992
|
};
|
|
902
993
|
/** Отправка сканов заявки Альфа Банка */
|
|
903
|
-
declare const
|
|
904
|
-
readonly response: vue.Ref<ApiResponse<
|
|
994
|
+
declare const useSendAlfabankBalanceScans: () => {
|
|
995
|
+
readonly response: vue.Ref<ApiResponse<AlfabankBalance> | null>;
|
|
905
996
|
readonly pending: vue.Ref<boolean>;
|
|
906
997
|
post(params: PostParams<{
|
|
907
998
|
id: number;
|
|
908
|
-
}>): Promise<ApiResponse<
|
|
999
|
+
}>): Promise<ApiResponse<AlfabankBalance> | null>;
|
|
909
1000
|
};
|
|
910
1001
|
/** Запрос верификации сканов (вручную) заявки Альфа Банка */
|
|
911
|
-
declare const
|
|
912
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1002
|
+
declare const useVerifyManuallyAlfabankBalanceScans: () => {
|
|
1003
|
+
readonly response: vue.Ref<ApiResponse<AlfabankBalance> | null>;
|
|
913
1004
|
readonly pending: vue.Ref<boolean>;
|
|
914
1005
|
post(params: PostParams<{
|
|
915
1006
|
id: number;
|
|
916
|
-
}>): Promise<ApiResponse<
|
|
1007
|
+
}>): Promise<ApiResponse<AlfabankBalance> | null>;
|
|
917
1008
|
};
|
|
918
1009
|
/** Запрос статуса сканов (вручную) заявки Альфа Банка */
|
|
919
|
-
declare const
|
|
920
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1010
|
+
declare const useStatusManuallyAlfabankBalanceScans: () => {
|
|
1011
|
+
readonly response: vue.Ref<ApiResponse<AlfabankBalance> | null>;
|
|
921
1012
|
readonly pending: vue.Ref<boolean>;
|
|
922
1013
|
post(params: PostParams<{
|
|
923
1014
|
id: number;
|
|
924
|
-
}>): Promise<ApiResponse<
|
|
1015
|
+
}>): Promise<ApiResponse<AlfabankBalance> | null>;
|
|
925
1016
|
};
|
|
926
1017
|
/** Удаление скана из заявки Альфа Банка */
|
|
927
|
-
declare const
|
|
928
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1018
|
+
declare const useDeleteAlfabankBalanceScans: () => {
|
|
1019
|
+
readonly response: vue.Ref<ApiResponse<AlfabankBalance> | null>;
|
|
929
1020
|
readonly pending: vue.Ref<boolean>;
|
|
930
1021
|
post(params: PostParams<{
|
|
931
1022
|
id: number;
|
|
932
1023
|
item_id: number;
|
|
933
1024
|
customer_id: string;
|
|
934
|
-
}>): Promise<ApiResponse<
|
|
1025
|
+
}>): Promise<ApiResponse<AlfabankBalance> | null>;
|
|
935
1026
|
};
|
|
936
1027
|
/** Генерация анкет для Альфа Банка */
|
|
937
|
-
declare const
|
|
1028
|
+
declare const useGenerateAlfabankBalanceScansApplications: () => {
|
|
938
1029
|
readonly response: vue.Ref<ApiResponse<Record<string, string>> | null>;
|
|
939
1030
|
readonly pending: vue.Ref<boolean>;
|
|
940
1031
|
post(params: PostParams<{
|
|
@@ -942,28 +1033,28 @@ declare const useGenerateAlfabankbalanceScansApplications: () => {
|
|
|
942
1033
|
}>): Promise<ApiResponse<Record<string, string>> | null>;
|
|
943
1034
|
};
|
|
944
1035
|
/** Получить предложения заявки Альфа Банка */
|
|
945
|
-
declare const
|
|
946
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1036
|
+
declare const useGetAlfabankBalanceOffer: () => {
|
|
1037
|
+
readonly response: vue.Ref<ApiResponse<AlfabankBalanceOffer> | null>;
|
|
947
1038
|
readonly pending: vue.Ref<boolean>;
|
|
948
1039
|
post(params: PostParams<{
|
|
949
1040
|
id: number;
|
|
950
|
-
}>): Promise<ApiResponse<
|
|
1041
|
+
}>): Promise<ApiResponse<AlfabankBalanceOffer> | null>;
|
|
951
1042
|
};
|
|
952
1043
|
/** Опрос статуса заявки Альфа Банка после предодобрения */
|
|
953
|
-
declare const
|
|
954
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1044
|
+
declare const usePreapprovalAlfabankBalanceStatus: () => {
|
|
1045
|
+
readonly response: vue.Ref<ApiResponse<AlfabankBalance> | null>;
|
|
955
1046
|
readonly pending: vue.Ref<boolean>;
|
|
956
1047
|
post(params: PostParams<{
|
|
957
1048
|
id: number;
|
|
958
|
-
}>): Promise<ApiResponse<
|
|
1049
|
+
}>): Promise<ApiResponse<AlfabankBalance> | null>;
|
|
959
1050
|
};
|
|
960
1051
|
/** Копирование заявки Альфа Банка */
|
|
961
|
-
declare const
|
|
962
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1052
|
+
declare const useCloneAlfabankBalance: () => {
|
|
1053
|
+
readonly response: vue.Ref<ApiResponse<AlfabankBalance> | null>;
|
|
963
1054
|
readonly pending: vue.Ref<boolean>;
|
|
964
1055
|
post(params: PostParams<{
|
|
965
1056
|
id: number;
|
|
966
|
-
}>): Promise<ApiResponse<
|
|
1057
|
+
}>): Promise<ApiResponse<AlfabankBalance> | null>;
|
|
967
1058
|
};
|
|
968
1059
|
|
|
969
1060
|
type BrokerclientUpdate = Partial<Brokerclient> & {
|
|
@@ -1096,31 +1187,31 @@ declare const useDeleteCustomerList: () => {
|
|
|
1096
1187
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Customer[]> | null>;
|
|
1097
1188
|
};
|
|
1098
1189
|
|
|
1099
|
-
type
|
|
1190
|
+
type RosbankDomUpdate = Partial<RosbankDom> & {
|
|
1100
1191
|
id: number;
|
|
1101
1192
|
};
|
|
1102
1193
|
/** Получение справочника Росбанка банка */
|
|
1103
|
-
declare const
|
|
1194
|
+
declare const useGetRosbankDomDict: (dict: string) => {
|
|
1104
1195
|
readonly response: vue.Ref<ApiResponse<Dict> | null>;
|
|
1105
1196
|
readonly pending: vue.Ref<boolean>;
|
|
1106
1197
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Dict> | null>;
|
|
1107
1198
|
};
|
|
1108
1199
|
/** Получение заявки Росбанка Банка */
|
|
1109
|
-
declare const
|
|
1110
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1200
|
+
declare const useGetRosbankDom: () => {
|
|
1201
|
+
readonly response: vue.Ref<ApiResponse<RosbankDom> | null>;
|
|
1111
1202
|
readonly pending: vue.Ref<boolean>;
|
|
1112
1203
|
post(params: PostParams<{
|
|
1113
1204
|
id: number;
|
|
1114
|
-
}>): Promise<ApiResponse<
|
|
1205
|
+
}>): Promise<ApiResponse<RosbankDom> | null>;
|
|
1115
1206
|
};
|
|
1116
1207
|
/** Получение списка заявок Росбанка Банка */
|
|
1117
|
-
declare const
|
|
1118
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1208
|
+
declare const useGetRosbankDomList: () => {
|
|
1209
|
+
readonly response: vue.Ref<ApiResponse<RosbankDom[]> | null>;
|
|
1119
1210
|
readonly pending: vue.Ref<boolean>;
|
|
1120
|
-
post(params?: PostParamsWithoutBody): Promise<ApiResponse<
|
|
1211
|
+
post(params?: PostParamsWithoutBody): Promise<ApiResponse<RosbankDom[]> | null>;
|
|
1121
1212
|
};
|
|
1122
1213
|
/** Удаление заявки Росбанка Банка */
|
|
1123
|
-
declare const
|
|
1214
|
+
declare const useDeleteRosbankDom: () => {
|
|
1124
1215
|
readonly response: vue.Ref<ApiResponse<null> | null>;
|
|
1125
1216
|
readonly pending: vue.Ref<boolean>;
|
|
1126
1217
|
post(params: PostParams<{
|
|
@@ -1128,74 +1219,74 @@ declare const useDeleteRosbankdom: () => {
|
|
|
1128
1219
|
}>): Promise<ApiResponse<null> | null>;
|
|
1129
1220
|
};
|
|
1130
1221
|
/** Обновление заявки Росбанка Банка */
|
|
1131
|
-
declare const
|
|
1132
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1222
|
+
declare const useUpdateRosbankDom: () => {
|
|
1223
|
+
readonly response: vue.Ref<ApiResponse<RosbankDom> | null>;
|
|
1133
1224
|
readonly pending: vue.Ref<boolean>;
|
|
1134
|
-
post(params: PostParams<
|
|
1225
|
+
post(params: PostParams<RosbankDomUpdate>): Promise<ApiResponse<RosbankDom> | null>;
|
|
1135
1226
|
};
|
|
1136
1227
|
/** Отправка заявки Росбанка Банка */
|
|
1137
|
-
declare const
|
|
1138
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1228
|
+
declare const useSendRosbankDom: () => {
|
|
1229
|
+
readonly response: vue.Ref<ApiResponse<RosbankDom> | null>;
|
|
1139
1230
|
readonly pending: vue.Ref<boolean>;
|
|
1140
1231
|
post(params: PostParams<{
|
|
1141
1232
|
id: number;
|
|
1142
|
-
}>): Promise<ApiResponse<
|
|
1233
|
+
}>): Promise<ApiResponse<RosbankDom> | null>;
|
|
1143
1234
|
};
|
|
1144
1235
|
/** Создание кредитного дела */
|
|
1145
|
-
declare const
|
|
1146
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1236
|
+
declare const useRosbankDomOpportunity: () => {
|
|
1237
|
+
readonly response: vue.Ref<ApiResponse<RosbankDom> | null>;
|
|
1147
1238
|
readonly pending: vue.Ref<boolean>;
|
|
1148
1239
|
post(params: PostParams<{
|
|
1149
1240
|
id: number;
|
|
1150
|
-
}>): Promise<ApiResponse<
|
|
1241
|
+
}>): Promise<ApiResponse<RosbankDom> | null>;
|
|
1151
1242
|
};
|
|
1152
1243
|
/** Опрос статуса заявки Росбанка Банка после предодобрения */
|
|
1153
|
-
declare const
|
|
1154
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1244
|
+
declare const usePreapprovalRosbankDomStatus: () => {
|
|
1245
|
+
readonly response: vue.Ref<ApiResponse<RosbankDom> | null>;
|
|
1155
1246
|
readonly pending: vue.Ref<boolean>;
|
|
1156
1247
|
post(params: PostParams<{
|
|
1157
1248
|
id: number;
|
|
1158
|
-
}>): Promise<ApiResponse<
|
|
1249
|
+
}>): Promise<ApiResponse<RosbankDom> | null>;
|
|
1159
1250
|
};
|
|
1160
1251
|
/** Отправка сканов заявки Росбанка Банка */
|
|
1161
|
-
declare const
|
|
1162
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1252
|
+
declare const useSendRosbankDomScans: () => {
|
|
1253
|
+
readonly response: vue.Ref<ApiResponse<RosbankDom> | null>;
|
|
1163
1254
|
readonly pending: vue.Ref<boolean>;
|
|
1164
1255
|
post(params: PostParams<{
|
|
1165
1256
|
id: number;
|
|
1166
|
-
}>): Promise<ApiResponse<
|
|
1257
|
+
}>): Promise<ApiResponse<RosbankDom> | null>;
|
|
1167
1258
|
};
|
|
1168
1259
|
/** Получение сформированных печатных форм */
|
|
1169
|
-
declare const
|
|
1170
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1260
|
+
declare const useGetRosbankDomPrintformsList: () => {
|
|
1261
|
+
readonly response: vue.Ref<ApiResponse<RosbankDom> | null>;
|
|
1171
1262
|
readonly pending: vue.Ref<boolean>;
|
|
1172
1263
|
post(params: PostParams<{
|
|
1173
1264
|
id: number;
|
|
1174
|
-
}>): Promise<ApiResponse<
|
|
1265
|
+
}>): Promise<ApiResponse<RosbankDom> | null>;
|
|
1175
1266
|
};
|
|
1176
1267
|
/** Отправка заявки Росбанка Банка на */
|
|
1177
|
-
declare const
|
|
1178
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1268
|
+
declare const useConfirmRosbankDom: () => {
|
|
1269
|
+
readonly response: vue.Ref<ApiResponse<RosbankDom> | null>;
|
|
1179
1270
|
readonly pending: vue.Ref<boolean>;
|
|
1180
1271
|
post(params: PostParams<{
|
|
1181
1272
|
id: number;
|
|
1182
|
-
}>): Promise<ApiResponse<
|
|
1273
|
+
}>): Promise<ApiResponse<RosbankDom> | null>;
|
|
1183
1274
|
};
|
|
1184
1275
|
/** Отмена заявки Росбанка Банка */
|
|
1185
|
-
declare const
|
|
1186
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1276
|
+
declare const useCancelRosbankDom: () => {
|
|
1277
|
+
readonly response: vue.Ref<ApiResponse<RosbankDom> | null>;
|
|
1187
1278
|
readonly pending: vue.Ref<boolean>;
|
|
1188
1279
|
post(params: PostParams<{
|
|
1189
1280
|
id: number;
|
|
1190
|
-
}>): Promise<ApiResponse<
|
|
1281
|
+
}>): Promise<ApiResponse<RosbankDom> | null>;
|
|
1191
1282
|
};
|
|
1192
1283
|
/** Копирование заявки Росбанка Банка */
|
|
1193
|
-
declare const
|
|
1194
|
-
readonly response: vue.Ref<ApiResponse<
|
|
1284
|
+
declare const useCloneRosbankDom: () => {
|
|
1285
|
+
readonly response: vue.Ref<ApiResponse<RosbankDom> | null>;
|
|
1195
1286
|
readonly pending: vue.Ref<boolean>;
|
|
1196
1287
|
post(params: PostParams<{
|
|
1197
1288
|
id: number;
|
|
1198
|
-
}>): Promise<ApiResponse<
|
|
1289
|
+
}>): Promise<ApiResponse<RosbankDom> | null>;
|
|
1199
1290
|
};
|
|
1200
1291
|
|
|
1201
1292
|
type SalespointUpdate = Partial<Salespoint> & {
|
|
@@ -1336,4 +1427,4 @@ type Mode = 'development' | 'production';
|
|
|
1336
1427
|
declare function setMode(newMode: Mode): void;
|
|
1337
1428
|
declare function getMode(): Mode;
|
|
1338
1429
|
|
|
1339
|
-
export { type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type
|
|
1430
|
+
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 Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageDictNames, type MortgageFields, type MortgageMeta, type MortgageProgram, type MortgageStages, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, 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, useCancelRosbankDom, useCloneAlfabankBalance, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useConfirmRosbankDom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGroupUser, useDeleteRosbankDom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCustomer, useGetCustomerList, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalRosbankDomStatus, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendRosbankDom, useSendRosbankDomScans, useStatusManuallyAlfabankBalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCustomer, useUpdateManySalespoint, useUpdateManyUser, useUpdateRosbankDom, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankBalanceScans };
|