sowhat-types 2.0.170 → 2.0.172

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
@@ -161,18 +161,13 @@ declare enum UserStatusEnum {
161
161
  }
162
162
 
163
163
  declare enum ProjectKeyEnum {
164
- CHANGE_BANK = "CHANGE_BANK",
165
- OPTIMIZE_SAVINGS = "OPTIMIZE_SAVINGS",
166
164
  WEALTH_ASSESSMENT = "WEALTH_ASSESSMENT",
165
+ OPTIMIZE_SAVINGS = "OPTIMIZE_SAVINGS",
167
166
  INVEST_IN_STOCK_EXCHANGE = "INVEST_IN_STOCK_EXCHANGE",
168
167
  INVEST_IN_REAL_ESTATE = "INVEST_IN_REAL_ESTATE",
169
- INVEST_IN_CRYPTO = "INVEST_IN_CRYPTO",
170
- INVEST_FOR_CAPITAL = "INVEST_FOR_CAPITAL",
171
- INVEST_FOR_TAX_BENEFITS = "INVEST_FOR_TAX_BENEFITS",
172
168
  PREPARE_RETIREMENT = "PREPARE_RETIREMENT",
173
- PASS_ON_TO_CHILDREN = "PASS_ON_TO_CHILDREN",
174
- FINANCE_REAL_ESTATE_PROJECT = "FINANCE_REAL_ESTATE_PROJECT",
175
- FINANCE_OTHER_PROJECT = "FINANCE_OTHER_PROJECT"
169
+ PASS_ON_TO_DESCENDANTS = "PASS_ON_TO_DESCENDANTS",
170
+ TAX_OPTIMIZATION = "TAX_OPTIMIZATION"
176
171
  }
177
172
 
