simpleloan_api 1.1.35 → 1.2.2

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
@@ -490,7 +490,7 @@ type Gazprombankm = GazprombankmMeta & GazprombankmFields;
490
490
  type GazprombankmDictNames = 'MarketType' | 'RealEstateTypeCode' | 'LoanPurpose' | 'SubProgramCode' | 'InsuranceType';
491
491
 
492
492
  type MortgageStages = 'app_create' | 'app_wait' | 'app_ending' | 'app_issued' | 'app_cancel' | 'app_complete_decline' | 'app_complete_accept';
493
- type MortgageBankNames = 'alfabankbalance' | 'rosbankdom' | 'akbars' | 'vtbbankm' | 'absolutbank';
493
+ type MortgageBankNames = 'absolutbank' | 'akbars' | 'alfabankbalance' | 'gazprombankm' | 'rosbankdom' | 'vtbbankm';
494
494
  type MortgageBankAppStatus = {
495
495
  id: number;
496
496
  bank: MortgageBankNames;
@@ -586,6 +586,19 @@ type MortgageProgramsLimits = {
586
586
  loan_initial_min_percent: string;
587
587
  loan_initial_max_percent: string | null;
588
588
  };
589
+ type MortgageScanDoctype = {
590
+ code: string;
591
+ customer_id: string;
592
+ title: string;
593
+ };
594
+ type MortgageScan = {
595
+ id: number;
596
+ mortgageapp_id: number;
597
+ customer_id: string;
598
+ file: UploadedFile;
599
+ scan_type: string;
600
+ title: string;
601
+ };
589
602
 
590
603
  type RosbankDomStages = 'app' | 'app_wait' | 'app_abort' | 'opportunity_wait' | 'opportunity_abort' | 'scans_wait' | 'scans_abort' | 'approval_wait' | 'cancel' | 'end' | 'unknown';
591
604
  type RosbankDomOffer = {
@@ -1427,6 +1440,20 @@ declare const useGetMortgage: () => {
1427
1440
  id: string;
1428
1441
  }>): Promise<ApiResponse<Mortgage> | null>;
1429
1442
  };
1443
+ /** Получение списка ипотечных заявок */
1444
+ declare const useGetMortgageList: () => {
1445
+ readonly response: vue.Ref<ApiResponse<Mortgage[]> | null>;
1446
+ readonly pending: vue.Ref<boolean>;
1447
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<Mortgage[]> | null>;
1448
+ };
1449
+ /** Удаление ипотечной заявки */
1450
+ declare const useDeleteMortgage: () => {
1451
+ readonly response: vue.Ref<ApiResponse<null> | null>;
1452
+ readonly pending: vue.Ref<boolean>;
1453
+ post(params: PostParams<{
1454
+ id: number;
1455
+ }>): Promise<ApiResponse<null> | null>;
1456
+ };
1430
1457
  /** Обновление ипотечной заявки */
1431
1458
  declare const useUpdateMortgage: () => {
1432
1459
  readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
@@ -1460,11 +1487,121 @@ declare const useDeleteMortgageCustomer: () => {
1460
1487
  customer_id: string;
1461
1488
  }>): Promise<ApiResponse<Mortgage> | null>;
1462
1489
  };
1463
- /** Получение списка ипотечных заявок */
1464
- declare const useGetMortgageList: () => {
1465
- readonly response: vue.Ref<ApiResponse<Mortgage[]> | null>;
1490
+ type MortgageBankApp = Absolutbank | Akbars | AlfabankBalance | Gazprombankm | RosbankDom | Vtbbankm;
1491
+ /** Получить заявку банка привязанную к ипотечной заявке */
1492
+ declare const useGetMortgageBankApp: () => {
1493
+ readonly response: vue.Ref<ApiResponse<MortgageBankApp> | null>;
1466
1494
  readonly pending: vue.Ref<boolean>;
1467
- post(params?: PostParamsWithoutBody): Promise<ApiResponse<Mortgage[]> | null>;
1495
+ post(params: PostParams<{
1496
+ id: number;
1497
+ deleted?: boolean;
1498
+ }>): Promise<ApiResponse<MortgageBankApp> | null>;
1499
+ };
1500
+ /** Список доступных значений заёмщика и самой заявки для конкретного банка */
1501
+ declare const useGetMortgageFieldChoices: () => {
1502
+ readonly response: vue.Ref<ApiResponse<{
1503
+ choices: Record<string, Dict>;
1504
+ }> | null>;
1505
+ readonly pending: vue.Ref<boolean>;
1506
+ post(params: PostParams<{
1507
+ bank: MortgageBankNames;
1508
+ }>): Promise<ApiResponse<{
1509
+ choices: Record<string, Dict>;
1510
+ }> | null>;
1511
+ };
1512
+ /** Список необходимых полей заёмщика для конкретного банка */
1513
+ declare const useGetMortgageFieldRequired: () => {
1514
+ readonly response: vue.Ref<ApiResponse<{
1515
+ fields: {
1516
+ main_customer: Record<string, boolean>;
1517
+ customers: Record<string, boolean>;
1518
+ };
1519
+ }> | null>;
1520
+ readonly pending: vue.Ref<boolean>;
1521
+ post(params: PostParams<{
1522
+ bank: MortgageBankNames;
1523
+ }>): Promise<ApiResponse<{
1524
+ fields: {
1525
+ main_customer: Record<string, boolean>;
1526
+ customers: Record<string, boolean>;
1527
+ };
1528
+ }> | null>;
1529
+ };
1530
+ /** Список документов для этапа отправления заявки */
1531
+ declare const useGetMortgageScansDoctypesList: () => {
1532
+ readonly response: vue.Ref<ApiResponse<MortgageScanDoctype[]> | null>;
1533
+ readonly pending: vue.Ref<boolean>;
1534
+ post(params: PostParams<{
1535
+ id: number;
1536
+ }>): Promise<ApiResponse<MortgageScanDoctype[]> | null>;
1537
+ };
1538
+ /** Список документов для этапа отправления заявки */
1539
+ declare const useSendMortgageScans: () => {
1540
+ readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
1541
+ readonly pending: vue.Ref<boolean>;
1542
+ post(params: PostParams<{
1543
+ id: number;
1544
+ }>): Promise<ApiResponse<Mortgage> | null>;
1545
+ };
1546
+ /** Отмена заявки */
1547
+ declare const useCancelMortgage: () => {
1548
+ readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
1549
+ readonly pending: vue.Ref<boolean>;
1550
+ post(params: PostParams<{
1551
+ id: number;
1552
+ }>): Promise<ApiResponse<Mortgage> | null>;
1553
+ };
1554
+ /** Копирование заявки */
1555
+ declare const useCloneMortgage: () => {
1556
+ readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
1557
+ readonly pending: vue.Ref<boolean>;
1558
+ post(params: PostParams<{
1559
+ id: number;
1560
+ }>): Promise<ApiResponse<Mortgage> | null>;
1561
+ };
1562
+ /** Прикрепление файла к заявке */
1563
+ declare const useUploadMortgageScan: () => {
1564
+ readonly response: vue.Ref<ApiResponse<MortgageScan> | null>;
1565
+ readonly pending: vue.Ref<boolean>;
1566
+ post(params: PostParams<{
1567
+ mortgageapp_id: number;
1568
+ customer_id: string;
1569
+ file: UploadB64File;
1570
+ scan_type: string;
1571
+ non_convert?: boolean;
1572
+ }>): Promise<ApiResponse<MortgageScan> | null>;
1573
+ };
1574
+ /** Получить список сканов заявки */
1575
+ declare const usGetMortgageScansList: () => {
1576
+ readonly response: vue.Ref<ApiResponse<MortgageScan[]> | null>;
1577
+ readonly pending: vue.Ref<boolean>;
1578
+ post(params: PostParams<{
1579
+ mortgageapp_id: number;
1580
+ }>): Promise<ApiResponse<MortgageScan[]> | null>;
1581
+ };
1582
+ /** Удалить скан заявки */
1583
+ declare const useDeleteMortgageScan: () => {
1584
+ readonly response: vue.Ref<ApiResponse<null> | null>;
1585
+ readonly pending: vue.Ref<boolean>;
1586
+ post(params: PostParams<{
1587
+ mortgageapp_id: number;
1588
+ customer_id: string;
1589
+ item_id: number;
1590
+ }>): Promise<ApiResponse<null> | null>;
1591
+ };
1592
+ /** Получить список продуктов */
1593
+ declare const useGetMortgageProgramsList: () => {
1594
+ readonly response: vue.Ref<ApiResponse<MortgageProgram[]> | null>;
1595
+ readonly pending: vue.Ref<boolean>;
1596
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<MortgageProgram[]> | null>;
1597
+ };
1598
+ /** Получить список продуктов сгруппированных по оригинальному коду вместе с банком */
1599
+ declare const useGetMortgageProgramsGroup: () => {
1600
+ readonly response: vue.Ref<ApiResponse<MortgageProgram[]> | null>;
1601
+ readonly pending: vue.Ref<boolean>;
1602
+ post(params: PostParams<{
1603
+ deleted?: boolean;
1604
+ }>): Promise<ApiResponse<MortgageProgram[]> | null>;
1468
1605
  };
1469
1606
  /** Получить банковский продукт */
1470
1607
  declare const useGetMortgageProgram: () => {
@@ -1475,6 +1612,20 @@ declare const useGetMortgageProgram: () => {
1475
1612
  deleted?: boolean;
1476
1613
  }>): Promise<ApiResponse<MortgageProgram> | null>;
1477
1614
  };
