sowhat-types 2.0.60 → 2.0.62
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 +28 -26
- package/dist/index.d.ts +28 -26
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -85,7 +85,8 @@ interface FetchBankAccountsListInput {
|
|
|
85
85
|
|
|
86
86
|
interface UpdateBankAccountInput {
|
|
87
87
|
id: string;
|
|
88
|
-
|
|
88
|
+
name?: string;
|
|
89
|
+
alertThreshold?: number;
|
|
89
90
|
position?: number;
|
|
90
91
|
}
|
|
91
92
|
|
|
@@ -179,11 +180,11 @@ interface LogoutUserInput {
|
|
|
179
180
|
|
|
180
181
|
interface CreateBudgetExpensesAllocationInput {
|
|
181
182
|
name: string;
|
|
182
|
-
theoricalValuePerMonth: number;
|
|
183
|
-
currency: string;
|
|
184
|
-
color: string;
|
|
185
183
|
icon: string;
|
|
186
|
-
|
|
184
|
+
color: string;
|
|
185
|
+
currency: string;
|
|
186
|
+
theoricalValuePerMonth: number;
|
|
187
|
+
bankAccountId: string | null;
|
|
187
188
|
}
|
|
188
189
|
|
|
189
190
|
interface DeleteBudgetExpensesAllocationInput {
|
|
@@ -192,11 +193,11 @@ interface DeleteBudgetExpensesAllocationInput {
|
|
|
192
193
|
|
|
193
194
|
interface CreateBudgetIncomesAllocationInput {
|
|
194
195
|
name: string;
|
|
195
|
-
theoricalValuePerMonth: number;
|
|
196
|
-
currency: string;
|
|
197
|
-
color: string;
|
|
198
196
|
icon: string;
|
|
199
|
-
|
|
197
|
+
color: string;
|
|
198
|
+
currency: string;
|
|
199
|
+
theoricalValuePerMonth: number;
|
|
200
|
+
bankAccountId: string | null;
|
|
200
201
|
}
|
|
201
202
|
|
|
202
203
|
interface DeleteBudgetIncomesAllocationInput {
|
|
@@ -235,6 +236,20 @@ interface PaginationInput {
|
|
|
235
236
|
limit: number;
|
|
236
237
|
}
|
|
237
238
|
|
|
239
|
+
interface BankAccountResponse {
|
|
240
|
+
id: string;
|
|
241
|
+
powensId: number;
|
|
242
|
+
name: string;
|
|
243
|
+
balance: number | null;
|
|
244
|
+
comingBalance: number | null;
|
|
245
|
+
currency: string | null;
|
|
246
|
+
alertThreshold: number;
|
|
247
|
+
type: BankAccountTypeEnum;
|
|
248
|
+
gotLoan: boolean;
|
|
249
|
+
iban: string | null;
|
|
250
|
+
position: number;
|
|
251
|
+
}
|
|
252
|
+
|
|
238
253
|
interface BankAccountOriginalTransactionResponse {
|
|
239
254
|
value: number;
|
|
240
255
|
currency: string;
|
|
@@ -245,14 +260,14 @@ interface BankAccountOriginalTransactionResponse {
|
|
|
245
260
|
interface BudgetIncomesAllocationResponse {
|
|
246
261
|
id: string;
|
|
247
262
|
name: string;
|
|
248
|
-
budget: string;
|
|
249
263
|
icon: string;
|
|
250
264
|
color: string;
|
|
265
|
+
budget: string;
|
|
251
266
|
theoricalValuePerMonth: number;
|
|
252
267
|
value: number;
|
|
253
268
|
currency: string;
|
|
254
|
-
note: string | null;
|
|
255
269
|
transactions: BankAccountTransactionResponse[];
|
|
270
|
+
bankAccount: BankAccountResponse | null;
|
|
256
271
|
updatedAt: Date | null;
|
|
257
272
|
createdAt: Date;
|
|
258
273
|
}
|
|
@@ -282,14 +297,14 @@ interface BankAccountTransactionResponse {
|
|
|
282
297
|
interface BudgetExpensesAllocationResponse {
|
|
283
298
|
id: string;
|
|
284
299
|
name: string;
|
|
285
|
-
budget: string;
|
|
286
300
|
icon: string;
|
|
287
301
|
color: string;
|
|
302
|
+
budget: string;
|
|
288
303
|
theoricalValuePerMonth: number;
|
|
289
304
|
value: number;
|
|
290
305
|
currency: string;
|
|
291
|
-
note: string | null;
|
|
292
306
|
transactions: BankAccountTransactionResponse[];
|
|
307
|
+
bankAccount: BankAccountResponse | null;
|
|
293
308
|
updatedAt: Date | null;
|
|
294
309
|
createdAt: Date;
|
|
295
310
|
}
|
|
@@ -355,19 +370,6 @@ interface BankAccountUpdatedResponse {
|
|
|
355
370
|
errorMessage: string | null;
|
|
356
371
|
}
|
|
357
372
|
|
|
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
373
|
interface BankAccountsBatchUpdatedResponse {
|
|
372
374
|
batchUpdated: boolean;
|
|
373
375
|
errorMessage: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -85,7 +85,8 @@ interface FetchBankAccountsListInput {
|
|
|
85
85
|
|
|
86
86
|
interface UpdateBankAccountInput {
|
|
87
87
|
id: string;
|
|
88
|
-
|
|
88
|
+
name?: string;
|
|
89
|
+
alertThreshold?: number;
|
|
89
90
|
position?: number;
|
|
90
91
|
}
|
|
91
92
|
|
|
@@ -179,11 +180,11 @@ interface LogoutUserInput {
|
|
|
179
180
|
|
|
180
181
|
interface CreateBudgetExpensesAllocationInput {
|
|
181
182
|
name: string;
|
|
182
|
-
theoricalValuePerMonth: number;
|
|
183
|
-
currency: string;
|
|
184
|
-
color: string;
|
|
185
183
|
icon: string;
|
|
186
|
-
|
|
184
|
+
color: string;
|
|
185
|
+
currency: string;
|
|
186
|
+
theoricalValuePerMonth: number;
|
|
187
|
+
bankAccountId: string | null;
|
|
187
188
|
}
|
|
188
189
|
|
|
189
190
|
interface DeleteBudgetExpensesAllocationInput {
|
|
@@ -192,11 +193,11 @@ interface DeleteBudgetExpensesAllocationInput {
|
|
|
192
193
|
|
|
193
194
|
interface CreateBudgetIncomesAllocationInput {
|
|
194
195
|
name: string;
|
|
195
|
-
theoricalValuePerMonth: number;
|
|
196
|
-
currency: string;
|
|
197
|
-
color: string;
|
|
198
196
|
icon: string;
|
|
199
|
-
|
|
197
|
+
color: string;
|
|
198
|
+
currency: string;
|
|
199
|
+
theoricalValuePerMonth: number;
|
|
200
|
+
bankAccountId: string | null;
|
|
200
201
|
}
|
|
201
202
|
|
|
202
203
|
interface DeleteBudgetIncomesAllocationInput {
|
|
@@ -235,6 +236,20 @@ interface PaginationInput {
|
|
|
235
236
|
limit: number;
|
|
236
237
|
}
|
|
237
238
|
|
|
239
|
+
interface BankAccountResponse {
|
|
240
|
+
id: string;
|
|
241
|
+
powensId: number;
|
|
242
|
+
name: string;
|
|
243
|
+
balance: number | null;
|
|
244
|
+
comingBalance: number | null;
|
|
245
|
+
currency: string | null;
|
|
246
|
+
alertThreshold: number;
|
|
247
|
+
type: BankAccountTypeEnum;
|
|
248
|
+
gotLoan: boolean;
|
|
249
|
+
iban: string | null;
|
|
250
|
+
position: number;
|
|
251
|
+
}
|
|
252
|
+
|
|
238
253
|
interface BankAccountOriginalTransactionResponse {
|
|
239
254
|
value: number;
|
|
240
255
|
currency: string;
|
|
@@ -245,14 +260,14 @@ interface BankAccountOriginalTransactionResponse {
|
|
|
245
260
|
interface BudgetIncomesAllocationResponse {
|
|
246
261
|
id: string;
|
|
247
262
|
name: string;
|
|
248
|
-
budget: string;
|
|
249
263
|
icon: string;
|
|
250
264
|
color: string;
|
|
265
|
+
budget: string;
|
|
251
266
|
theoricalValuePerMonth: number;
|
|
252
267
|
value: number;
|
|
253
268
|
currency: string;
|
|
254
|
-
note: string | null;
|
|
255
269
|
transactions: BankAccountTransactionResponse[];
|
|
270
|
+
bankAccount: BankAccountResponse | null;
|
|
256
271
|
updatedAt: Date | null;
|
|
257
272
|
createdAt: Date;
|
|
258
273
|
}
|
|
@@ -282,14 +297,14 @@ interface BankAccountTransactionResponse {
|
|
|
282
297
|
interface BudgetExpensesAllocationResponse {
|
|
283
298
|
id: string;
|
|
284
299
|
name: string;
|
|
285
|
-
budget: string;
|
|
286
300
|
icon: string;
|
|
287
301
|
color: string;
|
|
302
|
+
budget: string;
|
|
288
303
|
theoricalValuePerMonth: number;
|
|
289
304
|
value: number;
|
|
290
305
|
currency: string;
|
|
291
|
-
note: string | null;
|
|
292
306
|
transactions: BankAccountTransactionResponse[];
|
|
307
|
+
bankAccount: BankAccountResponse | null;
|
|
293
308
|
updatedAt: Date | null;
|
|
294
309
|
createdAt: Date;
|
|
295
310
|
}
|
|
@@ -355,19 +370,6 @@ interface BankAccountUpdatedResponse {
|
|
|
355
370
|
errorMessage: string | null;
|
|
356
371
|
}
|
|
357
372
|
|
|
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
373
|
interface BankAccountsBatchUpdatedResponse {
|
|
372
374
|
batchUpdated: boolean;
|
|
373
375
|
errorMessage: string | null;
|