simpleloan_api 1.2.50 → 1.2.51

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.
Files changed (3) hide show
  1. package/dist/index.d.mts +259 -106
  2. package/dist/index.d.ts +259 -106
  3. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -15,39 +15,204 @@ type AbsolutbankFields = {};
15
15
  type Absolutbank = AbsolutbankMeta & AbsolutbankFields;
16
16
  type AbsolutbankDictNames = 'ConsentType' | 'ObjectType' | 'PreapprovalType' | 'DocumentType' | 'PledgeType' | 'PledgeReadiness' | 'PledgeObject' | 'RefinanceProgramm' | 'Campaign' | 'RegionOfPurchase';
17
17
 
18
+ type ApiResponse<T> = {
19
+ _code: number;
20
+ _message?: string;
21
+ _detail?: {
22
+ [param: string]: string[];
23
+ };
24
+ _data?: T;
25
+ _data_size?: number;
26
+ _data_total_size?: number;
27
+ _page_size?: number;
28
+ _start_index?: number;
29
+ };
30
+ type SearchParams<F = Record<string, any>> = {
31
+ _filter?: F;
32
+ _page_size?: number;
33
+ _fields?: string[];
34
+ _start_index?: number;
35
+ _sort?: string[];
36
+ };
37
+ type WithData<T> = {
38
+ _data: T;
39
+ };
40
+ type PostParams<Body> = {
41
+ body: Body;
42
+ search?: SearchParams;
43
+ };
44
+ type PostParamsWithoutBody = {
45
+ search?: SearchParams;
46
+ };
47
+
48
+ type Sex = 'M' | 'F';
49
+ type UploadB64File = {
50
+ name: string;
51
+ data: string;
52
+ };
53
+ type UploadedFile = {
54
+ size: number;
55
+ file: string;
56
+ };
57
+ type Address = {
58
+ region?: {
59
+ code: string;
60
+ name: string;
61
+ type: string;
62
+ type_short: string;
63
+ };
64
+ area?: {
65
+ code: string;
66
+ name: string;
67
+ type: string;
68
+ type_short: string;
69
+ };
70
+ city?: {
71
+ code: string;
72
+ name: string;
73
+ type: string;
74
+ type_short: string;
75
+ owner?: {
76
+ code: string | null;
77
+ name: string | null;
78
+ type: string | null;
79
+ type_short: string | null;
80
+ };
81
+ };
82
+ street?: {
83
+ code: string;
84
+ name: string;
85
+ type: string;
86
+ type_short: string;
87
+ };
88
+ structure: string | null;
89
+ flat: string | null;
90
+ house: string | null;
91
+ building: string | null;
92
+ postal_code: string | null;
93
+ address_text: string;
94
+ };
95
+ type DictItem = {
96
+ code: string;
97
+ title: string;
98
+ };
99
+ type Dict = DictItem[];
100
+
18
101
  type User = {
19
102
  id: number;
20
103
  first_name: string;
21
104
  last_name: string;
22
- is_active: true;
23
- deleted_at: string | null;
24
- email: string;
25
105
  middle_name: string;
26
- dateofbirth: string;
106
+ title: string;
107
+ email: string;
27
108
  phone: number;
28
109
  phone_confirmed: boolean;
110
+ dateofbirth: string | null;
111
+ birth_city: string | null;
112
+ comment: string;
29
113
  status: string;
30
- passport_serial: number;
31
- passport_number: number;
32
- passport_date: string;
33
- passport_issuing: string | number;
34
- passport_division_code: string | number;
35
- address_country: string | number;
36
- address_postcode: string | number;
37
- address_region: string | number;
38
- address_city: string | number;
39
- address_street: string | number;
40
- address_house: string | number;
41
- address_flat: string | number;
42
- ILBS_login: string | number;
43
- cert_serial: string | number;
44
- groups_ids: [];
45
- permissions: string[];
46
- title: string;
114
+ is_active: boolean;
115
+ is_app_limited: boolean;
116
+ is_filled_profile: boolean;
117
+ deleted_at: string | null;
118
+ passport_serial: number | null;
119
+ passport_number: number | null;
120
+ passport_date: string | null;
121
+ passport_issuing: string | number | null;
122
+ passport_division_code: string | number | null;
123
+ address: Address;
124
+ address_of_operation: Address;
125
+ address_country: string | number | null;
126
+ address_postcode: string | number | null;
127
+ address_region: string | number | null;
128
+ address_city: string | number | null;
129
+ address_street: string | number | null;
130
+ address_house: string | number | null;
131
+ address_flat: string | number | null;
132
+ ILBS_login: string | number | null;
133
+ cert_serial: string | number | null;
134
+ groups_ids: number[];
135
+ permissions?: string[];
47
136
  raw_permissions?: string[];
48
137
  brokerclient_staff: number[];
49
138
  salespoint_staff: number[];
50
- is_filled_profile: boolean;
139
+ salespoint_group_staff: number[];
140
+ settings: Record<string, unknown>;
141
+ alfabank_card_user_code: string | number | null;
142
+ alfabank_pos_user_code: string | number | null;
143
+ crediteurope_usercode: string | number | null;
144
+ expobank_agent_code: string | number | null;
145
+ freedomfinance_id: string | number | null;
146
+ homeexpress_id: string | number | null;
147
+ mortgage_user: string | number | null;
148
+ mtsbank_code: string | number | null;
149
+ otpbank_agent_ext_code: string | number | null;
150
+ otpbankesign_agent_ext_code: string | number | null;
151
+ pochtabank_broker_agent_id: string | number | null;
152
+ renaissancebank_login: string | number | null;
153
+ russianstandard_id: string | number | null;
154
+ sovcomhalva_id: string | number | null;
155
+ uralsib_sellerId: string | number | null;
156
+ vostbank_sellerID: string | number | null;
157
+ vsegdada_userCode: string | number | null;
158
+ };
159
+ type UserUpdateBody = WithData<Partial<User> & {
160
+ id: number | string;
161
+ }>;
162
+ type UserListFilter = Partial<Omit<User, 'id'>> & {
163
+ id?: number | string | Array<number | string>;
164
+ };
165
+ type UserContracts = {
166
+ /** Получить пользователя по id */
167
+ '/user/get/': {
168
+ body: WithData<{
169
+ id: number | string;
170
+ }>;
171
+ response: ApiResponse<User>;
172
+ };
173
+ /** Список пользователей */
174
+ '/user/get_list/': {
175
+ body: SearchParams<UserListFilter>;
176
+ response: ApiResponse<User[]>;
177
+ };
178
+ /** Обновить пользователя */
179
+ '/user/update/': {
180
+ body: UserUpdateBody;
181
+ response: ApiResponse<User>;
182
+ };
183
+ /** Массовое обновление: общий набор полей на список id пользователей. */
184
+ '/user/update_many/': {
185
+ body: WithData<{
186
+ user_ids: number[];
187
+ data: Partial<User> & {
188
+ group_ids?: number[];
189
+ };
190
+ }>;
191
+ response: ApiResponse<User[]>;
192
+ };
193
+ /** Привязать группу к пользователю */
194
+ '/user/add_group/': {
195
+ body: WithData<{
196
+ group_id: number;
197
+ user_id: number;
198
+ }>;
199
+ response: ApiResponse<User>;
200
+ };
201
+ /** Отвязать группу от пользователя */
202
+ '/user/delete_group/': {
203
+ body: WithData<{
204
+ group_id: number;
205
+ user_id: number;
206
+ }>;
207
+ response: ApiResponse<User>;
208
+ };
209
+ /** Клонировать пользователя */
210
+ '/user/clone/': {
211
+ body: WithData<{
212
+ id: number | string;
213
+ }>;
214
+ response: ApiResponse<User>;
215
+ };
51
216
  };