1615
+ /** Обновить банковский продукт */
1616
+ declare const useUpdateMortgageProgram: () => {
1617
+ readonly response: vue.Ref<ApiResponse<MortgageProgram> | null>;
1618
+ readonly pending: vue.Ref<boolean>;
1619
+ post(params: PostParams<Partial<MortgageProgram>>): Promise<ApiResponse<MortgageProgram> | null>;
1620
+ };
1621
+ /** Удалить банковский продукт */
1622
+ declare const useDeleteMortgageProgram: () => {
1623
+ readonly response: vue.Ref<ApiResponse<null> | null>;
1624
+ readonly pending: vue.Ref<boolean>;
1625
+ post(params: PostParams<{
1626
+ id: number;
1627
+ }>): Promise<ApiResponse<null> | null>;
1628
+ };
1478
1629
  /** Расчет стоимости ипотеки */
1479
1630
  declare const useCalculateMortgage: () => {
1480
1631
  readonly response: vue.Ref<ApiResponse<MortgageCalculateProgram[]> | null>;
@@ -1489,6 +1640,18 @@ declare const useGetMortgageLimits: () => {
1489
1640
  salespoint_id: number;
1490
1641
  }>): Promise<ApiResponse<MortgageProgramsLimits> | null>;
1491
1642
  };
1643
+ /** Получить лимиты банковских продуктов */
1644
+ declare const usePrintMortgageForm: () => {
1645
+ readonly response: vue.Ref<ApiResponse<MortgageProgramsLimits> | null>;
1646
+ readonly pending: vue.Ref<boolean>;
1647
+ post(params: PostParams<{
1648
+ template: "soglasieipoteka" | "soglasierosbankdom" | "soglasieakbars";
1649
+ mortgageapp: number;
1650
+ context?: {
1651
+ customer_id?: string;
1652
+ };
1653
+ }>): Promise<ApiResponse<MortgageProgramsLimits> | null>;
1654
+ };
1492
1655
 
