PageSourceSearch

https://online.ariefinance.com/online-banking/4112.9779d9860c5c3cd4.js

js ariefinance.com collected 2026-10-08 01:30:14 UTC 9,065 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhost=self.webpackChunkhost||[]).push([[4112],{14112:(e,t,n)=>{n.r(t),n.d(t,{CERTIFICATE_OF_INTEREST_STATEMENTS:()=>m,CLOSE_ACCOUNT:()=>A,DELETE_PARTIAL_WITHDRAWAL:()=>S,GET_WITHDRAWALS:()=>T,HOLDING_ACCOUNT_INSTRUCTIONS:()=>y,MATURITY_INSTRUCTIONS:()=>p,NOMINATED_ACCOUNTS:()=>u,NOMINATED_ACCOUNTS_BY_ID:()=>d,PARTIAL_WITHDRAWAL:()=>I,PENDING_TRANSACTIONS:()=>c,SAVINGS_ACCOUNT_BY_ID:()=>o,STATEMENTS:()=>g,STATEMENTS_ROOT:()=>r,TAX_YEARS:()=>i,TRANSACTIONS:()=>l,useCertificateOfInterestStatementQuery:()=>N,useCloseNoticeAccountMutation:()=>P,useDeleteCloseNoticeAccountMutation:()=>w,useDeleteMaturityInstructions:()=>C,useDeletePartialWithdrawalMutation:()=>Q,useGetCertificateOfInterestMutation:()=>f,useGetNominatedAccounts:()=>$,useGetSavingsAccountStatementsMutation:()=>D,useGetScheduledWithdrawals:()=>q,useNominatedAccountsQuery:()=>K,usePartialWithdrawalMutation:()=>O,usePendingTransactionsQuery:()=>v,useSavingsAccountQuery:()=>x,useStatementsQuery:()=>M,useTaxYearsQuery:()=>_,useTransactionsQuery:()=>b,useUpdateHoldingAccountInstructions:()=>F,useUpdateMaturityInstructions:()=>R});const a="v1/savings",s=`${a}/accounts`,r=`${a}/statements`,u=`${s}/nominated-accounts`,o=`${s}/:accountId`,c=`${s}/:accountId/pending-transactions`,i=`${s}/:accountId/tax-years`,l=`${s}/:accountId/transactions`,d=`${s}/:accountId/nominated-accounts`,p=`${s}/:accountId/maturity-instructions`,y=`${s}/:accountId/closure-settings`,g=`${r}/accounts/:accountId/statements`,m=`${r}/accounts/:accountId/interest-statements/:taxYear`,A=`${o}/auto-close`,I=`${o}/payment-order`,S=`${I}/:paymentOrderId/cancel`,T=`${o}/payment-order`;var E=n(64234),h=n(26636);const N=({accountId:e,taxYear:t})=>{const{springApi:n}=(0,h.useSpringApi)();return(0,E.useQuery)({queryKey:["certificate-of-interest-statement",e,t],queryFn:async()=>{const{data:a,headers:s}=await n.get((({accountId:e,taxYear:t})=>`${(0,h.generatePath)(m,{accountId:e,taxYear:t})}?transactionType=INTEREST_PAID`)({accountId:e,taxYear:t}),{responseType:"blob",headers:{Accept:"application/octet-stream"}}),r=(e=>{const t=e["content-disposition"];if(t)return t.slice(t.indexOf("=")+1)})(s);return{data:a,fileName:r}},enabled:!1,gcTime:0})},P=(e,t)=>{const n=["close-notice-account",e],{springApi:a}=(0,h.useSpringApi)(),s=(0,E.useQueryClient)();return(0,E.useMutation)({mutationKey:n,mutationFn:async t=>{const n=(e=>(0,h.generatePath)(A,{accountId:e}))(e);return a.put(n,t)},onSuccess:async e=>{await s.resetQueries({queryKey:n,exact:!0}),null==t||null==t.onSuccess||t.onSuccess(e)},onError:e=>{var n,a,s;const r={status:null==e||null==(n=e.response)?void 0:n.status,code:null==e||null==(a=e.response)||null==(a=a.data)?void 0:a.code,message:null==e||null==(s=e.response)||null==(s=s.data)?void 0:s.message};null==t||null==t.onError||t.onError(r)}})},w=(e,t)=>{const n=["delete-close-notice-account",e],{springApi:a}=(0,h.useSpringApi)(),s=(0,E.useQueryClient)();return(0,E.useMutation)({mutationKey:n,mutationFn:async()=>{const t=(e=>(0,h.generatePath)(A,{accountId:e}))(e);return a.delete(t)},onSuccess:async()=>{await s.resetQueries({queryKey:n,exact:!0}),null==t||null==t.onSuccess||t.onSuccess()},onError:e=>{var n,a,s;const r={status:null==e||null==(n=e.response)?void 0:n.status,code:null==e||null==(a=e.response)||null==(a=a.data)?void 0:a.code,message:null==e||null==(s=e.response)||null==(s=s.data)?void 0:s.message};null==t||null==t.onError||t.onError(r)}})},C=e=>{const{springApi:t}=(0,h.useSpringApi)();return(0,E.useMutation)({mutationKey:["delete-maturity-instruction"],mutationFn:async()=>{const n=(e=>(0,h.generatePath)(p,{accountId:e}))(e);return t.delete(n)}})},Q=(e,t)=>{const n=["delete-partial-withdrawal",e],{springApi:a}=(0,h.useSpringApi)(),s=(0,E.useQueryClient)();return(0,E.useMutation)({mutationKey:n,mutationFn:async t=>{const n=((e,t)=>(0,h.generatePath)(S,{accountId:e,paymentOrderId:t}))(e,t);return a.delete(n)},onSuccess:async()=>{await s.resetQueries({queryKey:n,exact:!0}),null==t||null==t.onSuccess||t.onSuccess()},onError:e=>{var n,a,s;const r={status:null==e||null==(n=e.response)?void 0:n.status,code:null==e||null==(a=e.response)||null==(a=a.data)?void 0:a.code,message:null==e||null==(s=e.response)||null==(s=s.data)?void 0:s.message};null==t||null==t.onError||t.onError(r)}})},f=({accountId:e},t)=>{const{springApi:n}=(0,h.useSpringApi)();return(0,E.useMutation)(Object.assign({mutationKey:["certificate-of-interest",e],mutationFn:async({taxYears:t,format:a})=>{const s=await Promise.all(t.map((async t=>{const s=await n.get((({accountId:e,taxYear:t})=>`${(0,h.generatePath)(m,{accountId:e,taxYear:t})}`)({accountId:e,taxYear:t}),{responseType:"blob",headers:{Accept:"application/octet-stream,application/json"},params:{format:a}});return s})));return s}},t))},$=e=>{const{springApi:t}=(0,h.useSpringApi)();return(0,E.useQuery)({queryKey:e?["nominated-accounts-list",e]:["nominated-accounts-list"],queryFn:async()=>{const{data:n}=await t.get((e=>e?(0,h.generatePath)(`${u}?businessId=${e}`):(0,h.generatePath)(`${u}`))(e));return n}})},D=({accountId:e},t)=>{const{springApi:n}=(0,h.useSpringApi)();return(0,E.useMutation)(Object.assign({mutationKey:["saving-account-statements",e],mutationFn:async({startDate:t,endDate:a,format:s})=>{const r=await n.get((({accountId:e})=>`${(0,h.generatePath)(g,{accountId:e})}`)({accountId:e}),{responseType:"blob",headers:{Accept:"application/octet-stream,application/json"},params:{startDate:t,endDate:a,format:s}});return r}},t))},q=e=>{const{springApi:t}=(0,h.useSpringApi)();return(0,E.useQuery)({queryKey:["scheduled-withdrawals",e],queryFn:async()=>{const{data:n}=await t.get((e=>`${(0,h.generatePath)(T,{accountId:e})}`)(e));return n}})},K=(e,t=!0)=>{const{springApi:n}=(0,h.useSpringApi)();return(0,E.useQuery)({queryKey:["nominated-accounts",e],queryFn:async()=>{const{data:t}=await n.get((e=>(0,h.generatePath)(d,{accountId:e}))(e));return t},enabled:t})},O=(e,t)=>{const n=["partial-withdrawal",e],{springApi:a}=(0,h.useSpringApi)(),s=(0,E.useQueryClient)();return(0,E.useMutation)({mutationKey:n,mutationFn:async t=>{const n=(e=>(0,h.generatePath)(I,{accountId:e}))(e);return a.post(n,t)},onSuccess:async e=>{await s.resetQueries({queryKey:n,exact:!0}),null==t||null==t.onSuccess||t.onSuccess(e)},onError:e=>{var n,a,s;const r={status:null==e||null==(n=e.response)?void 0:n.status,code:null==e||null==(a=e.response)||null==(a=a.data)?void 0:a.code,message:null==e||null==(s=e.response)||null==(s=s.data)?void 0:s.message};null==t||null==t.onError||t.onError(r)}})},v=e=>{const{springApi:t}=(0,h.useSpringApi)();return(0,E.useQuery)({queryKey:["pending-transactions",e],queryFn:async()=>{const{data:n}=await t.get((e=>(0,h.generatePath)(c,{accountId:e}))(e));return n}})},x=(e,t=!0)=>{const{springApi:n}=(0,h.useSpringApi)();return(0,E.useQuery)({queryKey:["savings-account",e],queryFn:async()=>{const{data:t}=await n.get((e=>(0,h.generatePath)(o,{accountId:e}))(e));return t},staleTime:12e4,enabled:t})},M=({accountId:e,fromDate:t,toDate:n,format:a})=>{const{springApi:s}=(0,h.useSpringApi)();return(0,E.useQuery)({queryKey:["statements",e,t,n],queryFn:async()=>{const{data:r,headers:u}=await s.get((({accountId:e,fromDate:t,toDate:n,format:a})=>`${(0,h.generatePath)(g,{accountId:e})}?startDate=${t}&endDate=${n}&format=${a}`)({accountId:e,fromDate:t,toDate:n,format:a}),{responseType:"blob",headers:{Accept:"application/octet-stream"}}),o=(e=>{const t=e["content-disposition"];if(t)return t.slice(t.indexOf("=")+1)})(u);return{data:r,fileName:o}},enabled:!1,gcTime:0})},_=e=>{const{springApi:t}=(0,h.useSpringApi)();return(0,E.useQuery)({queryKey:["tax-years",e],queryFn:async()=>{const{data:n}=await t.get((e=>(0,h.generatePath)(i,{accountId:e}))(e));return n},enabled:Boolean(e)})},b=e=>{const{springApi:t}=(0,h.useSpringApi)();return(0,E.useInfiniteQuery)({queryKey:["transactions",e],queryFn:async({pageParam:n})=>{const{data:a}=await t.get(((e,t)=>`${(0,h.generatePath)(l,{accountId:e})}?pageNumber=${t}&pageSize=100&order=DESC`)(e,n));return a},initialPageParam:1,getNextPageParam:({records:{pageNumber:e,pageSize:t,totalRecords:n}})=>{if(!(e>=n/t))return e+1}})},F=(e,t)=>{const{springApi:n}=(0,h.useSpringApi)(),a=(0,E.useQueryClient)(),s=["update-holding-account-instruction",e];return(0,E.useMutation)({mutationKey:s,mutationFn:async t=>{const a=(e=>(0,h.generatePath)(y,{accountId:e}))(e);return n.put(a,t)},onSuccess:async e=>{await a.resetQueries({queryKey:s,exact:!0}),null==t||null==t.onSuccess||t.onSuccess(e)},onError:async e=>{await a.resetQueries({queryKey:s,exact:!0}),null==t||null==t.onError||t.onError(e)}})},R=(e,t)=>{const{springApi:n}=(0,h.useSpringApi)(),a=(0,E.useQueryClient)(),s=["update-maturity-instru
1ction",e];return(0,E.useMutation)({mutationKey:s,mutationFn:async t=>{const a=(e=>(0,h.generatePath)(p,{accountId:e}))(e);return n.put(a,t)},onSuccess:async e=>{await a.resetQueries({queryKey:s,exact:!0}),null==t||null==t.onSuccess||t.onSuccess(e)},onError:async e=>{await a.resetQueries({queryKey:s,exact:!0}),null==t||null==t.onError||t.onError(e)}})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.