sowhat-types 2.0.59 → 2.0.61

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
@@ -179,11 +179,11 @@ interface LogoutUserInput {
179
179
 
180
180
  interface CreateBudgetExpensesAllocationInput {
181
181
  name: string;
182
- theoricalValuePerMonth: number;
183
- currency: string;
184
- color: string;
185
182
  icon: string;
186
- note: string | null;
183
+ color: string;
184
+ currency: string;
185
+ theoricalValuePerMonth: number;
186
+ bankAccountId: string | null;
187
187
  }
188
188
 
189
189
  interface DeleteBudgetExpensesAllocationInput {
@@ -192,11 +192,11 @@ interface DeleteBudgetExpensesAllocationInput {
192
192
 
193
193
  interface CreateBudgetIncomesAllocationInput {
194
194
  name: string;
195
- theoricalValuePerMonth: number;
196
- currency: string;
197
- color: string;
198
195
  icon: string;
199
- note: string | null;
196
+ color: string;
197
+ currency: string;
198
+ theoricalValuePerMonth: number;
199
+ bankAccountId: string | null;
200
200
  }
201
201
 
202
202
  interface DeleteBudgetIncomesAllocationInput {
@@ -235,6 +235,19 @@ interface PaginationInput {
235
235
  limit: number;
236
236
  }
237
237
 
238
+ interface BankAccountResponse {
239
+ id: string;
240
+ powensId: number;
241
+ balance: number | null;
242
+ comingBalance: number | null;
243
+ name: string;
244
+ currency: string | null;
245
+ type: BankAccountTypeEnum;
246
+ gotLoan: boolean;
247
+ iban: string | null;
248
+ position: number;
249
+ }
250
+
238
251
  interface BankAccountOriginalTransactionResponse {
239
252
  value: number;
240
253
  currency: string;
@@ -245,14 +258,14 @@ interface BankAccountOriginalTransactionResponse {
245
258
  interface BudgetIncomesAllocationResponse {
246
259
  id: string;
247
260
  name: string;
248
- budget: string;
249
261
  icon: string;
250
262
  color: string;
263
+ budget: string;
251
264
  theoricalValuePerMonth: number;
252
265
  value: number;
253
266
  currency: string;
254
- note: string | null;
255
267
  transactions: BankAccountTransactionResponse[];
268
+ bankAccount: BankAccountResponse | null;
256
269
  updatedAt: Date | null;
257
270
  createdAt: Date;
258
271
  }
@@ -282,14 +295,14 @@ interface BankAccountTransactionResponse {
282
295
  interface BudgetExpensesAllocationResponse {
283
296
  id: string;
284
297
  name: string;
285
- budget: string;
286
298
  icon: string;
287
299
  color: string;
300
+ budget: string;
288
301
  theoricalValuePerMonth: number;
289
302
  value: number;
290
303
  currency: string;
291
- note: string | null;
292
304
  transactions: BankAccountTransactionResponse[];
305
+ bankAccount: BankAccountResponse | null;
293
306
  updatedAt: Date | null;
294
307
  createdAt: Date;
295
308
  }
@@ -355,19 +368,6 @@ interface BankAccountUpdatedResponse {
355
368
  errorMessage: string | null;
356
369
  }
357
370
 
358
- interface BankAccountResponse {
359
- id: string;
360
- powensId: number;
361
- balance: number | null;
362
- comingBalance: number | null;
363
- name: string;
364
- currency: string | null;
365
- type: BankAccountTypeEnum;
366
- gotLoan: boolean;
367
- iban: string | null;
368
- position: number;
369
- }
370
-
371
371
  interface BankAccountsBatchUpdatedResponse {
372
372
  batchUpdated: boolean;
373
373
  errorMessage: string | null;
package/dist/index.d.ts CHANGED
@@ -179,11 +179,11 @@ interface LogoutUserInput {
179
179
 
180
180
  interface CreateBudgetExpensesAllocationInput {
181
181
  name: string;
182
- theoricalValuePerMonth: number;
183
- currency: string;
184
- color: string;
185
182
  icon: string;
186
- note: string | null;
183
+ color: string;
184
+ currency: string;
185
+ theoricalValuePerMonth: number;
186
+ bankAccountId: string | null;
187
187
  }
188
188
 
189
189
  interface DeleteBudgetExpensesAllocationInput {
@@ -192,11 +192,11 @@ interface DeleteBudgetExpensesAllocationInput {
192
192
 
193
193
  interface CreateBudgetIncomesAllocationInput {
194
194
  name: string;
195
- theoricalValuePerMonth: number;
196
- currency: string;
197
- color: string;
198
195
  icon: string;
199
- note: string | null;
196
+ color: string;
197
+ currency: string;
198
+ theoricalValuePerMonth: number;
199
+ bankAccountId: string | null;
200
200
  }
201
201
 
202
202
  interface DeleteBudgetIncomesAllocationInput {
@@ -235,6 +235,19 @@ interface PaginationInput {
235
235
  limit: number;
236
236
  }
237
237
 
238
+ interface BankAccountResponse {
239
+ id: string;
240
+ powensId: number;
241
+ balance: number | null;
242
+ comingBalance: number | null;
243
+ name: string;
244
+ currency: string | null;
245
+ type: BankAccountTypeEnum;
246
+ gotLoan: boolean;
247
+ iban: string | null;
248
+ position: number;
249
+ }
250
+
238
251
  interface BankAccountOriginalTransactionResponse {
239
252
  value: number;
240
253
  currency: string;
@@ -245,14 +258,14 @@ interface BankAccountOriginalTransactionResponse {
245
258
  interface BudgetIncomesAllocationResponse {
246
259
  id: string;
247
260
  name: string;
248
- budget: string;
249
261
  icon: string;
250
262
  color: string;
263
+ budget: string;
251
264
  theoricalValuePerMonth: number;
252
265
  value: number;
253
266
  currency: string;
254
- note: string | null;
255
267
  transactions: BankAccountTransactionResponse[];
268
+ bankAccount: BankAccountResponse | null;
256
269
  updatedAt: Date | null;
257
270
  createdAt: Date;
258
271
  }
@@ -282,14 +295,14 @@ interface BankAccountTransactionResponse {
282
295
  interface BudgetExpensesAllocationResponse {
283
296
  id: string;
284
297
  name: string;
285
- budget: string;
286
298
  icon: string;
287
299
  color: string;
300
+ budget: string;
288
301
  theoricalValuePerMonth: number;
289
302
  value: number;
290
303
  currency: string;
291
- note: string | null;
292
304
  transactions: BankAccountTransactionResponse[];
305
+ bankAccount: BankAccountResponse | null;
293
306
  updatedAt: Date | null;
294
307
  createdAt: Date;
295
308
  }
@@ -355,19 +368,6 @@ interface BankAccountUpdatedResponse {
355
368
  errorMessage: string | null;
356
369
  }
357
370
 
358
- interface BankAccountResponse {
359
- id: string;
360
- powensId: number;
361
- balance: number | null;
362
- comingBalance: number | null;
363
- name: string;
364
- currency: string | null;
365
- type: BankAccountTypeEnum;
366
- gotLoan: boolean;
367
- iban: string | null;
368
- position: number;
369
- }
370
-
371
371
  interface BankAccountsBatchUpdatedResponse {
372
372
  batchUpdated: boolean;
373
373
  errorMessage: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.59",
3
+ "version": "2.0.61",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",