simpleloan_api 1.1.18 → 1.1.20

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
@@ -361,6 +361,75 @@ type MortgageBankAppStatus = {
361
361
  status_last_date: number;
362
362
  };
363
363
 
364
+ type Rosbankdom = {
365
+ id: number;
366
+ created_at: string;
367
+ salespoint_id: number;
368
+ user_id: number;
369
+ mortgageapp_id: number;
370
+ bank_id: string;
371
+ opportunity_id: number | null;
372
+ apartment_type: string;
373
+ apartment_price: string;
374
+ credit_amount: string;
375
+ credit_term: number;
376
+ down_payment: string;
377
+ monthly_payment: number | null;
378
+ comment: string;
379
+ consentType: string;
380
+ preapprovalType: string | null;
381
+ regionOfPurchase: string;
382
+ cityOfPurchase: string;
383
+ monthlyPayment: number | null;
384
+ pledgeType: string | null;
385
+ pledgeReadiness: null;
386
+ pledgeObject: null;
387
+ refinanceProgramm: null;
388
+ campaign: null;
389
+ partnerConsentSign: null;
390
+ branch: string;
391
+ scans_send: true;
392
+ result_confirm: string | null;
393
+ result_confirm_start: string | null;
394
+ result_confirm_stop: string | null;
395
+ pre_offers: RosbankdomOffer[] | null;
396
+ offers: RosbankdomOffer[] | null;
397
+ preapproval_field: boolean;
398
+ stages: {
399
+ current: string;
400
+ fields: string[];
401
+ last_comment: string;
402
+ cancel_date: string;
403
+ result_app: string;
404
+ result_app_start: string | null;
405
+ result_app_stop: string | null;
406
+ result_opportunity: string;
407
+ result_opportunity_start: string | null;
408
+ result_opportunity_stop: string | null;
409
+ result_scans: string;
410
+ result_scans_start: string | null;
411
+ result_scans_stop: string | null;
412
+ confirm_date: string | null;
413
+ };
414
+ };
415
+ type RosbankdomOffer = {
416
+ decision: {
417
+ id: number;
418
+ status: number;
419
+ annuity: number;
420
+ endDate: string | null;
421
+ approvedSum: number;
422
+ description: string;
423
+ creditAmount: number;
424
+ interestRate: number;
425
+ integrationId: string;
426
+ creditTermYears: number;
427
+ creditProgramName: string;
428
+ };
429
+ additionalConditions: null;
430
+ additionalConditionsStep: null;
431
+ };
432
+
364
433
  type Salespoint = {
365
434
  id: number;
366
435
  checkdoc_can_enabled: boolean;
@@ -775,6 +844,278 @@ declare const useDeleteStaffBrokerclient: () => {
775
844
  }>): Promise<ApiResponse<Brokerclient> | null>;
776
845
  };
777
846
 
