var{defineProperty:z,getOwnPropertyNames:I,getOwnPropertyDescriptor:J}=Object,K=Object.prototype.hasOwnProperty;function L(h){return this[h]}var Z=(h)=>{var j=(H??=new WeakMap).get(h),q;if(j)return j;if(j=z({},"__esModule",{value:!0}),h&&typeof h==="object"||typeof h==="function"){for(var v of I(h))if(!K.call(j,v))z(j,v,{get:L.bind(h,v),enumerable:!(q=J(h,v))||q.enumerable})}return H.set(h,j),j},H;var M=(h)=>h;function P(h,j){this[h]=M.bind(null,j)}var _=(h,j)=>{for(var q in j)z(h,q,{get:j[q],enumerable:!0,configurable:!0,set:P.bind(j,q)})};var $=(h,j)=>()=>(h&&(j=h(h=0)),j);var x={Idea:"idea",InCreation:"in_creation",Experimental:"experimental",Beta:"beta",Stable:"stable",Deprecated:"deprecated"},Q={PlatformCore:"platform.core",PlatformSigil:"platform.sigil",PlatformMarketplace:"platform.marketplace",PlatformMessaging:"platform.messaging",PlatformContent:"platform.content",PlatformFeatureFlags:"platform.featureflags",PlatformFinance:"platform.finance"},A=Q,U={Spots:"spots",Collectivity:"collectivity",Marketplace:"marketplace",Sellers:"sellers",Auth:"auth",Login:"login",Signup:"signup",Guide:"guide",Docs:"docs",I18n:"i18n",Incident:"incident",Automation:"automation",Hygiene:"hygiene"},C=U;var F=["platform.finance"],G=["open-banking","finance"],V={meta:{key:"openbanking.accounts.read",version:"1.0.0",kind:"integration",title:"Open Banking Accounts (Read)",description:"Provides read-only access to linked bank accounts, including account summaries and metadata.",domain:"finance",owners:[...F],tags:[...G],stability:x.Experimental},provides:[{surface:"operation",key:"openbanking.accounts.list",version:"1.0.0",description:"List bank accounts linked to a Powens open banking connection."},{surface:"operation",key:"openbanking.accounts.get",version:"1.0.0",description:"Retrieve the canonical bank account record for a specific account."},{surface:"operation",key:"openbanking.accounts.sync",version:"1.0.0",description:"Trigger a refresh of bank account metadata from the open banking provider."}]},X={meta:{key:"openbanking.transactions.read",version:"1.0.0",kind:"integration",title:"Open Banking Transactions (Read)",description:"Enables retrieval of transaction history for linked bank accounts via open banking providers.",domain:"finance",owners:[...F],tags:[...G,"transactions"],stability:x.Experimental},provides:[{surface:"operation",key:"openbanking.transactions.list",version:"1.0.0",description:"List transactions for a given bank account with optional date filtering."},{surface:"operation",key:"openbanking.transactions.sync",version:"1.0.0",description:"Synchronise transactions from the open banking provider into the canonical ledger."}]},Y={meta:{key:"openbanking.balances.read",version:"1.0.0",kind:"integration",title:"Open Banking Balances (Read)",description:"Allows querying of current and available balances for linked bank accounts via open banking providers.",domain:"finance",owners:[...F],tags:[...G,"balances"],stability:x.Experimental},provides:[{surface:"operation",key:"openbanking.balances.get",version:"1.0.0",description:"Retrieve the latest known balances for a specified bank account."},{surface:"operation",key:"openbanking.balances.refresh",version:"1.0.0",description:"Force a balance refresh from the open banking provider."}]};function p(h){return h.register(V).register(X).register(Y)}export{p as registerOpenBankingCapabilities,X as openBankingTransactionsReadCapability,Y as openBankingBalancesReadCapability,V as openBankingAccountsReadCapability};
