sowhat-types 2.0.172 → 2.0.174

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
@@ -471,6 +471,7 @@ interface UpdateUserPersonalSummaryInput {
471
471
  childrenBirthYears?: number[] | null;
472
472
  maritalStatus?: string | null;
473
473
  profession?: string | null;
474
+ professionDetails?: string | null;
474
475
  }
475
476
 
476
477
  interface UpdateUserInput {
@@ -991,11 +992,6 @@ interface UserConsentsResponse {
991
992
  termOfUsage: UserConsentResponse;
992
993
  }
993
994
 
994
- interface UserPersonalSummaryUpdatedResponse {
995
- updated: boolean;
996
- errorMessage: string | null;
997
- }
998
-
999
995
  interface UserPersonalSummaryResponse {
1000
996
  id: string;
1001
997
  firstName: string | null;
@@ -1006,6 +1002,7 @@ interface UserPersonalSummaryResponse {
1006
1002
  childrenBirthYears: number[] | null;
1007
1003
  maritalStatus: string | null;
1008
1004
  profession: string | null;
1005
+ professionDetails: string | null;
1009
1006
  }
1010
1007
 
1011
1008
  interface UserProfileResponse {
@@ -1066,6 +1063,9 @@ interface ReportWealthResponse {
1066
1063
  balanceAssets: ReportValueResponse;
1067
1064
  }
1068
1065
 
1066
+ /**
1067
+ * @deprecated
1068
+ */
1069
1069
  interface UserReportResponse {
1070
1070
  userId: string;
1071
1071
  reportId: string;
@@ -1074,6 +1074,19 @@ interface UserReportResponse {
1074
1074
  createdAt: Date | null;
1075
1075
  }
1076
1076
 
1077
+ interface ReportResponse {
1078
+ id: string;
1079
+ monthId: string;
1080
+ budget: ReportBudgetResponse | null;
1081
+ wealth: ReportWealthResponse | null;
1082
+ createdAt: Date | null;
1083
+ }
1084
+
1085
+ interface ReportsResponse {
1086
+ reports: ReportResponse[];
1087
+ pagination: PaginationResponse;
1088
+ }
1089
+
1077
1090
  interface QuestionOptionResponse {
1078
1091
  key: string;
1079
1092
  label: string;
@@ -1115,4 +1128,4 @@ declare class FilterArgs {
1115
1128
  take: number;
1116
1129
  }
1117
1130
 
1118
- export { type AllocateMultipleTransactionsInput, type AllocateTransactionInput, type AnonymousUserResponse, type AnonymousUsersResponse, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, AuthenticationMethodEnum, 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 CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateProjectInput, type CreateQuestionInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FetchUserCoOwnerInput, FilterArgs, type FinancialSummariesFiltersInput, type GlobalWealthStatisticsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type MultipleTransactionsAllocationResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProjectDeletedResponse, ProjectKeyEnum, ProjectPriorityEnum, type ProjectResponse, type ProjectUpdatedResponse, QuestionCategoryEnum, type QuestionOptionInput, type QuestionOptionResponse, type QuestionResponse, QuestionTypeEnum, type QuestionVersionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, 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 UpdateRealEstateArgs, type UpdateUserCoOwnerInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAnswerResponse, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserCoOwnerResponse, type UserConsentResponse, type UserConsentsResponse, type UserPersonalSummaryResponse, type UserPersonalSummaryUpdatedResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
1131
+ export { type AllocateMultipleTransactionsInput, type AllocateTransactionInput, type AnonymousUserResponse, type AnonymousUsersResponse, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, AuthenticationMethodEnum, 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 CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateProjectInput, type CreateQuestionInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FetchUserCoOwnerInput, FilterArgs, type FinancialSummariesFiltersInput, type GlobalWealthStatisticsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type MultipleTransactionsAllocationResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProjectDeletedResponse, ProjectKeyEnum, ProjectPriorityEnum, type ProjectResponse, type ProjectUpdatedResponse, QuestionCategoryEnum, type QuestionOptionInput, type QuestionOptionResponse, type QuestionResponse, QuestionTypeEnum, type QuestionVersionResponse, type RealEstateDeletedResponse, type RealEstateResponse, 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 UpdateRealEstateArgs, type UpdateUserCoOwnerInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAnswerResponse, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserCoOwnerResponse, type UserConsentResponse, type UserConsentsResponse, type UserPersonalSummaryResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
package/dist/index.d.ts CHANGED
@@ -471,6 +471,7 @@ interface UpdateUserPersonalSummaryInput {
471
471
  childrenBirthYears?: number[] | null;
472
472
  maritalStatus?: string | null;
473
473
  profession?: string | null;
474
+ professionDetails?: string | null;
474
475
  }
475
476
 
476
477
  interface UpdateUserInput {
@@ -991,11 +992,6 @@ interface UserConsentsResponse {
991
992
  termOfUsage: UserConsentResponse;
992
993
  }
993
994
 
994
- interface UserPersonalSummaryUpdatedResponse {
995
- updated: boolean;
996
- errorMessage: string | null;
997
- }
998
-
999
995
  interface UserPersonalSummaryResponse {
1000
996
  id: string;
1001
997
  firstName: string | null;
@@ -1006,6 +1002,7 @@ interface UserPersonalSummaryResponse {
1006
1002
  childrenBirthYears: number[] | null;
1007
1003
  maritalStatus: string | null;
1008
1004
  profession: string | null;
1005
+ professionDetails: string | null;
1009
1006
  }
1010
1007
 
1011
1008
  interface UserProfileResponse {
@@ -1066,6 +1063,9 @@ interface ReportWealthResponse {
1066
1063
  balanceAssets: ReportValueResponse;
1067
1064
  }
1068
1065
 
1066
+ /**
1067
+ * @deprecated
1068
+ */
1069
1069
  interface UserReportResponse {
1070
1070
  userId: string;
1071
1071
  reportId: string;
@@ -1074,6 +1074,19 @@ interface UserReportResponse {
1074
1074
  createdAt: Date | null;
1075
1075
  }
1076
1076
 
1077
+ interface ReportResponse {
1078
+ id: string;
1079
+ monthId: string;
1080
+ budget: ReportBudgetResponse | null;
1081
+ wealth: ReportWealthResponse | null;
1082
+ createdAt: Date | null;
1083
+ }
1084
+
1085
+ interface ReportsResponse {
1086
+ reports: ReportResponse[];
1087
+ pagination: PaginationResponse;
1088
+ }
1089
+
1077
1090
  interface QuestionOptionResponse {
1078
1091
  key: string;
1079
1092
  label: string;
@@ -1115,4 +1128,4 @@ declare class FilterArgs {
1115
1128
  take: number;
1116
1129
  }
1117
1130
 
1118
- export { type AllocateMultipleTransactionsInput, type AllocateTransactionInput, type AnonymousUserResponse, type AnonymousUsersResponse, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, AuthenticationMethodEnum, 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 CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateProjectInput, type CreateQuestionInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FetchUserCoOwnerInput, FilterArgs, type FinancialSummariesFiltersInput, type GlobalWealthStatisticsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type MultipleTransactionsAllocationResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProjectDeletedResponse, ProjectKeyEnum, ProjectPriorityEnum, type ProjectResponse, type ProjectUpdatedResponse, QuestionCategoryEnum, type QuestionOptionInput, type QuestionOptionResponse, type QuestionResponse, QuestionTypeEnum, type QuestionVersionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, 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 UpdateRealEstateArgs, type UpdateUserCoOwnerInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAnswerResponse, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserCoOwnerResponse, type UserConsentResponse, type UserConsentsResponse, type UserPersonalSummaryResponse, type UserPersonalSummaryUpdatedResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
1131
+ export { type AllocateMultipleTransactionsInput, type AllocateTransactionInput, type AnonymousUserResponse, type AnonymousUsersResponse, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, AuthenticationMethodEnum, 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 CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateProjectInput, type CreateQuestionInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FetchUserCoOwnerInput, FilterArgs, type FinancialSummariesFiltersInput, type GlobalWealthStatisticsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type MultipleTransactionsAllocationResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProjectDeletedResponse, ProjectKeyEnum, ProjectPriorityEnum, type ProjectResponse, type ProjectUpdatedResponse, QuestionCategoryEnum, type QuestionOptionInput, type QuestionOptionResponse, type QuestionResponse, QuestionTypeEnum, type QuestionVersionResponse, type RealEstateDeletedResponse, type RealEstateResponse, 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 UpdateRealEstateArgs, type UpdateUserCoOwnerInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAnswerResponse, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserCoOwnerResponse, type UserConsentResponse, type UserConsentsResponse, 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.172",
3
+ "version": "2.0.174",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",