simpleloan_api 1.1.29 → 1.1.31
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 +112 -1
- package/dist/index.d.ts +112 -1
- package/dist/index.js +68 -32
- package/dist/index.mjs +57 -32
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -540,6 +540,7 @@ type MortgageFields = {
|
|
|
540
540
|
};
|
|
541
541
|
type Mortgage = MortgageMeta & MortgageFields;
|
|
542
542
|
type MortgageDictNames = 'ApartmentType' | 'MortgageType' | 'PledgeType' | 'PledgeReadiness' | 'PledgeObject' | 'Campaign' | 'IncomeConfirmationDocument' | 'RealEstateObject' | 'TypeOfProperty';
|
|
543
|
+
type MortgageCommonDictNames = 'PledgeObject' | 'PledgeReadiness' | 'IncomeConfirmationDoc' | 'EmploymentTypeDoc' | 'EmploymentPositionType';
|
|
543
544
|
type MortgageProgram = {
|
|
544
545
|
id: number;
|
|
545
546
|
deleted_at: string | null;
|
|
@@ -571,6 +572,14 @@ type MortgageCalculateProgram = {
|
|
|
571
572
|
down_payment: number;
|
|
572
573
|
alt: boolean;
|
|
573
574
|
};
|
|
575
|
+
type MortgageProgramsLimits = {
|
|
576
|
+
loan_sum_min: number;
|
|
577
|
+
loan_sum_max: number;
|
|
578
|
+
loan_term_min: number;
|
|
579
|
+
loan_term_max: number;
|
|
580
|
+
loan_initial_min_percent: string;
|
|
581
|
+
loan_initial_max_percent: string | null;
|
|
582
|
+
};
|
|
574
583
|
|
|
575
584
|
type RosbankDomStages = 'app' | 'app_wait' | 'app_abort' | 'opportunity_wait' | 'opportunity_abort' | 'scans_wait' | 'scans_abort' | 'approval_wait' | 'cancel' | 'end' | 'unknown';
|
|
576
585
|
type RosbankDomOffer = {
|
|
@@ -1187,6 +1196,108 @@ declare const useDeleteCustomerList: () => {
|
|
|
1187
1196
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Customer[]> | null>;
|
|
1188
1197
|
};
|
|
1189
1198
|
|
|
1199
|
+
type MortgageUpdate = Partial<MortgageFields> & {
|
|
1200
|
+
id: string;
|
|
1201
|
+
};
|
|
1202
|
+
type MortgageCalculateBody = {
|
|
1203
|
+
credit_amount: number;
|
|
1204
|
+
credit_term: number;
|
|
1205
|
+
salespoint_id: number;
|
|
1206
|
+
down_payment: number;
|
|
1207
|
+
real_estate_object: string;
|
|
1208
|
+
type_of_property: string;
|
|
1209
|
+
refinancing: boolean;
|
|
1210
|
+
apartment_region: string;
|
|
1211
|
+
mortgage_type: string;
|
|
1212
|
+
maternal_capital: number;
|
|
1213
|
+
combo_flag: boolean;
|
|
1214
|
+
};
|
|
1215
|
+
/** Получение справочника ипотеки */
|
|
1216
|
+
declare const useGetMortgageDict: (dict: MortgageDictNames) => {
|
|
1217
|
+
readonly response: vue.Ref<ApiResponse<Dict> | null>;
|
|
1218
|
+
readonly pending: vue.Ref<boolean>;
|
|
1219
|
+
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Dict> | null>;
|
|
1220
|
+
};
|
|
1221
|
+
/** Общие справочники для заполнения анкеты ипотечной заявки */
|
|
1222
|
+
declare const useGetMortgageCommonDictList: () => {
|
|
1223
|
+
readonly response: vue.Ref<ApiResponse<Dict> | null>;
|
|
1224
|
+
readonly pending: vue.Ref<boolean>;
|
|
1225
|
+
post(params: PostParams<{
|
|
1226
|
+
bankm: MortgageBankNames;
|
|
1227
|
+
dictname: MortgageCommonDictNames;
|
|
1228
|
+
}>): Promise<ApiResponse<Dict> | null>;
|
|
1229
|
+
};
|
|
1230
|
+
/** Получить ипотечную заявку по id */
|
|
1231
|
+
declare const useGetMortgage: () => {
|
|
1232
|
+
readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
|
|
1233
|
+
readonly pending: vue.Ref<boolean>;
|
|
1234
|
+
post(params: PostParams<{
|
|
1235
|
+
id: string;
|
|
1236
|
+
}>): Promise<ApiResponse<Mortgage> | null>;
|
|
1237
|
+
};
|
|
1238
|
+
/** Обновление ипотечной заявки */
|
|
1239
|
+
declare const useUpdateMortgage: () => {
|
|
1240
|
+
readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
|
|
1241
|
+
readonly pending: vue.Ref<boolean>;
|
|
1242
|
+
post(params: PostParams<MortgageUpdate>): Promise<ApiResponse<Mortgage> | null>;
|
|
1243
|
+
};
|
|
1244
|
+
/** Отправка ипотечной заявки */
|
|
1245
|
+
declare const useSendMortgage: () => {
|
|
1246
|
+
readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
|
|
1247
|
+
readonly pending: vue.Ref<boolean>;
|
|
1248
|
+
post(params: PostParams<{
|
|
1249
|
+
id: number;
|
|
1250
|
+
}>): Promise<ApiResponse<Mortgage> | null>;
|
|
1251
|
+
};
|
|
1252
|
+
/** Обновление кастомера в ипотечной заявки */
|
|
1253
|
+
declare const useUpdateMortgageCustomer: () => {
|
|
1254
|
+
readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
|
|
1255
|
+
readonly pending: vue.Ref<boolean>;
|
|
1256
|
+
post(params: PostParams<{
|
|
1257
|
+
id: number;
|
|
1258
|
+
customer_id: string;
|
|
1259
|
+
check_passport_id?: number;
|
|
1260
|
+
}>): Promise<ApiResponse<Mortgage> | null>;
|
|
1261
|
+
};
|
|
1262
|
+
/** Удаление кастомера из ипотечной заявки */
|
|
1263
|
+
declare const useDeleteMortgageCustomer: () => {
|
|
1264
|
+
readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
|
|
1265
|
+
readonly pending: vue.Ref<boolean>;
|
|
1266
|
+
post(params: PostParams<{
|
|
1267
|
+
id: number;
|
|
1268
|
+
customer_id: string;
|
|
1269
|
+
}>): Promise<ApiResponse<Mortgage> | null>;
|
|
1270
|
+
};
|
|
1271
|
+
/** Получение списка ипотечных заявок */
|
|
1272
|
+
declare const useGetMortgageList: () => {
|
|
1273
|
+
readonly response: vue.Ref<ApiResponse<Mortgage[]> | null>;
|
|
1274
|
+
readonly pending: vue.Ref<boolean>;
|
|
1275
|
+
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Mortgage[]> | null>;
|
|
1276
|
+
};
|
|
1277
|
+
/** Получить банковский продукт */
|
|
1278
|
+
declare const useGetMortgageProgram: () => {
|
|
1279
|
+
readonly response: vue.Ref<ApiResponse<MortgageProgram> | null>;
|
|
1280
|
+
readonly pending: vue.Ref<boolean>;
|
|
1281
|
+
post(params: PostParams<{
|
|
1282
|
+
id: number;
|
|
1283
|
+
deleted?: boolean;
|
|
1284
|
+
}>): Promise<ApiResponse<MortgageProgram> | null>;
|
|
1285
|
+
};
|
|
1286
|
+
/** Расчет стоимости ипотеки */
|
|
1287
|
+
declare const useCalculateMortgage: () => {
|
|
1288
|
+
readonly response: vue.Ref<ApiResponse<MortgageCalculateProgram[]> | null>;
|
|
1289
|
+
readonly pending: vue.Ref<boolean>;
|
|
1290
|
+
post(params: PostParams<MortgageCalculateBody>): Promise<ApiResponse<MortgageCalculateProgram[]> | null>;
|
|
1291
|
+
};
|
|
1292
|
+
/** Получить лимиты банковских продуктов */
|
|
1293
|
+
declare const useGetMortgageLimits: () => {
|
|
1294
|
+
readonly response: vue.Ref<ApiResponse<MortgageProgramsLimits> | null>;
|
|
1295
|
+
readonly pending: vue.Ref<boolean>;
|
|
1296
|
+
post(params: PostParams<{
|
|
1297
|
+
salespoint_id: number;
|
|
1298
|
+
}>): Promise<ApiResponse<MortgageProgramsLimits> | null>;
|
|
1299
|
+
};
|
|
1300
|
+
|
|
1190
1301
|
type RosbankDomUpdate = Partial<RosbankDom> & {
|
|
1191
1302
|
id: number;
|
|
1192
1303
|
};
|
|
@@ -1427,4 +1538,4 @@ type Mode = 'development' | 'production';
|
|
|
1427
1538
|
declare function setMode(newMode: Mode): void;
|
|
1428
1539
|
declare function getMode(): Mode;
|
|
1429
1540
|
|
|
1430
|
-
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 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 MortgageDictNames, type MortgageFields, type MortgageMeta, type MortgageProgram, type MortgageStages, 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, useCancelRosbankDom, useCloneAlfabankBalance, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useConfirmRosbankDom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGroupUser, useDeleteRosbankDom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCustomer, useGetCustomerList, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalRosbankDomStatus, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendRosbankDom, useSendRosbankDomScans, useStatusManuallyAlfabankBalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCustomer, useUpdateManySalespoint, useUpdateManyUser, useUpdateRosbankDom, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankBalanceScans };
|
|
1541
|
+
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 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, useCancelRosbankDom, useCloneAlfabankBalance, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useConfirmRosbankDom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGroupUser, useDeleteMortgageCustomer, useDeleteRosbankDom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, 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, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalRosbankDomStatus, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendMortgage, useSendRosbankDom, useSendRosbankDomScans, useStatusManuallyAlfabankBalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCustomer, useUpdateManySalespoint, useUpdateManyUser, useUpdateMortgage, useUpdateMortgageCustomer, useUpdateRosbankDom, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankBalanceScans };
|
package/dist/index.d.ts
CHANGED
|
@@ -540,6 +540,7 @@ type MortgageFields = {
|
|
|
540
540
|
};
|
|
541
541
|
type Mortgage = MortgageMeta & MortgageFields;
|
|
542
542
|
type MortgageDictNames = 'ApartmentType' | 'MortgageType' | 'PledgeType' | 'PledgeReadiness' | 'PledgeObject' | 'Campaign' | 'IncomeConfirmationDocument' | 'RealEstateObject' | 'TypeOfProperty';
|
|
543
|
+
type MortgageCommonDictNames = 'PledgeObject' | 'PledgeReadiness' | 'IncomeConfirmationDoc' | 'EmploymentTypeDoc' | 'EmploymentPositionType';
|
|
543
544
|
type MortgageProgram = {
|
|
544
545
|
id: number;
|
|
545
546
|
deleted_at: string | null;
|
|
@@ -571,6 +572,14 @@ type MortgageCalculateProgram = {
|
|
|
571
572
|
down_payment: number;
|
|
572
573
|
alt: boolean;
|
|
573
574
|
};
|
|
575
|
+
type MortgageProgramsLimits = {
|
|
576
|
+
loan_sum_min: number;
|
|
577
|
+
loan_sum_max: number;
|
|
578
|
+
loan_term_min: number;
|
|
579
|
+
loan_term_max: number;
|
|
580
|
+
loan_initial_min_percent: string;
|
|
581
|
+
loan_initial_max_percent: string | null;
|
|
582
|
+
};
|
|
574
583
|
|
|
575
584
|
type RosbankDomStages = 'app' | 'app_wait' | 'app_abort' | 'opportunity_wait' | 'opportunity_abort' | 'scans_wait' | 'scans_abort' | 'approval_wait' | 'cancel' | 'end' | 'unknown';
|
|
576
585
|
type RosbankDomOffer = {
|
|
@@ -1187,6 +1196,108 @@ declare const useDeleteCustomerList: () => {
|
|
|
1187
1196
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Customer[]> | null>;
|
|
1188
1197
|
};
|
|
1189
1198
|
|
|
1199
|
+
type MortgageUpdate = Partial<MortgageFields> & {
|
|
1200
|
+
id: string;
|
|
1201
|
+
};
|
|
1202
|
+
type MortgageCalculateBody = {
|
|
1203
|
+
credit_amount: number;
|
|
1204
|
+
credit_term: number;
|
|
1205
|
+
salespoint_id: number;
|
|
1206
|
+
down_payment: number;
|
|
1207
|
+
real_estate_object: string;
|
|
1208
|
+
type_of_property: string;
|
|
1209
|
+
refinancing: boolean;
|
|
1210
|
+
apartment_region: string;
|
|
1211
|
+
mortgage_type: string;
|
|
1212
|
+
maternal_capital: number;
|
|
1213
|
+
combo_flag: boolean;
|
|
1214
|
+
};
|
|
1215
|
+
/** Получение справочника ипотеки */
|
|
1216
|
+
declare const useGetMortgageDict: (dict: MortgageDictNames) => {
|
|
1217
|
+
readonly response: vue.Ref<ApiResponse<Dict> | null>;
|
|
1218
|
+
readonly pending: vue.Ref<boolean>;
|
|
1219
|
+
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Dict> | null>;
|
|
1220
|
+
};
|
|
1221
|
+
/** Общие справочники для заполнения анкеты ипотечной заявки */
|
|
1222
|
+
declare const useGetMortgageCommonDictList: () => {
|
|
1223
|
+
readonly response: vue.Ref<ApiResponse<Dict> | null>;
|
|
1224
|
+
readonly pending: vue.Ref<boolean>;
|
|
1225
|
+
post(params: PostParams<{
|
|
1226
|
+
bankm: MortgageBankNames;
|
|
1227
|
+
dictname: MortgageCommonDictNames;
|
|
1228
|
+
}>): Promise<ApiResponse<Dict> | null>;
|
|
1229
|
+
};
|
|
1230
|
+
/** Получить ипотечную заявку по id */
|
|
1231
|
+
declare const useGetMortgage: () => {
|
|
1232
|
+
readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
|
|
1233
|
+
readonly pending: vue.Ref<boolean>;
|
|
1234
|
+
post(params: PostParams<{
|
|
1235
|
+
id: string;
|
|
1236
|
+
}>): Promise<ApiResponse<Mortgage> | null>;
|
|
1237
|
+
};
|
|
1238
|
+
/** Обновление ипотечной заявки */
|
|
1239
|
+
declare const useUpdateMortgage: () => {
|
|
1240
|
+
readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
|
|
1241
|
+
readonly pending: vue.Ref<boolean>;
|
|
1242
|
+
post(params: PostParams<MortgageUpdate>): Promise<ApiResponse<Mortgage> | null>;
|
|
1243
|
+
};
|
|
1244
|
+
/** Отправка ипотечной заявки */
|
|
1245
|
+
declare const useSendMortgage: () => {
|
|
1246
|
+
readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
|
|
1247
|
+
readonly pending: vue.Ref<boolean>;
|
|
1248
|
+
post(params: PostParams<{
|
|
1249
|
+
id: number;
|
|
1250
|
+
}>): Promise<ApiResponse<Mortgage> | null>;
|
|
1251
|
+
};
|
|
1252
|
+
/** Обновление кастомера в ипотечной заявки */
|
|
1253
|
+
declare const useUpdateMortgageCustomer: () => {
|
|
1254
|
+
readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
|
|
1255
|
+
readonly pending: vue.Ref<boolean>;
|
|
1256
|
+
post(params: PostParams<{
|
|
1257
|
+
id: number;
|
|
1258
|
+
customer_id: string;
|
|
1259
|
+
check_passport_id?: number;
|
|
1260
|
+
}>): Promise<ApiResponse<Mortgage> | null>;
|
|
1261
|
+
};
|
|
1262
|
+
/** Удаление кастомера из ипотечной заявки */
|
|
1263
|
+
declare const useDeleteMortgageCustomer: () => {
|
|
1264
|
+
readonly response: vue.Ref<ApiResponse<Mortgage> | null>;
|
|
1265
|
+
readonly pending: vue.Ref<boolean>;
|
|
1266
|
+
post(params: PostParams<{
|
|
1267
|
+
id: number;
|
|
1268
|
+
customer_id: string;
|
|
1269
|
+
}>): Promise<ApiResponse<Mortgage> | null>;
|
|
1270
|
+
};
|
|
1271
|
+
/** Получение списка ипотечных заявок */
|
|
1272
|
+
declare const useGetMortgageList: () => {
|
|
1273
|
+
readonly response: vue.Ref<ApiResponse<Mortgage[]> | null>;
|
|
1274
|
+
readonly pending: vue.Ref<boolean>;
|
|
1275
|
+
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Mortgage[]> | null>;
|
|
1276
|
+
};
|
|
1277
|
+
/** Получить банковский продукт */
|
|
1278
|
+
declare const useGetMortgageProgram: () => {
|
|
1279
|
+
readonly response: vue.Ref<ApiResponse<MortgageProgram> | null>;
|
|
1280
|
+
readonly pending: vue.Ref<boolean>;
|
|
1281
|
+
post(params: PostParams<{
|
|
1282
|
+
id: number;
|
|
1283
|
+
deleted?: boolean;
|
|
1284
|
+
}>): Promise<ApiResponse<MortgageProgram> | null>;
|
|
1285
|
+
};
|
|
1286
|
+
/** Расчет стоимости ипотеки */
|
|
1287
|
+
declare const useCalculateMortgage: () => {
|
|
1288
|
+
readonly response: vue.Ref<ApiResponse<MortgageCalculateProgram[]> | null>;
|
|
1289
|
+
readonly pending: vue.Ref<boolean>;
|
|
1290
|
+
post(params: PostParams<MortgageCalculateBody>): Promise<ApiResponse<MortgageCalculateProgram[]> | null>;
|
|
1291
|
+
};
|
|
1292
|
+
/** Получить лимиты банковских продуктов */
|
|
1293
|
+
declare const useGetMortgageLimits: () => {
|
|
1294
|
+
readonly response: vue.Ref<ApiResponse<MortgageProgramsLimits> | null>;
|
|
1295
|
+
readonly pending: vue.Ref<boolean>;
|
|
1296
|
+
post(params: PostParams<{
|
|
1297
|
+
salespoint_id: number;
|
|
1298
|
+
}>): Promise<ApiResponse<MortgageProgramsLimits> | null>;
|
|
1299
|
+
};
|
|
1300
|
+
|
|
1190
1301
|
type RosbankDomUpdate = Partial<RosbankDom> & {
|
|
1191
1302
|
id: number;
|
|
1192
1303
|
};
|
|
@@ -1427,4 +1538,4 @@ type Mode = 'development' | 'production';
|
|
|
1427
1538
|
declare function setMode(newMode: Mode): void;
|
|
1428
1539
|
declare function getMode(): Mode;
|
|
1429
1540
|
|
|
1430
|
-
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 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 MortgageDictNames, type MortgageFields, type MortgageMeta, type MortgageProgram, type MortgageStages, 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, useCancelRosbankDom, useCloneAlfabankBalance, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useConfirmRosbankDom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGroupUser, useDeleteRosbankDom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCustomer, useGetCustomerList, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetUser, useGetUserList, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalRosbankDomStatus, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendRosbankDom, useSendRosbankDomScans, useStatusManuallyAlfabankBalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCustomer, useUpdateManySalespoint, useUpdateManyUser, useUpdateRosbankDom, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankBalanceScans };
|
|
1541
|
+
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 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, useCancelRosbankDom, useCloneAlfabankBalance, useCloneRosbankDom, useCloneSalespoint, useCloneUser, useConfirmRosbankDom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGroupUser, useDeleteMortgageCustomer, useDeleteRosbankDom, useDeleteSalespoint, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, 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, useLoanerApprovingAkbarsStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalRosbankDomStatus, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendMortgage, useSendRosbankDom, useSendRosbankDomScans, useStatusManuallyAlfabankBalanceScans, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCustomer, useUpdateManySalespoint, useUpdateManyUser, useUpdateMortgage, useUpdateMortgageCustomer, useUpdateRosbankDom, useUpdateSalespoint, useUpdateUser, useUploadAkbarsDepositScan, useVerifyManuallyAlfabankBalanceScans };
|
package/dist/index.js
CHANGED
|
@@ -68,6 +68,7 @@ __export(simpleloan_api_exports, {
|
|
|
68
68
|
useAddStaffBrokerclient: () => useAddStaffBrokerclient,
|
|
69
69
|
useAddStaffSalespoint: () => useAddStaffSalespoint,
|
|
70
70
|
useAskAkbarsPrintforms: () => useAskAkbarsPrintforms,
|
|
71
|
+
useCalculateMortgage: () => useCalculateMortgage,
|
|
71
72
|
useCancelRosbankDom: () => useCancelRosbankDom,
|
|
72
73
|
useCloneAlfabankBalance: () => useCloneAlfabankBalance,
|
|
73
74
|
useCloneRosbankDom: () => useCloneRosbankDom,
|
|
@@ -82,6 +83,7 @@ __export(simpleloan_api_exports, {
|
|
|
82
83
|
useDeleteChatmessage: () => useDeleteChatmessage,
|
|
83
84
|
useDeleteCustomerList: () => useDeleteCustomerList,
|
|
84
85
|
useDeleteGroupUser: () => useDeleteGroupUser,
|
|
86
|
+
useDeleteMortgageCustomer: () => useDeleteMortgageCustomer,
|
|
85
87
|
useDeleteRosbankDom: () => useDeleteRosbankDom,
|
|
86
88
|
useDeleteSalespoint: () => useDeleteSalespoint,
|
|
87
89
|
useDeleteStaffBrokerclient: () => useDeleteStaffBrokerclient,
|
|
@@ -105,6 +107,12 @@ __export(simpleloan_api_exports, {
|
|
|
105
107
|
useGetChatmessageThreads: () => useGetChatmessageThreads,
|
|
106
108
|
useGetCustomer: () => useGetCustomer,
|
|
107
109
|
useGetCustomerList: () => useGetCustomerList,
|
|
110
|
+
useGetMortgage: () => useGetMortgage,
|
|
111
|
+
useGetMortgageCommonDictList: () => useGetMortgageCommonDictList,
|
|
112
|
+
useGetMortgageDict: () => useGetMortgageDict,
|
|
113
|
+
useGetMortgageLimits: () => useGetMortgageLimits,
|
|
114
|
+
useGetMortgageList: () => useGetMortgageList,
|
|
115
|
+
useGetMortgageProgram: () => useGetMortgageProgram,
|
|
108
116
|
useGetRosbankDom: () => useGetRosbankDom,
|
|
109
117
|
useGetRosbankDomDict: () => useGetRosbankDomDict,
|
|
110
118
|
useGetRosbankDomList: () => useGetRosbankDomList,
|
|
@@ -124,6 +132,7 @@ __export(simpleloan_api_exports, {
|
|
|
124
132
|
useSendAkbarsScans: () => useSendAkbarsScans,
|
|
125
133
|
useSendAlfabankBalance: () => useSendAlfabankBalance,
|
|
126
134
|
useSendAlfabankBalanceScans: () => useSendAlfabankBalanceScans,
|
|
135
|
+
useSendMortgage: () => useSendMortgage,
|
|
127
136
|
useSendRosbankDom: () => useSendRosbankDom,
|
|
128
137
|
useSendRosbankDomScans: () => useSendRosbankDomScans,
|
|
129
138
|
useStatusManuallyAlfabankBalanceScans: () => useStatusManuallyAlfabankBalanceScans,
|
|
@@ -135,6 +144,8 @@ __export(simpleloan_api_exports, {
|
|
|
135
144
|
useUpdateCustomer: () => useUpdateCustomer,
|
|
136
145
|
useUpdateManySalespoint: () => useUpdateManySalespoint,
|
|
137
146
|
useUpdateManyUser: () => useUpdateManyUser,
|
|
147
|
+
useUpdateMortgage: () => useUpdateMortgage,
|
|
148
|
+
useUpdateMortgageCustomer: () => useUpdateMortgageCustomer,
|
|
138
149
|
useUpdateRosbankDom: () => useUpdateRosbankDom,
|
|
139
150
|
useUpdateSalespoint: () => useUpdateSalespoint,
|
|
140
151
|
useUpdateUser: () => useUpdateUser,
|
|
@@ -289,43 +300,57 @@ var useUpdateCustomer = () => useFetch(baseUrl6 + "update/");
|
|
|
289
300
|
var useGetCustomerList = () => useFetch(baseUrl6 + "get_list/");
|
|
290
301
|
var useDeleteCustomerList = () => useFetch(baseUrl6 + "delete/");
|
|
291
302
|
|
|
303
|
+
// src/repositories/mortgage/index.ts
|
|
304
|
+
var baseUrl7 = "mortgage/";
|
|
305
|
+
var useGetMortgageDict = (dict) => useFetch(baseUrl7 + `dict/${dict}/get_list/`);
|
|
306
|
+
var useGetMortgageCommonDictList = () => useFetch(baseUrl7 + "commondict/get_list/");
|
|
307
|
+
var useGetMortgage = () => useFetch(baseUrl7 + "get/");
|
|
308
|
+
var useUpdateMortgage = () => useFetch(baseUrl7 + "update/");
|
|
309
|
+
var useSendMortgage = () => useFetch(baseUrl7 + "send/");
|
|
310
|
+
var useUpdateMortgageCustomer = () => useFetch(baseUrl7 + "app/customer/update/");
|
|
311
|
+
var useDeleteMortgageCustomer = () => useFetch(baseUrl7 + "app/customer/delete/");
|
|
312
|
+
var useGetMortgageList = () => useFetch(baseUrl7 + "get_list/");
|
|
313
|
+
var useGetMortgageProgram = () => useFetch(baseUrl7 + "mortgagedictprogramcode/get/");
|
|
314
|
+
var useCalculateMortgage = () => useFetch(baseUrl7 + "calculate/");
|
|
315
|
+
var useGetMortgageLimits = () => useFetch(baseUrl7 + "limits/");
|
|
316
|
+
|
|
292
317
|
// src/repositories/rosbankdom/index.ts
|
|
293
|
-
var
|
|
294
|
-
var useGetRosbankDomDict = (dict) => useFetch(
|
|
295
|
-
var useGetRosbankDom = () => useFetch(
|
|
296
|
-
var useGetRosbankDomList = () => useFetch(
|
|
297
|
-
var useDeleteRosbankDom = () => useFetch(
|
|
298
|
-
var useUpdateRosbankDom = () => useFetch(
|
|
299
|
-
var useSendRosbankDom = () => useFetch(
|
|
300
|
-
var useRosbankDomOpportunity = () => useFetch(
|
|
301
|
-
var usePreapprovalRosbankDomStatus = () => useFetch(
|
|
302
|
-
var useSendRosbankDomScans = () => useFetch(
|
|
303
|
-
var useGetRosbankDomPrintformsList = () => useFetch(
|
|
304
|
-
var useConfirmRosbankDom = () => useFetch(
|
|
305
|
-
var useCancelRosbankDom = () => useFetch(
|
|
306
|
-
var useCloneRosbankDom = () => useFetch(
|
|
318
|
+
var baseUrl8 = "rosbankdom/";
|
|
319
|
+
var useGetRosbankDomDict = (dict) => useFetch(baseUrl8 + `dict/${dict}/get_list/`);
|
|
320
|
+
var useGetRosbankDom = () => useFetch(baseUrl8 + "get/");
|
|
321
|
+
var useGetRosbankDomList = () => useFetch(baseUrl8 + "get_list/");
|
|
322
|
+
var useDeleteRosbankDom = () => useFetch(baseUrl8 + "delete/");
|
|
323
|
+
var useUpdateRosbankDom = () => useFetch(baseUrl8 + "app/update/");
|
|
324
|
+
var useSendRosbankDom = () => useFetch(baseUrl8 + "app/send/");
|
|
325
|
+
var useRosbankDomOpportunity = () => useFetch(baseUrl8 + "opportunity/");
|
|
326
|
+
var usePreapprovalRosbankDomStatus = () => useFetch(baseUrl8 + "preapproval/status/");
|
|
327
|
+
var useSendRosbankDomScans = () => useFetch(baseUrl8 + "scans/send/");
|
|
328
|
+
var useGetRosbankDomPrintformsList = () => useFetch(baseUrl8 + "printforms/get_list/");
|
|
329
|
+
var useConfirmRosbankDom = () => useFetch(baseUrl8 + "confirm/");
|
|
330
|
+
var useCancelRosbankDom = () => useFetch(baseUrl8 + "cancel/");
|
|
331
|
+
var useCloneRosbankDom = () => useFetch(baseUrl8 + "app/clone/");
|
|
307
332
|
|
|
308
333
|
// src/repositories/salespoint/index.ts
|
|
309
|
-
var
|
|
310
|
-
var useGetSalespoint = () => useFetch(
|
|
311
|
-
var useUpdateSalespoint = () => useFetch(
|
|
312
|
-
var useCloneSalespoint = () => useFetch(
|
|
313
|
-
var useGetSalespointList = () => useFetch(
|
|
314
|
-
var useDeleteSalespoint = () => useFetch(
|
|
315
|
-
var useAddStaffSalespoint = () => useFetch(
|
|
316
|
-
var useDeleteStaffSalespoint = () => useFetch(
|
|
317
|
-
var useUpdateManySalespoint = () => useFetch(
|
|
334
|
+
var baseUrl9 = "salespoint/";
|
|
335
|
+
var useGetSalespoint = () => useFetch(baseUrl9 + "get/");
|
|
336
|
+
var useUpdateSalespoint = () => useFetch(baseUrl9 + "update/");
|
|
337
|
+
var useCloneSalespoint = () => useFetch(baseUrl9 + "clone/");
|
|
338
|
+
var useGetSalespointList = () => useFetch(baseUrl9 + "get_list/");
|
|
339
|
+
var useDeleteSalespoint = () => useFetch(baseUrl9 + "delete/");
|
|
340
|
+
var useAddStaffSalespoint = () => useFetch(baseUrl9 + "add_staff/");
|
|
341
|
+
var useDeleteStaffSalespoint = () => useFetch(baseUrl9 + "delete_staff/");
|
|
342
|
+
var useUpdateManySalespoint = () => useFetch(baseUrl9 + "update_many/");
|
|
318
343
|
|
|
319
344
|
// src/repositories/user/index.ts
|
|
320
|
-
var
|
|
321
|
-
var useGetUser = () => useFetch(
|
|
322
|
-
var useUpdateUser = () => useFetch(
|
|
323
|
-
var useGetUserList = () => useFetch(
|
|
324
|
-
var useDeleteUser = () => useFetch(
|
|
325
|
-
var useCloneUser = () => useFetch(
|
|
326
|
-
var useAddGroupUser = () => useFetch(
|
|
327
|
-
var useDeleteGroupUser = () => useFetch(
|
|
328
|
-
var useUpdateManyUser = () => useFetch(
|
|
345
|
+
var baseUrl10 = "user/";
|
|
346
|
+
var useGetUser = () => useFetch(baseUrl10 + "get/");
|
|
347
|
+
var useUpdateUser = () => useFetch(baseUrl10 + "update/");
|
|
348
|
+
var useGetUserList = () => useFetch(baseUrl10 + "get_list/");
|
|
349
|
+
var useDeleteUser = () => useFetch(baseUrl10 + "delete/");
|
|
350
|
+
var useCloneUser = () => useFetch(baseUrl10 + "clone/");
|
|
351
|
+
var useAddGroupUser = () => useFetch(baseUrl10 + "add_group/");
|
|
352
|
+
var useDeleteGroupUser = () => useFetch(baseUrl10 + "delete_group/");
|
|
353
|
+
var useUpdateManyUser = () => useFetch(baseUrl10 + "update_many/");
|
|
329
354
|
// Annotate the CommonJS export names for ESM import in node:
|
|
330
355
|
0 && (module.exports = {
|
|
331
356
|
getMode,
|
|
@@ -342,6 +367,7 @@ var useUpdateManyUser = () => useFetch(baseUrl9 + "update_many/");
|
|
|
342
367
|
useAddStaffBrokerclient,
|
|
343
368
|
useAddStaffSalespoint,
|
|
344
369
|
useAskAkbarsPrintforms,
|
|
370
|
+
useCalculateMortgage,
|
|
345
371
|
useCancelRosbankDom,
|
|
346
372
|
useCloneAlfabankBalance,
|
|
347
373
|
useCloneRosbankDom,
|
|
@@ -356,6 +382,7 @@ var useUpdateManyUser = () => useFetch(baseUrl9 + "update_many/");
|
|
|
356
382
|
useDeleteChatmessage,
|
|
357
383
|
useDeleteCustomerList,
|
|
358
384
|
useDeleteGroupUser,
|
|
385
|
+
useDeleteMortgageCustomer,
|
|
359
386
|
useDeleteRosbankDom,
|
|
360
387
|
useDeleteSalespoint,
|
|
361
388
|
useDeleteStaffBrokerclient,
|
|
@@ -379,6 +406,12 @@ var useUpdateManyUser = () => useFetch(baseUrl9 + "update_many/");
|
|
|
379
406
|
useGetChatmessageThreads,
|
|
380
407
|
useGetCustomer,
|
|
381
408
|
useGetCustomerList,
|
|
409
|
+
useGetMortgage,
|
|
410
|
+
useGetMortgageCommonDictList,
|
|
411
|
+
useGetMortgageDict,
|
|
412
|
+
useGetMortgageLimits,
|
|
413
|
+
useGetMortgageList,
|
|
414
|
+
useGetMortgageProgram,
|
|
382
415
|
useGetRosbankDom,
|
|
383
416
|
useGetRosbankDomDict,
|
|
384
417
|
useGetRosbankDomList,
|
|
@@ -398,6 +431,7 @@ var useUpdateManyUser = () => useFetch(baseUrl9 + "update_many/");
|
|
|
398
431
|
useSendAkbarsScans,
|
|
399
432
|
useSendAlfabankBalance,
|
|
400
433
|
useSendAlfabankBalanceScans,
|
|
434
|
+
useSendMortgage,
|
|
401
435
|
useSendRosbankDom,
|
|
402
436
|
useSendRosbankDomScans,
|
|
403
437
|
useStatusManuallyAlfabankBalanceScans,
|
|
@@ -409,6 +443,8 @@ var useUpdateManyUser = () => useFetch(baseUrl9 + "update_many/");
|
|
|
409
443
|
useUpdateCustomer,
|
|
410
444
|
useUpdateManySalespoint,
|
|
411
445
|
useUpdateManyUser,
|
|
446
|
+
useUpdateMortgage,
|
|
447
|
+
useUpdateMortgageCustomer,
|
|
412
448
|
useUpdateRosbankDom,
|
|
413
449
|
useUpdateSalespoint,
|
|
414
450
|
useUpdateUser,
|
package/dist/index.mjs
CHANGED
|
@@ -181,43 +181,57 @@ var useUpdateCustomer = () => useFetch(baseUrl6 + "update/");
|
|
|
181
181
|
var useGetCustomerList = () => useFetch(baseUrl6 + "get_list/");
|
|
182
182
|
var useDeleteCustomerList = () => useFetch(baseUrl6 + "delete/");
|
|
183
183
|
|
|
184
|
+
// src/repositories/mortgage/index.ts
|
|
185
|
+
var baseUrl7 = "mortgage/";
|
|
186
|
+
var useGetMortgageDict = (dict) => useFetch(baseUrl7 + `dict/${dict}/get_list/`);
|
|
187
|
+
var useGetMortgageCommonDictList = () => useFetch(baseUrl7 + "commondict/get_list/");
|
|
188
|
+
var useGetMortgage = () => useFetch(baseUrl7 + "get/");
|
|
189
|
+
var useUpdateMortgage = () => useFetch(baseUrl7 + "update/");
|
|
190
|
+
var useSendMortgage = () => useFetch(baseUrl7 + "send/");
|
|
191
|
+
var useUpdateMortgageCustomer = () => useFetch(baseUrl7 + "app/customer/update/");
|
|
192
|
+
var useDeleteMortgageCustomer = () => useFetch(baseUrl7 + "app/customer/delete/");
|
|
193
|
+
var useGetMortgageList = () => useFetch(baseUrl7 + "get_list/");
|
|
194
|
+
var useGetMortgageProgram = () => useFetch(baseUrl7 + "mortgagedictprogramcode/get/");
|
|
195
|
+
var useCalculateMortgage = () => useFetch(baseUrl7 + "calculate/");
|
|
196
|
+
var useGetMortgageLimits = () => useFetch(baseUrl7 + "limits/");
|
|
197
|
+
|
|
184
198
|
// src/repositories/rosbankdom/index.ts
|
|
185
|
-
var
|
|
186
|
-
var useGetRosbankDomDict = (dict) => useFetch(
|
|
187
|
-
var useGetRosbankDom = () => useFetch(
|
|
188
|
-
var useGetRosbankDomList = () => useFetch(
|
|
189
|
-
var useDeleteRosbankDom = () => useFetch(
|
|
190
|
-
var useUpdateRosbankDom = () => useFetch(
|
|
191
|
-
var useSendRosbankDom = () => useFetch(
|
|
192
|
-
var useRosbankDomOpportunity = () => useFetch(
|
|
193
|
-
var usePreapprovalRosbankDomStatus = () => useFetch(
|
|
194
|
-
var useSendRosbankDomScans = () => useFetch(
|
|
195
|
-
var useGetRosbankDomPrintformsList = () => useFetch(
|
|
196
|
-
var useConfirmRosbankDom = () => useFetch(
|
|
197
|
-
var useCancelRosbankDom = () => useFetch(
|
|
198
|
-
var useCloneRosbankDom = () => useFetch(
|
|
199
|
+
var baseUrl8 = "rosbankdom/";
|
|
200
|
+
var useGetRosbankDomDict = (dict) => useFetch(baseUrl8 + `dict/${dict}/get_list/`);
|
|
201
|
+
var useGetRosbankDom = () => useFetch(baseUrl8 + "get/");
|
|
202
|
+
var useGetRosbankDomList = () => useFetch(baseUrl8 + "get_list/");
|
|
203
|
+
var useDeleteRosbankDom = () => useFetch(baseUrl8 + "delete/");
|
|
204
|
+
var useUpdateRosbankDom = () => useFetch(baseUrl8 + "app/update/");
|
|
205
|
+
var useSendRosbankDom = () => useFetch(baseUrl8 + "app/send/");
|
|
206
|
+
var useRosbankDomOpportunity = () => useFetch(baseUrl8 + "opportunity/");
|
|
207
|
+
var usePreapprovalRosbankDomStatus = () => useFetch(baseUrl8 + "preapproval/status/");
|
|
208
|
+
var useSendRosbankDomScans = () => useFetch(baseUrl8 + "scans/send/");
|
|
209
|
+
var useGetRosbankDomPrintformsList = () => useFetch(baseUrl8 + "printforms/get_list/");
|
|
210
|
+
var useConfirmRosbankDom = () => useFetch(baseUrl8 + "confirm/");
|
|
211
|
+
var useCancelRosbankDom = () => useFetch(baseUrl8 + "cancel/");
|
|
212
|
+
var useCloneRosbankDom = () => useFetch(baseUrl8 + "app/clone/");
|
|
199
213
|
|
|
200
214
|
// src/repositories/salespoint/index.ts
|
|
201
|
-
var
|
|
202
|
-
var useGetSalespoint = () => useFetch(
|
|
203
|
-
var useUpdateSalespoint = () => useFetch(
|
|
204
|
-
var useCloneSalespoint = () => useFetch(
|
|
205
|
-
var useGetSalespointList = () => useFetch(
|
|
206
|
-
var useDeleteSalespoint = () => useFetch(
|
|
207
|
-
var useAddStaffSalespoint = () => useFetch(
|
|
208
|
-
var useDeleteStaffSalespoint = () => useFetch(
|
|
209
|
-
var useUpdateManySalespoint = () => useFetch(
|
|
215
|
+
var baseUrl9 = "salespoint/";
|
|
216
|
+
var useGetSalespoint = () => useFetch(baseUrl9 + "get/");
|
|
217
|
+
var useUpdateSalespoint = () => useFetch(baseUrl9 + "update/");
|
|
218
|
+
var useCloneSalespoint = () => useFetch(baseUrl9 + "clone/");
|
|
219
|
+
var useGetSalespointList = () => useFetch(baseUrl9 + "get_list/");
|
|
220
|
+
var useDeleteSalespoint = () => useFetch(baseUrl9 + "delete/");
|
|
221
|
+
var useAddStaffSalespoint = () => useFetch(baseUrl9 + "add_staff/");
|
|
222
|
+
var useDeleteStaffSalespoint = () => useFetch(baseUrl9 + "delete_staff/");
|
|
223
|
+
var useUpdateManySalespoint = () => useFetch(baseUrl9 + "update_many/");
|
|
210
224
|
|
|
211
225
|
// src/repositories/user/index.ts
|
|
212
|
-
var
|
|
213
|
-
var useGetUser = () => useFetch(
|
|
214
|
-
var useUpdateUser = () => useFetch(
|
|
215
|
-
var useGetUserList = () => useFetch(
|
|
216
|
-
var useDeleteUser = () => useFetch(
|
|
217
|
-
var useCloneUser = () => useFetch(
|
|
218
|
-
var useAddGroupUser = () => useFetch(
|
|
219
|
-
var useDeleteGroupUser = () => useFetch(
|
|
220
|
-
var useUpdateManyUser = () => useFetch(
|
|
226
|
+
var baseUrl10 = "user/";
|
|
227
|
+
var useGetUser = () => useFetch(baseUrl10 + "get/");
|
|
228
|
+
var useUpdateUser = () => useFetch(baseUrl10 + "update/");
|
|
229
|
+
var useGetUserList = () => useFetch(baseUrl10 + "get_list/");
|
|
230
|
+
var useDeleteUser = () => useFetch(baseUrl10 + "delete/");
|
|
231
|
+
var useCloneUser = () => useFetch(baseUrl10 + "clone/");
|
|
232
|
+
var useAddGroupUser = () => useFetch(baseUrl10 + "add_group/");
|
|
233
|
+
var useDeleteGroupUser = () => useFetch(baseUrl10 + "delete_group/");
|
|
234
|
+
var useUpdateManyUser = () => useFetch(baseUrl10 + "update_many/");
|
|
221
235
|
export {
|
|
222
236
|
getMode,
|
|
223
237
|
setMode,
|
|
@@ -233,6 +247,7 @@ export {
|
|
|
233
247
|
useAddStaffBrokerclient,
|
|
234
248
|
useAddStaffSalespoint,
|
|
235
249
|
useAskAkbarsPrintforms,
|
|
250
|
+
useCalculateMortgage,
|
|
236
251
|
useCancelRosbankDom,
|
|
237
252
|
useCloneAlfabankBalance,
|
|
238
253
|
useCloneRosbankDom,
|
|
@@ -247,6 +262,7 @@ export {
|
|
|
247
262
|
useDeleteChatmessage,
|
|
248
263
|
useDeleteCustomerList,
|
|
249
264
|
useDeleteGroupUser,
|
|
265
|
+
useDeleteMortgageCustomer,
|
|
250
266
|
useDeleteRosbankDom,
|
|
251
267
|
useDeleteSalespoint,
|
|
252
268
|
useDeleteStaffBrokerclient,
|
|
@@ -270,6 +286,12 @@ export {
|
|
|
270
286
|
useGetChatmessageThreads,
|
|
271
287
|
useGetCustomer,
|
|
272
288
|
useGetCustomerList,
|
|
289
|
+
useGetMortgage,
|
|
290
|
+
useGetMortgageCommonDictList,
|
|
291
|
+
useGetMortgageDict,
|
|
292
|
+
useGetMortgageLimits,
|
|
293
|
+
useGetMortgageList,
|
|
294
|
+
useGetMortgageProgram,
|
|
273
295
|
useGetRosbankDom,
|
|
274
296
|
useGetRosbankDomDict,
|
|
275
297
|
useGetRosbankDomList,
|
|
@@ -289,6 +311,7 @@ export {
|
|
|
289
311
|
useSendAkbarsScans,
|
|
290
312
|
useSendAlfabankBalance,
|
|
291
313
|
useSendAlfabankBalanceScans,
|
|
314
|
+
useSendMortgage,
|
|
292
315
|
useSendRosbankDom,
|
|
293
316
|
useSendRosbankDomScans,
|
|
294
317
|
useStatusManuallyAlfabankBalanceScans,
|
|
@@ -300,6 +323,8 @@ export {
|
|
|
300
323
|
useUpdateCustomer,
|
|
301
324
|
useUpdateManySalespoint,
|
|
302
325
|
useUpdateManyUser,
|
|
326
|
+
useUpdateMortgage,
|
|
327
|
+
useUpdateMortgageCustomer,
|
|
303
328
|
useUpdateRosbankDom,
|
|
304
329
|
useUpdateSalespoint,
|
|
305
330
|
useUpdateUser,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "simpleloan_api",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.31",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
|
-
"ci": "npm run build
|
|
11
|
+
"ci": "npm run build & npm publish",
|
|
12
12
|
"build": "tsup index.ts --format cjs,esm --dts",
|
|
13
13
|
"lint": "tsc",
|
|
14
14
|
"test": "echo \"Error: no test specified\" && exit 1"
|