sowhat-types 2.0.27 → 2.0.28

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,6 +179,48 @@ interface FetchUserCoOwnerInput {
179
179
  coOwnerId: string;
180
180
  }
181
181
 
182
+ interface BudgetExpensesAllocationResponse {
183
+ id: string;
184
+ userId: string;
185
+ name: string;
186
+ budget: string;
187
+ icon: string;
188
+ color: string;
189
+ theoricalValuePerMonth: number;
190
+ note: string | null;
191
+ updatedAt: Date | null;
192
+ createdAt: Date;
193
+ }
194
+
195
+ interface BudgetExpensesAllocationsResponse {
196
+ id: string;
197
+ allocations: BudgetExpensesAllocationResponse[];
198
+ }
199
+
200
+ interface BudgetIncomesAllocationResponse {
201
+ id: string;
202
+ userId: string;
203
+ name: string;
204
+ budget: string;
205
+ icon: string;
206
+ color: string;
207
+ theoricalValuePerMonth: number;
208
+ note: string | null;
209
+ updatedAt: Date | null;
210
+ createdAt: Date;
211
+ }
212
+
213
+ interface BudgetIncomesAllocationsResponse {
214
+ id: string;
215
+ allocations: BudgetIncomesAllocationResponse[];
216
+ }
217
+
218
+ interface TransactionBudgetAllocationsResponse {
219
+ type: BudgetTypeEnum;
220
+ mainBudget: BudgetIncomesAllocationsResponse | BudgetExpensesAllocationsResponse;
221
+ previousBudget: BudgetIncomesAllocationsResponse | BudgetExpensesAllocationsResponse | null;
222
+ }
223
+
182
224
  interface BankAccountBalancesResponse {
183
225
  /**
184
226
  * total balance for checking type accounts
@@ -361,47 +403,11 @@ interface BudgetExpensesAllocationDeletedResponse {
361
403
  errorMessage: string | null;
362
404
  }
363
405
 
364
- interface BudgetExpensesAllocationResponse {
365
- id: string;
366
- userId: string;
367
- name: string;
368
- budget: string;
369
- icon: string;
370
- color: string;
371
- theoricalValuePerMonth: number;
372
- note: string | null;
373
- updatedAt: Date | null;
374
- createdAt: Date;
375
- }
376
-
377
- interface BudgetExpensesAllocationsResponse {
378
- id: string;
379
- allocations: BudgetExpensesAllocationResponse[];
380
- }
381
-
382
406
  interface BudgetIncomesAllocationDeletedResponse {
383
407
  deleted: boolean;
384
408
  errorMessage: string | null;
385
409
  }
386
410
 
387
- interface BudgetIncomesAllocationResponse {
388
- id: string;
389
- userId: string;
390
- name: string;
391
- budget: string;
392
- icon: string;
393
- color: string;
394
- theoricalValuePerMonth: number;
395
- note: string | null;
396
- updatedAt: Date | null;
397
- createdAt: Date;
398
- }
399
-
400
- interface BudgetIncomesAllocationsResponse {
401
- id: string;
402
- allocations: BudgetIncomesAllocationResponse[];
403
- }
404
-
405
411
  interface CoOwnerDeletedResponse {
406
412
  deleted: boolean;
407
413
  errorMessage: string | null;
@@ -453,4 +459,4 @@ declare class FilterArgs {
453
459
  take: number;
454
460
  }
455
461
 
456
- export { type AccessTokensResponse, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse, SupportedCurrencyEnum, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
462
+ export { type AccessTokensResponse, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse, SupportedCurrencyEnum, type TransactionBudgetAllocationsResponse, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
package/dist/index.d.ts CHANGED
@@ -179,6 +179,48 @@ interface FetchUserCoOwnerInput {
179
179
  coOwnerId: string;
180
180
  }
181
181
 
182
+ interface BudgetExpensesAllocationResponse {
183
+ id: string;
184
+ userId: string;
185
+ name: string;
186
+ budget: string;
187
+ icon: string;
188
+ color: string;
189
+ theoricalValuePerMonth: number;
190
+ note: string | null;
191
+ updatedAt: Date | null;
192
+ createdAt: Date;
193
+ }
194
+
195
+ interface BudgetExpensesAllocationsResponse {
196
+ id: string;
197
+ allocations: BudgetExpensesAllocationResponse[];
198
+ }
199
+
200
+ interface BudgetIncomesAllocationResponse {
201
+ id: string;
202
+ userId: string;
203
+ name: string;
204
+ budget: string;
205
+ icon: string;
206
+ color: string;
207
+ theoricalValuePerMonth: number;
208
+ note: string | null;
209
+ updatedAt: Date | null;
210
+ createdAt: Date;
211
+ }
212
+
213
+ interface BudgetIncomesAllocationsResponse {
214
+ id: string;
215
+ allocations: BudgetIncomesAllocationResponse[];
216
+ }
217
+
218
+ interface TransactionBudgetAllocationsResponse {
219
+ type: BudgetTypeEnum;
220
+ mainBudget: BudgetIncomesAllocationsResponse | BudgetExpensesAllocationsResponse;
221
+ previousBudget: BudgetIncomesAllocationsResponse | BudgetExpensesAllocationsResponse | null;
222
+ }
223
+
182
224
  interface BankAccountBalancesResponse {
183
225
  /**
184
226
  * total balance for checking type accounts
@@ -361,47 +403,11 @@ interface BudgetExpensesAllocationDeletedResponse {
361
403
  errorMessage: string | null;
362
404
  }
363
405
 
364
- interface BudgetExpensesAllocationResponse {
365
- id: string;
366
- userId: string;
367
- name: string;
368
- budget: string;
369
- icon: string;
370
- color: string;
371
- theoricalValuePerMonth: number;
372
- note: string | null;
373
- updatedAt: Date | null;
374
- createdAt: Date;
375
- }
376
-
377
- interface BudgetExpensesAllocationsResponse {
378
- id: string;
379
- allocations: BudgetExpensesAllocationResponse[];
380
- }
381
-
382
406
  interface BudgetIncomesAllocationDeletedResponse {
383
407
  deleted: boolean;
384
408
  errorMessage: string | null;
385
409
  }
386
410
 
387
- interface BudgetIncomesAllocationResponse {
388
- id: string;
389
- userId: string;
390
- name: string;
391
- budget: string;
392
- icon: string;
393
- color: string;
394
- theoricalValuePerMonth: number;
395
- note: string | null;
396
- updatedAt: Date | null;
397
- createdAt: Date;
398
- }
399
-
400
- interface BudgetIncomesAllocationsResponse {
401
- id: string;
402
- allocations: BudgetIncomesAllocationResponse[];
403
- }
404
-
405
411
  interface CoOwnerDeletedResponse {
406
412
  deleted: boolean;
407
413
  errorMessage: string | null;
@@ -453,4 +459,4 @@ declare class FilterArgs {
453
459
  take: number;
454
460
  }
455
461
 
456
- export { type AccessTokensResponse, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse, SupportedCurrencyEnum, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
462
+ export { type AccessTokensResponse, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse, SupportedCurrencyEnum, type TransactionBudgetAllocationsResponse, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.27",
3
+ "version": "2.0.28",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",