simpleloan_api 1.2.54 → 1.2.56
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 +221 -34
- package/dist/index.d.ts +221 -34
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -97,6 +97,19 @@ type DictItem = {
|
|
|
97
97
|
title: string;
|
|
98
98
|
};
|
|
99
99
|
type Dict = DictItem[];
|
|
100
|
+
/** Банки POS-кредитования. */
|
|
101
|
+
type PosBankCode = 'a_money' | 'alfabank_card' | 'alfabank_pos' | 'alfashort' | 'amoneydirect' | 'crediteurope' | 'expobank' | 'freedomfinance' | 'homeexpress' | 'lime_loan' | 'lokobank' | 'migcredit_bnpl' | 'migcredit_pos' | 'mtsbank' | 'mtsbankmicron' | 'otpbank' | 'otpbankesign' | 'pochtabank' | 'renaissance_bnpl' | 'renaissancebank' | 'ruberumfo' | 'sovcomhalva' | 'sovcomhalvamfo' | 'uralsib' | 'vostshort' | 'vsegdada' | 'webbankir';
|
|
102
|
+
/** Ипотечные банки. */
|
|
103
|
+
type MortgageBankCode = 'absolutbank' | 'akbars' | 'alfabankbalance' | 'alfabankdirect' | 'atbbank' | 'gazprombankm' | 'metalinvest' | 'primbank' | 'pskb' | 'rosbankdom' | 'sovcombank' | 'vtbbankm';
|
|
104
|
+
/** Любой банк: POS или ипотечный. */
|
|
105
|
+
type BankCode = PosBankCode | MortgageBankCode;
|
|
106
|
+
type BankServiceProvider = 'our' | 'bank';
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Список всех прав raw_permissions
|
|
110
|
+
*/
|
|
111
|
+
declare const PERMISSIONS: readonly ["a_money_get_all", "a_money_get_bc", "a_money_get_sp", "a_money_update_all", "a_money_update_bc", "a_money_update_sp", "absolut_get_all", "absolut_get_bc", "absolut_get_sp", "absolut_update_all", "absolut_update_bc", "absolut_update_sp", "agent_get_all", "agent_revise_get_all", "agent_revise_get_sp", "agent_revise_update", "agent_update_all", "agent_update_self", "akbars_get_all", "akbars_get_bc", "akbars_get_sp", "akbars_update_all", "akbars_update_bc", "akbars_update_sp", "akbarsdreamratepartner_get_all", "akbarsdreamratepartner_update_all", "alfabank_b2b_get_all", "alfabank_b2b_get_bc", "alfabank_b2b_get_sp", "alfabank_b2b_update_all", "alfabank_b2b_update_bc", "alfabank_b2b_update_sp", "alfabank_card_get_all", "alfabank_card_get_bc", "alfabank_card_get_sp", "alfabank_card_update_all", "alfabank_card_update_bc", "alfabank_card_update_sp", "alfabank_pos_get_all", "alfabank_pos_get_bc", "alfabank_pos_get_sp", "alfabank_pos_update_all", "alfabank_pos_update_bc", "alfabank_pos_update_sp", "alfabankapp_get_all", "alfabankapp_get_bc", "alfabankapp_get_sp", "alfabankapp_update_all", "alfabankapp_update_bc", "alfabankapp_update_sp", "alfabankbalance_get_all", "alfabankbalance_get_bc", "alfabankbalance_get_sp", "alfabankbalance_update_all", "alfabankbalance_update_bc", "alfabankbalance_update_sp", "amoneydirect_get_all", "amoneydirect_get_bc", "amoneydirect_get_sp", "amoneydirect_update_all", "amoneydirect_update_bc", "amoneydirect_update_sp", "atbbank_get_all", "atbbank_get_bc", "atbbank_get_sp", "atbbank_update_all", "atbbank_update_bc", "atbbank_update_sp", "bank_revise_get_all", "bank_revise_item_update_writeoff_protected_fields", "bank_revise_update_all", "bank_revise_update_original_document", "bankdetail_get_all", "bankdetail_update_all", "bankdictproductcode_get_all", "bankdictproductcode_update_all", "bankproductspexclude_get_all", "bankproductspexclude_update_all", "bankscore_access", "brokerclient_delete_all", "brokerclient_moderation_all", "brokerclient_moderation_bc_own", "brokerclient_report_review_all", "brokerclient_report_review_bc_own", "brokerclient_update_all", "brokerclient_update_bc_own", "checkpassport_get", "checkpassport_update", "commission_fee_revise_get_all", "commission_fee_revise_item_get_all", "commission_fee_revise_item_update_all", "commission_fee_revise_update_all", "commission_fee_revise_update_manual", "commission_fee_revise_upload", "crediteurope_get_all", "crediteurope_get_bc", "crediteurope_get_sp", "crediteurope_update_all", "crediteurope_update_bc", "crediteurope_update_sp", "customer_delete_all", "customer_get_all", "customer_moderation_all", "customer_update_all", "execute_extended_loan_report", "execute_mortgage_loan_report", "execute_summary_report", "expobank_get_all", "expobank_get_bc", "expobank_get_sp", "expobank_update_all", "expobank_update_bc", "expobank_update_sp", "faq_update_all", "freedomfinance_get_all", "freedomfinance_get_bc", "freedomfinance_get_sp", "freedomfinance_update_all", "freedomfinance_update_bc", "freedomfinance_update_sp", "gazprombankm_get_all", "gazprombankm_get_bc", "gazprombankm_get_sp", "gazprombankm_update_all", "gazprombankm_update_bc", "gazprombankm_update_sp", "generalapp_get_all", "generalapp_get_bc", "generalapp_get_sp", "generalapp_update_all", "generalapp_update_bc", "generalapp_update_sp", "homeexpress_get_all", "homeexpress_get_bc", "homeexpress_get_sp", "homeexpress_update_all", "homeexpress_update_bc", "homeexpress_update_sp", "instruction_get_all", "instruction_update_all", "insurance_delete", "insurance_get", "insurance_update", "insurancemortgageproduct_get_all", "insurancemortgageproduct_update_all", "insuranceposapp_get_all", "insuranceposapp_get_bc", "insuranceposapp_get_sp", "insuranceposapp_update_all", "insuranceposapp_update_bc", "insuranceposapp_update_sp", "insuranceposproduct_get_all", "insuranceposproduct_update_all", "lime_loan_get_all", "lime_loan_get_bc", "lime_loan_get_sp", "lime_loan_update_all", "lime_loan_update_bc", "lime_loan_update_sp", "lokobank_get_all", "lokobank_get_bc", "lokobank_get_sp", "lokobank_update_all", "lokobank_update_bc", "lokobank_update_sp", "metalinvest_get_all", "metalinvest_get_bc", "metalinvest_get_sp", "metalinvest_update_all", "metalinvest_update_bc", "metalinvest_update_sp", "migcredit_bnpl_get_all", "migcredit_bnpl_get_bc", "migcredit_bnpl_get_sp", "migcredit_bnpl_update_all", "migcredit_bnpl_update_bc", "migcredit_bnpl_update_sp", "migcredit_pos_get_all", "migcredit_pos_get_bc", "migcredit_pos_get_sp", "migcredit_pos_update_all", "migcredit_pos_update_bc", "migcredit_pos_update_sp", "mortgage_get_all", "mortgage_get_bc", "mortgage_get_sp", "mortgage_update_all", "mortgage_update_bc", "mortgage_update_sp", "mortgagedictprogramcode_get_all", "mortgagedictprogramcode_update_all", "mortgageregionslist_get_all", "mortgageregionslist_update_all", "mtsbank_get_all", "mtsbank_get_bc", "mtsbank_get_sp", "mtsbank_update_all", "mtsbank_update_bc", "mtsbank_update_sp", "mtsbankmicron_get_all", "mtsbankmicron_get_bc", "mtsbankmicron_get_sp", "mtsbankmicron_update_all", "mtsbankmicron_update_bc", "mtsbankmicron_update_sp", "muralsib_get_all", "muralsib_get_bc", "muralsib_get_sp", "muralsib_update_all", "muralsib_update_bc", "muralsib_update_sp", "otpbank_get_all", "otpbank_get_bc", "otpbank_get_sp", "otpbank_update_all", "otpbank_update_bc", "otpbank_update_sp", "otpbankesign_get_all", "otpbankesign_get_bc", "otpbankesign_get_sp", "otpbankesign_update_all", "otpbankesign_update_bc", "otpbankesign_update_sp", "payment_link_get_all", "payment_link_get_bc", "payment_link_get_sp", "payment_link_update_all", "payment_link_update_bc", "payment_link_update_sp", "permitted_config_get", "permitted_config_update", "pochtabank_get_all", "pochtabank_get_bc", "pochtabank_get_sp", "pochtabank_update_all", "pochtabank_update_bc", "pochtabank_update_sp", "primbank_get_all", "primbank_get_bc", "primbank_get_sp", "primbank_update_all", "primbank_update_bc", "primbank_update_sp", "providingcredittariff_get_all", "providingcredittariff_update_all", "pskb_get_all", "pskb_get_bc", "pskb_get_sp", "pskb_update_all", "pskb_update_bc", "pskb_update_sp", "refund_bs_can_generate_token", "refund_bs_get", "refund_bs_update", "refund_can_generate_token", "refund_get", "refund_update", "renaissancebank_get_all", "renaissancebank_get_bc", "renaissancebank_get_sp", "renaissancebank_update_all", "renaissancebank_update_bc", "renaissancebank_update_sp", "reports_abort_all", "reports_abort_own", "reports_execute_prioritized", "reports_get_all", "reports_get_own", "reports_get_periodic_reports", "reports_update_all", "reports_update_own", "revise_get_all", "revise_get_sp", "revise_upload", "rosbankdom_get_all", "rosbankdom_get_bc", "rosbankdom_get_sp", "rosbankdom_update_all", "rosbankdom_update_bc", "rosbankdom_update_sp", "ruberumfo_get_all", "ruberumfo_get_bc", "ruberumfo_get_sp", "ruberumfo_update_all", "ruberumfo_update_bc", "ruberumfo_update_sp", "russianstandard_get_all", "russianstandard_get_bc", "russianstandard_get_sp", "russianstandard_update_all", "russianstandard_update_bc", "russianstandard_update_sp", "salespoint_delete_all", "salespoint_delete_bc_own", "salespoint_moderation_all", "salespoint_moderation_bc_own", "salespoint_update_all", "salespoint_update_bc_own", "salespoint_update_retention", "salespoint_update_sp_own", "salespointgroup_delete_all", "salespointgroup_get_all", "salespointgroup_update_all", "salespointnews_delete_all", "salespointnews_update_all", "sberbank_get_all", "sberbank_get_bc", "sberbank_get_sp", "sberbank_update_all", "sberbank_update_bc", "sberbank_update_sp", "site_get_all", "site_get_bc", "site_get_sp", "site_update_all", "site_update_bc", "site_update_sp", "siteproduct_get_all", "siteproduct_get_bc", "siteproduct_get_sp", "siteproduct_update_all", "siteproduct_update_bc", "siteproduct_update_sp", "siterequest_get_all", "siterequest_get_bc", "siterequest_get_sp", "siterequest_payment_link_get_all", "siterequest_payment_link_get_bc", "siterequest_payment_link_get_sp", "siterequest_payment_link_update_all", "siterequest_payment_link_update_bc", "siterequest_payment_link_update_sp", "siterequest_update_all", "siterequest_update_bc", "siterequest_update_sp", "sovcom_get_all", "sovcom_get_bc", "sovcom_get_sp", "sovcom_update_all", "sovcom_update_bc", "sovcom_update_sp", "sovcomhalva_get_all", "sovcomhalva_get_bc", "sovcomhalva_get_sp", "sovcomhalva_update_all", "sovcomhalva_update_bc", "sovcomhalva_update_sp", "sovcomhalvamfo_get_all", "sovcomhalvamfo_get_bc", "sovcomhalvamfo_get_sp", "sovcomhalvamfo_update_all", "sovcomhalvamfo_update_bc", "sovcomhalvamfo_update_sp", "tradedirection_delete", "tradedirection_update", "tradesegment_delete", "tradesegment_update", "uralsib_get_all", "uralsib_get_bc", "uralsib_get_sp", "uralsib_update_all", "uralsib_update_bc", "uralsib_update_sp", "user_clientfoto_by_file", "user_delete_all", "user_moderation_all", "user_moderation_bc_own", "user_support_mortgage", "user_support_pos", "user_update_all", "user_update_bc_own", "user_update_group_all", "user_update_self", "vsegdada_get_all", "vsegdada_get_bc", "vsegdada_get_sp", "vsegdada_update_all", "vsegdada_update_bc", "vsegdada_update_sp", "vtbbankm_get_all", "vtbbankm_get_bc", "vtbbankm_get_sp", "vtbbankm_update_all", "vtbbankm_update_bc", "vtbbankm_update_sp", "webbankir_get_all", "webbankir_get_bc", "webbankir_get_sp", "webbankir_update_all", "webbankir_update_bc", "webbankir_update_sp"];
|
|
112
|
+
type Permission = (typeof PERMISSIONS)[number];
|
|
100
113
|
|
|
101
114
|
type User = {
|
|
102
115
|
id: number;
|
|
@@ -133,7 +146,7 @@ type User = {
|
|
|
133
146
|
cert_serial: string | number | null;
|
|
134
147
|
groups_ids: number[];
|
|
135
148
|
permissions?: string[];
|
|
136
|
-
raw_permissions?:
|
|
149
|
+
raw_permissions?: Permission[];
|
|
137
150
|
brokerclient_staff: number[];
|
|
138
151
|
salespoint_staff: number[];
|
|
139
152
|
salespoint_group_staff: number[];
|
|
@@ -971,12 +984,22 @@ type RosbankDom = RosbankDomMeta & RosbankDomFields;
|
|
|
971
984
|
|
|
972
985
|
type Salespoint = {
|
|
973
986
|
id: number;
|
|
974
|
-
checkdoc_can_enabled: boolean;
|
|
975
|
-
credit_type: SalespointCreditType;
|
|
976
|
-
notification_mode: SalespointNotificationMode;
|
|
977
|
-
checkpassport_enabled: boolean;
|
|
978
|
-
deleted_at: string | null;
|
|
979
987
|
title: string;
|
|
988
|
+
status: string;
|
|
989
|
+
deleted_at: string | null;
|
|
990
|
+
comment: string;
|
|
991
|
+
segment: string | null;
|
|
992
|
+
group_id: number | null;
|
|
993
|
+
broker_client_id: number;
|
|
994
|
+
product_category: string;
|
|
995
|
+
legal_form: string;
|
|
996
|
+
taxation_system: string;
|
|
997
|
+
vat_variant_id: number;
|
|
998
|
+
agreement_number: string | null;
|
|
999
|
+
contact_person: string | null;
|
|
1000
|
+
phone: string | null;
|
|
1001
|
+
email: string | null;
|
|
1002
|
+
address: Address;
|
|
980
1003
|
address_country: string | null;
|
|
981
1004
|
address_postcode: string | null;
|
|
982
1005
|
address_region: string | null;
|
|
@@ -984,43 +1007,213 @@ type Salespoint = {
|
|
|
984
1007
|
address_street: string | null;
|
|
985
1008
|
address_house: string | null;
|
|
986
1009
|
address_flat: string | null;
|
|
1010
|
+
address_text: string;
|
|
1011
|
+
municipal_address_text: string | null;
|
|
1012
|
+
bank_affiliate_code: string | null;
|
|
1013
|
+
inn: string | null;
|
|
1014
|
+
kpp: string | null;
|
|
1015
|
+
bik: string | null;
|
|
1016
|
+
payment_bank: string | null;
|
|
1017
|
+
payment_account: string | null;
|
|
1018
|
+
correspondent_account: string | null;
|
|
1019
|
+
payment_registry_emails: string[] | null;
|
|
1020
|
+
credit_type: SalespointCreditType;
|
|
1021
|
+
notification_mode: SalespointNotificationMode;
|
|
1022
|
+
notification_method: string;
|
|
1023
|
+
notification_banks: Record<PosBankCode, BankServiceProvider> | null;
|
|
1024
|
+
notification_prices: Record<string, unknown> | null;
|
|
1025
|
+
notification_welcome_text: string;
|
|
1026
|
+
insurance_mode: SalespointInsuranceMode;
|
|
1027
|
+
insurance_banks: Record<PosBankCode, BankServiceProvider> | null;
|
|
1028
|
+
insurance_company?: string;
|
|
1029
|
+
allowed_insurance_v2: boolean;
|
|
987
1030
|
alt_sum_mode: SalespointAltSumMode;
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1031
|
+
providing_credit_mode: SalespointProvidingCreditMode;
|
|
1032
|
+
providing_credit_tariffs_ids: number[];
|
|
1033
|
+
sign_mode: string;
|
|
1034
|
+
send_short_mode: string;
|
|
1035
|
+
fork_mode: string;
|
|
1036
|
+
retention: number | null;
|
|
1037
|
+
retention_variant: string;
|
|
1038
|
+
retention_banks: Record<PosBankCode, number> | null;
|
|
1039
|
+
retention_loss_percent_banks: Partial<Record<PosBankCode, Record<string, [from: number, to: number]> | null>> | null;
|
|
1040
|
+
max_loss_percentage_on_installment: Record<number, number>[] | null;
|
|
1041
|
+
checkdoc_can_enabled: boolean | null;
|
|
1042
|
+
checkdoc_manual_check_enabled: boolean | null;
|
|
1043
|
+
checkdoc_accept_send2bank: boolean;
|
|
1044
|
+
checkpassport_enabled: boolean | null;
|
|
1045
|
+
mts_scoring_check: boolean;
|
|
1046
|
+
mtsid_enabled: boolean;
|
|
1047
|
+
bank_revise_show_city: boolean;
|
|
1048
|
+
is_salespoint_call: boolean;
|
|
1049
|
+
is_allow_multiple_in_cart: boolean;
|
|
1050
|
+
enable_alfaid: boolean;
|
|
1051
|
+
for_offline_shop: boolean;
|
|
1052
|
+
fmo_enable: boolean;
|
|
1053
|
+
fmo_services: unknown[] | null;
|
|
1054
|
+
fmo_banks: Record<PosBankCode, 'on' | 'off'>[] | null;
|
|
1055
|
+
generate_specification: boolean;
|
|
1056
|
+
generate_specification_conf: Record<string, unknown>;
|
|
1057
|
+
customer_mock_user_id: number | null;
|
|
1058
|
+
channels_callback_url: string | null;
|
|
1059
|
+
status_webhook_url: string | null;
|
|
1060
|
+
domrf_link: string | null;
|
|
1061
|
+
generalapp_banks: string[] | null;
|
|
1062
|
+
generalapp_insurance_number_enabled: boolean;
|
|
1063
|
+
generalapp_required_files: string[] | null;
|
|
1064
|
+
mortgage_banks: string[];
|
|
1065
|
+
mortgage_point: boolean;
|
|
1066
|
+
mortgage_regional_manager: Record<string, {
|
|
1067
|
+
name: string;
|
|
1068
|
+
email: string;
|
|
1069
|
+
}[]>;
|
|
1070
|
+
disabled_providing_credit_banks: string[] | null;
|
|
1071
|
+
directions_ids: number[];
|
|
1072
|
+
insurance_products_ids: number[];
|
|
1073
|
+
insurance_products_v2_ids: number[];
|
|
1074
|
+
staff_ids: number[];
|
|
1075
|
+
permissions?: string[];
|
|
1076
|
+
alfabank_id: string | null;
|
|
992
1077
|
alfabankpos_id: string | null;
|
|
1078
|
+
alfabank_card_id: string | null;
|
|
1079
|
+
alfabank_pos_id: string | null;
|
|
1080
|
+
alfabank_pos_process_type: string;
|
|
1081
|
+
alfabank_b2b_send_sms: boolean;
|
|
1082
|
+
alfabank_b2b_proxy_access: boolean;
|
|
1083
|
+
alfabank_b2b_callback_url: string | null;
|
|
1084
|
+
alfabank_b2b_bank_name: string | null;
|
|
1085
|
+
alfabank_b2b_bank_bik: string | null;
|
|
1086
|
+
alfabank_b2b_bank_account: string | null;
|
|
1087
|
+
alfabank_b2b_recipient_inn: string | null;
|
|
1088
|
+
alfabank_b2b_recipient_kpp: string | null;
|
|
1089
|
+
alfabank_b2b_recipient_name: string | null;
|
|
1090
|
+
alfabank_b2b_recipient_account: string | null;
|
|
1091
|
+
alfabank_b2b_success_url: string | null;
|
|
1092
|
+
alfabank_b2b_failure_url: string | null;
|
|
1093
|
+
alfabankbalance_partner_id: number | null;
|
|
993
1094
|
ilbs_id: string | null;
|
|
994
1095
|
vostbank_id: string | null;
|
|
995
|
-
otpbank_id: string;
|
|
996
|
-
otpbankesign_id: string;
|
|
1096
|
+
otpbank_id: string | null;
|
|
1097
|
+
otpbankesign_id: string | null;
|
|
997
1098
|
otpbank_verification: string | null;
|
|
998
1099
|
otpbank_type_app: string | null;
|
|
1100
|
+
otpbank_offline_brand: string | null;
|
|
1101
|
+
otpbank_online_url: string | null;
|
|
1102
|
+
otpbank_salespoint_title: string | null;
|
|
1103
|
+
otpbank_version_paperless: string | null;
|
|
999
1104
|
expobank_id: string | null;
|
|
1000
1105
|
mtsbank_id: string | null;
|
|
1001
|
-
crediteurope_id: string | null;
|
|
1002
1106
|
mtsbank_type: string | null;
|
|
1003
1107
|
mtsbank_isEDS: string | null;
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1108
|
+
mtsbank_chain: string[] | null;
|
|
1109
|
+
crediteurope_id: string | null;
|
|
1110
|
+
crediteurope_online_loan: boolean;
|
|
1111
|
+
renaissancebank_id: number | null;
|
|
1112
|
+
renaissancebank_webShopLink: string | null;
|
|
1113
|
+
renbank_scan_auth_type: string | null;
|
|
1114
|
+
shop_id: string | null;
|
|
1115
|
+
sovcomhalva_id: number | null;
|
|
1116
|
+
sovcomhalva_source: string;
|
|
1117
|
+
sovcomhalvamfo_is_pep: boolean;
|
|
1118
|
+
pochtabank_ttcode: string | null;
|
|
1119
|
+
freedomfinance_id: string | null;
|
|
1120
|
+
homeexpress_id: string | null;
|
|
1121
|
+
homeexpress_source: string | null;
|
|
1122
|
+
lokobank_id: string | null;
|
|
1123
|
+
lokobank_type: string | null;
|
|
1124
|
+
rosbankdom_branch: string | null;
|
|
1125
|
+
russianstandard_id: string | null;
|
|
1126
|
+
russianstandard_online: boolean;
|
|
1127
|
+
russianstandard_pep: boolean;
|
|
1128
|
+
akbars_salespoint_id: string | null;
|
|
1129
|
+
akbars_organization_loan_place_id: string | null;
|
|
1130
|
+
akbars_involvement_place: string;
|
|
1131
|
+
akbars_appliaction_place: string;
|
|
1132
|
+
akbars_partner_inn: string | null;
|
|
1133
|
+
gazprombankm_branch_code: string | null;
|
|
1134
|
+
gazprombankm_is_two_cities: boolean;
|
|
1135
|
+
vsegdada_sellerPlaceCodeOnline: string | null;
|
|
1136
|
+
vsegdada_sellerPlaceCodeOffline: string | null;
|
|
1137
|
+
vsegdada_isOnline: boolean;
|
|
1138
|
+
uralsib_storeId: string | null;
|
|
1139
|
+
amoneydirect_code: string | null;
|
|
1140
|
+
a_money_pos_type: string | null;
|
|
1141
|
+
migcredit_pos_type: string | null;
|
|
1142
|
+
lime_loan_pos_type: string | null;
|
|
1143
|
+
webbankir_pos_type: string | null;
|
|
1144
|
+
call_center: string | null;
|
|
1018
1145
|
};
|
|
1019
1146
|
type SalespointNotificationMode = 'on' | 'off' | 'def_on' | 'def_off';
|
|
1020
1147
|
type SalespointInsuranceMode = 'none' | 'our' | 'bank' | 'off' | 'def_off';
|
|
1021
1148
|
type SalespointCreditType = 'loan' | 'installment' | 'all_def_credit' | 'all_def_installment' | 'all_partial_def_credit' | 'all_partial_def_installment';
|
|
1022
1149
|
type SalespointAltSumMode = 'on' | 'off' | 'def_on' | 'def_off';
|
|
1023
1150
|
type SalespointProvidingCreditMode = 'on' | 'off' | 'def_on' | 'def_off';
|
|
1151
|
+
/** `id` может приходить строкой (`route.params.id`). */
|
|
1152
|
+
type SalespointUpdateBody = WithData<{
|
|
1153
|
+
id: number | string;
|
|
1154
|
+
} & Partial<Salespoint>>;
|
|
1155
|
+
type SalespointContracts = {
|
|
1156
|
+
/** Получить торговую точку по id */
|
|
1157
|
+
'/salespoint/get/': {
|
|
1158
|
+
body: WithData<{
|
|
1159
|
+
id: number | string;
|
|
1160
|
+
}>;
|
|
1161
|
+
response: ApiResponse<Salespoint>;
|
|
1162
|
+
};
|
|
1163
|
+
/** Список торговых точек */
|
|
1164
|
+
'/salespoint/get_list/': {
|
|
1165
|
+
body: SearchParams;
|
|
1166
|
+
response: ApiResponse<Salespoint[]>;
|
|
1167
|
+
};
|
|
1168
|
+
/** Обновить торговую точку */
|
|
1169
|
+
'/salespoint/update/': {
|
|
1170
|
+
body: SalespointUpdateBody;
|
|
1171
|
+
response: ApiResponse<Salespoint>;
|
|
1172
|
+
};
|
|
1173
|
+
/** Массовое обновление: общий набор полей на список id. */
|
|
1174
|
+
'/salespoint/update_many/': {
|
|
1175
|
+
body: WithData<{
|
|
1176
|
+
salespoint_ids: number[];
|
|
1177
|
+
data: Partial<Salespoint>;
|
|
1178
|
+
}>;
|
|
1179
|
+
response: ApiResponse<Salespoint[]>;
|
|
1180
|
+
};
|
|
1181
|
+
/** Клонировать торговую точку */
|
|
1182
|
+
'/salespoint/clone/': {
|
|
1183
|
+
body: WithData<{
|
|
1184
|
+
id: number | string;
|
|
1185
|
+
}>;
|
|
1186
|
+
response: ApiResponse<Salespoint>;
|
|
1187
|
+
};
|
|
1188
|
+
/**
|
|
1189
|
+
* Привязать сотрудников к ТТ. Фронт шлёт массивы с обеих сторон
|
|
1190
|
+
* (подтверждено сэмплом); скалярная форма со стороны юзера не проверена.
|
|
1191
|
+
*/
|
|
1192
|
+
'/salespoint/add_staff/': {
|
|
1193
|
+
body: WithData<{
|
|
1194
|
+
salespoint_id: number | number[];
|
|
1195
|
+
user_id: number | number[];
|
|
1196
|
+
}>;
|
|
1197
|
+
response: ApiResponse<Salespoint[]>;
|
|
1198
|
+
};
|
|
1199
|
+
/** Отвязать сотрудников от ТТ. */
|
|
1200
|
+
'/salespoint/delete_staff/': {
|
|
1201
|
+
body: WithData<{
|
|
1202
|
+
salespoint_id: number | number[];
|
|
1203
|
+
user_id: number | number[];
|
|
1204
|
+
}>;
|
|
1205
|
+
response: ApiResponse<Salespoint[]>;
|
|
1206
|
+
};
|
|
1207
|
+
/** Выгрузка списка ТТ в xlsx (ответ `_data` — base64-строка). */
|
|
1208
|
+
'/salespoint/export/': {
|
|
1209
|
+
body: {
|
|
1210
|
+
_start_index?: number;
|
|
1211
|
+
_page_size?: number;
|
|
1212
|
+
_data_size?: number;
|
|
1213
|
+
};
|
|
1214
|
+
response: ApiResponse<string>;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1024
1217
|
|
|
1025
1218
|
type Salespointgroup = {
|
|
1026
1219
|
id: number;
|
|
@@ -1558,12 +1751,6 @@ type TransferAcceptanceContracts = {
|
|
|
1558
1751
|
};
|
|
1559
1752
|
};
|
|
1560
1753
|
|
|
1561
|
-
/**
|
|
1562
|
-
* Список всех прав raw_permissions
|
|
1563
|
-
*/
|
|
1564
|
-
declare const PERMISSIONS: readonly ["a_money_get_all", "a_money_get_bc", "a_money_get_sp", "a_money_update_all", "a_money_update_bc", "a_money_update_sp", "absolut_get_all", "absolut_get_bc", "absolut_get_sp", "absolut_update_all", "absolut_update_bc", "absolut_update_sp", "agent_get_all", "agent_revise_get_all", "agent_revise_get_sp", "agent_revise_update", "agent_update_all", "agent_update_self", "akbars_get_all", "akbars_get_bc", "akbars_get_sp", "akbars_update_all", "akbars_update_bc", "akbars_update_sp", "akbarsdreamratepartner_get_all", "akbarsdreamratepartner_update_all", "alfabank_b2b_get_all", "alfabank_b2b_get_bc", "alfabank_b2b_get_sp", "alfabank_b2b_update_all", "alfabank_b2b_update_bc", "alfabank_b2b_update_sp", "alfabank_card_get_all", "alfabank_card_get_bc", "alfabank_card_get_sp", "alfabank_card_update_all", "alfabank_card_update_bc", "alfabank_card_update_sp", "alfabank_pos_get_all", "alfabank_pos_get_bc", "alfabank_pos_get_sp", "alfabank_pos_update_all", "alfabank_pos_update_bc", "alfabank_pos_update_sp", "alfabankapp_get_all", "alfabankapp_get_bc", "alfabankapp_get_sp", "alfabankapp_update_all", "alfabankapp_update_bc", "alfabankapp_update_sp", "alfabankbalance_get_all", "alfabankbalance_get_bc", "alfabankbalance_get_sp", "alfabankbalance_update_all", "alfabankbalance_update_bc", "alfabankbalance_update_sp", "amoneydirect_get_all", "amoneydirect_get_bc", "amoneydirect_get_sp", "amoneydirect_update_all", "amoneydirect_update_bc", "amoneydirect_update_sp", "atbbank_get_all", "atbbank_get_bc", "atbbank_get_sp", "atbbank_update_all", "atbbank_update_bc", "atbbank_update_sp", "bank_revise_get_all", "bank_revise_item_update_writeoff_protected_fields", "bank_revise_update_all", "bank_revise_update_original_document", "bankdetail_get_all", "bankdetail_update_all", "bankdictproductcode_get_all", "bankdictproductcode_update_all", "bankproductspexclude_get_all", "bankproductspexclude_update_all", "bankscore_access", "brokerclient_delete_all", "brokerclient_moderation_all", "brokerclient_moderation_bc_own", "brokerclient_report_review_all", "brokerclient_report_review_bc_own", "brokerclient_update_all", "brokerclient_update_bc_own", "checkpassport_get", "checkpassport_update", "commission_fee_revise_get_all", "commission_fee_revise_item_get_all", "commission_fee_revise_item_update_all", "commission_fee_revise_update_all", "commission_fee_revise_update_manual", "commission_fee_revise_upload", "crediteurope_get_all", "crediteurope_get_bc", "crediteurope_get_sp", "crediteurope_update_all", "crediteurope_update_bc", "crediteurope_update_sp", "customer_delete_all", "customer_get_all", "customer_moderation_all", "customer_update_all", "execute_extended_loan_report", "execute_mortgage_loan_report", "execute_summary_report", "expobank_get_all", "expobank_get_bc", "expobank_get_sp", "expobank_update_all", "expobank_update_bc", "expobank_update_sp", "faq_update_all", "freedomfinance_get_all", "freedomfinance_get_bc", "freedomfinance_get_sp", "freedomfinance_update_all", "freedomfinance_update_bc", "freedomfinance_update_sp", "gazprombankm_get_all", "gazprombankm_get_bc", "gazprombankm_get_sp", "gazprombankm_update_all", "gazprombankm_update_bc", "gazprombankm_update_sp", "generalapp_get_all", "generalapp_get_bc", "generalapp_get_sp", "generalapp_update_all", "generalapp_update_bc", "generalapp_update_sp", "homeexpress_get_all", "homeexpress_get_bc", "homeexpress_get_sp", "homeexpress_update_all", "homeexpress_update_bc", "homeexpress_update_sp", "instruction_get_all", "instruction_update_all", "insurance_delete", "insurance_get", "insurance_update", "insurancemortgageproduct_get_all", "insurancemortgageproduct_update_all", "insuranceposapp_get_all", "insuranceposapp_get_bc", "insuranceposapp_get_sp", "insuranceposapp_update_all", "insuranceposapp_update_bc", "insuranceposapp_update_sp", "insuranceposproduct_get_all", "insuranceposproduct_update_all", "lime_loan_get_all", "lime_loan_get_bc", "lime_loan_get_sp", "lime_loan_update_all", "lime_loan_update_bc", "lime_loan_update_sp", "lokobank_get_all", "lokobank_get_bc", "lokobank_get_sp", "lokobank_update_all", "lokobank_update_bc", "lokobank_update_sp", "metalinvest_get_all", "metalinvest_get_bc", "metalinvest_get_sp", "metalinvest_update_all", "metalinvest_update_bc", "metalinvest_update_sp", "migcredit_bnpl_get_all", "migcredit_bnpl_get_bc", "migcredit_bnpl_get_sp", "migcredit_bnpl_update_all", "migcredit_bnpl_update_bc", "migcredit_bnpl_update_sp", "migcredit_pos_get_all", "migcredit_pos_get_bc", "migcredit_pos_get_sp", "migcredit_pos_update_all", "migcredit_pos_update_bc", "migcredit_pos_update_sp", "mortgage_get_all", "mortgage_get_bc", "mortgage_get_sp", "mortgage_update_all", "mortgage_update_bc", "mortgage_update_sp", "mortgagedictprogramcode_get_all", "mortgagedictprogramcode_update_all", "mortgageregionslist_get_all", "mortgageregionslist_update_all", "mtsbank_get_all", "mtsbank_get_bc", "mtsbank_get_sp", "mtsbank_update_all", "mtsbank_update_bc", "mtsbank_update_sp", "mtsbankmicron_get_all", "mtsbankmicron_get_bc", "mtsbankmicron_get_sp", "mtsbankmicron_update_all", "mtsbankmicron_update_bc", "mtsbankmicron_update_sp", "muralsib_get_all", "muralsib_get_bc", "muralsib_get_sp", "muralsib_update_all", "muralsib_update_bc", "muralsib_update_sp", "otpbank_get_all", "otpbank_get_bc", "otpbank_get_sp", "otpbank_update_all", "otpbank_update_bc", "otpbank_update_sp", "otpbankesign_get_all", "otpbankesign_get_bc", "otpbankesign_get_sp", "otpbankesign_update_all", "otpbankesign_update_bc", "otpbankesign_update_sp", "payment_link_get_all", "payment_link_get_bc", "payment_link_get_sp", "payment_link_update_all", "payment_link_update_bc", "payment_link_update_sp", "permitted_config_get", "permitted_config_update", "pochtabank_get_all", "pochtabank_get_bc", "pochtabank_get_sp", "pochtabank_update_all", "pochtabank_update_bc", "pochtabank_update_sp", "primbank_get_all", "primbank_get_bc", "primbank_get_sp", "primbank_update_all", "primbank_update_bc", "primbank_update_sp", "providingcredittariff_get_all", "providingcredittariff_update_all", "pskb_get_all", "pskb_get_bc", "pskb_get_sp", "pskb_update_all", "pskb_update_bc", "pskb_update_sp", "refund_bs_can_generate_token", "refund_bs_get", "refund_bs_update", "refund_can_generate_token", "refund_get", "refund_update", "renaissancebank_get_all", "renaissancebank_get_bc", "renaissancebank_get_sp", "renaissancebank_update_all", "renaissancebank_update_bc", "renaissancebank_update_sp", "reports_abort_all", "reports_abort_own", "reports_execute_prioritized", "reports_get_all", "reports_get_own", "reports_get_periodic_reports", "reports_update_all", "reports_update_own", "revise_get_all", "revise_get_sp", "revise_upload", "rosbankdom_get_all", "rosbankdom_get_bc", "rosbankdom_get_sp", "rosbankdom_update_all", "rosbankdom_update_bc", "rosbankdom_update_sp", "ruberumfo_get_all", "ruberumfo_get_bc", "ruberumfo_get_sp", "ruberumfo_update_all", "ruberumfo_update_bc", "ruberumfo_update_sp", "russianstandard_get_all", "russianstandard_get_bc", "russianstandard_get_sp", "russianstandard_update_all", "russianstandard_update_bc", "russianstandard_update_sp", "salespoint_delete_all", "salespoint_delete_bc_own", "salespoint_moderation_all", "salespoint_moderation_bc_own", "salespoint_update_all", "salespoint_update_bc_own", "salespoint_update_retention", "salespoint_update_sp_own", "salespointgroup_delete_all", "salespointgroup_get_all", "salespointgroup_update_all", "salespointnews_delete_all", "salespointnews_update_all", "sberbank_get_all", "sberbank_get_bc", "sberbank_get_sp", "sberbank_update_all", "sberbank_update_bc", "sberbank_update_sp", "site_get_all", "site_get_bc", "site_get_sp", "site_update_all", "site_update_bc", "site_update_sp", "siteproduct_get_all", "siteproduct_get_bc", "siteproduct_get_sp", "siteproduct_update_all", "siteproduct_update_bc", "siteproduct_update_sp", "siterequest_get_all", "siterequest_get_bc", "siterequest_get_sp", "siterequest_payment_link_get_all", "siterequest_payment_link_get_bc", "siterequest_payment_link_get_sp", "siterequest_payment_link_update_all", "siterequest_payment_link_update_bc", "siterequest_payment_link_update_sp", "siterequest_update_all", "siterequest_update_bc", "siterequest_update_sp", "sovcom_get_all", "sovcom_get_bc", "sovcom_get_sp", "sovcom_update_all", "sovcom_update_bc", "sovcom_update_sp", "sovcomhalva_get_all", "sovcomhalva_get_bc", "sovcomhalva_get_sp", "sovcomhalva_update_all", "sovcomhalva_update_bc", "sovcomhalva_update_sp", "sovcomhalvamfo_get_all", "sovcomhalvamfo_get_bc", "sovcomhalvamfo_get_sp", "sovcomhalvamfo_update_all", "sovcomhalvamfo_update_bc", "sovcomhalvamfo_update_sp", "tradedirection_delete", "tradedirection_update", "tradesegment_delete", "tradesegment_update", "uralsib_get_all", "uralsib_get_bc", "uralsib_get_sp", "uralsib_update_all", "uralsib_update_bc", "uralsib_update_sp", "user_clientfoto_by_file", "user_delete_all", "user_moderation_all", "user_moderation_bc_own", "user_support_mortgage", "user_support_pos", "user_update_all", "user_update_bc_own", "user_update_group_all", "user_update_self", "vsegdada_get_all", "vsegdada_get_bc", "vsegdada_get_sp", "vsegdada_update_all", "vsegdada_update_bc", "vsegdada_update_sp", "vtbbankm_get_all", "vtbbankm_get_bc", "vtbbankm_get_sp", "vtbbankm_update_all", "vtbbankm_update_bc", "vtbbankm_update_sp", "webbankir_get_all", "webbankir_get_bc", "webbankir_get_sp", "webbankir_update_all", "webbankir_update_bc", "webbankir_update_sp"];
|
|
1565
|
-
type Permission = (typeof PERMISSIONS)[number];
|
|
1566
|
-
|
|
1567
1754
|
/** Получение справочника Абсолют банка */
|
|
1568
1755
|
declare const useGetAbsolutbankDict: (dictName: AbsolutbankDictNames) => {
|
|
1569
1756
|
readonly response: vue.Ref<ApiResponse<Dict> | null>;
|
|
@@ -3075,4 +3262,4 @@ type Mode = 'development' | 'production';
|
|
|
3075
3262
|
declare function setMode(newMode: Mode): void;
|
|
3076
3263
|
declare function getMode(): Mode;
|
|
3077
3264
|
|
|
3078
|
-
export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, type Address, type AgentAct, type AgentActContract, type AgentActFile, type AgentGetListBody, 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 ApiResponse, type Atbbank, type AtbbankFields, type AtbbankMeta, type AtbbankStages, type BankDetail, type BankDetailContracts, type BankDetailGetListBody, type BankRevise, type BankReviseContracts, type BankReviseGenerateBody, type BankReviseItem, type BankReviseItemUpdateBody, type BankReviseItemUpdateManyBody, type BankReviseItemUpdateManyItem, type BankReviseItemsDownloadBody, type BankdetailListFilter, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type CheckpassportApp, type CheckpassportUploadRequest, type CheckpassportUploadRequestWithAllFiles, type CheckpassportUploadRequestWithFiles, type CommissionFeeReviseWipContracts, type CommissionFeeReviseWipDownloadBody, type CommissionFeeReviseWipGenerateBody, type CommissionFeeReviseWipItem, type CommissionFeeReviseWipUpdateBody, type CommissionFeeReviseWipUpdateManyBody, type CommissionFeeReviseWipUpdateManyItem, type CommissionFeeReviseWipUpdateManyResponse, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Faq, type FaqContracts, type FaqGetListBody, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type GetFmsResponse, type Group, type GroupContracts, type GroupListFilter, 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, PERMISSIONS, type Permission, type PostParams, type PostParamsWithoutBody, type ProductUploadBody, type ReportsAsync, type ReportsAsyncStatus, type ReportsMortgageLoanRequest, type ReportsMortgageStatFilter, type ReportsMortgageStatRequest, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointAltSumMode, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type SalespointProvidingCreditMode, type Salespointgroup, type SalespointgroupContracts, type SalespointgroupUpdateBody, type ScriptContracts, type ScriptExportResult, type ScriptLoadBody, type ScriptLoadError, type ScriptLoadResult, type ScriptLoadStats, type ScriptRunResult, type SearchParams, type Sex, type Sovcombank, type SovcombankFields, type SovcombankMeta, type SovcombankOffer, type SovcombankStages, type TransferAcceptanceContracts, type TransferAcceptanceGenerateBody, type TransferAcceptanceGenerateResponse, type UpdateMortgageCustomerRequest, type UploadB64File, type UploadedFile, type User, type UserContracts, type UserListFilter, type UserUpdateBody, 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, useSendVtbbankScans, 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 };
|
|
3265
|
+
export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, type Address, type AgentAct, type AgentActContract, type AgentActFile, type AgentGetListBody, 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 ApiResponse, type Atbbank, type AtbbankFields, type AtbbankMeta, type AtbbankStages, type BankCode, type BankDetail, type BankDetailContracts, type BankDetailGetListBody, type BankRevise, type BankReviseContracts, type BankReviseGenerateBody, type BankReviseItem, type BankReviseItemUpdateBody, type BankReviseItemUpdateManyBody, type BankReviseItemUpdateManyItem, type BankReviseItemsDownloadBody, type BankServiceProvider, type BankdetailListFilter, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type CheckpassportApp, type CheckpassportUploadRequest, type CheckpassportUploadRequestWithAllFiles, type CheckpassportUploadRequestWithFiles, type CommissionFeeReviseWipContracts, type CommissionFeeReviseWipDownloadBody, type CommissionFeeReviseWipGenerateBody, type CommissionFeeReviseWipItem, type CommissionFeeReviseWipUpdateBody, type CommissionFeeReviseWipUpdateManyBody, type CommissionFeeReviseWipUpdateManyItem, type CommissionFeeReviseWipUpdateManyResponse, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Faq, type FaqContracts, type FaqGetListBody, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type GetFmsResponse, type Group, type GroupContracts, type GroupListFilter, type Login, type LoginResponse, type MessageUpdateWithGroupId, type MessageUpdateWithSalespointIds, type Mortgage, type MortgageBankApp, type MortgageBankAppStatus, type MortgageBankCode, 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, PERMISSIONS, type Permission, type PosBankCode, type PostParams, type PostParamsWithoutBody, type ProductUploadBody, type ReportsAsync, type ReportsAsyncStatus, type ReportsMortgageLoanRequest, type ReportsMortgageStatFilter, type ReportsMortgageStatRequest, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointAltSumMode, type SalespointContracts, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type SalespointProvidingCreditMode, type SalespointUpdateBody, type Salespointgroup, type SalespointgroupContracts, type SalespointgroupUpdateBody, type ScriptContracts, type ScriptExportResult, type ScriptLoadBody, type ScriptLoadError, type ScriptLoadResult, type ScriptLoadStats, type ScriptRunResult, type SearchParams, type Sex, type Sovcombank, type SovcombankFields, type SovcombankMeta, type SovcombankOffer, type SovcombankStages, type TransferAcceptanceContracts, type TransferAcceptanceGenerateBody, type TransferAcceptanceGenerateResponse, type UpdateMortgageCustomerRequest, type UploadB64File, type UploadedFile, type User, type UserContracts, type UserListFilter, type UserUpdateBody, 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, useSendVtbbankScans, 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
|
@@ -97,6 +97,19 @@ type DictItem = {
|
|
|
97
97
|
title: string;
|
|
98
98
|
};
|
|
99
99
|
type Dict = DictItem[];
|
|
100
|
+
/** Банки POS-кредитования. */
|
|
101
|
+
type PosBankCode = 'a_money' | 'alfabank_card' | 'alfabank_pos' | 'alfashort' | 'amoneydirect' | 'crediteurope' | 'expobank' | 'freedomfinance' | 'homeexpress' | 'lime_loan' | 'lokobank' | 'migcredit_bnpl' | 'migcredit_pos' | 'mtsbank' | 'mtsbankmicron' | 'otpbank' | 'otpbankesign' | 'pochtabank' | 'renaissance_bnpl' | 'renaissancebank' | 'ruberumfo' | 'sovcomhalva' | 'sovcomhalvamfo' | 'uralsib' | 'vostshort' | 'vsegdada' | 'webbankir';
|
|
102
|
+
/** Ипотечные банки. */
|
|
103
|
+
type MortgageBankCode = 'absolutbank' | 'akbars' | 'alfabankbalance' | 'alfabankdirect' | 'atbbank' | 'gazprombankm' | 'metalinvest' | 'primbank' | 'pskb' | 'rosbankdom' | 'sovcombank' | 'vtbbankm';
|
|
104
|
+
/** Любой банк: POS или ипотечный. */
|
|
105
|
+
type BankCode = PosBankCode | MortgageBankCode;
|
|
106
|
+
type BankServiceProvider = 'our' | 'bank';
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Список всех прав raw_permissions
|
|
110
|
+
*/
|
|
111
|
+
declare const PERMISSIONS: readonly ["a_money_get_all", "a_money_get_bc", "a_money_get_sp", "a_money_update_all", "a_money_update_bc", "a_money_update_sp", "absolut_get_all", "absolut_get_bc", "absolut_get_sp", "absolut_update_all", "absolut_update_bc", "absolut_update_sp", "agent_get_all", "agent_revise_get_all", "agent_revise_get_sp", "agent_revise_update", "agent_update_all", "agent_update_self", "akbars_get_all", "akbars_get_bc", "akbars_get_sp", "akbars_update_all", "akbars_update_bc", "akbars_update_sp", "akbarsdreamratepartner_get_all", "akbarsdreamratepartner_update_all", "alfabank_b2b_get_all", "alfabank_b2b_get_bc", "alfabank_b2b_get_sp", "alfabank_b2b_update_all", "alfabank_b2b_update_bc", "alfabank_b2b_update_sp", "alfabank_card_get_all", "alfabank_card_get_bc", "alfabank_card_get_sp", "alfabank_card_update_all", "alfabank_card_update_bc", "alfabank_card_update_sp", "alfabank_pos_get_all", "alfabank_pos_get_bc", "alfabank_pos_get_sp", "alfabank_pos_update_all", "alfabank_pos_update_bc", "alfabank_pos_update_sp", "alfabankapp_get_all", "alfabankapp_get_bc", "alfabankapp_get_sp", "alfabankapp_update_all", "alfabankapp_update_bc", "alfabankapp_update_sp", "alfabankbalance_get_all", "alfabankbalance_get_bc", "alfabankbalance_get_sp", "alfabankbalance_update_all", "alfabankbalance_update_bc", "alfabankbalance_update_sp", "amoneydirect_get_all", "amoneydirect_get_bc", "amoneydirect_get_sp", "amoneydirect_update_all", "amoneydirect_update_bc", "amoneydirect_update_sp", "atbbank_get_all", "atbbank_get_bc", "atbbank_get_sp", "atbbank_update_all", "atbbank_update_bc", "atbbank_update_sp", "bank_revise_get_all", "bank_revise_item_update_writeoff_protected_fields", "bank_revise_update_all", "bank_revise_update_original_document", "bankdetail_get_all", "bankdetail_update_all", "bankdictproductcode_get_all", "bankdictproductcode_update_all", "bankproductspexclude_get_all", "bankproductspexclude_update_all", "bankscore_access", "brokerclient_delete_all", "brokerclient_moderation_all", "brokerclient_moderation_bc_own", "brokerclient_report_review_all", "brokerclient_report_review_bc_own", "brokerclient_update_all", "brokerclient_update_bc_own", "checkpassport_get", "checkpassport_update", "commission_fee_revise_get_all", "commission_fee_revise_item_get_all", "commission_fee_revise_item_update_all", "commission_fee_revise_update_all", "commission_fee_revise_update_manual", "commission_fee_revise_upload", "crediteurope_get_all", "crediteurope_get_bc", "crediteurope_get_sp", "crediteurope_update_all", "crediteurope_update_bc", "crediteurope_update_sp", "customer_delete_all", "customer_get_all", "customer_moderation_all", "customer_update_all", "execute_extended_loan_report", "execute_mortgage_loan_report", "execute_summary_report", "expobank_get_all", "expobank_get_bc", "expobank_get_sp", "expobank_update_all", "expobank_update_bc", "expobank_update_sp", "faq_update_all", "freedomfinance_get_all", "freedomfinance_get_bc", "freedomfinance_get_sp", "freedomfinance_update_all", "freedomfinance_update_bc", "freedomfinance_update_sp", "gazprombankm_get_all", "gazprombankm_get_bc", "gazprombankm_get_sp", "gazprombankm_update_all", "gazprombankm_update_bc", "gazprombankm_update_sp", "generalapp_get_all", "generalapp_get_bc", "generalapp_get_sp", "generalapp_update_all", "generalapp_update_bc", "generalapp_update_sp", "homeexpress_get_all", "homeexpress_get_bc", "homeexpress_get_sp", "homeexpress_update_all", "homeexpress_update_bc", "homeexpress_update_sp", "instruction_get_all", "instruction_update_all", "insurance_delete", "insurance_get", "insurance_update", "insurancemortgageproduct_get_all", "insurancemortgageproduct_update_all", "insuranceposapp_get_all", "insuranceposapp_get_bc", "insuranceposapp_get_sp", "insuranceposapp_update_all", "insuranceposapp_update_bc", "insuranceposapp_update_sp", "insuranceposproduct_get_all", "insuranceposproduct_update_all", "lime_loan_get_all", "lime_loan_get_bc", "lime_loan_get_sp", "lime_loan_update_all", "lime_loan_update_bc", "lime_loan_update_sp", "lokobank_get_all", "lokobank_get_bc", "lokobank_get_sp", "lokobank_update_all", "lokobank_update_bc", "lokobank_update_sp", "metalinvest_get_all", "metalinvest_get_bc", "metalinvest_get_sp", "metalinvest_update_all", "metalinvest_update_bc", "metalinvest_update_sp", "migcredit_bnpl_get_all", "migcredit_bnpl_get_bc", "migcredit_bnpl_get_sp", "migcredit_bnpl_update_all", "migcredit_bnpl_update_bc", "migcredit_bnpl_update_sp", "migcredit_pos_get_all", "migcredit_pos_get_bc", "migcredit_pos_get_sp", "migcredit_pos_update_all", "migcredit_pos_update_bc", "migcredit_pos_update_sp", "mortgage_get_all", "mortgage_get_bc", "mortgage_get_sp", "mortgage_update_all", "mortgage_update_bc", "mortgage_update_sp", "mortgagedictprogramcode_get_all", "mortgagedictprogramcode_update_all", "mortgageregionslist_get_all", "mortgageregionslist_update_all", "mtsbank_get_all", "mtsbank_get_bc", "mtsbank_get_sp", "mtsbank_update_all", "mtsbank_update_bc", "mtsbank_update_sp", "mtsbankmicron_get_all", "mtsbankmicron_get_bc", "mtsbankmicron_get_sp", "mtsbankmicron_update_all", "mtsbankmicron_update_bc", "mtsbankmicron_update_sp", "muralsib_get_all", "muralsib_get_bc", "muralsib_get_sp", "muralsib_update_all", "muralsib_update_bc", "muralsib_update_sp", "otpbank_get_all", "otpbank_get_bc", "otpbank_get_sp", "otpbank_update_all", "otpbank_update_bc", "otpbank_update_sp", "otpbankesign_get_all", "otpbankesign_get_bc", "otpbankesign_get_sp", "otpbankesign_update_all", "otpbankesign_update_bc", "otpbankesign_update_sp", "payment_link_get_all", "payment_link_get_bc", "payment_link_get_sp", "payment_link_update_all", "payment_link_update_bc", "payment_link_update_sp", "permitted_config_get", "permitted_config_update", "pochtabank_get_all", "pochtabank_get_bc", "pochtabank_get_sp", "pochtabank_update_all", "pochtabank_update_bc", "pochtabank_update_sp", "primbank_get_all", "primbank_get_bc", "primbank_get_sp", "primbank_update_all", "primbank_update_bc", "primbank_update_sp", "providingcredittariff_get_all", "providingcredittariff_update_all", "pskb_get_all", "pskb_get_bc", "pskb_get_sp", "pskb_update_all", "pskb_update_bc", "pskb_update_sp", "refund_bs_can_generate_token", "refund_bs_get", "refund_bs_update", "refund_can_generate_token", "refund_get", "refund_update", "renaissancebank_get_all", "renaissancebank_get_bc", "renaissancebank_get_sp", "renaissancebank_update_all", "renaissancebank_update_bc", "renaissancebank_update_sp", "reports_abort_all", "reports_abort_own", "reports_execute_prioritized", "reports_get_all", "reports_get_own", "reports_get_periodic_reports", "reports_update_all", "reports_update_own", "revise_get_all", "revise_get_sp", "revise_upload", "rosbankdom_get_all", "rosbankdom_get_bc", "rosbankdom_get_sp", "rosbankdom_update_all", "rosbankdom_update_bc", "rosbankdom_update_sp", "ruberumfo_get_all", "ruberumfo_get_bc", "ruberumfo_get_sp", "ruberumfo_update_all", "ruberumfo_update_bc", "ruberumfo_update_sp", "russianstandard_get_all", "russianstandard_get_bc", "russianstandard_get_sp", "russianstandard_update_all", "russianstandard_update_bc", "russianstandard_update_sp", "salespoint_delete_all", "salespoint_delete_bc_own", "salespoint_moderation_all", "salespoint_moderation_bc_own", "salespoint_update_all", "salespoint_update_bc_own", "salespoint_update_retention", "salespoint_update_sp_own", "salespointgroup_delete_all", "salespointgroup_get_all", "salespointgroup_update_all", "salespointnews_delete_all", "salespointnews_update_all", "sberbank_get_all", "sberbank_get_bc", "sberbank_get_sp", "sberbank_update_all", "sberbank_update_bc", "sberbank_update_sp", "site_get_all", "site_get_bc", "site_get_sp", "site_update_all", "site_update_bc", "site_update_sp", "siteproduct_get_all", "siteproduct_get_bc", "siteproduct_get_sp", "siteproduct_update_all", "siteproduct_update_bc", "siteproduct_update_sp", "siterequest_get_all", "siterequest_get_bc", "siterequest_get_sp", "siterequest_payment_link_get_all", "siterequest_payment_link_get_bc", "siterequest_payment_link_get_sp", "siterequest_payment_link_update_all", "siterequest_payment_link_update_bc", "siterequest_payment_link_update_sp", "siterequest_update_all", "siterequest_update_bc", "siterequest_update_sp", "sovcom_get_all", "sovcom_get_bc", "sovcom_get_sp", "sovcom_update_all", "sovcom_update_bc", "sovcom_update_sp", "sovcomhalva_get_all", "sovcomhalva_get_bc", "sovcomhalva_get_sp", "sovcomhalva_update_all", "sovcomhalva_update_bc", "sovcomhalva_update_sp", "sovcomhalvamfo_get_all", "sovcomhalvamfo_get_bc", "sovcomhalvamfo_get_sp", "sovcomhalvamfo_update_all", "sovcomhalvamfo_update_bc", "sovcomhalvamfo_update_sp", "tradedirection_delete", "tradedirection_update", "tradesegment_delete", "tradesegment_update", "uralsib_get_all", "uralsib_get_bc", "uralsib_get_sp", "uralsib_update_all", "uralsib_update_bc", "uralsib_update_sp", "user_clientfoto_by_file", "user_delete_all", "user_moderation_all", "user_moderation_bc_own", "user_support_mortgage", "user_support_pos", "user_update_all", "user_update_bc_own", "user_update_group_all", "user_update_self", "vsegdada_get_all", "vsegdada_get_bc", "vsegdada_get_sp", "vsegdada_update_all", "vsegdada_update_bc", "vsegdada_update_sp", "vtbbankm_get_all", "vtbbankm_get_bc", "vtbbankm_get_sp", "vtbbankm_update_all", "vtbbankm_update_bc", "vtbbankm_update_sp", "webbankir_get_all", "webbankir_get_bc", "webbankir_get_sp", "webbankir_update_all", "webbankir_update_bc", "webbankir_update_sp"];
|
|
112
|
+
type Permission = (typeof PERMISSIONS)[number];
|
|
100
113
|
|
|
101
114
|
type User = {
|
|
102
115
|
id: number;
|
|
@@ -133,7 +146,7 @@ type User = {
|
|
|
133
146
|
cert_serial: string | number | null;
|
|
134
147
|
groups_ids: number[];
|
|
135
148
|
permissions?: string[];
|
|
136
|
-
raw_permissions?:
|
|
149
|
+
raw_permissions?: Permission[];
|
|
137
150
|
brokerclient_staff: number[];
|
|
138
151
|
salespoint_staff: number[];
|
|
139
152
|
salespoint_group_staff: number[];
|
|
@@ -971,12 +984,22 @@ type RosbankDom = RosbankDomMeta & RosbankDomFields;
|
|
|
971
984
|
|
|
972
985
|
type Salespoint = {
|
|
973
986
|
id: number;
|
|
974
|
-
checkdoc_can_enabled: boolean;
|
|
975
|
-
credit_type: SalespointCreditType;
|
|
976
|
-
notification_mode: SalespointNotificationMode;
|
|
977
|
-
checkpassport_enabled: boolean;
|
|
978
|
-
deleted_at: string | null;
|
|
979
987
|
title: string;
|
|
988
|
+
status: string;
|
|
989
|
+
deleted_at: string | null;
|
|
990
|
+
comment: string;
|
|
991
|
+
segment: string | null;
|
|
992
|
+
group_id: number | null;
|
|
993
|
+
broker_client_id: number;
|
|
994
|
+
product_category: string;
|
|
995
|
+
legal_form: string;
|
|
996
|
+
taxation_system: string;
|
|
997
|
+
vat_variant_id: number;
|
|
998
|
+
agreement_number: string | null;
|
|
999
|
+
contact_person: string | null;
|
|
1000
|
+
phone: string | null;
|
|
1001
|
+
email: string | null;
|
|
1002
|
+
address: Address;
|
|
980
1003
|
address_country: string | null;
|
|
981
1004
|
address_postcode: string | null;
|
|
982
1005
|
address_region: string | null;
|
|
@@ -984,43 +1007,213 @@ type Salespoint = {
|
|
|
984
1007
|
address_street: string | null;
|
|
985
1008
|
address_house: string | null;
|
|
986
1009
|
address_flat: string | null;
|
|
1010
|
+
address_text: string;
|
|
1011
|
+
municipal_address_text: string | null;
|
|
1012
|
+
bank_affiliate_code: string | null;
|
|
1013
|
+
inn: string | null;
|
|
1014
|
+
kpp: string | null;
|
|
1015
|
+
bik: string | null;
|
|
1016
|
+
payment_bank: string | null;
|
|
1017
|
+
payment_account: string | null;
|
|
1018
|
+
correspondent_account: string | null;
|
|
1019
|
+
payment_registry_emails: string[] | null;
|
|
1020
|
+
credit_type: SalespointCreditType;
|
|
1021
|
+
notification_mode: SalespointNotificationMode;
|
|
1022
|
+
notification_method: string;
|
|
1023
|
+
notification_banks: Record<PosBankCode, BankServiceProvider> | null;
|
|
1024
|
+
notification_prices: Record<string, unknown> | null;
|
|
1025
|
+
notification_welcome_text: string;
|
|
1026
|
+
insurance_mode: SalespointInsuranceMode;
|
|
1027
|
+
insurance_banks: Record<PosBankCode, BankServiceProvider> | null;
|
|
1028
|
+
insurance_company?: string;
|
|
1029
|
+
allowed_insurance_v2: boolean;
|
|
987
1030
|
alt_sum_mode: SalespointAltSumMode;
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1031
|
+
providing_credit_mode: SalespointProvidingCreditMode;
|
|
1032
|
+
providing_credit_tariffs_ids: number[];
|
|
1033
|
+
sign_mode: string;
|
|
1034
|
+
send_short_mode: string;
|
|
1035
|
+
fork_mode: string;
|
|
1036
|
+
retention: number | null;
|
|
1037
|
+
retention_variant: string;
|
|
1038
|
+
retention_banks: Record<PosBankCode, number> | null;
|
|
1039
|
+
retention_loss_percent_banks: Partial<Record<PosBankCode, Record<string, [from: number, to: number]> | null>> | null;
|
|
1040
|
+
max_loss_percentage_on_installment: Record<number, number>[] | null;
|
|
1041
|
+
checkdoc_can_enabled: boolean | null;
|
|
1042
|
+
checkdoc_manual_check_enabled: boolean | null;
|
|
1043
|
+
checkdoc_accept_send2bank: boolean;
|
|
1044
|
+
checkpassport_enabled: boolean | null;
|
|
1045
|
+
mts_scoring_check: boolean;
|
|
1046
|
+
mtsid_enabled: boolean;
|
|
1047
|
+
bank_revise_show_city: boolean;
|
|
1048
|
+
is_salespoint_call: boolean;
|
|
1049
|
+
is_allow_multiple_in_cart: boolean;
|
|
1050
|
+
enable_alfaid: boolean;
|
|
1051
|
+
for_offline_shop: boolean;
|
|
1052
|
+
fmo_enable: boolean;
|
|
1053
|
+
fmo_services: unknown[] | null;
|
|
1054
|
+
fmo_banks: Record<PosBankCode, 'on' | 'off'>[] | null;
|
|
1055
|
+
generate_specification: boolean;
|
|
1056
|
+
generate_specification_conf: Record<string, unknown>;
|
|
1057
|
+
customer_mock_user_id: number | null;
|
|
1058
|
+
channels_callback_url: string | null;
|
|
1059
|
+
status_webhook_url: string | null;
|
|
1060
|
+
domrf_link: string | null;
|
|
1061
|
+
generalapp_banks: string[] | null;
|
|
1062
|
+
generalapp_insurance_number_enabled: boolean;
|
|
1063
|
+
generalapp_required_files: string[] | null;
|
|
1064
|
+
mortgage_banks: string[];
|
|
1065
|
+
mortgage_point: boolean;
|
|
1066
|
+
mortgage_regional_manager: Record<string, {
|
|
1067
|
+
name: string;
|
|
1068
|
+
email: string;
|
|
1069
|
+
}[]>;
|
|
1070
|
+
disabled_providing_credit_banks: string[] | null;
|
|
1071
|
+
directions_ids: number[];
|
|
1072
|
+
insurance_products_ids: number[];
|
|
1073
|
+
insurance_products_v2_ids: number[];
|
|
1074
|
+
staff_ids: number[];
|
|
1075
|
+
permissions?: string[];
|
|
1076
|
+
alfabank_id: string | null;
|
|
992
1077
|
alfabankpos_id: string | null;
|
|
1078
|
+
alfabank_card_id: string | null;
|
|
1079
|
+
alfabank_pos_id: string | null;
|
|
1080
|
+
alfabank_pos_process_type: string;
|
|
1081
|
+
alfabank_b2b_send_sms: boolean;
|
|
1082
|
+
alfabank_b2b_proxy_access: boolean;
|
|
1083
|
+
alfabank_b2b_callback_url: string | null;
|
|
1084
|
+
alfabank_b2b_bank_name: string | null;
|
|
1085
|
+
alfabank_b2b_bank_bik: string | null;
|
|
1086
|
+
alfabank_b2b_bank_account: string | null;
|
|
1087
|
+
alfabank_b2b_recipient_inn: string | null;
|
|
1088
|
+
alfabank_b2b_recipient_kpp: string | null;
|
|
1089
|
+
alfabank_b2b_recipient_name: string | null;
|
|
1090
|
+
alfabank_b2b_recipient_account: string | null;
|
|
1091
|
+
alfabank_b2b_success_url: string | null;
|
|
1092
|
+
alfabank_b2b_failure_url: string | null;
|
|
1093
|
+
alfabankbalance_partner_id: number | null;
|
|
993
1094
|
ilbs_id: string | null;
|
|
994
1095
|
vostbank_id: string | null;
|
|
995
|
-
otpbank_id: string;
|
|
996
|
-
otpbankesign_id: string;
|
|
1096
|
+
otpbank_id: string | null;
|
|
1097
|
+
otpbankesign_id: string | null;
|
|
997
1098
|
otpbank_verification: string | null;
|
|
998
1099
|
otpbank_type_app: string | null;
|
|
1100
|
+
otpbank_offline_brand: string | null;
|
|
1101
|
+
otpbank_online_url: string | null;
|
|
1102
|
+
otpbank_salespoint_title: string | null;
|
|
1103
|
+
otpbank_version_paperless: string | null;
|
|
999
1104
|
expobank_id: string | null;
|
|
1000
1105
|
mtsbank_id: string | null;
|
|
1001
|
-
crediteurope_id: string | null;
|
|
1002
1106
|
mtsbank_type: string | null;
|
|
1003
1107
|
mtsbank_isEDS: string | null;
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1108
|
+
mtsbank_chain: string[] | null;
|
|
1109
|
+
crediteurope_id: string | null;
|
|
1110
|
+
crediteurope_online_loan: boolean;
|
|
1111
|
+
renaissancebank_id: number | null;
|
|
1112
|
+
renaissancebank_webShopLink: string | null;
|
|
1113
|
+
renbank_scan_auth_type: string | null;
|
|
1114
|
+
shop_id: string | null;
|
|
1115
|
+
sovcomhalva_id: number | null;
|
|
1116
|
+
sovcomhalva_source: string;
|
|
1117
|
+
sovcomhalvamfo_is_pep: boolean;
|
|
1118
|
+
pochtabank_ttcode: string | null;
|
|
1119
|
+
freedomfinance_id: string | null;
|
|
1120
|
+
homeexpress_id: string | null;
|
|
1121
|
+
homeexpress_source: string | null;
|
|
1122
|
+
lokobank_id: string | null;
|
|
1123
|
+
lokobank_type: string | null;
|
|
1124
|
+
rosbankdom_branch: string | null;
|
|
1125
|
+
russianstandard_id: string | null;
|
|
1126
|
+
russianstandard_online: boolean;
|
|
1127
|
+
russianstandard_pep: boolean;
|
|
1128
|
+
akbars_salespoint_id: string | null;
|
|
1129
|
+
akbars_organization_loan_place_id: string | null;
|
|
1130
|
+
akbars_involvement_place: string;
|
|
1131
|
+
akbars_appliaction_place: string;
|
|
1132
|
+
akbars_partner_inn: string | null;
|
|
1133
|
+
gazprombankm_branch_code: string | null;
|
|
1134
|
+
gazprombankm_is_two_cities: boolean;
|
|
1135
|
+
vsegdada_sellerPlaceCodeOnline: string | null;
|
|
1136
|
+
vsegdada_sellerPlaceCodeOffline: string | null;
|
|
1137
|
+
vsegdada_isOnline: boolean;
|
|
1138
|
+
uralsib_storeId: string | null;
|
|
1139
|
+
amoneydirect_code: string | null;
|
|
1140
|
+
a_money_pos_type: string | null;
|
|
1141
|
+
migcredit_pos_type: string | null;
|
|
1142
|
+
lime_loan_pos_type: string | null;
|
|
1143
|
+
webbankir_pos_type: string | null;
|
|
1144
|
+
call_center: string | null;
|
|
1018
1145
|
};
|
|
1019
1146
|
type SalespointNotificationMode = 'on' | 'off' | 'def_on' | 'def_off';
|
|
1020
1147
|
type SalespointInsuranceMode = 'none' | 'our' | 'bank' | 'off' | 'def_off';
|
|
1021
1148
|
type SalespointCreditType = 'loan' | 'installment' | 'all_def_credit' | 'all_def_installment' | 'all_partial_def_credit' | 'all_partial_def_installment';
|
|
1022
1149
|
type SalespointAltSumMode = 'on' | 'off' | 'def_on' | 'def_off';
|
|
1023
1150
|
type SalespointProvidingCreditMode = 'on' | 'off' | 'def_on' | 'def_off';
|
|
1151
|
+
/** `id` может приходить строкой (`route.params.id`). */
|
|
1152
|
+
type SalespointUpdateBody = WithData<{
|
|
1153
|
+
id: number | string;
|
|
1154
|
+
} & Partial<Salespoint>>;
|
|
1155
|
+
type SalespointContracts = {
|
|
1156
|
+
/** Получить торговую точку по id */
|
|
1157
|
+
'/salespoint/get/': {
|
|
1158
|
+
body: WithData<{
|
|
1159
|
+
id: number | string;
|
|
1160
|
+
}>;
|
|
1161
|
+
response: ApiResponse<Salespoint>;
|
|
1162
|
+
};
|
|
1163
|
+
/** Список торговых точек */
|
|
1164
|
+
'/salespoint/get_list/': {
|
|
1165
|
+
body: SearchParams;
|
|
1166
|
+
response: ApiResponse<Salespoint[]>;
|
|
1167
|
+
};
|
|
1168
|
+
/** Обновить торговую точку */
|
|
1169
|
+
'/salespoint/update/': {
|
|
1170
|
+
body: SalespointUpdateBody;
|
|
1171
|
+
response: ApiResponse<Salespoint>;
|
|
1172
|
+
};
|
|
1173
|
+
/** Массовое обновление: общий набор полей на список id. */
|
|
1174
|
+
'/salespoint/update_many/': {
|
|
1175
|
+
body: WithData<{
|
|
1176
|
+
salespoint_ids: number[];
|
|
1177
|
+
data: Partial<Salespoint>;
|
|
1178
|
+
}>;
|
|
1179
|
+
response: ApiResponse<Salespoint[]>;
|
|
1180
|
+
};
|
|
1181
|
+
/** Клонировать торговую точку */
|
|
1182
|
+
'/salespoint/clone/': {
|
|
1183
|
+
body: WithData<{
|
|
1184
|
+
id: number | string;
|
|
1185
|
+
}>;
|
|
1186
|
+
response: ApiResponse<Salespoint>;
|
|
1187
|
+
};
|
|
1188
|
+
/**
|
|
1189
|
+
* Привязать сотрудников к ТТ. Фронт шлёт массивы с обеих сторон
|
|
1190
|
+
* (подтверждено сэмплом); скалярная форма со стороны юзера не проверена.
|
|
1191
|
+
*/
|
|
1192
|
+
'/salespoint/add_staff/': {
|
|
1193
|
+
body: WithData<{
|
|
1194
|
+
salespoint_id: number | number[];
|
|
1195
|
+
user_id: number | number[];
|
|
1196
|
+
}>;
|
|
1197
|
+
response: ApiResponse<Salespoint[]>;
|
|
1198
|
+
};
|
|
1199
|
+
/** Отвязать сотрудников от ТТ. */
|
|
1200
|
+
'/salespoint/delete_staff/': {
|
|
1201
|
+
body: WithData<{
|
|
1202
|
+
salespoint_id: number | number[];
|
|
1203
|
+
user_id: number | number[];
|
|
1204
|
+
}>;
|
|
1205
|
+
response: ApiResponse<Salespoint[]>;
|
|
1206
|
+
};
|
|
1207
|
+
/** Выгрузка списка ТТ в xlsx (ответ `_data` — base64-строка). */
|
|
1208
|
+
'/salespoint/export/': {
|
|
1209
|
+
body: {
|
|
1210
|
+
_start_index?: number;
|
|
1211
|
+
_page_size?: number;
|
|
1212
|
+
_data_size?: number;
|
|
1213
|
+
};
|
|
1214
|
+
response: ApiResponse<string>;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1024
1217
|
|
|
1025
1218
|
type Salespointgroup = {
|
|
1026
1219
|
id: number;
|
|
@@ -1558,12 +1751,6 @@ type TransferAcceptanceContracts = {
|
|
|
1558
1751
|
};
|
|
1559
1752
|
};
|
|
1560
1753
|
|
|
1561
|
-
/**
|
|
1562
|
-
* Список всех прав raw_permissions
|
|
1563
|
-
*/
|
|
1564
|
-
declare const PERMISSIONS: readonly ["a_money_get_all", "a_money_get_bc", "a_money_get_sp", "a_money_update_all", "a_money_update_bc", "a_money_update_sp", "absolut_get_all", "absolut_get_bc", "absolut_get_sp", "absolut_update_all", "absolut_update_bc", "absolut_update_sp", "agent_get_all", "agent_revise_get_all", "agent_revise_get_sp", "agent_revise_update", "agent_update_all", "agent_update_self", "akbars_get_all", "akbars_get_bc", "akbars_get_sp", "akbars_update_all", "akbars_update_bc", "akbars_update_sp", "akbarsdreamratepartner_get_all", "akbarsdreamratepartner_update_all", "alfabank_b2b_get_all", "alfabank_b2b_get_bc", "alfabank_b2b_get_sp", "alfabank_b2b_update_all", "alfabank_b2b_update_bc", "alfabank_b2b_update_sp", "alfabank_card_get_all", "alfabank_card_get_bc", "alfabank_card_get_sp", "alfabank_card_update_all", "alfabank_card_update_bc", "alfabank_card_update_sp", "alfabank_pos_get_all", "alfabank_pos_get_bc", "alfabank_pos_get_sp", "alfabank_pos_update_all", "alfabank_pos_update_bc", "alfabank_pos_update_sp", "alfabankapp_get_all", "alfabankapp_get_bc", "alfabankapp_get_sp", "alfabankapp_update_all", "alfabankapp_update_bc", "alfabankapp_update_sp", "alfabankbalance_get_all", "alfabankbalance_get_bc", "alfabankbalance_get_sp", "alfabankbalance_update_all", "alfabankbalance_update_bc", "alfabankbalance_update_sp", "amoneydirect_get_all", "amoneydirect_get_bc", "amoneydirect_get_sp", "amoneydirect_update_all", "amoneydirect_update_bc", "amoneydirect_update_sp", "atbbank_get_all", "atbbank_get_bc", "atbbank_get_sp", "atbbank_update_all", "atbbank_update_bc", "atbbank_update_sp", "bank_revise_get_all", "bank_revise_item_update_writeoff_protected_fields", "bank_revise_update_all", "bank_revise_update_original_document", "bankdetail_get_all", "bankdetail_update_all", "bankdictproductcode_get_all", "bankdictproductcode_update_all", "bankproductspexclude_get_all", "bankproductspexclude_update_all", "bankscore_access", "brokerclient_delete_all", "brokerclient_moderation_all", "brokerclient_moderation_bc_own", "brokerclient_report_review_all", "brokerclient_report_review_bc_own", "brokerclient_update_all", "brokerclient_update_bc_own", "checkpassport_get", "checkpassport_update", "commission_fee_revise_get_all", "commission_fee_revise_item_get_all", "commission_fee_revise_item_update_all", "commission_fee_revise_update_all", "commission_fee_revise_update_manual", "commission_fee_revise_upload", "crediteurope_get_all", "crediteurope_get_bc", "crediteurope_get_sp", "crediteurope_update_all", "crediteurope_update_bc", "crediteurope_update_sp", "customer_delete_all", "customer_get_all", "customer_moderation_all", "customer_update_all", "execute_extended_loan_report", "execute_mortgage_loan_report", "execute_summary_report", "expobank_get_all", "expobank_get_bc", "expobank_get_sp", "expobank_update_all", "expobank_update_bc", "expobank_update_sp", "faq_update_all", "freedomfinance_get_all", "freedomfinance_get_bc", "freedomfinance_get_sp", "freedomfinance_update_all", "freedomfinance_update_bc", "freedomfinance_update_sp", "gazprombankm_get_all", "gazprombankm_get_bc", "gazprombankm_get_sp", "gazprombankm_update_all", "gazprombankm_update_bc", "gazprombankm_update_sp", "generalapp_get_all", "generalapp_get_bc", "generalapp_get_sp", "generalapp_update_all", "generalapp_update_bc", "generalapp_update_sp", "homeexpress_get_all", "homeexpress_get_bc", "homeexpress_get_sp", "homeexpress_update_all", "homeexpress_update_bc", "homeexpress_update_sp", "instruction_get_all", "instruction_update_all", "insurance_delete", "insurance_get", "insurance_update", "insurancemortgageproduct_get_all", "insurancemortgageproduct_update_all", "insuranceposapp_get_all", "insuranceposapp_get_bc", "insuranceposapp_get_sp", "insuranceposapp_update_all", "insuranceposapp_update_bc", "insuranceposapp_update_sp", "insuranceposproduct_get_all", "insuranceposproduct_update_all", "lime_loan_get_all", "lime_loan_get_bc", "lime_loan_get_sp", "lime_loan_update_all", "lime_loan_update_bc", "lime_loan_update_sp", "lokobank_get_all", "lokobank_get_bc", "lokobank_get_sp", "lokobank_update_all", "lokobank_update_bc", "lokobank_update_sp", "metalinvest_get_all", "metalinvest_get_bc", "metalinvest_get_sp", "metalinvest_update_all", "metalinvest_update_bc", "metalinvest_update_sp", "migcredit_bnpl_get_all", "migcredit_bnpl_get_bc", "migcredit_bnpl_get_sp", "migcredit_bnpl_update_all", "migcredit_bnpl_update_bc", "migcredit_bnpl_update_sp", "migcredit_pos_get_all", "migcredit_pos_get_bc", "migcredit_pos_get_sp", "migcredit_pos_update_all", "migcredit_pos_update_bc", "migcredit_pos_update_sp", "mortgage_get_all", "mortgage_get_bc", "mortgage_get_sp", "mortgage_update_all", "mortgage_update_bc", "mortgage_update_sp", "mortgagedictprogramcode_get_all", "mortgagedictprogramcode_update_all", "mortgageregionslist_get_all", "mortgageregionslist_update_all", "mtsbank_get_all", "mtsbank_get_bc", "mtsbank_get_sp", "mtsbank_update_all", "mtsbank_update_bc", "mtsbank_update_sp", "mtsbankmicron_get_all", "mtsbankmicron_get_bc", "mtsbankmicron_get_sp", "mtsbankmicron_update_all", "mtsbankmicron_update_bc", "mtsbankmicron_update_sp", "muralsib_get_all", "muralsib_get_bc", "muralsib_get_sp", "muralsib_update_all", "muralsib_update_bc", "muralsib_update_sp", "otpbank_get_all", "otpbank_get_bc", "otpbank_get_sp", "otpbank_update_all", "otpbank_update_bc", "otpbank_update_sp", "otpbankesign_get_all", "otpbankesign_get_bc", "otpbankesign_get_sp", "otpbankesign_update_all", "otpbankesign_update_bc", "otpbankesign_update_sp", "payment_link_get_all", "payment_link_get_bc", "payment_link_get_sp", "payment_link_update_all", "payment_link_update_bc", "payment_link_update_sp", "permitted_config_get", "permitted_config_update", "pochtabank_get_all", "pochtabank_get_bc", "pochtabank_get_sp", "pochtabank_update_all", "pochtabank_update_bc", "pochtabank_update_sp", "primbank_get_all", "primbank_get_bc", "primbank_get_sp", "primbank_update_all", "primbank_update_bc", "primbank_update_sp", "providingcredittariff_get_all", "providingcredittariff_update_all", "pskb_get_all", "pskb_get_bc", "pskb_get_sp", "pskb_update_all", "pskb_update_bc", "pskb_update_sp", "refund_bs_can_generate_token", "refund_bs_get", "refund_bs_update", "refund_can_generate_token", "refund_get", "refund_update", "renaissancebank_get_all", "renaissancebank_get_bc", "renaissancebank_get_sp", "renaissancebank_update_all", "renaissancebank_update_bc", "renaissancebank_update_sp", "reports_abort_all", "reports_abort_own", "reports_execute_prioritized", "reports_get_all", "reports_get_own", "reports_get_periodic_reports", "reports_update_all", "reports_update_own", "revise_get_all", "revise_get_sp", "revise_upload", "rosbankdom_get_all", "rosbankdom_get_bc", "rosbankdom_get_sp", "rosbankdom_update_all", "rosbankdom_update_bc", "rosbankdom_update_sp", "ruberumfo_get_all", "ruberumfo_get_bc", "ruberumfo_get_sp", "ruberumfo_update_all", "ruberumfo_update_bc", "ruberumfo_update_sp", "russianstandard_get_all", "russianstandard_get_bc", "russianstandard_get_sp", "russianstandard_update_all", "russianstandard_update_bc", "russianstandard_update_sp", "salespoint_delete_all", "salespoint_delete_bc_own", "salespoint_moderation_all", "salespoint_moderation_bc_own", "salespoint_update_all", "salespoint_update_bc_own", "salespoint_update_retention", "salespoint_update_sp_own", "salespointgroup_delete_all", "salespointgroup_get_all", "salespointgroup_update_all", "salespointnews_delete_all", "salespointnews_update_all", "sberbank_get_all", "sberbank_get_bc", "sberbank_get_sp", "sberbank_update_all", "sberbank_update_bc", "sberbank_update_sp", "site_get_all", "site_get_bc", "site_get_sp", "site_update_all", "site_update_bc", "site_update_sp", "siteproduct_get_all", "siteproduct_get_bc", "siteproduct_get_sp", "siteproduct_update_all", "siteproduct_update_bc", "siteproduct_update_sp", "siterequest_get_all", "siterequest_get_bc", "siterequest_get_sp", "siterequest_payment_link_get_all", "siterequest_payment_link_get_bc", "siterequest_payment_link_get_sp", "siterequest_payment_link_update_all", "siterequest_payment_link_update_bc", "siterequest_payment_link_update_sp", "siterequest_update_all", "siterequest_update_bc", "siterequest_update_sp", "sovcom_get_all", "sovcom_get_bc", "sovcom_get_sp", "sovcom_update_all", "sovcom_update_bc", "sovcom_update_sp", "sovcomhalva_get_all", "sovcomhalva_get_bc", "sovcomhalva_get_sp", "sovcomhalva_update_all", "sovcomhalva_update_bc", "sovcomhalva_update_sp", "sovcomhalvamfo_get_all", "sovcomhalvamfo_get_bc", "sovcomhalvamfo_get_sp", "sovcomhalvamfo_update_all", "sovcomhalvamfo_update_bc", "sovcomhalvamfo_update_sp", "tradedirection_delete", "tradedirection_update", "tradesegment_delete", "tradesegment_update", "uralsib_get_all", "uralsib_get_bc", "uralsib_get_sp", "uralsib_update_all", "uralsib_update_bc", "uralsib_update_sp", "user_clientfoto_by_file", "user_delete_all", "user_moderation_all", "user_moderation_bc_own", "user_support_mortgage", "user_support_pos", "user_update_all", "user_update_bc_own", "user_update_group_all", "user_update_self", "vsegdada_get_all", "vsegdada_get_bc", "vsegdada_get_sp", "vsegdada_update_all", "vsegdada_update_bc", "vsegdada_update_sp", "vtbbankm_get_all", "vtbbankm_get_bc", "vtbbankm_get_sp", "vtbbankm_update_all", "vtbbankm_update_bc", "vtbbankm_update_sp", "webbankir_get_all", "webbankir_get_bc", "webbankir_get_sp", "webbankir_update_all", "webbankir_update_bc", "webbankir_update_sp"];
|
|
1565
|
-
type Permission = (typeof PERMISSIONS)[number];
|
|
1566
|
-
|
|
1567
1754
|
/** Получение справочника Абсолют банка */
|
|
1568
1755
|
declare const useGetAbsolutbankDict: (dictName: AbsolutbankDictNames) => {
|
|
1569
1756
|
readonly response: vue.Ref<ApiResponse<Dict> | null>;
|
|
@@ -3075,4 +3262,4 @@ type Mode = 'development' | 'production';
|
|
|
3075
3262
|
declare function setMode(newMode: Mode): void;
|
|
3076
3263
|
declare function getMode(): Mode;
|
|
3077
3264
|
|
|
3078
|
-
export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, type Address, type AgentAct, type AgentActContract, type AgentActFile, type AgentGetListBody, 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 ApiResponse, type Atbbank, type AtbbankFields, type AtbbankMeta, type AtbbankStages, type BankDetail, type BankDetailContracts, type BankDetailGetListBody, type BankRevise, type BankReviseContracts, type BankReviseGenerateBody, type BankReviseItem, type BankReviseItemUpdateBody, type BankReviseItemUpdateManyBody, type BankReviseItemUpdateManyItem, type BankReviseItemsDownloadBody, type BankdetailListFilter, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type CheckpassportApp, type CheckpassportUploadRequest, type CheckpassportUploadRequestWithAllFiles, type CheckpassportUploadRequestWithFiles, type CommissionFeeReviseWipContracts, type CommissionFeeReviseWipDownloadBody, type CommissionFeeReviseWipGenerateBody, type CommissionFeeReviseWipItem, type CommissionFeeReviseWipUpdateBody, type CommissionFeeReviseWipUpdateManyBody, type CommissionFeeReviseWipUpdateManyItem, type CommissionFeeReviseWipUpdateManyResponse, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Faq, type FaqContracts, type FaqGetListBody, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type GetFmsResponse, type Group, type GroupContracts, type GroupListFilter, 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, PERMISSIONS, type Permission, type PostParams, type PostParamsWithoutBody, type ProductUploadBody, type ReportsAsync, type ReportsAsyncStatus, type ReportsMortgageLoanRequest, type ReportsMortgageStatFilter, type ReportsMortgageStatRequest, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointAltSumMode, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type SalespointProvidingCreditMode, type Salespointgroup, type SalespointgroupContracts, type SalespointgroupUpdateBody, type ScriptContracts, type ScriptExportResult, type ScriptLoadBody, type ScriptLoadError, type ScriptLoadResult, type ScriptLoadStats, type ScriptRunResult, type SearchParams, type Sex, type Sovcombank, type SovcombankFields, type SovcombankMeta, type SovcombankOffer, type SovcombankStages, type TransferAcceptanceContracts, type TransferAcceptanceGenerateBody, type TransferAcceptanceGenerateResponse, type UpdateMortgageCustomerRequest, type UploadB64File, type UploadedFile, type User, type UserContracts, type UserListFilter, type UserUpdateBody, 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, useSendVtbbankScans, 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 };
|
|
3265
|
+
export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, type Address, type AgentAct, type AgentActContract, type AgentActFile, type AgentGetListBody, 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 ApiResponse, type Atbbank, type AtbbankFields, type AtbbankMeta, type AtbbankStages, type BankCode, type BankDetail, type BankDetailContracts, type BankDetailGetListBody, type BankRevise, type BankReviseContracts, type BankReviseGenerateBody, type BankReviseItem, type BankReviseItemUpdateBody, type BankReviseItemUpdateManyBody, type BankReviseItemUpdateManyItem, type BankReviseItemsDownloadBody, type BankServiceProvider, type BankdetailListFilter, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type CheckpassportApp, type CheckpassportUploadRequest, type CheckpassportUploadRequestWithAllFiles, type CheckpassportUploadRequestWithFiles, type CommissionFeeReviseWipContracts, type CommissionFeeReviseWipDownloadBody, type CommissionFeeReviseWipGenerateBody, type CommissionFeeReviseWipItem, type CommissionFeeReviseWipUpdateBody, type CommissionFeeReviseWipUpdateManyBody, type CommissionFeeReviseWipUpdateManyItem, type CommissionFeeReviseWipUpdateManyResponse, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Faq, type FaqContracts, type FaqGetListBody, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type GetFmsResponse, type Group, type GroupContracts, type GroupListFilter, type Login, type LoginResponse, type MessageUpdateWithGroupId, type MessageUpdateWithSalespointIds, type Mortgage, type MortgageBankApp, type MortgageBankAppStatus, type MortgageBankCode, 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, PERMISSIONS, type Permission, type PosBankCode, type PostParams, type PostParamsWithoutBody, type ProductUploadBody, type ReportsAsync, type ReportsAsyncStatus, type ReportsMortgageLoanRequest, type ReportsMortgageStatFilter, type ReportsMortgageStatRequest, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointAltSumMode, type SalespointContracts, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type SalespointProvidingCreditMode, type SalespointUpdateBody, type Salespointgroup, type SalespointgroupContracts, type SalespointgroupUpdateBody, type ScriptContracts, type ScriptExportResult, type ScriptLoadBody, type ScriptLoadError, type ScriptLoadResult, type ScriptLoadStats, type ScriptRunResult, type SearchParams, type Sex, type Sovcombank, type SovcombankFields, type SovcombankMeta, type SovcombankOffer, type SovcombankStages, type TransferAcceptanceContracts, type TransferAcceptanceGenerateBody, type TransferAcceptanceGenerateResponse, type UpdateMortgageCustomerRequest, type UploadB64File, type UploadedFile, type User, type UserContracts, type UserListFilter, type UserUpdateBody, 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, useSendVtbbankScans, 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 };
|