simpleloan_api 1.2.55 → 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 CHANGED
@@ -97,6 +97,13 @@ 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';
100
107
 
101
108
  /**
102
109
  * Список всех прав raw_permissions
@@ -977,12 +984,22 @@ type RosbankDom = RosbankDomMeta & RosbankDomFields;
977
984
 
978
985
  type Salespoint = {
979
986
  id: number;
980
- checkdoc_can_enabled: boolean;
981
- credit_type: SalespointCreditType;
982
- notification_mode: SalespointNotificationMode;
983
- checkpassport_enabled: boolean;
984
- deleted_at: string | null;
985
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;
986
1003
  address_country: string | null;
987
1004
  address_postcode: string | null;
988
1005
  address_region: string | null;
@@ -990,43 +1007,213 @@ type Salespoint = {
990
1007
  address_street: string | null;
991
1008
  address_house: string | null;
992
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;
993
1030
  alt_sum_mode: SalespointAltSumMode;
994
- status: string;
995
- broker_client_id: number;
996
- product_category: string;
997
- alfabank_id: string;
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;
998
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;
999
1094
  ilbs_id: string | null;
1000
1095
  vostbank_id: string | null;
1001
- otpbank_id: string;
1002
- otpbankesign_id: string;
1096
+ otpbank_id: string | null;
1097
+ otpbankesign_id: string | null;
1003
1098
  otpbank_verification: string | null;
1004
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;
1005
1104
  expobank_id: string | null;
1006
1105
  mtsbank_id: string | null;
1007
- crediteurope_id: string | null;
1008
1106
  mtsbank_type: string | null;
1009
1107
  mtsbank_isEDS: string | null;
1010
- renaissancebank_id: number;
1011
- renbank_scan_auth_type: number;
1012
- sovcomhalva_id: number;
1013
- checkdoc_manual_check_enabled: boolean;
1014
- generalapp_banks: string[];
1015
- insurance_mode: SalespointInsuranceMode;
1016
- insurance_company: string;
1017
- directions_ids: number[];
1018
- staff_ids: number[];
1019
- permissions: string[];
1020
- segment: string;
1021
- providing_credit_tariffs_ids: number[];
1022
- providing_credit_mode: SalespointProvidingCreditMode;
1023
- address_text: string;
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;
1024
1145
  };
1025
1146
  type SalespointNotificationMode = 'on' | 'off' | 'def_on' | 'def_off';
1026
1147
  type SalespointInsuranceMode = 'none' | 'our' | 'bank' | 'off' | 'def_off';
1027
1148
  type SalespointCreditType = 'loan' | 'installment' | 'all_def_credit' | 'all_def_installment' | 'all_partial_def_credit' | 'all_partial_def_installment';
1028
1149
  type SalespointAltSumMode = 'on' | 'off' | 'def_on' | 'def_off';
1029
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
+ };
1030
1217
 
1031
1218
  type Salespointgroup = {
1032
1219
  id: number;
@@ -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,13 @@ 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';
100
107
 
101
108
  /**
102
109
  * Список всех прав raw_permissions
@@ -977,12 +984,22 @@ type RosbankDom = RosbankDomMeta & RosbankDomFields;
977
984
 
978
985
  type Salespoint = {
979
986
  id: number;
980
- checkdoc_can_enabled: boolean;
981
- credit_type: SalespointCreditType;
982
- notification_mode: SalespointNotificationMode;
983
- checkpassport_enabled: boolean;
984
- deleted_at: string | null;
985
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;
986
1003
  address_country: string | null;
987
1004
  address_postcode: string | null;
988
1005
  address_region: string | null;
@@ -990,43 +1007,213 @@ type Salespoint = {
990
1007
  address_street: string | null;
991
1008
  address_house: string | null;
992
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;
993
1030
  alt_sum_mode: SalespointAltSumMode;
994
- status: string;
995
- broker_client_id: number;
996
- product_category: string;
997
- alfabank_id: string;
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;
998
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;
999
1094
  ilbs_id: string | null;
1000
1095
  vostbank_id: string | null;
1001
- otpbank_id: string;
1002
- otpbankesign_id: string;
1096
+ otpbank_id: string | null;
1097
+ otpbankesign_id: string | null;
1003
1098
  otpbank_verification: string | null;
1004
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;
1005
1104
  expobank_id: string | null;
1006
1105
  mtsbank_id: string | null;
1007
- crediteurope_id: string | null;
1008
1106
  mtsbank_type: string | null;
1009
1107
  mtsbank_isEDS: string | null;
1010
- renaissancebank_id: number;
1011
- renbank_scan_auth_type: number;
1012
- sovcomhalva_id: number;
1013
- checkdoc_manual_check_enabled: boolean;
1014
- generalapp_banks: string[];
1015
- insurance_mode: SalespointInsuranceMode;
1016
- insurance_company: string;
1017
- directions_ids: number[];
1018
- staff_ids: number[];
1019
- permissions: string[];
1020
- segment: string;
1021
- providing_credit_tariffs_ids: number[];
1022
- providing_credit_mode: SalespointProvidingCreditMode;
1023
- address_text: string;
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;
1024
1145
  };
1025
1146
  type SalespointNotificationMode = 'on' | 'off' | 'def_on' | 'def_off';
1026
1147
  type SalespointInsuranceMode = 'none' | 'our' | 'bank' | 'off' | 'def_off';
1027
1148
  type SalespointCreditType = 'loan' | 'installment' | 'all_def_credit' | 'all_def_installment' | 'all_partial_def_credit' | 'all_partial_def_installment';
1028
1149
  type SalespointAltSumMode = 'on' | 'off' | 'def_on' | 'def_off';
1029
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
+ };
1030
1217
 
1031
1218
  type Salespointgroup = {
1032
1219
  id: number;
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpleloan_api",
3
- "version": "1.2.55",
3
+ "version": "1.2.56",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",