1493
1656
  type RosbankDomUpdate = Partial<RosbankDom> & {
1494
1657
  id: number;
@@ -1793,4 +1956,4 @@ type Mode = 'development' | 'production';
1793
1956
  declare function setMode(newMode: Mode): void;
1794
1957
  declare function getMode(): Mode;
1795
1958
 
1796
- export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type AlfabankBalance, type AlfabankBalanceOffer, type AlfabankBalanceOfferLoanParameters, type AlfabankBalanceScanState, type AlfabankBalanceStages, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageCommonDictNames, type MortgageDictNames, type MortgageFields, type MortgageMeta, type MortgageProgram, type MortgageProgramsLimits, type MortgageStages, type MortgageUpdate, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type UploadedFile, type User, type VtbBankmFields, type VtbBankmMeta, type VtbBankmStages, type Vtbbankm, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCalculateMortgage, useCancelAbsolutbank, useCancelGazprombankm, useCancelRosbankDom, useCancelVtbbankm, useCloneAbsolutbank, useCloneAlfabankBalance, useCloneGazprombankm, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmRosbankDom, useDeleteAbsolutbank, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGazprombankm, useDeleteGroupUser, useDeleteMortgageCustomer, useDeleteRosbankDom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useDeleteVtbbankm, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGenerateVtbbankmScansApplications, useGetAbsolutbank, useGetAbsolutbankDict, useGetAbsolutbankList, useGetAbsolutbankPrintforms, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCustomer, useGetCustomerList, useGetGazprombankm, useGetGazprombankmDict, useGetGazprombankmList, useGetMortgage, useGetMortgageCommonDictList, useGetMortgageDict, useGetMortgageLimits, useGetMortgageList, useGetMortgageProgram, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useGetVtbbankm, useGetVtbbankmList, useLoanerApprovingAkbarsStatus, usePreapprovalAbsolutbankStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalRosbankDomStatus, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAbsolutbank, useSendAbsolutbankScans, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendGazprombankm, useSendGazprombankmScans, useSendMortgage, useSendRosbankDom, useSendRosbankDomScans, useSendVtbbankm, useStatusManuallyAlfabankBalanceScans, useUpdateAbsolutbank, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCustomer, useUpdateGazprombankm, useUpdateManySalespoint, useUpdateManyUser, useUpdateMortgage, useUpdateMortgageCustomer, useUpdateRosbankDom, useUpdateSalespoint, useUpdateUser, useUpdateVtbbankm, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankBalanceScans };
1959
+ export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type AlfabankBalance, type AlfabankBalanceOffer, type AlfabankBalanceOfferLoanParameters, type AlfabankBalanceScanState, type AlfabankBalanceStages, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type Login, type LoginResponse, type Mortgage, type MortgageBankApp, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageCommonDictNames, type MortgageDictNames, type MortgageFields, type MortgageMeta, type MortgageProgram, type MortgageProgramsLimits, type MortgageScan, type MortgageScanDoctype, type MortgageStages, type MortgageUpdate, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type UploadedFile, type User, type VtbBankmFields, type VtbBankmMeta, type VtbBankmStages, type Vtbbankm, getMode, setMode, usGetMortgageScansList, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCalculateMortgage, useCancelAbsolutbank, useCancelGazprombankm, useCancelMortgage, useCancelRosbankDom, useCancelVtbbankm, useCloneAbsolutbank, useCloneAlfabankBalance, useCloneGazprombankm, useCloneMortgage, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmRosbankDom, useDeleteAbsolutbank, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGazprombankm, useDeleteGroupUser, useDeleteMortgage, useDeleteMortgageCustomer, useDeleteMortgageProgram, useDeleteMortgageScan, useDeleteRosbankDom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useDeleteVtbbankm, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGenerateVtbbankmScansApplications, useGetAbsolutbank, useGetAbsolutbankDict, useGetAbsolutbankList, useGetAbsolutbankPrintforms, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCustomer, useGetCustomerList, useGetGazprombankm, useGetGazprombankmDict, useGetGazprombankmList, useGetMortgage, useGetMortgageBankApp, useGetMortgageCommonDictList, useGetMortgageDict, useGetMortgageFieldChoices, useGetMortgageFieldRequired, useGetMortgageLimits, useGetMortgageList, useGetMortgageProgram, useGetMortgageProgramsGroup, useGetMortgageProgramsList, useGetMortgageScansDoctypesList, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useGetVtbbankm, useGetVtbbankmList, useLoanerApprovingAkbarsStatus, usePreapprovalAbsolutbankStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalRosbankDomStatus, usePrintMortgageForm, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAbsolutbank, useSendAbsolutbankScans, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendGazprombankm, useSendGazprombankmScans, useSendMortgage, useSendMortgageScans, useSendRosbankDom, useSendRosbankDomScans, useSendVtbbankm, useStatusManuallyAlfabankBalanceScans, useUpdateAbsolutbank, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCustomer, useUpdateGazprombankm, useUpdateManySalespoint, useUpdateManyUser, useUpdateMortgage, useUpdateMortgageCustomer, useUpdateMortgageProgram, useUpdateRosbankDom, useUpdateSalespoint, useUpdateUser, useUpdateVtbbankm, useUploadAkbarsDepositScan, useUploadMortgageScan, useVerifyManuallyAlfabankBalanceScans };
package/dist/index.d.ts CHANGED
@@ -490,7 +490,7 @@ type Gazprombankm = GazprombankmMeta & GazprombankmFields;
490
490
  type GazprombankmDictNames = 'MarketType' | 'RealEstateTypeCode' | 'LoanPurpose' | 'SubProgramCode' | 'InsuranceType';
491
491
 
492
492
  type MortgageStages = 'app_create' | 'app_wait' | 'app_ending' | 'app_issued' | 'app_cancel' | 'app_complete_decline' | 'app_complete_accept';
493
- type MortgageBankNames = 'alfabankbalance' | 'rosbankdom' | 'akbars' | 'vtbbankm' | 'absolutbank';
493
+ type MortgageBankNames = 'absolutbank' | 'akbars' | 'alfabankbalance' | 'gazprombankm' | 'rosbankdom' | 'vtbbankm';
494
494
  type MortgageBankAppStatus = {
495
495
  id: number;
496
496
  bank: MortgageBankNames;
@@ -586,6 +586,19 @@ type MortgageProgramsLimits = {
586
586
  loan_initial_min_percent: string;
587
587
  loan_initial_max_percent: string | null;
588
588
  };
589
+ type MortgageScanDoctype = {
590
+ code: string;
591
+ customer_id: string;
592
+ title: string;
593
+ };
594
+ type MortgageScan = {
595
+ id: number;
596
+ mortgageapp_id: number;
597
+ customer_id: string;
598
+ file: UploadedFile;
599
+ scan_type: string;
600
+ title: string;
601
+ };
589
602
 
590
603
  type RosbankDomStages = 'app' | 'app_wait' | 'app_abort' | 'opportunity_wait' | 'opportunity_abort' | 'scans_wait' | 'scans_abort' | 'approval_wait' | 'cancel' | 'end' | 'unknown';
591
604
  type RosbankDomOffer = {
@@ -1427,6 +1440,20 @@ declare const useGetMortgage: () => {
1427
1440
  id: string;
1428
1441
  }>): Promise<ApiResponse<Mortgage> | null>;
1429
1442
  };
1443
+ /** Получение списка ипотечных заявок */
1444
+ declare const useGetMortgageList: () => {
1445
+ readonly response: vue.Ref<ApiResponse<Mortgage[]> | null>;
1446
+ readonly pending: vue.Ref<boolean>;
1447
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<Mortgage[]> | null>;
1448
+ };
1449
+ /** Удаление ипотечной заявки */
1450
+ declare const useDeleteMortgage: () => {
1451
+ readonly response: vue.Ref<ApiResponse<null> | null>;
1452
+ readonly pending: vue.Ref<boolean>;
1453
+ post(params: PostParams<{
1454
+ id: number;
1455
+ }>): Promise<ApiResponse<null> | null>;
1456
+ };
1430
1457
  /** Обновление ипотечной заявки */
1431
1458
  declare const useUpdateMortgage: () => {
1432
1459
  readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
@@ -1460,11 +1487,121 @@ declare const useDeleteMortgageCustomer: () => {
1460
1487
  customer_id: string;
1461
1488
  }>): Promise<ApiResponse<Mortgage> | null>;
1462
1489
  };
