sowhat-types 2.0.131 → 2.0.133

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
@@ -304,7 +304,7 @@ interface UpdateBudgetIncomesAllocationInput {
304
304
  }
305
305
 
306
306
  interface BatchUpdateBudgetSavingsAllocationInput {
307
- id: string;
307
+ id: string | null;
308
308
  theoricalValuePerMonth?: number;
309
309
  balance?: number;
310
310
  currency: string;
@@ -660,11 +660,6 @@ interface BudgetSavingsAllocationDeletedResponse {
660
660
  errorMessage: string | null;
661
661
  }
662
662
 
663
- interface BudgetSavingsAllocationUpdatedResponse {
664
- updated: boolean;
665
- errorMessage: string | null;
666
- }
667
-
668
663
  interface SavingsMonthlyOperationResponse {
669
664
  id: string;
670
665
  value: number;
@@ -688,6 +683,12 @@ interface BudgetSavingsAllocationResponse {
688
683
  updatedAt: Date | null;
689
684
  }
690
685
 
686
+ interface BudgetSavingsAllocationUpdatedResponse {
687
+ updated: boolean;
688
+ errorMessage: string | null;
689
+ allocation: BudgetSavingsAllocationResponse;
690
+ }
691
+
691
692
  interface BudgetSavingsAllocationsBatchUpdatedResponse {
692
693
  allUpdated: boolean;
693
694
  errorMessage: string | null;
package/dist/index.d.ts CHANGED
@@ -304,7 +304,7 @@ interface UpdateBudgetIncomesAllocationInput {
304
304
  }
305
305
 
306
306
  interface BatchUpdateBudgetSavingsAllocationInput {
307
- id: string;
307
+ id: string | null;
308
308
  theoricalValuePerMonth?: number;
309
309
  balance?: number;
310
310
  currency: string;
@@ -660,11 +660,6 @@ interface BudgetSavingsAllocationDeletedResponse {
660
660
  errorMessage: string | null;
661
661
  }
662
662
 
663
- interface BudgetSavingsAllocationUpdatedResponse {
664
- updated: boolean;
665
- errorMessage: string | null;
666
- }
667
-
668
663
  interface SavingsMonthlyOperationResponse {
669
664
  id: string;
670
665
  value: number;
@@ -688,6 +683,12 @@ interface BudgetSavingsAllocationResponse {
688
683
  updatedAt: Date | null;
689
684
  }
690
685
 
686
+ interface BudgetSavingsAllocationUpdatedResponse {
687
+ updated: boolean;
688
+ errorMessage: string | null;
689
+ allocation: BudgetSavingsAllocationResponse;
690
+ }
691
+
691
692
  interface BudgetSavingsAllocationsBatchUpdatedResponse {
692
693
  allUpdated: boolean;
693
694
  errorMessage: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.131",
3
+ "version": "2.0.133",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",