sowhat-types 2.0.61 → 2.0.63

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
@@ -85,7 +85,8 @@ interface FetchBankAccountsListInput {
85
85
 
86
86
  interface UpdateBankAccountInput {
87
87
  id: string;
88
- newName?: string;
88
+ name?: string;
89
+ alertThreshold?: number;
89
90
  position?: number;
90
91
  }
91
92
 
@@ -190,6 +191,16 @@ interface DeleteBudgetExpensesAllocationInput {
190
191
  id: string;
191
192
  }
192
193
 
194
+ interface UpdateBudgetExpensesAllocationInput {
195
+ id: string;
196
+ name?: string;
197
+ icon?: string;
198
+ color?: string;
199
+ currency?: string;
200
+ theoricalValuePerMonth?: number;
201
+ bankAccountId?: string | null;
202
+ }
203
+
193
204
  interface CreateBudgetIncomesAllocationInput {
194
205
  name: string;
195
206
  icon: string;
@@ -203,6 +214,16 @@ interface DeleteBudgetIncomesAllocationInput {
203
214
  id: string;
204
215
  }
205
216
 
217
+ interface UpdateBudgetIncomesAllocationInput {
218
+ id: string;
219
+ name?: string;
220
+ icon?: string;
221
+ color?: string;
222
+ currency?: string;
223
+ theoricalValuePerMonth?: number;
224
+ bankAccountId?: string | null;
225
+ }
226
+
206
227
  interface UpdateUserInput {
207
228
  currency?: AvailableCurrencyEnum;
208
229
  consentToBudget?: boolean;
@@ -238,10 +259,11 @@ interface PaginationInput {
238
259
  interface BankAccountResponse {
239
260
  id: string;
240
261
  powensId: number;
262
+ name: string;
241
263
  balance: number | null;
242
264
  comingBalance: number | null;
243
- name: string;
244
265
  currency: string | null;
266
+ alertThreshold: number;
245
267
  type: BankAccountTypeEnum;
246
268
  gotLoan: boolean;
247
269
  iban: string | null;
@@ -489,11 +511,21 @@ interface BudgetExpensesAllocationDeletedResponse {
489
511
  errorMessage: string | null;
490
512
  }
491
513
 
514
+ interface BudgetExpensesAllocationUpdatedResponse {
515
+ updated: boolean;
516
+ errorMessage: string | null;
517
+ }
518
+
492
519
  interface BudgetIncomesAllocationDeletedResponse {
493
520
  deleted: boolean;
494
521
  errorMessage: string | null;
495
522
  }
496
523
 
524
+ interface BudgetIncomesAllocationUpdatedResponse {
525
+ updated: boolean;
526
+ errorMessage: string | null;
527
+ }
528
+
497
529
  interface BudgetSavingsAllocationResponse {
498
530
  id: string;
499
531
  name: string;
@@ -636,4 +668,4 @@ declare class FilterArgs {
636
668
  take: number;
637
669
  }
638
670
 
639
- 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 BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationsResponse, type BudgetOperationResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, 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 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, SortEnum, type StockExchangeResponse, SupportedCurrencyEnum, type TimePaginationInput, type TimePaginationResponse, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateInput, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsResponse, type UserCoOwnerResponse, type UserProfileResponse, type UserReportResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
671
+ 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 BudgetOperationResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, 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 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, SortEnum, type StockExchangeResponse, SupportedCurrencyEnum, type TimePaginationInput, type TimePaginationResponse, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateInput, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsResponse, type UserCoOwnerResponse, type UserProfileResponse, type UserReportResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
package/dist/index.d.ts CHANGED
@@ -85,7 +85,8 @@ interface FetchBankAccountsListInput {
85
85
 
86
86
  interface UpdateBankAccountInput {
87
87
  id: string;
88
- newName?: string;
88
+ name?: string;
89
+ alertThreshold?: number;
89
90
  position?: number;
90
91
  }
91
92
 
@@ -190,6 +191,16 @@ interface DeleteBudgetExpensesAllocationInput {
190
191
  id: string;
191
192
  }
192
193
 
194
+ interface UpdateBudgetExpensesAllocationInput {
195
+ id: string;
196
+ name?: string;
197
+ icon?: string;
198
+ color?: string;
199
+ currency?: string;
200
+ theoricalValuePerMonth?: number;
201
+ bankAccountId?: string | null;
202
+ }
203
+
193
204
  interface CreateBudgetIncomesAllocationInput {
194
205
  name: string;
195
206
  icon: string;
@@ -203,6 +214,16 @@ interface DeleteBudgetIncomesAllocationInput {
203
214
  id: string;
204
215
  }
205
216
 
217
+ interface UpdateBudgetIncomesAllocationInput {
218
+ id: string;
219
+ name?: string;
220
+ icon?: string;
221
+ color?: string;
222
+ currency?: string;
223
+ theoricalValuePerMonth?: number;
224
+ bankAccountId?: string | null;
225
+ }
226
+
206
227
  interface UpdateUserInput {
207
228
  currency?: AvailableCurrencyEnum;
208
229
  consentToBudget?: boolean;
@@ -238,10 +259,11 @@ interface PaginationInput {
238
259
  interface BankAccountResponse {
239
260
  id: string;
240
261
  powensId: number;
262
+ name: string;
241
263
  balance: number | null;
242
264
  comingBalance: number | null;
243
- name: string;
244
265
  currency: string | null;
266
+ alertThreshold: number;
245
267
  type: BankAccountTypeEnum;
246
268
  gotLoan: boolean;
247
269
  iban: string | null;
@@ -489,11 +511,21 @@ interface BudgetExpensesAllocationDeletedResponse {
489
511
  errorMessage: string | null;
490
512
  }
491
513
 
514
+ interface BudgetExpensesAllocationUpdatedResponse {
515
+ updated: boolean;
516
+ errorMessage: string | null;
517
+ }
518
+
492
519
  interface BudgetIncomesAllocationDeletedResponse {
493
520
  deleted: boolean;
494
521
  errorMessage: string | null;
495
522
  }
496
523
 
524
+ interface BudgetIncomesAllocationUpdatedResponse {
525
+ updated: boolean;
526
+ errorMessage: string | null;
527
+ }
528
+
497
529
  interface BudgetSavingsAllocationResponse {
498
530
  id: string;
499
531
  name: string;
@@ -636,4 +668,4 @@ declare class FilterArgs {
636
668
  take: number;
637
669
  }
638
670
 
639
- 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 BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationsResponse, type BudgetOperationResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, 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 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, SortEnum, type StockExchangeResponse, SupportedCurrencyEnum, type TimePaginationInput, type TimePaginationResponse, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateInput, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsResponse, type UserCoOwnerResponse, type UserProfileResponse, type UserReportResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
671
+ 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 BudgetOperationResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, 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 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, SortEnum, type StockExchangeResponse, SupportedCurrencyEnum, type TimePaginationInput, type TimePaginationResponse, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateInput, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsResponse, type UserCoOwnerResponse, type UserProfileResponse, type UserReportResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.61",
3
+ "version": "2.0.63",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",