simpleloan_api 1.1.34 → 1.2.1

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
@@ -474,8 +474,23 @@ type CustomerFields = {
474
474
  };
475
475
  type Customer = CustomerFields & CustomerMeta;
476
476
 
477
+ type GazprombankmStages = 'app' | 'app_wait' | 'app_abort' | 'scans' | 'scans_wait' | 'scans_abort' | 'end' | 'cancel' | 'unknown';
478
+ type GazprombankmMeta = {
479
+ id: number;
480
+ mortgageapp_id: number;
481
+ created_at: string;
482
+ salespoint_id: number;
483
+ user_id: number;
484
+ stages: {
485
+ current: GazprombankmStages;
486
+ };
487
+ };
488
+ type GazprombankmFields = {};
489
+ type Gazprombankm = GazprombankmMeta & GazprombankmFields;
490
+ type GazprombankmDictNames = 'MarketType' | 'RealEstateTypeCode' | 'LoanPurpose' | 'SubProgramCode' | 'InsuranceType';
491
+
477
492
  type MortgageStages = 'app_create' | 'app_wait' | 'app_ending' | 'app_issued' | 'app_cancel' | 'app_complete_decline' | 'app_complete_accept';
478
- type MortgageBankNames = 'alfabankbalance' | 'rosbankdom' | 'akbars' | 'vtbbankm' | 'absolutbank';
493
+ type MortgageBankNames = 'absolutbank' | 'akbars' | 'alfabankbalance' | 'gazprombankm' | 'rosbankdom' | 'vtbbankm';
479
494
  type MortgageBankAppStatus = {
480
495
  id: number;
481
496
  bank: MortgageBankNames;
@@ -571,6 +586,19 @@ type MortgageProgramsLimits = {
571
586
  loan_initial_min_percent: string;
572
587
  loan_initial_max_percent: string | null;
573
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
+ };
574
602
 
575
603
  type RosbankDomStages = 'app' | 'app_wait' | 'app_abort' | 'opportunity_wait' | 'opportunity_abort' | 'scans_wait' | 'scans_abort' | 'approval_wait' | 'cancel' | 'end' | 'unknown';
576
604
  type RosbankDomOffer = {
@@ -1304,6 +1332,75 @@ declare const useDeleteCustomerList: () => {
1304
1332
  post(params?: PostParamsWithoutBody): Promise<ApiResponse<Customer[]> | null>;
1305
1333
  };
1306
1334
 
1335
+ /** Получение справочника Газпром банка */
1336
+ declare const useGetGazprombankmDict: (dictName: GazprombankmDictNames) => {
1337
+ readonly response: vue.Ref<ApiResponse<Dict> | null>;
1338
+ readonly pending: vue.Ref<boolean>;
1339
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<Dict> | null>;
1340
+ };
1341
+ /** Получение заявки Газпром банка */
1342
+ declare const useGetGazprombankm: () => {
1343
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta> | null>;
1344
+ readonly pending: vue.Ref<boolean>;
1345
+ post(params: PostParams<{
1346
+ id: number;
1347
+ }>): Promise<ApiResponse<GazprombankmMeta> | null>;
1348
+ };
1349
+ /** Получение списка заявок Газпром банка */
1350
+ declare const useGetGazprombankmList: () => {
1351
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta[]> | null>;
1352
+ readonly pending: vue.Ref<boolean>;
1353
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<GazprombankmMeta[]> | null>;
1354
+ };
1355
+ /** Удаление заявки Газпром банка */
1356
+ declare const useDeleteGazprombankm: () => {
1357
+ readonly response: vue.Ref<ApiResponse<null> | null>;
1358
+ readonly pending: vue.Ref<boolean>;
1359
+ post(params: PostParams<{
1360
+ id: number;
1361
+ }>): Promise<ApiResponse<null> | null>;
1362
+ };
1363
+ /** Обновление/создание заявки Газпром банка */
1364
+ declare const useUpdateGazprombankm: () => {
1365
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta> | null>;
1366
+ readonly pending: vue.Ref<boolean>;
1367
+ post(params: PostParams<Partial<GazprombankmMeta>>): Promise<ApiResponse<GazprombankmMeta> | null>;
1368
+ };
1369
+ /** Отправка заявки Газпром банка */
1370
+ declare const useSendGazprombankm: () => {
1371
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta> | null>;
1372
+ readonly pending: vue.Ref<boolean>;
1373
+ post(params: PostParams<{
1374
+ id: number;
1375
+ }>): Promise<ApiResponse<GazprombankmMeta> | null>;
1376
+ };
1377
+ /** Отправка сканов заявки Газпром банка */
1378
+ declare const useSendGazprombankmScans: () => {
1379
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta> | null>;
1380
+ readonly pending: vue.Ref<boolean>;
1381
+ post(params: PostParams<{
1382
+ id: number;
1383
+ }>): Promise<ApiResponse<GazprombankmMeta> | null>;
1384
+ };
1385
+ /** Отмена заявки Газпром банка */
1386
+ declare const useCancelGazprombankm: () => {
1387
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta> | null>;
1388
+ readonly pending: vue.Ref<boolean>;
1389
+ post(params: PostParams<{
1390
+ id: number;
1391
+ comment: string;
1392
+ }>): Promise<ApiResponse<GazprombankmMeta> | null>;
1393
+ };
1394
+ /** Копирование заявки Газпром банка */
1395
+ declare const useCloneGazprombankm: () => {
1396
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta> | null>;
1397
+ readonly pending: vue.Ref<boolean>;
1398
+ post(params: PostParams<{
1399
+ id: number;
1400
+ salespoint_id?: number;
1401
+ }>): Promise<ApiResponse<GazprombankmMeta> | null>;
1402
+ };
1403
+
1307
1404
  type MortgageUpdate = Partial<MortgageFields> & {
1308
1405
  id: string;
1309
1406
  };
@@ -1343,6 +1440,20 @@ declare const useGetMortgage: () => {
1343
1440
  id: string;
1344
1441
  }>): Promise<ApiResponse<Mortgage> | null>;
1345
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
+ };
1346
1457
  /** Обновление ипотечной заявки */
1347
1458
  declare const useUpdateMortgage: () => {
1348
1459
  readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
@@ -1376,11 +1487,121 @@ declare const useDeleteMortgageCustomer: () => {
1376
1487
  customer_id: string;
1377
1488
  }>): Promise<ApiResponse<Mortgage> | null>;
1378
1489
  };
1379
- /** Получение списка ипотечных заявок */
1380
- declare const useGetMortgageList: () => {
1381
- 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>;
1382
1494
  readonly pending: vue.Ref<boolean>;
1383
- 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 useCopyMortgage: () => {
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>;
1384
1605
  };
1385
1606
  /** Получить банковский продукт */
1386
1607
  declare const useGetMortgageProgram: () => {
@@ -1391,6 +1612,20 @@ declare const useGetMortgageProgram: () => {
1391
1612
  deleted?: boolean;
1392
1613
  }>): Promise<ApiResponse<MortgageProgram> | null>;
1393
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
+ };
1394
1629
  /** Расчет стоимости ипотеки */