1463
- /** Получение списка ипотечных заявок */
1464
- declare const useGetMortgageList: () => {
1465
- readonly response: vue.Ref<ApiResponse<Mortgage[]> | null>;
1490
+ type MortgageBankApp = Absolutbank | Akbars | AlfabankBalance | Gazprombankm | RosbankDom | Vtbbankm;
1491
+ /** Получить заявку банка привязанную к ипотечной заявке */
1492
+ declare const useGetMortgageBankApp: () => {
1493
+ readonly response: vue.Ref<ApiResponse<MortgageBankApp> | null>;
1466
1494
  readonly pending: vue.Ref<boolean>;
1467
- post(params?: PostParamsWithoutBody): Promise<ApiResponse<Mortgage[]> | null>;
1495
+ post(params: PostParams<{
1496
+ id: number;
1497
+ deleted?: boolean;
1498
+ }>): Promise<ApiResponse<MortgageBankApp> | null>;
1499
+ };
1500
+ /** Список доступных значений заёмщика и самой заявки для конкретного банка */
1501
+ declare const useGetMortgageFieldChoices: () => {
1502
+ readonly response: vue.Ref<ApiResponse<{
1503
+ choices: Record<string, Dict>;
1504
+ }> | null>;
1505
+ readonly pending: vue.Ref<boolean>;
1506
+ post(params: PostParams<{
1507
+ bank: MortgageBankNames;
1508
+ }>): Promise<ApiResponse<{
1509
+ choices: Record<string, Dict>;
1510
+ }> | null>;
1511
+ };
1512
+ /** Список необходимых полей заёмщика для конкретного банка */
1513
+ declare const useGetMortgageFieldRequired: () => {
1514
+ readonly response: vue.Ref<ApiResponse<{
1515
+ fields: {
1516
+ main_customer: Record<string, boolean>;
1517
+ customers: Record<string, boolean>;
1518
+ };
1519
+ }> | null>;
1520
+ readonly pending: vue.Ref<boolean>;
1521
+ post(params: PostParams<{
1522
+ bank: MortgageBankNames;
1523
+ }>): Promise<ApiResponse<{
1524
+ fields: {
1525
+ main_customer: Record<string, boolean>;
1526
+ customers: Record<string, boolean>;
1527
+ };
1528
+ }> | null>;
1529
+ };
1530
+ /** Список документов для этапа отправления заявки */
1531
+ declare const useGetMortgageScansDoctypesList: () => {
1532
+ readonly response: vue.Ref<ApiResponse<MortgageScanDoctype[]> | null>;
1533
+ readonly pending: vue.Ref<boolean>;
1534
+ post(params: PostParams<{
1535
+ id: number;
1536
+ }>): Promise<ApiResponse<MortgageScanDoctype[]> | null>;
1537
+ };
1538
+ /** Список документов для этапа отправления заявки */
1539
+ declare const useSendMortgageScans: () => {
1540
+ readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
1541
+ readonly pending: vue.Ref<boolean>;
1542
+ post(params: PostParams<{
1543
+ id: number;
1544
+ }>): Promise<ApiResponse<Mortgage> | null>;
1545
+ };
1546
+ /** Отмена заявки */
1547
+ declare const useCancelMortgage: () => {
1548
+ readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
1549
+ readonly pending: vue.Ref<boolean>;
1550
+ post(params: PostParams<{
1551
+ id: number;
1552
+ }>): Promise<ApiResponse<Mortgage> | null>;
1553
+ };
1554
+ /** Копирование заявки */
1555
+ declare const useCloneMortgage: () => {
1556
+ readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
1557
+ readonly pending: vue.Ref<boolean>;
1558
+ post(params: PostParams<{
1559
+ id: number;
1560
+ }>): Promise<ApiResponse<Mortgage> | null>;
1561
+ };
1562
+ /** Прикрепление файла к заявке */
1563
+ declare const useUploadMortgageScan: () => {
1564
+ readonly response: vue.Ref<ApiResponse<MortgageScan> | null>;
1565
+ readonly pending: vue.Ref<boolean>;
1566
+ post(params: PostParams<{
1567
+ mortgageapp_id: number;
1568
+ customer_id: string;
1569
+ file: UploadB64File;
1570
+ scan_type: string;
1571
+ non_convert?: boolean;
1572
+ }>): Promise<ApiResponse<MortgageScan> | null>;
1573
+ };
1574
+ /** Получить список сканов заявки */
1575
+ declare const usGetMortgageScansList: () => {
1576
+ readonly response: vue.Ref<ApiResponse<MortgageScan[]> | null>;
1577
+ readonly pending: vue.Ref<boolean>;
1578
+ post(params: PostParams<{
1579
+ mortgageapp_id: number;
1580
+ }>): Promise<ApiResponse<MortgageScan[]> | null>;
1581
+ };
1582
+ /** Удалить скан заявки */
1583
+ declare const useDeleteMortgageScan: () => {
1584
+ readonly response: vue.Ref<ApiResponse<null> | null>;
1585
+ readonly pending: vue.Ref<boolean>;
1586
+ post(params: PostParams<{
1587
+ mortgageapp_id: number;
1588
+ customer_id: string;
1589
+ item_id: number;
1590
+ }>): Promise<ApiResponse<null> | null>;
1591
+ };
1592
+ /** Получить список продуктов */
1593
+ declare const useGetMortgageProgramsList: () => {
1594
+ readonly response: vue.Ref<ApiResponse<MortgageProgram[]> | null>;
1595
+ readonly pending: vue.Ref<boolean>;
1596
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<MortgageProgram[]> | null>;
1597
+ };
1598
+ /** Получить список продуктов сгруппированных по оригинальному коду вместе с банком */
1599
+ declare const useGetMortgageProgramsGroup: () => {
1600
+ readonly response: vue.Ref<ApiResponse<MortgageProgram[]> | null>;
1601
+ readonly pending: vue.Ref<boolean>;
1602
+ post(params: PostParams<{
1603
+ deleted?: boolean;
1604
+ }>): Promise<ApiResponse<MortgageProgram[]> | null>;
1468
1605
  };
1469
1606
  /** Получить банковский продукт */
1470
1607
  declare const useGetMortgageProgram: () => {
@@ -1475,6 +1612,20 @@ declare const useGetMortgageProgram: () => {
1475
1612
  deleted?: boolean;
1476
1613
  }>): Promise<ApiResponse<MortgageProgram> | null>;
1477
1614
  };
1615
+ /** Обновить банковский продукт */
1616
+ declare const useUpdateMortgageProgram: () => {
1617
+ readonly response: vue.Ref<ApiResponse<MortgageProgram> | null>;
1618
+ readonly pending: vue.Ref<boolean>;
1619
+ post(params: PostParams<Partial<MortgageProgram>>): Promise<ApiResponse<MortgageProgram> | null>;
1620
+ };
1621
+ /** Удалить банковский продукт */
1622
+ declare const useDeleteMortgageProgram: () => {
1623
+ readonly response: vue.Ref<ApiResponse<null> | null>;
1624
+ readonly pending: vue.Ref<boolean>;
1625
+ post(params: PostParams<{
1626
+ id: number;
1627
+ }>): Promise<ApiResponse<null> | null>;
1628
+ };
1478
1629
  /** Расчет стоимости ипотеки */
