sowhat-types 2.0.95 → 2.0.97

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;
@@ -249,7 +250,6 @@ interface CreateUserCoOwnerInput {
249
250
  name: string;
250
251
  imageUrl: string | null;
251
252
  email: string | null;
252
- phone: string | null;
253
253
  }
254
254
 
255
255
  interface DeleteUserCoOwnerInput {
@@ -320,6 +320,12 @@ interface BankAccountTransactionCounterpartyResponse {
320
320
  type: string | null;
321
321
  }
322
322
 
323
+ interface AssetCoOwnerResponse {
324
+ id: string;
325
+ name: string;
326
+ coOwnershipShare: number;
327
+ }
328
+
323
329
  interface BankAccountResponse {
324
330
  id: string;
325
331
  powensId: number;
@@ -334,6 +340,7 @@ interface BankAccountResponse {
334
340
  position: number;
335
341
  deletedByBank: Date | null;
336
342
  transactions: BankAccountTransactionResponse[];
343
+ coOwner: AssetCoOwnerResponse | null;
337
344
  }
338
345
 
339
346
  interface BudgetIncomesAllocationResponse {
@@ -442,12 +449,6 @@ interface MobilityUpdatedResponse {
442
449
  errorMessage: string | null;
443
450
  }
444
451
 
445
- interface AssetCoOwnerResponse {
446
- id: string;
447
- name: string;
448
- coOwnershipShare: number;
449
- }
450
-
451
452
  interface MobilityResponse {
452
453
  id: string;
453
454
  name: string;
@@ -632,7 +633,6 @@ interface CoOwnerResponse {
632
633
  name: string;
633
634
  imageUrl: string | null;
634
635
  email: string | null;
635
- phone: string | null;
636
636
  updatedAt: Date;
637
637
  createdAt: Date;
638
638
  }
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;
@@ -249,7 +250,6 @@ interface CreateUserCoOwnerInput {
249
250
  name: string;
250
251
  imageUrl: string | null;
251
252
  email: string | null;
252
- phone: string | null;
253
253
  }
254
254
 
255
255
  interface DeleteUserCoOwnerInput {
@@ -320,6 +320,12 @@ interface BankAccountTransactionCounterpartyResponse {
320
320
  type: string | null;
321
321
  }
322
322
 
323
+ interface AssetCoOwnerResponse {
324
+ id: string;
325
+ name: string;
326
+ coOwnershipShare: number;
327
+ }
328
+
323
329
  interface BankAccountResponse {
324
330
  id: string;
325
331
  powensId: number;
@@ -334,6 +340,7 @@ interface BankAccountResponse {
334
340
  position: number;
335
341
  deletedByBank: Date | null;
336
342
  transactions: BankAccountTransactionResponse[];
343
+ coOwner: AssetCoOwnerResponse | null;
337
344
  }
338
345
 
339
346
  interface BudgetIncomesAllocationResponse {
@@ -442,12 +449,6 @@ interface MobilityUpdatedResponse {
442
449
  errorMessage: string | null;
443
450
  }
444
451
 
445
- interface AssetCoOwnerResponse {
446
- id: string;
447
- name: string;
448
- coOwnershipShare: number;
449
- }
450
-
451
452
  interface MobilityResponse {
452
453
  id: string;
453
454
  name: string;
@@ -632,7 +633,6 @@ interface CoOwnerResponse {
632
633
  name: string;
633
634
  imageUrl: string | null;
634
635
  email: string | null;
635
- phone: string | null;
636
636
  updatedAt: Date;
637
637
  createdAt: Date;
638
638
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.95",
3
+ "version": "2.0.97",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",