sowhat-types 2.0.182 → 2.0.184

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
@@ -63,7 +63,7 @@ declare enum FetchPowensConnectionsTypeEnum {
63
63
  USER_ACTION_REQUIRED = "USER_ACTION_REQUIRED"
64
64
  }
65
65
 
66
- declare enum FinancialProductTypeEnum {
66
+ declare enum FinancialProductOwnedEnum {
67
67
  LIVRET_A_LDD = "LIVRET_A_LDD",
68
68
  ASSURANCE_VIE = "ASSURANCE_VIE",
69
69
  COMPTE_A_TERME = "COMPTE_A_TERME",
@@ -73,6 +73,23 @@ declare enum FinancialProductTypeEnum {
73
73
  OTHER = "OTHER"
74
74
  }
75
75
 
76
+ declare enum FinancialProductEnum {
77
+ LIVRET_A = "LIVRET_A",
78
+ LDDS = "LDDS",
79
+ LEP = "LEP",
80
+ COMPTE_EPARGNE_CLASSIQUE = "COMPTE_EPARGNE_CLASSIQUE",
81
+ PEA = "PEA",
82
+ COMPTE_TITRES_ORDINAIRE = "COMPTE_TITRES_ORDINAIRE",
83
+ ASSURANCE_VIE = "ASSURANCE_VIE",
84
+ PER = "PER",
85
+ CREDIT_IMMOBILIER = "CREDIT_IMMOBILIER",
86
+ SCPI = "SCPI",
87
+ CREDIT_CONSOMMATION = "CREDIT_CONSOMMATION",
88
+ EPARGNE_SALARIALE = "EPARGNE_SALARIALE",
89
+ COMPTE_COURANT = "COMPTE_COURANT",
90
+ CRYPTO_ACTIFS = "CRYPTO_ACTIFS"
91
+ }
92
+
76
93
  declare enum LegalDocumentTypeEnum {
77
94
  TERMS_OF_USAGE = "TERMS_OF_USAGE",
78
95
  PRIVACY_POLICY = "PRIVACY_POLICY"
@@ -179,21 +196,22 @@ declare enum UserStatusEnum {
179
196
  BLACK_LISTED = "BLACK_LISTED"
180
197
  }
181
198
 
182
- declare enum ProjectKeyEnum {
199
+ declare enum ProjectNeedEnum {
183
200
  WEALTH_ASSESSMENT = "WEALTH_ASSESSMENT",
184
201
  OPTIMIZE_SAVINGS = "OPTIMIZE_SAVINGS",
185
202
  INVEST_IN_STOCK_EXCHANGE = "INVEST_IN_STOCK_EXCHANGE",
186
203
  INVEST_IN_REAL_ESTATE = "INVEST_IN_REAL_ESTATE",
187
204
  PREPARE_RETIREMENT = "PREPARE_RETIREMENT",
188
205
  PASS_ON_TO_DESCENDANTS = "PASS_ON_TO_DESCENDANTS",
189
- TAX_OPTIMIZATION = "TAX_OPTIMIZATION"
206
+ TAX_OPTIMIZATION = "TAX_OPTIMIZATION",
207
+ SPECIFIC_PRODUCT = "SPECIFIC_PRODUCT",
208
+ OTHER = "OTHER"
190
209
  }
191
210
 
192
- declare enum ProjectPriorityEnum {
193
- LOW = "LOW",
194
- MEDIUM = "MEDIUM",
195
- HIGH = "HIGH",
196
- URGENT = "URGENT"
211
+ declare enum ProjectOptionEnum {
212
+ BEGINNER = "BEGINNER",
213
+ INTERMEDIATE = "INTERMEDIATE",
214
+ ADVANCED = "ADVANCED"
197
215
  }
198
216
 
199
217
  declare enum QuestionCategoryEnum {
@@ -419,17 +437,21 @@ interface UpdateUserCoOwnerInput {
419
437
  }
420
438
 
421
439
  interface CreateProjectInput {
422
- key: string;
423
- priority: ProjectPriorityEnum;
424
- title: string;
440
+ option: ProjectOptionEnum;
441
+ initialAmount: number;
442
+ monthlyAmount: number;
443
+ need: ProjectNeedEnum;
444
+ financialProduct: FinancialProductEnum;
425
445
  note: string | null;
426
446
  }
427
447
 
428
448
  interface UpdateProjectInput {
429
449
  id: string;
430
- key?: string;
431
- priority?: ProjectPriorityEnum;
432
- title?: string;
450
+ option?: ProjectOptionEnum;
451
+ initialAmount?: number;
452
+ monthlyAmount?: number;
453
+ need?: ProjectNeedEnum;
454
+ financialProduct?: FinancialProductEnum;
433
455
  note?: string | null;
434
456
  }
435
457
 
@@ -467,7 +489,7 @@ interface UpdateQuestionPositionInput {
467
489
  interface FinancialSummariesFiltersInput {
468
490
  offset: number;
469
491
  limit: number;
470
- projectKeys?: ProjectKeyEnum[];
492
+ projectNeeds?: ProjectNeedEnum[];
471
493
  minTotalSavings?: number;
472
494
  maxTotalSavings?: number;
473
495
  minTotalCheckings?: number;
@@ -494,7 +516,7 @@ interface UpdateUserPersonalSummaryInput {
494
516
  professionDetails?: string | null;
495
517
  postalCode?: string | null;
496
518
  loanMonthlyPayment?: number | null;
497
- financialProductsOwn?: FinancialProductTypeEnum[] | null;
519
+ financialProductsOwned?: FinancialProductOwnedEnum[] | null;
498
520
  }
499
521
 
500
522
  interface UpdateUserInput {
@@ -945,21 +967,13 @@ interface PowensConnectWebviewResponse {
945
967
  createdAt: Date;
946
968
  }
947
969
 
948
- interface ProjectDeletedResponse {
949
- deleted: boolean;
950
- errorMessage: string | null;
951
- }
952
-
953
- interface ProjectUpdatedResponse {
954
- updated: boolean;
955
- errorMessage: string | null;
956
- }
957
-
958
970
  interface ProjectResponse {
959
971
  id: string;
960
- key: string;
961
- priority: ProjectPriorityEnum;
962
- title: string;
972
+ option: ProjectOptionEnum;
973
+ initialAmount: number;
974
+ monthlyAmount: number;
975
+ need: ProjectNeedEnum;
976
+ financialProduct: FinancialProductEnum;
963
977
  note: string | null;
964
978
  updatedAt: Date;
965
979
  createdAt: Date;
@@ -1019,6 +1033,7 @@ interface UserConsentsResponse {
1019
1033
 
1020
1034
  interface UserFinancialSummaryResponse {
1021
1035
  currency: string;
1036
+ projectNeeds: ProjectNeedEnum[];
1022
1037
  totalRealEstatesValue: number | null;
1023
1038
  totalMobilitiesValue: number | null;
1024
1039
  totalOtherAssetsValue: number | null;
@@ -1044,7 +1059,7 @@ interface UserPersonalSummaryResponse {
1044
1059
  salaryRange: string | null;
1045
1060
  postalCode: string | null;
1046
1061
  loanMonthlyPayment: number | null;
1047
- financialProductsOwn: FinancialProductTypeEnum[] | null;
1062
+ financialProductsOwned: FinancialProductOwnedEnum[] | null;
1048
1063
  }
1049
1064
 
1050
1065
  interface UserProfileResponse {
@@ -1169,4 +1184,4 @@ declare class FilterArgs {
1169
1184
  take: number;
1170
1185
  }
1171
1186
 
1172
- 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, FinancialProductTypeEnum, type FinancialSummariesFiltersInput, type GlobalWealthStatisticsResponse, LIVES_OUTSIDE_FRANCE, 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, RealEstateTypeEnum, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportResponse, type ReportValueResponse, type ReportWealthResponse, type ReportsResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type SwipableBudgetResponse, type SwipableBudgetsResponse, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProjectInput, type UpdateQuestionInput, type UpdateQuestionPositionInput, type UpdateRealEstateInput, type 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 UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
1187
+ 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, FinancialProductEnum, FinancialProductOwnedEnum, type FinancialSummariesFiltersInput, type GlobalWealthStatisticsResponse, LIVES_OUTSIDE_FRANCE, 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, ProjectNeedEnum, ProjectOptionEnum, type ProjectResponse, QuestionCategoryEnum, type QuestionOptionInput, type QuestionOptionResponse, type QuestionResponse, QuestionTypeEnum, type QuestionVersionResponse, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportResponse, type ReportValueResponse, type ReportWealthResponse, type ReportsResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type SwipableBudgetResponse, type SwipableBudgetsResponse, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProjectInput, type UpdateQuestionInput, type UpdateQuestionPositionInput, type UpdateRealEstateInput, type 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 UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
package/dist/index.d.ts CHANGED
@@ -63,7 +63,7 @@ declare enum FetchPowensConnectionsTypeEnum {
63
63
  USER_ACTION_REQUIRED = "USER_ACTION_REQUIRED"
64
64
  }
65
65
 
66
- declare enum FinancialProductTypeEnum {
66
+ declare enum FinancialProductOwnedEnum {
67
67
  LIVRET_A_LDD = "LIVRET_A_LDD",
68
68
  ASSURANCE_VIE = "ASSURANCE_VIE",
69
69
  COMPTE_A_TERME = "COMPTE_A_TERME",
@@ -73,6 +73,23 @@ declare enum FinancialProductTypeEnum {
73
73
  OTHER = "OTHER"
74
74
  }
75
75
 
76
+ declare enum FinancialProductEnum {
77
+ LIVRET_A = "LIVRET_A",
78
+ LDDS = "LDDS",
79
+ LEP = "LEP",
80
+ COMPTE_EPARGNE_CLASSIQUE = "COMPTE_EPARGNE_CLASSIQUE",
81
+ PEA = "PEA",
82
+ COMPTE_TITRES_ORDINAIRE = "COMPTE_TITRES_ORDINAIRE",
83
+ ASSURANCE_VIE = "ASSURANCE_VIE",
84
+ PER = "PER",
85
+ CREDIT_IMMOBILIER = "CREDIT_IMMOBILIER",
86
+ SCPI = "SCPI",
87
+ CREDIT_CONSOMMATION = "CREDIT_CONSOMMATION",
88
+ EPARGNE_SALARIALE = "EPARGNE_SALARIALE",
89
+ COMPTE_COURANT = "COMPTE_COURANT",
90
+ CRYPTO_ACTIFS = "CRYPTO_ACTIFS"
91
+ }
92
+
76
93
  declare enum LegalDocumentTypeEnum {
77
94
  TERMS_OF_USAGE = "TERMS_OF_USAGE",
78
95
  PRIVACY_POLICY = "PRIVACY_POLICY"
@@ -179,21 +196,22 @@ declare enum UserStatusEnum {
179
196
  BLACK_LISTED = "BLACK_LISTED"
180
197
  }
181
198
 
182
- declare enum ProjectKeyEnum {
199
+ declare enum ProjectNeedEnum {
183
200
  WEALTH_ASSESSMENT = "WEALTH_ASSESSMENT",
184
201
  OPTIMIZE_SAVINGS = "OPTIMIZE_SAVINGS",
185
202
  INVEST_IN_STOCK_EXCHANGE = "INVEST_IN_STOCK_EXCHANGE",
186
203
  INVEST_IN_REAL_ESTATE = "INVEST_IN_REAL_ESTATE",
187
204
  PREPARE_RETIREMENT = "PREPARE_RETIREMENT",
188
205
  PASS_ON_TO_DESCENDANTS = "PASS_ON_TO_DESCENDANTS",
189
- TAX_OPTIMIZATION = "TAX_OPTIMIZATION"
206
+ TAX_OPTIMIZATION = "TAX_OPTIMIZATION",
207
+ SPECIFIC_PRODUCT = "SPECIFIC_PRODUCT",
208
+ OTHER = "OTHER"
190
209
  }
191
210
 
192
- declare enum ProjectPriorityEnum {
193
- LOW = "LOW",
194
- MEDIUM = "MEDIUM",
195
- HIGH = "HIGH",
196
- URGENT = "URGENT"
211
+ declare enum ProjectOptionEnum {
212
+ BEGINNER = "BEGINNER",
213
+ INTERMEDIATE = "INTERMEDIATE",
214
+ ADVANCED = "ADVANCED"
197
215
  }
198
216
 
199
217
  declare enum QuestionCategoryEnum {
@@ -419,17 +437,21 @@ interface UpdateUserCoOwnerInput {
419
437
  }
420
438
 
421
439
  interface CreateProjectInput {
422
- key: string;
423
- priority: ProjectPriorityEnum;
424
- title: string;
440
+ option: ProjectOptionEnum;
441
+ initialAmount: number;
442
+ monthlyAmount: number;
443
+ need: ProjectNeedEnum;
444
+ financialProduct: FinancialProductEnum;
425
445
  note: string | null;
426
446
  }
427
447
 
428
448
  interface UpdateProjectInput {
429
449
  id: string;
430
- key?: string;
431
- priority?: ProjectPriorityEnum;
432
- title?: string;
450
+ option?: ProjectOptionEnum;
451
+ initialAmount?: number;
452
+ monthlyAmount?: number;
453
+ need?: ProjectNeedEnum;
454
+ financialProduct?: FinancialProductEnum;
433
455
  note?: string | null;
434
456
  }
435
457
 
@@ -467,7 +489,7 @@ interface UpdateQuestionPositionInput {
467
489
  interface FinancialSummariesFiltersInput {
468
490
  offset: number;
469
491
  limit: number;
470
- projectKeys?: ProjectKeyEnum[];
492
+ projectNeeds?: ProjectNeedEnum[];
471
493
  minTotalSavings?: number;
472
494
  maxTotalSavings?: number;
473
495
  minTotalCheckings?: number;
@@ -494,7 +516,7 @@ interface UpdateUserPersonalSummaryInput {
494
516
  professionDetails?: string | null;
495
517
  postalCode?: string | null;
496
518
  loanMonthlyPayment?: number | null;
497
- financialProductsOwn?: FinancialProductTypeEnum[] | null;
519
+ financialProductsOwned?: FinancialProductOwnedEnum[] | null;
498
520
  }
499
521
 
500
522
  interface UpdateUserInput {
@@ -945,21 +967,13 @@ interface PowensConnectWebviewResponse {
945
967
  createdAt: Date;
946
968
  }
947
969
 
948
- interface ProjectDeletedResponse {
949
- deleted: boolean;
950
- errorMessage: string | null;
951
- }
952
-
953
- interface ProjectUpdatedResponse {
954
- updated: boolean;
955
- errorMessage: string | null;
956
- }
957
-
958
970
  interface ProjectResponse {
959
971
  id: string;
960
- key: string;
961
- priority: ProjectPriorityEnum;
962
- title: string;
972
+ option: ProjectOptionEnum;
973
+ initialAmount: number;
974
+ monthlyAmount: number;
975
+ need: ProjectNeedEnum;
976
+ financialProduct: FinancialProductEnum;
963
977
  note: string | null;
964
978
  updatedAt: Date;
965
979
  createdAt: Date;
@@ -1019,6 +1033,7 @@ interface UserConsentsResponse {
1019
1033
 
1020
1034
  interface UserFinancialSummaryResponse {
1021
1035
  currency: string;
1036
+ projectNeeds: ProjectNeedEnum[];
1022
1037
  totalRealEstatesValue: number | null;
1023
1038
  totalMobilitiesValue: number | null;
1024
1039
  totalOtherAssetsValue: number | null;
@@ -1044,7 +1059,7 @@ interface UserPersonalSummaryResponse {
1044
1059
  salaryRange: string | null;
1045
1060
  postalCode: string | null;
1046
1061
  loanMonthlyPayment: number | null;
1047
- financialProductsOwn: FinancialProductTypeEnum[] | null;
1062
+ financialProductsOwned: FinancialProductOwnedEnum[] | null;
1048
1063
  }
1049
1064
 
1050
1065
  interface UserProfileResponse {
@@ -1169,4 +1184,4 @@ declare class FilterArgs {
1169
1184
  take: number;
1170
1185
  }
1171
1186
 
1172
- 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, FinancialProductTypeEnum, type FinancialSummariesFiltersInput, type GlobalWealthStatisticsResponse, LIVES_OUTSIDE_FRANCE, 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, RealEstateTypeEnum, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportResponse, type ReportValueResponse, type ReportWealthResponse, type ReportsResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type SwipableBudgetResponse, type SwipableBudgetsResponse, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProjectInput, type UpdateQuestionInput, type UpdateQuestionPositionInput, type UpdateRealEstateInput, type 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 UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
1187
+ 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, FinancialProductEnum, FinancialProductOwnedEnum, type FinancialSummariesFiltersInput, type GlobalWealthStatisticsResponse, LIVES_OUTSIDE_FRANCE, 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, ProjectNeedEnum, ProjectOptionEnum, type ProjectResponse, QuestionCategoryEnum, type QuestionOptionInput, type QuestionOptionResponse, type QuestionResponse, QuestionTypeEnum, type QuestionVersionResponse, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportResponse, type ReportValueResponse, type ReportWealthResponse, type ReportsResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type SwipableBudgetResponse, type SwipableBudgetsResponse, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProjectInput, type UpdateQuestionInput, type UpdateQuestionPositionInput, type UpdateRealEstateInput, type 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 UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
package/dist/index.js CHANGED
@@ -31,14 +31,15 @@ __export(src_exports, {
31
31
  EMAIL_REGEX: () => EMAIL_REGEX,
32
32
  FetchPowensConnectionsTypeEnum: () => FetchPowensConnectionsTypeEnum,
33
33
  FilterArgs: () => FilterArgs,
34
- FinancialProductTypeEnum: () => FinancialProductTypeEnum,
34
+ FinancialProductEnum: () => FinancialProductEnum,
35
+ FinancialProductOwnedEnum: () => FinancialProductOwnedEnum,
35
36
  LIVES_OUTSIDE_FRANCE: () => LIVES_OUTSIDE_FRANCE,
36
37
  LegalDocumentTypeEnum: () => LegalDocumentTypeEnum,
37
38
  LoanTypeEnum: () => LoanTypeEnum,
38
39
  PowensConnectionStateEnum: () => PowensConnectionStateEnum,
39
40
  PowensUserStatusEnum: () => PowensUserStatusEnum,
40
- ProjectKeyEnum: () => ProjectKeyEnum,
41
- ProjectPriorityEnum: () => ProjectPriorityEnum,
41
+ ProjectNeedEnum: () => ProjectNeedEnum,
42
+ ProjectOptionEnum: () => ProjectOptionEnum,
42
43
  QuestionCategoryEnum: () => QuestionCategoryEnum,
43
44
  QuestionTypeEnum: () => QuestionTypeEnum,
44
45
  RealEstateTypeEnum: () => RealEstateTypeEnum,
@@ -129,17 +130,36 @@ var FetchPowensConnectionsTypeEnum = /* @__PURE__ */ ((FetchPowensConnectionsTyp
129
130
  return FetchPowensConnectionsTypeEnum2;
130
131
  })(FetchPowensConnectionsTypeEnum || {});
131
132
 
132
- // src/enums/financial-product-type.enum.ts
133
- var FinancialProductTypeEnum = /* @__PURE__ */ ((FinancialProductTypeEnum2) => {
134
- FinancialProductTypeEnum2["LIVRET_A_LDD"] = "LIVRET_A_LDD";
135
- FinancialProductTypeEnum2["ASSURANCE_VIE"] = "ASSURANCE_VIE";
136
- FinancialProductTypeEnum2["COMPTE_A_TERME"] = "COMPTE_A_TERME";
137
- FinancialProductTypeEnum2["PEA"] = "PEA";
138
- FinancialProductTypeEnum2["PER"] = "PER";
139
- FinancialProductTypeEnum2["EPARGNE_SALARIALE"] = "EPARGNE_SALARIALE";
140
- FinancialProductTypeEnum2["OTHER"] = "OTHER";
141
- return FinancialProductTypeEnum2;
142
- })(FinancialProductTypeEnum || {});
133
+ // src/enums/financial-product-owned.enum.ts
134
+ var FinancialProductOwnedEnum = /* @__PURE__ */ ((FinancialProductOwnedEnum2) => {
135
+ FinancialProductOwnedEnum2["LIVRET_A_LDD"] = "LIVRET_A_LDD";
136
+ FinancialProductOwnedEnum2["ASSURANCE_VIE"] = "ASSURANCE_VIE";
137
+ FinancialProductOwnedEnum2["COMPTE_A_TERME"] = "COMPTE_A_TERME";
138
+ FinancialProductOwnedEnum2["PEA"] = "PEA";
139
+ FinancialProductOwnedEnum2["PER"] = "PER";
140
+ FinancialProductOwnedEnum2["EPARGNE_SALARIALE"] = "EPARGNE_SALARIALE";
141
+ FinancialProductOwnedEnum2["OTHER"] = "OTHER";
142
+ return FinancialProductOwnedEnum2;
143
+ })(FinancialProductOwnedEnum || {});
144
+
145
+ // src/enums/financial-product.enum.ts
146
+ var FinancialProductEnum = /* @__PURE__ */ ((FinancialProductEnum2) => {
147
+ FinancialProductEnum2["LIVRET_A"] = "LIVRET_A";
148
+ FinancialProductEnum2["LDDS"] = "LDDS";
149
+ FinancialProductEnum2["LEP"] = "LEP";
150
+ FinancialProductEnum2["COMPTE_EPARGNE_CLASSIQUE"] = "COMPTE_EPARGNE_CLASSIQUE";
151
+ FinancialProductEnum2["PEA"] = "PEA";
152
+ FinancialProductEnum2["COMPTE_TITRES_ORDINAIRE"] = "COMPTE_TITRES_ORDINAIRE";
153
+ FinancialProductEnum2["ASSURANCE_VIE"] = "ASSURANCE_VIE";
154
+ FinancialProductEnum2["PER"] = "PER";
155
+ FinancialProductEnum2["CREDIT_IMMOBILIER"] = "CREDIT_IMMOBILIER";
156
+ FinancialProductEnum2["SCPI"] = "SCPI";
157
+ FinancialProductEnum2["CREDIT_CONSOMMATION"] = "CREDIT_CONSOMMATION";
158
+ FinancialProductEnum2["EPARGNE_SALARIALE"] = "EPARGNE_SALARIALE";
159
+ FinancialProductEnum2["COMPTE_COURANT"] = "COMPTE_COURANT";
160
+ FinancialProductEnum2["CRYPTO_ACTIFS"] = "CRYPTO_ACTIFS";
161
+ return FinancialProductEnum2;
162
+ })(FinancialProductEnum || {});
143
163
 
144
164
  // src/enums/legal-document-type.enum.ts
145
165
  var LegalDocumentTypeEnum = /* @__PURE__ */ ((LegalDocumentTypeEnum2) => {
@@ -210,26 +230,27 @@ var UserStatusEnum = /* @__PURE__ */ ((UserStatusEnum2) => {
210
230
  return UserStatusEnum2;
211
231
  })(UserStatusEnum || {});
212
232
 
213
- // src/enums/project-key.enum.ts
214
- var ProjectKeyEnum = /* @__PURE__ */ ((ProjectKeyEnum2) => {
215
- ProjectKeyEnum2["WEALTH_ASSESSMENT"] = "WEALTH_ASSESSMENT";
216
- ProjectKeyEnum2["OPTIMIZE_SAVINGS"] = "OPTIMIZE_SAVINGS";
217
- ProjectKeyEnum2["INVEST_IN_STOCK_EXCHANGE"] = "INVEST_IN_STOCK_EXCHANGE";
218
- ProjectKeyEnum2["INVEST_IN_REAL_ESTATE"] = "INVEST_IN_REAL_ESTATE";
219
- ProjectKeyEnum2["PREPARE_RETIREMENT"] = "PREPARE_RETIREMENT";
220
- ProjectKeyEnum2["PASS_ON_TO_DESCENDANTS"] = "PASS_ON_TO_DESCENDANTS";
221
- ProjectKeyEnum2["TAX_OPTIMIZATION"] = "TAX_OPTIMIZATION";
222
- return ProjectKeyEnum2;
223
- })(ProjectKeyEnum || {});
233
+ // src/enums/project-need.enum.ts
234
+ var ProjectNeedEnum = /* @__PURE__ */ ((ProjectNeedEnum2) => {
235
+ ProjectNeedEnum2["WEALTH_ASSESSMENT"] = "WEALTH_ASSESSMENT";
236
+ ProjectNeedEnum2["OPTIMIZE_SAVINGS"] = "OPTIMIZE_SAVINGS";
237
+ ProjectNeedEnum2["INVEST_IN_STOCK_EXCHANGE"] = "INVEST_IN_STOCK_EXCHANGE";
238
+ ProjectNeedEnum2["INVEST_IN_REAL_ESTATE"] = "INVEST_IN_REAL_ESTATE";
239
+ ProjectNeedEnum2["PREPARE_RETIREMENT"] = "PREPARE_RETIREMENT";
240
+ ProjectNeedEnum2["PASS_ON_TO_DESCENDANTS"] = "PASS_ON_TO_DESCENDANTS";
241
+ ProjectNeedEnum2["TAX_OPTIMIZATION"] = "TAX_OPTIMIZATION";
242
+ ProjectNeedEnum2["SPECIFIC_PRODUCT"] = "SPECIFIC_PRODUCT";
243
+ ProjectNeedEnum2["OTHER"] = "OTHER";
244
+ return ProjectNeedEnum2;
245
+ })(ProjectNeedEnum || {});
224
246
 
225
- // src/enums/project-priority.enum.ts
226
- var ProjectPriorityEnum = /* @__PURE__ */ ((ProjectPriorityEnum2) => {
227
- ProjectPriorityEnum2["LOW"] = "LOW";
228
- ProjectPriorityEnum2["MEDIUM"] = "MEDIUM";
229
- ProjectPriorityEnum2["HIGH"] = "HIGH";
230
- ProjectPriorityEnum2["URGENT"] = "URGENT";
231
- return ProjectPriorityEnum2;
232
- })(ProjectPriorityEnum || {});
247
+ // src/enums/project-option.enum.ts
248
+ var ProjectOptionEnum = /* @__PURE__ */ ((ProjectOptionEnum2) => {
249
+ ProjectOptionEnum2["BEGINNER"] = "BEGINNER";
250
+ ProjectOptionEnum2["INTERMEDIATE"] = "INTERMEDIATE";
251
+ ProjectOptionEnum2["ADVANCED"] = "ADVANCED";
252
+ return ProjectOptionEnum2;
253
+ })(ProjectOptionEnum || {});
233
254
 
234
255
  // src/enums/question-category.enum.ts
235
256
  var QuestionCategoryEnum = /* @__PURE__ */ ((QuestionCategoryEnum2) => {
@@ -270,14 +291,15 @@ var FilterArgs = class {
270
291
  EMAIL_REGEX,
271
292
  FetchPowensConnectionsTypeEnum,
272
293
  FilterArgs,
273
- FinancialProductTypeEnum,
294
+ FinancialProductEnum,
295
+ FinancialProductOwnedEnum,
274
296
  LIVES_OUTSIDE_FRANCE,
275
297
  LegalDocumentTypeEnum,
276
298
  LoanTypeEnum,
277
299
  PowensConnectionStateEnum,
278
300
  PowensUserStatusEnum,
279
- ProjectKeyEnum,
280
- ProjectPriorityEnum,
301
+ ProjectNeedEnum,
302
+ ProjectOptionEnum,
281
303
  QuestionCategoryEnum,
282
304
  QuestionTypeEnum,
283
305
  RealEstateTypeEnum,
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/financial-product-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/real-estate-type.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\nexport const LIVES_OUTSIDE_FRANCE = \"LIVES_OUTSIDE_FRANCE\";\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 = \"EUR\",\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 FinancialProductTypeEnum {\n LIVRET_A_LDD = \"LIVRET_A_LDD\",\n ASSURANCE_VIE = \"ASSURANCE_VIE\",\n COMPTE_A_TERME = \"COMPTE_A_TERME\",\n PEA = \"PEA\",\n PER = \"PER\",\n EPARGNE_SALARIALE = \"EPARGNE_SALARIALE\",\n OTHER = \"OTHER\",\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 RealEstateTypeEnum {\n HOUSE = \"HOUSE\",\n APARTMENT = \"APARTMENT\",\n VILLA = \"VILLA\",\n CHATEAU = \"CHATEAU\",\n MANSION = \"MANSION\",\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;AAAA;AAAA;AAAA;;;ACAO,IAAM,cACX;AAEK,IAAM,kBAAkB;AAExB,IAAM,uBAAuB;;;ACL7B,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,SA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A,SAAM;AACN,EAAAA,uBAAA,SAAM;AACN,EAAAA,uBAAA,SAAM;AAHI,SAAAA;AAAA,GAAA;;;ACAL,IAAK,iBAAL,kBAAKC,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","FinancialProductTypeEnum","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","RealEstateTypeEnum","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/financial-product-owned.enum.ts","../src/enums/financial-product.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/real-estate-type.enum.ts","../src/enums/supported-currency-symbol.enum.ts","../src/enums/user-status.enum.ts","../src/enums/project-need.enum.ts","../src/enums/project-option.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\nexport const LIVES_OUTSIDE_FRANCE = \"LIVES_OUTSIDE_FRANCE\";\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 = \"EUR\",\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 FinancialProductOwnedEnum {\n LIVRET_A_LDD = \"LIVRET_A_LDD\",\n ASSURANCE_VIE = \"ASSURANCE_VIE\",\n COMPTE_A_TERME = \"COMPTE_A_TERME\",\n PEA = \"PEA\",\n PER = \"PER\",\n EPARGNE_SALARIALE = \"EPARGNE_SALARIALE\",\n OTHER = \"OTHER\",\n}\n","export enum FinancialProductEnum {\n LIVRET_A = \"LIVRET_A\",\n LDDS = \"LDDS\",\n LEP = \"LEP\",\n COMPTE_EPARGNE_CLASSIQUE = \"COMPTE_EPARGNE_CLASSIQUE\",\n PEA = \"PEA\",\n COMPTE_TITRES_ORDINAIRE = \"COMPTE_TITRES_ORDINAIRE\",\n ASSURANCE_VIE = \"ASSURANCE_VIE\",\n PER = \"PER\",\n CREDIT_IMMOBILIER = \"CREDIT_IMMOBILIER\",\n SCPI = \"SCPI\",\n CREDIT_CONSOMMATION = \"CREDIT_CONSOMMATION\",\n EPARGNE_SALARIALE = \"EPARGNE_SALARIALE\",\n COMPTE_COURANT = \"COMPTE_COURANT\",\n CRYPTO_ACTIFS = \"CRYPTO_ACTIFS\",\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 RealEstateTypeEnum {\n HOUSE = \"HOUSE\",\n APARTMENT = \"APARTMENT\",\n VILLA = \"VILLA\",\n CHATEAU = \"CHATEAU\",\n MANSION = \"MANSION\",\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 ProjectNeedEnum {\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 SPECIFIC_PRODUCT = \"SPECIFIC_PRODUCT\",\n OTHER = \"OTHER\",\n}\n","export enum ProjectOptionEnum {\n BEGINNER = \"BEGINNER\",\n INTERMEDIATE = \"INTERMEDIATE\",\n ADVANCED = \"ADVANCED\",\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 NUM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eEnum","BankAccountTypeEnum","BudgetTypeEnum","FetchPowensConnectionsTypeEnum","FinancialProductOwnedEnum","FinancialProductEnum","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","RealEstateTypeEnum","SupportedCurrencyEnum","UserStatusEnum","ProjectNeedEnum","ProjectOptionEnum","QuestionCategoryEnum","QuestionTypeEnum"]}
package/dist/index.mjs CHANGED
@@ -80,17 +80,36 @@ var FetchPowensConnectionsTypeEnum = /* @__PURE__ */ ((FetchPowensConnectionsTyp
80
80
  return FetchPowensConnectionsTypeEnum2;
81
81
  })(FetchPowensConnectionsTypeEnum || {});
82
82
 
83
- // src/enums/financial-product-type.enum.ts
84
- var FinancialProductTypeEnum = /* @__PURE__ */ ((FinancialProductTypeEnum2) => {
85
- FinancialProductTypeEnum2["LIVRET_A_LDD"] = "LIVRET_A_LDD";
86
- FinancialProductTypeEnum2["ASSURANCE_VIE"] = "ASSURANCE_VIE";
87
- FinancialProductTypeEnum2["COMPTE_A_TERME"] = "COMPTE_A_TERME";
88
- FinancialProductTypeEnum2["PEA"] = "PEA";
89
- FinancialProductTypeEnum2["PER"] = "PER";
90
- FinancialProductTypeEnum2["EPARGNE_SALARIALE"] = "EPARGNE_SALARIALE";
91
- FinancialProductTypeEnum2["OTHER"] = "OTHER";
92
- return FinancialProductTypeEnum2;
93
- })(FinancialProductTypeEnum || {});
83
+ // src/enums/financial-product-owned.enum.ts
84
+ var FinancialProductOwnedEnum = /* @__PURE__ */ ((FinancialProductOwnedEnum2) => {
85
+ FinancialProductOwnedEnum2["LIVRET_A_LDD"] = "LIVRET_A_LDD";
86
+ FinancialProductOwnedEnum2["ASSURANCE_VIE"] = "ASSURANCE_VIE";
87
+ FinancialProductOwnedEnum2["COMPTE_A_TERME"] = "COMPTE_A_TERME";
88
+ FinancialProductOwnedEnum2["PEA"] = "PEA";
89
+ FinancialProductOwnedEnum2["PER"] = "PER";
90
+ FinancialProductOwnedEnum2["EPARGNE_SALARIALE"] = "EPARGNE_SALARIALE";
91
+ FinancialProductOwnedEnum2["OTHER"] = "OTHER";
92
+ return FinancialProductOwnedEnum2;
93
+ })(FinancialProductOwnedEnum || {});
94
+
95
+ // src/enums/financial-product.enum.ts
96
+ var FinancialProductEnum = /* @__PURE__ */ ((FinancialProductEnum2) => {
97
+ FinancialProductEnum2["LIVRET_A"] = "LIVRET_A";
98
+ FinancialProductEnum2["LDDS"] = "LDDS";
99
+ FinancialProductEnum2["LEP"] = "LEP";
100
+ FinancialProductEnum2["COMPTE_EPARGNE_CLASSIQUE"] = "COMPTE_EPARGNE_CLASSIQUE";
101
+ FinancialProductEnum2["PEA"] = "PEA";
102
+ FinancialProductEnum2["COMPTE_TITRES_ORDINAIRE"] = "COMPTE_TITRES_ORDINAIRE";
103
+ FinancialProductEnum2["ASSURANCE_VIE"] = "ASSURANCE_VIE";
104
+ FinancialProductEnum2["PER"] = "PER";
105
+ FinancialProductEnum2["CREDIT_IMMOBILIER"] = "CREDIT_IMMOBILIER";
106
+ FinancialProductEnum2["SCPI"] = "SCPI";
107
+ FinancialProductEnum2["CREDIT_CONSOMMATION"] = "CREDIT_CONSOMMATION";
108
+ FinancialProductEnum2["EPARGNE_SALARIALE"] = "EPARGNE_SALARIALE";
109
+ FinancialProductEnum2["COMPTE_COURANT"] = "COMPTE_COURANT";
110
+ FinancialProductEnum2["CRYPTO_ACTIFS"] = "CRYPTO_ACTIFS";
111
+ return FinancialProductEnum2;
112
+ })(FinancialProductEnum || {});
94
113
 
95
114
  // src/enums/legal-document-type.enum.ts
96
115
  var LegalDocumentTypeEnum = /* @__PURE__ */ ((LegalDocumentTypeEnum2) => {
@@ -161,26 +180,27 @@ var UserStatusEnum = /* @__PURE__ */ ((UserStatusEnum2) => {
161
180
  return UserStatusEnum2;
162
181
  })(UserStatusEnum || {});
163
182
 
164
- // src/enums/project-key.enum.ts
165
- var ProjectKeyEnum = /* @__PURE__ */ ((ProjectKeyEnum2) => {
166
- ProjectKeyEnum2["WEALTH_ASSESSMENT"] = "WEALTH_ASSESSMENT";
167
- ProjectKeyEnum2["OPTIMIZE_SAVINGS"] = "OPTIMIZE_SAVINGS";
168
- ProjectKeyEnum2["INVEST_IN_STOCK_EXCHANGE"] = "INVEST_IN_STOCK_EXCHANGE";
169
- ProjectKeyEnum2["INVEST_IN_REAL_ESTATE"] = "INVEST_IN_REAL_ESTATE";
170
- ProjectKeyEnum2["PREPARE_RETIREMENT"] = "PREPARE_RETIREMENT";
171
- ProjectKeyEnum2["PASS_ON_TO_DESCENDANTS"] = "PASS_ON_TO_DESCENDANTS";
172
- ProjectKeyEnum2["TAX_OPTIMIZATION"] = "TAX_OPTIMIZATION";
173
- return ProjectKeyEnum2;
174
- })(ProjectKeyEnum || {});
175
-
176
- // src/enums/project-priority.enum.ts
177
- var ProjectPriorityEnum = /* @__PURE__ */ ((ProjectPriorityEnum2) => {
178
- ProjectPriorityEnum2["LOW"] = "LOW";
179
- ProjectPriorityEnum2["MEDIUM"] = "MEDIUM";
180
- ProjectPriorityEnum2["HIGH"] = "HIGH";
181
- ProjectPriorityEnum2["URGENT"] = "URGENT";
182
- return ProjectPriorityEnum2;
183
- })(ProjectPriorityEnum || {});
183
+ // src/enums/project-need.enum.ts
184
+ var ProjectNeedEnum = /* @__PURE__ */ ((ProjectNeedEnum2) => {
185
+ ProjectNeedEnum2["WEALTH_ASSESSMENT"] = "WEALTH_ASSESSMENT";
186
+ ProjectNeedEnum2["OPTIMIZE_SAVINGS"] = "OPTIMIZE_SAVINGS";
187
+ ProjectNeedEnum2["INVEST_IN_STOCK_EXCHANGE"] = "INVEST_IN_STOCK_EXCHANGE";
188
+ ProjectNeedEnum2["INVEST_IN_REAL_ESTATE"] = "INVEST_IN_REAL_ESTATE";
189
+ ProjectNeedEnum2["PREPARE_RETIREMENT"] = "PREPARE_RETIREMENT";
190
+ ProjectNeedEnum2["PASS_ON_TO_DESCENDANTS"] = "PASS_ON_TO_DESCENDANTS";
191
+ ProjectNeedEnum2["TAX_OPTIMIZATION"] = "TAX_OPTIMIZATION";
192
+ ProjectNeedEnum2["SPECIFIC_PRODUCT"] = "SPECIFIC_PRODUCT";
193
+ ProjectNeedEnum2["OTHER"] = "OTHER";
194
+ return ProjectNeedEnum2;
195
+ })(ProjectNeedEnum || {});
196
+
197
+ // src/enums/project-option.enum.ts
198
+ var ProjectOptionEnum = /* @__PURE__ */ ((ProjectOptionEnum2) => {
199
+ ProjectOptionEnum2["BEGINNER"] = "BEGINNER";
200
+ ProjectOptionEnum2["INTERMEDIATE"] = "INTERMEDIATE";
201
+ ProjectOptionEnum2["ADVANCED"] = "ADVANCED";
202
+ return ProjectOptionEnum2;
203
+ })(ProjectOptionEnum || {});
184
204
 
185
205
  // src/enums/question-category.enum.ts
186
206
  var QuestionCategoryEnum = /* @__PURE__ */ ((QuestionCategoryEnum2) => {
@@ -220,14 +240,15 @@ export {
220
240
  EMAIL_REGEX,
221
241
  FetchPowensConnectionsTypeEnum,
222
242
  FilterArgs,
223
- FinancialProductTypeEnum,
243
+ FinancialProductEnum,
244
+ FinancialProductOwnedEnum,
224
245
  LIVES_OUTSIDE_FRANCE,
225
246
  LegalDocumentTypeEnum,
226
247
  LoanTypeEnum,
227
248
  PowensConnectionStateEnum,
228
249
  PowensUserStatusEnum,
229
- ProjectKeyEnum,
230
- ProjectPriorityEnum,
250
+ ProjectNeedEnum,
251
+ ProjectOptionEnum,
231
252
  QuestionCategoryEnum,
232
253
  QuestionTypeEnum,
233
254
  RealEstateTypeEnum,
@@ -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/financial-product-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/real-estate-type.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\nexport const LIVES_OUTSIDE_FRANCE = \"LIVES_OUTSIDE_FRANCE\";\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 = \"EUR\",\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 FinancialProductTypeEnum {\n LIVRET_A_LDD = \"LIVRET_A_LDD\",\n ASSURANCE_VIE = \"ASSURANCE_VIE\",\n COMPTE_A_TERME = \"COMPTE_A_TERME\",\n PEA = \"PEA\",\n PER = \"PER\",\n EPARGNE_SALARIALE = \"EPARGNE_SALARIALE\",\n OTHER = \"OTHER\",\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 RealEstateTypeEnum {\n HOUSE = \"HOUSE\",\n APARTMENT = \"APARTMENT\",\n VILLA = \"VILLA\",\n CHATEAU = \"CHATEAU\",\n MANSION = \"MANSION\",\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;AAExB,IAAM,uBAAuB;;;ACL7B,IAAK,gBAAL,kBAAKA,mBAAL;AACL,EAAAA,eAAA,iBAAc;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A,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","FinancialProductTypeEnum","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","RealEstateTypeEnum","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/financial-product-owned.enum.ts","../src/enums/financial-product.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/real-estate-type.enum.ts","../src/enums/supported-currency-symbol.enum.ts","../src/enums/user-status.enum.ts","../src/enums/project-need.enum.ts","../src/enums/project-option.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\nexport const LIVES_OUTSIDE_FRANCE = \"LIVES_OUTSIDE_FRANCE\";\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 = \"EUR\",\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 FinancialProductOwnedEnum {\n LIVRET_A_LDD = \"LIVRET_A_LDD\",\n ASSURANCE_VIE = \"ASSURANCE_VIE\",\n COMPTE_A_TERME = \"COMPTE_A_TERME\",\n PEA = \"PEA\",\n PER = \"PER\",\n EPARGNE_SALARIALE = \"EPARGNE_SALARIALE\",\n OTHER = \"OTHER\",\n}\n","export enum FinancialProductEnum {\n LIVRET_A = \"LIVRET_A\",\n LDDS = \"LDDS\",\n LEP = \"LEP\",\n COMPTE_EPARGNE_CLASSIQUE = \"COMPTE_EPARGNE_CLASSIQUE\",\n PEA = \"PEA\",\n COMPTE_TITRES_ORDINAIRE = \"COMPTE_TITRES_ORDINAIRE\",\n ASSURANCE_VIE = \"ASSURANCE_VIE\",\n PER = \"PER\",\n CREDIT_IMMOBILIER = \"CREDIT_IMMOBILIER\",\n SCPI = \"SCPI\",\n CREDIT_CONSOMMATION = \"CREDIT_CONSOMMATION\",\n EPARGNE_SALARIALE = \"EPARGNE_SALARIALE\",\n COMPTE_COURANT = \"COMPTE_COURANT\",\n CRYPTO_ACTIFS = \"CRYPTO_ACTIFS\",\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 RealEstateTypeEnum {\n HOUSE = \"HOUSE\",\n APARTMENT = \"APARTMENT\",\n VILLA = \"VILLA\",\n CHATEAU = \"CHATEAU\",\n MANSION = \"MANSION\",\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 ProjectNeedEnum {\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 SPECIFIC_PRODUCT = \"SPECIFIC_PRODUCT\",\n OTHER = \"OTHER\",\n}\n","export enum ProjectOptionEnum {\n BEGINNER = \"BEGINNER\",\n INTERMEDIATE = \"INTERMEDIATE\",\n ADVANCED = \"ADVANCED\",\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;AAExB,IAAM,uBAAuB;;;ACL7B,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,EAAAA,gCAAA,aAAU;AACV,EAAAA,gCAAA,aAAU;AACV,EAAAA,gCAAA,gBAAa;AACb,EAAAA,gCAAA,oBAAiB;AACjB,EAAA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num","BankAccountTypeEnum","BudgetTypeEnum","FetchPowensConnectionsTypeEnum","FinancialProductOwnedEnum","FinancialProductEnum","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","RealEstateTypeEnum","SupportedCurrencyEnum","UserStatusEnum","ProjectNeedEnum","ProjectOptionEnum","QuestionCategoryEnum","QuestionTypeEnum"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.182",
3
+ "version": "2.0.184",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",