sowhat-types 2.0.205 → 2.0.207

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 {
@@ -452,7 +449,7 @@ interface BankAccountTransactionResponse {
452
449
  applicationDate: Date;
453
450
  date: Date;
454
451
  value: number | null;
455
- currency: string | null;
452
+ currency: AvailableCurrencyEnum | null;
456
453
  name: string;
457
454
  originalName: string;
458
455
  coming: boolean;
@@ -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;
@@ -709,7 +706,7 @@ interface UserAiSummaryResponse {
709
706
  }
710
707
 
711
708
  interface UserFinancialSummaryResponse {
712
- currency: string;
709
+ currency: AvailableCurrencyEnum;
713
710
  projectNeeds: ProjectNeedEnum[];
714
711
  totalRealEstatesValue: number | null;
715
712
  totalMobilitiesValue: number | 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 {
@@ -452,7 +449,7 @@ interface BankAccountTransactionResponse {
452
449
  applicationDate: Date;
453
450
  date: Date;
454
451
  value: number | null;
455
- currency: string | null;
452
+ currency: AvailableCurrencyEnum | null;
456
453
  name: string;
457
454
  originalName: string;
458
455
  coming: boolean;
@@ -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;
@@ -709,7 +706,7 @@ interface UserAiSummaryResponse {
709
706
  }
710
707
 
711
708
  interface UserFinancialSummaryResponse {
712
- currency: string;
709
+ currency: AvailableCurrencyEnum;
713
710
  projectNeeds: ProjectNeedEnum[];
714
711
  totalRealEstatesValue: number | null;
715
712
  totalMobilitiesValue: number | 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.207",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",