52
217
 
53
218
  type Login = {
@@ -265,59 +430,6 @@ type AtbbankMeta = {
265
430
  type AtbbankFields = {};
266
431
  type Atbbank = AtbbankMeta & AtbbankFields;
267
432
 
268
- type Sex = 'M' | 'F';
269
- type UploadB64File = {
270
- name: string;
271
- data: string;
272
- };
273
- type UploadedFile = {
274
- size: number;
275
- file: string;
276
- };
277
- type Address = {
278
- region?: {
279
- code: string;
280
- name: string;
281
- type: string;
282
- type_short: string;
283
- };
284
- area?: {
285
- code: string;
286
- name: string;
287
- type: string;
288
- type_short: string;
289
- };
290
- city?: {
291
- code: string;
292
- name: string;
293
- type: string;
294
- type_short: string;
295
- owner?: {
296
- code: string | null;
297
- name: string | null;
298
- type: string | null;
299
- type_short: string | null;
300
- };
301
- };
302
- street?: {
303
- code: string;
304
- name: string;
305
- type: string;
306
- type_short: string;
307
- };
308
- structure: string | null;
309
- flat: string | null;
310
- house: string | null;
311
- building: string | null;
312
- postal_code: string | null;
313
- address_text: string;
314
- };
315
- type DictItem = {
316
- code: string;
317
- title: string;
318
- };
319
- type Dict = DictItem[];
320
-
321
433
  type Brokerclient = {
322
434
  id: number;
323
435
  deleted_at: null;
@@ -592,6 +704,24 @@ type GazprombankmFields = {};
592
704
  type Gazprombankm = GazprombankmMeta & GazprombankmFields;
593
705
  type GazprombankmDictNames = 'MarketType' | 'RealEstateTypeCode' | 'LoanPurpose' | 'SubProgramCode' | 'InsuranceType';
594
706
 
707
+ /** Группа прав пользователя (`/group/get_list/`). */
708
+ type Group = {
709
+ id: number;
710
+ name: string;
711
+ permissions_ids: number[];
712
+ };
713
+ /** Фильтр списка групп (`/group/get_list/`). */
714
+ type GroupListFilter = {
715
+ id?: number[];
716
+ };
717
+ type GroupContracts = {
718
+ /** Список групп прав (эндпоинт с пагинацией). */
719
+ '/group/get_list/': {
720
+ body: SearchParams<GroupListFilter>;
721
+ response: ApiResponse<Group[]>;
722
+ };
723
+ };
724
+
595
725
  type MortgageStages = 'app_create' | 'app_wait' | 'app_ending' | 'app_issued' | 'app_cancel' | 'app_complete_decline' | 'app_complete_accept';
596
726
  type MortgageBankNames = 'alfabankbalance' | 'gazprombankm' | 'rosbankdom' | 'akbars' | 'vtbbankm' | 'absolutbank' | 'sovcombank' | 'atbbank';
597
727
  type MortgageBankAppStatus = {
@@ -901,6 +1031,59 @@ type Salespointgroup = {
901
1031
  title: string;
902
1032
  }[];
903
1033
  };
1034
+ type SalespointgroupUpdateBody = WithData<Partial<Salespointgroup> & {
1035
+ id: number;
1036
+ }>;
1037
+ type SalespointgroupContracts = {
1038
+ /** Получить группу ТТ по id */
1039
+ '/salespointgroup/get/': {
1040
+ body: WithData<{
1041
+ id: number;
1042
+ }>;
1043
+ response: ApiResponse<Salespointgroup>;
1044
+ };
1045
+ /** Список групп ТТ */
1046
+ '/salespointgroup/get_list/': {
1047
+ body: SearchParams;
1048
+ response: ApiResponse<Salespointgroup[]>;
1049
+ };
1050
+ /** Обновить группу ТТ */
1051
+ '/salespointgroup/update/': {
1052
+ body: SalespointgroupUpdateBody;
1053
+ response: ApiResponse<Salespointgroup>;
1054
+ };
1055
+ /** Удалить группу ТТ */
1056
+ '/salespointgroup/delete/': {
1057
+ body: WithData<{
1058
+ id: number;
1059
+ }>;
1060
+ response: ApiResponse<Salespointgroup>;
1061
+ };
1062
+ /** Добавить ТТ в группу */
1063
+ '/salespointgroup/salespoints/add/': {
1064
+ body: WithData<{
1065
+ id: number;
1066
+ salespoint_id: number[];
1067
+ }>;
1068
+ response: ApiResponse<Salespointgroup>;
1069
+ };
1070
+ /** Убрать ТТ из группы */
1071
+ '/salespointgroup/salespoints/delete/': {
1072
+ body: WithData<{
1073
+ id: number;
1074
+ salespoint_id: number[];
1075
+ }>;
1076
+ response: ApiResponse<Salespointgroup>;
1077
+ };
1078
+ /** Список ТТ в группе */
1079
+ '/salespointgroup/salespoints/get_list/': {
1080
+ body: SearchParams;
1081
+ response: ApiResponse<{
1082
+ id: number;
1083
+ title: string;
1084
+ }[]>;
1085
+ };
1086
+ };
904
1087
 
905
1088
  type SovcombankStages = 'app' | 'app_wait' | 'app_abort' | 'scans' | 'scans_wait' | 'scans_abort' | 'approval' | 'approval_wait' | 'cancel' | 'end' | 'unknown';
906
1089
  type SovcombankOffer = {};
@@ -972,36 +1155,6 @@ type VtbBankmFields = {
972
1155
  };
973
1156
  type Vtbbankm = VtbBankmMeta & VtbBankmFields;
974
1157
 
975
- type ApiResponse<T> = {
976
- _code: number;
977
- _message?: string;
978
- _detail?: {
979
- [param: string]: string[];
980
- };
981
- _data?: T;
982
- _data_size?: number;
983
- _data_total_size?: number;
984
- _page_size?: number;
985
- _start_index?: number;
986
- };
987
- type SearchParams<F = Record<string, any>> = {
988
- _filter?: F;
989
- _page_size?: number;
990
- _fields?: string[];
991
- _start_index?: number;
992
- _sort?: string[];
993
- };
994
- type WithData<T> = {
995
- _data: T;
996
- };
997
- type PostParams<Body> = {
998
- body: Body;
999
- search?: SearchParams;
1000
- };
1001
- type PostParamsWithoutBody = {
1002
- search?: SearchParams;
1003
- };
1004
-
1005
1158
  type AgentGetListBody = SearchParams<{
1006
1159
  status: 0 | 1;
1007
1160
  created_at__date__gte: string;
@@ -2916,4 +3069,4 @@ type Mode = 'development' | 'production';
2916
3069
  declare function setMode(newMode: Mode): void;
2917
3070
  declare function getMode(): Mode;
2918
3071
 
2919
- export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, type Address, type AgentAct, type AgentActContract, type AgentActFile, type AgentGetListBody, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type AlfabankBalance, type AlfabankBalanceOffer, type AlfabankBalanceOfferLoanParameters, type AlfabankBalanceScanState, type AlfabankBalanceStages, type ApiResponse, type Atbbank, type AtbbankFields, type AtbbankMeta, type AtbbankStages, type BankDetail, type BankDetailContracts, type BankDetailGetListBody, type BankRevise, type BankReviseContracts, type BankReviseGenerateBody, type BankReviseItem, type BankReviseItemUpdateBody, type BankReviseItemUpdateManyBody, type BankReviseItemUpdateManyItem, type BankReviseItemsDownloadBody, type BankdetailListFilter, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type CheckpassportApp, type CheckpassportUploadRequest, type CheckpassportUploadRequestWithAllFiles, type CheckpassportUploadRequestWithFiles, type CommissionFeeReviseWipContracts, type CommissionFeeReviseWipDownloadBody, type CommissionFeeReviseWipGenerateBody, type CommissionFeeReviseWipItem, type CommissionFeeReviseWipUpdateBody, type CommissionFeeReviseWipUpdateManyBody, type CommissionFeeReviseWipUpdateManyItem, type CommissionFeeReviseWipUpdateManyResponse, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Faq, type FaqContracts, type FaqGetListBody, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type GetFmsResponse, type Login, type LoginResponse, type MessageUpdateWithGroupId, type MessageUpdateWithSalespointIds, type Mortgage, type MortgageBankApp, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageCommonDictNames, type MortgageDictNames, type MortgageFields, type MortgageLoanReportRequest, type MortgageLoanReportStatus, type MortgageMeta, type MortgageProgram, type MortgageProgramsLimits, type MortgageScan, type MortgageScanDoctype, type MortgageStages, type MortgageUpdate, type PostParams, type PostParamsWithoutBody, type ProductUploadBody, type ReportsAsync, type ReportsAsyncStatus, type ReportsMortgageLoanRequest, type ReportsMortgageStatFilter, type ReportsMortgageStatRequest, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointAltSumMode, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type SalespointProvidingCreditMode, type Salespointgroup, type ScriptContracts, type ScriptExportResult, type ScriptLoadBody, type ScriptLoadError, type ScriptLoadResult, type ScriptLoadStats, type ScriptRunResult, type SearchParams, type Sex, type Sovcombank, type SovcombankFields, type SovcombankMeta, type SovcombankOffer, type SovcombankStages, type TransferAcceptanceContracts, type TransferAcceptanceGenerateBody, type TransferAcceptanceGenerateResponse, type UpdateMortgageCustomerRequest, type UploadB64File, type UploadedFile, type User, type VtbBankmFields, type VtbBankmMeta, type VtbBankmStages, type Vtbbankm, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCalculateMortgage, useCancelAbsolutbank, useCancelAtbbank, useCancelGazprombankm, useCancelMortgage, useCancelRosbankDom, useCancelSovcombank, useCancelVtbbankm, useCloneAbsolutbank, useCloneAlfabankBalance, useCloneAtbbank, useCloneGazprombankm, useCloneMortgage, useCloneRosbankDom, useCloneSalespoint, useCloneSovcombank, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmAtbbank, useConfirmRosbankDom, useConfirmSovcombank, useDeleteAbsolutbank, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteAtbbank, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGazprombankm, useDeleteGroupUser, useDeleteMortgage, useDeleteMortgageCustomer, useDeleteMortgageProgram, useDeleteMortgageScan, useDeleteRosbankDom, useDeleteSalespoint, useDeleteSalespointgroup, useDeleteSovcombank, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useDeleteVtbbankm, useGenerateAbsolutbankScansApplications, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGenerateAtbbankScansApplications, useGenerateGazprombankmScansApplications, useGenerateMortgageLoanReport, useGenerateMortgageStatReport, useGenerateSovcombankScansApplications, useGenerateVtbbankmScansApplications, useGetAbsolutbank, useGetAbsolutbankDict, useGetAbsolutbankList, useGetAbsolutbankPrintforms, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetAtbbank, useGetAtbbankDict, useGetAtbbankFiles, useGetAtbbankList, useGetAtbbankPrintformsList, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCheckpassportStatus, useGetCommondictsBanks, useGetCommondictsPassportFms, useGetCustomer, useGetCustomerList, useGetGazprombankm, useGetGazprombankmDict, useGetGazprombankmList, useGetMortgage, useGetMortgageBankApp, useGetMortgageCommonDictList, useGetMortgageDict, useGetMortgageFieldChoices, useGetMortgageFieldRequired, useGetMortgageLimits, useGetMortgageList, useGetMortgageProgram, useGetMortgageProgramsGroup, useGetMortgageProgramsList, useGetMortgageScansDoctypesList, useGetMortgageScansList, useGetReportsList, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetSalespointgroup, useGetSalespointgroupList, useGetSovcombank, useGetSovcombankDict, useGetSovcombankFiles, useGetSovcombankList, useGetSovcombankPrintformsList, useGetUser, useGetUserList, useGetVtbbankm, useGetVtbbankmList, useLoanerApprovingAkbarsStatus, usePreapprovalAbsolutbankStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalAtbbankStatus, usePreapprovalRosbankDomStatus, usePreapprovalSovcombankStatus, usePrintMortgageForm, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAbsolutbank, useSendAbsolutbankScans, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendAtbbank, useSendAtbbankScans, useSendGazprombankm, useSendGazprombankmScans, useSendMortgage, useSendMortgageScans, useSendRosbankDom, useSendRosbankDomScans, useSendSovcombank, useSendSovcombankScans, useSendVtbbankScans, useSendVtbbankm, useStatusManuallyAlfabankBalanceScans, useUpdateAbsolutbank, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateAtbbank, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCommondictsPassportFms, useUpdateCustomer, useUpdateGazprombankm, useUpdateManySalespoint, useUpdateManyUser, useUpdateMortgage, useUpdateMortgageCustomer, useUpdateMortgageProgram, useUpdateRosbankDom, useUpdateSalespoint, useUpdateSalespointgroup, useUpdateSovcombank, useUpdateUser, useUpdateVtbbankm, useUploadAkbarsDepositScan, useUploadCheckpassport, useUploadMortgageScan, useVerifyManuallyAlfabankBalanceScans };
3072
+ export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, type Address, type AgentAct, type AgentActContract, type AgentActFile, type AgentGetListBody, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type AlfabankBalance, type AlfabankBalanceOffer, type AlfabankBalanceOfferLoanParameters, type AlfabankBalanceScanState, type AlfabankBalanceStages, type ApiResponse, type Atbbank, type AtbbankFields, type AtbbankMeta, type AtbbankStages, type BankDetail, type BankDetailContracts, type BankDetailGetListBody, type BankRevise, type BankReviseContracts, type BankReviseGenerateBody, type BankReviseItem, type BankReviseItemUpdateBody, type BankReviseItemUpdateManyBody, type BankReviseItemUpdateManyItem, type BankReviseItemsDownloadBody, type BankdetailListFilter, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type CheckpassportApp, type CheckpassportUploadRequest, type CheckpassportUploadRequestWithAllFiles, type CheckpassportUploadRequestWithFiles, type CommissionFeeReviseWipContracts, type CommissionFeeReviseWipDownloadBody, type CommissionFeeReviseWipGenerateBody, type CommissionFeeReviseWipItem, type CommissionFeeReviseWipUpdateBody, type CommissionFeeReviseWipUpdateManyBody, type CommissionFeeReviseWipUpdateManyItem, type CommissionFeeReviseWipUpdateManyResponse, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Faq, type FaqContracts, type FaqGetListBody, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type GetFmsResponse, type Group, type GroupContracts, type GroupListFilter, type Login, type LoginResponse, type MessageUpdateWithGroupId, type MessageUpdateWithSalespointIds, type Mortgage, type MortgageBankApp, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageCommonDictNames, type MortgageDictNames, type MortgageFields, type MortgageLoanReportRequest, type MortgageLoanReportStatus, type MortgageMeta, type MortgageProgram, type MortgageProgramsLimits, type MortgageScan, type MortgageScanDoctype, type MortgageStages, type MortgageUpdate, type PostParams, type PostParamsWithoutBody, type ProductUploadBody, type ReportsAsync, type ReportsAsyncStatus, type ReportsMortgageLoanRequest, type ReportsMortgageStatFilter, type ReportsMortgageStatRequest, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointAltSumMode, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type SalespointProvidingCreditMode, type Salespointgroup, type SalespointgroupContracts, type SalespointgroupUpdateBody, type ScriptContracts, type ScriptExportResult, type ScriptLoadBody, type ScriptLoadError, type ScriptLoadResult, type ScriptLoadStats, type ScriptRunResult, type SearchParams, type Sex, type Sovcombank, type SovcombankFields, type SovcombankMeta, type SovcombankOffer, type SovcombankStages, type TransferAcceptanceContracts, type TransferAcceptanceGenerateBody, type TransferAcceptanceGenerateResponse, type UpdateMortgageCustomerRequest, type UploadB64File, type UploadedFile, type User, type UserContracts, type UserListFilter, type UserUpdateBody, type VtbBankmFields, type VtbBankmMeta, type VtbBankmStages, type Vtbbankm, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCalculateMortgage, useCancelAbsolutbank, useCancelAtbbank, useCancelGazprombankm, useCancelMortgage, useCancelRosbankDom, useCancelSovcombank, useCancelVtbbankm, useCloneAbsolutbank, useCloneAlfabankBalance, useCloneAtbbank, useCloneGazprombankm, useCloneMortgage, useCloneRosbankDom, useCloneSalespoint, useCloneSovcombank, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmAtbbank, useConfirmRosbankDom, useConfirmSovcombank, useDeleteAbsolutbank, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteAtbbank, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGazprombankm, useDeleteGroupUser, useDeleteMortgage, useDeleteMortgageCustomer, useDeleteMortgageProgram, useDeleteMortgageScan, useDeleteRosbankDom, useDeleteSalespoint, useDeleteSalespointgroup, useDeleteSovcombank, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useDeleteVtbbankm, useGenerateAbsolutbankScansApplications, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGenerateAtbbankScansApplications, useGenerateGazprombankmScansApplications, useGenerateMortgageLoanReport, useGenerateMortgageStatReport, useGenerateSovcombankScansApplications, useGenerateVtbbankmScansApplications, useGetAbsolutbank, useGetAbsolutbankDict, useGetAbsolutbankList, useGetAbsolutbankPrintforms, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetAtbbank, useGetAtbbankDict, useGetAtbbankFiles, useGetAtbbankList, useGetAtbbankPrintformsList, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCheckpassportStatus, useGetCommondictsBanks, useGetCommondictsPassportFms, useGetCustomer, useGetCustomerList, useGetGazprombankm, useGetGazprombankmDict, useGetGazprombankmList, useGetMortgage, useGetMortgageBankApp, useGetMortgageCommonDictList, useGetMortgageDict, useGetMortgageFieldChoices, useGetMortgageFieldRequired, useGetMortgageLimits, useGetMortgageList, useGetMortgageProgram, useGetMortgageProgramsGroup, useGetMortgageProgramsList, useGetMortgageScansDoctypesList, useGetMortgageScansList, useGetReportsList, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetSalespointgroup, useGetSalespointgroupList, useGetSovcombank, useGetSovcombankDict, useGetSovcombankFiles, useGetSovcombankList, useGetSovcombankPrintformsList, useGetUser, useGetUserList, useGetVtbbankm, useGetVtbbankmList, useLoanerApprovingAkbarsStatus, usePreapprovalAbsolutbankStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalAtbbankStatus, usePreapprovalRosbankDomStatus, usePreapprovalSovcombankStatus, usePrintMortgageForm, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAbsolutbank, useSendAbsolutbankScans, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendAtbbank, useSendAtbbankScans, useSendGazprombankm, useSendGazprombankmScans, useSendMortgage, useSendMortgageScans, useSendRosbankDom, useSendRosbankDomScans, useSendSovcombank, useSendSovcombankScans, useSendVtbbankScans, useSendVtbbankm, useStatusManuallyAlfabankBalanceScans, useUpdateAbsolutbank, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateAtbbank, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCommondictsPassportFms, useUpdateCustomer, useUpdateGazprombankm, useUpdateManySalespoint, useUpdateManyUser, useUpdateMortgage, useUpdateMortgageCustomer, useUpdateMortgageProgram, useUpdateRosbankDom, useUpdateSalespoint, useUpdateSalespointgroup, useUpdateSovcombank, useUpdateUser, useUpdateVtbbankm, useUploadAkbarsDepositScan, useUploadCheckpassport, useUploadMortgageScan, useVerifyManuallyAlfabankBalanceScans };
package/dist/index.d.ts CHANGED
@@ -15,39 +15,204 @@ type AbsolutbankFields = {};
15
15
  type Absolutbank = AbsolutbankMeta & AbsolutbankFields;
16
16
  type AbsolutbankDictNames = 'ConsentType' | 'ObjectType' | 'PreapprovalType' | 'DocumentType' | 'PledgeType' | 'PledgeReadiness' | 'PledgeObject' | 'RefinanceProgramm' | 'Campaign' | 'RegionOfPurchase';
17
17
 
18
+ type ApiResponse<T> = {
19
+ _code: number;
20
+ _message?: string;
21
+ _detail?: {
22
+ [param: string]: string[];
23
+ };
24
+ _data?: T;
25
+ _data_size?: number;
26
+ _data_total_size?: number;
27
+ _page_size?: number;
28
+ _start_index?: number;
29
+ };
30
+ type SearchParams<F = Record<string, any>> = {
31
+ _filter?: F;
32
+ _page_size?: number;
33
+ _fields?: string[];
34
+ _start_index?: number;
35
+ _sort?: string[];
36
+ };
37
+ type WithData<T> = {
38
+ _data: T;
39
+ };
40
+ type PostParams<Body> = {
41
+ body: Body;
42
+ search?: SearchParams;
43
+ };
44
+ type PostParamsWithoutBody = {
45
+ search?: SearchParams;
46
+ };
47
+
48
+ type Sex = 'M' | 'F';
49
+ type UploadB64File = {
50
+ name: string;
51
+ data: string;
52
+ };
53
+ type UploadedFile = {
54
+ size: number;
55
+ file: string;
56
+ };
57
+ type Address = {
58
+ region?: {
59
+ code: string;
60
+ name: string;
61
+ type: string;
62
+ type_short: string;
63
+ };
64
+ area?: {
65
+ code: string;
66
+ name: string;
67
+ type: string;
68
+ type_short: string;
69
+ };
70
+ city?: {
71
+ code: string;
72
+ name: string;
73
+ type: string;
74
+ type_short: string;
75
+ owner?: {
76
+ code: string | null;
77
+ name: string | null;
78
+ type: string | null;
79
+ type_short: string | null;
80
+ };
81
+ };
82
+ street?: {
83
+ code: string;
84
+ name: string;
85
+ type: string;
86
+ type_short: string;
87
+ };
88
+ structure: string | null;
89
+ flat: string | null;
90
+ house: string | null;
91
+ building: string | null;
92
+ postal_code: string | null;
93
+ address_text: string;
94
+ };
95
+ type DictItem = {
96
+ code: string;
97
+ title: string;
98
+ };
99
+ type Dict = DictItem[];
100
+
18
101
  type User = {
19
102
  id: number;
20
103
  first_name: string;
21
104
  last_name: string;
22
- is_active: true;
23
- deleted_at: string | null;
24
- email: string;
25
105
  middle_name: string;
26
- dateofbirth: string;
106
+ title: string;
107
+ email: string;
27
108
  phone: number;
28
109
  phone_confirmed: boolean;
110
+ dateofbirth: string | null;
111
+ birth_city: string | null;
112
+ comment: string;
29
113
  status: string;
30
- passport_serial: number;
31
- passport_number: number;
32
- passport_date: string;
33
- passport_issuing: string | number;
34
- passport_division_code: string | number;
35
- address_country: string | number;
36
- address_postcode: string | number;
37
- address_region: string | number;
38
- address_city: string | number;
39
- address_street: string | number;
40
- address_house: string | number;
41
- address_flat: string | number;
42
- ILBS_login: string | number;
43
- cert_serial: string | number;
44
- groups_ids: [];
45
- permissions: string[];
46
- title: string;
114
+ is_active: boolean;
115
+ is_app_limited: boolean;
116
+ is_filled_profile: boolean;
117
+ deleted_at: string | null;
118
+ passport_serial: number | null;
119
+ passport_number: number | null;
120
+ passport_date: string | null;
121
+ passport_issuing: string | number | null;
122
+ passport_division_code: string | number | null;
123
+ address: Address;
124
+ address_of_operation: Address;
125
+ address_country: string | number | null;
126
+ address_postcode: string | number | null;
127
+ address_region: string | number | null;
128
+ address_city: string | number | null;
129
+ address_street: string | number | null;
130
+ address_house: string | number | null;
131
+ address_flat: string | number | null;
132
+ ILBS_login: string | number | null;
133
+ cert_serial: string | number | null;
134
+ groups_ids: number[];
135
+ permissions?: string[];
47
136
  raw_permissions?: string[];
48
137
  brokerclient_staff: number[];
49
138
  salespoint_staff: number[];
50
- is_filled_profile: boolean;
139
+ salespoint_group_staff: number[];
140
+ settings: Record<string, unknown>;
141
+ alfabank_card_user_code: string | number | null;
142
+ alfabank_pos_user_code: string | number | null;
143
+ crediteurope_usercode: string | number | null;
144
+ expobank_agent_code: string | number | null;
145
+ freedomfinance_id: string | number | null;
146
+ homeexpress_id: string | number | null;
147
+ mortgage_user: string | number | null;
148
+ mtsbank_code: string | number | null;
149
+ otpbank_agent_ext_code: string | number | null;
150
+ otpbankesign_agent_ext_code: string | number | null;
151
+ pochtabank_broker_agent_id: string | number | null;
152
+ renaissancebank_login: string | number | null;
153
+ russianstandard_id: string | number | null;
154
+ sovcomhalva_id: string | number | null;
155
+ uralsib_sellerId: string | number | null;
156
+ vostbank_sellerID: string | number | null;
157
+ vsegdada_userCode: string | number | null;
158
+ };
159
+ type UserUpdateBody = WithData<Partial<User> & {
160
+ id: number | string;
161
+ }>;
162
+ type UserListFilter = Partial<Omit<User, 'id'>> & {
163
+ id?: number | string | Array<number | string>;
164
+ };
165
+ type UserContracts = {
166
+ /** Получить пользователя по id */
167
+ '/user/get/': {
168
+ body: WithData<{
169
+ id: number | string;
170
+ }>;
171
+ response: ApiResponse<User>;
172
+ };
173
+ /** Список пользователей */
174
+ '/user/get_list/': {
175
+ body: SearchParams<UserListFilter>;
176
+ response: ApiResponse<User[]>;
177
+ };
178
+ /** Обновить пользователя */
179
+ '/user/update/': {
180
+ body: UserUpdateBody;
181
+ response: ApiResponse<User>;
182
+ };
183
+ /** Массовое обновление: общий набор полей на список id пользователей. */
184
+ '/user/update_many/': {
185
+ body: WithData<{
186
+ user_ids: number[];
187
+ data: Partial<User> & {
188
+ group_ids?: number[];
189
+ };
190
+ }>;
191
+ response: ApiResponse<User[]>;
192
+ };
193
+ /** Привязать группу к пользователю */
194
+ '/user/add_group/': {
195
+ body: WithData<{
196
+ group_id: number;
197
+ user_id: number;
198
+ }>;
199
+ response: ApiResponse<User>;
200
+ };
201
+ /** Отвязать группу от пользователя */
202
+ '/user/delete_group/': {
203
+ body: WithData<{
204
+ group_id: number;
205
+ user_id: number;
206
+ }>;
207
+ response: ApiResponse<User>;
208
+ };
209
+ /** Клонировать пользователя */
210
+ '/user/clone/': {
211
+ body: WithData<{
212
+ id: number | string;
213
+ }>;
214
+ response: ApiResponse<User>;
215
+ };
51
216
  };
52
217
 
53
218
  type Login = {
@@ -265,59 +430,6 @@ type AtbbankMeta = {
265
430
  type AtbbankFields = {};
266
431
  type Atbbank = AtbbankMeta & AtbbankFields;
267
432
 
268
- type Sex = 'M' | 'F';
269
- type UploadB64File = {
270
- name: string;
271
- data: string;
272
- };
273
- type UploadedFile = {
274
- size: number;
275
- file: string;
276
- };
277
- type Address = {
278
- region?: {
279
- code: string;
280
- name: string;
281
- type: string;
282
- type_short: string;
283
- };
284
- area?: {
285
- code: string;
286
- name: string;
287
- type: string;
288
- type_short: string;
289
- };
290
- city?: {
291
- code: string;
292
- name: string;
293
- type: string;
294
- type_short: string;
295
- owner?: {
296
- code: string | null;
297
- name: string | null;
298
- type: string | null;
299
- type_short: string | null;
300
- };
301
- };
302
- street?: {
303
- code: string;
304
- name: string;
305
- type: string;
306
- type_short: string;
307
- };
308
- structure: string | null;
309
- flat: string | null;
310
- house: string | null;
311
- building: string | null;
312
- postal_code: string | null;
313
- address_text: string;
314
- };
315
- type DictItem = {
316
- code: string;
317
- title: string;
318
- };
319
- type Dict = DictItem[];
320
-
321
433
  type Brokerclient = {
322
434
  id: number;
323
435
  deleted_at: null;
@@ -592,6 +704,24 @@ type GazprombankmFields = {};
592
704
  type Gazprombankm = GazprombankmMeta & GazprombankmFields;
593
705
  type GazprombankmDictNames = 'MarketType' | 'RealEstateTypeCode' | 'LoanPurpose' | 'SubProgramCode' | 'InsuranceType';
594
706
 
707
+ /** Группа прав пользователя (`/group/get_list/`). */
708
+ type Group = {
709
+ id: number;
710
+ name: string;
711
+ permissions_ids: number[];
712
+ };
713
+ /** Фильтр списка групп (`/group/get_list/`). */
714
+ type GroupListFilter = {
715
+ id?: number[];
716
+ };
717
+ type GroupContracts = {
718
+ /** Список групп прав (эндпоинт с пагинацией). */
719
+ '/group/get_list/': {
720
+ body: SearchParams<GroupListFilter>;
721
+ response: ApiResponse<Group[]>;
722
+ };
723
+ };
724
+
595
725
  type MortgageStages = 'app_create' | 'app_wait' | 'app_ending' | 'app_issued' | 'app_cancel' | 'app_complete_decline' | 'app_complete_accept';
596
726
  type MortgageBankNames = 'alfabankbalance' | 'gazprombankm' | 'rosbankdom' | 'akbars' | 'vtbbankm' | 'absolutbank' | 'sovcombank' | 'atbbank';
597
727
  type MortgageBankAppStatus = {
@@ -901,6 +1031,59 @@ type Salespointgroup = {
901
1031
  title: string;
902
1032
  }[];
903
1033
  };
1034
+ type SalespointgroupUpdateBody = WithData<Partial<Salespointgroup> & {
1035
+ id: number;
1036
+ }>;
1037
+ type SalespointgroupContracts = {
1038
+ /** Получить группу ТТ по id */
1039
+ '/salespointgroup/get/': {
1040
+ body: WithData<{
1041
+ id: number;
1042
+ }>;
1043
+ response: ApiResponse<Salespointgroup>;
1044
+ };
1045
+ /** Список групп ТТ */
1046
+ '/salespointgroup/get_list/': {
1047
+ body: SearchParams;
1048
+ response: ApiResponse<Salespointgroup[]>;
1049
+ };
1050
+ /** Обновить группу ТТ */
1051
+ '/salespointgroup/update/': {
1052
+ body: SalespointgroupUpdateBody;
1053
+ response: ApiResponse<Salespointgroup>;
1054
+ };
1055
+ /** Удалить группу ТТ */
1056
+ '/salespointgroup/delete/': {
1057
+ body: WithData<{
1058
+ id: number;
1059
+ }>;
1060
+ response: ApiResponse<Salespointgroup>;
1061
+ };
1062
+ /** Добавить ТТ в группу */
1063
+ '/salespointgroup/salespoints/add/': {
1064
+ body: WithData<{
1065
+ id: number;
1066
+ salespoint_id: number[];
1067
+ }>;
1068
+ response: ApiResponse<Salespointgroup>;
1069
+ };
1070
+ /** Убрать ТТ из группы */
1071
+ '/salespointgroup/salespoints/delete/': {
1072
+ body: WithData<{
1073
+ id: number;
1074
+ salespoint_id: number[];
1075
+ }>;
1076
+ response: ApiResponse<Salespointgroup>;
1077
+ };
1078
+ /** Список ТТ в группе */
1079
+ '/salespointgroup/salespoints/get_list/': {
1080
+ body: SearchParams;
1081
+ response: ApiResponse<{
1082
+ id: number;
1083
+ title: string;
1084
+ }[]>;
1085
+ };
1086
+ };
904
1087
 
905
1088
  type SovcombankStages = 'app' | 'app_wait' | 'app_abort' | 'scans' | 'scans_wait' | 'scans_abort' | 'approval' | 'approval_wait' | 'cancel' | 'end' | 'unknown';
906
1089
  type SovcombankOffer = {};
@@ -972,36 +1155,6 @@ type VtbBankmFields = {
972
1155
  };
973
1156
  type Vtbbankm = VtbBankmMeta & VtbBankmFields;
974
1157
 
975
- type ApiResponse<T> = {
976
- _code: number;
977
- _message?: string;
978
- _detail?: {
979
- [param: string]: string[];
980
- };
981
- _data?: T;
982
- _data_size?: number;
983
- _data_total_size?: number;
984
- _page_size?: number;
985
- _start_index?: number;
986
- };
987
- type SearchParams<F = Record<string, any>> = {
988
- _filter?: F;
989
- _page_size?: number;
990
- _fields?: string[];
991
- _start_index?: number;
992
- _sort?: string[];
993
- };
994
- type WithData<T> = {
995
- _data: T;
996
- };
997
- type PostParams<Body> = {
998
- body: Body;
999
- search?: SearchParams;
1000
- };
1001
- type PostParamsWithoutBody = {
1002
- search?: SearchParams;
1003
- };
1004
-
1005
1158
  type AgentGetListBody = SearchParams<{
1006
1159
  status: 0 | 1;
1007
1160
  created_at__date__gte: string;
@@ -2916,4 +3069,4 @@ type Mode = 'development' | 'production';
2916
3069
  declare function setMode(newMode: Mode): void;
2917
3070
  declare function getMode(): Mode;
2918
3071
 
2919
- export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, type Address, type AgentAct, type AgentActContract, type AgentActFile, type AgentGetListBody, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type AlfabankBalance, type AlfabankBalanceOffer, type AlfabankBalanceOfferLoanParameters, type AlfabankBalanceScanState, type AlfabankBalanceStages, type ApiResponse, type Atbbank, type AtbbankFields, type AtbbankMeta, type AtbbankStages, type BankDetail, type BankDetailContracts, type BankDetailGetListBody, type BankRevise, type BankReviseContracts, type BankReviseGenerateBody, type BankReviseItem, type BankReviseItemUpdateBody, type BankReviseItemUpdateManyBody, type BankReviseItemUpdateManyItem, type BankReviseItemsDownloadBody, type BankdetailListFilter, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type CheckpassportApp, type CheckpassportUploadRequest, type CheckpassportUploadRequestWithAllFiles, type CheckpassportUploadRequestWithFiles, type CommissionFeeReviseWipContracts, type CommissionFeeReviseWipDownloadBody, type CommissionFeeReviseWipGenerateBody, type CommissionFeeReviseWipItem, type CommissionFeeReviseWipUpdateBody, type CommissionFeeReviseWipUpdateManyBody, type CommissionFeeReviseWipUpdateManyItem, type CommissionFeeReviseWipUpdateManyResponse, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Faq, type FaqContracts, type FaqGetListBody, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type GetFmsResponse, type Login, type LoginResponse, type MessageUpdateWithGroupId, type MessageUpdateWithSalespointIds, type Mortgage, type MortgageBankApp, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageCommonDictNames, type MortgageDictNames, type MortgageFields, type MortgageLoanReportRequest, type MortgageLoanReportStatus, type MortgageMeta, type MortgageProgram, type MortgageProgramsLimits, type MortgageScan, type MortgageScanDoctype, type MortgageStages, type MortgageUpdate, type PostParams, type PostParamsWithoutBody, type ProductUploadBody, type ReportsAsync, type ReportsAsyncStatus, type ReportsMortgageLoanRequest, type ReportsMortgageStatFilter, type ReportsMortgageStatRequest, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointAltSumMode, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type SalespointProvidingCreditMode, type Salespointgroup, type ScriptContracts, type ScriptExportResult, type ScriptLoadBody, type ScriptLoadError, type ScriptLoadResult, type ScriptLoadStats, type ScriptRunResult, type SearchParams, type Sex, type Sovcombank, type SovcombankFields, type SovcombankMeta, type SovcombankOffer, type SovcombankStages, type TransferAcceptanceContracts, type TransferAcceptanceGenerateBody, type TransferAcceptanceGenerateResponse, type UpdateMortgageCustomerRequest, type UploadB64File, type UploadedFile, type User, type VtbBankmFields, type VtbBankmMeta, type VtbBankmStages, type Vtbbankm, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCalculateMortgage, useCancelAbsolutbank, useCancelAtbbank, useCancelGazprombankm, useCancelMortgage, useCancelRosbankDom, useCancelSovcombank, useCancelVtbbankm, useCloneAbsolutbank, useCloneAlfabankBalance, useCloneAtbbank, useCloneGazprombankm, useCloneMortgage, useCloneRosbankDom, useCloneSalespoint, useCloneSovcombank, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmAtbbank, useConfirmRosbankDom, useConfirmSovcombank, useDeleteAbsolutbank, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteAtbbank, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGazprombankm, useDeleteGroupUser, useDeleteMortgage, useDeleteMortgageCustomer, useDeleteMortgageProgram, useDeleteMortgageScan, useDeleteRosbankDom, useDeleteSalespoint, useDeleteSalespointgroup, useDeleteSovcombank, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useDeleteVtbbankm, useGenerateAbsolutbankScansApplications, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGenerateAtbbankScansApplications, useGenerateGazprombankmScansApplications, useGenerateMortgageLoanReport, useGenerateMortgageStatReport, useGenerateSovcombankScansApplications, useGenerateVtbbankmScansApplications, useGetAbsolutbank, useGetAbsolutbankDict, useGetAbsolutbankList, useGetAbsolutbankPrintforms, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetAtbbank, useGetAtbbankDict, useGetAtbbankFiles, useGetAtbbankList, useGetAtbbankPrintformsList, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCheckpassportStatus, useGetCommondictsBanks, useGetCommondictsPassportFms, useGetCustomer, useGetCustomerList, useGetGazprombankm, useGetGazprombankmDict, useGetGazprombankmList, useGetMortgage, useGetMortgageBankApp, useGetMortgageCommonDictList, useGetMortgageDict, useGetMortgageFieldChoices, useGetMortgageFieldRequired, useGetMortgageLimits, useGetMortgageList, useGetMortgageProgram, useGetMortgageProgramsGroup, useGetMortgageProgramsList, useGetMortgageScansDoctypesList, useGetMortgageScansList, useGetReportsList, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetSalespointgroup, useGetSalespointgroupList, useGetSovcombank, useGetSovcombankDict, useGetSovcombankFiles, useGetSovcombankList, useGetSovcombankPrintformsList, useGetUser, useGetUserList, useGetVtbbankm, useGetVtbbankmList, useLoanerApprovingAkbarsStatus, usePreapprovalAbsolutbankStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalAtbbankStatus, usePreapprovalRosbankDomStatus, usePreapprovalSovcombankStatus, usePrintMortgageForm, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAbsolutbank, useSendAbsolutbankScans, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendAtbbank, useSendAtbbankScans, useSendGazprombankm, useSendGazprombankmScans, useSendMortgage, useSendMortgageScans, useSendRosbankDom, useSendRosbankDomScans, useSendSovcombank, useSendSovcombankScans, useSendVtbbankScans, useSendVtbbankm, useStatusManuallyAlfabankBalanceScans, useUpdateAbsolutbank, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateAtbbank, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCommondictsPassportFms, useUpdateCustomer, useUpdateGazprombankm, useUpdateManySalespoint, useUpdateManyUser, useUpdateMortgage, useUpdateMortgageCustomer, useUpdateMortgageProgram, useUpdateRosbankDom, useUpdateSalespoint, useUpdateSalespointgroup, useUpdateSovcombank, useUpdateUser, useUpdateVtbbankm, useUploadAkbarsDepositScan, useUploadCheckpassport, useUploadMortgageScan, useVerifyManuallyAlfabankBalanceScans };
3072
+ export { type Absolutbank, type AbsolutbankDictNames, type AbsolutbankFields, type AbsolutbankMeta, type AbsolutbankStages, type Address, type AgentAct, type AgentActContract, type AgentActFile, type AgentGetListBody, type Akbars, type AkbarsDeposit, type AkbarsDepositScan, type AkbarsDictNames, type AkbarsOffer, type AkbarsPrintform, type AkbarsStages, type AlfabankBalance, type AlfabankBalanceOffer, type AlfabankBalanceOfferLoanParameters, type AlfabankBalanceScanState, type AlfabankBalanceStages, type ApiResponse, type Atbbank, type AtbbankFields, type AtbbankMeta, type AtbbankStages, type BankDetail, type BankDetailContracts, type BankDetailGetListBody, type BankRevise, type BankReviseContracts, type BankReviseGenerateBody, type BankReviseItem, type BankReviseItemUpdateBody, type BankReviseItemUpdateManyBody, type BankReviseItemUpdateManyItem, type BankReviseItemsDownloadBody, type BankdetailListFilter, type Brokerclient, type Chatmessage, type ChatmessageRoleUserMsg, type ChatmessageThread, type CheckpassportApp, type CheckpassportUploadRequest, type CheckpassportUploadRequestWithAllFiles, type CheckpassportUploadRequestWithFiles, type CommissionFeeReviseWipContracts, type CommissionFeeReviseWipDownloadBody, type CommissionFeeReviseWipGenerateBody, type CommissionFeeReviseWipItem, type CommissionFeeReviseWipUpdateBody, type CommissionFeeReviseWipUpdateManyBody, type CommissionFeeReviseWipUpdateManyItem, type CommissionFeeReviseWipUpdateManyResponse, type Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Faq, type FaqContracts, type FaqGetListBody, type Gazprombankm, type GazprombankmDictNames, type GazprombankmFields, type GazprombankmMeta, type GazprombankmStages, type GetFmsResponse, type Group, type GroupContracts, type GroupListFilter, type Login, type LoginResponse, type MessageUpdateWithGroupId, type MessageUpdateWithSalespointIds, type Mortgage, type MortgageBankApp, type MortgageBankAppStatus, type MortgageBankNames, type MortgageCalculateProgram, type MortgageCommonDictNames, type MortgageDictNames, type MortgageFields, type MortgageLoanReportRequest, type MortgageLoanReportStatus, type MortgageMeta, type MortgageProgram, type MortgageProgramsLimits, type MortgageScan, type MortgageScanDoctype, type MortgageStages, type MortgageUpdate, type PostParams, type PostParamsWithoutBody, type ProductUploadBody, type ReportsAsync, type ReportsAsyncStatus, type ReportsMortgageLoanRequest, type ReportsMortgageStatFilter, type ReportsMortgageStatRequest, type RosbankDom, type RosbankDomFields, type RosbankDomMeta, type RosbankDomOffer, type RosbankDomStages, type Salespoint, type SalespointAltSumMode, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type SalespointProvidingCreditMode, type Salespointgroup, type SalespointgroupContracts, type SalespointgroupUpdateBody, type ScriptContracts, type ScriptExportResult, type ScriptLoadBody, type ScriptLoadError, type ScriptLoadResult, type ScriptLoadStats, type ScriptRunResult, type SearchParams, type Sex, type Sovcombank, type SovcombankFields, type SovcombankMeta, type SovcombankOffer, type SovcombankStages, type TransferAcceptanceContracts, type TransferAcceptanceGenerateBody, type TransferAcceptanceGenerateResponse, type UpdateMortgageCustomerRequest, type UploadB64File, type UploadedFile, type User, type UserContracts, type UserListFilter, type UserUpdateBody, type VtbBankmFields, type VtbBankmMeta, type VtbBankmStages, type Vtbbankm, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCalculateMortgage, useCancelAbsolutbank, useCancelAtbbank, useCancelGazprombankm, useCancelMortgage, useCancelRosbankDom, useCancelSovcombank, useCancelVtbbankm, useCloneAbsolutbank, useCloneAlfabankBalance, useCloneAtbbank, useCloneGazprombankm, useCloneMortgage, useCloneRosbankDom, useCloneSalespoint, useCloneSovcombank, useCloneUser, useCloneVtbbankm, useConfirmAbsolutbank, useConfirmAtbbank, useConfirmRosbankDom, useConfirmSovcombank, useDeleteAbsolutbank, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankBalance, useDeleteAlfabankBalanceScans, useDeleteAtbbank, useDeleteBrokerclient, useDeleteChatmessage, useDeleteCustomerList, useDeleteGazprombankm, useDeleteGroupUser, useDeleteMortgage, useDeleteMortgageCustomer, useDeleteMortgageProgram, useDeleteMortgageScan, useDeleteRosbankDom, useDeleteSalespoint, useDeleteSalespointgroup, useDeleteSovcombank, useDeleteStaffBrokerclient, useDeleteStaffSalespoint, useDeleteUser, useDeleteVtbbankm, useGenerateAbsolutbankScansApplications, useGenerateAkbarsScansApplications, useGenerateAlfabankBalanceScansApplications, useGenerateAtbbankScansApplications, useGenerateGazprombankmScansApplications, useGenerateMortgageLoanReport, useGenerateMortgageStatReport, useGenerateSovcombankScansApplications, useGenerateVtbbankmScansApplications, useGetAbsolutbank, useGetAbsolutbankDict, useGetAbsolutbankList, useGetAbsolutbankPrintforms, useGetAkbars, useGetAkbarsDeposit, useGetAkbarsDepositScanList, useGetAkbarsDict, useGetAkbarsList, useGetAkbarsPrintformList, useGetAlfabankBalance, useGetAlfabankBalanceDict, useGetAlfabankBalanceList, useGetAlfabankBalanceOffer, useGetAtbbank, useGetAtbbankDict, useGetAtbbankFiles, useGetAtbbankList, useGetAtbbankPrintformsList, useGetBrokerclient, useGetBrokerclientList, useGetChatmessageList, useGetChatmessageThreads, useGetCheckpassportStatus, useGetCommondictsBanks, useGetCommondictsPassportFms, useGetCustomer, useGetCustomerList, useGetGazprombankm, useGetGazprombankmDict, useGetGazprombankmList, useGetMortgage, useGetMortgageBankApp, useGetMortgageCommonDictList, useGetMortgageDict, useGetMortgageFieldChoices, useGetMortgageFieldRequired, useGetMortgageLimits, useGetMortgageList, useGetMortgageProgram, useGetMortgageProgramsGroup, useGetMortgageProgramsList, useGetMortgageScansDoctypesList, useGetMortgageScansList, useGetReportsList, useGetRosbankDom, useGetRosbankDomDict, useGetRosbankDomList, useGetRosbankDomPrintformsList, useGetSalespoint, useGetSalespointList, useGetSalespointgroup, useGetSalespointgroupList, useGetSovcombank, useGetSovcombankDict, useGetSovcombankFiles, useGetSovcombankList, useGetSovcombankPrintformsList, useGetUser, useGetUserList, useGetVtbbankm, useGetVtbbankmList, useLoanerApprovingAkbarsStatus, usePreapprovalAbsolutbankStatus, usePreapprovalAlfabankBalanceStatus, usePreapprovalAtbbankStatus, usePreapprovalRosbankDomStatus, usePreapprovalSovcombankStatus, usePrintMortgageForm, useProcessingAkbars, useReadChatmessage, useRosbankDomOpportunity, useSendAbsolutbank, useSendAbsolutbankScans, useSendAkbars, useSendAkbarsDeposit, useSendAkbarsScans, useSendAlfabankBalance, useSendAlfabankBalanceScans, useSendAtbbank, useSendAtbbankScans, useSendGazprombankm, useSendGazprombankmScans, useSendMortgage, useSendMortgageScans, useSendRosbankDom, useSendRosbankDomScans, useSendSovcombank, useSendSovcombankScans, useSendVtbbankScans, useSendVtbbankm, useStatusManuallyAlfabankBalanceScans, useUpdateAbsolutbank, useUpdateAkbars, useUpdateAkbarsDeposit, useUpdateAlfabankBalance, useUpdateAtbbank, useUpdateBrokerclient, useUpdateChatmessage, useUpdateCommondictsPassportFms, useUpdateCustomer, useUpdateGazprombankm, useUpdateManySalespoint, useUpdateManyUser, useUpdateMortgage, useUpdateMortgageCustomer, useUpdateMortgageProgram, useUpdateRosbankDom, useUpdateSalespoint, useUpdateSalespointgroup, useUpdateSovcombank, useUpdateUser, useUpdateVtbbankm, useUploadAkbarsDepositScan, useUploadCheckpassport, useUploadMortgageScan, useVerifyManuallyAlfabankBalanceScans };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpleloan_api",
3
- "version": "1.2.50",
3
+ "version": "1.2.51",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",