sowhat-types 2.0.66 → 2.0.68

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
@@ -224,6 +224,17 @@ interface UpdateBudgetIncomesAllocationInput {
224
224
  bankAccountId?: string | null;
225
225
  }
226
226
 
227
+ interface BatchUpdateBudgetSavingsAllocationInput {
228
+ id: string;
229
+ theoricalValuePerMonth?: number;
230
+ balance?: number;
231
+ currency: string;
232
+ }
233
+
234
+ interface BatchUpdateBudgetSavingsAllocationsInput {
235
+ allocations: BatchUpdateBudgetSavingsAllocationInput[];
236
+ }
237
+
227
238
  interface CreateBudgetSavingsAllocationInput {
228
239
  name: string;
229
240
  icon: string;
@@ -238,9 +249,6 @@ interface UpdateBudgetSavingsAllocationInput {
238
249
  name?: string;
239
250
  icon?: string;
240
251
  color?: string;
241
- theoricalValuePerMonth?: number;
242
- balance?: number;
243
- currency?: string;
244
252
  }
245
253
 
246
254
  interface UpdateUserInput {
@@ -563,6 +571,11 @@ interface BudgetSavingsAllocationResponse {
563
571
  updatedAt: Date | null;
564
572
  }
565
573
 
574
+ interface BudgetSavingsAllocationsBatchUpdatedResponse {
575
+ allUpdated: boolean;
576
+ errorMessage: string | null;
577
+ }
578
+
566
579
  interface UserSavingsBudgetResponse {
567
580
  /**
568
581
  * equal total user's savings, i.e. `sum of savings bank accounts of type SAVING`
@@ -683,4 +696,4 @@ declare class FilterArgs {
683
696
  take: number;
684
697
  }
685
698
 
686
- export { type AccessTokensResponse, type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, type AuthenticationAccessResponse, AuthenticationMethodEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountUpdatedResponse, type BankAccountsBatchUpdatedResponse, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsAllocationUpdatedResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchBankAccountsListInput, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type SavingsMonthlyOperationResponse, SortEnum, type StockExchangeResponse, SupportedCurrencyEnum, type TimePaginationInput, type TimePaginationResponse, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateInput, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsResponse, type UserCoOwnerResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
699
+ export { type AccessTokensResponse, type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, type AuthenticationAccessResponse, AuthenticationMethodEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountUpdatedResponse, type BankAccountsBatchUpdatedResponse, type BankAccountsResponse, type BatchUpdateBudgetSavingsAllocationInput, type BatchUpdateBudgetSavingsAllocationsInput, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsAllocationUpdatedResponse, type BudgetSavingsAllocationsBatchUpdatedResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchBankAccountsListInput, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type SavingsMonthlyOperationResponse, SortEnum, type StockExchangeResponse, SupportedCurrencyEnum, type TimePaginationInput, type TimePaginationResponse, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateInput, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsResponse, type UserCoOwnerResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
package/dist/index.d.ts CHANGED
@@ -224,6 +224,17 @@ interface UpdateBudgetIncomesAllocationInput {
224
224
  bankAccountId?: string | null;
225
225
  }
226
226
 
227
+ interface BatchUpdateBudgetSavingsAllocationInput {
228
+ id: string;
229
+ theoricalValuePerMonth?: number;
230
+ balance?: number;
231
+ currency: string;
232
+ }
233
+
234
+ interface BatchUpdateBudgetSavingsAllocationsInput {
235
+ allocations: BatchUpdateBudgetSavingsAllocationInput[];
236
+ }
237
+
227
238
  interface CreateBudgetSavingsAllocationInput {
228
239
  name: string;
229
240
  icon: string;
@@ -238,9 +249,6 @@ interface UpdateBudgetSavingsAllocationInput {
238
249
  name?: string;
239
250
  icon?: string;
240
251
  color?: string;
241
- theoricalValuePerMonth?: number;
242
- balance?: number;
243
- currency?: string;
244
252
  }
245
253
 
246
254
  interface UpdateUserInput {
@@ -563,6 +571,11 @@ interface BudgetSavingsAllocationResponse {
563
571
  updatedAt: Date | null;
564
572
  }
565
573
 
574
+ interface BudgetSavingsAllocationsBatchUpdatedResponse {
575
+ allUpdated: boolean;
576
+ errorMessage: string | null;
577
+ }
578
+
566
579
  interface UserSavingsBudgetResponse {
567
580
  /**
568
581
  * equal total user's savings, i.e. `sum of savings bank accounts of type SAVING`
@@ -683,4 +696,4 @@ declare class FilterArgs {
683
696
  take: number;
684
697
  }
685
698
 
686
- export { type AccessTokensResponse, type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, type AuthenticationAccessResponse, AuthenticationMethodEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountUpdatedResponse, type BankAccountsBatchUpdatedResponse, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsAllocationUpdatedResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchBankAccountsListInput, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type SavingsMonthlyOperationResponse, SortEnum, type StockExchangeResponse, SupportedCurrencyEnum, type TimePaginationInput, type TimePaginationResponse, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateInput, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsResponse, type UserCoOwnerResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
699
+ export { type AccessTokensResponse, type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, type AuthenticationAccessResponse, AuthenticationMethodEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountUpdatedResponse, type BankAccountsBatchUpdatedResponse, type BankAccountsResponse, type BatchUpdateBudgetSavingsAllocationInput, type BatchUpdateBudgetSavingsAllocationsInput, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsAllocationUpdatedResponse, type BudgetSavingsAllocationsBatchUpdatedResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchBankAccountsListInput, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type SavingsMonthlyOperationResponse, SortEnum, type StockExchangeResponse, SupportedCurrencyEnum, type TimePaginationInput, type TimePaginationResponse, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateInput, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsResponse, type UserCoOwnerResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.66",
3
+ "version": "2.0.68",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",