feat(finance): add settlement currency and cycle fx rates

This commit is contained in:
2026-03-10 16:46:59 +04:00
parent 4c0508f618
commit fb85219409
38 changed files with 3546 additions and 114 deletions

View File

@@ -0,0 +1,17 @@
import type { CurrencyCode } from '@household/domain'
export interface ExchangeRateQuote {
baseCurrency: CurrencyCode
quoteCurrency: CurrencyCode
rateMicros: bigint
effectiveDate: string
source: 'nbg'
}
export interface ExchangeRateProvider {
getRate(input: {
baseCurrency: CurrencyCode
quoteCurrency: CurrencyCode
effectiveDate: string
}): Promise<ExchangeRateQuote>
}