sowhat-types 2.0.128 → 2.0.129

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
@@ -370,34 +370,6 @@ interface LoanResponse {
370
370
  currency: string;
371
371
  }
372
372
 
373
- interface TransactionAllocatedResponse {
374
- allocated: boolean;
375
- errorMessage: string | null;
376
- }
377
-
378
- interface BankAccountBalancesResponse {
379
- /**
380
- * total balance for checking type accounts
381
- */
382
- checking: number | null;
383
- /**
384
- * total incoming balance for checking type accounts
385
- */
386
- incomingChecking: number | null;
387
- /**
388
- * total balance for savings type accounts
389
- */
390
- savings: number | null;
391
- /**
392
- * total incoming balance for savings type accounts
393
- */
394
- incomingSavings: number | null;
395
- /**
396
- * e.g. '€'
397
- */
398
- currency: string;
399
- }
400
-
401
373
  interface BankAccountOriginalTransactionResponse {
402
374
  value: number;
403
375
  currency: string;
@@ -405,12 +377,6 @@ interface BankAccountOriginalTransactionResponse {
405
377
  commissionCurrency: string | null;
406
378
  }
407
379
 
408
- interface BankAccountTransactionCounterpartyResponse {
409
- label: string | null;
410
- accountScheme: BankAccountSchemeNameEnum | null;
411
- type: string | null;
412
- }
413
-
414
380
  interface AssetCoOwnerResponse {
415
381
  id: string;
416
382
  name: string;
@@ -494,6 +460,41 @@ interface BankAccountTransactionResponse {
494
460
  allocated: Date | null;
495
461
  }
496
462
 
463
+ interface TransactionAllocatedResponse {
464
+ transaction: BankAccountTransactionResponse;
465
+ allocated: boolean;
466
+ errorMessage: string | null;
467
+ }
468
+
469
+ interface BankAccountBalancesResponse {
470
+ /**
471
+ * total balance for checking type accounts
472
+ */
473
+ checking: number | null;
474
+ /**
475
+ * total incoming balance for checking type accounts
476
+ */
477
+ incomingChecking: number | null;
478
+ /**
479
+ * total balance for savings type accounts
480
+ */
481
+ savings: number | null;
482
+ /**
483
+ * total incoming balance for savings type accounts
484
+ */
485
+ incomingSavings: number | null;
486
+ /**
487
+ * e.g. '€'
488
+ */
489
+ currency: string;
490
+ }
491
+
492
+ interface BankAccountTransactionCounterpartyResponse {
493
+ label: string | null;
494
+ accountScheme: BankAccountSchemeNameEnum | null;
495
+ type: string | null;
496
+ }
497
+
497
498
  interface PaginationResponse {
498
499
  offset: number;
499
500
  limit: number;
package/dist/index.d.ts CHANGED
@@ -370,34 +370,6 @@ interface LoanResponse {
370
370
  currency: string;
371
371
  }
372
372
 
373
- interface TransactionAllocatedResponse {
374
- allocated: boolean;
375
- errorMessage: string | null;
376
- }
377
-
378
- interface BankAccountBalancesResponse {
379
- /**
380
- * total balance for checking type accounts
381
- */
382
- checking: number | null;
383
- /**
384
- * total incoming balance for checking type accounts
385
- */
386
- incomingChecking: number | null;
387
- /**
388
- * total balance for savings type accounts
389
- */
390
- savings: number | null;
391
- /**
392
- * total incoming balance for savings type accounts
393
- */
394
- incomingSavings: number | null;
395
- /**
396
- * e.g. '€'
397
- */
398
- currency: string;
399
- }
400
-
401
373
  interface BankAccountOriginalTransactionResponse {
402
374
  value: number;
403
375
  currency: string;
@@ -405,12 +377,6 @@ interface BankAccountOriginalTransactionResponse {
405
377
  commissionCurrency: string | null;
406
378
  }
407
379
 
408
- interface BankAccountTransactionCounterpartyResponse {
409
- label: string | null;
410
- accountScheme: BankAccountSchemeNameEnum | null;
411
- type: string | null;
412
- }
413
-
414
380
  interface AssetCoOwnerResponse {
415
381
  id: string;
416
382
  name: string;
@@ -494,6 +460,41 @@ interface BankAccountTransactionResponse {
494
460
  allocated: Date | null;
495
461
  }
496
462
 
463
+ interface TransactionAllocatedResponse {
464
+ transaction: BankAccountTransactionResponse;
465
+ allocated: boolean;
466
+ errorMessage: string | null;
467
+ }
468
+
469
+ interface BankAccountBalancesResponse {
470
+ /**
471
+ * total balance for checking type accounts
472
+ */
473
+ checking: number | null;
474
+ /**
475
+ * total incoming balance for checking type accounts
476
+ */
477
+ incomingChecking: number | null;
478
+ /**
479
+ * total balance for savings type accounts
480
+ */
481
+ savings: number | null;
482
+ /**
483
+ * total incoming balance for savings type accounts
484
+ */
485
+ incomingSavings: number | null;
486
+ /**
487
+ * e.g. '€'
488
+ */
489
+ currency: string;
490
+ }
491
+
492
+ interface BankAccountTransactionCounterpartyResponse {
493
+ label: string | null;
494
+ accountScheme: BankAccountSchemeNameEnum | null;
495
+ type: string | null;
496
+ }
497
+
497
498
  interface PaginationResponse {
498
499
  offset: number;
499
500
  limit: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.128",
3
+ "version": "2.0.129",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",