simpleloan_api 1.1.23 → 1.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -315,6 +315,33 @@ type Brokerclient = {
315
315
  staff_ids: number[];
316
316
  };
317
317
 
318
+ type ChatmessageRoleUserMsg = 'admin' | 'user';
319
+ type ChatmessageThread = {
320
+ id: number;
321
+ title: string;
322
+ quantity: number;
323
+ latest_id: number;
324
+ latest_created_at: string;
325
+ latest_first_name: string;
326
+ latest_last_name: string;
327
+ latest_middle_name: string;
328
+ latest_short_message: string;
329
+ file: UploadedFile | null;
330
+ is_read: boolean;
331
+ role_user_msg: ChatmessageRoleUserMsg;
332
+ };
333
+ type Chatmessage = {
334
+ id: number;
335
+ created_at: string;
336
+ salespoint_id: number;
337
+ user_id: number;
338
+ message: string;
339
+ file: UploadedFile | null;
340
+ is_read: boolean;
341
+ role_user_msg: ChatmessageRoleUserMsg;
342
+ username: string;
343
+ };
344
+
318
345
  type CustomerMeta = {
319
346
  id: string;
320
347
  status: string | 'new';
@@ -988,33 +1015,6 @@ declare const useDeleteStaffBrokerclient: () => {
988
1015
  }>): Promise<ApiResponse<Brokerclient> | null>;
989
1016
  };
990
1017
 
991
- type ChatmessageRoleUserMsg = 'admin' | 'user';
992
- type ChatmessageThread = {
993
- id: number;
994
- title: string;
995
- quantity: number;
996
- latest_id: number;
997
- latest_created_at: string;
998
- latest_first_name: string;
999
- latest_last_name: string;
1000
- latest_middle_name: string;
1001
- latest_short_message: string;
1002
- file: UploadedFile | null;
1003
- is_read: boolean;
1004
- role_user_msg: ChatmessageRoleUserMsg;
1005
- };
1006
- type Chatmessage = {
1007
- id: number;
1008
- created_at: string;
1009
- salespoint_id: number;
1010
- user_id: number;
1011
- message: string;
1012
- file: UploadedFile | null;
1013
- is_read: boolean;
1014
- role_user_msg: ChatmessageRoleUserMsg;
1015
- username: string;
1016
- };
1017
-
1018
1018
  type MessageUpdateBase = {
1019
1019
  message: string;
1020
1020
  file?: {
@@ -1331,4 +1331,4 @@ type Mode = 'development' | 'production';
1331
1331
  declare function setMode(newMode: Mode): void;
1332
1332
  declare function getMode(): Mode;
1333
1333
 
1334
- 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 Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageStages, type Rosbankdom, type RosbankdomOffer, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type UploadedFile, type User, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCancelRosbankdom, useCloneAlfabankbalance, useCloneRosbankdom, useCloneSalespoint, useCloneUser, useConfirmRosbankdom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankbalance, useDeleteAlfabankbalanceScans, useDeleteBrokerclient, 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 };
1334
+ 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 MortgageStages, type Rosbankdom, type RosbankdomOffer, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type UploadedFile, type User, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCancelRosbankdom, useCloneAlfabankbalance, useCloneRosbankdom, useCloneSalespoint, useCloneUser, useConfirmRosbankdom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankbalance, useDeleteAlfabankbalanceScans, useDeleteBrokerclient, 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 };
package/dist/index.d.ts CHANGED
@@ -315,6 +315,33 @@ type Brokerclient = {
315
315
  staff_ids: number[];
316
316
  };
317
317
 
318
+ type ChatmessageRoleUserMsg = 'admin' | 'user';
319
+ type ChatmessageThread = {
320
+ id: number;
321
+ title: string;
322
+ quantity: number;
323
+ latest_id: number;
324
+ latest_created_at: string;
325
+ latest_first_name: string;
326
+ latest_last_name: string;
327
+ latest_middle_name: string;
328
+ latest_short_message: string;
329
+ file: UploadedFile | null;
330
+ is_read: boolean;
331
+ role_user_msg: ChatmessageRoleUserMsg;
332
+ };
333
+ type Chatmessage = {
334
+ id: number;
335
+ created_at: string;
336
+ salespoint_id: number;
337
+ user_id: number;
338
+ message: string;
339
+ file: UploadedFile | null;
340
+ is_read: boolean;
341
+ role_user_msg: ChatmessageRoleUserMsg;
342
+ username: string;
343
+ };
344
+
318
345
  type CustomerMeta = {
319
346
  id: string;
320
347
  status: string | 'new';
@@ -988,33 +1015,6 @@ declare const useDeleteStaffBrokerclient: () => {
988
1015
  }>): Promise<ApiResponse<Brokerclient> | null>;
989
1016
  };
990
1017
 
991
- type ChatmessageRoleUserMsg = 'admin' | 'user';
992
- type ChatmessageThread = {
993
- id: number;
994
- title: string;
995
- quantity: number;
996
- latest_id: number;
997
- latest_created_at: string;
998
- latest_first_name: string;
999
- latest_last_name: string;
1000
- latest_middle_name: string;
1001
- latest_short_message: string;
1002
- file: UploadedFile | null;
1003
- is_read: boolean;
1004
- role_user_msg: ChatmessageRoleUserMsg;
1005
- };
1006
- type Chatmessage = {
1007
- id: number;
1008
- created_at: string;
1009
- salespoint_id: number;
1010
- user_id: number;
1011
- message: string;
1012
- file: UploadedFile | null;
1013
- is_read: boolean;
1014
- role_user_msg: ChatmessageRoleUserMsg;
1015
- username: string;
1016
- };
1017
-
1018
1018
  type MessageUpdateBase = {
1019
1019
  message: string;
1020
1020
  file?: {
@@ -1331,4 +1331,4 @@ type Mode = 'development' | 'production';
1331
1331
  declare function setMode(newMode: Mode): void;
1332
1332
  declare function getMode(): Mode;
1333
1333
 
1334
- 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 Customer, type CustomerFields, type CustomerMeta, type CustomerUpdate, type Dict, type DictItem, type Login, type LoginResponse, type Mortgage, type MortgageBankAppStatus, type MortgageBankNames, type MortgageStages, type Rosbankdom, type RosbankdomOffer, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type UploadedFile, type User, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCancelRosbankdom, useCloneAlfabankbalance, useCloneRosbankdom, useCloneSalespoint, useCloneUser, useConfirmRosbankdom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankbalance, useDeleteAlfabankbalanceScans, useDeleteBrokerclient, 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 };
1334
+ 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 MortgageStages, type Rosbankdom, type RosbankdomOffer, type Salespoint, type SalespointCreditType, type SalespointInsuranceMode, type SalespointNotificationMode, type Sex, type UploadB64File, type UploadedFile, type User, getMode, setMode, useAccountCheckLogin, useAccountLogin, useAccountLogout, useAccountLogoutUser, useAccountRegister, useAccountResetPassword, useAccountResetPasswordConfirmNew, useAccountUpdatePassword, useAddGroupUser, useAddStaffBrokerclient, useAddStaffSalespoint, useAskAkbarsPrintforms, useCancelRosbankdom, useCloneAlfabankbalance, useCloneRosbankdom, useCloneSalespoint, useCloneUser, useConfirmRosbankdom, useDeleteAkbars, useDeleteAkbarsDepositScan, useDeleteAlfabankbalance, useDeleteAlfabankbalanceScans, useDeleteBrokerclient, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpleloan_api",
3
- "version": "1.1.23",
3
+ "version": "1.1.24",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",