sowhat-types 2.0.218 → 2.0.219

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
@@ -36,13 +36,6 @@ declare enum AvailableCurrencyEnum {
36
36
  EUR = "EUR"
37
37
  }
38
38
 
39
- declare enum SupportedCurrencyExchangesEnum {
40
- EUR = "EUR",
41
- USD = "USD",
42
- GBP = "GBP",
43
- JPY = "JPY"
44
- }
45
-
46
39
  declare enum BankAccountTransactionTypeEnum {
47
40
  TRANSFER = "TRANSFER",// Transfer
48
41
  ORDER = "ORDER",// Order
@@ -95,6 +88,15 @@ declare enum FinancialProductEnum {
95
88
  OTHER = "OTHER"
96
89
  }
97
90
 
91
+ declare enum HouseholdSalaryRangeEnum {
92
+ LESS_THAN_30K = "LESS_THAN_30K",
93
+ BETWEEN_30K_AND_50K = "BETWEEN_30K_AND_50K",
94
+ BETWEEN_50K_AND_80K = "BETWEEN_50K_AND_80K",
95
+ BETWEEN_80K_AND_120K = "BETWEEN_80K_AND_120K",
96
+ BETWEEN_120K_AND_180K = "BETWEEN_120K_AND_180K",
97
+ MORE_THAN_180K = "MORE_THAN_180K"
98
+ }
99
+
98
100
  declare enum LegalDocumentTypeEnum {
99
101
  TERMS_OF_USAGE = "TERMS_OF_USAGE",
100
102
  PRIVACY_POLICY = "PRIVACY_POLICY"
@@ -107,6 +109,16 @@ declare enum LoanTypeEnum {
107
109
  UNKNOWN = "unknown"
108
110
  }
109
111
 
112
+ declare enum MaritalStatusEnum {
113
+ SINGLE = "SINGLE",
114
+ COUPLE = "COUPLE",
115
+ PACS = "PACS",
116
+ MARRIED = "MARRIED",
117
+ DIVORCED = "DIVORCED",
118
+ WIDOWED = "WIDOWED",
119
+ DONT_WANT_TO_SAY = "DONT_WANT_TO_SAY"
120
+ }
121
+
110
122
  declare enum MobilityTypeEnum {
111
123
  SUV = "SUV",
112
124
  ELECTRIC_CAR = "ELECTRIC_CAR",
@@ -117,6 +129,24 @@ declare enum MobilityTypeEnum {
117
129
  MOTORCYCLE = "MOTORCYCLE"
118
130
  }
119
131
 
132
+ declare enum PersonalNetWorthRangeEnum {
133
+ LESS_THAN_100K = "LESS_THAN_100K",
134
+ BETWEEN_100K_AND_200K = "BETWEEN_100K_AND_200K",
135
+ BETWEEN_200K_AND_500K = "BETWEEN_200K_AND_500K",
136
+ BETWEEN_500K_AND_1M = "BETWEEN_500K_AND_1M",
137
+ BETWEEN_1M_AND_2M = "BETWEEN_1M_AND_2M",
138
+ MORE_THAN_2M = "MORE_THAN_2M"
139
+ }
140
+
141
+ declare enum PersonalSalaryRangeEnum {
142
+ LESS_THAN_20K = "LESS_THAN_20K",
143
+ BETWEEN_20K_AND_30K = "BETWEEN_20K_AND_30K",
144
+ BETWEEN_30K_AND_45K = "BETWEEN_30K_AND_45K",
145
+ BETWEEN_45K_AND_65K = "BETWEEN_45K_AND_65K",
146
+ BETWEEN_65K_AND_90K = "BETWEEN_65K_AND_90K",
147
+ MORE_THAN_90K = "MORE_THAN_90K"
148
+ }
149
+
120
150
  declare enum PowensConnectionStateEnum {
121
151
  /**
122
152
  * An SCA process must be performed to resume the synchronization process.
@@ -190,6 +220,20 @@ declare enum PowensUserStatusEnum {
190
220
  DELETED = "DELETED"
191
221
  }
192
222
 
223
+ declare enum ProfessionStatusEnum {
224
+ STUDENT = "STUDENT",
225
+ INTERIM = "INTERIM",
226
+ CDD = "CDD",
227
+ CDI = "CDI",
228
+ INDEPENDANT = "INDEPENDANT",
229
+ LIBERAL = "LIBERAL",
230
+ COMPANY_DIRECTOR = "COMPANY_DIRECTOR",
231
+ RETIRED = "RETIRED",
232
+ JOB_SEEKER = "JOB_SEEKER",
233
+ INACTIVE = "INACTIVE",
234
+ DONT_WANT_TO_SAY = "DONT_WANT_TO_SAY"
235
+ }
236
+
193
237
  declare enum ProfessionEnum {
194
238
  AGRICULTURE_ENVIRONMENT = "AGRICULTURE_ENVIRONMENT",
195
239
  REAL_ESTATE_CONSTRUCTION = "REAL_ESTATE_CONSTRUCTION",
@@ -208,28 +252,6 @@ declare enum ProfessionEnum {
208
252
  OTHER_SECTOR = "OTHER_SECTOR"
209
253
  }
210
254
 
211
- declare enum ProfessionStatusEnum {
212
- STUDENT = "STUDENT",
213
- INTERIM = "INTERIM",
214
- CDD = "CDD",
215
- CDI = "CDI",
216
- INDEPENDANT = "INDEPENDANT",
217
- LIBERAL = "LIBERAL",
218
- COMPANY_DIRECTOR = "COMPANY_DIRECTOR",
219
- RETIRED = "RETIRED",
220
- JOB_SEEKER = "JOB_SEEKER",
221
- INACTIVE = "INACTIVE",
222
- DONT_WANT_TO_SAY = "DONT_WANT_TO_SAY"
223
- }
224
-
225
- declare enum RealEstateTypeEnum {
226
- HOUSE = "HOUSE",
227
- APARTMENT = "APARTMENT",
228
- VILLA = "VILLA",
229
- CHATEAU = "CHATEAU",
230
- MANSION = "MANSION"
231
- }
232
-
233
255
  declare enum ProjectNeedEnum {
234
256
  WEALTH_ASSESSMENT = "WEALTH_ASSESSMENT",
235
257
  INVEST_IN_STOCK_EXCHANGE = "INVEST_IN_STOCK_EXCHANGE",
@@ -257,6 +279,21 @@ declare enum ProjectStatusEnum {
257
279
  FULLFILLED_BY_US = "FULLFILLED_BY_US"
258
280
  }
259
281
 
282
+ declare enum RealEstateTypeEnum {
283
+ HOUSE = "HOUSE",
284
+ APARTMENT = "APARTMENT",
285
+ VILLA = "VILLA",
286
+ CHATEAU = "CHATEAU",
287
+ MANSION = "MANSION"
288
+ }
289
+
290
+ declare enum SupportedCurrencyExchangesEnum {
291
+ EUR = "EUR",
292
+ USD = "USD",
293
+ GBP = "GBP",
294
+ JPY = "JPY"
295
+ }
296
+
260
297
  declare enum SupportedCurrencySymbolsEnum {
261
298
  EUR = "\u20AC",
262
299
  USD = "$",
@@ -606,6 +643,41 @@ interface UserAuthenticatedResponse {
606
643
  hasPincode: boolean;
607
644
  }
608
645
 
646
+ interface FullLeadResponse {
647
+ userId: string;
648
+ initialAmount: number;
649
+ monthlyAmount: number;
650
+ need: ProjectNeedEnum;
651
+ financialProduct: FinancialProductEnum | null;
652
+ note: string | null;
653
+ birthYear: number | null;
654
+ childrenNumber: number | null;
655
+ childrenBirthYears: number[] | null;
656
+ maritalStatus: MaritalStatusEnum | null;
657
+ profession: ProfessionEnum | null;
658
+ professionStatus: ProfessionStatusEnum | null;
659
+ personalSalaryRange: PersonalSalaryRangeEnum | null;
660
+ householdSalaryRange: HouseholdSalaryRangeEnum | null;
661
+ personalNetWorthRange: PersonalNetWorthRangeEnum | null;
662
+ postalCode: string | null;
663
+ loanMonthlyPayment: number | null;
664
+ financialProductsOwned: FinancialProductEnum[] | null;
665
+ isMainResidenceOwner: boolean | null;
666
+ lastPersonalSummaryUpdatedAt: Date;
667
+ currency: AvailableCurrencyEnum;
668
+ totalRealEstatesValue: number | null;
669
+ totalMobilitiesValue: number | null;
670
+ totalOtherAssetsValue: number | null;
671
+ totalCryptocurrenciesValue: number | null;
672
+ totalSavingsBankAccounts: number | null;
673
+ totalSavingsBankAccountsBalance: number | null;
674
+ totalCheckingBankAccounts: number | null;
675
+ totalCheckingBankAccountsBalance: number | null;
676
+ totalLoansBankAccounts: number | null;
677
+ totalLoansBankAccountsBalance: number | null;
678
+ lastFinancialSummaryUpdatedAt: Date;
679
+ }
680
+
609
681
  interface LeadResponse {
610
682
  userId: string;
611
683
  initialAmount: number;
@@ -808,6 +880,46 @@ declare const FinancialProducts: FinancialProduct[];
808
880
  declare function getFinancialProductLabel(key: FinancialProductEnum): string;
809
881
  declare function getFinancialProductKey(label: string): FinancialProductEnum | null;
810
882
 
883
+ interface HouseholdSalaryRange {
884
+ key: HouseholdSalaryRangeEnum;
885
+ label: string;
886
+ }
887
+ declare const HouseholdSalaryRanges: HouseholdSalaryRange[];
888
+ declare function getHouseholdSalaryRangeLabel(key: HouseholdSalaryRangeEnum | string): string;
889
+ declare function getHouseholdSalaryRangeKey(label: string): HouseholdSalaryRangeEnum | null;
890
+
891
+ interface MaritalStatus {
892
+ key: MaritalStatusEnum;
893
+ label: string;
894
+ }
895
+ declare const MartialStatuses: MaritalStatus[];
896
+ declare function getMaritalStatusLabel(maritalStatus: MaritalStatusEnum | string): string;
897
+ declare function getMaritalStatusKey(label: string): MaritalStatusEnum | null;
898
+
899
+ interface PersonalSalaryRange {
900
+ key: PersonalSalaryRangeEnum;
901
+ label: string;
902
+ }
903
+ declare const PersonalSalaryRanges: PersonalSalaryRange[];
904
+ declare const getPersonalSalaryRangeLabel: (key: PersonalSalaryRangeEnum | string) => string;
905
+ declare const getPersonalSalaryRangeKey: (label: string) => PersonalSalaryRangeEnum | null;
906
+
907
+ interface PersonalNetWorthRange {
908
+ key: PersonalNetWorthRangeEnum;
909
+ label: string;
910
+ }
911
+ declare const PersonalNetWorthRanges: PersonalNetWorthRange[];
912
+ declare function getPersonalNetWorthRangeLabel(key: PersonalNetWorthRangeEnum | string): string;
913
+ declare function getPersonalNetWorthRangeKey(label: string): PersonalNetWorthRangeEnum | null;
914
+
915
+ interface ProfessionStatus {
916
+ key: ProfessionStatusEnum;
917
+ label: string;
918
+ }
919
+ declare const ProfessionStatusList: ProfessionStatus[];
920
+ declare function getProfessionStatusLabel(professionStatus: ProfessionStatusEnum | string): string;
921
+ declare function getProfessionStatusKey(label: string): ProfessionStatusEnum | null;
922
+
811
923
  interface Profession {
812
924
  value: ProfessionEnum;
813
925
  label: string;
@@ -828,4 +940,4 @@ declare function getProjectNeedKey(label: string): ProjectNeedEnum | null;
828
940
 
829
941
  type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
830
942
 
831
- export { type AiAdvisorResponse, type AiAdvisorStatusResponse, type AiAdvisorSyntheseResponse, type AnonymousUserResponse, type AnonymousUsersResponse, AssetTypeEnum, AvailableCryptocurrencySymbolEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, BudgetTypeEnum, type CreateMobilityInput, type CreateProjectInput, type CreateRealEstateInput, type CryptocurrencyAssetDeletedResponse, type CryptocurrencyAssetResponse, type CryptocurrencyResponse, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FinancialProduct, FinancialProductEnum, FinancialProducts, type FinancialSummariesFiltersInput, type GetLeadsQueryInput, LIVES_OUTSIDE_FRANCE, type LeadResponse, type LeadsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProResponse, type Profession, ProfessionEnum, ProfessionStatusEnum, ProfessionsList, type ProjectNeed, ProjectNeedEnum, ProjectNeeds, ProjectOptionEnum, type ProjectResponse, ProjectStatusEnum, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, SupportedCurrencyExchangesEnum, SupportedCurrencySymbolsEnum, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateCryptocurrencyAssetInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProInput, type UpdateProjectInput, type UpdateRealEstateInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAiSummaryResponse, UserAiSummaryStatusEnum, type UserAssetsBalancesResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, UserStatusEnum, getFinancialProductKey, getFinancialProductLabel, getProfessionKey, getProfessionLabel, getProjectNeedKey, getProjectNeedProLabel, getProjectNeedUserLabel };
943
+ export { type AiAdvisorResponse, type AiAdvisorStatusResponse, type AiAdvisorSyntheseResponse, type AnonymousUserResponse, type AnonymousUsersResponse, AssetTypeEnum, AvailableCryptocurrencySymbolEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, BudgetTypeEnum, type CreateMobilityInput, type CreateProjectInput, type CreateRealEstateInput, type CryptocurrencyAssetDeletedResponse, type CryptocurrencyAssetResponse, type CryptocurrencyResponse, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FinancialProduct, FinancialProductEnum, FinancialProducts, type FinancialSummariesFiltersInput, type FullLeadResponse, type GetLeadsQueryInput, type HouseholdSalaryRange, HouseholdSalaryRangeEnum, HouseholdSalaryRanges, LIVES_OUTSIDE_FRANCE, type LeadResponse, type LeadsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MaritalStatus, MaritalStatusEnum, MartialStatuses, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationResponse, type PersonalNetWorthRange, PersonalNetWorthRangeEnum, PersonalNetWorthRanges, type PersonalSalaryRange, PersonalSalaryRangeEnum, PersonalSalaryRanges, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProResponse, type Profession, ProfessionEnum, type ProfessionStatus, ProfessionStatusEnum, ProfessionStatusList, ProfessionsList, type ProjectNeed, ProjectNeedEnum, ProjectNeeds, ProjectOptionEnum, type ProjectResponse, ProjectStatusEnum, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, SupportedCurrencyExchangesEnum, SupportedCurrencySymbolsEnum, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateCryptocurrencyAssetInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProInput, type UpdateProjectInput, type UpdateRealEstateInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAiSummaryResponse, UserAiSummaryStatusEnum, type UserAssetsBalancesResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, UserStatusEnum, getFinancialProductKey, getFinancialProductLabel, getHouseholdSalaryRangeKey, getHouseholdSalaryRangeLabel, getMaritalStatusKey, getMaritalStatusLabel, getPersonalNetWorthRangeKey, getPersonalNetWorthRangeLabel, getPersonalSalaryRangeKey, getPersonalSalaryRangeLabel, getProfessionKey, getProfessionLabel, getProfessionStatusKey, getProfessionStatusLabel, getProjectNeedKey, getProjectNeedProLabel, getProjectNeedUserLabel };
package/dist/index.d.ts CHANGED
@@ -36,13 +36,6 @@ declare enum AvailableCurrencyEnum {
36
36
  EUR = "EUR"
37
37
  }
38
38
 
39
- declare enum SupportedCurrencyExchangesEnum {
40
- EUR = "EUR",
41
- USD = "USD",
42
- GBP = "GBP",
43
- JPY = "JPY"
44
- }
45
-
46
39
  declare enum BankAccountTransactionTypeEnum {
47
40
  TRANSFER = "TRANSFER",// Transfer
48
41
  ORDER = "ORDER",// Order
@@ -95,6 +88,15 @@ declare enum FinancialProductEnum {
95
88
  OTHER = "OTHER"
96
89
  }
97
90
 
91
+ declare enum HouseholdSalaryRangeEnum {
92
+ LESS_THAN_30K = "LESS_THAN_30K",
93
+ BETWEEN_30K_AND_50K = "BETWEEN_30K_AND_50K",
94
+ BETWEEN_50K_AND_80K = "BETWEEN_50K_AND_80K",
95
+ BETWEEN_80K_AND_120K = "BETWEEN_80K_AND_120K",
96
+ BETWEEN_120K_AND_180K = "BETWEEN_120K_AND_180K",
97
+ MORE_THAN_180K = "MORE_THAN_180K"
98
+ }
99
+
98
100
  declare enum LegalDocumentTypeEnum {
99
101
  TERMS_OF_USAGE = "TERMS_OF_USAGE",
100
102
  PRIVACY_POLICY = "PRIVACY_POLICY"
@@ -107,6 +109,16 @@ declare enum LoanTypeEnum {
107
109
  UNKNOWN = "unknown"
108
110
  }
109
111
 
112
+ declare enum MaritalStatusEnum {
113
+ SINGLE = "SINGLE",
114
+ COUPLE = "COUPLE",
115
+ PACS = "PACS",
116
+ MARRIED = "MARRIED",
117
+ DIVORCED = "DIVORCED",
118
+ WIDOWED = "WIDOWED",
119
+ DONT_WANT_TO_SAY = "DONT_WANT_TO_SAY"
120
+ }
121
+
110
122
  declare enum MobilityTypeEnum {
111
123
  SUV = "SUV",
112
124
  ELECTRIC_CAR = "ELECTRIC_CAR",
@@ -117,6 +129,24 @@ declare enum MobilityTypeEnum {
117
129
  MOTORCYCLE = "MOTORCYCLE"
118
130
  }
119
131
 
132
+ declare enum PersonalNetWorthRangeEnum {
133
+ LESS_THAN_100K = "LESS_THAN_100K",
134
+ BETWEEN_100K_AND_200K = "BETWEEN_100K_AND_200K",
135
+ BETWEEN_200K_AND_500K = "BETWEEN_200K_AND_500K",
136
+ BETWEEN_500K_AND_1M = "BETWEEN_500K_AND_1M",
137
+ BETWEEN_1M_AND_2M = "BETWEEN_1M_AND_2M",
138
+ MORE_THAN_2M = "MORE_THAN_2M"
139
+ }
140
+
141
+ declare enum PersonalSalaryRangeEnum {
142
+ LESS_THAN_20K = "LESS_THAN_20K",
143
+ BETWEEN_20K_AND_30K = "BETWEEN_20K_AND_30K",
144
+ BETWEEN_30K_AND_45K = "BETWEEN_30K_AND_45K",
145
+ BETWEEN_45K_AND_65K = "BETWEEN_45K_AND_65K",
146
+ BETWEEN_65K_AND_90K = "BETWEEN_65K_AND_90K",
147
+ MORE_THAN_90K = "MORE_THAN_90K"
148
+ }
149
+
120
150
  declare enum PowensConnectionStateEnum {
121
151
  /**
122
152
  * An SCA process must be performed to resume the synchronization process.
@@ -190,6 +220,20 @@ declare enum PowensUserStatusEnum {
190
220
  DELETED = "DELETED"
191
221
  }
192
222
 
223
+ declare enum ProfessionStatusEnum {
224
+ STUDENT = "STUDENT",
225
+ INTERIM = "INTERIM",
226
+ CDD = "CDD",
227
+ CDI = "CDI",
228
+ INDEPENDANT = "INDEPENDANT",
229
+ LIBERAL = "LIBERAL",
230
+ COMPANY_DIRECTOR = "COMPANY_DIRECTOR",
231
+ RETIRED = "RETIRED",
232
+ JOB_SEEKER = "JOB_SEEKER",
233
+ INACTIVE = "INACTIVE",
234
+ DONT_WANT_TO_SAY = "DONT_WANT_TO_SAY"
235
+ }
236
+
193
237
  declare enum ProfessionEnum {
194
238
  AGRICULTURE_ENVIRONMENT = "AGRICULTURE_ENVIRONMENT",
195
239
  REAL_ESTATE_CONSTRUCTION = "REAL_ESTATE_CONSTRUCTION",
@@ -208,28 +252,6 @@ declare enum ProfessionEnum {
208
252
  OTHER_SECTOR = "OTHER_SECTOR"
209
253
  }
210
254
 
211
- declare enum ProfessionStatusEnum {
212
- STUDENT = "STUDENT",
213
- INTERIM = "INTERIM",
214
- CDD = "CDD",
215
- CDI = "CDI",
216
- INDEPENDANT = "INDEPENDANT",
217
- LIBERAL = "LIBERAL",
218
- COMPANY_DIRECTOR = "COMPANY_DIRECTOR",
219
- RETIRED = "RETIRED",
220
- JOB_SEEKER = "JOB_SEEKER",
221
- INACTIVE = "INACTIVE",
222
- DONT_WANT_TO_SAY = "DONT_WANT_TO_SAY"
223
- }
224
-
225
- declare enum RealEstateTypeEnum {
226
- HOUSE = "HOUSE",
227
- APARTMENT = "APARTMENT",
228
- VILLA = "VILLA",
229
- CHATEAU = "CHATEAU",
230
- MANSION = "MANSION"
231
- }
232
-
233
255
  declare enum ProjectNeedEnum {
234
256
  WEALTH_ASSESSMENT = "WEALTH_ASSESSMENT",
235
257
  INVEST_IN_STOCK_EXCHANGE = "INVEST_IN_STOCK_EXCHANGE",
@@ -257,6 +279,21 @@ declare enum ProjectStatusEnum {
257
279
  FULLFILLED_BY_US = "FULLFILLED_BY_US"
258
280
  }
259
281
 
282
+ declare enum RealEstateTypeEnum {
283
+ HOUSE = "HOUSE",
284
+ APARTMENT = "APARTMENT",
285
+ VILLA = "VILLA",
286
+ CHATEAU = "CHATEAU",
287
+ MANSION = "MANSION"
288
+ }
289
+
290
+ declare enum SupportedCurrencyExchangesEnum {
291
+ EUR = "EUR",
292
+ USD = "USD",
293
+ GBP = "GBP",
294
+ JPY = "JPY"
295
+ }
296
+
260
297
  declare enum SupportedCurrencySymbolsEnum {
261
298
  EUR = "\u20AC",
262
299
  USD = "$",
@@ -606,6 +643,41 @@ interface UserAuthenticatedResponse {
606
643
  hasPincode: boolean;
607
644
  }
608
645
 
646
+ interface FullLeadResponse {
647
+ userId: string;
648
+ initialAmount: number;
649
+ monthlyAmount: number;
650
+ need: ProjectNeedEnum;
651
+ financialProduct: FinancialProductEnum | null;
652
+ note: string | null;
653
+ birthYear: number | null;
654
+ childrenNumber: number | null;
655
+ childrenBirthYears: number[] | null;
656
+ maritalStatus: MaritalStatusEnum | null;
657
+ profession: ProfessionEnum | null;
658
+ professionStatus: ProfessionStatusEnum | null;
659
+ personalSalaryRange: PersonalSalaryRangeEnum | null;
660
+ householdSalaryRange: HouseholdSalaryRangeEnum | null;
661
+ personalNetWorthRange: PersonalNetWorthRangeEnum | null;
662
+ postalCode: string | null;
663
+ loanMonthlyPayment: number | null;
664
+ financialProductsOwned: FinancialProductEnum[] | null;
665
+ isMainResidenceOwner: boolean | null;
666
+ lastPersonalSummaryUpdatedAt: Date;
667
+ currency: AvailableCurrencyEnum;
668
+ totalRealEstatesValue: number | null;
669
+ totalMobilitiesValue: number | null;
670
+ totalOtherAssetsValue: number | null;
671
+ totalCryptocurrenciesValue: number | null;
672
+ totalSavingsBankAccounts: number | null;
673
+ totalSavingsBankAccountsBalance: number | null;
674
+ totalCheckingBankAccounts: number | null;
675
+ totalCheckingBankAccountsBalance: number | null;
676
+ totalLoansBankAccounts: number | null;
677
+ totalLoansBankAccountsBalance: number | null;
678
+ lastFinancialSummaryUpdatedAt: Date;
679
+ }
680
+
609
681
  interface LeadResponse {
610
682
  userId: string;
611
683
  initialAmount: number;
@@ -808,6 +880,46 @@ declare const FinancialProducts: FinancialProduct[];
808
880
  declare function getFinancialProductLabel(key: FinancialProductEnum): string;
809
881
  declare function getFinancialProductKey(label: string): FinancialProductEnum | null;
810
882
 
883
+ interface HouseholdSalaryRange {
884
+ key: HouseholdSalaryRangeEnum;
885
+ label: string;
886
+ }
887
+ declare const HouseholdSalaryRanges: HouseholdSalaryRange[];
888
+ declare function getHouseholdSalaryRangeLabel(key: HouseholdSalaryRangeEnum | string): string;
889
+ declare function getHouseholdSalaryRangeKey(label: string): HouseholdSalaryRangeEnum | null;
890
+
891
+ interface MaritalStatus {
892
+ key: MaritalStatusEnum;
893
+ label: string;
894
+ }
895
+ declare const MartialStatuses: MaritalStatus[];
896
+ declare function getMaritalStatusLabel(maritalStatus: MaritalStatusEnum | string): string;
897
+ declare function getMaritalStatusKey(label: string): MaritalStatusEnum | null;
898
+
899
+ interface PersonalSalaryRange {
900
+ key: PersonalSalaryRangeEnum;
901
+ label: string;
902
+ }
903
+ declare const PersonalSalaryRanges: PersonalSalaryRange[];
904
+ declare const getPersonalSalaryRangeLabel: (key: PersonalSalaryRangeEnum | string) => string;
905
+ declare const getPersonalSalaryRangeKey: (label: string) => PersonalSalaryRangeEnum | null;
906
+
907
+ interface PersonalNetWorthRange {
908
+ key: PersonalNetWorthRangeEnum;
909
+ label: string;
910
+ }
911
+ declare const PersonalNetWorthRanges: PersonalNetWorthRange[];
912
+ declare function getPersonalNetWorthRangeLabel(key: PersonalNetWorthRangeEnum | string): string;
913
+ declare function getPersonalNetWorthRangeKey(label: string): PersonalNetWorthRangeEnum | null;
914
+
915
+ interface ProfessionStatus {
916
+ key: ProfessionStatusEnum;
917
+ label: string;
918
+ }
919
+ declare const ProfessionStatusList: ProfessionStatus[];
920
+ declare function getProfessionStatusLabel(professionStatus: ProfessionStatusEnum | string): string;
921
+ declare function getProfessionStatusKey(label: string): ProfessionStatusEnum | null;
922
+
811
923
  interface Profession {
812
924
  value: ProfessionEnum;
813
925
  label: string;
@@ -828,4 +940,4 @@ declare function getProjectNeedKey(label: string): ProjectNeedEnum | null;
828
940
 
829
941
  type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
830
942
 
831
- export { type AiAdvisorResponse, type AiAdvisorStatusResponse, type AiAdvisorSyntheseResponse, type AnonymousUserResponse, type AnonymousUsersResponse, AssetTypeEnum, AvailableCryptocurrencySymbolEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, BudgetTypeEnum, type CreateMobilityInput, type CreateProjectInput, type CreateRealEstateInput, type CryptocurrencyAssetDeletedResponse, type CryptocurrencyAssetResponse, type CryptocurrencyResponse, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FinancialProduct, FinancialProductEnum, FinancialProducts, type FinancialSummariesFiltersInput, type GetLeadsQueryInput, LIVES_OUTSIDE_FRANCE, type LeadResponse, type LeadsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProResponse, type Profession, ProfessionEnum, ProfessionStatusEnum, ProfessionsList, type ProjectNeed, ProjectNeedEnum, ProjectNeeds, ProjectOptionEnum, type ProjectResponse, ProjectStatusEnum, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, SupportedCurrencyExchangesEnum, SupportedCurrencySymbolsEnum, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateCryptocurrencyAssetInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProInput, type UpdateProjectInput, type UpdateRealEstateInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAiSummaryResponse, UserAiSummaryStatusEnum, type UserAssetsBalancesResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, UserStatusEnum, getFinancialProductKey, getFinancialProductLabel, getProfessionKey, getProfessionLabel, getProjectNeedKey, getProjectNeedProLabel, getProjectNeedUserLabel };
943
+ export { type AiAdvisorResponse, type AiAdvisorStatusResponse, type AiAdvisorSyntheseResponse, type AnonymousUserResponse, type AnonymousUsersResponse, AssetTypeEnum, AvailableCryptocurrencySymbolEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, BudgetTypeEnum, type CreateMobilityInput, type CreateProjectInput, type CreateRealEstateInput, type CryptocurrencyAssetDeletedResponse, type CryptocurrencyAssetResponse, type CryptocurrencyResponse, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FinancialProduct, FinancialProductEnum, FinancialProducts, type FinancialSummariesFiltersInput, type FullLeadResponse, type GetLeadsQueryInput, type HouseholdSalaryRange, HouseholdSalaryRangeEnum, HouseholdSalaryRanges, LIVES_OUTSIDE_FRANCE, type LeadResponse, type LeadsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MaritalStatus, MaritalStatusEnum, MartialStatuses, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationResponse, type PersonalNetWorthRange, PersonalNetWorthRangeEnum, PersonalNetWorthRanges, type PersonalSalaryRange, PersonalSalaryRangeEnum, PersonalSalaryRanges, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProResponse, type Profession, ProfessionEnum, type ProfessionStatus, ProfessionStatusEnum, ProfessionStatusList, ProfessionsList, type ProjectNeed, ProjectNeedEnum, ProjectNeeds, ProjectOptionEnum, type ProjectResponse, ProjectStatusEnum, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, SupportedCurrencyExchangesEnum, SupportedCurrencySymbolsEnum, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateCryptocurrencyAssetInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProInput, type UpdateProjectInput, type UpdateRealEstateInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAiSummaryResponse, UserAiSummaryStatusEnum, type UserAssetsBalancesResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, UserStatusEnum, getFinancialProductKey, getFinancialProductLabel, getHouseholdSalaryRangeKey, getHouseholdSalaryRangeLabel, getMaritalStatusKey, getMaritalStatusLabel, getPersonalNetWorthRangeKey, getPersonalNetWorthRangeLabel, getPersonalSalaryRangeKey, getPersonalSalaryRangeLabel, getProfessionKey, getProfessionLabel, getProfessionStatusKey, getProfessionStatusLabel, getProjectNeedKey, getProjectNeedProLabel, getProjectNeedUserLabel };