178
173
  declare enum ProjectPriorityEnum {
@@ -450,12 +445,6 @@ interface UpdateQuestionPositionInput {
450
445
  position: number;
451
446
  }
452
447
 
453
- interface UpdateUserInput {
454
- currency?: AvailableCurrencyEnum;
455
- consentToBudget?: boolean;
456
- newTransferIntoDefault?: boolean;
457
- }
458
-
459
448
  interface FinancialSummariesFiltersInput {
460
449
  offset: number;
461
450
  limit: number;
@@ -472,6 +461,24 @@ interface FinancialSummariesFiltersInput {
472
461
  maxTotalMobilities?: number;
473
462
  }
474
463
 
464
+ interface UpdateUserPersonalSummaryInput {
465
+ id: string;
466
+ firstName?: string | null;
467
+ lastName?: string | null;
468
+ commercialEmail?: string | null;
469
+ birthYear?: number | null;
470
+ childrenNumber?: number | null;
471
+ childrenBirthYears?: number[] | null;
472
+ maritalStatus?: string | null;
473
+ profession?: string | null;
474
+ }
475
+
476
+ interface UpdateUserInput {
477
+ currency?: AvailableCurrencyEnum;
478
+ consentToBudget?: boolean;
479
+ newTransferIntoDefault?: boolean;
480
+ }
481
+
475
482
  interface LoanResponse {
476
483
  id: string;
477
484
  bankAccountId: string;
@@ -984,6 +991,23 @@ interface UserConsentsResponse {
984
991
  termOfUsage: UserConsentResponse;
985
992
  }
986
993
 
994
+ interface UserPersonalSummaryUpdatedResponse {
995
+ updated: boolean;
996
+ errorMessage: string | null;
997
+ }
998
+
999
+ interface UserPersonalSummaryResponse {
1000
+ id: string;
1001
+ firstName: string | null;
1002
+ lastName: string | null;
1003
+ commercialEmail: string | null;
1004
+ birthYear: number | null;
1005
+ childrenNumber: number | null;
1006
+ childrenBirthYears: number[] | null;
1007
+ maritalStatus: string | null;
1008
+ profession: string | null;
1009
+ }
1010
+
987
1011
  interface UserProfileResponse {
988
1012
  id: string;
989
1013
  currency: AvailableCurrencyEnum;
@@ -1091,4 +1115,4 @@ declare class FilterArgs {
1091
1115
  take: number;
1092
1116
  }
1093
1117
 
1094
- 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 UserAnswerResponse, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserCoOwnerResponse, type UserConsentResponse, type UserConsentsResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
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 };
package/dist/index.d.ts CHANGED
@@ -161,18 +161,13 @@ declare enum UserStatusEnum {
161
161
  }
162
162
 
163
163
  declare enum ProjectKeyEnum {
164
- CHANGE_BANK = "CHANGE_BANK",
165
- OPTIMIZE_SAVINGS = "OPTIMIZE_SAVINGS",
166
164
  WEALTH_ASSESSMENT = "WEALTH_ASSESSMENT",
165
+ OPTIMIZE_SAVINGS = "OPTIMIZE_SAVINGS",
167
166
  INVEST_IN_STOCK_EXCHANGE = "INVEST_IN_STOCK_EXCHANGE",
168
167
  INVEST_IN_REAL_ESTATE = "INVEST_IN_REAL_ESTATE",
169
- INVEST_IN_CRYPTO = "INVEST_IN_CRYPTO",
170
- INVEST_FOR_CAPITAL = "INVEST_FOR_CAPITAL",
171
- INVEST_FOR_TAX_BENEFITS = "INVEST_FOR_TAX_BENEFITS",
172
168
  PREPARE_RETIREMENT = "PREPARE_RETIREMENT",
173
- PASS_ON_TO_CHILDREN = "PASS_ON_TO_CHILDREN",
174
- FINANCE_REAL_ESTATE_PROJECT = "FINANCE_REAL_ESTATE_PROJECT",
175
- FINANCE_OTHER_PROJECT = "FINANCE_OTHER_PROJECT"
169
+ PASS_ON_TO_DESCENDANTS = "PASS_ON_TO_DESCENDANTS",
170
+ TAX_OPTIMIZATION = "TAX_OPTIMIZATION"
176
171
  }
177
172
 
178
173
  declare enum ProjectPriorityEnum {
@@ -450,12 +445,6 @@ interface UpdateQuestionPositionInput {
450
445
  position: number;
451
446
  }
452
447
 
453
- interface UpdateUserInput {
454
- currency?: AvailableCurrencyEnum;
455
- consentToBudget?: boolean;
456
- newTransferIntoDefault?: boolean;
457
- }
458
-
459
448
  interface FinancialSummariesFiltersInput {
460
449
  offset: number;
461
450
  limit: number;
@@ -472,6 +461,24 @@ interface FinancialSummariesFiltersInput {
472
461
  maxTotalMobilities?: number;
473
462
  }
474
463
 
464
+ interface UpdateUserPersonalSummaryInput {
465
+ id: string;
466
+ firstName?: string | null;
467
+ lastName?: string | null;
468
+ commercialEmail?: string | null;
469
+ birthYear?: number | null;
470
+ childrenNumber?: number | null;
471
+ childrenBirthYears?: number[] | null;
472
+ maritalStatus?: string | null;
473
+ profession?: string | null;
474
+ }
475
+
476
+ interface UpdateUserInput {
477
+ currency?: AvailableCurrencyEnum;
478
+ consentToBudget?: boolean;
479
+ newTransferIntoDefault?: boolean;
480
+ }
481
+
475
482
  interface LoanResponse {
476
483
  id: string;
477
484
  bankAccountId: string;
@@ -984,6 +991,23 @@ interface UserConsentsResponse {
984
991
  termOfUsage: UserConsentResponse;
985
992
  }
986
993
 
994
+ interface UserPersonalSummaryUpdatedResponse {
995
+ updated: boolean;
996
+ errorMessage: string | null;
997
+ }
998
+
999
+ interface UserPersonalSummaryResponse {
1000
+ id: string;
1001
+ firstName: string | null;
1002
+ lastName: string | null;
1003
+ commercialEmail: string | null;
1004
+ birthYear: number | null;
1005
+ childrenNumber: number | null;
1006
+ childrenBirthYears: number[] | null;
1007
+ maritalStatus: string | null;
1008
+ profession: string | null;
1009
+ }
1010
+
987
1011
  interface UserProfileResponse {
988
1012
  id: string;
989
1013
  currency: AvailableCurrencyEnum;
@@ -1091,4 +1115,4 @@ declare class FilterArgs {
1091
1115
  take: number;
1092
1116
  }
1093
1117
 
1094
- 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 UserAnswerResponse, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserCoOwnerResponse, type UserConsentResponse, type UserConsentsResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
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 };
package/dist/index.js CHANGED
@@ -186,18 +186,13 @@ var UserStatusEnum = /* @__PURE__ */ ((UserStatusEnum2) => {
186
186
 
187
187
  // src/enums/project-key.enum.ts
188
188
  var ProjectKeyEnum = /* @__PURE__ */ ((ProjectKeyEnum2) => {
189
- ProjectKeyEnum2["CHANGE_BANK"] = "CHANGE_BANK";
190
- ProjectKeyEnum2["OPTIMIZE_SAVINGS"] = "OPTIMIZE_SAVINGS";
191
189
  ProjectKeyEnum2["WEALTH_ASSESSMENT"] = "WEALTH_ASSESSMENT";
190
+ ProjectKeyEnum2["OPTIMIZE_SAVINGS"] = "OPTIMIZE_SAVINGS";
192
191
  ProjectKeyEnum2["INVEST_IN_STOCK_EXCHANGE"] = "INVEST_IN_STOCK_EXCHANGE";
193
192
  ProjectKeyEnum2["INVEST_IN_REAL_ESTATE"] = "INVEST_IN_REAL_ESTATE";
194
- ProjectKeyEnum2["INVEST_IN_CRYPTO"] = "INVEST_IN_CRYPTO";
195
- ProjectKeyEnum2["INVEST_FOR_CAPITAL"] = "INVEST_FOR_CAPITAL";
196
- ProjectKeyEnum2["INVEST_FOR_TAX_BENEFITS"] = "INVEST_FOR_TAX_BENEFITS";
197
193
  ProjectKeyEnum2["PREPARE_RETIREMENT"] = "PREPARE_RETIREMENT";
198
- ProjectKeyEnum2["PASS_ON_TO_CHILDREN"] = "PASS_ON_TO_CHILDREN";
199
- ProjectKeyEnum2["FINANCE_REAL_ESTATE_PROJECT"] = "FINANCE_REAL_ESTATE_PROJECT";
200
- ProjectKeyEnum2["FINANCE_OTHER_PROJECT"] = "FINANCE_OTHER_PROJECT";
194
+ ProjectKeyEnum2["PASS_ON_TO_DESCENDANTS"] = "PASS_ON_TO_DESCENDANTS";
195
+ ProjectKeyEnum2["TAX_OPTIMIZATION"] = "TAX_OPTIMIZATION";
201
196
  return ProjectKeyEnum2;
202
197
  })(ProjectKeyEnum || {});
203
198
 
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts","../src/constants/index.ts","../src/enums/asset-type.enum.ts","../src/enums/authentication-method.enum.ts","../src/enums/available-currency.enum.ts","../src/enums/bank-account-scheme-name.ts","../src/enums/bank-account-transaction-type.enum.ts","../src/enums/bank-account-type.enum.ts","../src/enums/budget-type.enum.ts","../src/enums/fetch-powens-connections-type.enum.ts","../src/enums/legal-document-type.enum.ts","../src/enums/loan-type.enum.ts","../src/enums/powens-connection-state.enum.ts","../src/enums/powens-user-status.enum.ts","../src/enums/supported-currency-symbol.enum.ts","../src/enums/user-status.enum.ts","../src/enums/project-key.enum.ts","../src/enums/project-priority.enum.ts","../src/enums/question-category.enum.ts","../src/enums/question-type.enum.ts","../src/args/filter.args.ts"],"sourcesContent":["export * from \"./constants\";\nexport * from \"./enums\";\nexport * from \"./inputs\";\nexport * from \"./responses\";\nexport * from \"./exact-match\";\nexport * from \"./args\";\n","export const EMAIL_REGEX =\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\nexport const BUDGET_ID_REGEX = /^(0[1-9]|1[0-2])-\\d{4}$/;\n","export enum AssetTypeEnum {\n REAL_ESTATE = \"REAL_ESTATE\",\n MOBILITY = \"MOBILITY\",\n STOCK_EXCHANGE = \"STOCK_EXCHANGE\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n OTHER = \"OTHER\",\n}\n","export enum AuthenticationMethodEnum {\n PHONE = \"PHONE\",\n EMAIL = \"EMAIL\",\n}\n","export enum AvailableCurrencyEnum {\n EUR = \"€\",\n // USD = \"$\",\n}\n","export enum BankAccountSchemeNameEnum {\n IBAN = \"IBAN\",\n BBAN = \"BBAN\",\n SORT_CODE_ACCOUNT_NUMBER = \"SORT_CODE_ACCOUNT_NUMBER\",\n CPAN = \"CPAN\",\n TPAN = \"TPAN\",\n}\n","export enum BankAccountTransactionTypeEnum {\n TRANSFER = \"TRANSFER\", // Transfer\n ORDER = \"ORDER\", // Order\n CHECK = \"CHECK\", // Check\n DEPOSIT = \"DEPOSIT\", // Mandatory/voluntary deposits, contributions, money transfers\n PAYBACK = \"PAYBACK\", // Payback\n WITHDRAWAL = \"WITHDRAWAL\", // Withdrawal\n LOAN_REPAYMENT = \"LOAN_REPAYMENT\", // Loan payment\n BANK = \"BANK\", // Bank fees\n CARD = \"CARD\", // Card operation\n DEFERRED_CARD = \"DEFERRED_CARD\", // Deferred card operation\n SUMMARY_CARD = \"SUMMARY_CARD\", // Monthly debit of a deferred card\n UNKNOWN = \"UNKNOWN\", //Unknown transaction type\n MARKET_ORDER = \"MARKET_ORDER\", // Market order\n MARKET_FEE = \"MARKET_FEE\", // Fees regarding a market order\n ARBITRAGE = \"ARBITRAGE\", // Arbitrage\n PROFIT = \"PROFIT\", // Positive earnings from interests/coupons/dividends\n}\n","export enum BankAccountTypeEnum {\n CHECKING = \"CHECKING\",\n SAVINGS = \"SAVINGS\",\n LOAN = \"LOAN\",\n OTHER = \"OTHER\",\n}\n","export enum BudgetTypeEnum {\n INCOME = 'INCOME',\n EXPENDITURE = 'EXPENDITURE',\n}\n","export enum FetchPowensConnectionsTypeEnum {\n ALL = \"ALL\",\n USER_ACTION_REQUIRED = \"USER_ACTION_REQUIRED\",\n}\n","export enum LegalDocumentTypeEnum {\n TERMS_OF_USAGE = \"TERMS_OF_USAGE\",\n PRIVACY_POLICY = \"PRIVACY_POLICY\",\n}\n","export enum LoanTypeEnum {\n MORTGAGE = \"mortgage\",\n CONSUMER_CREDIT = \"consumercredit\",\n RESOLVING_CREDIT = \"revolvingcredit\",\n UNKNOWN = \"unknown\",\n}\n","export enum PowensConnectionStateEnum {\n /**\n * An SCA process must be performed to resume the synchronization process.\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n */\n SCA_REQUIRED = \"SCA_REQUIRED\",\n /**\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n * A web-based authentication process is required using the /webauth endpoint.\n * endpoint /webauth: https://docs.powens.com/api-reference/user-connections/connections#webauthurl-object\n */\n WEBAUTH_REQUIRED = \"WEBAUTH_REQUIRED\",\n /**\n * Additional information is needed to resume synchronization, such as an OTP. Connections in this state have a fields property.\n */\n ADDITIONAL_INFORMATION_NEEDED = \"ADDITIONAL_INFORMATION_NEEDED\",\n /**\n * User validation is required on a third-party app or device (ex: digital key).\n */\n DECOUPLED = \"DECOUPLED\",\n /**\n * User validation is being processed on our side. This state is temporary.\n */\n VALIDATING = \"VALIDATING\",\n /**\n * An action is needed on the website by the user, synchronization is blocked.\n * Synchronization failed because the user needs to perform an action directly on the bank website or app (usually, accept new CGUs or similar one-time actions).\n * You should present this error prominently\n */\n ACTION_NEEDED = \"ACTION_NEEDED\",\n /**\n * The password has expired and needs to be changed by the user before the synchronization can be retried.\n * Synchronization failed because the user needs to renew its password on the bank website.\n * You should present this error prominently and prompt the user for his new password afterwards.\n */\n PASSWORD_EXPIRED = \"PASSWORD_EXPIRED\",\n /**\n * The authentication on website has failed and new credentials must be obtained from the user. Connections in this state have a fields property\n * Synchronization failed because the credentials we own are invalid or obsolete.\n * You should present this error prominently\n */\n WRONGPASS = \"WRONGPASS\",\n /**\n * The target website or API is temporarily blocking synchronizations due to rate limiting.\n * Synchronization failed because the target website or API is temporarily blocking synchronizations due to rate limiting.\n * We will retry after a delay and connections in this state will be resumed automatically.\n */\n RATE_LIMITING = \"RATE_LIMITING\",\n /**\n * The connector website or API is unavailable.\n * Synchronization failed because the targeted API or website is temporarily unavailable.\n * We will periodically retry to sync.\n */\n WEBSITE_UNAVAILABLE = \"WEBSITE_UNAVAILABLE\",\n /**\n * An internal error has occurred during the synchronization.\n * Synchronization failed because of an error from our side. We monitor errors and do our best to fix them quickly.\n * Connections in this state will be resumed automatically after the error is fixed.\n */\n BUG = \"BUG\",\n /**\n * The source is not supported on the connector\n */\n NOT_SUPPORTED = \"NOT_SUPPORTED\",\n}\n","export enum PowensUserStatusEnum {\n // User is registered on Powens and got a powens ID and a unique access token\n REGISTERED = 'REGISTERED',\n\n // User is currently trying to make a new connection to their bank account (transition state)\n ATTEMPTING_NEW_CONNECTION = 'ATTEMPTING_NEW_CONNECTION',\n\n // On error in Powens administration console\n ON_ERROR = 'ON_ERROR',\n\n // Powens administration console deleted the user\n DELETED = 'DELETED',\n}\n","export enum SupportedCurrencyEnum {\n EUR = '€',\n USD = '$',\n GBP = '£',\n}\n","export enum UserStatusEnum {\n // Anonymous, does not have a real account on sowhat (= a simple co-owner with no Clerk ID)\n ANONYMOUS = 'ANONYMOUS',\n\n // Real user, got a Clerk account.\n // note: Being registered on clerk first is mandatory to be registered on Powens.\n REGISTERED = 'REGISTERED',\n\n // The user is deleted and can't be used anymore\n DELETED = 'DELETED',\n\n // The user's email and/or phone are black-listed from the sowhat app\n BLACK_LISTED = 'BLACK_LISTED',\n}\n","export enum ProjectKeyEnum {\n CHANGE_BANK = \"CHANGE_BANK\",\n OPTIMIZE_SAVINGS = \"OPTIMIZE_SAVINGS\",\n WEALTH_ASSESSMENT = \"WEALTH_ASSESSMENT\",\n INVEST_IN_STOCK_EXCHANGE = \"INVEST_IN_STOCK_EXCHANGE\",\n INVEST_IN_REAL_ESTATE = \"INVEST_IN_REAL_ESTATE\",\n INVEST_IN_CRYPTO = \"INVEST_IN_CRYPTO\",\n INVEST_FOR_CAPITAL = \"INVEST_FOR_CAPITAL\",\n INVEST_FOR_TAX_BENEFITS = \"INVEST_FOR_TAX_BENEFITS\",\n PREPARE_RETIREMENT = \"PREPARE_RETIREMENT\",\n PASS_ON_TO_CHILDREN = \"PASS_ON_TO_CHILDREN\",\n FINANCE_REAL_ESTATE_PROJECT = \"FINANCE_REAL_ESTATE_PROJECT\",\n FINANCE_OTHER_PROJECT = \"FINANCE_OTHER_PROJECT\",\n}\n\n// {\n// \"CHANGE_BANK\": {\n// \"title\": \"Changer de banque\",\n// \"description\": \"Explorer les solutions pour changer de banque et trouver une offre plus adaptée à mes besoins.\"\n// },\n// \"OPTIMIZE_SAVINGS\": {\n// \"title\": \"Mieux faire travailler mon épargne\",\n// \"description\": \"Découvrir des moyens efficaces pour améliorer le rendement de mon épargne.\"\n// },\n// \"WEALTH_ASSESSMENT\": {\n// \"title\": \"Faire un bilan patrimonial et recevoir des conseils d’expert\",\n// \"description\": \"Évaluer ma situation patrimoniale et obtenir un accompagnement personnalisé d’un expert.\"\n// },\n// \"INVEST_IN_STOCK_EXCHANGE\": {\n// \"title\": \"Investir en bourse\",\n// \"description\": \"Explorer les opportunités d’investissement en bourse.\"\n// },\n// \"INVEST_IN_REAL_ESTATE\": {\n// \"title\": \"Investir dans l’immobilier\",\n// \"description\": \"Découvrir des solutions pour investir dans l’immobilier et développer mon patrimoine.\"\n// },\n// \"INVEST_IN_CRYPTO\": {\n// \"title\": \"Investir dans les cryptomonnaies\",\n// \"description\": \"Apprendre à investir dans les cryptomonnaies et comprendre leurs opportunités et risques.\"\n// },\n// \"INVEST_FOR_CAPITAL\": {\n// \"title\": \"Investir pour me constituer un capital\",\n// \"description\": \"Mettre en place une stratégie d’investissement pour construire progressivement un capital.\"\n// },\n// \"INVEST_FOR_TAX_BENEFITS\": {\n// \"title\": \"Investir pour défiscaliser\",\n// \"description\": \"Utiliser l’investissement comme levier pour réduire ma fiscalité.\"\n// },\n// \"PREPARE_RETIREMENT\": {\n// \"title\": \"Préparer ma retraite\",\n// \"description\": \"Anticiper et organiser mes investissements pour assurer ma retraite.\"\n// },\n// \"PASS_ON_TO_CHILDREN\": {\n// \"title\": \"Transmettre à mes enfants et petits-enfants\",\n// \"description\": \"Planifier la transmission de mon patrimoine à mes enfants et petits-enfants.\"\n// },\n// \"FINANCE_REAL_ESTATE_PROJECT\": {\n// \"title\": \"Financer un projet immobilier\",\n// \"description\": \"Trouver des solutions pour financer l’achat ou la construction d’un bien immobilier.\"\n// },\n// \"FINANCE_OTHER_PROJECT\": {\n// \"title\": \"Financer un projet non-immobilier\",\n// \"description\": \"Mettre en place un financement adapté pour réaliser un projet personnel ou professionnel.\"\n// }\n// }\n","export enum ProjectPriorityEnum {\n LOW = \"LOW\",\n MEDIUM = \"MEDIUM\",\n HIGH = \"HIGH\",\n URGENT = \"URGENT\",\n}\n","export enum QuestionCategoryEnum {\n PERSONAL_INFORMATION = \"PERSONAL_INFORMATION\",\n FINANCIAL_INFORMATION = \"FINANCIAL_INFORMATION\",\n OTHER = \"OTHER\",\n}\n","export enum QuestionTypeEnum {\n TEXT = \"TEXT\",\n DATE = \"DATE\",\n NUMBER = \"NUMBER\",\n BOOLEAN = \"BOOLEAN\",\n MULTI_CHOICE = \"MULTI_CHOICE\",\n SINGLE_CHOICE = \"SINGLE_CHOICE\",\n}\n","export class FilterArgs {\n skip = 0;\n take = 25;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,cACX;AAEK,IAAM,kBAAkB;;;ACHxB,IAAK,gBAAL,kBAAKA,mBAAL;AACL,EAAAA,eAAA,iBAAc;AACd,EAAAA,eAAA,cAAW;AACX,EAAAA,eAAA,oBAAiB;AACjB,EAAAA,eAAA,oBAAiB;AACjB,EAAAA,eAAA,WAAQ;AALE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,2BAAL,kBAAKC,8BAAL;AACL,EAAAA,0BAAA,WAAQ;AACR,EAAAA,0BAAA,WAAQ;AAFE,SAAAA;AAAA,GAAA;;;ACAL,IAAK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BAA2B;AAC3B,EAAAA,gBAAA,2BAAwB;AACxB,EAAAA,gBAAA,sBAAmB;AACnB,EAAAA,gBAAA,wBAAqB;AACrB,EAAAA,gBAAA,6BAA0B;AAC1B,EAAAA,gBAAA,wBAAqB;AACrB,EAAAA,gBAAA,yBAAsB;AACtB,EAAAA,gBAAA,iCAA8B;AAC9B,EAAAA,gBAAA,2BAAwB;AAZd,SAAAA;AAAA,GAAA;;;ACAL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,SAAM;AACN,EAAAA,qBAAA,YAAS;AACT,EAAAA,qBAAA,UAAO;AACP,EAAAA,qBAAA,YAAS;AAJC,SAAAA;AAAA,GAAA;;;ACAL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,2BAAwB;AACxB,EAAAA,sBAAA,WAAQ;AAHE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,mBAAL,kBAAKC,sBAAL;AACL,EAAAA,kBAAA,UAAO;AACP,EAAAA,kBAAA,UAAO;AACP,EAAAA,kBAAA,YAAS;AACT,EAAAA,kBAAA,aAAU;AACV,EAAAA,kBAAA,kBAAe;AACf,EAAAA,kBAAA,mBAAgB;AANN,SAAAA;AAAA,GAAA;;;ACAL,IAAM,aAAN,MAAiB;AAAA,EAAjB;AACL,gBAAO;AACP,gBAAO;AAAA;AACT;","names":["AssetTypeEnum","AuthenticationMethodEnum","AvailableCurrencyEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","BudgetTypeEnum","FetchPowensConnectionsTypeEnum","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum","ProjectKeyEnum","ProjectPriorityEnum","QuestionCategoryEnum","QuestionTypeEnum"]}
1
+ {"version":3,"sources":["../src/index.ts","../src/constants/index.ts","../src/enums/asset-type.enum.ts","../src/enums/authentication-method.enum.ts","../src/enums/available-currency.enum.ts","../src/enums/bank-account-scheme-name.ts","../src/enums/bank-account-transaction-type.enum.ts","../src/enums/bank-account-type.enum.ts","../src/enums/budget-type.enum.ts","../src/enums/fetch-powens-connections-type.enum.ts","../src/enums/legal-document-type.enum.ts","../src/enums/loan-type.enum.ts","../src/enums/powens-connection-state.enum.ts","../src/enums/powens-user-status.enum.ts","../src/enums/supported-currency-symbol.enum.ts","../src/enums/user-status.enum.ts","../src/enums/project-key.enum.ts","../src/enums/project-priority.enum.ts","../src/enums/question-category.enum.ts","../src/enums/question-type.enum.ts","../src/args/filter.args.ts"],"sourcesContent":["export * from \"./constants\";\nexport * from \"./enums\";\nexport * from \"./inputs\";\nexport * from \"./responses\";\nexport * from \"./exact-match\";\nexport * from \"./args\";\n","export const EMAIL_REGEX =\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\nexport const BUDGET_ID_REGEX = /^(0[1-9]|1[0-2])-\\d{4}$/;\n","export enum AssetTypeEnum {\n REAL_ESTATE = \"REAL_ESTATE\",\n MOBILITY = \"MOBILITY\",\n STOCK_EXCHANGE = \"STOCK_EXCHANGE\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n OTHER = \"OTHER\",\n}\n","export enum AuthenticationMethodEnum {\n PHONE = \"PHONE\",\n EMAIL = \"EMAIL\",\n}\n","export enum AvailableCurrencyEnum {\n EUR = \"€\",\n // USD = \"$\",\n}\n","export enum BankAccountSchemeNameEnum {\n IBAN = \"IBAN\",\n BBAN = \"BBAN\",\n SORT_CODE_ACCOUNT_NUMBER = \"SORT_CODE_ACCOUNT_NUMBER\",\n CPAN = \"CPAN\",\n TPAN = \"TPAN\",\n}\n","export enum BankAccountTransactionTypeEnum {\n TRANSFER = \"TRANSFER\", // Transfer\n ORDER = \"ORDER\", // Order\n CHECK = \"CHECK\", // Check\n DEPOSIT = \"DEPOSIT\", // Mandatory/voluntary deposits, contributions, money transfers\n PAYBACK = \"PAYBACK\", // Payback\n WITHDRAWAL = \"WITHDRAWAL\", // Withdrawal\n LOAN_REPAYMENT = \"LOAN_REPAYMENT\", // Loan payment\n BANK = \"BANK\", // Bank fees\n CARD = \"CARD\", // Card operation\n DEFERRED_CARD = \"DEFERRED_CARD\", // Deferred card operation\n SUMMARY_CARD = \"SUMMARY_CARD\", // Monthly debit of a deferred card\n UNKNOWN = \"UNKNOWN\", //Unknown transaction type\n MARKET_ORDER = \"MARKET_ORDER\", // Market order\n MARKET_FEE = \"MARKET_FEE\", // Fees regarding a market order\n ARBITRAGE = \"ARBITRAGE\", // Arbitrage\n PROFIT = \"PROFIT\", // Positive earnings from interests/coupons/dividends\n}\n","export enum BankAccountTypeEnum {\n CHECKING = \"CHECKING\",\n SAVINGS = \"SAVINGS\",\n LOAN = \"LOAN\",\n OTHER = \"OTHER\",\n}\n","export enum BudgetTypeEnum {\n INCOME = 'INCOME',\n EXPENDITURE = 'EXPENDITURE',\n}\n","export enum FetchPowensConnectionsTypeEnum {\n ALL = \"ALL\",\n USER_ACTION_REQUIRED = \"USER_ACTION_REQUIRED\",\n}\n","export enum LegalDocumentTypeEnum {\n TERMS_OF_USAGE = \"TERMS_OF_USAGE\",\n PRIVACY_POLICY = \"PRIVACY_POLICY\",\n}\n","export enum LoanTypeEnum {\n MORTGAGE = \"mortgage\",\n CONSUMER_CREDIT = \"consumercredit\",\n RESOLVING_CREDIT = \"revolvingcredit\",\n UNKNOWN = \"unknown\",\n}\n","export enum PowensConnectionStateEnum {\n /**\n * An SCA process must be performed to resume the synchronization process.\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n */\n SCA_REQUIRED = \"SCA_REQUIRED\",\n /**\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n * A web-based authentication process is required using the /webauth endpoint.\n * endpoint /webauth: https://docs.powens.com/api-reference/user-connections/connections#webauthurl-object\n */\n WEBAUTH_REQUIRED = \"WEBAUTH_REQUIRED\",\n /**\n * Additional information is needed to resume synchronization, such as an OTP. Connections in this state have a fields property.\n */\n ADDITIONAL_INFORMATION_NEEDED = \"ADDITIONAL_INFORMATION_NEEDED\",\n /**\n * User validation is required on a third-party app or device (ex: digital key).\n */\n DECOUPLED = \"DECOUPLED\",\n /**\n * User validation is being processed on our side. This state is temporary.\n */\n VALIDATING = \"VALIDATING\",\n /**\n * An action is needed on the website by the user, synchronization is blocked.\n * Synchronization failed because the user needs to perform an action directly on the bank website or app (usually, accept new CGUs or similar one-time actions).\n * You should present this error prominently\n */\n ACTION_NEEDED = \"ACTION_NEEDED\",\n /**\n * The password has expired and needs to be changed by the user before the synchronization can be retried.\n * Synchronization failed because the user needs to renew its password on the bank website.\n * You should present this error prominently and prompt the user for his new password afterwards.\n */\n PASSWORD_EXPIRED = \"PASSWORD_EXPIRED\",\n /**\n * The authentication on website has failed and new credentials must be obtained from the user. Connections in this state have a fields property\n * Synchronization failed because the credentials we own are invalid or obsolete.\n * You should present this error prominently\n */\n WRONGPASS = \"WRONGPASS\",\n /**\n * The target website or API is temporarily blocking synchronizations due to rate limiting.\n * Synchronization failed because the target website or API is temporarily blocking synchronizations due to rate limiting.\n * We will retry after a delay and connections in this state will be resumed automatically.\n */\n RATE_LIMITING = \"RATE_LIMITING\",\n /**\n * The connector website or API is unavailable.\n * Synchronization failed because the targeted API or website is temporarily unavailable.\n * We will periodically retry to sync.\n */\n WEBSITE_UNAVAILABLE = \"WEBSITE_UNAVAILABLE\",\n /**\n * An internal error has occurred during the synchronization.\n * Synchronization failed because of an error from our side. We monitor errors and do our best to fix them quickly.\n * Connections in this state will be resumed automatically after the error is fixed.\n */\n BUG = \"BUG\",\n /**\n * The source is not supported on the connector\n */\n NOT_SUPPORTED = \"NOT_SUPPORTED\",\n}\n","export enum PowensUserStatusEnum {\n // User is registered on Powens and got a powens ID and a unique access token\n REGISTERED = 'REGISTERED',\n\n // User is currently trying to make a new connection to their bank account (transition state)\n ATTEMPTING_NEW_CONNECTION = 'ATTEMPTING_NEW_CONNECTION',\n\n // On error in Powens administration console\n ON_ERROR = 'ON_ERROR',\n\n // Powens administration console deleted the user\n DELETED = 'DELETED',\n}\n","export enum SupportedCurrencyEnum {\n EUR = '€',\n USD = '$',\n GBP = '£',\n}\n","export enum UserStatusEnum {\n // Anonymous, does not have a real account on sowhat (= a simple co-owner with no Clerk ID)\n ANONYMOUS = 'ANONYMOUS',\n\n // Real user, got a Clerk account.\n // note: Being registered on clerk first is mandatory to be registered on Powens.\n REGISTERED = 'REGISTERED',\n\n // The user is deleted and can't be used anymore\n DELETED = 'DELETED',\n\n // The user's email and/or phone are black-listed from the sowhat app\n BLACK_LISTED = 'BLACK_LISTED',\n}\n","export enum ProjectKeyEnum {\n WEALTH_ASSESSMENT = \"WEALTH_ASSESSMENT\",\n OPTIMIZE_SAVINGS = \"OPTIMIZE_SAVINGS\",\n INVEST_IN_STOCK_EXCHANGE = \"INVEST_IN_STOCK_EXCHANGE\",\n INVEST_IN_REAL_ESTATE = \"INVEST_IN_REAL_ESTATE\",\n PREPARE_RETIREMENT = \"PREPARE_RETIREMENT\",\n PASS_ON_TO_DESCENDANTS = \"PASS_ON_TO_DESCENDANTS\",\n TAX_OPTIMIZATION = \"TAX_OPTIMIZATION\",\n}\n\n// [\n// {\n// key: \"WEALTH_ASSESSMENT\",\n// title: \"Faire un bilan patrimonial\",\n// description:\n// \"Évaluer ma situation financière et patrimoniale pour recevoir des conseils adaptés.\",\n// },\n// {\n// key: \"OPTIMIZE_SAVINGS\",\n// title: \"Améliorer le rendement de mon épargne\",\n// description:\n// \"Découvrir des solutions comme l’assurance vie ou le PEA pour mieux faire fructifier mon épargne.\",\n// },\n// {\n// key: \"INVEST_IN_STOCK_EXCHANGE\",\n// title: \"Investir en bourse\",\n// description: \"Mettre en place une stratégie d’investissement en actions via un PEA ou un CTO.\",\n// },\n// {\n// key: \"INVEST_IN_REAL_ESTATE\",\n// title: \"Investir dans l’immobilier\",\n// description:\n// \"Explorer des solutions comme les SCPI pour diversifier mon patrimoine dans la pierre.\",\n// },\n// {\n// key: \"PREPARE_RETIREMENT\",\n// title: \"Préparer ma retraite\",\n// description:\n// \"Mettre en place une stratégie avec des produits comme l’assurance vie ou le PER pour anticiper ma retraite.\",\n// },\n// {\n// key: \"PASS_ON_TO_DESCENDANTS\",\n// title: \"Transmettre à ma descendance\",\n// description:\n// \"Organiser la transmission de mon patrimoine à mes proches avec des solutions comme l’assurance vie ou les contrats de capitalisation.\",\n// },\n// {\n// key: \"TAX_OPTIMIZATION\",\n// title: \"Défiscaliser\",\n// description: \"Réduire mes impôts grâce à des dispositifs comme le PER, les FIP ou les FCPI.\",\n// },\n// ];\n","export enum ProjectPriorityEnum {\n LOW = \"LOW\",\n MEDIUM = \"MEDIUM\",\n HIGH = \"HIGH\",\n URGENT = \"URGENT\",\n}\n","export enum QuestionCategoryEnum {\n PERSONAL_INFORMATION = \"PERSONAL_INFORMATION\",\n FINANCIAL_INFORMATION = \"FINANCIAL_INFORMATION\",\n OTHER = \"OTHER\",\n}\n","export enum QuestionTypeEnum {\n TEXT = \"TEXT\",\n DATE = \"DATE\",\n NUMBER = \"NUMBER\",\n BOOLEAN = \"BOOLEAN\",\n MULTI_CHOICE = \"MULTI_CHOICE\",\n SINGLE_CHOICE = \"SINGLE_CHOICE\",\n}\n","export class FilterArgs {\n skip = 0;\n take = 25;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,cACX;AAEK,IAAM,kBAAkB;;;ACHxB,IAAK,gBAAL,kBAAKA,mBAAL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oBAAL;AAEL,EAAAA,gBAAA,eAAY;AAIZ,EAAAA,gBAAA,gBAAa;AAGb,EAAAA,gBAAA,aAAU;AAGV,EAAAA,gBAAA,kBAAe;AAZL,SAAAA;AAAA,GAAA;;;ACAL,IAAK,iBAAL,kBAAKC,oBAAL;AACL,EAAAA,gBAAA,uBAAoB;AACpB,EAAAA,gBAAA,sBAAmB;AACnB,EAAAA,gBAAA,8BAA2B;AAC3B,EAAAA,gBAAA,2BAAwB;AACxB,EAAAA,gBAAA,wBAAqB;AACrB,EAAAA,gBAAA,4BAAyB;AACzB,EAAAA,gBAAA,sBAAmB;AAPT,SAAAA;AAAA,GAAA;;;ACAL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,SAAM;AACN,EAAAA,qBAAA,YAAS;AACT,EAAAA,qBAAA,UAAO;AACP,EAAAA,qBAAA,YAAS;AAJC,SAAAA;AAAA,GAAA;;;ACAL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,2BAAwB;AACxB,EAAAA,sBAAA,WAAQ;AAHE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,mBAAL,kBAAKC,sBAAL;AACL,EAAAA,kBAAA,UAAO;AACP,EAAAA,kBAAA,UAAO;AACP,EAAAA,kBAAA,YAAS;AACT,EAAAA,kBAAA,aAAU;AACV,EAAAA,kBAAA,kBAAe;AACf,EAAAA,kBAAA,mBAAgB;AANN,SAAAA;AAAA,GAAA;;;ACAL,IAAM,aAAN,MAAiB;AAAA,EAAjB;AACL,gBAAO;AACP,gBAAO;AAAA;AACT;","names":["AssetTypeEnum","AuthenticationMethodEnum","AvailableCurrencyEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","BudgetTypeEnum","FetchPowensConnectionsTypeEnum","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum","ProjectKeyEnum","ProjectPriorityEnum","QuestionCategoryEnum","QuestionTypeEnum"]}
package/dist/index.mjs CHANGED
@@ -140,18 +140,13 @@ var UserStatusEnum = /* @__PURE__ */ ((UserStatusEnum2) => {
140
140
 
141
141
  // src/enums/project-key.enum.ts
142
142
  var ProjectKeyEnum = /* @__PURE__ */ ((ProjectKeyEnum2) => {
143
- ProjectKeyEnum2["CHANGE_BANK"] = "CHANGE_BANK";
144
- ProjectKeyEnum2["OPTIMIZE_SAVINGS"] = "OPTIMIZE_SAVINGS";
145
143
  ProjectKeyEnum2["WEALTH_ASSESSMENT"] = "WEALTH_ASSESSMENT";
144
+ ProjectKeyEnum2["OPTIMIZE_SAVINGS"] = "OPTIMIZE_SAVINGS";
146
145
  ProjectKeyEnum2["INVEST_IN_STOCK_EXCHANGE"] = "INVEST_IN_STOCK_EXCHANGE";
147
146
  ProjectKeyEnum2["INVEST_IN_REAL_ESTATE"] = "INVEST_IN_REAL_ESTATE";
148
- ProjectKeyEnum2["INVEST_IN_CRYPTO"] = "INVEST_IN_CRYPTO";
149
- ProjectKeyEnum2["INVEST_FOR_CAPITAL"] = "INVEST_FOR_CAPITAL";
150
- ProjectKeyEnum2["INVEST_FOR_TAX_BENEFITS"] = "INVEST_FOR_TAX_BENEFITS";
151
147
  ProjectKeyEnum2["PREPARE_RETIREMENT"] = "PREPARE_RETIREMENT";
152
- ProjectKeyEnum2["PASS_ON_TO_CHILDREN"] = "PASS_ON_TO_CHILDREN";
153
- ProjectKeyEnum2["FINANCE_REAL_ESTATE_PROJECT"] = "FINANCE_REAL_ESTATE_PROJECT";
154
- ProjectKeyEnum2["FINANCE_OTHER_PROJECT"] = "FINANCE_OTHER_PROJECT";
148
+ ProjectKeyEnum2["PASS_ON_TO_DESCENDANTS"] = "PASS_ON_TO_DESCENDANTS";
149
+ ProjectKeyEnum2["TAX_OPTIMIZATION"] = "TAX_OPTIMIZATION";
155
150
  return ProjectKeyEnum2;
156
151
  })(ProjectKeyEnum || {});
157
152
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/constants/index.ts","../src/enums/asset-type.enum.ts","../src/enums/authentication-method.enum.ts","../src/enums/available-currency.enum.ts","../src/enums/bank-account-scheme-name.ts","../src/enums/bank-account-transaction-type.enum.ts","../src/enums/bank-account-type.enum.ts","../src/enums/budget-type.enum.ts","../src/enums/fetch-powens-connections-type.enum.ts","../src/enums/legal-document-type.enum.ts","../src/enums/loan-type.enum.ts","../src/enums/powens-connection-state.enum.ts","../src/enums/powens-user-status.enum.ts","../src/enums/supported-currency-symbol.enum.ts","../src/enums/user-status.enum.ts","../src/enums/project-key.enum.ts","../src/enums/project-priority.enum.ts","../src/enums/question-category.enum.ts","../src/enums/question-type.enum.ts","../src/args/filter.args.ts"],"sourcesContent":["export const EMAIL_REGEX =\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\nexport const BUDGET_ID_REGEX = /^(0[1-9]|1[0-2])-\\d{4}$/;\n","export enum AssetTypeEnum {\n REAL_ESTATE = \"REAL_ESTATE\",\n MOBILITY = \"MOBILITY\",\n STOCK_EXCHANGE = \"STOCK_EXCHANGE\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n OTHER = \"OTHER\",\n}\n","export enum AuthenticationMethodEnum {\n PHONE = \"PHONE\",\n EMAIL = \"EMAIL\",\n}\n","export enum AvailableCurrencyEnum {\n EUR = \"€\",\n // USD = \"$\",\n}\n","export enum BankAccountSchemeNameEnum {\n IBAN = \"IBAN\",\n BBAN = \"BBAN\",\n SORT_CODE_ACCOUNT_NUMBER = \"SORT_CODE_ACCOUNT_NUMBER\",\n CPAN = \"CPAN\",\n TPAN = \"TPAN\",\n}\n","export enum BankAccountTransactionTypeEnum {\n TRANSFER = \"TRANSFER\", // Transfer\n ORDER = \"ORDER\", // Order\n CHECK = \"CHECK\", // Check\n DEPOSIT = \"DEPOSIT\", // Mandatory/voluntary deposits, contributions, money transfers\n PAYBACK = \"PAYBACK\", // Payback\n WITHDRAWAL = \"WITHDRAWAL\", // Withdrawal\n LOAN_REPAYMENT = \"LOAN_REPAYMENT\", // Loan payment\n BANK = \"BANK\", // Bank fees\n CARD = \"CARD\", // Card operation\n DEFERRED_CARD = \"DEFERRED_CARD\", // Deferred card operation\n SUMMARY_CARD = \"SUMMARY_CARD\", // Monthly debit of a deferred card\n UNKNOWN = \"UNKNOWN\", //Unknown transaction type\n MARKET_ORDER = \"MARKET_ORDER\", // Market order\n MARKET_FEE = \"MARKET_FEE\", // Fees regarding a market order\n ARBITRAGE = \"ARBITRAGE\", // Arbitrage\n PROFIT = \"PROFIT\", // Positive earnings from interests/coupons/dividends\n}\n","export enum BankAccountTypeEnum {\n CHECKING = \"CHECKING\",\n SAVINGS = \"SAVINGS\",\n LOAN = \"LOAN\",\n OTHER = \"OTHER\",\n}\n","export enum BudgetTypeEnum {\n INCOME = 'INCOME',\n EXPENDITURE = 'EXPENDITURE',\n}\n","export enum FetchPowensConnectionsTypeEnum {\n ALL = \"ALL\",\n USER_ACTION_REQUIRED = \"USER_ACTION_REQUIRED\",\n}\n","export enum LegalDocumentTypeEnum {\n TERMS_OF_USAGE = \"TERMS_OF_USAGE\",\n PRIVACY_POLICY = \"PRIVACY_POLICY\",\n}\n","export enum LoanTypeEnum {\n MORTGAGE = \"mortgage\",\n CONSUMER_CREDIT = \"consumercredit\",\n RESOLVING_CREDIT = \"revolvingcredit\",\n UNKNOWN = \"unknown\",\n}\n","export enum PowensConnectionStateEnum {\n /**\n * An SCA process must be performed to resume the synchronization process.\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n */\n SCA_REQUIRED = \"SCA_REQUIRED\",\n /**\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n * A web-based authentication process is required using the /webauth endpoint.\n * endpoint /webauth: https://docs.powens.com/api-reference/user-connections/connections#webauthurl-object\n */\n WEBAUTH_REQUIRED = \"WEBAUTH_REQUIRED\",\n /**\n * Additional information is needed to resume synchronization, such as an OTP. Connections in this state have a fields property.\n */\n ADDITIONAL_INFORMATION_NEEDED = \"ADDITIONAL_INFORMATION_NEEDED\",\n /**\n * User validation is required on a third-party app or device (ex: digital key).\n */\n DECOUPLED = \"DECOUPLED\",\n /**\n * User validation is being processed on our side. This state is temporary.\n */\n VALIDATING = \"VALIDATING\",\n /**\n * An action is needed on the website by the user, synchronization is blocked.\n * Synchronization failed because the user needs to perform an action directly on the bank website or app (usually, accept new CGUs or similar one-time actions).\n * You should present this error prominently\n */\n ACTION_NEEDED = \"ACTION_NEEDED\",\n /**\n * The password has expired and needs to be changed by the user before the synchronization can be retried.\n * Synchronization failed because the user needs to renew its password on the bank website.\n * You should present this error prominently and prompt the user for his new password afterwards.\n */\n PASSWORD_EXPIRED = \"PASSWORD_EXPIRED\",\n /**\n * The authentication on website has failed and new credentials must be obtained from the user. Connections in this state have a fields property\n * Synchronization failed because the credentials we own are invalid or obsolete.\n * You should present this error prominently\n */\n WRONGPASS = \"WRONGPASS\",\n /**\n * The target website or API is temporarily blocking synchronizations due to rate limiting.\n * Synchronization failed because the target website or API is temporarily blocking synchronizations due to rate limiting.\n * We will retry after a delay and connections in this state will be resumed automatically.\n */\n RATE_LIMITING = \"RATE_LIMITING\",\n /**\n * The connector website or API is unavailable.\n * Synchronization failed because the targeted API or website is temporarily unavailable.\n * We will periodically retry to sync.\n */\n WEBSITE_UNAVAILABLE = \"WEBSITE_UNAVAILABLE\",\n /**\n * An internal error has occurred during the synchronization.\n * Synchronization failed because of an error from our side. We monitor errors and do our best to fix them quickly.\n * Connections in this state will be resumed automatically after the error is fixed.\n */\n BUG = \"BUG\",\n /**\n * The source is not supported on the connector\n */\n NOT_SUPPORTED = \"NOT_SUPPORTED\",\n}\n","export enum PowensUserStatusEnum {\n // User is registered on Powens and got a powens ID and a unique access token\n REGISTERED = 'REGISTERED',\n\n // User is currently trying to make a new connection to their bank account (transition state)\n ATTEMPTING_NEW_CONNECTION = 'ATTEMPTING_NEW_CONNECTION',\n\n // On error in Powens administration console\n ON_ERROR = 'ON_ERROR',\n\n // Powens administration console deleted the user\n DELETED = 'DELETED',\n}\n","export enum SupportedCurrencyEnum {\n EUR = '€',\n USD = '$',\n GBP = '£',\n}\n","export enum UserStatusEnum {\n // Anonymous, does not have a real account on sowhat (= a simple co-owner with no Clerk ID)\n ANONYMOUS = 'ANONYMOUS',\n\n // Real user, got a Clerk account.\n // note: Being registered on clerk first is mandatory to be registered on Powens.\n REGISTERED = 'REGISTERED',\n\n // The user is deleted and can't be used anymore\n DELETED = 'DELETED',\n\n // The user's email and/or phone are black-listed from the sowhat app\n BLACK_LISTED = 'BLACK_LISTED',\n}\n","export enum ProjectKeyEnum {\n CHANGE_BANK = \"CHANGE_BANK\",\n OPTIMIZE_SAVINGS = \"OPTIMIZE_SAVINGS\",\n WEALTH_ASSESSMENT = \"WEALTH_ASSESSMENT\",\n INVEST_IN_STOCK_EXCHANGE = \"INVEST_IN_STOCK_EXCHANGE\",\n INVEST_IN_REAL_ESTATE = \"INVEST_IN_REAL_ESTATE\",\n INVEST_IN_CRYPTO = \"INVEST_IN_CRYPTO\",\n INVEST_FOR_CAPITAL = \"INVEST_FOR_CAPITAL\",\n INVEST_FOR_TAX_BENEFITS = \"INVEST_FOR_TAX_BENEFITS\",\n PREPARE_RETIREMENT = \"PREPARE_RETIREMENT\",\n PASS_ON_TO_CHILDREN = \"PASS_ON_TO_CHILDREN\",\n FINANCE_REAL_ESTATE_PROJECT = \"FINANCE_REAL_ESTATE_PROJECT\",\n FINANCE_OTHER_PROJECT = \"FINANCE_OTHER_PROJECT\",\n}\n\n// {\n// \"CHANGE_BANK\": {\n// \"title\": \"Changer de banque\",\n// \"description\": \"Explorer les solutions pour changer de banque et trouver une offre plus adaptée à mes besoins.\"\n// },\n// \"OPTIMIZE_SAVINGS\": {\n// \"title\": \"Mieux faire travailler mon épargne\",\n// \"description\": \"Découvrir des moyens efficaces pour améliorer le rendement de mon épargne.\"\n// },\n// \"WEALTH_ASSESSMENT\": {\n// \"title\": \"Faire un bilan patrimonial et recevoir des conseils d’expert\",\n// \"description\": \"Évaluer ma situation patrimoniale et obtenir un accompagnement personnalisé d’un expert.\"\n// },\n// \"INVEST_IN_STOCK_EXCHANGE\": {\n// \"title\": \"Investir en bourse\",\n// \"description\": \"Explorer les opportunités d’investissement en bourse.\"\n// },\n// \"INVEST_IN_REAL_ESTATE\": {\n// \"title\": \"Investir dans l’immobilier\",\n// \"description\": \"Découvrir des solutions pour investir dans l’immobilier et développer mon patrimoine.\"\n// },\n// \"INVEST_IN_CRYPTO\": {\n// \"title\": \"Investir dans les cryptomonnaies\",\n// \"description\": \"Apprendre à investir dans les cryptomonnaies et comprendre leurs opportunités et risques.\"\n// },\n// \"INVEST_FOR_CAPITAL\": {\n// \"title\": \"Investir pour me constituer un capital\",\n// \"description\": \"Mettre en place une stratégie d’investissement pour construire progressivement un capital.\"\n// },\n// \"INVEST_FOR_TAX_BENEFITS\": {\n// \"title\": \"Investir pour défiscaliser\",\n// \"description\": \"Utiliser l’investissement comme levier pour réduire ma fiscalité.\"\n// },\n// \"PREPARE_RETIREMENT\": {\n// \"title\": \"Préparer ma retraite\",\n// \"description\": \"Anticiper et organiser mes investissements pour assurer ma retraite.\"\n// },\n// \"PASS_ON_TO_CHILDREN\": {\n// \"title\": \"Transmettre à mes enfants et petits-enfants\",\n// \"description\": \"Planifier la transmission de mon patrimoine à mes enfants et petits-enfants.\"\n// },\n// \"FINANCE_REAL_ESTATE_PROJECT\": {\n// \"title\": \"Financer un projet immobilier\",\n// \"description\": \"Trouver des solutions pour financer l’achat ou la construction d’un bien immobilier.\"\n// },\n// \"FINANCE_OTHER_PROJECT\": {\n// \"title\": \"Financer un projet non-immobilier\",\n// \"description\": \"Mettre en place un financement adapté pour réaliser un projet personnel ou professionnel.\"\n// }\n// }\n","export enum ProjectPriorityEnum {\n LOW = \"LOW\",\n MEDIUM = \"MEDIUM\",\n HIGH = \"HIGH\",\n URGENT = \"URGENT\",\n}\n","export enum QuestionCategoryEnum {\n PERSONAL_INFORMATION = \"PERSONAL_INFORMATION\",\n FINANCIAL_INFORMATION = \"FINANCIAL_INFORMATION\",\n OTHER = \"OTHER\",\n}\n","export enum QuestionTypeEnum {\n TEXT = \"TEXT\",\n DATE = \"DATE\",\n NUMBER = \"NUMBER\",\n BOOLEAN = \"BOOLEAN\",\n MULTI_CHOICE = \"MULTI_CHOICE\",\n SINGLE_CHOICE = \"SINGLE_CHOICE\",\n}\n","export class FilterArgs {\n skip = 0;\n take = 25;\n}\n"],"mappings":";AAAO,IAAM,cACX;AAEK,IAAM,kBAAkB;;;ACHxB,IAAK,gBAAL,kBAAKA,mBAAL;AACL,EAAAA,eAAA,iBAAc;AACd,EAAAA,eAAA,cAAW;AACX,EAAAA,eAAA,oBAAiB;AACjB,EAAAA,eAAA,oBAAiB;AACjB,EAAAA,eAAA,WAAQ;AALE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,2BAAL,kBAAKC,8BAAL;AACL,EAAAA,0BAAA,WAAQ;AACR,EAAAA,0BAAA,WAAQ;AAFE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,wBAAL,kBAAKC,2BAAL;AACL,EAAAA,uBAAA,SAAM;AADI,SAAAA;AAAA,GAAA;;;ACAL,IAAK,4BAAL,kBAAKC,+BAAL;AACL,EAAAA,2BAAA,UAAO;AACP,EAAAA,2BAAA,UAAO;AACP,EAAAA,2BAAA,8BAA2B;AAC3B,EAAAA,2BAAA,UAAO;AACP,EAAAA,2BAAA,UAAO;AALG,SAAAA;AAAA,GAAA;;;ACAL,IAAK,iCAAL,kBAAKC,oCAAL;AACL,EAAAA,gCAAA,cAAW;AACX,EAAAA,gCAAA,WAAQ;AACR,EAAAA,gCAAA,WAAQ;AACR,EAAA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,qBAAA,YAAS;AAJC,SAAAA;AAAA,GAAA;;;ACAL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,2BAAwB;AACxB,EAAAA,sBAAA,WAAQ;AAHE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,mBAAL,kBAAKC,sBAAL;AACL,EAAAA,kBAAA,UAAO;AACP,EAAAA,kBAAA,UAAO;AACP,EAAAA,kBAAA,YAAS;AACT,EAAAA,kBAAA,aAAU;AACV,EAAAA,kBAAA,kBAAe;AACf,EAAAA,kBAAA,mBAAgB;AANN,SAAAA;AAAA,GAAA;;;ACAL,IAAM,aAAN,MAAiB;AAAA,EAAjB;AACL,gBAAO;AACP,gBAAO;AAAA;AACT;","names":["AssetTypeEnum","AuthenticationMethodEnum","AvailableCurrencyEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","BudgetTypeEnum","FetchPowensConnectionsTypeEnum","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum","ProjectKeyEnum","ProjectPriorityEnum","QuestionCategoryEnum","QuestionTypeEnum"]}
1
+ {"version":3,"sources":["../src/constants/index.ts","../src/enums/asset-type.enum.ts","../src/enums/authentication-method.enum.ts","../src/enums/available-currency.enum.ts","../src/enums/bank-account-scheme-name.ts","../src/enums/bank-account-transaction-type.enum.ts","../src/enums/bank-account-type.enum.ts","../src/enums/budget-type.enum.ts","../src/enums/fetch-powens-connections-type.enum.ts","../src/enums/legal-document-type.enum.ts","../src/enums/loan-type.enum.ts","../src/enums/powens-connection-state.enum.ts","../src/enums/powens-user-status.enum.ts","../src/enums/supported-currency-symbol.enum.ts","../src/enums/user-status.enum.ts","../src/enums/project-key.enum.ts","../src/enums/project-priority.enum.ts","../src/enums/question-category.enum.ts","../src/enums/question-type.enum.ts","../src/args/filter.args.ts"],"sourcesContent":["export const EMAIL_REGEX =\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\nexport const BUDGET_ID_REGEX = /^(0[1-9]|1[0-2])-\\d{4}$/;\n","export enum AssetTypeEnum {\n REAL_ESTATE = \"REAL_ESTATE\",\n MOBILITY = \"MOBILITY\",\n STOCK_EXCHANGE = \"STOCK_EXCHANGE\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n OTHER = \"OTHER\",\n}\n","export enum AuthenticationMethodEnum {\n PHONE = \"PHONE\",\n EMAIL = \"EMAIL\",\n}\n","export enum AvailableCurrencyEnum {\n EUR = \"€\",\n // USD = \"$\",\n}\n","export enum BankAccountSchemeNameEnum {\n IBAN = \"IBAN\",\n BBAN = \"BBAN\",\n SORT_CODE_ACCOUNT_NUMBER = \"SORT_CODE_ACCOUNT_NUMBER\",\n CPAN = \"CPAN\",\n TPAN = \"TPAN\",\n}\n","export enum BankAccountTransactionTypeEnum {\n TRANSFER = \"TRANSFER\", // Transfer\n ORDER = \"ORDER\", // Order\n CHECK = \"CHECK\", // Check\n DEPOSIT = \"DEPOSIT\", // Mandatory/voluntary deposits, contributions, money transfers\n PAYBACK = \"PAYBACK\", // Payback\n WITHDRAWAL = \"WITHDRAWAL\", // Withdrawal\n LOAN_REPAYMENT = \"LOAN_REPAYMENT\", // Loan payment\n BANK = \"BANK\", // Bank fees\n CARD = \"CARD\", // Card operation\n DEFERRED_CARD = \"DEFERRED_CARD\", // Deferred card operation\n SUMMARY_CARD = \"SUMMARY_CARD\", // Monthly debit of a deferred card\n UNKNOWN = \"UNKNOWN\", //Unknown transaction type\n MARKET_ORDER = \"MARKET_ORDER\", // Market order\n MARKET_FEE = \"MARKET_FEE\", // Fees regarding a market order\n ARBITRAGE = \"ARBITRAGE\", // Arbitrage\n PROFIT = \"PROFIT\", // Positive earnings from interests/coupons/dividends\n}\n","export enum BankAccountTypeEnum {\n CHECKING = \"CHECKING\",\n SAVINGS = \"SAVINGS\",\n LOAN = \"LOAN\",\n OTHER = \"OTHER\",\n}\n","export enum BudgetTypeEnum {\n INCOME = 'INCOME',\n EXPENDITURE = 'EXPENDITURE',\n}\n","export enum FetchPowensConnectionsTypeEnum {\n ALL = \"ALL\",\n USER_ACTION_REQUIRED = \"USER_ACTION_REQUIRED\",\n}\n","export enum LegalDocumentTypeEnum {\n TERMS_OF_USAGE = \"TERMS_OF_USAGE\",\n PRIVACY_POLICY = \"PRIVACY_POLICY\",\n}\n","export enum LoanTypeEnum {\n MORTGAGE = \"mortgage\",\n CONSUMER_CREDIT = \"consumercredit\",\n RESOLVING_CREDIT = \"revolvingcredit\",\n UNKNOWN = \"unknown\",\n}\n","export enum PowensConnectionStateEnum {\n /**\n * An SCA process must be performed to resume the synchronization process.\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n */\n SCA_REQUIRED = \"SCA_REQUIRED\",\n /**\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n * A web-based authentication process is required using the /webauth endpoint.\n * endpoint /webauth: https://docs.powens.com/api-reference/user-connections/connections#webauthurl-object\n */\n WEBAUTH_REQUIRED = \"WEBAUTH_REQUIRED\",\n /**\n * Additional information is needed to resume synchronization, such as an OTP. Connections in this state have a fields property.\n */\n ADDITIONAL_INFORMATION_NEEDED = \"ADDITIONAL_INFORMATION_NEEDED\",\n /**\n * User validation is required on a third-party app or device (ex: digital key).\n */\n DECOUPLED = \"DECOUPLED\",\n /**\n * User validation is being processed on our side. This state is temporary.\n */\n VALIDATING = \"VALIDATING\",\n /**\n * An action is needed on the website by the user, synchronization is blocked.\n * Synchronization failed because the user needs to perform an action directly on the bank website or app (usually, accept new CGUs or similar one-time actions).\n * You should present this error prominently\n */\n ACTION_NEEDED = \"ACTION_NEEDED\",\n /**\n * The password has expired and needs to be changed by the user before the synchronization can be retried.\n * Synchronization failed because the user needs to renew its password on the bank website.\n * You should present this error prominently and prompt the user for his new password afterwards.\n */\n PASSWORD_EXPIRED = \"PASSWORD_EXPIRED\",\n /**\n * The authentication on website has failed and new credentials must be obtained from the user. Connections in this state have a fields property\n * Synchronization failed because the credentials we own are invalid or obsolete.\n * You should present this error prominently\n */\n WRONGPASS = \"WRONGPASS\",\n /**\n * The target website or API is temporarily blocking synchronizations due to rate limiting.\n * Synchronization failed because the target website or API is temporarily blocking synchronizations due to rate limiting.\n * We will retry after a delay and connections in this state will be resumed automatically.\n */\n RATE_LIMITING = \"RATE_LIMITING\",\n /**\n * The connector website or API is unavailable.\n * Synchronization failed because the targeted API or website is temporarily unavailable.\n * We will periodically retry to sync.\n */\n WEBSITE_UNAVAILABLE = \"WEBSITE_UNAVAILABLE\",\n /**\n * An internal error has occurred during the synchronization.\n * Synchronization failed because of an error from our side. We monitor errors and do our best to fix them quickly.\n * Connections in this state will be resumed automatically after the error is fixed.\n */\n BUG = \"BUG\",\n /**\n * The source is not supported on the connector\n */\n NOT_SUPPORTED = \"NOT_SUPPORTED\",\n}\n","export enum PowensUserStatusEnum {\n // User is registered on Powens and got a powens ID and a unique access token\n REGISTERED = 'REGISTERED',\n\n // User is currently trying to make a new connection to their bank account (transition state)\n ATTEMPTING_NEW_CONNECTION = 'ATTEMPTING_NEW_CONNECTION',\n\n // On error in Powens administration console\n ON_ERROR = 'ON_ERROR',\n\n // Powens administration console deleted the user\n DELETED = 'DELETED',\n}\n","export enum SupportedCurrencyEnum {\n EUR = '€',\n USD = '$',\n GBP = '£',\n}\n","export enum UserStatusEnum {\n // Anonymous, does not have a real account on sowhat (= a simple co-owner with no Clerk ID)\n ANONYMOUS = 'ANONYMOUS',\n\n // Real user, got a Clerk account.\n // note: Being registered on clerk first is mandatory to be registered on Powens.\n REGISTERED = 'REGISTERED',\n\n // The user is deleted and can't be used anymore\n DELETED = 'DELETED',\n\n // The user's email and/or phone are black-listed from the sowhat app\n BLACK_LISTED = 'BLACK_LISTED',\n}\n","export enum ProjectKeyEnum {\n WEALTH_ASSESSMENT = \"WEALTH_ASSESSMENT\",\n OPTIMIZE_SAVINGS = \"OPTIMIZE_SAVINGS\",\n INVEST_IN_STOCK_EXCHANGE = \"INVEST_IN_STOCK_EXCHANGE\",\n INVEST_IN_REAL_ESTATE = \"INVEST_IN_REAL_ESTATE\",\n PREPARE_RETIREMENT = \"PREPARE_RETIREMENT\",\n PASS_ON_TO_DESCENDANTS = \"PASS_ON_TO_DESCENDANTS\",\n TAX_OPTIMIZATION = \"TAX_OPTIMIZATION\",\n}\n\n// [\n// {\n// key: \"WEALTH_ASSESSMENT\",\n// title: \"Faire un bilan patrimonial\",\n// description:\n// \"Évaluer ma situation financière et patrimoniale pour recevoir des conseils adaptés.\",\n// },\n// {\n// key: \"OPTIMIZE_SAVINGS\",\n// title: \"Améliorer le rendement de mon épargne\",\n// description:\n// \"Découvrir des solutions comme l’assurance vie ou le PEA pour mieux faire fructifier mon épargne.\",\n// },\n// {\n// key: \"INVEST_IN_STOCK_EXCHANGE\",\n// title: \"Investir en bourse\",\n// description: \"Mettre en place une stratégie d’investissement en actions via un PEA ou un CTO.\",\n// },\n// {\n// key: \"INVEST_IN_REAL_ESTATE\",\n// title: \"Investir dans l’immobilier\",\n// description:\n// \"Explorer des solutions comme les SCPI pour diversifier mon patrimoine dans la pierre.\",\n// },\n// {\n// key: \"PREPARE_RETIREMENT\",\n// title: \"Préparer ma retraite\",\n// description:\n// \"Mettre en place une stratégie avec des produits comme l’assurance vie ou le PER pour anticiper ma retraite.\",\n// },\n// {\n// key: \"PASS_ON_TO_DESCENDANTS\",\n// title: \"Transmettre à ma descendance\",\n// description:\n// \"Organiser la transmission de mon patrimoine à mes proches avec des solutions comme l’assurance vie ou les contrats de capitalisation.\",\n// },\n// {\n// key: \"TAX_OPTIMIZATION\",\n// title: \"Défiscaliser\",\n// description: \"Réduire mes impôts grâce à des dispositifs comme le PER, les FIP ou les FCPI.\",\n// },\n// ];\n","export enum ProjectPriorityEnum {\n LOW = \"LOW\",\n MEDIUM = \"MEDIUM\",\n HIGH = \"HIGH\",\n URGENT = \"URGENT\",\n}\n","export enum QuestionCategoryEnum {\n PERSONAL_INFORMATION = \"PERSONAL_INFORMATION\",\n FINANCIAL_INFORMATION = \"FINANCIAL_INFORMATION\",\n OTHER = \"OTHER\",\n}\n","export enum QuestionTypeEnum {\n TEXT = \"TEXT\",\n DATE = \"DATE\",\n NUMBER = \"NUMBER\",\n BOOLEAN = \"BOOLEAN\",\n MULTI_CHOICE = \"MULTI_CHOICE\",\n SINGLE_CHOICE = \"SINGLE_CHOICE\",\n}\n","export class FilterArgs {\n skip = 0;\n take = 25;\n}\n"],"mappings":";AAAO,IAAM,cACX;AAEK,IAAM,kBAAkB;;;ACHxB,IAAK,gBAAL,kBAAKA,mBAAL;AACL,EAAAA,eAAA,iBAAc;AACd,EAAAA,eAAA,cAAW;AACX,EAAAA,eAAA,oBAAiB;AACjB,EAAAA,eAAA,oBAAiB;AACjB,EAAAA,eAAA,WAAQ;AALE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,2BAAL,kBAAKC,8BAAL;AACL,EAAAA,0BAAA,WAAQ;AACR,EAAAA,0BAAA,WAAQ;AAFE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,wBAAL,kBAAKC,2BAAL;AACL,EAAAA,uBAAA,SAAM;AADI,SAAAA;AAAA,GAAA;;;ACAL,IAAK,4BAAL,kBAAKC,+BAAL;AACL,EAAAA,2BAAA,UAAO;AACP,EAAAA,2BAAA,UAAO;AACP,EAAAA,2BAAA,8BAA2B;AAC3B,EAAAA,2BAAA,UAAO;AACP,EAAAA,2BAAA,UAAO;AALG,SAAAA;AAAA,GAAA;;;ACAL,IAAK,iCAAL,kBAAKC,oCAAL;AACL,EAAAA,gCAAA,cAAW;AACX,EAAAA,gCAAA,WAAQ;AACR,EAAAA,gCAAA,WAAQ;AACR,EA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AAA,sBAAA,WAAQ;AAHE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,mBAAL,kBAAKC,sBAAL;AACL,EAAAA,kBAAA,UAAO;AACP,EAAAA,kBAAA,UAAO;AACP,EAAAA,kBAAA,YAAS;AACT,EAAAA,kBAAA,aAAU;AACV,EAAAA,kBAAA,kBAAe;AACf,EAAAA,kBAAA,mBAAgB;AANN,SAAAA;AAAA,GAAA;;;ACAL,IAAM,aAAN,MAAiB;AAAA,EAAjB;AACL,gBAAO;AACP,gBAAO;AAAA;AACT;","names":["AssetTypeEnum","AuthenticationMethodEnum","AvailableCurrencyEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","BudgetTypeEnum","FetchPowensConnectionsTypeEnum","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum","ProjectKeyEnum","ProjectPriorityEnum","QuestionCategoryEnum","QuestionTypeEnum"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.170",
3
+ "version": "2.0.172",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",