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