sowhat-types 2.0.181 → 2.0.183

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,6 +63,33 @@ declare enum FetchPowensConnectionsTypeEnum {
63
63
  USER_ACTION_REQUIRED = "USER_ACTION_REQUIRED"
64
64
  }
65
65
 
66
+ declare enum FinancialProductOwnedEnum {
67
+ LIVRET_A_LDD = "LIVRET_A_LDD",
68
+ ASSURANCE_VIE = "ASSURANCE_VIE",
69
+ COMPTE_A_TERME = "COMPTE_A_TERME",
70
+ PEA = "PEA",
71
+ PER = "PER",
72
+ EPARGNE_SALARIALE = "EPARGNE_SALARIALE",
73
+ OTHER = "OTHER"
74
+ }
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
+
66
93
  declare enum LegalDocumentTypeEnum {
67
94
  TERMS_OF_USAGE = "TERMS_OF_USAGE",
68
95
  PRIVACY_POLICY = "PRIVACY_POLICY"
@@ -169,21 +196,22 @@ declare enum UserStatusEnum {
169
196
  BLACK_LISTED = "BLACK_LISTED"
170
197
  }
171
198
 
172
- declare enum ProjectKeyEnum {
199
+ declare enum ProjectNeedEnum {
173
200
  WEALTH_ASSESSMENT = "WEALTH_ASSESSMENT",
174
201
  OPTIMIZE_SAVINGS = "OPTIMIZE_SAVINGS",
175
202
  INVEST_IN_STOCK_EXCHANGE = "INVEST_IN_STOCK_EXCHANGE",
176
203
  INVEST_IN_REAL_ESTATE = "INVEST_IN_REAL_ESTATE",
177
204
  PREPARE_RETIREMENT = "PREPARE_RETIREMENT",
178
205
  PASS_ON_TO_DESCENDANTS = "PASS_ON_TO_DESCENDANTS",
179
- TAX_OPTIMIZATION = "TAX_OPTIMIZATION"
206
+ TAX_OPTIMIZATION = "TAX_OPTIMIZATION",
207
+ SPECIFIC_PRODUCT = "SPECIFIC_PRODUCT",
208
+ OTHER = "OTHER"
180
209
  }
181
210
 
182
- declare enum ProjectPriorityEnum {
183
- LOW = "LOW",
184
- MEDIUM = "MEDIUM",
185
- HIGH = "HIGH",
186
- URGENT = "URGENT"
211
+ declare enum ProjectOptionEnum {
212
+ BEGINNER = "BEGINNER",
213
+ INTERMEDIATE = "INTERMEDIATE",
214
+ ADVANCED = "ADVANCED"
187
215
  }
188
216
 
189
217
  declare enum QuestionCategoryEnum {
@@ -264,7 +292,7 @@ interface CreateRealEstateInput {
264
292
  iOwnShare: number;
265
293
  }
266
294
 
267
- interface UpdateRealEstateArgs {
295
+ interface UpdateRealEstateInput {
268
296
  id: string;
269
297
  name?: string;
270
298
  type?: RealEstateTypeEnum;
@@ -409,17 +437,21 @@ interface UpdateUserCoOwnerInput {
409
437
  }
410
438
 
411
439
  interface CreateProjectInput {
412
- key: string;
413
- priority: ProjectPriorityEnum;
414
- title: string;
440
+ option: ProjectOptionEnum;
441
+ initialAmount: number;
442
+ monthlyAmount: number;
443
+ need: ProjectNeedEnum;
444
+ financialProduct: FinancialProductEnum;
415
445
  note: string | null;
416
446
  }
417
447
 
418
448
  interface UpdateProjectInput {
419
449
  id: string;
420
- key?: string;
421
- priority?: ProjectPriorityEnum;
422
- title?: string;
450
+ option?: ProjectOptionEnum;
451
+ initialAmount?: number;
452
+ monthlyAmount?: number;
453
+ need?: ProjectNeedEnum;
454
+ financialProduct?: FinancialProductEnum;
423
455
  note?: string | null;
424
456
  }
425
457
 
@@ -457,7 +489,7 @@ interface UpdateQuestionPositionInput {
457
489
  interface FinancialSummariesFiltersInput {
458
490
  offset: number;
459
491
  limit: number;
460
- projectKeys?: ProjectKeyEnum[];
492
+ projectNeeds?: ProjectNeedEnum[];
461
493
  minTotalSavings?: number;
462
494
  maxTotalSavings?: number;
463
495
  minTotalCheckings?: number;
@@ -484,6 +516,7 @@ interface UpdateUserPersonalSummaryInput {
484
516
  professionDetails?: string | null;
485
517
  postalCode?: string | null;
486
518
  loanMonthlyPayment?: number | null;
519
+ financialProductsOwn?: FinancialProductOwnedEnum[] | null;
487
520
  }
488
521
 
489
522
  interface UpdateUserInput {
@@ -934,21 +967,13 @@ interface PowensConnectWebviewResponse {
934
967
  createdAt: Date;
935
968
  }
936
969
 
937
- interface ProjectDeletedResponse {
938
- deleted: boolean;
939
- errorMessage: string | null;
940
- }
941
-
942
- interface ProjectUpdatedResponse {
943
- updated: boolean;
944
- errorMessage: string | null;
945
- }
946
-
947
970
  interface ProjectResponse {
948
971
  id: string;
949
- key: string;
950
- priority: ProjectPriorityEnum;
951
- title: string;
972
+ option: ProjectOptionEnum;
973
+ initialAmount: number;
974
+ monthlyAmount: number;
975
+ need: ProjectNeedEnum;
976
+ financialProduct: FinancialProductEnum;
952
977
  note: string | null;
953
978
  updatedAt: Date;
954
979
  createdAt: Date;
@@ -1033,6 +1058,7 @@ interface UserPersonalSummaryResponse {
1033
1058
  salaryRange: string | null;
1034
1059
  postalCode: string | null;
1035
1060
  loanMonthlyPayment: number | null;
1061
+ financialProductsOwn: FinancialProductOwnedEnum[] | null;
1036
1062
  }
1037
1063
 
1038
1064
  interface UserProfileResponse {
@@ -1157,4 +1183,4 @@ declare class FilterArgs {
1157
1183
  take: number;
1158
1184
  }
1159
1185
 
1160
- 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, 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 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 UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
1186
+ 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,6 +63,33 @@ declare enum FetchPowensConnectionsTypeEnum {
63
63
  USER_ACTION_REQUIRED = "USER_ACTION_REQUIRED"
64
64
  }
65
65
 
66
+ declare enum FinancialProductOwnedEnum {
67
+ LIVRET_A_LDD = "LIVRET_A_LDD",
68
+ ASSURANCE_VIE = "ASSURANCE_VIE",
69
+ COMPTE_A_TERME = "COMPTE_A_TERME",
70
+ PEA = "PEA",
71
+ PER = "PER",
72
+ EPARGNE_SALARIALE = "EPARGNE_SALARIALE",
73
+ OTHER = "OTHER"
74
+ }
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
+
66
93
  declare enum LegalDocumentTypeEnum {
67
94
  TERMS_OF_USAGE = "TERMS_OF_USAGE",
68
95
  PRIVACY_POLICY = "PRIVACY_POLICY"
@@ -169,21 +196,22 @@ declare enum UserStatusEnum {
169
196
  BLACK_LISTED = "BLACK_LISTED"
170
197
  }
171
198
 
172
- declare enum ProjectKeyEnum {
199
+ declare enum ProjectNeedEnum {
173
200
  WEALTH_ASSESSMENT = "WEALTH_ASSESSMENT",
174
201
  OPTIMIZE_SAVINGS = "OPTIMIZE_SAVINGS",
175
202
  INVEST_IN_STOCK_EXCHANGE = "INVEST_IN_STOCK_EXCHANGE",
176
203
  INVEST_IN_REAL_ESTATE = "INVEST_IN_REAL_ESTATE",
177
204
  PREPARE_RETIREMENT = "PREPARE_RETIREMENT",
178
205
  PASS_ON_TO_DESCENDANTS = "PASS_ON_TO_DESCENDANTS",
179
- TAX_OPTIMIZATION = "TAX_OPTIMIZATION"
206
+ TAX_OPTIMIZATION = "TAX_OPTIMIZATION",
207
+ SPECIFIC_PRODUCT = "SPECIFIC_PRODUCT",
208
+ OTHER = "OTHER"
180
209
  }
181
210
 
182
- declare enum ProjectPriorityEnum {
183
- LOW = "LOW",
184
- MEDIUM = "MEDIUM",
185
- HIGH = "HIGH",
186
- URGENT = "URGENT"
211
+ declare enum ProjectOptionEnum {
212
+ BEGINNER = "BEGINNER",
213
+ INTERMEDIATE = "INTERMEDIATE",
214
+ ADVANCED = "ADVANCED"
187
215
  }
188
216
 
189
217
  declare enum QuestionCategoryEnum {
@@ -264,7 +292,7 @@ interface CreateRealEstateInput {
264
292
  iOwnShare: number;
265
293
  }
266
294
 
267
- interface UpdateRealEstateArgs {
295
+ interface UpdateRealEstateInput {
268
296
  id: string;
269
297
  name?: string;
270
298
  type?: RealEstateTypeEnum;
@@ -409,17 +437,21 @@ interface UpdateUserCoOwnerInput {
409
437
  }
410
438
 
411
439
  interface CreateProjectInput {
412
- key: string;
413
- priority: ProjectPriorityEnum;
414
- title: string;
440
+ option: ProjectOptionEnum;
441
+ initialAmount: number;
442
+ monthlyAmount: number;
443
+ need: ProjectNeedEnum;
444
+ financialProduct: FinancialProductEnum;
415
445
  note: string | null;
416
446
  }
417
447
 
418
448
  interface UpdateProjectInput {
419
449
  id: string;
420
- key?: string;
421
- priority?: ProjectPriorityEnum;
422
- title?: string;
450
+ option?: ProjectOptionEnum;
451
+ initialAmount?: number;
452
+ monthlyAmount?: number;
453
+ need?: ProjectNeedEnum;
454
+ financialProduct?: FinancialProductEnum;
423
455
  note?: string | null;
424
456
  }
425
457
 
@@ -457,7 +489,7 @@ interface UpdateQuestionPositionInput {
457
489
  interface FinancialSummariesFiltersInput {
458
490
  offset: number;
459
491
  limit: number;
460
- projectKeys?: ProjectKeyEnum[];
492
+ projectNeeds?: ProjectNeedEnum[];
461
493
  minTotalSavings?: number;
462
494
  maxTotalSavings?: number;
463
495
  minTotalCheckings?: number;
@@ -484,6 +516,7 @@ interface UpdateUserPersonalSummaryInput {
484
516
  professionDetails?: string | null;
485
517
  postalCode?: string | null;
486
518
  loanMonthlyPayment?: number | null;
519
+ financialProductsOwn?: FinancialProductOwnedEnum[] | null;
487
520
  }
488
521
 
489
522
  interface UpdateUserInput {
@@ -934,21 +967,13 @@ interface PowensConnectWebviewResponse {
934
967
  createdAt: Date;
935
968
  }
936
969
 
937
- interface ProjectDeletedResponse {
938
- deleted: boolean;
939
- errorMessage: string | null;
940
- }
941
-
942
- interface ProjectUpdatedResponse {
943
- updated: boolean;
944
- errorMessage: string | null;
945
- }
946
-
947
970
  interface ProjectResponse {
948
971
  id: string;
949
- key: string;
950
- priority: ProjectPriorityEnum;
951
- title: string;
972
+ option: ProjectOptionEnum;
973
+ initialAmount: number;
974
+ monthlyAmount: number;
975
+ need: ProjectNeedEnum;
976
+ financialProduct: FinancialProductEnum;
952
977
  note: string | null;
953
978
  updatedAt: Date;
954
979
  createdAt: Date;
@@ -1033,6 +1058,7 @@ interface UserPersonalSummaryResponse {
1033
1058
  salaryRange: string | null;
1034
1059
  postalCode: string | null;
1035
1060
  loanMonthlyPayment: number | null;
1061
+ financialProductsOwn: FinancialProductOwnedEnum[] | null;
1036
1062
  }
1037
1063
 
1038
1064
  interface UserProfileResponse {
@@ -1157,4 +1183,4 @@ declare class FilterArgs {
1157
1183
  take: number;
1158
1184
  }
1159
1185
 
1160
- 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, 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 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 UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
1186
+ 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,13 +31,15 @@ __export(src_exports, {
31
31
  EMAIL_REGEX: () => EMAIL_REGEX,
32
32
  FetchPowensConnectionsTypeEnum: () => FetchPowensConnectionsTypeEnum,
33
33
  FilterArgs: () => FilterArgs,
34
+ FinancialProductEnum: () => FinancialProductEnum,
35
+ FinancialProductOwnedEnum: () => FinancialProductOwnedEnum,
34
36
  LIVES_OUTSIDE_FRANCE: () => LIVES_OUTSIDE_FRANCE,
35
37
  LegalDocumentTypeEnum: () => LegalDocumentTypeEnum,
36
38
  LoanTypeEnum: () => LoanTypeEnum,
37
39
  PowensConnectionStateEnum: () => PowensConnectionStateEnum,
38
40
  PowensUserStatusEnum: () => PowensUserStatusEnum,
39
- ProjectKeyEnum: () => ProjectKeyEnum,
40
- ProjectPriorityEnum: () => ProjectPriorityEnum,
41
+ ProjectNeedEnum: () => ProjectNeedEnum,
42
+ ProjectOptionEnum: () => ProjectOptionEnum,
41
43
  QuestionCategoryEnum: () => QuestionCategoryEnum,
42
44
  QuestionTypeEnum: () => QuestionTypeEnum,
43
45
  RealEstateTypeEnum: () => RealEstateTypeEnum,
@@ -128,6 +130,37 @@ var FetchPowensConnectionsTypeEnum = /* @__PURE__ */ ((FetchPowensConnectionsTyp
128
130
  return FetchPowensConnectionsTypeEnum2;
129
131
  })(FetchPowensConnectionsTypeEnum || {});
130
132
 
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 || {});
163
+
131
164
  // src/enums/legal-document-type.enum.ts
132
165
  var LegalDocumentTypeEnum = /* @__PURE__ */ ((LegalDocumentTypeEnum2) => {
133
166
  LegalDocumentTypeEnum2["TERMS_OF_USAGE"] = "TERMS_OF_USAGE";
@@ -197,26 +230,27 @@ var UserStatusEnum = /* @__PURE__ */ ((UserStatusEnum2) => {
197
230
  return UserStatusEnum2;
198
231
  })(UserStatusEnum || {});
199
232
 
200
- // src/enums/project-key.enum.ts
201
- var ProjectKeyEnum = /* @__PURE__ */ ((ProjectKeyEnum2) => {
202
- ProjectKeyEnum2["WEALTH_ASSESSMENT"] = "WEALTH_ASSESSMENT";
203
- ProjectKeyEnum2["OPTIMIZE_SAVINGS"] = "OPTIMIZE_SAVINGS";
204
- ProjectKeyEnum2["INVEST_IN_STOCK_EXCHANGE"] = "INVEST_IN_STOCK_EXCHANGE";
205
- ProjectKeyEnum2["INVEST_IN_REAL_ESTATE"] = "INVEST_IN_REAL_ESTATE";
206
- ProjectKeyEnum2["PREPARE_RETIREMENT"] = "PREPARE_RETIREMENT";
207
- ProjectKeyEnum2["PASS_ON_TO_DESCENDANTS"] = "PASS_ON_TO_DESCENDANTS";
208
- ProjectKeyEnum2["TAX_OPTIMIZATION"] = "TAX_OPTIMIZATION";
209
- return ProjectKeyEnum2;
210
- })(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 || {});
211
246
 
212
- // src/enums/project-priority.enum.ts
213
- var ProjectPriorityEnum = /* @__PURE__ */ ((ProjectPriorityEnum2) => {
214
- ProjectPriorityEnum2["LOW"] = "LOW";
215
- ProjectPriorityEnum2["MEDIUM"] = "MEDIUM";
216
- ProjectPriorityEnum2["HIGH"] = "HIGH";
217
- ProjectPriorityEnum2["URGENT"] = "URGENT";
218
- return ProjectPriorityEnum2;
219
- })(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 || {});
220
254
 
221
255
  // src/enums/question-category.enum.ts
222
256
  var QuestionCategoryEnum = /* @__PURE__ */ ((QuestionCategoryEnum2) => {
@@ -257,13 +291,15 @@ var FilterArgs = class {
257
291
  EMAIL_REGEX,
258
292
  FetchPowensConnectionsTypeEnum,
259
293
  FilterArgs,
294
+ FinancialProductEnum,
295
+ FinancialProductOwnedEnum,
260
296
  LIVES_OUTSIDE_FRANCE,
261
297
  LegalDocumentTypeEnum,
262
298
  LoanTypeEnum,
263
299
  PowensConnectionStateEnum,
264
300
  PowensUserStatusEnum,
265
- ProjectKeyEnum,
266
- ProjectPriorityEnum,
301
+ ProjectNeedEnum,
302
+ ProjectOptionEnum,
267
303
  QuestionCategoryEnum,
268
304
  QuestionTypeEnum,
269
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/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 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;;;ACAO,IAAM,cACX;AAEK,IAAM,kBAAkB;AAExB,IAAM,uBAAuB;;;ACL7B,IAAK,gBAAL,kBAAKA,mBAAL;AACL,EAAAA,eAAA,iBAAc;AACd,EAAAA,eAAA,cAAW;AACX,EAAAA,eA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num","BudgetTypeEnum","FetchPowensConnectionsTypeEnum","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 NUMBER =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um","BankAccountTypeEnum","BudgetTypeEnum","FetchPowensConnectionsTypeEnum","FinancialProductOwnedEnum","FinancialProductEnum","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","RealEstateTypeEnum","SupportedCurrencyEnum","UserStatusEnum","ProjectNeedEnum","ProjectOptionEnum","QuestionCategoryEnum","QuestionTypeEnum"]}
package/dist/index.mjs CHANGED
@@ -80,6 +80,37 @@ var FetchPowensConnectionsTypeEnum = /* @__PURE__ */ ((FetchPowensConnectionsTyp
80
80
  return FetchPowensConnectionsTypeEnum2;
81
81
  })(FetchPowensConnectionsTypeEnum || {});
82
82
 
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 || {});
113
+
83
114
  // src/enums/legal-document-type.enum.ts
84
115
  var LegalDocumentTypeEnum = /* @__PURE__ */ ((LegalDocumentTypeEnum2) => {
85
116
  LegalDocumentTypeEnum2["TERMS_OF_USAGE"] = "TERMS_OF_USAGE";
@@ -149,26 +180,27 @@ var UserStatusEnum = /* @__PURE__ */ ((UserStatusEnum2) => {
149
180
  return UserStatusEnum2;
150
181
  })(UserStatusEnum || {});
151
182
 
152
- // src/enums/project-key.enum.ts
153
- var ProjectKeyEnum = /* @__PURE__ */ ((ProjectKeyEnum2) => {
154
- ProjectKeyEnum2["WEALTH_ASSESSMENT"] = "WEALTH_ASSESSMENT";
155
- ProjectKeyEnum2["OPTIMIZE_SAVINGS"] = "OPTIMIZE_SAVINGS";
156
- ProjectKeyEnum2["INVEST_IN_STOCK_EXCHANGE"] = "INVEST_IN_STOCK_EXCHANGE";
157
- ProjectKeyEnum2["INVEST_IN_REAL_ESTATE"] = "INVEST_IN_REAL_ESTATE";
158
- ProjectKeyEnum2["PREPARE_RETIREMENT"] = "PREPARE_RETIREMENT";
159
- ProjectKeyEnum2["PASS_ON_TO_DESCENDANTS"] = "PASS_ON_TO_DESCENDANTS";
160
- ProjectKeyEnum2["TAX_OPTIMIZATION"] = "TAX_OPTIMIZATION";
161
- return ProjectKeyEnum2;
162
- })(ProjectKeyEnum || {});
163
-
164
- // src/enums/project-priority.enum.ts
165
- var ProjectPriorityEnum = /* @__PURE__ */ ((ProjectPriorityEnum2) => {
166
- ProjectPriorityEnum2["LOW"] = "LOW";
167
- ProjectPriorityEnum2["MEDIUM"] = "MEDIUM";
168
- ProjectPriorityEnum2["HIGH"] = "HIGH";
169
- ProjectPriorityEnum2["URGENT"] = "URGENT";
170
- return ProjectPriorityEnum2;
171
- })(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 || {});
172
204
 
173
205
  // src/enums/question-category.enum.ts
174
206
  var QuestionCategoryEnum = /* @__PURE__ */ ((QuestionCategoryEnum2) => {
@@ -208,13 +240,15 @@ export {
208
240
  EMAIL_REGEX,
209
241
  FetchPowensConnectionsTypeEnum,
210
242
  FilterArgs,
243
+ FinancialProductEnum,
244
+ FinancialProductOwnedEnum,
211
245
  LIVES_OUTSIDE_FRANCE,
212
246
  LegalDocumentTypeEnum,
213
247
  LoanTypeEnum,
214
248
  PowensConnectionStateEnum,
215
249
  PowensUserStatusEnum,
216
- ProjectKeyEnum,
217
- ProjectPriorityEnum,
250
+ ProjectNeedEnum,
251
+ ProjectOptionEnum,
218
252
  QuestionCategoryEnum,
219
253
  QuestionTypeEnum,
220
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/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 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;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;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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","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,E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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","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.181",
3
+ "version": "2.0.183",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",