847
+ type CustomerMeta = {
848
+ id: string;
849
+ status: string | 'new';
850
+ user_id: number | null;
851
+ mortgage: boolean;
852
+ };
853
+ type DictValue = string | number;
854
+ type CustomerFields = {
855
+ first_name: string;
856
+ last_name: string;
857
+ middle_name: string;
858
+ changed_name: boolean;
859
+ previous_first_name: string | null;
860
+ previous_last_name: string | null;
861
+ previous_middle_name: string | null;
862
+ email: string;
863
+ phone: string;
864
+ sex: Sex;
865
+ citizenship: string | 'RU';
866
+ tax_number: string | null;
867
+ insurance_number: string | null;
868
+ passport_serial: string;
869
+ passport_number: string;
870
+ passport_date: string;
871
+ passport_division_code: string;
872
+ passport_issuing: string;
873
+ dateofbirth: string;
874
+ birth_place: string | null;
875
+ changed_document: boolean;
876
+ old_passport_serial: string | null;
877
+ old_passport_number: string | null;
878
+ old_passport_date: string | null;
879
+ old_passport_division_code: string | null;
880
+ marital_status: DictValue | null;
881
+ dependents: number | null;
882
+ dependents_birth_dates: string | null;
883
+ education: DictValue | null;
884
+ employment_type: DictValue | null;
885
+ employer_name: string | null;
886
+ employer_phone: string | null;
887
+ employment_position: string | null;
888
+ employment_position_type: DictValue | null;
889
+ total_experience: number | null;
890
+ work_tax_number: string | null;
891
+ work_address: Address | null;
892
+ employment_experience: number | null;
893
+ employment_income: number | null;
894
+ proof_employment_income: number | null;
895
+ work_employees_count: number | null;
896
+ work_business_share: number | null;
897
+ employer_foundation_date: string | null;
898
+ income_confirmation_document: DictValue | null;
899
+ employer_okved: string | null;
900
+ employer_activity: DictValue | null;
901
+ add_employment_type: DictValue | null;
902
+ add_employer_okved: string | null;
903
+ add_employer_name: string | null;
904
+ add_employer_phone: string | null;
905
+ add_employment_position: string | null;
906
+ add_employment_position_type: string | null;
907
+ add_work_tax_number: string | null;
908
+ add_work_address: Address | null;
909
+ add_employment_experience: number | null;
910
+ add_employment_income: number | null;
911
+ add_proof_employment_income: number | null;
912
+ add_work_employees_count: number | null;
913
+ add_work_business_share: number | null;
914
+ add_employer_foundation_date: string | null;
915
+ add_income_confirmation_document: string | null;
916
+ add_income_type: DictValue | null;
917
+ add_income: number | null;
918
+ add_employer_activity: DictValue | null;
919
+ loan_payments: number | null;
920
+ alimony: number | null;
921
+ loan_for_fee: boolean;
922
+ change_job: boolean;
923
+ maternity_leave: boolean;
924
+ public_official_person: boolean;
925
+ address_country: string | null;
926
+ address_postcode: string | null;
927
+ address_region: string | null;
928
+ address_city: string | null;
929
+ address_street: string | null;
930
+ address_house: string | null;
931
+ address_flat: string | null;
932
+ address: Address | null;
933
+ address_status: DictValue | null;
934
+ actual_address: Address | null;
935
+ is_lawyer: boolean;
936
+ add_is_lawyer: boolean;
937
+ is_notary: boolean;
938
+ add_is_notary: boolean;
939
+ nature_of_work: DictValue | null;
940
+ add_nature_of_work: DictValue | null;
941
+ is_guarantor: boolean;
942
+ coborrower_status: DictValue | null;
943
+ employer_activity_in_company: DictValue | null;
944
+ employer_legal_form: DictValue | null;
945
+ employer_other_legal_form: string | null;
946
+ relative_person: boolean | null;
947
+ add_employer_legal_form: DictValue | null;
948
+ add_employer_activity_in_company: DictValue | null;
949
+ add_employer_other_legal_form: string | null;
950
+ is_it_mortgage_participant: boolean | null;
951
+ is_subsidy_kids_participant: boolean | null;
952
+ disabled_dependent_birth_date: string | null;
953
+ usa_tax_consent: boolean | null;
954
+ usa_tax_payer: boolean | null;
955
+ foreign_tax_resident: boolean | null;
956
+ own_funds_amount: number | null;
957
+ address_type: boolean | null;
958
+ address_phone: string | null;
959
+ actual_address_phone: string | null;
960
+ marriage_contract: boolean | null;
961
+ notarial_consent: boolean | null;
962
+ dependents_citizenship: string | null;
963
+ is_spouse_coborrower: boolean;
964
+ agreement_to_bki_request: boolean;
965
+ bki_agreement_date: string;
966
+ owns_international_passport: boolean;
967
+ tax_resident_of_russia: boolean;
968
+ tax_resident_of_another_country: boolean;
969
+ akbars_is_bank_employee: boolean;
970
+ akbars_is_card_holder: boolean;
971
+ akbars_digital_consent: boolean;
972
+ akbars_is_certificate_of_repayment: boolean;
973
+ akbars_property_insurance: boolean;
974
+ akbars_collective_insurance_contract: boolean;
975
+ akbars_own_insurance: boolean;
976
+ akbars_any_abb_account: 'Yes' | 'No';
977
+ akbars_add_any_abb_account: 'Yes' | 'No';
978
+ akbars_applicable_tax_system: string;
979
+ akbars_add_applicable_tax_system: string;
980
+ akbars_kind_private_practice: string;
981
+ akbars_add_kind_private_practice: string;
982
+ work_address_actual: Address;
983
+ add_work_address_actual: Address;
984
+ };
985
+ type Customer = CustomerFields & CustomerMeta;
986
+
987
+ type CustomerUpdate = Partial<CustomerFields> & {
988
+ id: string;
989
+ };
990
+ /** Получить конечного потребителя по id */
991
+ declare const useGetCustomer: () => {
992
+ readonly response: vue.Ref<ApiResponse<Customer> | null>;
993
+ readonly pending: vue.Ref<boolean>;
994
+ post(params: PostParams<{
995
+ id: string;
996
+ }>): Promise<ApiResponse<Customer> | null>;
997
+ };
998
+ /** Обновление конечного потребителя */
999
+ declare const useUpdateCustomer: () => {
1000
+ readonly response: vue.Ref<ApiResponse<Customer> | null>;
1001
+ readonly pending: vue.Ref<boolean>;
1002
+ post(params: PostParams<CustomerUpdate>): Promise<ApiResponse<Customer> | null>;
1003
+ };
1004
+ /** Получение списка конечных потребителей */
1005
+ declare const useGetCustomerList: () => {
1006
+ readonly response: vue.Ref<ApiResponse<Customer[]> | null>;
1007
+ readonly pending: vue.Ref<boolean>;
1008
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<Customer[]> | null>;
1009
+ };
1010
+ /** Удаление конечного потребителя */
1011
+ declare const useDeleteCustomerList: () => {
1012
+ readonly response: vue.Ref<ApiResponse<Customer[]> | null>;
1013
+ readonly pending: vue.Ref<boolean>;
1014
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<Customer[]> | null>;
1015
+ };
1016
+
1017
+ type RosbankdomUpdate = Partial<Rosbankdom> & {
1018
+ id: number;
1019
+ };
1020
+ /** Получение справочника Росбанка банка */
1021
+ declare const useGetRosbankdomDict: (dict: string) => {
1022
+ readonly response: vue.Ref<ApiResponse<Dict> | null>;
1023
+ readonly pending: vue.Ref<boolean>;
1024
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<Dict> | null>;
1025
+ };
1026
+ /** Получение заявки Росбанка Банка */
1027
+ declare const useGetRosbankdom: () => {
1028
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1029
+ readonly pending: vue.Ref<boolean>;
1030
+ post(params: PostParams<{
1031
+ id: number;
1032
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1033
+ };
1034
+ /** Получение списка заявок Росбанка Банка */
1035
+ declare const useGetRosbankdomList: () => {
1036
+ readonly response: vue.Ref<ApiResponse<Rosbankdom[]> | null>;
1037
+ readonly pending: vue.Ref<boolean>;
1038
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<Rosbankdom[]> | null>;
1039
+ };
1040
+ /** Удаление заявки Росбанка Банка */
1041
+ declare const useDeleteRosbankdom: () => {
1042
+ readonly response: vue.Ref<ApiResponse<null> | null>;
1043
+ readonly pending: vue.Ref<boolean>;
1044
+ post(params: PostParams<{
1045
+ id: number;
1046
+ }>): Promise<ApiResponse<null> | null>;
1047
+ };
1048
+ /** Обновление заявки Росбанка Банка */
1049
+ declare const useUpdateRosbankdom: () => {
1050
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1051
+ readonly pending: vue.Ref<boolean>;
1052
+ post(params: PostParams<RosbankdomUpdate>): Promise<ApiResponse<Rosbankdom> | null>;
1053
+ };
1054
+ /** Отправка заявки Росбанка Банка */
1055
+ declare const useSendRosbankdom: () => {
1056
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1057
+ readonly pending: vue.Ref<boolean>;
1058
+ post(params: PostParams<{
1059
+ id: number;
1060
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1061
+ };
1062
+ /** Создание кредитного дела */
1063
+ declare const useRosbankdomOpportunity: () => {
1064
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1065
+ readonly pending: vue.Ref<boolean>;
1066
+ post(params: PostParams<{
1067
+ id: number;
1068
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1069
+ };
1070
+ /** Опрос статуса заявки Росбанка Банка после предодобрения */
1071
+ declare const usePreapprovalRosbankdomStatus: () => {
1072
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1073
+ readonly pending: vue.Ref<boolean>;
1074
+ post(params: PostParams<{
1075
+ id: number;
1076
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1077
+ };
1078
+ /** Отправка сканов заявки Росбанка Банка */
1079
+ declare const useSendRosbankdomScans: () => {
1080
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1081
+ readonly pending: vue.Ref<boolean>;
1082
+ post(params: PostParams<{
1083
+ id: number;
1084
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1085
+ };
1086
+ /** Получение сформированных печатных форм */
1087
+ declare const useGetRosbankdomPrintformsList: () => {
1088
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1089
+ readonly pending: vue.Ref<boolean>;
1090
+ post(params: PostParams<{
1091
+ id: number;
1092
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1093
+ };
1094
+ /** Отправка заявки Росбанка Банка на */
1095
+ declare const useConfirmRosbankdom: () => {
1096
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1097
+ readonly pending: vue.Ref<boolean>;
1098
+ post(params: PostParams<{
1099
+ id: number;
1100
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1101
+ };
1102
+ /** Отмена заявки Росбанка Банка */
1103
+ declare const useCancelRosbankdom: () => {
1104
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1105
+ readonly pending: vue.Ref<boolean>;
1106
+ post(params: PostParams<{
1107
+ id: number;
1108
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1109
+ };
1110
+ /** Копирование заявки Росбанка Банка */
1111
+ declare const useCloneRosbankdom: () => {
1112
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1113
+ readonly pending: vue.Ref<boolean>;
1114
+ post(params: PostParams<{
1115
+ id: number;
1116
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1117
+ };
1118
+
778
1119
  type SalespointUpdate = Partial<Salespoint> & {
779
1120
  id: number;
780
1121
  };
@@ -913,4 +1254,4 @@ type Mode = 'development' | 'production';
913
1254
  declare function setMode(newMode: Mode): void;
914
1255
  declare function getMode(): Mode;
915
1256
 
916
- export { type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type Alfabankbalance, type AlfabankbalanceOffer, type AlfabankbalanceOfferLoanParameters, type AlfabankbalanceScanState, type AlfabankbalanceStages, type Brokerclient, type Dict, type DictItem, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageStages, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type User, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCloneAlfabankbalance, useCloneSalespoint, useCloneUser, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankbalance, useDeleteAlfabankbalanceScans, useDeleteBrokerclient, useDeleteGroupUser, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankbalanceScansApplications, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankbalance, useGetAlfabankbalanceDict, useGetAlfabankbalanceList, useGetAlfabankbalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankbalanceStatus, useProcessingAkbars, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankbalance, useSendAlfabankbalanceScans, useStatusManuallyAlfabankbalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankbalance, useUpdateBrokerclient, useUpdateManySalespoint, useUpdateManyUser, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankbalanceScans };
1257
+ export { type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type Alfabankbalance, type AlfabankbalanceOffer, type AlfabankbalanceOfferLoanParameters, type AlfabankbalanceScanState, type AlfabankbalanceStages, type Brokerclient, type CustomerUpdate, type Dict, type DictItem, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageStages, type Rosbankdom, type RosbankdomOffer, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type User, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCancelRosbankdom, useCloneAlfabankbalance, useCloneRosbankdom, useCloneSalespoint, useCloneUser, useConfirmRosbankdom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankbalance, useDeleteAlfabankbalanceScans, useDeleteBrokerclient, useDeleteCustomerList, useDeleteGroupUser, useDeleteRosbankdom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankbalanceScansApplications, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankbalance, useGetAlfabankbalanceDict, useGetAlfabankbalanceList, useGetAlfabankbalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetCustomer, useGetCustomerList, useGetRosbankdom, useGetRosbankdomDict, useGetRosbankdomList, useGetRosbankdomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankbalanceStatus, usePreapprovalRosbankdomStatus, useProcessingAkbars, useRosbankdomOpportunity, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankbalance, useSendAlfabankbalanceScans, useSendRosbankdom, useSendRosbankdomScans, useStatusManuallyAlfabankbalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankbalance, useUpdateBrokerclient, useUpdateCustomer, useUpdateManySalespoint, useUpdateManyUser, useUpdateRosbankdom, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankbalanceScans };
package/dist/index.d.ts CHANGED
@@ -361,6 +361,75 @@ type MortgageBankAppStatus = {
361
361
  status_last_date: number;
362
362
  };
363
363
 
364
+ type Rosbankdom = {
365
+ id: number;
366
+ created_at: string;
367
+ salespoint_id: number;
368
+ user_id: number;
369
+ mortgageapp_id: number;
370
+ bank_id: string;
371
+ opportunity_id: number | null;
372
+ apartment_type: string;
373
+ apartment_price: string;
374
+ credit_amount: string;
375
+ credit_term: number;
376
+ down_payment: string;
377
+ monthly_payment: number | null;
378
+ comment: string;
379
+ consentType: string;
380
+ preapprovalType: string | null;
381
+ regionOfPurchase: string;
382
+ cityOfPurchase: string;
383
+ monthlyPayment: number | null;
384
+ pledgeType: string | null;
385
+ pledgeReadiness: null;
386
+ pledgeObject: null;
387
+ refinanceProgramm: null;
388
+ campaign: null;
389
+ partnerConsentSign: null;
390
+ branch: string;
391
+ scans_send: true;
392
+ result_confirm: string | null;
393
+ result_confirm_start: string | null;
394
+ result_confirm_stop: string | null;
395
+ pre_offers: RosbankdomOffer[] | null;
396
+ offers: RosbankdomOffer[] | null;
397
+ preapproval_field: boolean;
398
+ stages: {
399
+ current: string;
400
+ fields: string[];
401
+ last_comment: string;
402
+ cancel_date: string;
403
+ result_app: string;
404
+ result_app_start: string | null;
405
+ result_app_stop: string | null;
406
+ result_opportunity: string;
407
+ result_opportunity_start: string | null;
408
+ result_opportunity_stop: string | null;
409
+ result_scans: string;
410
+ result_scans_start: string | null;
411
+ result_scans_stop: string | null;
412
+ confirm_date: string | null;
413
+ };
414
+ };
415
+ type RosbankdomOffer = {
416
+ decision: {
417
+ id: number;
418
+ status: number;
419
+ annuity: number;
420
+ endDate: string | null;
421
+ approvedSum: number;
422
+ description: string;
423
+ creditAmount: number;
424
+ interestRate: number;
425
+ integrationId: string;
426
+ creditTermYears: number;
427
+ creditProgramName: string;
428
+ };
429
+ additionalConditions: null;
430
+ additionalConditionsStep: null;
431
+ };
432
+
364
433
  type Salespoint = {
365
434
  id: number;
366
435
  checkdoc_can_enabled: boolean;
@@ -775,6 +844,278 @@ declare const useDeleteStaffBrokerclient: () => {
775
844
  }>): Promise<ApiResponse<Brokerclient> | null>;
776
845
  };
777
846
 
847
+ type CustomerMeta = {
848
+ id: string;
849
+ status: string | 'new';
850
+ user_id: number | null;
851
+ mortgage: boolean;
852
+ };
853
+ type DictValue = string | number;
854
+ type CustomerFields = {
855
+ first_name: string;
856
+ last_name: string;
857
+ middle_name: string;
858
+ changed_name: boolean;
859
+ previous_first_name: string | null;
860
+ previous_last_name: string | null;
861
+ previous_middle_name: string | null;
862
+ email: string;
863
+ phone: string;
864
+ sex: Sex;
865
+ citizenship: string | 'RU';
866
+ tax_number: string | null;
867
+ insurance_number: string | null;
868
+ passport_serial: string;
869
+ passport_number: string;
870
+ passport_date: string;
871
+ passport_division_code: string;
872
+ passport_issuing: string;
873
+ dateofbirth: string;
874
+ birth_place: string | null;
875
+ changed_document: boolean;
876
+ old_passport_serial: string | null;
877
+ old_passport_number: string | null;
878
+ old_passport_date: string | null;
879
+ old_passport_division_code: string | null;
880
+ marital_status: DictValue | null;
881
+ dependents: number | null;
882
+ dependents_birth_dates: string | null;
883
+ education: DictValue | null;
884
+ employment_type: DictValue | null;
885
+ employer_name: string | null;
886
+ employer_phone: string | null;
887
+ employment_position: string | null;
888
+ employment_position_type: DictValue | null;
889
+ total_experience: number | null;
890
+ work_tax_number: string | null;
891
+ work_address: Address | null;
892
+ employment_experience: number | null;
893
+ employment_income: number | null;
894
+ proof_employment_income: number | null;
895
+ work_employees_count: number | null;
896
+ work_business_share: number | null;
897
+ employer_foundation_date: string | null;
898
+ income_confirmation_document: DictValue | null;
899
+ employer_okved: string | null;
900
+ employer_activity: DictValue | null;
901
+ add_employment_type: DictValue | null;
902
+ add_employer_okved: string | null;
903
+ add_employer_name: string | null;
904
+ add_employer_phone: string | null;
905
+ add_employment_position: string | null;
906
+ add_employment_position_type: string | null;
907
+ add_work_tax_number: string | null;
908
+ add_work_address: Address | null;
909
+ add_employment_experience: number | null;
910
+ add_employment_income: number | null;
911
+ add_proof_employment_income: number | null;
912
+ add_work_employees_count: number | null;
913
+ add_work_business_share: number | null;
914
+ add_employer_foundation_date: string | null;
915
+ add_income_confirmation_document: string | null;
916
+ add_income_type: DictValue | null;
917
+ add_income: number | null;
918
+ add_employer_activity: DictValue | null;
919
+ loan_payments: number | null;
920
+ alimony: number | null;
921
+ loan_for_fee: boolean;
922
+ change_job: boolean;
923
+ maternity_leave: boolean;
924
+ public_official_person: boolean;
925
+ address_country: string | null;
926
+ address_postcode: string | null;
927
+ address_region: string | null;
928
+ address_city: string | null;
929
+ address_street: string | null;
930
+ address_house: string | null;
931
+ address_flat: string | null;
932
+ address: Address | null;
933
+ address_status: DictValue | null;
934
+ actual_address: Address | null;
935
+ is_lawyer: boolean;
936
+ add_is_lawyer: boolean;
937
+ is_notary: boolean;
938
+ add_is_notary: boolean;
939
+ nature_of_work: DictValue | null;
940
+ add_nature_of_work: DictValue | null;
941
+ is_guarantor: boolean;
942
+ coborrower_status: DictValue | null;
943
+ employer_activity_in_company: DictValue | null;
944
+ employer_legal_form: DictValue | null;
945
+ employer_other_legal_form: string | null;
946
+ relative_person: boolean | null;
947
+ add_employer_legal_form: DictValue | null;
948
+ add_employer_activity_in_company: DictValue | null;
949
+ add_employer_other_legal_form: string | null;
950
+ is_it_mortgage_participant: boolean | null;
951
+ is_subsidy_kids_participant: boolean | null;
952
+ disabled_dependent_birth_date: string | null;
953
+ usa_tax_consent: boolean | null;
954
+ usa_tax_payer: boolean | null;
955
+ foreign_tax_resident: boolean | null;
956
+ own_funds_amount: number | null;
957
+ address_type: boolean | null;
958
+ address_phone: string | null;
959
+ actual_address_phone: string | null;
960
+ marriage_contract: boolean | null;
961
+ notarial_consent: boolean | null;
962
+ dependents_citizenship: string | null;
963
+ is_spouse_coborrower: boolean;
964
+ agreement_to_bki_request: boolean;
965
+ bki_agreement_date: string;
966
+ owns_international_passport: boolean;
967
+ tax_resident_of_russia: boolean;
968
+ tax_resident_of_another_country: boolean;
969
+ akbars_is_bank_employee: boolean;
970
+ akbars_is_card_holder: boolean;
971
+ akbars_digital_consent: boolean;
972
+ akbars_is_certificate_of_repayment: boolean;
973
+ akbars_property_insurance: boolean;
974
+ akbars_collective_insurance_contract: boolean;
975
+ akbars_own_insurance: boolean;
976
+ akbars_any_abb_account: 'Yes' | 'No';
977
+ akbars_add_any_abb_account: 'Yes' | 'No';
978
+ akbars_applicable_tax_system: string;
979
+ akbars_add_applicable_tax_system: string;
980
+ akbars_kind_private_practice: string;
981
+ akbars_add_kind_private_practice: string;
982
+ work_address_actual: Address;
983
+ add_work_address_actual: Address;
984
+ };
985
+ type Customer = CustomerFields & CustomerMeta;
986
+
987
+ type CustomerUpdate = Partial<CustomerFields> & {
988
+ id: string;
989
+ };
990
+ /** Получить конечного потребителя по id */
991
+ declare const useGetCustomer: () => {
992
+ readonly response: vue.Ref<ApiResponse<Customer> | null>;
993
+ readonly pending: vue.Ref<boolean>;
994
+ post(params: PostParams<{
995
+ id: string;
996
+ }>): Promise<ApiResponse<Customer> | null>;
997
+ };
998
+ /** Обновление конечного потребителя */
999
+ declare const useUpdateCustomer: () => {
1000
+ readonly response: vue.Ref<ApiResponse<Customer> | null>;
1001
+ readonly pending: vue.Ref<boolean>;
1002
+ post(params: PostParams<CustomerUpdate>): Promise<ApiResponse<Customer> | null>;
1003
+ };
1004
+ /** Получение списка конечных потребителей */
1005
+ declare const useGetCustomerList: () => {
1006
+ readonly response: vue.Ref<ApiResponse<Customer[]> | null>;
1007
+ readonly pending: vue.Ref<boolean>;
1008
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<Customer[]> | null>;
1009
+ };
1010
+ /** Удаление конечного потребителя */
1011
+ declare const useDeleteCustomerList: () => {
1012
+ readonly response: vue.Ref<ApiResponse<Customer[]> | null>;
1013
+ readonly pending: vue.Ref<boolean>;
1014
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<Customer[]> | null>;
1015
+ };
1016
+
1017
+ type RosbankdomUpdate = Partial<Rosbankdom> & {
1018
+ id: number;
1019
+ };
1020
+ /** Получение справочника Росбанка банка */
1021
+ declare const useGetRosbankdomDict: (dict: string) => {
1022
+ readonly response: vue.Ref<ApiResponse<Dict> | null>;
1023
+ readonly pending: vue.Ref<boolean>;
1024
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<Dict> | null>;
1025
+ };
1026
+ /** Получение заявки Росбанка Банка */
1027
+ declare const useGetRosbankdom: () => {
1028
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1029
+ readonly pending: vue.Ref<boolean>;
1030
+ post(params: PostParams<{
1031
+ id: number;
1032
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1033
+ };
1034
+ /** Получение списка заявок Росбанка Банка */
1035
+ declare const useGetRosbankdomList: () => {
1036
+ readonly response: vue.Ref<ApiResponse<Rosbankdom[]> | null>;
1037
+ readonly pending: vue.Ref<boolean>;
1038
+ post(params?: PostParamsWithoutBody): Promise<ApiResponse<Rosbankdom[]> | null>;
1039
+ };
1040
+ /** Удаление заявки Росбанка Банка */
1041
+ declare const useDeleteRosbankdom: () => {
1042
+ readonly response: vue.Ref<ApiResponse<null> | null>;
1043
+ readonly pending: vue.Ref<boolean>;
1044
+ post(params: PostParams<{
1045
+ id: number;
1046
+ }>): Promise<ApiResponse<null> | null>;
1047
+ };
1048
+ /** Обновление заявки Росбанка Банка */
1049
+ declare const useUpdateRosbankdom: () => {
1050
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1051
+ readonly pending: vue.Ref<boolean>;
1052
+ post(params: PostParams<RosbankdomUpdate>): Promise<ApiResponse<Rosbankdom> | null>;
1053
+ };
1054
+ /** Отправка заявки Росбанка Банка */
1055
+ declare const useSendRosbankdom: () => {
1056
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1057
+ readonly pending: vue.Ref<boolean>;
1058
+ post(params: PostParams<{
1059
+ id: number;
1060
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1061
+ };
1062
+ /** Создание кредитного дела */
1063
+ declare const useRosbankdomOpportunity: () => {
1064
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1065
+ readonly pending: vue.Ref<boolean>;
1066
+ post(params: PostParams<{
1067
+ id: number;
1068
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1069
+ };
1070
+ /** Опрос статуса заявки Росбанка Банка после предодобрения */
1071
+ declare const usePreapprovalRosbankdomStatus: () => {
1072
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1073
+ readonly pending: vue.Ref<boolean>;
1074
+ post(params: PostParams<{
1075
+ id: number;
1076
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1077
+ };
1078
+ /** Отправка сканов заявки Росбанка Банка */
1079
+ declare const useSendRosbankdomScans: () => {
1080
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1081
+ readonly pending: vue.Ref<boolean>;
1082
+ post(params: PostParams<{
1083
+ id: number;
1084
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1085
+ };
1086
+ /** Получение сформированных печатных форм */
1087
+ declare const useGetRosbankdomPrintformsList: () => {
1088
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1089
+ readonly pending: vue.Ref<boolean>;
1090
+ post(params: PostParams<{
1091
+ id: number;
1092
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1093
+ };
1094
+ /** Отправка заявки Росбанка Банка на */
1095
+ declare const useConfirmRosbankdom: () => {
1096
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1097
+ readonly pending: vue.Ref<boolean>;
1098
+ post(params: PostParams<{
1099
+ id: number;
1100
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1101
+ };
1102
+ /** Отмена заявки Росбанка Банка */
1103
+ declare const useCancelRosbankdom: () => {
1104
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1105
+ readonly pending: vue.Ref<boolean>;
1106
+ post(params: PostParams<{
1107
+ id: number;
1108
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1109
+ };
1110
+ /** Копирование заявки Росбанка Банка */
1111
+ declare const useCloneRosbankdom: () => {
1112
+ readonly response: vue.Ref<ApiResponse<Rosbankdom> | null>;
1113
+ readonly pending: vue.Ref<boolean>;
1114
+ post(params: PostParams<{
1115
+ id: number;
1116
+ }>): Promise<ApiResponse<Rosbankdom> | null>;
1117
+ };
1118
+
778
1119
  type SalespointUpdate = Partial<Salespoint> & {
779
1120
  id: number;
780
1121
  };
@@ -913,4 +1254,4 @@ type Mode = 'development' | 'production';
913
1254
  declare function setMode(newMode: Mode): void;
914
1255
  declare function getMode(): Mode;
915
1256
 
916
- export { type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type Alfabankbalance, type AlfabankbalanceOffer, type AlfabankbalanceOfferLoanParameters, type AlfabankbalanceScanState, type AlfabankbalanceStages, type Brokerclient, type Dict, type DictItem, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageStages, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type User, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCloneAlfabankbalance, useCloneSalespoint, useCloneUser, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankbalance, useDeleteAlfabankbalanceScans, useDeleteBrokerclient, useDeleteGroupUser, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankbalanceScansApplications, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankbalance, useGetAlfabankbalanceDict, useGetAlfabankbalanceList, useGetAlfabankbalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankbalanceStatus, useProcessingAkbars, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankbalance, useSendAlfabankbalanceScans, useStatusManuallyAlfabankbalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankbalance, useUpdateBrokerclient, useUpdateManySalespoint, useUpdateManyUser, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankbalanceScans };
1257
+ export { type Address, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type Alfabankbalance, type AlfabankbalanceOffer, type AlfabankbalanceOfferLoanParameters, type AlfabankbalanceScanState, type AlfabankbalanceStages, type Brokerclient, type CustomerUpdate, type Dict, type DictItem, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageStages, type Rosbankdom, type RosbankdomOffer, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type User, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCancelRosbankdom, useCloneAlfabankbalance, useCloneRosbankdom, useCloneSalespoint, useCloneUser, useConfirmRosbankdom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankbalance, useDeleteAlfabankbalanceScans, useDeleteBrokerclient, useDeleteCustomerList, useDeleteGroupUser, useDeleteRosbankdom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankbalanceScansApplications, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankbalance, useGetAlfabankbalanceDict, useGetAlfabankbalanceList, useGetAlfabankbalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetCustomer, useGetCustomerList, useGetRosbankdom, useGetRosbankdomDict, useGetRosbankdomList, useGetRosbankdomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankbalanceStatus, usePreapprovalRosbankdomStatus, useProcessingAkbars, useRosbankdomOpportunity, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankbalance, useSendAlfabankbalanceScans, useSendRosbankdom, useSendRosbankdomScans, useStatusManuallyAlfabankbalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankbalance, useUpdateBrokerclient, useUpdateCustomer, useUpdateManySalespoint, useUpdateManyUser, useUpdateRosbankdom, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankbalanceScans };
package/dist/index.js CHANGED
@@ -54,15 +54,20 @@ __export(simpleloan_api_exports, {
54
54
  useAddStaffBrokerclient: () => useAddStaffBrokerclient,
55
55
  useAddStaffSalespoint: () => useAddStaffSalespoint,
56
56
  useAskAkbarsPrintforms: () => useAskAkbarsPrintforms,
57
+ useCancelRosbankdom: () => useCancelRosbankdom,
57
58
  useCloneAlfabankbalance: () => useCloneAlfabankbalance,
59
+ useCloneRosbankdom: () => useCloneRosbankdom,
58
60
  useCloneSalespoint: () => useCloneSalespoint,
59
61
  useCloneUser: () => useCloneUser,
62
+ useConfirmRosbankdom: () => useConfirmRosbankdom,
60
63
  useDeleteAkbars: () => useDeleteAkbars,
61
64
  useDeleteAkbarsDepositScan: () => useDeleteAkbarsDepositScan,
62
65
  useDeleteAlfabankbalance: () => useDeleteAlfabankbalance,
63
66
  useDeleteAlfabankbalanceScans: () => useDeleteAlfabankbalanceScans,
64
67
  useDeleteBrokerclient: () => useDeleteBrokerclient,
68
+ useDeleteCustomerList: () => useDeleteCustomerList,
65
69
  useDeleteGroupUser: () => useDeleteGroupUser,
70
+ useDeleteRosbankdom: () => useDeleteRosbankdom,
66
71
  useDeleteSalespoint: () => useDeleteSalespoint,
67
72
  useDeleteStaffBrokerclient: () => useDeleteStaffBrokerclient,
68
73
  useDeleteStaffSalespoint: () => useDeleteStaffSalespoint,
@@ -81,25 +86,37 @@ __export(simpleloan_api_exports, {
81
86
  useGetAlfabankbalanceOffer: () => useGetAlfabankbalanceOffer,
82
87
  useGetBrokerclient: () => useGetBrokerclient,
83
88
  useGetBrokerclientList: () => useGetBrokerclientList,
89
+ useGetCustomer: () => useGetCustomer,
90
+ useGetCustomerList: () => useGetCustomerList,
91
+ useGetRosbankdom: () => useGetRosbankdom,
92
+ useGetRosbankdomDict: () => useGetRosbankdomDict,
93
+ useGetRosbankdomList: () => useGetRosbankdomList,
94
+ useGetRosbankdomPrintformsList: () => useGetRosbankdomPrintformsList,
84
95
  useGetSalespoint: () => useGetSalespoint,
85
96
  useGetSalespointList: () => useGetSalespointList,
86
97
  useGetUser: () => useGetUser,
87
98
  useGetUserList: () => useGetUserList,
88
99
  useLoanerApprovingAkbarsStatus: () => useLoanerApprovingAkbarsStatus,
89
100
  usePreapprovalAlfabankbalanceStatus: () => usePreapprovalAlfabankbalanceStatus,
101
+ usePreapprovalRosbankdomStatus: () => usePreapprovalRosbankdomStatus,
90
102
  useProcessingAkbars: () => useProcessingAkbars,
103
+ useRosbankdomOpportunity: () => useRosbankdomOpportunity,
91
104
  useSendAkbars: () => useSendAkbars,
92
105
  useSendAkbarsDeposit: () => useSendAkbarsDeposit,
93
106
  useSendAkbarsScans: () => useSendAkbarsScans,
94
107
  useSendAlfabankbalance: () => useSendAlfabankbalance,
95
108
  useSendAlfabankbalanceScans: () => useSendAlfabankbalanceScans,
109
+ useSendRosbankdom: () => useSendRosbankdom,
110
+ useSendRosbankdomScans: () => useSendRosbankdomScans,
96
111
  useStatusManuallyAlfabankbalanceScans: () => useStatusManuallyAlfabankbalanceScans,
97
112
  useUpdateAkbars: () => useUpdateAkbars,
98
113
  useUpdateAkbarsDeposit: () => useUpdateAkbarsDeposit,
99
114
  useUpdateAlfabankbalance: () => useUpdateAlfabankbalance,
100
115
  useUpdateBrokerclient: () => useUpdateBrokerclient,
116
+ useUpdateCustomer: () => useUpdateCustomer,
101
117
  useUpdateManySalespoint: () => useUpdateManySalespoint,
102
118
  useUpdateManyUser: () => useUpdateManyUser,
119
+ useUpdateRosbankdom: () => useUpdateRosbankdom,
103
120
  useUpdateSalespoint: () => useUpdateSalespoint,
104
121
  useUpdateUser: () => useUpdateUser,
105
122
  useUploadAkbarsDepositScan: () => useUploadAkbarsDepositScan,
@@ -239,27 +256,50 @@ var useDeleteBrokerclient = () => useFetch(baseUrl4 + "delete/");
239
256
  var useAddStaffBrokerclient = () => useFetch(baseUrl4 + "add_staff/");
240
257
  var useDeleteStaffBrokerclient = () => useFetch(baseUrl4 + "delete_staff/");
241
258
 
259
+ // src/repositories/customer/index.ts
260
+ var baseUrl5 = "customer/";
261
+ var useGetCustomer = () => useFetch(baseUrl5 + "get/");
262
+ var useUpdateCustomer = () => useFetch(baseUrl5 + "update/");
263
+ var useGetCustomerList = () => useFetch(baseUrl5 + "get_list/");
264
+ var useDeleteCustomerList = () => useFetch(baseUrl5 + "delete/");
265
+
266
+ // src/repositories/rosbankdom/index.ts
267
+ var baseUrl6 = "rosbankdom/";
268
+ var useGetRosbankdomDict = (dict) => useFetch(baseUrl6 + `dict/${dict}/get_list/`);
269
+ var useGetRosbankdom = () => useFetch(baseUrl6 + "get/");
270
+ var useGetRosbankdomList = () => useFetch(baseUrl6 + "get_list/");
271
+ var useDeleteRosbankdom = () => useFetch(baseUrl6 + "delete/");
272
+ var useUpdateRosbankdom = () => useFetch(baseUrl6 + "app/update/");
273
+ var useSendRosbankdom = () => useFetch(baseUrl6 + "app/send/");
274
+ var useRosbankdomOpportunity = () => useFetch(baseUrl6 + "opportunity/");
275
+ var usePreapprovalRosbankdomStatus = () => useFetch(baseUrl6 + "preapproval/status/");
276
+ var useSendRosbankdomScans = () => useFetch(baseUrl6 + "scans/send/");
277
+ var useGetRosbankdomPrintformsList = () => useFetch(baseUrl6 + "printforms/get_list/");
278
+ var useConfirmRosbankdom = () => useFetch(baseUrl6 + "confirm/");
279
+ var useCancelRosbankdom = () => useFetch(baseUrl6 + "cancel/");
280
+ var useCloneRosbankdom = () => useFetch(baseUrl6 + "app/clone/");
281
+
242
282
  // src/repositories/salespoint/index.ts
243
- var baseUrl5 = "salespoint/";
244
- var useGetSalespoint = () => useFetch(baseUrl5 + "get/");
245
- var useUpdateSalespoint = () => useFetch(baseUrl5 + "update/");
246
- var useCloneSalespoint = () => useFetch(baseUrl5 + "clone/");
247
- var useGetSalespointList = () => useFetch(baseUrl5 + "get_list/");
248
- var useDeleteSalespoint = () => useFetch(baseUrl5 + "delete/");
249
- var useAddStaffSalespoint = () => useFetch(baseUrl5 + "add_staff/");
250
- var useDeleteStaffSalespoint = () => useFetch(baseUrl5 + "delete_staff/");
251
- var useUpdateManySalespoint = () => useFetch(baseUrl5 + "update_many/");
283
+ var baseUrl7 = "salespoint/";
284
+ var useGetSalespoint = () => useFetch(baseUrl7 + "get/");
285
+ var useUpdateSalespoint = () => useFetch(baseUrl7 + "update/");
286
+ var useCloneSalespoint = () => useFetch(baseUrl7 + "clone/");
287
+ var useGetSalespointList = () => useFetch(baseUrl7 + "get_list/");
288
+ var useDeleteSalespoint = () => useFetch(baseUrl7 + "delete/");
289
+ var useAddStaffSalespoint = () => useFetch(baseUrl7 + "add_staff/");
290
+ var useDeleteStaffSalespoint = () => useFetch(baseUrl7 + "delete_staff/");
291
+ var useUpdateManySalespoint = () => useFetch(baseUrl7 + "update_many/");
252
292
 
253
293
  // src/repositories/user/index.ts
254
- var baseUrl6 = "user/";
255
- var useGetUser = () => useFetch(baseUrl6 + "get/");
256
- var useUpdateUser = () => useFetch(baseUrl6 + "update/");
257
- var useGetUserList = () => useFetch(baseUrl6 + "get_list/");
258
- var useDeleteUser = () => useFetch(baseUrl6 + "delete/");
259
- var useCloneUser = () => useFetch(baseUrl6 + "clone/");
260
- var useAddGroupUser = () => useFetch(baseUrl6 + "add_group/");
261
- var useDeleteGroupUser = () => useFetch(baseUrl6 + "delete_group/");
262
- var useUpdateManyUser = () => useFetch(baseUrl6 + "update_many/");
294
+ var baseUrl8 = "user/";
295
+ var useGetUser = () => useFetch(baseUrl8 + "get/");
296
+ var useUpdateUser = () => useFetch(baseUrl8 + "update/");
297
+ var useGetUserList = () => useFetch(baseUrl8 + "get_list/");
298
+ var useDeleteUser = () => useFetch(baseUrl8 + "delete/");
299
+ var useCloneUser = () => useFetch(baseUrl8 + "clone/");
300
+ var useAddGroupUser = () => useFetch(baseUrl8 + "add_group/");
301
+ var useDeleteGroupUser = () => useFetch(baseUrl8 + "delete_group/");
302
+ var useUpdateManyUser = () => useFetch(baseUrl8 + "update_many/");
263
303
  // Annotate the CommonJS export names for ESM import in node:
264
304
  0 && (module.exports = {
265
305
  getMode,
@@ -276,15 +316,20 @@ var useUpdateManyUser = () => useFetch(baseUrl6 + "update_many/");
276
316
  useAddStaffBrokerclient,
277
317
  useAddStaffSalespoint,
278
318
  useAskAkbarsPrintforms,
319
+ useCancelRosbankdom,
279
320
  useCloneAlfabankbalance,
321
+ useCloneRosbankdom,
280
322
  useCloneSalespoint,
281
323
  useCloneUser,
324
+ useConfirmRosbankdom,
282
325
  useDeleteAkbars,
283
326
  useDeleteAkbarsDepositScan,
284
327
  useDeleteAlfabankbalance,
285
328
  useDeleteAlfabankbalanceScans,
286
329
  useDeleteBrokerclient,
330
+ useDeleteCustomerList,
287
331
  useDeleteGroupUser,
332
+ useDeleteRosbankdom,
288
333
  useDeleteSalespoint,
289
334
  useDeleteStaffBrokerclient,
290
335
  useDeleteStaffSalespoint,
@@ -303,25 +348,37 @@ var useUpdateManyUser = () => useFetch(baseUrl6 + "update_many/");
303
348
  useGetAlfabankbalanceOffer,
304
349
  useGetBrokerclient,
305
350
  useGetBrokerclientList,
351
+ useGetCustomer,
352
+ useGetCustomerList,
353
+ useGetRosbankdom,
354
+ useGetRosbankdomDict,
355
+ useGetRosbankdomList,
356
+ useGetRosbankdomPrintformsList,
306
357
  useGetSalespoint,
307
358
  useGetSalespointList,
308
359
  useGetUser,
309
360
  useGetUserList,
310
361
  useLoanerApprovingAkbarsStatus,
311
362
  usePreapprovalAlfabankbalanceStatus,
363
+ usePreapprovalRosbankdomStatus,
312
364
  useProcessingAkbars,
365
+ useRosbankdomOpportunity,
313
366
  useSendAkbars,
314
367
  useSendAkbarsDeposit,
315
368
  useSendAkbarsScans,
316
369
  useSendAlfabankbalance,
317
370
  useSendAlfabankbalanceScans,
371
+ useSendRosbankdom,
372
+ useSendRosbankdomScans,
318
373
  useStatusManuallyAlfabankbalanceScans,
319
374
  useUpdateAkbars,
320
375
  useUpdateAkbarsDeposit,
321
376
  useUpdateAlfabankbalance,
322
377
  useUpdateBrokerclient,
378
+ useUpdateCustomer,
323
379
  useUpdateManySalespoint,
324
380
  useUpdateManyUser,
381
+ useUpdateRosbankdom,
325
382
  useUpdateSalespoint,
326
383
  useUpdateUser,
327
384
  useUploadAkbarsDepositScan,
package/dist/index.mjs CHANGED
@@ -151,27 +151,50 @@ var useDeleteBrokerclient = () => useFetch(baseUrl4 + "delete/");
151
151
  var useAddStaffBrokerclient = () => useFetch(baseUrl4 + "add_staff/");
152
152
  var useDeleteStaffBrokerclient = () => useFetch(baseUrl4 + "delete_staff/");
153
153
 
154
+ // src/repositories/customer/index.ts
155
+ var baseUrl5 = "customer/";
156
+ var useGetCustomer = () => useFetch(baseUrl5 + "get/");
157
+ var useUpdateCustomer = () => useFetch(baseUrl5 + "update/");
158
+ var useGetCustomerList = () => useFetch(baseUrl5 + "get_list/");
159
+ var useDeleteCustomerList = () => useFetch(baseUrl5 + "delete/");
160
+
161
+ // src/repositories/rosbankdom/index.ts
162
+ var baseUrl6 = "rosbankdom/";
163
+ var useGetRosbankdomDict = (dict) => useFetch(baseUrl6 + `dict/${dict}/get_list/`);
164
+ var useGetRosbankdom = () => useFetch(baseUrl6 + "get/");
165
+ var useGetRosbankdomList = () => useFetch(baseUrl6 + "get_list/");
166
+ var useDeleteRosbankdom = () => useFetch(baseUrl6 + "delete/");
167
+ var useUpdateRosbankdom = () => useFetch(baseUrl6 + "app/update/");
168
+ var useSendRosbankdom = () => useFetch(baseUrl6 + "app/send/");
169
+ var useRosbankdomOpportunity = () => useFetch(baseUrl6 + "opportunity/");
170
+ var usePreapprovalRosbankdomStatus = () => useFetch(baseUrl6 + "preapproval/status/");
171
+ var useSendRosbankdomScans = () => useFetch(baseUrl6 + "scans/send/");
172
+ var useGetRosbankdomPrintformsList = () => useFetch(baseUrl6 + "printforms/get_list/");
173
+ var useConfirmRosbankdom = () => useFetch(baseUrl6 + "confirm/");
174
+ var useCancelRosbankdom = () => useFetch(baseUrl6 + "cancel/");
175
+ var useCloneRosbankdom = () => useFetch(baseUrl6 + "app/clone/");
176
+
154
177
  // src/repositories/salespoint/index.ts
155
- var baseUrl5 = "salespoint/";
156
- var useGetSalespoint = () => useFetch(baseUrl5 + "get/");
157
- var useUpdateSalespoint = () => useFetch(baseUrl5 + "update/");
158
- var useCloneSalespoint = () => useFetch(baseUrl5 + "clone/");
159
- var useGetSalespointList = () => useFetch(baseUrl5 + "get_list/");
160
- var useDeleteSalespoint = () => useFetch(baseUrl5 + "delete/");
161
- var useAddStaffSalespoint = () => useFetch(baseUrl5 + "add_staff/");
162
- var useDeleteStaffSalespoint = () => useFetch(baseUrl5 + "delete_staff/");
163
- var useUpdateManySalespoint = () => useFetch(baseUrl5 + "update_many/");
178
+ var baseUrl7 = "salespoint/";
179
+ var useGetSalespoint = () => useFetch(baseUrl7 + "get/");
180
+ var useUpdateSalespoint = () => useFetch(baseUrl7 + "update/");
181
+ var useCloneSalespoint = () => useFetch(baseUrl7 + "clone/");
182
+ var useGetSalespointList = () => useFetch(baseUrl7 + "get_list/");
183
+ var useDeleteSalespoint = () => useFetch(baseUrl7 + "delete/");
184
+ var useAddStaffSalespoint = () => useFetch(baseUrl7 + "add_staff/");
185
+ var useDeleteStaffSalespoint = () => useFetch(baseUrl7 + "delete_staff/");
186
+ var useUpdateManySalespoint = () => useFetch(baseUrl7 + "update_many/");
164
187
 
165
188
  // src/repositories/user/index.ts
166
- var baseUrl6 = "user/";
167
- var useGetUser = () => useFetch(baseUrl6 + "get/");
168
- var useUpdateUser = () => useFetch(baseUrl6 + "update/");
169
- var useGetUserList = () => useFetch(baseUrl6 + "get_list/");
170
- var useDeleteUser = () => useFetch(baseUrl6 + "delete/");
171
- var useCloneUser = () => useFetch(baseUrl6 + "clone/");
172
- var useAddGroupUser = () => useFetch(baseUrl6 + "add_group/");
173
- var useDeleteGroupUser = () => useFetch(baseUrl6 + "delete_group/");
174
- var useUpdateManyUser = () => useFetch(baseUrl6 + "update_many/");
189
+ var baseUrl8 = "user/";
190
+ var useGetUser = () => useFetch(baseUrl8 + "get/");
191
+ var useUpdateUser = () => useFetch(baseUrl8 + "update/");
192
+ var useGetUserList = () => useFetch(baseUrl8 + "get_list/");
193
+ var useDeleteUser = () => useFetch(baseUrl8 + "delete/");
194
+ var useCloneUser = () => useFetch(baseUrl8 + "clone/");
195
+ var useAddGroupUser = () => useFetch(baseUrl8 + "add_group/");
196
+ var useDeleteGroupUser = () => useFetch(baseUrl8 + "delete_group/");
197
+ var useUpdateManyUser = () => useFetch(baseUrl8 + "update_many/");
175
198
  export {
176
199
  getMode,
177
200
  setMode,
@@ -187,15 +210,20 @@ export {
187
210
  useAddStaffBrokerclient,
188
211
  useAddStaffSalespoint,
189
212
  useAskAkbarsPrintforms,
213
+ useCancelRosbankdom,
190
214
  useCloneAlfabankbalance,
215
+ useCloneRosbankdom,
191
216
  useCloneSalespoint,
192
217
  useCloneUser,
218
+ useConfirmRosbankdom,
193
219
  useDeleteAkbars,
194
220
  useDeleteAkbarsDepositScan,
195
221
  useDeleteAlfabankbalance,
196
222
  useDeleteAlfabankbalanceScans,
197
223
  useDeleteBrokerclient,
224
+ useDeleteCustomerList,
198
225
  useDeleteGroupUser,
226
+ useDeleteRosbankdom,
199
227
  useDeleteSalespoint,
200
228
  useDeleteStaffBrokerclient,
201
229
  useDeleteStaffSalespoint,
@@ -214,25 +242,37 @@ export {
214
242
  useGetAlfabankbalanceOffer,
215
243
  useGetBrokerclient,
216
244
  useGetBrokerclientList,
245
+ useGetCustomer,
246
+ useGetCustomerList,
247
+ useGetRosbankdom,
248
+ useGetRosbankdomDict,
249
+ useGetRosbankdomList,
250
+ useGetRosbankdomPrintformsList,
217
251
  useGetSalespoint,
218
252
  useGetSalespointList,
219
253
  useGetUser,
220
254
  useGetUserList,
221
255
  useLoanerApprovingAkbarsStatus,
222
256
  usePreapprovalAlfabankbalanceStatus,
257
+ usePreapprovalRosbankdomStatus,
223
258
  useProcessingAkbars,
259
+ useRosbankdomOpportunity,
224
260
  useSendAkbars,
225
261
  useSendAkbarsDeposit,
226
262
  useSendAkbarsScans,
227
263
  useSendAlfabankbalance,
228
264
  useSendAlfabankbalanceScans,
265
+ useSendRosbankdom,
266
+ useSendRosbankdomScans,
229
267
  useStatusManuallyAlfabankbalanceScans,
230
268
  useUpdateAkbars,
231
269
  useUpdateAkbarsDeposit,
232
270
  useUpdateAlfabankbalance,
233
271
  useUpdateBrokerclient,
272
+ useUpdateCustomer,
234
273
  useUpdateManySalespoint,
235
274
  useUpdateManyUser,
275
+ useUpdateRosbankdom,
236
276
  useUpdateSalespoint,
237
277
  useUpdateUser,
238
278
  useUploadAkbarsDepositScan,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpleloan_api",
3
- "version": "1.1.18",
3
+ "version": "1.1.20",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",