sowhat-types 2.0.220 → 2.0.222
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 +95 -88
- package/dist/index.d.ts +95 -88
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -643,6 +643,45 @@ interface UserAuthenticatedResponse {
|
|
|
643
643
|
hasPincode: boolean;
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
+
type AiAdvisorStatusResponse = "ok" | "risk_detected";
|
|
647
|
+
|
|
648
|
+
interface AiAdvisorSyntheseResponse {
|
|
649
|
+
note: number;
|
|
650
|
+
optimisationLevel: number;
|
|
651
|
+
product: string;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
interface AiAdvisorResponse {
|
|
655
|
+
status: AiAdvisorStatusResponse;
|
|
656
|
+
message?: string;
|
|
657
|
+
synthese?: AiAdvisorSyntheseResponse;
|
|
658
|
+
analyse?: string[];
|
|
659
|
+
recommandations?: string[];
|
|
660
|
+
concretement?: string[];
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
interface AnonymousUserResponse {
|
|
664
|
+
id: string;
|
|
665
|
+
clerkId: string;
|
|
666
|
+
totalRealEstatesValue: number;
|
|
667
|
+
totalMobilitiesValue: number;
|
|
668
|
+
totalCryptocurrenciesValue: number;
|
|
669
|
+
totalOtherAssetsValue: number;
|
|
670
|
+
totalCheckingBankAccounts: number;
|
|
671
|
+
totalCheckingBankAccountsBalance: number;
|
|
672
|
+
totalSavingsBankAccounts: number;
|
|
673
|
+
totalSavingsBankAccountsBalance: number;
|
|
674
|
+
totalLoans: number;
|
|
675
|
+
totalLoansBalance: number;
|
|
676
|
+
currency: AvailableCurrencyEnum;
|
|
677
|
+
createdAt: Date;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
interface AnonymousUsersResponse {
|
|
681
|
+
users: AnonymousUserResponse[];
|
|
682
|
+
pagination: PaginationResponse;
|
|
683
|
+
}
|
|
684
|
+
|
|
646
685
|
interface UserAiSummaryResponse {
|
|
647
686
|
id: string;
|
|
648
687
|
status: UserAiSummaryStatusEnum;
|
|
@@ -653,6 +692,60 @@ interface UserAiSummaryResponse {
|
|
|
653
692
|
createdAt: Date;
|
|
654
693
|
}
|
|
655
694
|
|
|
695
|
+
interface UserFinancialSummaryResponse {
|
|
696
|
+
currency: AvailableCurrencyEnum;
|
|
697
|
+
projectNeeds: ProjectNeedEnum[];
|
|
698
|
+
totalRealEstatesValue: number | null;
|
|
699
|
+
totalMobilitiesValue: number | null;
|
|
700
|
+
totalOtherAssetsValue: number | null;
|
|
701
|
+
totalCryptocurrenciesValue: number | null;
|
|
702
|
+
totalSavingsAccounts: number | null;
|
|
703
|
+
totalSavingsBalance: number | null;
|
|
704
|
+
totalCheckingAccounts: number | null;
|
|
705
|
+
totalCheckingBalance: number | null;
|
|
706
|
+
totalLoans: number | null;
|
|
707
|
+
totalLoansBalance: number | null;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
interface UserPersonalSummaryResponse {
|
|
711
|
+
id: string;
|
|
712
|
+
firstName: string | null;
|
|
713
|
+
lastName: string | null;
|
|
714
|
+
commercialEmail: string | null;
|
|
715
|
+
birthYear: number | null;
|
|
716
|
+
childrenNumber: number | null;
|
|
717
|
+
childrenBirthYears: number[] | null;
|
|
718
|
+
maritalStatus: string | null;
|
|
719
|
+
profession: ProfessionEnum | null;
|
|
720
|
+
professionStatus: ProfessionStatusEnum | null;
|
|
721
|
+
salaryRange: string | null;
|
|
722
|
+
postalCode: string | null;
|
|
723
|
+
loanMonthlyPayment: number | null;
|
|
724
|
+
financialProductsOwned: FinancialProductEnum[] | null;
|
|
725
|
+
isMainResidenceOwner: boolean | null;
|
|
726
|
+
personalNetWorthRange: string | null;
|
|
727
|
+
grossAnnualHouseholdIncomeRange: string | null;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
interface UserProfileResponse {
|
|
731
|
+
id: string;
|
|
732
|
+
currency: AvailableCurrencyEnum;
|
|
733
|
+
status: UserStatusEnum;
|
|
734
|
+
gotPowensUser: boolean;
|
|
735
|
+
expoToken: string | null;
|
|
736
|
+
latestTermsOfUsageVersionConsented: string;
|
|
737
|
+
latestPrivacyPolicyVersionConsented: string;
|
|
738
|
+
createdAt: Date;
|
|
739
|
+
updatedAt: Date;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
interface LeadAiSummaryResponse {
|
|
743
|
+
status: AiAdvisorStatusResponse | null;
|
|
744
|
+
version: number;
|
|
745
|
+
fullResponse: AiAdvisorResponse | null;
|
|
746
|
+
updatedAt: Date;
|
|
747
|
+
}
|
|
748
|
+
|
|
656
749
|
interface FullLeadResponse {
|
|
657
750
|
userId: string;
|
|
658
751
|
initialAmount: number;
|
|
@@ -686,7 +779,7 @@ interface FullLeadResponse {
|
|
|
686
779
|
totalLoansBankAccounts: number | null;
|
|
687
780
|
totalLoansBankAccountsBalance: number | null;
|
|
688
781
|
lastFinancialSummaryUpdatedAt: Date;
|
|
689
|
-
aiSummary:
|
|
782
|
+
aiSummary: LeadAiSummaryResponse | null;
|
|
690
783
|
}
|
|
691
784
|
|
|
692
785
|
interface LeadResponse {
|
|
@@ -770,92 +863,6 @@ interface ProjectResponse {
|
|
|
770
863
|
createdAt: Date;
|
|
771
864
|
}
|
|
772
865
|
|
|
773
|
-
type AiAdvisorStatusResponse = "ok" | "risk_detected";
|
|
774
|
-
|
|
775
|
-
interface AiAdvisorSyntheseResponse {
|
|
776
|
-
note: number;
|
|
777
|
-
optimisationLevel: number;
|
|
778
|
-
product: string;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
interface AiAdvisorResponse {
|
|
782
|
-
status: AiAdvisorStatusResponse;
|
|
783
|
-
message?: string;
|
|
784
|
-
synthese?: AiAdvisorSyntheseResponse;
|
|
785
|
-
analyse?: string[];
|
|
786
|
-
recommandations?: string[];
|
|
787
|
-
concretement?: string[];
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
interface AnonymousUserResponse {
|
|
791
|
-
id: string;
|
|
792
|
-
clerkId: string;
|
|
793
|
-
totalRealEstatesValue: number;
|
|
794
|
-
totalMobilitiesValue: number;
|
|
795
|
-
totalCryptocurrenciesValue: number;
|
|
796
|
-
totalOtherAssetsValue: number;
|
|
797
|
-
totalCheckingBankAccounts: number;
|
|
798
|
-
totalCheckingBankAccountsBalance: number;
|
|
799
|
-
totalSavingsBankAccounts: number;
|
|
800
|
-
totalSavingsBankAccountsBalance: number;
|
|
801
|
-
totalLoans: number;
|
|
802
|
-
totalLoansBalance: number;
|
|
803
|
-
currency: AvailableCurrencyEnum;
|
|
804
|
-
createdAt: Date;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
interface AnonymousUsersResponse {
|
|
808
|
-
users: AnonymousUserResponse[];
|
|
809
|
-
pagination: PaginationResponse;
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
interface UserFinancialSummaryResponse {
|
|
813
|
-
currency: AvailableCurrencyEnum;
|
|
814
|
-
projectNeeds: ProjectNeedEnum[];
|
|
815
|
-
totalRealEstatesValue: number | null;
|
|
816
|
-
totalMobilitiesValue: number | null;
|
|
817
|
-
totalOtherAssetsValue: number | null;
|
|
818
|
-
totalCryptocurrenciesValue: number | null;
|
|
819
|
-
totalSavingsAccounts: number | null;
|
|
820
|
-
totalSavingsBalance: number | null;
|
|
821
|
-
totalCheckingAccounts: number | null;
|
|
822
|
-
totalCheckingBalance: number | null;
|
|
823
|
-
totalLoans: number | null;
|
|
824
|
-
totalLoansBalance: number | null;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
interface UserPersonalSummaryResponse {
|
|
828
|
-
id: string;
|
|
829
|
-
firstName: string | null;
|
|
830
|
-
lastName: string | null;
|
|
831
|
-
commercialEmail: string | null;
|
|
832
|
-
birthYear: number | null;
|
|
833
|
-
childrenNumber: number | null;
|
|
834
|
-
childrenBirthYears: number[] | null;
|
|
835
|
-
maritalStatus: string | null;
|
|
836
|
-
profession: ProfessionEnum | null;
|
|
837
|
-
professionStatus: ProfessionStatusEnum | null;
|
|
838
|
-
salaryRange: string | null;
|
|
839
|
-
postalCode: string | null;
|
|
840
|
-
loanMonthlyPayment: number | null;
|
|
841
|
-
financialProductsOwned: FinancialProductEnum[] | null;
|
|
842
|
-
isMainResidenceOwner: boolean | null;
|
|
843
|
-
personalNetWorthRange: string | null;
|
|
844
|
-
grossAnnualHouseholdIncomeRange: string | null;
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
interface UserProfileResponse {
|
|
848
|
-
id: string;
|
|
849
|
-
currency: AvailableCurrencyEnum;
|
|
850
|
-
status: UserStatusEnum;
|
|
851
|
-
gotPowensUser: boolean;
|
|
852
|
-
expoToken: string | null;
|
|
853
|
-
latestTermsOfUsageVersionConsented: string;
|
|
854
|
-
latestPrivacyPolicyVersionConsented: string;
|
|
855
|
-
createdAt: Date;
|
|
856
|
-
updatedAt: Date;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
866
|
interface UserAssetsBalancesResponse {
|
|
860
867
|
total: number;
|
|
861
868
|
realEstate: number;
|
|
@@ -941,4 +948,4 @@ declare function getProjectNeedKey(label: string): ProjectNeedEnum | null;
|
|
|
941
948
|
|
|
942
949
|
type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
|
|
943
950
|
|
|
944
|
-
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 };
|
|
951
|
+
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 LeadAiSummaryResponse, 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
|
@@ -643,6 +643,45 @@ interface UserAuthenticatedResponse {
|
|
|
643
643
|
hasPincode: boolean;
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
+
type AiAdvisorStatusResponse = "ok" | "risk_detected";
|
|
647
|
+
|
|
648
|
+
interface AiAdvisorSyntheseResponse {
|
|
649
|
+
note: number;
|
|
650
|
+
optimisationLevel: number;
|
|
651
|
+
product: string;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
interface AiAdvisorResponse {
|
|
655
|
+
status: AiAdvisorStatusResponse;
|
|
656
|
+
message?: string;
|
|
657
|
+
synthese?: AiAdvisorSyntheseResponse;
|
|
658
|
+
analyse?: string[];
|
|
659
|
+
recommandations?: string[];
|
|
660
|
+
concretement?: string[];
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
interface AnonymousUserResponse {
|
|
664
|
+
id: string;
|
|
665
|
+
clerkId: string;
|
|
666
|
+
totalRealEstatesValue: number;
|
|
667
|
+
totalMobilitiesValue: number;
|
|
668
|
+
totalCryptocurrenciesValue: number;
|
|
669
|
+
totalOtherAssetsValue: number;
|
|
670
|
+
totalCheckingBankAccounts: number;
|
|
671
|
+
totalCheckingBankAccountsBalance: number;
|
|
672
|
+
totalSavingsBankAccounts: number;
|
|
673
|
+
totalSavingsBankAccountsBalance: number;
|
|
674
|
+
totalLoans: number;
|
|
675
|
+
totalLoansBalance: number;
|
|
676
|
+
currency: AvailableCurrencyEnum;
|
|
677
|
+
createdAt: Date;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
interface AnonymousUsersResponse {
|
|
681
|
+
users: AnonymousUserResponse[];
|
|
682
|
+
pagination: PaginationResponse;
|
|
683
|
+
}
|
|
684
|
+
|
|
646
685
|
interface UserAiSummaryResponse {
|
|
647
686
|
id: string;
|
|
648
687
|
status: UserAiSummaryStatusEnum;
|
|
@@ -653,6 +692,60 @@ interface UserAiSummaryResponse {
|
|
|
653
692
|
createdAt: Date;
|
|
654
693
|
}
|
|
655
694
|
|
|
695
|
+
interface UserFinancialSummaryResponse {
|
|
696
|
+
currency: AvailableCurrencyEnum;
|
|
697
|
+
projectNeeds: ProjectNeedEnum[];
|
|
698
|
+
totalRealEstatesValue: number | null;
|
|
699
|
+
totalMobilitiesValue: number | null;
|
|
700
|
+
totalOtherAssetsValue: number | null;
|
|
701
|
+
totalCryptocurrenciesValue: number | null;
|
|
702
|
+
totalSavingsAccounts: number | null;
|
|
703
|
+
totalSavingsBalance: number | null;
|
|
704
|
+
totalCheckingAccounts: number | null;
|
|
705
|
+
totalCheckingBalance: number | null;
|
|
706
|
+
totalLoans: number | null;
|
|
707
|
+
totalLoansBalance: number | null;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
interface UserPersonalSummaryResponse {
|
|
711
|
+
id: string;
|
|
712
|
+
firstName: string | null;
|
|
713
|
+
lastName: string | null;
|
|
714
|
+
commercialEmail: string | null;
|
|
715
|
+
birthYear: number | null;
|
|
716
|
+
childrenNumber: number | null;
|
|
717
|
+
childrenBirthYears: number[] | null;
|
|
718
|
+
maritalStatus: string | null;
|
|
719
|
+
profession: ProfessionEnum | null;
|
|
720
|
+
professionStatus: ProfessionStatusEnum | null;
|
|
721
|
+
salaryRange: string | null;
|
|
722
|
+
postalCode: string | null;
|
|
723
|
+
loanMonthlyPayment: number | null;
|
|
724
|
+
financialProductsOwned: FinancialProductEnum[] | null;
|
|
725
|
+
isMainResidenceOwner: boolean | null;
|
|
726
|
+
personalNetWorthRange: string | null;
|
|
727
|
+
grossAnnualHouseholdIncomeRange: string | null;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
interface UserProfileResponse {
|
|
731
|
+
id: string;
|
|
732
|
+
currency: AvailableCurrencyEnum;
|
|
733
|
+
status: UserStatusEnum;
|
|
734
|
+
gotPowensUser: boolean;
|
|
735
|
+
expoToken: string | null;
|
|
736
|
+
latestTermsOfUsageVersionConsented: string;
|
|
737
|
+
latestPrivacyPolicyVersionConsented: string;
|
|
738
|
+
createdAt: Date;
|
|
739
|
+
updatedAt: Date;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
interface LeadAiSummaryResponse {
|
|
743
|
+
status: AiAdvisorStatusResponse | null;
|
|
744
|
+
version: number;
|
|
745
|
+
fullResponse: AiAdvisorResponse | null;
|
|
746
|
+
updatedAt: Date;
|
|
747
|
+
}
|
|
748
|
+
|
|
656
749
|
interface FullLeadResponse {
|
|
657
750
|
userId: string;
|
|
658
751
|
initialAmount: number;
|
|
@@ -686,7 +779,7 @@ interface FullLeadResponse {
|
|
|
686
779
|
totalLoansBankAccounts: number | null;
|
|
687
780
|
totalLoansBankAccountsBalance: number | null;
|
|
688
781
|
lastFinancialSummaryUpdatedAt: Date;
|
|
689
|
-
aiSummary:
|
|
782
|
+
aiSummary: LeadAiSummaryResponse | null;
|
|
690
783
|
}
|
|
691
784
|
|
|
692
785
|
interface LeadResponse {
|
|
@@ -770,92 +863,6 @@ interface ProjectResponse {
|
|
|
770
863
|
createdAt: Date;
|
|
771
864
|
}
|
|
772
865
|
|
|
773
|
-
type AiAdvisorStatusResponse = "ok" | "risk_detected";
|
|
774
|
-
|
|
775
|
-
interface AiAdvisorSyntheseResponse {
|
|
776
|
-
note: number;
|
|
777
|
-
optimisationLevel: number;
|
|
778
|
-
product: string;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
interface AiAdvisorResponse {
|
|
782
|
-
status: AiAdvisorStatusResponse;
|
|
783
|
-
message?: string;
|
|
784
|
-
synthese?: AiAdvisorSyntheseResponse;
|
|
785
|
-
analyse?: string[];
|
|
786
|
-
recommandations?: string[];
|
|
787
|
-
concretement?: string[];
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
interface AnonymousUserResponse {
|
|
791
|
-
id: string;
|
|
792
|
-
clerkId: string;
|
|
793
|
-
totalRealEstatesValue: number;
|
|
794
|
-
totalMobilitiesValue: number;
|
|
795
|
-
totalCryptocurrenciesValue: number;
|
|
796
|
-
totalOtherAssetsValue: number;
|
|
797
|
-
totalCheckingBankAccounts: number;
|
|
798
|
-
totalCheckingBankAccountsBalance: number;
|
|
799
|
-
totalSavingsBankAccounts: number;
|
|
800
|
-
totalSavingsBankAccountsBalance: number;
|
|
801
|
-
totalLoans: number;
|
|
802
|
-
totalLoansBalance: number;
|
|
803
|
-
currency: AvailableCurrencyEnum;
|
|
804
|
-
createdAt: Date;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
interface AnonymousUsersResponse {
|
|
808
|
-
users: AnonymousUserResponse[];
|
|
809
|
-
pagination: PaginationResponse;
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
interface UserFinancialSummaryResponse {
|
|
813
|
-
currency: AvailableCurrencyEnum;
|
|
814
|
-
projectNeeds: ProjectNeedEnum[];
|
|
815
|
-
totalRealEstatesValue: number | null;
|
|
816
|
-
totalMobilitiesValue: number | null;
|
|
817
|
-
totalOtherAssetsValue: number | null;
|
|
818
|
-
totalCryptocurrenciesValue: number | null;
|
|
819
|
-
totalSavingsAccounts: number | null;
|
|
820
|
-
totalSavingsBalance: number | null;
|
|
821
|
-
totalCheckingAccounts: number | null;
|
|
822
|
-
totalCheckingBalance: number | null;
|
|
823
|
-
totalLoans: number | null;
|
|
824
|
-
totalLoansBalance: number | null;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
interface UserPersonalSummaryResponse {
|
|
828
|
-
id: string;
|
|
829
|
-
firstName: string | null;
|
|
830
|
-
lastName: string | null;
|
|
831
|
-
commercialEmail: string | null;
|
|
832
|
-
birthYear: number | null;
|
|
833
|
-
childrenNumber: number | null;
|
|
834
|
-
childrenBirthYears: number[] | null;
|
|
835
|
-
maritalStatus: string | null;
|
|
836
|
-
profession: ProfessionEnum | null;
|
|
837
|
-
professionStatus: ProfessionStatusEnum | null;
|
|
838
|
-
salaryRange: string | null;
|
|
839
|
-
postalCode: string | null;
|
|
840
|
-
loanMonthlyPayment: number | null;
|
|
841
|
-
financialProductsOwned: FinancialProductEnum[] | null;
|
|
842
|
-
isMainResidenceOwner: boolean | null;
|
|
843
|
-
personalNetWorthRange: string | null;
|
|
844
|
-
grossAnnualHouseholdIncomeRange: string | null;
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
interface UserProfileResponse {
|
|
848
|
-
id: string;
|
|
849
|
-
currency: AvailableCurrencyEnum;
|
|
850
|
-
status: UserStatusEnum;
|
|
851
|
-
gotPowensUser: boolean;
|
|
852
|
-
expoToken: string | null;
|
|
853
|
-
latestTermsOfUsageVersionConsented: string;
|
|
854
|
-
latestPrivacyPolicyVersionConsented: string;
|
|
855
|
-
createdAt: Date;
|
|
856
|
-
updatedAt: Date;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
866
|
interface UserAssetsBalancesResponse {
|
|
860
867
|
total: number;
|
|
861
868
|
realEstate: number;
|
|
@@ -941,4 +948,4 @@ declare function getProjectNeedKey(label: string): ProjectNeedEnum | null;
|
|
|
941
948
|
|
|
942
949
|
type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
|
|
943
950
|
|
|
944
|
-
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 };
|
|
951
|
+
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 LeadAiSummaryResponse, 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 };
|