sowhat-types 2.0.188 → 2.0.189

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
@@ -292,6 +292,11 @@ interface UpdateBankAccountTransactionInput {
292
292
  newApplicationDate?: Date;
293
293
  }
294
294
 
295
+ interface UpdateCryptocurrencyAssetInput {
296
+ symbol: AvailableCryptocurrencySymbolEnum;
297
+ quantity: number;
298
+ }
299
+
295
300
  interface CreateMobilityInput {
296
301
  name: string;
297
302
  type: MobilityTypeEnum;
@@ -710,8 +715,22 @@ interface UserBankAccountRefreshedResponse {
710
715
  errorMessage: string | null;
711
716
  }
712
717
 
713
- interface CryptocurrencyResponse {
718
+ interface CryptocurrencyAssetResponse {
714
719
  id: string;
720
+ symbol: AvailableCryptocurrencySymbolEnum;
721
+ priceUsd: number | null;
722
+ priceUserCurrency: number | null;
723
+ quantity: number;
724
+ currency: AvailableCurrencyEnum;
725
+ updatedAt: Date;
726
+ createdAt: Date;
727
+ }
728
+
729
+ interface CryptocurrencyResponse {
730
+ symbol: AvailableCryptocurrencySymbolEnum;
731
+ priceUsd: number | null;
732
+ priceEuro: number | null;
733
+ updatedAt: Date;
715
734
  }
716
735
 
717
736
  interface MobilityDeletedResponse {
@@ -1071,7 +1090,7 @@ interface UserAssetsBatchUpdatedResponse {
1071
1090
  interface UserAssetsResponse {
1072
1091
  realEstateAssets: RealEstateResponse[];
1073
1092
  mobilityAssets: MobilityResponse[];
1074
- cryptocurrencyAssets: CryptocurrencyResponse[];
1093
+ cryptocurrencyAssets: CryptocurrencyAssetResponse[];
1075
1094
  stockExchangeAssets: StockExchangeResponse[];
1076
1095
  otherAssets: OtherAssetResponse[];
1077
1096
  balances: UserAssetsBalancesResponse;
@@ -1160,4 +1179,4 @@ declare class FilterArgs {
1160
1179
  take: number;
1161
1180
  }
1162
1181
 
1163
- export { type AllocateMultipleTransactionsInput, type AllocateTransactionInput, type AnonymousUserResponse, type AnonymousUsersResponse, AssetTypeEnum, AuthenticationMethodEnum, AvailableCryptocurrencySymbolEnum, AvailableCurrencyEnum, BUDGET_ID_REGEX, 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 BatchUpdateUserAssetInput, type BatchUpdateUserAssetsInput, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsBatchUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsBatchUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetResponse, type BudgetSavingsAllocationDeletedResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsAllocationUpdatedResponse, type BudgetSavingsAllocationsBatchUpdatedResponse, BudgetTypeEnum, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateProjectInput, type CreateQuestionInput, type CreateRealEstateInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, FilterArgs, FinancialProductEnum, FinancialProductOwnedEnum, type FinancialSummariesFiltersInput, type GlobalWealthStatisticsResponse, LIVES_OUTSIDE_FRANCE, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type MultipleTransactionsAllocationResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, ProjectNeedEnum, ProjectOptionEnum, type ProjectResponse, QuestionCategoryEnum, type QuestionOptionInput, type QuestionOptionResponse, type QuestionResponse, QuestionTypeEnum, type QuestionVersionResponse, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportResponse, type ReportValueResponse, type ReportWealthResponse, type ReportsResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type SwipableBudgetResponse, type SwipableBudgetsResponse, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProjectInput, type UpdateQuestionInput, type UpdateQuestionPositionInput, type UpdateRealEstateInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAnswerResponse, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserConsentResponse, type UserConsentsResponse, type UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
1182
+ export { type AllocateMultipleTransactionsInput, type AllocateTransactionInput, type AnonymousUserResponse, type AnonymousUsersResponse, AssetTypeEnum, AuthenticationMethodEnum, AvailableCryptocurrencySymbolEnum, AvailableCurrencyEnum, BUDGET_ID_REGEX, 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 BatchUpdateUserAssetInput, type BatchUpdateUserAssetsInput, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsBatchUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsBatchUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetResponse, type BudgetSavingsAllocationDeletedResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsAllocationUpdatedResponse, type BudgetSavingsAllocationsBatchUpdatedResponse, BudgetTypeEnum, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateProjectInput, type CreateQuestionInput, type CreateRealEstateInput, type CryptocurrencyAssetResponse, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, FilterArgs, FinancialProductEnum, FinancialProductOwnedEnum, type FinancialSummariesFiltersInput, type GlobalWealthStatisticsResponse, LIVES_OUTSIDE_FRANCE, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type MultipleTransactionsAllocationResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, ProjectNeedEnum, ProjectOptionEnum, type ProjectResponse, QuestionCategoryEnum, type QuestionOptionInput, type QuestionOptionResponse, type QuestionResponse, QuestionTypeEnum, type QuestionVersionResponse, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportResponse, type ReportValueResponse, type ReportWealthResponse, type ReportsResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type SwipableBudgetResponse, type SwipableBudgetsResponse, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateCryptocurrencyAssetInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProjectInput, type UpdateQuestionInput, type UpdateQuestionPositionInput, type UpdateRealEstateInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAnswerResponse, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserConsentResponse, type UserConsentsResponse, type UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
package/dist/index.d.ts CHANGED
@@ -292,6 +292,11 @@ interface UpdateBankAccountTransactionInput {
292
292
  newApplicationDate?: Date;
293
293
  }
294
294
 
295
+ interface UpdateCryptocurrencyAssetInput {
296
+ symbol: AvailableCryptocurrencySymbolEnum;
297
+ quantity: number;
298
+ }
299
+
295
300
  interface CreateMobilityInput {
296
301
  name: string;
297
302
  type: MobilityTypeEnum;
@@ -710,8 +715,22 @@ interface UserBankAccountRefreshedResponse {
710
715
  errorMessage: string | null;
711
716
  }
712
717
 
713
- interface CryptocurrencyResponse {
718
+ interface CryptocurrencyAssetResponse {
714
719
  id: string;
720
+ symbol: AvailableCryptocurrencySymbolEnum;
721
+ priceUsd: number | null;
722
+ priceUserCurrency: number | null;
723
+ quantity: number;
724
+ currency: AvailableCurrencyEnum;
725
+ updatedAt: Date;
726
+ createdAt: Date;
727
+ }
728
+
729
+ interface CryptocurrencyResponse {
730
+ symbol: AvailableCryptocurrencySymbolEnum;
731
+ priceUsd: number | null;
732
+ priceEuro: number | null;
733
+ updatedAt: Date;
715
734
  }
716
735
 
717
736
  interface MobilityDeletedResponse {
@@ -1071,7 +1090,7 @@ interface UserAssetsBatchUpdatedResponse {
1071
1090
  interface UserAssetsResponse {
1072
1091
  realEstateAssets: RealEstateResponse[];
1073
1092
  mobilityAssets: MobilityResponse[];
1074
- cryptocurrencyAssets: CryptocurrencyResponse[];
1093
+ cryptocurrencyAssets: CryptocurrencyAssetResponse[];
1075
1094
  stockExchangeAssets: StockExchangeResponse[];
1076
1095
  otherAssets: OtherAssetResponse[];
1077
1096
  balances: UserAssetsBalancesResponse;
@@ -1160,4 +1179,4 @@ declare class FilterArgs {
1160
1179
  take: number;
1161
1180
  }
1162
1181
 
1163
- export { type AllocateMultipleTransactionsInput, type AllocateTransactionInput, type AnonymousUserResponse, type AnonymousUsersResponse, AssetTypeEnum, AuthenticationMethodEnum, AvailableCryptocurrencySymbolEnum, AvailableCurrencyEnum, BUDGET_ID_REGEX, 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 BatchUpdateUserAssetInput, type BatchUpdateUserAssetsInput, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsBatchUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsBatchUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetResponse, type BudgetSavingsAllocationDeletedResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsAllocationUpdatedResponse, type BudgetSavingsAllocationsBatchUpdatedResponse, BudgetTypeEnum, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateProjectInput, type CreateQuestionInput, type CreateRealEstateInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, FilterArgs, FinancialProductEnum, FinancialProductOwnedEnum, type FinancialSummariesFiltersInput, type GlobalWealthStatisticsResponse, LIVES_OUTSIDE_FRANCE, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type MultipleTransactionsAllocationResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, ProjectNeedEnum, ProjectOptionEnum, type ProjectResponse, QuestionCategoryEnum, type QuestionOptionInput, type QuestionOptionResponse, type QuestionResponse, QuestionTypeEnum, type QuestionVersionResponse, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportResponse, type ReportValueResponse, type ReportWealthResponse, type ReportsResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type SwipableBudgetResponse, type SwipableBudgetsResponse, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProjectInput, type UpdateQuestionInput, type UpdateQuestionPositionInput, type UpdateRealEstateInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAnswerResponse, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserConsentResponse, type UserConsentsResponse, type UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
1182
+ export { type AllocateMultipleTransactionsInput, type AllocateTransactionInput, type AnonymousUserResponse, type AnonymousUsersResponse, AssetTypeEnum, AuthenticationMethodEnum, AvailableCryptocurrencySymbolEnum, AvailableCurrencyEnum, BUDGET_ID_REGEX, 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 BatchUpdateUserAssetInput, type BatchUpdateUserAssetsInput, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsBatchUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsBatchUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetResponse, type BudgetSavingsAllocationDeletedResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsAllocationUpdatedResponse, type BudgetSavingsAllocationsBatchUpdatedResponse, BudgetTypeEnum, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateProjectInput, type CreateQuestionInput, type CreateRealEstateInput, type CryptocurrencyAssetResponse, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, FilterArgs, FinancialProductEnum, FinancialProductOwnedEnum, type FinancialSummariesFiltersInput, type GlobalWealthStatisticsResponse, LIVES_OUTSIDE_FRANCE, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type MultipleTransactionsAllocationResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, ProjectNeedEnum, ProjectOptionEnum, type ProjectResponse, QuestionCategoryEnum, type QuestionOptionInput, type QuestionOptionResponse, type QuestionResponse, QuestionTypeEnum, type QuestionVersionResponse, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportResponse, type ReportValueResponse, type ReportWealthResponse, type ReportsResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type SwipableBudgetResponse, type SwipableBudgetsResponse, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateCryptocurrencyAssetInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProjectInput, type UpdateQuestionInput, type UpdateQuestionPositionInput, type UpdateRealEstateInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAnswerResponse, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserConsentResponse, type UserConsentsResponse, type UserFinancialSummaryResponse, type UserPersonalSummaryResponse, 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.188",
3
+ "version": "2.0.189",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",