1479
1630
  declare const useCalculateMortgage: () => {
1480
1631
  readonly response: vue.Ref<ApiResponse<MortgageCalculateProgram[]> | null>;
@@ -1489,6 +1640,18 @@ declare const useGetMortgageLimits: () => {
1489
1640
  salespoint_id: number;
1490
1641
  }>): Promise<ApiResponse<MortgageProgramsLimits> | null>;
1491
1642
  };
1643
+ /** Получить лимиты банковских продуктов */
1644
+ declare const usePrintMortgageForm: () => {
1645
+ readonly response: vue.Ref<ApiResponse<MortgageProgramsLimits> | null>;
1646
+ readonly pending: vue.Ref<boolean>;
1647
+ post(params: PostParams<{
1648
+ template: "soglasieipoteka" | "soglasierosbankdom" | "soglasieakbars";
1649
+ mortgageapp: number;
1650
+ context?: {
1651
+ customer_id?: string;
1652
+ };
1653
+ }>): Promise<ApiResponse<MortgageProgramsLimits> | null>;
1654
+ };
1492
1655
 
1493
1656
  type RosbankDomUpdate = Partial<RosbankDom> & {
1494
1657
  id: number;
@@ -1793,4 +1956,4 @@ type Mode = 'development' | 'production';
1793
1956
  declare function setMode(newMode: Mode): void;
1794
1957
  declare function getMode(): Mode;
1795
1958
 
1796
- export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type AlfabankBalance, type AlfabankBalanceOffer, type AlfabankBalanceOfferLoanParameters, type AlfabankBalanceScanState, type AlfabankBalanceStages, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageCommonDictNames, type MortgageDictNames, type MortgageFields, type MortgageMeta, type MortgageProgram, type MortgageProgramsLimits, type MortgageStages, type MortgageUpdate, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type UploadedFile, type User, type VtbBankmFields, type VtbBankmMeta, type VtbBankmStages, type Vtbbankm, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCalculateMortgage, useCancelAbsolutbank, useCancelGazprombankm, useCancelRosbankDom, useCancelVtbbankm, useCloneAbsolutbank, useCloneAlfabankBalance, useCloneGazprombankm, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmRosbankDom, useDeleteAbsolutbank, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGazprombankm, useDeleteGroupUser, useDeleteMortgageCustomer, useDeleteRosbankDom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useDeleteVtbbankm, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGenerateVtbbankmScansApplications, useGetAbsolutbank, useGetAbsolutbankDict, useGetAbsolutbankList, useGetAbsolutbankPrintforms, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCustomer, useGetCustomerList, useGetGazprombankm, useGetGazprombankmDict, useGetGazprombankmList, useGetMortgage, useGetMortgageCommonDictList, useGetMortgageDict, useGetMortgageLimits, useGetMortgageList, useGetMortgageProgram, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useGetVtbbankm, useGetVtbbankmList, useLoanerApprovingAkbarsStatus, usePreapprovalAbsolutbankStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalRosbankDomStatus, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAbsolutbank, useSendAbsolutbankScans, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendGazprombankm, useSendGazprombankmScans, useSendMortgage, useSendRosbankDom, useSendRosbankDomScans, useSendVtbbankm, useStatusManuallyAlfabankBalanceScans, useUpdateAbsolutbank, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCustomer, useUpdateGazprombankm, useUpdateManySalespoint, useUpdateManyUser, useUpdateMortgage, useUpdateMortgageCustomer, useUpdateRosbankDom, useUpdateSalespoint, useUpdateUser, useUpdateVtbbankm, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankBalanceScans };
1959
+ export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type AlfabankBalance, type AlfabankBalanceOffer, type AlfabankBalanceOfferLoanParameters, type AlfabankBalanceScanState, type AlfabankBalanceStages, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type Login, type LoginResponse, type Mortgage, type MortgageBankApp, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageCommonDictNames, type MortgageDictNames, type MortgageFields, type MortgageMeta, type MortgageProgram, type MortgageProgramsLimits, type MortgageScan, type MortgageScanDoctype, type MortgageStages, type MortgageUpdate, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type UploadedFile, type User, type VtbBankmFields, type VtbBankmMeta, type VtbBankmStages, type Vtbbankm, getMode, setMode, usGetMortgageScansList, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCalculateMortgage, useCancelAbsolutbank, useCancelGazprombankm, useCancelMortgage, useCancelRosbankDom, useCancelVtbbankm, useCloneAbsolutbank, useCloneAlfabankBalance, useCloneGazprombankm, useCloneMortgage, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmRosbankDom, useDeleteAbsolutbank, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGazprombankm, useDeleteGroupUser, useDeleteMortgage, useDeleteMortgageCustomer, useDeleteMortgageProgram, useDeleteMortgageScan, useDeleteRosbankDom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useDeleteVtbbankm, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGenerateVtbbankmScansApplications, useGetAbsolutbank, useGetAbsolutbankDict, useGetAbsolutbankList, useGetAbsolutbankPrintforms, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCustomer, useGetCustomerList, useGetGazprombankm, useGetGazprombankmDict, useGetGazprombankmList, useGetMortgage, useGetMortgageBankApp, useGetMortgageCommonDictList, useGetMortgageDict, useGetMortgageFieldChoices, useGetMortgageFieldRequired, useGetMortgageLimits, useGetMortgageList, useGetMortgageProgram, useGetMortgageProgramsGroup, useGetMortgageProgramsList, useGetMortgageScansDoctypesList, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useGetVtbbankm, useGetVtbbankmList, useLoanerApprovingAkbarsStatus, usePreapprovalAbsolutbankStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalRosbankDomStatus, usePrintMortgageForm, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAbsolutbank, useSendAbsolutbankScans, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendGazprombankm, useSendGazprombankmScans, useSendMortgage, useSendMortgageScans, useSendRosbankDom, useSendRosbankDomScans, useSendVtbbankm, useStatusManuallyAlfabankBalanceScans, useUpdateAbsolutbank, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCustomer, useUpdateGazprombankm, useUpdateManySalespoint, useUpdateManyUser, useUpdateMortgage, useUpdateMortgageCustomer, useUpdateMortgageProgram, useUpdateRosbankDom, useUpdateSalespoint, useUpdateUser, useUpdateVtbbankm, useUploadAkbarsDepositScan, useUploadMortgageScan, useVerifyManuallyAlfabankBalanceScans };
package/dist/index.js CHANGED
@@ -56,6 +56,7 @@ var simpleloan_api_exports = {};
56
56
  __export(simpleloan_api_exports, {
57
57
  getMode: () => getMode,
58
58
  setMode: () => setMode,
59
+ usGetMortgageScansList: () => usGetMortgageScansList,
59
60
  useAccountCheckLogin: () => useAccountCheckLogin,
60
61
  useAccountLogin: () => useAccountLogin,
61
62
  useAccountLogout: () => useAccountLogout,
@@ -71,11 +72,13 @@ __export(simpleloan_api_exports, {
71
72
  useCalculateMortgage: () => useCalculateMortgage,
72
73
  useCancelAbsolutbank: () => useCancelAbsolutbank,
73
74
  useCancelGazprombankm: () => useCancelGazprombankm,
75
+ useCancelMortgage: () => useCancelMortgage,
74
76
  useCancelRosbankDom: () => useCancelRosbankDom,
75
77
  useCancelVtbbankm: () => useCancelVtbbankm,
76
78
  useCloneAbsolutbank: () => useCloneAbsolutbank,
77
79
  useCloneAlfabankBalance: () => useCloneAlfabankBalance,
78
80
  useCloneGazprombankm: () => useCloneGazprombankm,
81
+ useCloneMortgage: () => useCloneMortgage,
79
82
  useCloneRosbankDom: () => useCloneRosbankDom,
80
83
  useCloneSalespoint: () => useCloneSalespoint,
81
84
  useCloneUser: () => useCloneUser,
@@ -92,7 +95,10 @@ __export(simpleloan_api_exports, {
92
95
  useDeleteCustomerList: () => useDeleteCustomerList,
93
96
  useDeleteGazprombankm: () => useDeleteGazprombankm,
94
97
  useDeleteGroupUser: () => useDeleteGroupUser,
98
+ useDeleteMortgage: () => useDeleteMortgage,
95
99
  useDeleteMortgageCustomer: () => useDeleteMortgageCustomer,
100
+ useDeleteMortgageProgram: () => useDeleteMortgageProgram,
101
+ useDeleteMortgageScan: () => useDeleteMortgageScan,
96
102
  useDeleteRosbankDom: () => useDeleteRosbankDom,
97
103
  useDeleteSalespoint: () => useDeleteSalespoint,
98
104
  useDeleteStaffBrokerclient: () => useDeleteStaffBrokerclient,
@@ -126,11 +132,17 @@ __export(simpleloan_api_exports, {
126
132
  useGetGazprombankmDict: () => useGetGazprombankmDict,
127
133
  useGetGazprombankmList: () => useGetGazprombankmList,
128
134
  useGetMortgage: () => useGetMortgage,
135
+ useGetMortgageBankApp: () => useGetMortgageBankApp,
129
136
  useGetMortgageCommonDictList: () => useGetMortgageCommonDictList,
130
137
  useGetMortgageDict: () => useGetMortgageDict,
138
+ useGetMortgageFieldChoices: () => useGetMortgageFieldChoices,
139
+ useGetMortgageFieldRequired: () => useGetMortgageFieldRequired,
131
140
  useGetMortgageLimits: () => useGetMortgageLimits,
132
141
  useGetMortgageList: () => useGetMortgageList,
133
142
  useGetMortgageProgram: () => useGetMortgageProgram,
143
+ useGetMortgageProgramsGroup: () => useGetMortgageProgramsGroup,
144
+ useGetMortgageProgramsList: () => useGetMortgageProgramsList,
145
+ useGetMortgageScansDoctypesList: () => useGetMortgageScansDoctypesList,
134
146
  useGetRosbankDom: () => useGetRosbankDom,
135
147
  useGetRosbankDomDict: () => useGetRosbankDomDict,
136
148
  useGetRosbankDomList: () => useGetRosbankDomList,
@@ -145,6 +157,7 @@ __export(simpleloan_api_exports, {
145
157
  usePreapprovalAbsolutbankStatus: () => usePreapprovalAbsolutbankStatus,
146
158
  usePreapprovalAlfabankBalanceStatus: () => usePreapprovalAlfabankBalanceStatus,
147
159
  usePreapprovalRosbankDomStatus: () => usePreapprovalRosbankDomStatus,
160
+ usePrintMortgageForm: () => usePrintMortgageForm,
148
161
  useProcessingAkbars: () => useProcessingAkbars,
149
162
  useReadChatmessage: () => useReadChatmessage,
150
163
  useRosbankDomOpportunity: () => useRosbankDomOpportunity,
@@ -158,6 +171,7 @@ __export(simpleloan_api_exports, {
158
171
  useSendGazprombankm: () => useSendGazprombankm,
159
172
  useSendGazprombankmScans: () => useSendGazprombankmScans,
160
173
  useSendMortgage: () => useSendMortgage,
174
+ useSendMortgageScans: () => useSendMortgageScans,
161
175
  useSendRosbankDom: () => useSendRosbankDom,
162
176
  useSendRosbankDomScans: () => useSendRosbankDomScans,
163
177
  useSendVtbbankm: () => useSendVtbbankm,
@@ -174,11 +188,13 @@ __export(simpleloan_api_exports, {
174
188
  useUpdateManyUser: () => useUpdateManyUser,
175
189
  useUpdateMortgage: () => useUpdateMortgage,
176
190
  useUpdateMortgageCustomer: () => useUpdateMortgageCustomer,
191
+ useUpdateMortgageProgram: () => useUpdateMortgageProgram,
177
192
  useUpdateRosbankDom: () => useUpdateRosbankDom,
178
193
  useUpdateSalespoint: () => useUpdateSalespoint,
179
194
  useUpdateUser: () => useUpdateUser,
180
195
  useUpdateVtbbankm: () => useUpdateVtbbankm,
181
196
  useUploadAkbarsDepositScan: () => useUploadAkbarsDepositScan,
197
+ useUploadMortgageScan: () => useUploadMortgageScan,
182
198
  useVerifyManuallyAlfabankBalanceScans: () => useVerifyManuallyAlfabankBalanceScans
183
199
  });
184
200
  module.exports = __toCommonJS(simpleloan_api_exports);
@@ -361,14 +377,30 @@ var baseUrl9 = "mortgage/";
361
377
  var useGetMortgageDict = (dict) => useFetch(baseUrl9 + `dict/${dict}/get_list/`);
362
378
  var useGetMortgageCommonDictList = () => useFetch(baseUrl9 + "commondict/get_list/");
363
379
  var useGetMortgage = () => useFetch(baseUrl9 + "get/");
364
- var useUpdateMortgage = () => useFetch(baseUrl9 + "update/");
365
- var useSendMortgage = () => useFetch(baseUrl9 + "send/");
380
+ var useGetMortgageList = () => useFetch(baseUrl9 + "get_list/");
381
+ var useDeleteMortgage = () => useFetch(baseUrl9 + "delete/");
382
+ var useUpdateMortgage = () => useFetch(baseUrl9 + "app/update/");
383
+ var useSendMortgage = () => useFetch(baseUrl9 + "app/send/");
366
384
  var useUpdateMortgageCustomer = () => useFetch(baseUrl9 + "app/customer/update/");
367
385
  var useDeleteMortgageCustomer = () => useFetch(baseUrl9 + "app/customer/delete/");
368
- var useGetMortgageList = () => useFetch(baseUrl9 + "get_list/");
386
+ var useGetMortgageBankApp = () => useFetch(baseUrl9 + "app/bankapp/");
387
+ var useGetMortgageFieldChoices = () => useFetch(baseUrl9 + "app/fields/choices/");
388
+ var useGetMortgageFieldRequired = () => useFetch(baseUrl9 + "app/fields/required/");
389
+ var useGetMortgageScansDoctypesList = () => useFetch(baseUrl9 + "scans/doctypes/get_list/");
390
+ var useSendMortgageScans = () => useFetch(baseUrl9 + "scans/send/");
391
+ var useCancelMortgage = () => useFetch(baseUrl9 + "cancel/");
392
+ var useCloneMortgage = () => useFetch(baseUrl9 + "app/clone/");
393
+ var useUploadMortgageScan = () => useFetch(baseUrl9 + "scans/files/upload");
394
+ var usGetMortgageScansList = () => useFetch(baseUrl9 + "scans/files/get_list");
395
+ var useDeleteMortgageScan = () => useFetch(baseUrl9 + "scans/files/delete");
396
+ var useGetMortgageProgramsList = () => useFetch(baseUrl9 + "mortgagedictprogramcode/get_list/");
397
+ var useGetMortgageProgramsGroup = () => useFetch(baseUrl9 + "mortgagedictprogramcode/get_group/");
369
398
  var useGetMortgageProgram = () => useFetch(baseUrl9 + "mortgagedictprogramcode/get/");
399
+ var useUpdateMortgageProgram = () => useFetch(baseUrl9 + "mortgagedictprogramcode/update/");
400
+ var useDeleteMortgageProgram = () => useFetch(baseUrl9 + "mortgagedictprogramcode/delete/");
370
401
  var useCalculateMortgage = () => useFetch(baseUrl9 + "calculate/");
371
402
  var useGetMortgageLimits = () => useFetch(baseUrl9 + "limits/");
403
+ var usePrintMortgageForm = () => useFetch(baseUrl9 + "print_form/");
372
404
 
373
405
  // src/repositories/rosbankdom/index.ts
374
406
  var baseUrl10 = "rosbankdom/";
@@ -422,6 +454,7 @@ var useCloneVtbbankm = () => useFetch(baseUrl13 + "app/clone/");
422
454
  0 && (module.exports = {
423
455
  getMode,
424
456
  setMode,
457
+ usGetMortgageScansList,
425
458
  useAccountCheckLogin,
426
459
  useAccountLogin,
427
460
  useAccountLogout,
@@ -437,11 +470,13 @@ var useCloneVtbbankm = () => useFetch(baseUrl13 + "app/clone/");
437
470
  useCalculateMortgage,
438
471
  useCancelAbsolutbank,
439
472
  useCancelGazprombankm,
473
+ useCancelMortgage,
440
474
  useCancelRosbankDom,
441
475
  useCancelVtbbankm,
442
476
  useCloneAbsolutbank,
443
477
  useCloneAlfabankBalance,
444
478
  useCloneGazprombankm,
479
+ useCloneMortgage,
445
480
  useCloneRosbankDom,
446
481
  useCloneSalespoint,
447
482
  useCloneUser,
@@ -458,7 +493,10 @@ var useCloneVtbbankm = () => useFetch(baseUrl13 + "app/clone/");
458
493
  useDeleteCustomerList,
459
494
  useDeleteGazprombankm,
460
495
  useDeleteGroupUser,
496
+ useDeleteMortgage,
461
497
  useDeleteMortgageCustomer,
498
+ useDeleteMortgageProgram,
499
+ useDeleteMortgageScan,
462
500
  useDeleteRosbankDom,
463
501
  useDeleteSalespoint,
464
502
  useDeleteStaffBrokerclient,
@@ -492,11 +530,17 @@ var useCloneVtbbankm = () => useFetch(baseUrl13 + "app/clone/");
492
530
  useGetGazprombankmDict,
493
531
  useGetGazprombankmList,
494
532
  useGetMortgage,
533
+ useGetMortgageBankApp,
495
534
  useGetMortgageCommonDictList,
496
535
  useGetMortgageDict,
536
+ useGetMortgageFieldChoices,
537
+ useGetMortgageFieldRequired,
497
538
  useGetMortgageLimits,
498
539
  useGetMortgageList,
499
540
  useGetMortgageProgram,
541
+ useGetMortgageProgramsGroup,
542
+ useGetMortgageProgramsList,
543
+ useGetMortgageScansDoctypesList,
500
544
  useGetRosbankDom,
501
545
  useGetRosbankDomDict,
502
546
  useGetRosbankDomList,
@@ -511,6 +555,7 @@ var useCloneVtbbankm = () => useFetch(baseUrl13 + "app/clone/");
511
555
  usePreapprovalAbsolutbankStatus,
512
556
  usePreapprovalAlfabankBalanceStatus,
513
557
  usePreapprovalRosbankDomStatus,
558
+ usePrintMortgageForm,
514
559
  useProcessingAkbars,
515
560
  useReadChatmessage,
516
561
  useRosbankDomOpportunity,
@@ -524,6 +569,7 @@ var useCloneVtbbankm = () => useFetch(baseUrl13 + "app/clone/");
524
569
  useSendGazprombankm,
525
570
  useSendGazprombankmScans,
526
571
  useSendMortgage,
572
+ useSendMortgageScans,
527
573
  useSendRosbankDom,
528
574
  useSendRosbankDomScans,
529
575
  useSendVtbbankm,
@@ -540,11 +586,13 @@ var useCloneVtbbankm = () => useFetch(baseUrl13 + "app/clone/");
540
586
  useUpdateManyUser,
541
587
  useUpdateMortgage,
542
588
  useUpdateMortgageCustomer,
589
+ useUpdateMortgageProgram,
543
590
  useUpdateRosbankDom,
544
591
  useUpdateSalespoint,
545
592
  useUpdateUser,
546
593
  useUpdateVtbbankm,
547
594
  useUploadAkbarsDepositScan,
595
+ useUploadMortgageScan,
548
596
  useVerifyManuallyAlfabankBalanceScans
549
597
  });
550
598
  //!
package/dist/index.mjs CHANGED
@@ -213,14 +213,30 @@ var baseUrl9 = "mortgage/";
213
213
  var useGetMortgageDict = (dict) => useFetch(baseUrl9 + `dict/${dict}/get_list/`);
214
214
  var useGetMortgageCommonDictList = () => useFetch(baseUrl9 + "commondict/get_list/");
215
215
  var useGetMortgage = () => useFetch(baseUrl9 + "get/");
216
- var useUpdateMortgage = () => useFetch(baseUrl9 + "update/");
217
- var useSendMortgage = () => useFetch(baseUrl9 + "send/");
216
+ var useGetMortgageList = () => useFetch(baseUrl9 + "get_list/");
217
+ var useDeleteMortgage = () => useFetch(baseUrl9 + "delete/");
218
+ var useUpdateMortgage = () => useFetch(baseUrl9 + "app/update/");
219
+ var useSendMortgage = () => useFetch(baseUrl9 + "app/send/");
218
220
  var useUpdateMortgageCustomer = () => useFetch(baseUrl9 + "app/customer/update/");
219
221
  var useDeleteMortgageCustomer = () => useFetch(baseUrl9 + "app/customer/delete/");
220
- var useGetMortgageList = () => useFetch(baseUrl9 + "get_list/");
222
+ var useGetMortgageBankApp = () => useFetch(baseUrl9 + "app/bankapp/");
223
+ var useGetMortgageFieldChoices = () => useFetch(baseUrl9 + "app/fields/choices/");
224
+ var useGetMortgageFieldRequired = () => useFetch(baseUrl9 + "app/fields/required/");
225
+ var useGetMortgageScansDoctypesList = () => useFetch(baseUrl9 + "scans/doctypes/get_list/");
226
+ var useSendMortgageScans = () => useFetch(baseUrl9 + "scans/send/");
227
+ var useCancelMortgage = () => useFetch(baseUrl9 + "cancel/");
228
+ var useCloneMortgage = () => useFetch(baseUrl9 + "app/clone/");
229
+ var useUploadMortgageScan = () => useFetch(baseUrl9 + "scans/files/upload");
230
+ var usGetMortgageScansList = () => useFetch(baseUrl9 + "scans/files/get_list");
231
+ var useDeleteMortgageScan = () => useFetch(baseUrl9 + "scans/files/delete");
232
+ var useGetMortgageProgramsList = () => useFetch(baseUrl9 + "mortgagedictprogramcode/get_list/");
233
+ var useGetMortgageProgramsGroup = () => useFetch(baseUrl9 + "mortgagedictprogramcode/get_group/");
221
234
  var useGetMortgageProgram = () => useFetch(baseUrl9 + "mortgagedictprogramcode/get/");
235
+ var useUpdateMortgageProgram = () => useFetch(baseUrl9 + "mortgagedictprogramcode/update/");
236
+ var useDeleteMortgageProgram = () => useFetch(baseUrl9 + "mortgagedictprogramcode/delete/");
222
237
  var useCalculateMortgage = () => useFetch(baseUrl9 + "calculate/");
223
238
  var useGetMortgageLimits = () => useFetch(baseUrl9 + "limits/");
239
+ var usePrintMortgageForm = () => useFetch(baseUrl9 + "print_form/");
224
240
 
225
241
  // src/repositories/rosbankdom/index.ts
226
242
  var baseUrl10 = "rosbankdom/";
@@ -273,6 +289,7 @@ var useCloneVtbbankm = () => useFetch(baseUrl13 + "app/clone/");
273
289
  export {
274
290
  getMode,
275
291
  setMode,
292
+ usGetMortgageScansList,
276
293
  useAccountCheckLogin,
277
294
  useAccountLogin,
278
295
  useAccountLogout,
@@ -288,11 +305,13 @@ export {
288
305
  useCalculateMortgage,
289
306
  useCancelAbsolutbank,
290
307
  useCancelGazprombankm,
308
+ useCancelMortgage,
291
309
  useCancelRosbankDom,
292
310
  useCancelVtbbankm,
293
311
  useCloneAbsolutbank,
294
312
  useCloneAlfabankBalance,
295
313
  useCloneGazprombankm,
314
+ useCloneMortgage,
296
315
  useCloneRosbankDom,
297
316
  useCloneSalespoint,
298
317
  useCloneUser,
@@ -309,7 +328,10 @@ export {
309
328
  useDeleteCustomerList,
310
329
  useDeleteGazprombankm,
311
330
  useDeleteGroupUser,
331
+ useDeleteMortgage,
312
332
  useDeleteMortgageCustomer,
333
+ useDeleteMortgageProgram,
334
+ useDeleteMortgageScan,
313
335
  useDeleteRosbankDom,
314
336
  useDeleteSalespoint,
315
337
  useDeleteStaffBrokerclient,
@@ -343,11 +365,17 @@ export {
343
365
  useGetGazprombankmDict,
344
366
  useGetGazprombankmList,
345
367
  useGetMortgage,
368
+ useGetMortgageBankApp,
346
369
  useGetMortgageCommonDictList,
347
370
  useGetMortgageDict,
371
+ useGetMortgageFieldChoices,
372
+ useGetMortgageFieldRequired,
348
373
  useGetMortgageLimits,
349
374
  useGetMortgageList,
350
375
  useGetMortgageProgram,
376
+ useGetMortgageProgramsGroup,
377
+ useGetMortgageProgramsList,
378
+ useGetMortgageScansDoctypesList,
351
379
  useGetRosbankDom,
352
380
  useGetRosbankDomDict,
353
381
  useGetRosbankDomList,
@@ -362,6 +390,7 @@ export {
362
390
  usePreapprovalAbsolutbankStatus,
363
391
  usePreapprovalAlfabankBalanceStatus,
364
392
  usePreapprovalRosbankDomStatus,
393
+ usePrintMortgageForm,
365
394
  useProcessingAkbars,
366
395
  useReadChatmessage,
367
396
  useRosbankDomOpportunity,
@@ -375,6 +404,7 @@ export {
375
404
  useSendGazprombankm,
376
405
  useSendGazprombankmScans,
377
406
  useSendMortgage,
407
+ useSendMortgageScans,
378
408
  useSendRosbankDom,
379
409
  useSendRosbankDomScans,
380
410
  useSendVtbbankm,
@@ -391,11 +421,13 @@ export {
391
421
  useUpdateManyUser,
392
422
  useUpdateMortgage,
393
423
  useUpdateMortgageCustomer,
424
+ useUpdateMortgageProgram,
394
425
  useUpdateRosbankDom,
395
426
  useUpdateSalespoint,
396
427
  useUpdateUser,
397
428
  useUpdateVtbbankm,
398
429
  useUploadAkbarsDepositScan,
430
+ useUploadMortgageScan,
399
431
  useVerifyManuallyAlfabankBalanceScans
400
432
  };
401
433
  //!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpleloan_api",
3
- "version": "1.1.35",
3
+ "version": "1.2.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",