1395
1630
  declare const useCalculateMortgage: () => {
1396
1631
  readonly response: vue.Ref<ApiResponse<MortgageCalculateProgram[]> | null>;
@@ -1405,6 +1640,18 @@ declare const useGetMortgageLimits: () => {
1405
1640
  salespoint_id: number;
1406
1641
  }>): Promise<ApiResponse<MortgageProgramsLimits> | null>;
1407
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
+ };
1408
1655
 
1409
1656
  type RosbankDomUpdate = Partial<RosbankDom> & {
1410
1657
  id: number;
@@ -1709,4 +1956,4 @@ type Mode = 'development' | 'production';
1709
1956
  declare function setMode(newMode: Mode): void;
1710
1957
  declare function getMode(): Mode;
1711
1958
 
1712
- 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 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, useCancelRosbankDom, useCancelVtbbankm, useCloneAbsolutbank, useCloneAlfabankBalance, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmRosbankDom, useDeleteAbsolutbank, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, 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, 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, useSendMortgage, useSendRosbankDom, useSendRosbankDomScans, useSendVtbbankm, useStatusManuallyAlfabankBalanceScans, useUpdateAbsolutbank, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCustomer, 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, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmRosbankDom, useCopyMortgage, 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
@@ -474,8 +474,23 @@ type CustomerFields = {
474
474
  };
475
475
  type Customer = CustomerFields & CustomerMeta;
476
476
 
477
+ type GazprombankmStages = 'app' | 'app_wait' | 'app_abort' | 'scans' | 'scans_wait' | 'scans_abort' | 'end' | 'cancel' | 'unknown';
478
+ type GazprombankmMeta = {
479
+ id: number;
480
+ mortgageapp_id: number;
481
+ created_at: string;
482
+ salespoint_id: number;
483
+ user_id: number;
484
+ stages: {
485
+ current: GazprombankmStages;
486
+ };
487
+ };
488
+ type GazprombankmFields = {};
489
+ type Gazprombankm = GazprombankmMeta & GazprombankmFields;
490
+ type GazprombankmDictNames = 'MarketType' | 'RealEstateTypeCode' | 'LoanPurpose' | 'SubProgramCode' | 'InsuranceType';
491
+
477
492
  type MortgageStages = 'app_create' | 'app_wait' | 'app_ending' | 'app_issued' | 'app_cancel' | 'app_complete_decline' | 'app_complete_accept';
478
- type MortgageBankNames = 'alfabankbalance' | 'rosbankdom' | 'akbars' | 'vtbbankm' | 'absolutbank';
493
+ type MortgageBankNames = 'absolutbank' | 'akbars' | 'alfabankbalance' | 'gazprombankm' | 'rosbankdom' | 'vtbbankm';
479
494
  type MortgageBankAppStatus = {
480
495
  id: number;
481
496
  bank: MortgageBankNames;
@@ -571,6 +586,19 @@ type MortgageProgramsLimits = {
571
586
  loan_initial_min_percent: string;
572
587
  loan_initial_max_percent: string | null;
573
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
+ };
574
602
 
575
603
  type RosbankDomStages = 'app' | 'app_wait' | 'app_abort' | 'opportunity_wait' | 'opportunity_abort' | 'scans_wait' | 'scans_abort' | 'approval_wait' | 'cancel' | 'end' | 'unknown';
576
604
  type RosbankDomOffer = {
@@ -1304,6 +1332,75 @@ declare const useDeleteCustomerList: () => {
1304
1332
  post(params?: PostParamsWithoutBody): Promise<ApiResponse<Customer[]> | null>;
1305
1333
  };
1306
1334
 
1335
+ /** Получение справочника Газпром банка */
1336
+ declare const useGetGazprombankmDict: (dictName: GazprombankmDictNames) => {
1337
+ readonly response: vue.Ref<ApiResponse<Dict> | null>;
1338
+ readonly pending: vue.Ref<boolean>;
1339
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<Dict> | null>;
1340
+ };
1341
+ /** Получение заявки Газпром банка */
1342
+ declare const useGetGazprombankm: () => {
1343
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta> | null>;
1344
+ readonly pending: vue.Ref<boolean>;
1345
+ post(params: PostParams<{
1346
+ id: number;
1347
+ }>): Promise<ApiResponse<GazprombankmMeta> | null>;
1348
+ };
1349
+ /** Получение списка заявок Газпром банка */
1350
+ declare const useGetGazprombankmList: () => {
1351
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta[]> | null>;
1352
+ readonly pending: vue.Ref<boolean>;
1353
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<GazprombankmMeta[]> | null>;
1354
+ };
1355
+ /** Удаление заявки Газпром банка */
1356
+ declare const useDeleteGazprombankm: () => {
1357
+ readonly response: vue.Ref<ApiResponse<null> | null>;
1358
+ readonly pending: vue.Ref<boolean>;
1359
+ post(params: PostParams<{
1360
+ id: number;
1361
+ }>): Promise<ApiResponse<null> | null>;
1362
+ };
1363
+ /** Обновление/создание заявки Газпром банка */
1364
+ declare const useUpdateGazprombankm: () => {
1365
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta> | null>;
1366
+ readonly pending: vue.Ref<boolean>;
1367
+ post(params: PostParams<Partial<GazprombankmMeta>>): Promise<ApiResponse<GazprombankmMeta> | null>;
1368
+ };
1369
+ /** Отправка заявки Газпром банка */
1370
+ declare const useSendGazprombankm: () => {
1371
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta> | null>;
1372
+ readonly pending: vue.Ref<boolean>;
1373
+ post(params: PostParams<{
1374
+ id: number;
1375
+ }>): Promise<ApiResponse<GazprombankmMeta> | null>;
1376
+ };
1377
+ /** Отправка сканов заявки Газпром банка */
1378
+ declare const useSendGazprombankmScans: () => {
1379
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta> | null>;
1380
+ readonly pending: vue.Ref<boolean>;
1381
+ post(params: PostParams<{
1382
+ id: number;
1383
+ }>): Promise<ApiResponse<GazprombankmMeta> | null>;
1384
+ };
1385
+ /** Отмена заявки Газпром банка */
1386
+ declare const useCancelGazprombankm: () => {
1387
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta> | null>;
1388
+ readonly pending: vue.Ref<boolean>;
1389
+ post(params: PostParams<{
1390
+ id: number;
1391
+ comment: string;
1392
+ }>): Promise<ApiResponse<GazprombankmMeta> | null>;
1393
+ };
1394
+ /** Копирование заявки Газпром банка */
1395
+ declare const useCloneGazprombankm: () => {
1396
+ readonly response: vue.Ref<ApiResponse<GazprombankmMeta> | null>;
1397
+ readonly pending: vue.Ref<boolean>;
1398
+ post(params: PostParams<{
1399
+ id: number;
1400
+ salespoint_id?: number;
1401
+ }>): Promise<ApiResponse<GazprombankmMeta> | null>;
1402
+ };
1403
+
1307
1404
  type MortgageUpdate = Partial<MortgageFields> & {
1308
1405
  id: string;
1309
1406
  };
@@ -1343,6 +1440,20 @@ declare const useGetMortgage: () => {
1343
1440
  id: string;
1344
1441
  }>): Promise<ApiResponse<Mortgage> | null>;
1345
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
+ };
1346
1457
  /** Обновление ипотечной заявки */
1347
1458
  declare const useUpdateMortgage: () => {
1348
1459
  readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
@@ -1376,11 +1487,121 @@ declare const useDeleteMortgageCustomer: () => {
1376
1487
  customer_id: string;
1377
1488
  }>): Promise<ApiResponse<Mortgage> | null>;
1378
1489
  };
