sowhat-types 2.0.96 → 2.0.98

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
@@ -81,11 +81,17 @@ declare enum UserStatusEnum {
81
81
  BLACK_LISTED = "BLACK_LISTED"
82
82
  }
83
83
 
84
+ interface AssetCoOwnerInput {
85
+ id: string;
86
+ coOwnershipShare: number;
87
+ }
88
+
84
89
  interface UpdateBankAccountInput {
85
90
  id: string;
86
91
  name?: string;
87
92
  alertThreshold?: number;
88
93
  position?: number;
94
+ coOwner?: AssetCoOwnerInput | null;
89
95
  }
90
96
 
91
97
  interface AllocateTransactionInput {
@@ -101,11 +107,6 @@ interface UpdateBankAccountTransactionInput {
101
107
  newApplicationDate?: Date;
102
108
  }
103
109
 
104
- interface AssetCoOwnerInput {
105
- id: string;
106
- coOwnershipShare: number;
107
- }
108
-
109
110
  interface CreateMobilityInput {
110
111
  name: string;
111
112
  imageUrl: string | null;
@@ -170,7 +171,6 @@ interface CreateBudgetExpensesAllocationInput {
170
171
  currency: string;
171
172
  theoricalValuePerMonth: number;
172
173
  bankAccountId: string | null;
173
- createPreviousMonth: boolean;
174
174
  }
175
175
 
176
176
  interface DeleteBudgetExpensesAllocationInput {
@@ -195,7 +195,6 @@ interface CreateBudgetIncomesAllocationInput {
195
195
  currency: string;
196
196
  theoricalValuePerMonth: number;
197
197
  bankAccountId: string | null;
198
- createPreviousMonth: boolean;
199
198
  }
200
199
 
201
200
  interface DeleteBudgetIncomesAllocationInput {
@@ -319,6 +318,12 @@ interface BankAccountTransactionCounterpartyResponse {
319
318
  type: string | null;
320
319
  }
321
320
 
321
+ interface AssetCoOwnerResponse {
322
+ id: string;
323
+ name: string;
324
+ coOwnershipShare: number;
325
+ }
326
+
322
327
  interface BankAccountResponse {
323
328
  id: string;
324
329
  powensId: number;
@@ -333,6 +338,7 @@ interface BankAccountResponse {
333
338
  position: number;
334
339
  deletedByBank: Date | null;
335
340
  transactions: BankAccountTransactionResponse[];
341
+ coOwner: AssetCoOwnerResponse | null;
336
342
  }
337
343
 
338
344
  interface BudgetIncomesAllocationResponse {
@@ -441,12 +447,6 @@ interface MobilityUpdatedResponse {
441
447
  errorMessage: string | null;
442
448
  }
443
449
 
444
- interface AssetCoOwnerResponse {
445
- id: string;
446
- name: string;
447
- coOwnershipShare: number;
448
- }
449
-
450
450
  interface MobilityResponse {
451
451
  id: string;
452
452
  name: string;
package/dist/index.d.ts CHANGED
@@ -81,11 +81,17 @@ declare enum UserStatusEnum {
81
81
  BLACK_LISTED = "BLACK_LISTED"
82
82
  }
83
83
 
84
+ interface AssetCoOwnerInput {
85
+ id: string;
86
+ coOwnershipShare: number;
87
+ }
88
+
84
89
  interface UpdateBankAccountInput {
85
90
  id: string;
86
91
  name?: string;
87
92
  alertThreshold?: number;
88
93
  position?: number;
94
+ coOwner?: AssetCoOwnerInput | null;
89
95
  }
90
96
 
91
97
  interface AllocateTransactionInput {
@@ -101,11 +107,6 @@ interface UpdateBankAccountTransactionInput {
101
107
  newApplicationDate?: Date;
102
108
  }
103
109
 
104
- interface AssetCoOwnerInput {
105
- id: string;
106
- coOwnershipShare: number;
107
- }
108
-
109
110
  interface CreateMobilityInput {
110
111
  name: string;
111
112
  imageUrl: string | null;
@@ -170,7 +171,6 @@ interface CreateBudgetExpensesAllocationInput {
170
171
  currency: string;
171
172
  theoricalValuePerMonth: number;
172
173
  bankAccountId: string | null;
173
- createPreviousMonth: boolean;
174
174
  }
175
175
 
176
176
  interface DeleteBudgetExpensesAllocationInput {
@@ -195,7 +195,6 @@ interface CreateBudgetIncomesAllocationInput {
195
195
  currency: string;
196
196
  theoricalValuePerMonth: number;
197
197
  bankAccountId: string | null;
198
- createPreviousMonth: boolean;
199
198
  }
200
199
 
201
200
  interface DeleteBudgetIncomesAllocationInput {
@@ -319,6 +318,12 @@ interface BankAccountTransactionCounterpartyResponse {
319
318
  type: string | null;
320
319
  }
321
320
 
321
+ interface AssetCoOwnerResponse {
322
+ id: string;
323
+ name: string;
324
+ coOwnershipShare: number;
325
+ }
326
+
322
327
  interface BankAccountResponse {
323
328
  id: string;
324
329
  powensId: number;
@@ -333,6 +338,7 @@ interface BankAccountResponse {
333
338
  position: number;
334
339
  deletedByBank: Date | null;
335
340
  transactions: BankAccountTransactionResponse[];
341
+ coOwner: AssetCoOwnerResponse | null;
336
342
  }
337
343
 
338
344
  interface BudgetIncomesAllocationResponse {
@@ -441,12 +447,6 @@ interface MobilityUpdatedResponse {
441
447
  errorMessage: string | null;
442
448
  }
443
449
 
444
- interface AssetCoOwnerResponse {
445
- id: string;
446
- name: string;
447
- coOwnershipShare: number;
448
- }
449
-
450
450
  interface MobilityResponse {
451
451
  id: string;
452
452
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.96",
3
+ "version": "2.0.98",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",