sowhat-types 2.0.32 → 2.0.33
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 +35 -32
- package/dist/index.d.ts +35 -32
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -187,7 +187,14 @@ interface FetchUserCoOwnerInput {
|
|
|
187
187
|
coOwnerId: string;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
interface
|
|
190
|
+
interface BankAccountOriginalTransactionResponse {
|
|
191
|
+
value: number;
|
|
192
|
+
currency: string;
|
|
193
|
+
commission: number;
|
|
194
|
+
commissionCurrency: string | null;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
interface BudgetIncomesAllocationResponse {
|
|
191
198
|
id: string;
|
|
192
199
|
name: string;
|
|
193
200
|
budget: string;
|
|
@@ -197,16 +204,34 @@ interface BudgetExpensesAllocationResponse {
|
|
|
197
204
|
value: number;
|
|
198
205
|
currency: string;
|
|
199
206
|
note: string | null;
|
|
207
|
+
transactions: BankAccountTransactionResponse[];
|
|
200
208
|
updatedAt: Date | null;
|
|
201
209
|
createdAt: Date;
|
|
202
210
|
}
|
|
203
211
|
|
|
204
|
-
interface
|
|
212
|
+
interface BankAccountTransactionResponse {
|
|
205
213
|
id: string;
|
|
206
|
-
|
|
214
|
+
accountId: string;
|
|
215
|
+
applicationDate: Date;
|
|
216
|
+
date: Date;
|
|
217
|
+
value: number | null;
|
|
218
|
+
currency: string | null;
|
|
219
|
+
name: string;
|
|
220
|
+
coming: boolean;
|
|
221
|
+
active: boolean;
|
|
222
|
+
cardNumber: string | null;
|
|
223
|
+
note: string | null;
|
|
224
|
+
lastUpdate: Date | null;
|
|
225
|
+
deleted: Date | null;
|
|
226
|
+
type: BankAccountTransactionTypeEnum;
|
|
227
|
+
originalTransaction: BankAccountOriginalTransactionResponse | null;
|
|
228
|
+
country: string | null;
|
|
229
|
+
category: BudgetTypeEnum;
|
|
230
|
+
allocation: BudgetIncomesAllocationResponse | BudgetExpensesAllocationResponse | null;
|
|
231
|
+
allocated: Date | null;
|
|
207
232
|
}
|
|
208
233
|
|
|
209
|
-
interface
|
|
234
|
+
interface BudgetExpensesAllocationResponse {
|
|
210
235
|
id: string;
|
|
211
236
|
name: string;
|
|
212
237
|
budget: string;
|
|
@@ -216,10 +241,16 @@ interface BudgetIncomesAllocationResponse {
|
|
|
216
241
|
value: number;
|
|
217
242
|
currency: string;
|
|
218
243
|
note: string | null;
|
|
244
|
+
transactions: BankAccountTransactionResponse[];
|
|
219
245
|
updatedAt: Date | null;
|
|
220
246
|
createdAt: Date;
|
|
221
247
|
}
|
|
222
248
|
|
|
249
|
+
interface BudgetExpensesAllocationsResponse {
|
|
250
|
+
id: string;
|
|
251
|
+
allocations: BudgetExpensesAllocationResponse[];
|
|
252
|
+
}
|
|
253
|
+
|
|
223
254
|
interface BudgetIncomesAllocationsResponse {
|
|
224
255
|
id: string;
|
|
225
256
|
allocations: BudgetIncomesAllocationResponse[];
|
|
@@ -254,40 +285,12 @@ interface BankAccountBalancesResponse {
|
|
|
254
285
|
currency: string;
|
|
255
286
|
}
|
|
256
287
|
|
|
257
|
-
interface BankAccountOriginalTransactionResponse {
|
|
258
|
-
value: number;
|
|
259
|
-
currency: string;
|
|
260
|
-
commission: number;
|
|
261
|
-
commissionCurrency: string | null;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
288
|
interface BankAccountTransactionCounterpartyResponse {
|
|
265
289
|
label: string | null;
|
|
266
290
|
accountScheme: BankAccountSchemeNameEnum | null;
|
|
267
291
|
type: string | null;
|
|
268
292
|
}
|
|
269
293
|
|
|
270
|
-
interface BankAccountTransactionResponse {
|
|
271
|
-
id: string;
|
|
272
|
-
accountId: string;
|
|
273
|
-
applicationDate: Date;
|
|
274
|
-
date: Date;
|
|
275
|
-
value: number | null;
|
|
276
|
-
currency: string | null;
|
|
277
|
-
name: string;
|
|
278
|
-
coming: boolean;
|
|
279
|
-
active: boolean;
|
|
280
|
-
cardNumber: string | null;
|
|
281
|
-
note: string | null;
|
|
282
|
-
lastUpdate: Date | null;
|
|
283
|
-
deleted: Date | null;
|
|
284
|
-
type: BankAccountTransactionTypeEnum;
|
|
285
|
-
originalTransaction: BankAccountOriginalTransactionResponse | null;
|
|
286
|
-
country: string | null;
|
|
287
|
-
allocation: BudgetIncomesAllocationResponse | BudgetExpensesAllocationResponse | null;
|
|
288
|
-
allocated: Date | null;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
294
|
interface PaginationResponse {
|
|
292
295
|
offset: number | null;
|
|
293
296
|
limit: number | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -187,7 +187,14 @@ interface FetchUserCoOwnerInput {
|
|
|
187
187
|
coOwnerId: string;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
interface
|
|
190
|
+
interface BankAccountOriginalTransactionResponse {
|
|
191
|
+
value: number;
|
|
192
|
+
currency: string;
|
|
193
|
+
commission: number;
|
|
194
|
+
commissionCurrency: string | null;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
interface BudgetIncomesAllocationResponse {
|
|
191
198
|
id: string;
|
|
192
199
|
name: string;
|
|
193
200
|
budget: string;
|
|
@@ -197,16 +204,34 @@ interface BudgetExpensesAllocationResponse {
|
|
|
197
204
|
value: number;
|
|
198
205
|
currency: string;
|
|
199
206
|
note: string | null;
|
|
207
|
+
transactions: BankAccountTransactionResponse[];
|
|
200
208
|
updatedAt: Date | null;
|
|
201
209
|
createdAt: Date;
|
|
202
210
|
}
|
|
203
211
|
|
|
204
|
-
interface
|
|
212
|
+
interface BankAccountTransactionResponse {
|
|
205
213
|
id: string;
|
|
206
|
-
|
|
214
|
+
accountId: string;
|
|
215
|
+
applicationDate: Date;
|
|
216
|
+
date: Date;
|
|
217
|
+
value: number | null;
|
|
218
|
+
currency: string | null;
|
|
219
|
+
name: string;
|
|
220
|
+
coming: boolean;
|
|
221
|
+
active: boolean;
|
|
222
|
+
cardNumber: string | null;
|
|
223
|
+
note: string | null;
|
|
224
|
+
lastUpdate: Date | null;
|
|
225
|
+
deleted: Date | null;
|
|
226
|
+
type: BankAccountTransactionTypeEnum;
|
|
227
|
+
originalTransaction: BankAccountOriginalTransactionResponse | null;
|
|
228
|
+
country: string | null;
|
|
229
|
+
category: BudgetTypeEnum;
|
|
230
|
+
allocation: BudgetIncomesAllocationResponse | BudgetExpensesAllocationResponse | null;
|
|
231
|
+
allocated: Date | null;
|
|
207
232
|
}
|
|
208
233
|
|
|
209
|
-
interface
|
|
234
|
+
interface BudgetExpensesAllocationResponse {
|
|
210
235
|
id: string;
|
|
211
236
|
name: string;
|
|
212
237
|
budget: string;
|
|
@@ -216,10 +241,16 @@ interface BudgetIncomesAllocationResponse {
|
|
|
216
241
|
value: number;
|
|
217
242
|
currency: string;
|
|
218
243
|
note: string | null;
|
|
244
|
+
transactions: BankAccountTransactionResponse[];
|
|
219
245
|
updatedAt: Date | null;
|
|
220
246
|
createdAt: Date;
|
|
221
247
|
}
|
|
222
248
|
|
|
249
|
+
interface BudgetExpensesAllocationsResponse {
|
|
250
|
+
id: string;
|
|
251
|
+
allocations: BudgetExpensesAllocationResponse[];
|
|
252
|
+
}
|
|
253
|
+
|
|
223
254
|
interface BudgetIncomesAllocationsResponse {
|
|
224
255
|
id: string;
|
|
225
256
|
allocations: BudgetIncomesAllocationResponse[];
|
|
@@ -254,40 +285,12 @@ interface BankAccountBalancesResponse {
|
|
|
254
285
|
currency: string;
|
|
255
286
|
}
|
|
256
287
|
|
|
257
|
-
interface BankAccountOriginalTransactionResponse {
|
|
258
|
-
value: number;
|
|
259
|
-
currency: string;
|
|
260
|
-
commission: number;
|
|
261
|
-
commissionCurrency: string | null;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
288
|
interface BankAccountTransactionCounterpartyResponse {
|
|
265
289
|
label: string | null;
|
|
266
290
|
accountScheme: BankAccountSchemeNameEnum | null;
|
|
267
291
|
type: string | null;
|
|
268
292
|
}
|
|
269
293
|
|
|
270
|
-
interface BankAccountTransactionResponse {
|
|
271
|
-
id: string;
|
|
272
|
-
accountId: string;
|
|
273
|
-
applicationDate: Date;
|
|
274
|
-
date: Date;
|
|
275
|
-
value: number | null;
|
|
276
|
-
currency: string | null;
|
|
277
|
-
name: string;
|
|
278
|
-
coming: boolean;
|
|
279
|
-
active: boolean;
|
|
280
|
-
cardNumber: string | null;
|
|
281
|
-
note: string | null;
|
|
282
|
-
lastUpdate: Date | null;
|
|
283
|
-
deleted: Date | null;
|
|
284
|
-
type: BankAccountTransactionTypeEnum;
|
|
285
|
-
originalTransaction: BankAccountOriginalTransactionResponse | null;
|
|
286
|
-
country: string | null;
|
|
287
|
-
allocation: BudgetIncomesAllocationResponse | BudgetExpensesAllocationResponse | null;
|
|
288
|
-
allocated: Date | null;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
294
|
interface PaginationResponse {
|
|
292
295
|
offset: number | null;
|
|
293
296
|
limit: number | null;
|