1379
- /** Получение списка ипотечных заявок */
1380
- declare const useGetMortgageList: () => {
1381
- 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>;
1382
1494
  readonly pending: vue.Ref<boolean>;
1383
- 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 useCopyMortgage: () => {
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>;
1384
1605
  };
1385
1606
  /** Получить банковский продукт */
1386
1607
  declare const useGetMortgageProgram: () => {
@@ -1391,6 +1612,20 @@ declare const useGetMortgageProgram: () => {
1391
1612
  deleted?: boolean;
1392
1613
  }>): Promise<ApiResponse<MortgageProgram> | null>;
1393
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
+ };
1394
1629
  /** Расчет стоимости ипотеки */
1395
1630
  declare const useCalculateMortgage: () => {
1396
1631
  readonly response: vue.Ref<ApiResponse<MortgageCalculateProgram[]> | null>;
@@ -1405,6 +1640,18 @@ declare const useGetMortgageLimits: () => {
1405
1640
  salespoint_id: number;
1406
1641
  }>): Promise<ApiResponse<MortgageProgramsLimits> | null>;
1407
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
+ };
1408
1655
 
1409
1656
  type RosbankDomUpdate = Partial<RosbankDom> & {
1410
1657
  id: number;
@@ -1709,4 +1956,4 @@ type Mode = 'development' | 'production';
1709
1956
  declare function setMode(newMode: Mode): void;
1710
1957
  declare function getMode(): Mode;
1711
1958
 
1712
- 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 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, useCancelRosbankDom, useCancelVtbbankm, useCloneAbsolutbank, useCloneAlfabankBalance, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmRosbankDom, useDeleteAbsolutbank, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, 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, 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, useSendMortgage, useSendRosbankDom, useSendRosbankDomScans, useSendVtbbankm, useStatusManuallyAlfabankBalanceScans, useUpdateAbsolutbank, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCustomer, 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, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmRosbankDom, useCopyMortgage, 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,
@@ -70,16 +71,20 @@ __export(simpleloan_api_exports, {
70
71
  useAskAkbarsPrintforms: () => useAskAkbarsPrintforms,
71
72
  useCalculateMortgage: () => useCalculateMortgage,
72
73
  useCancelAbsolutbank: () => useCancelAbsolutbank,
74
+ useCancelGazprombankm: () => useCancelGazprombankm,
75
+ useCancelMortgage: () => useCancelMortgage,
73
76
  useCancelRosbankDom: () => useCancelRosbankDom,
74
77
  useCancelVtbbankm: () => useCancelVtbbankm,
75
78
  useCloneAbsolutbank: () => useCloneAbsolutbank,
76
79
  useCloneAlfabankBalance: () => useCloneAlfabankBalance,
80
+ useCloneGazprombankm: () => useCloneGazprombankm,
77
81
  useCloneRosbankDom: () => useCloneRosbankDom,
78
82
  useCloneSalespoint: () => useCloneSalespoint,
79
83
  useCloneUser: () => useCloneUser,
80
84
  useCloneVtbbankm: () => useCloneVtbbankm,
81
85
  useConfirmAbsolutbank: () => useConfirmAbsolutbank,
82
86
  useConfirmRosbankDom: () => useConfirmRosbankDom,
87
+ useCopyMortgage: () => useCopyMortgage,
83
88
  useDeleteAbsolutbank: () => useDeleteAbsolutbank,
84
89
  useDeleteAkbars: () => useDeleteAkbars,
85
90
  useDeleteAkbarsDepositScan: () => useDeleteAkbarsDepositScan,
@@ -88,8 +93,12 @@ __export(simpleloan_api_exports, {
88
93
  useDeleteBrokerclient: () => useDeleteBrokerclient,
89
94
  useDeleteChatmessage: () => useDeleteChatmessage,
90
95
  useDeleteCustomerList: () => useDeleteCustomerList,
96
+ useDeleteGazprombankm: () => useDeleteGazprombankm,
91
97
  useDeleteGroupUser: () => useDeleteGroupUser,
98
+ useDeleteMortgage: () => useDeleteMortgage,
92
99
  useDeleteMortgageCustomer: () => useDeleteMortgageCustomer,
100
+ useDeleteMortgageProgram: () => useDeleteMortgageProgram,
101
+ useDeleteMortgageScan: () => useDeleteMortgageScan,
93
102
  useDeleteRosbankDom: () => useDeleteRosbankDom,
94
103
  useDeleteSalespoint: () => useDeleteSalespoint,
95
104
  useDeleteStaffBrokerclient: () => useDeleteStaffBrokerclient,
@@ -119,12 +128,21 @@ __export(simpleloan_api_exports, {
119
128
  useGetChatmessageThreads: () => useGetChatmessageThreads,
120
129
  useGetCustomer: () => useGetCustomer,
121
130
  useGetCustomerList: () => useGetCustomerList,
131
+ useGetGazprombankm: () => useGetGazprombankm,
132
+ useGetGazprombankmDict: () => useGetGazprombankmDict,
133
+ useGetGazprombankmList: () => useGetGazprombankmList,
122
134
  useGetMortgage: () => useGetMortgage,
135
+ useGetMortgageBankApp: () => useGetMortgageBankApp,
123
136
  useGetMortgageCommonDictList: () => useGetMortgageCommonDictList,
124
137
  useGetMortgageDict: () => useGetMortgageDict,
138
+ useGetMortgageFieldChoices: () => useGetMortgageFieldChoices,
139
+ useGetMortgageFieldRequired: () => useGetMortgageFieldRequired,
125
140
  useGetMortgageLimits: () => useGetMortgageLimits,
126
141
  useGetMortgageList: () => useGetMortgageList,
127
142
  useGetMortgageProgram: () => useGetMortgageProgram,
143
+ useGetMortgageProgramsGroup: () => useGetMortgageProgramsGroup,
144
+ useGetMortgageProgramsList: () => useGetMortgageProgramsList,
145
+ useGetMortgageScansDoctypesList: () => useGetMortgageScansDoctypesList,
128
146
  useGetRosbankDom: () => useGetRosbankDom,
129
147
  useGetRosbankDomDict: () => useGetRosbankDomDict,
130
148
  useGetRosbankDomList: () => useGetRosbankDomList,
@@ -139,6 +157,7 @@ __export(simpleloan_api_exports, {
139
157
  usePreapprovalAbsolutbankStatus: () => usePreapprovalAbsolutbankStatus,
140
158
  usePreapprovalAlfabankBalanceStatus: () => usePreapprovalAlfabankBalanceStatus,
141
159
  usePreapprovalRosbankDomStatus: () => usePreapprovalRosbankDomStatus,
160
+ usePrintMortgageForm: () => usePrintMortgageForm,
142
161
  useProcessingAkbars: () => useProcessingAkbars,
143
162
  useReadChatmessage: () => useReadChatmessage,
144
163
  useRosbankDomOpportunity: () => useRosbankDomOpportunity,
@@ -149,7 +168,10 @@ __export(simpleloan_api_exports, {
149
168
  useSendAkbarsScans: () => useSendAkbarsScans,
150
169
  useSendAlfabankBalance: () => useSendAlfabankBalance,
151
170
  useSendAlfabankBalanceScans: () => useSendAlfabankBalanceScans,
171
+ useSendGazprombankm: () => useSendGazprombankm,
172
+ useSendGazprombankmScans: () => useSendGazprombankmScans,
152
173
  useSendMortgage: () => useSendMortgage,
174
+ useSendMortgageScans: () => useSendMortgageScans,
153
175
  useSendRosbankDom: () => useSendRosbankDom,
154
176
  useSendRosbankDomScans: () => useSendRosbankDomScans,
155
177
  useSendVtbbankm: () => useSendVtbbankm,
@@ -161,15 +183,18 @@ __export(simpleloan_api_exports, {
161
183
  useUpdateBrokerclient: () => useUpdateBrokerclient,
162
184
  useUpdateChatmessage: () => useUpdateChatmessage,
163
185
  useUpdateCustomer: () => useUpdateCustomer,
186
+ useUpdateGazprombankm: () => useUpdateGazprombankm,
164
187
  useUpdateManySalespoint: () => useUpdateManySalespoint,
165
188
  useUpdateManyUser: () => useUpdateManyUser,
166
189
  useUpdateMortgage: () => useUpdateMortgage,
167
190
  useUpdateMortgageCustomer: () => useUpdateMortgageCustomer,
191
+ useUpdateMortgageProgram: () => useUpdateMortgageProgram,
168
192
  useUpdateRosbankDom: () => useUpdateRosbankDom,
169
193
  useUpdateSalespoint: () => useUpdateSalespoint,
170
194
  useUpdateUser: () => useUpdateUser,
171
195
  useUpdateVtbbankm: () => useUpdateVtbbankm,
172
196
  useUploadAkbarsDepositScan: () => useUploadAkbarsDepositScan,
197
+ useUploadMortgageScan: () => useUploadMortgageScan,
173
198
  useVerifyManuallyAlfabankBalanceScans: () => useVerifyManuallyAlfabankBalanceScans
174
199
  });
175
200
  module.exports = __toCommonJS(simpleloan_api_exports);
@@ -335,72 +360,101 @@ var useUpdateCustomer = () => useFetch(baseUrl7 + "update/");
335
360
  var useGetCustomerList = () => useFetch(baseUrl7 + "get_list/");
336
361
  var useDeleteCustomerList = () => useFetch(baseUrl7 + "delete/");
337
362
 
363
+ // src/repositories/gazprombankm/index.ts
364
+ var baseUrl8 = "gazprombankm/";
365
+ var useGetGazprombankmDict = (dictName) => useFetch(baseUrl8 + `dict/${dictName}/get_list`);
366
+ var useGetGazprombankm = () => useFetch(baseUrl8 + "get/");
367
+ var useGetGazprombankmList = () => useFetch(baseUrl8 + "get_list/");
368
+ var useDeleteGazprombankm = () => useFetch(baseUrl8 + "delete/");
369
+ var useUpdateGazprombankm = () => useFetch(baseUrl8 + "app/update/");
370
+ var useSendGazprombankm = () => useFetch(baseUrl8 + "app/send/");
371
+ var useSendGazprombankmScans = () => useFetch(baseUrl8 + "scans/send/");
372
+ var useCancelGazprombankm = () => useFetch(baseUrl8 + "cancel/");
373
+ var useCloneGazprombankm = () => useFetch(baseUrl8 + "app/clone/");
374
+
338
375
  // src/repositories/mortgage/index.ts
339
- var baseUrl8 = "mortgage/";
340
- var useGetMortgageDict = (dict) => useFetch(baseUrl8 + `dict/${dict}/get_list/`);
341
- var useGetMortgageCommonDictList = () => useFetch(baseUrl8 + "commondict/get_list/");
342
- var useGetMortgage = () => useFetch(baseUrl8 + "get/");
343
- var useUpdateMortgage = () => useFetch(baseUrl8 + "update/");
344
- var useSendMortgage = () => useFetch(baseUrl8 + "send/");
345
- var useUpdateMortgageCustomer = () => useFetch(baseUrl8 + "app/customer/update/");
346
- var useDeleteMortgageCustomer = () => useFetch(baseUrl8 + "app/customer/delete/");
347
- var useGetMortgageList = () => useFetch(baseUrl8 + "get_list/");
348
- var useGetMortgageProgram = () => useFetch(baseUrl8 + "mortgagedictprogramcode/get/");
349
- var useCalculateMortgage = () => useFetch(baseUrl8 + "calculate/");
350
- var useGetMortgageLimits = () => useFetch(baseUrl8 + "limits/");
376
+ var baseUrl9 = "mortgage/";
377
+ var useGetMortgageDict = (dict) => useFetch(baseUrl9 + `dict/${dict}/get_list/`);
378
+ var useGetMortgageCommonDictList = () => useFetch(baseUrl9 + "commondict/get_list/");
379
+ var useGetMortgage = () => useFetch(baseUrl9 + "get/");
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/");
384
+ var useUpdateMortgageCustomer = () => useFetch(baseUrl9 + "app/customer/update/");
385
+ var useDeleteMortgageCustomer = () => useFetch(baseUrl9 + "app/customer/delete/");
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 useCopyMortgage = () => 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/");
398
+ var useGetMortgageProgram = () => useFetch(baseUrl9 + "mortgagedictprogramcode/get/");
399
+ var useUpdateMortgageProgram = () => useFetch(baseUrl9 + "mortgagedictprogramcode/update/");
400
+ var useDeleteMortgageProgram = () => useFetch(baseUrl9 + "mortgagedictprogramcode/delete/");
401
+ var useCalculateMortgage = () => useFetch(baseUrl9 + "calculate/");
402
+ var useGetMortgageLimits = () => useFetch(baseUrl9 + "limits/");
403
+ var usePrintMortgageForm = () => useFetch(baseUrl9 + "print_form/");
351
404
 
352
405
  // src/repositories/rosbankdom/index.ts
353
- var baseUrl9 = "rosbankdom/";
354
- var useGetRosbankDomDict = (dict) => useFetch(baseUrl9 + `dict/${dict}/get_list/`);
355
- var useGetRosbankDom = () => useFetch(baseUrl9 + "get/");
356
- var useGetRosbankDomList = () => useFetch(baseUrl9 + "get_list/");
357
- var useDeleteRosbankDom = () => useFetch(baseUrl9 + "delete/");
358
- var useUpdateRosbankDom = () => useFetch(baseUrl9 + "app/update/");
359
- var useSendRosbankDom = () => useFetch(baseUrl9 + "app/send/");
360
- var useRosbankDomOpportunity = () => useFetch(baseUrl9 + "opportunity/");
361
- var usePreapprovalRosbankDomStatus = () => useFetch(baseUrl9 + "preapproval/status/");
362
- var useSendRosbankDomScans = () => useFetch(baseUrl9 + "scans/send/");
363
- var useGetRosbankDomPrintformsList = () => useFetch(baseUrl9 + "printforms/get_list/");
364
- var useConfirmRosbankDom = () => useFetch(baseUrl9 + "confirm/");
365
- var useCancelRosbankDom = () => useFetch(baseUrl9 + "cancel/");
366
- var useCloneRosbankDom = () => useFetch(baseUrl9 + "app/clone/");
406
+ var baseUrl10 = "rosbankdom/";
407
+ var useGetRosbankDomDict = (dict) => useFetch(baseUrl10 + `dict/${dict}/get_list/`);
408
+ var useGetRosbankDom = () => useFetch(baseUrl10 + "get/");
409
+ var useGetRosbankDomList = () => useFetch(baseUrl10 + "get_list/");
410
+ var useDeleteRosbankDom = () => useFetch(baseUrl10 + "delete/");
411
+ var useUpdateRosbankDom = () => useFetch(baseUrl10 + "app/update/");
412
+ var useSendRosbankDom = () => useFetch(baseUrl10 + "app/send/");
413
+ var useRosbankDomOpportunity = () => useFetch(baseUrl10 + "opportunity/");
414
+ var usePreapprovalRosbankDomStatus = () => useFetch(baseUrl10 + "preapproval/status/");
415
+ var useSendRosbankDomScans = () => useFetch(baseUrl10 + "scans/send/");
416
+ var useGetRosbankDomPrintformsList = () => useFetch(baseUrl10 + "printforms/get_list/");
417
+ var useConfirmRosbankDom = () => useFetch(baseUrl10 + "confirm/");
418
+ var useCancelRosbankDom = () => useFetch(baseUrl10 + "cancel/");
419
+ var useCloneRosbankDom = () => useFetch(baseUrl10 + "app/clone/");
367
420
 
368
421
  // src/repositories/salespoint/index.ts
369
- var baseUrl10 = "salespoint/";
370
- var useGetSalespoint = () => useFetch(baseUrl10 + "get/");
371
- var useUpdateSalespoint = () => useFetch(baseUrl10 + "update/");
372
- var useCloneSalespoint = () => useFetch(baseUrl10 + "clone/");
373
- var useGetSalespointList = () => useFetch(baseUrl10 + "get_list/");
374
- var useDeleteSalespoint = () => useFetch(baseUrl10 + "delete/");
375
- var useAddStaffSalespoint = () => useFetch(baseUrl10 + "add_staff/");
376
- var useDeleteStaffSalespoint = () => useFetch(baseUrl10 + "delete_staff/");
377
- var useUpdateManySalespoint = () => useFetch(baseUrl10 + "update_many/");
422
+ var baseUrl11 = "salespoint/";
423
+ var useGetSalespoint = () => useFetch(baseUrl11 + "get/");
424
+ var useUpdateSalespoint = () => useFetch(baseUrl11 + "update/");
425
+ var useCloneSalespoint = () => useFetch(baseUrl11 + "clone/");
426
+ var useGetSalespointList = () => useFetch(baseUrl11 + "get_list/");
427
+ var useDeleteSalespoint = () => useFetch(baseUrl11 + "delete/");
428
+ var useAddStaffSalespoint = () => useFetch(baseUrl11 + "add_staff/");
429
+ var useDeleteStaffSalespoint = () => useFetch(baseUrl11 + "delete_staff/");
430
+ var useUpdateManySalespoint = () => useFetch(baseUrl11 + "update_many/");
378
431
 
379
432
  // src/repositories/user/index.ts
380
- var baseUrl11 = "user/";
381
- var useGetUser = () => useFetch(baseUrl11 + "get/");
382
- var useUpdateUser = () => useFetch(baseUrl11 + "update/");
383
- var useGetUserList = () => useFetch(baseUrl11 + "get_list/");
384
- var useDeleteUser = () => useFetch(baseUrl11 + "delete/");
385
- var useCloneUser = () => useFetch(baseUrl11 + "clone/");
386
- var useAddGroupUser = () => useFetch(baseUrl11 + "add_group/");
387
- var useDeleteGroupUser = () => useFetch(baseUrl11 + "delete_group/");
388
- var useUpdateManyUser = () => useFetch(baseUrl11 + "update_many/");
433
+ var baseUrl12 = "user/";
434
+ var useGetUser = () => useFetch(baseUrl12 + "get/");
435
+ var useUpdateUser = () => useFetch(baseUrl12 + "update/");
436
+ var useGetUserList = () => useFetch(baseUrl12 + "get_list/");
437
+ var useDeleteUser = () => useFetch(baseUrl12 + "delete/");
438
+ var useCloneUser = () => useFetch(baseUrl12 + "clone/");
439
+ var useAddGroupUser = () => useFetch(baseUrl12 + "add_group/");
440
+ var useDeleteGroupUser = () => useFetch(baseUrl12 + "delete_group/");
441
+ var useUpdateManyUser = () => useFetch(baseUrl12 + "update_many/");
389
442
 
390
443
  // src/repositories/vtbbankm/index.ts
391
- var baseUrl12 = "vtbbankm/";
392
- var useGetVtbbankm = () => useFetch(baseUrl12 + "get/");
393
- var useGetVtbbankmList = () => useFetch(baseUrl12 + "get_list/");
394
- var useDeleteVtbbankm = () => useFetch(baseUrl12 + "delete/");
395
- var useUpdateVtbbankm = () => useFetch(baseUrl12 + "app/update/");
396
- var useSendVtbbankm = () => useFetch(baseUrl12 + "app/send/");
397
- var useGenerateVtbbankmScansApplications = () => useFetch(baseUrl12 + "scans/applications/generate/");
398
- var useCancelVtbbankm = () => useFetch(baseUrl12 + "cancel/");
399
- var useCloneVtbbankm = () => useFetch(baseUrl12 + "app/clone/");
444
+ var baseUrl13 = "vtbbankm/";
445
+ var useGetVtbbankm = () => useFetch(baseUrl13 + "get/");
446
+ var useGetVtbbankmList = () => useFetch(baseUrl13 + "get_list/");
447
+ var useDeleteVtbbankm = () => useFetch(baseUrl13 + "delete/");
448
+ var useUpdateVtbbankm = () => useFetch(baseUrl13 + "app/update/");
449
+ var useSendVtbbankm = () => useFetch(baseUrl13 + "app/send/");
450
+ var useGenerateVtbbankmScansApplications = () => useFetch(baseUrl13 + "scans/applications/generate/");
451
+ var useCancelVtbbankm = () => useFetch(baseUrl13 + "cancel/");
452
+ var useCloneVtbbankm = () => useFetch(baseUrl13 + "app/clone/");
400
453
  // Annotate the CommonJS export names for ESM import in node:
401
454
  0 && (module.exports = {
402
455
  getMode,
403
456
  setMode,
457
+ usGetMortgageScansList,
404
458
  useAccountCheckLogin,
405
459
  useAccountLogin,
406
460
  useAccountLogout,
@@ -415,16 +469,20 @@ var useCloneVtbbankm = () => useFetch(baseUrl12 + "app/clone/");
415
469
  useAskAkbarsPrintforms,
416
470
  useCalculateMortgage,
417
471
  useCancelAbsolutbank,
472
+ useCancelGazprombankm,
473
+ useCancelMortgage,
418
474
  useCancelRosbankDom,
419
475
  useCancelVtbbankm,
420
476
  useCloneAbsolutbank,
421
477
  useCloneAlfabankBalance,
478
+ useCloneGazprombankm,
422
479
  useCloneRosbankDom,
423
480
  useCloneSalespoint,
424
481
  useCloneUser,
425
482
  useCloneVtbbankm,
426
483
  useConfirmAbsolutbank,
427
484
  useConfirmRosbankDom,
485
+ useCopyMortgage,
428
486
  useDeleteAbsolutbank,
429
487
  useDeleteAkbars,
430
488
  useDeleteAkbarsDepositScan,
@@ -433,8 +491,12 @@ var useCloneVtbbankm = () => useFetch(baseUrl12 + "app/clone/");
433
491
  useDeleteBrokerclient,
434
492
  useDeleteChatmessage,
435
493
  useDeleteCustomerList,
494
+ useDeleteGazprombankm,
436
495
  useDeleteGroupUser,
496
+ useDeleteMortgage,
437
497
  useDeleteMortgageCustomer,
498
+ useDeleteMortgageProgram,
499
+ useDeleteMortgageScan,
438
500
  useDeleteRosbankDom,
439
501
  useDeleteSalespoint,
440
502
  useDeleteStaffBrokerclient,
@@ -464,12 +526,21 @@ var useCloneVtbbankm = () => useFetch(baseUrl12 + "app/clone/");
464
526
  useGetChatmessageThreads,
465
527
  useGetCustomer,
466
528
  useGetCustomerList,
529
+ useGetGazprombankm,
530
+ useGetGazprombankmDict,
531
+ useGetGazprombankmList,
467
532
  useGetMortgage,
533
+ useGetMortgageBankApp,
468
534
  useGetMortgageCommonDictList,
469
535
  useGetMortgageDict,
536
+ useGetMortgageFieldChoices,
537
+ useGetMortgageFieldRequired,
470
538
  useGetMortgageLimits,
471
539
  useGetMortgageList,
472
540
  useGetMortgageProgram,
541
+ useGetMortgageProgramsGroup,
542
+ useGetMortgageProgramsList,
543
+ useGetMortgageScansDoctypesList,
473
544
  useGetRosbankDom,
474
545
  useGetRosbankDomDict,
475
546
  useGetRosbankDomList,
@@ -484,6 +555,7 @@ var useCloneVtbbankm = () => useFetch(baseUrl12 + "app/clone/");
484
555
  usePreapprovalAbsolutbankStatus,
485
556
  usePreapprovalAlfabankBalanceStatus,
486
557
  usePreapprovalRosbankDomStatus,
558
+ usePrintMortgageForm,
487
559
  useProcessingAkbars,
488
560
  useReadChatmessage,
489
561
  useRosbankDomOpportunity,
@@ -494,7 +566,10 @@ var useCloneVtbbankm = () => useFetch(baseUrl12 + "app/clone/");
494
566
  useSendAkbarsScans,
495
567
  useSendAlfabankBalance,
496
568
  useSendAlfabankBalanceScans,
569
+ useSendGazprombankm,
570
+ useSendGazprombankmScans,
497
571
  useSendMortgage,
572
+ useSendMortgageScans,
498
573
  useSendRosbankDom,
499
574
  useSendRosbankDomScans,
500
575
  useSendVtbbankm,
@@ -506,15 +581,18 @@ var useCloneVtbbankm = () => useFetch(baseUrl12 + "app/clone/");
506
581
  useUpdateBrokerclient,
507
582
  useUpdateChatmessage,
508
583
  useUpdateCustomer,
584
+ useUpdateGazprombankm,
509
585
  useUpdateManySalespoint,
510
586
  useUpdateManyUser,
511
587
  useUpdateMortgage,
512
588
  useUpdateMortgageCustomer,
589
+ useUpdateMortgageProgram,
513
590
  useUpdateRosbankDom,
514
591
  useUpdateSalespoint,
515
592
  useUpdateUser,
516
593
  useUpdateVtbbankm,
517
594
  useUploadAkbarsDepositScan,
595
+ useUploadMortgageScan,
518
596
  useVerifyManuallyAlfabankBalanceScans
519
597
  });
520
598
  //!
package/dist/index.mjs CHANGED
@@ -196,71 +196,100 @@ var useUpdateCustomer = () => useFetch(baseUrl7 + "update/");
196
196
  var useGetCustomerList = () => useFetch(baseUrl7 + "get_list/");
197
197
  var useDeleteCustomerList = () => useFetch(baseUrl7 + "delete/");
198
198
 
199
+ // src/repositories/gazprombankm/index.ts
200
+ var baseUrl8 = "gazprombankm/";
201
+ var useGetGazprombankmDict = (dictName) => useFetch(baseUrl8 + `dict/${dictName}/get_list`);
202
+ var useGetGazprombankm = () => useFetch(baseUrl8 + "get/");
203
+ var useGetGazprombankmList = () => useFetch(baseUrl8 + "get_list/");
204
+ var useDeleteGazprombankm = () => useFetch(baseUrl8 + "delete/");
205
+ var useUpdateGazprombankm = () => useFetch(baseUrl8 + "app/update/");
206
+ var useSendGazprombankm = () => useFetch(baseUrl8 + "app/send/");
207
+ var useSendGazprombankmScans = () => useFetch(baseUrl8 + "scans/send/");
208
+ var useCancelGazprombankm = () => useFetch(baseUrl8 + "cancel/");
209
+ var useCloneGazprombankm = () => useFetch(baseUrl8 + "app/clone/");
210
+
199
211
  // src/repositories/mortgage/index.ts
200
- var baseUrl8 = "mortgage/";
201
- var useGetMortgageDict = (dict) => useFetch(baseUrl8 + `dict/${dict}/get_list/`);
202
- var useGetMortgageCommonDictList = () => useFetch(baseUrl8 + "commondict/get_list/");
203
- var useGetMortgage = () => useFetch(baseUrl8 + "get/");
204
- var useUpdateMortgage = () => useFetch(baseUrl8 + "update/");
205
- var useSendMortgage = () => useFetch(baseUrl8 + "send/");
206
- var useUpdateMortgageCustomer = () => useFetch(baseUrl8 + "app/customer/update/");
207
- var useDeleteMortgageCustomer = () => useFetch(baseUrl8 + "app/customer/delete/");
208
- var useGetMortgageList = () => useFetch(baseUrl8 + "get_list/");
209
- var useGetMortgageProgram = () => useFetch(baseUrl8 + "mortgagedictprogramcode/get/");
210
- var useCalculateMortgage = () => useFetch(baseUrl8 + "calculate/");
211
- var useGetMortgageLimits = () => useFetch(baseUrl8 + "limits/");
212
+ var baseUrl9 = "mortgage/";
213
+ var useGetMortgageDict = (dict) => useFetch(baseUrl9 + `dict/${dict}/get_list/`);
214
+ var useGetMortgageCommonDictList = () => useFetch(baseUrl9 + "commondict/get_list/");
215
+ var useGetMortgage = () => useFetch(baseUrl9 + "get/");
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/");
220
+ var useUpdateMortgageCustomer = () => useFetch(baseUrl9 + "app/customer/update/");
221
+ var useDeleteMortgageCustomer = () => useFetch(baseUrl9 + "app/customer/delete/");
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 useCopyMortgage = () => 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/");
234
+ var useGetMortgageProgram = () => useFetch(baseUrl9 + "mortgagedictprogramcode/get/");
235
+ var useUpdateMortgageProgram = () => useFetch(baseUrl9 + "mortgagedictprogramcode/update/");
236
+ var useDeleteMortgageProgram = () => useFetch(baseUrl9 + "mortgagedictprogramcode/delete/");
237
+ var useCalculateMortgage = () => useFetch(baseUrl9 + "calculate/");
238
+ var useGetMortgageLimits = () => useFetch(baseUrl9 + "limits/");
239
+ var usePrintMortgageForm = () => useFetch(baseUrl9 + "print_form/");
212
240
 
213
241
  // src/repositories/rosbankdom/index.ts
214
- var baseUrl9 = "rosbankdom/";
215
- var useGetRosbankDomDict = (dict) => useFetch(baseUrl9 + `dict/${dict}/get_list/`);
216
- var useGetRosbankDom = () => useFetch(baseUrl9 + "get/");
217
- var useGetRosbankDomList = () => useFetch(baseUrl9 + "get_list/");
218
- var useDeleteRosbankDom = () => useFetch(baseUrl9 + "delete/");
219
- var useUpdateRosbankDom = () => useFetch(baseUrl9 + "app/update/");
220
- var useSendRosbankDom = () => useFetch(baseUrl9 + "app/send/");
221
- var useRosbankDomOpportunity = () => useFetch(baseUrl9 + "opportunity/");
222
- var usePreapprovalRosbankDomStatus = () => useFetch(baseUrl9 + "preapproval/status/");
223
- var useSendRosbankDomScans = () => useFetch(baseUrl9 + "scans/send/");
224
- var useGetRosbankDomPrintformsList = () => useFetch(baseUrl9 + "printforms/get_list/");
225
- var useConfirmRosbankDom = () => useFetch(baseUrl9 + "confirm/");
226
- var useCancelRosbankDom = () => useFetch(baseUrl9 + "cancel/");
227
- var useCloneRosbankDom = () => useFetch(baseUrl9 + "app/clone/");
242
+ var baseUrl10 = "rosbankdom/";
243
+ var useGetRosbankDomDict = (dict) => useFetch(baseUrl10 + `dict/${dict}/get_list/`);
244
+ var useGetRosbankDom = () => useFetch(baseUrl10 + "get/");
245
+ var useGetRosbankDomList = () => useFetch(baseUrl10 + "get_list/");
246
+ var useDeleteRosbankDom = () => useFetch(baseUrl10 + "delete/");
247
+ var useUpdateRosbankDom = () => useFetch(baseUrl10 + "app/update/");
248
+ var useSendRosbankDom = () => useFetch(baseUrl10 + "app/send/");
249
+ var useRosbankDomOpportunity = () => useFetch(baseUrl10 + "opportunity/");
250
+ var usePreapprovalRosbankDomStatus = () => useFetch(baseUrl10 + "preapproval/status/");
251
+ var useSendRosbankDomScans = () => useFetch(baseUrl10 + "scans/send/");
252
+ var useGetRosbankDomPrintformsList = () => useFetch(baseUrl10 + "printforms/get_list/");
253
+ var useConfirmRosbankDom = () => useFetch(baseUrl10 + "confirm/");
254
+ var useCancelRosbankDom = () => useFetch(baseUrl10 + "cancel/");
255
+ var useCloneRosbankDom = () => useFetch(baseUrl10 + "app/clone/");
228
256
 
229
257
  // src/repositories/salespoint/index.ts
230
- var baseUrl10 = "salespoint/";
231
- var useGetSalespoint = () => useFetch(baseUrl10 + "get/");
232
- var useUpdateSalespoint = () => useFetch(baseUrl10 + "update/");
233
- var useCloneSalespoint = () => useFetch(baseUrl10 + "clone/");
234
- var useGetSalespointList = () => useFetch(baseUrl10 + "get_list/");
235
- var useDeleteSalespoint = () => useFetch(baseUrl10 + "delete/");
236
- var useAddStaffSalespoint = () => useFetch(baseUrl10 + "add_staff/");
237
- var useDeleteStaffSalespoint = () => useFetch(baseUrl10 + "delete_staff/");
238
- var useUpdateManySalespoint = () => useFetch(baseUrl10 + "update_many/");
258
+ var baseUrl11 = "salespoint/";
259
+ var useGetSalespoint = () => useFetch(baseUrl11 + "get/");
260
+ var useUpdateSalespoint = () => useFetch(baseUrl11 + "update/");
261
+ var useCloneSalespoint = () => useFetch(baseUrl11 + "clone/");
262
+ var useGetSalespointList = () => useFetch(baseUrl11 + "get_list/");
263
+ var useDeleteSalespoint = () => useFetch(baseUrl11 + "delete/");
264
+ var useAddStaffSalespoint = () => useFetch(baseUrl11 + "add_staff/");
265
+ var useDeleteStaffSalespoint = () => useFetch(baseUrl11 + "delete_staff/");
266
+ var useUpdateManySalespoint = () => useFetch(baseUrl11 + "update_many/");
239
267
 
240
268
  // src/repositories/user/index.ts
241
- var baseUrl11 = "user/";
242
- var useGetUser = () => useFetch(baseUrl11 + "get/");
243
- var useUpdateUser = () => useFetch(baseUrl11 + "update/");
244
- var useGetUserList = () => useFetch(baseUrl11 + "get_list/");
245
- var useDeleteUser = () => useFetch(baseUrl11 + "delete/");
246
- var useCloneUser = () => useFetch(baseUrl11 + "clone/");
247
- var useAddGroupUser = () => useFetch(baseUrl11 + "add_group/");
248
- var useDeleteGroupUser = () => useFetch(baseUrl11 + "delete_group/");
249
- var useUpdateManyUser = () => useFetch(baseUrl11 + "update_many/");
269
+ var baseUrl12 = "user/";
270
+ var useGetUser = () => useFetch(baseUrl12 + "get/");
271
+ var useUpdateUser = () => useFetch(baseUrl12 + "update/");
272
+ var useGetUserList = () => useFetch(baseUrl12 + "get_list/");
273
+ var useDeleteUser = () => useFetch(baseUrl12 + "delete/");
274
+ var useCloneUser = () => useFetch(baseUrl12 + "clone/");
275
+ var useAddGroupUser = () => useFetch(baseUrl12 + "add_group/");
276
+ var useDeleteGroupUser = () => useFetch(baseUrl12 + "delete_group/");
277
+ var useUpdateManyUser = () => useFetch(baseUrl12 + "update_many/");
250
278
 
251
279
  // src/repositories/vtbbankm/index.ts
252
- var baseUrl12 = "vtbbankm/";
253
- var useGetVtbbankm = () => useFetch(baseUrl12 + "get/");
254
- var useGetVtbbankmList = () => useFetch(baseUrl12 + "get_list/");
255
- var useDeleteVtbbankm = () => useFetch(baseUrl12 + "delete/");
256
- var useUpdateVtbbankm = () => useFetch(baseUrl12 + "app/update/");
257
- var useSendVtbbankm = () => useFetch(baseUrl12 + "app/send/");
258
- var useGenerateVtbbankmScansApplications = () => useFetch(baseUrl12 + "scans/applications/generate/");
259
- var useCancelVtbbankm = () => useFetch(baseUrl12 + "cancel/");
260
- var useCloneVtbbankm = () => useFetch(baseUrl12 + "app/clone/");
280
+ var baseUrl13 = "vtbbankm/";
281
+ var useGetVtbbankm = () => useFetch(baseUrl13 + "get/");
282
+ var useGetVtbbankmList = () => useFetch(baseUrl13 + "get_list/");
283
+ var useDeleteVtbbankm = () => useFetch(baseUrl13 + "delete/");
284
+ var useUpdateVtbbankm = () => useFetch(baseUrl13 + "app/update/");
285
+ var useSendVtbbankm = () => useFetch(baseUrl13 + "app/send/");
286
+ var useGenerateVtbbankmScansApplications = () => useFetch(baseUrl13 + "scans/applications/generate/");
287
+ var useCancelVtbbankm = () => useFetch(baseUrl13 + "cancel/");
288
+ var useCloneVtbbankm = () => useFetch(baseUrl13 + "app/clone/");
261
289
  export {
262
290
  getMode,
263
291
  setMode,
292
+ usGetMortgageScansList,
264
293
  useAccountCheckLogin,
265
294
  useAccountLogin,
266
295
  useAccountLogout,
@@ -275,16 +304,20 @@ export {
275
304
  useAskAkbarsPrintforms,
276
305
  useCalculateMortgage,
277
306
  useCancelAbsolutbank,
307
+ useCancelGazprombankm,
308
+ useCancelMortgage,
278
309
  useCancelRosbankDom,
279
310
  useCancelVtbbankm,
280
311
  useCloneAbsolutbank,
281
312
  useCloneAlfabankBalance,
313
+ useCloneGazprombankm,
282
314
  useCloneRosbankDom,
283
315
  useCloneSalespoint,
284
316
  useCloneUser,
285
317
  useCloneVtbbankm,
286
318
  useConfirmAbsolutbank,
287
319
  useConfirmRosbankDom,
320
+ useCopyMortgage,
288
321
  useDeleteAbsolutbank,
289
322
  useDeleteAkbars,
290
323
  useDeleteAkbarsDepositScan,
@@ -293,8 +326,12 @@ export {
293
326
  useDeleteBrokerclient,
294
327
  useDeleteChatmessage,
295
328
  useDeleteCustomerList,
329
+ useDeleteGazprombankm,
296
330
  useDeleteGroupUser,
331
+ useDeleteMortgage,
297
332
  useDeleteMortgageCustomer,
333
+ useDeleteMortgageProgram,
334
+ useDeleteMortgageScan,
298
335
  useDeleteRosbankDom,
299
336
  useDeleteSalespoint,
300
337
  useDeleteStaffBrokerclient,
@@ -324,12 +361,21 @@ export {
324
361
  useGetChatmessageThreads,
325
362
  useGetCustomer,
326
363
  useGetCustomerList,
364
+ useGetGazprombankm,
365
+ useGetGazprombankmDict,
366
+ useGetGazprombankmList,
327
367
  useGetMortgage,
368
+ useGetMortgageBankApp,
328
369
  useGetMortgageCommonDictList,
329
370
  useGetMortgageDict,
371
+ useGetMortgageFieldChoices,
372
+ useGetMortgageFieldRequired,
330
373
  useGetMortgageLimits,
331
374
  useGetMortgageList,
332
375
  useGetMortgageProgram,
376
+ useGetMortgageProgramsGroup,
377
+ useGetMortgageProgramsList,
378
+ useGetMortgageScansDoctypesList,
333
379
  useGetRosbankDom,
334
380
  useGetRosbankDomDict,
335
381
  useGetRosbankDomList,
@@ -344,6 +390,7 @@ export {
344
390
  usePreapprovalAbsolutbankStatus,
345
391
  usePreapprovalAlfabankBalanceStatus,
346
392
  usePreapprovalRosbankDomStatus,
393
+ usePrintMortgageForm,
347
394
  useProcessingAkbars,
348
395
  useReadChatmessage,
349
396
  useRosbankDomOpportunity,
@@ -354,7 +401,10 @@ export {
354
401
  useSendAkbarsScans,
355
402
  useSendAlfabankBalance,
356
403
  useSendAlfabankBalanceScans,
404
+ useSendGazprombankm,
405
+ useSendGazprombankmScans,
357
406
  useSendMortgage,
407
+ useSendMortgageScans,
358
408
  useSendRosbankDom,
359
409
  useSendRosbankDomScans,
360
410
  useSendVtbbankm,
@@ -366,15 +416,18 @@ export {
366
416
  useUpdateBrokerclient,
367
417
  useUpdateChatmessage,
368
418
  useUpdateCustomer,
419
+ useUpdateGazprombankm,
369
420
  useUpdateManySalespoint,
370
421
  useUpdateManyUser,
371
422
  useUpdateMortgage,
372
423
  useUpdateMortgageCustomer,
424
+ useUpdateMortgageProgram,
373
425
  useUpdateRosbankDom,
374
426
  useUpdateSalespoint,
375
427
  useUpdateUser,
376
428
  useUpdateVtbbankm,
377
429
  useUploadAkbarsDepositScan,
430
+ useUploadMortgageScan,
378
431
  useVerifyManuallyAlfabankBalanceScans
379
432
  };
380
433
  //!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpleloan_api",
3
- "version": "1.1.34",
3
+ "version": "1.2.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",