sowhat-types 2.0.205 → 2.0.206

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
@@ -413,7 +413,7 @@ interface LoanResponse {
413
413
  availableAmount: number | null;
414
414
  rate: number | null;
415
415
  type: LoanTypeEnum;
416
- currency: string;
416
+ currency: AvailableCurrencyEnum | null;
417
417
  }
418
418
 
419
419
  interface BankAccountBalancesResponse {
@@ -433,10 +433,7 @@ interface BankAccountBalancesResponse {
433
433
  * total incoming balance for savings type accounts
434
434
  */
435
435
  incomingSavings: number | null;
436
- /**
437
- * e.g. '€'
438
- */
439
- currency: string;
436
+ currency: AvailableCurrencyEnum;
440
437
  }
441
438
 
442
439
  interface BankAccountOriginalTransactionResponse {
@@ -486,7 +483,7 @@ interface BankAccountResponse {
486
483
  name: string;
487
484
  balance: number | null;
488
485
  comingBalance: number | null;
489
- currency: AvailableCurrencyEnum;
486
+ currency: AvailableCurrencyEnum | null;
490
487
  alertThreshold: number;
491
488
  type: BankAccountTypeEnum;
492
489
  iban: string | null;
package/dist/index.d.ts CHANGED
@@ -413,7 +413,7 @@ interface LoanResponse {
413
413
  availableAmount: number | null;
414
414
  rate: number | null;
415
415
  type: LoanTypeEnum;
416
- currency: string;
416
+ currency: AvailableCurrencyEnum | null;
417
417
  }
418
418
 
419
419
  interface BankAccountBalancesResponse {
@@ -433,10 +433,7 @@ interface BankAccountBalancesResponse {
433
433
  * total incoming balance for savings type accounts
434
434
  */
435
435
  incomingSavings: number | null;
436
- /**
437
- * e.g. '€'
438
- */
439
- currency: string;
436
+ currency: AvailableCurrencyEnum;
440
437
  }
441
438
 
442
439
  interface BankAccountOriginalTransactionResponse {
@@ -486,7 +483,7 @@ interface BankAccountResponse {
486
483
  name: string;
487
484
  balance: number | null;
488
485
  comingBalance: number | null;
489
- currency: AvailableCurrencyEnum;
486
+ currency: AvailableCurrencyEnum | null;
490
487
  alertThreshold: number;
491
488
  type: BankAccountTypeEnum;
492
489
  iban: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.205",
3
+ "version": "2.0.206",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",