sowhat-types 2.0.219 → 2.0.221
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 +103 -92
- package/dist/index.d.ts +103 -92
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -643,6 +643,16 @@ interface UserAuthenticatedResponse {
|
|
|
643
643
|
hasPincode: boolean;
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
+
interface UserAiSummaryResponse {
|
|
647
|
+
id: string;
|
|
648
|
+
status: UserAiSummaryStatusEnum;
|
|
649
|
+
version: number;
|
|
650
|
+
rawResponse: string | null;
|
|
651
|
+
parsedAdvisorResponseStringified: string | null;
|
|
652
|
+
updatedAt: Date;
|
|
653
|
+
createdAt: Date;
|
|
654
|
+
}
|
|
655
|
+
|
|
646
656
|
interface FullLeadResponse {
|
|
647
657
|
userId: string;
|
|
648
658
|
initialAmount: number;
|
|
@@ -676,87 +686,7 @@ interface FullLeadResponse {
|
|
|
676
686
|
totalLoansBankAccounts: number | null;
|
|
677
687
|
totalLoansBankAccountsBalance: number | null;
|
|
678
688
|
lastFinancialSummaryUpdatedAt: Date;
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
interface LeadResponse {
|
|
682
|
-
userId: string;
|
|
683
|
-
initialAmount: number;
|
|
684
|
-
need: ProjectNeedEnum;
|
|
685
|
-
financialProduct: FinancialProductEnum | null;
|
|
686
|
-
profession: ProfessionEnum | null;
|
|
687
|
-
birthYear: number | null;
|
|
688
|
-
updatedAt: Date;
|
|
689
|
-
createdAt: Date;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
interface LeadsResponse {
|
|
693
|
-
items: LeadResponse[];
|
|
694
|
-
nextCursor: string | null;
|
|
695
|
-
total: number;
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
interface LegalDocumentResponse {
|
|
699
|
-
type: LegalDocumentTypeEnum;
|
|
700
|
-
content: string;
|
|
701
|
-
version: string;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
interface PowensConnectionResponse {
|
|
705
|
-
id: string;
|
|
706
|
-
state: PowensConnectionStateEnum | null;
|
|
707
|
-
errorMessage: string | null;
|
|
708
|
-
accounts: BankAccountResponse[];
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
interface PowensConnectionDeletedResponse {
|
|
712
|
-
deleted: boolean;
|
|
713
|
-
errorMessage: string | null;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
interface PowensManageWebviewResponse {
|
|
717
|
-
url: string;
|
|
718
|
-
createdAt: Date;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
interface PowensReconnectWebviewResponse {
|
|
722
|
-
url: string;
|
|
723
|
-
createdAt: Date;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
interface PowensConnectWebviewResponse {
|
|
727
|
-
id: string;
|
|
728
|
-
url: string;
|
|
729
|
-
createdAt: Date;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
interface ProResponse {
|
|
733
|
-
id: string;
|
|
734
|
-
clerkId: string;
|
|
735
|
-
firstName: string | null;
|
|
736
|
-
lastName: string | null;
|
|
737
|
-
role: string | null;
|
|
738
|
-
presentation: string | null;
|
|
739
|
-
companyImage: string | null;
|
|
740
|
-
companyName: string | null;
|
|
741
|
-
companyDescription: string | null;
|
|
742
|
-
sirenId: string | null;
|
|
743
|
-
amfId: string | null;
|
|
744
|
-
oriasId: string | null;
|
|
745
|
-
updatedAt: Date;
|
|
746
|
-
createdAt: Date;
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
interface ProjectResponse {
|
|
750
|
-
id: string;
|
|
751
|
-
status: ProjectStatusEnum;
|
|
752
|
-
option: ProjectOptionEnum;
|
|
753
|
-
initialAmount: number;
|
|
754
|
-
monthlyAmount: number;
|
|
755
|
-
need: ProjectNeedEnum;
|
|
756
|
-
financialProduct: FinancialProductEnum | null;
|
|
757
|
-
note: string | null;
|
|
758
|
-
updatedAt: Date;
|
|
759
|
-
createdAt: Date;
|
|
689
|
+
aiSummary: UserAiSummaryResponse | null;
|
|
760
690
|
}
|
|
761
691
|
|
|
762
692
|
type AiAdvisorStatusResponse = "ok" | "risk_detected";
|
|
@@ -798,16 +728,6 @@ interface AnonymousUsersResponse {
|
|
|
798
728
|
pagination: PaginationResponse;
|
|
799
729
|
}
|
|
800
730
|
|
|
801
|
-
interface UserAiSummaryResponse {
|
|
802
|
-
id: string;
|
|
803
|
-
status: UserAiSummaryStatusEnum;
|
|
804
|
-
version: number;
|
|
805
|
-
rawResponse: string | null;
|
|
806
|
-
parsedAdvisorResponseStringified: string | null;
|
|
807
|
-
updatedAt: Date;
|
|
808
|
-
createdAt: Date;
|
|
809
|
-
}
|
|
810
|
-
|
|
811
731
|
interface UserFinancialSummaryResponse {
|
|
812
732
|
currency: AvailableCurrencyEnum;
|
|
813
733
|
projectNeeds: ProjectNeedEnum[];
|
|
@@ -855,6 +775,97 @@ interface UserProfileResponse {
|
|
|
855
775
|
updatedAt: Date;
|
|
856
776
|
}
|
|
857
777
|
|
|
778
|
+
interface LeadAiSummaryResponse {
|
|
779
|
+
status: AiAdvisorStatusResponse | null;
|
|
780
|
+
note: number | null;
|
|
781
|
+
optimisationLevel: number | null;
|
|
782
|
+
product: string | null;
|
|
783
|
+
version: number;
|
|
784
|
+
fullResponse: AiAdvisorResponse | null;
|
|
785
|
+
lastUpdatedAt: Date;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
interface LeadResponse {
|
|
789
|
+
userId: string;
|
|
790
|
+
initialAmount: number;
|
|
791
|
+
need: ProjectNeedEnum;
|
|
792
|
+
financialProduct: FinancialProductEnum | null;
|
|
793
|
+
profession: ProfessionEnum | null;
|
|
794
|
+
birthYear: number | null;
|
|
795
|
+
updatedAt: Date;
|
|
796
|
+
createdAt: Date;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
interface LeadsResponse {
|
|
800
|
+
items: LeadResponse[];
|
|
801
|
+
nextCursor: string | null;
|
|
802
|
+
total: number;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
interface LegalDocumentResponse {
|
|
806
|
+
type: LegalDocumentTypeEnum;
|
|
807
|
+
content: string;
|
|
808
|
+
version: string;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
interface PowensConnectionResponse {
|
|
812
|
+
id: string;
|
|
813
|
+
state: PowensConnectionStateEnum | null;
|
|
814
|
+
errorMessage: string | null;
|
|
815
|
+
accounts: BankAccountResponse[];
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
interface PowensConnectionDeletedResponse {
|
|
819
|
+
deleted: boolean;
|
|
820
|
+
errorMessage: string | null;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
interface PowensManageWebviewResponse {
|
|
824
|
+
url: string;
|
|
825
|
+
createdAt: Date;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
interface PowensReconnectWebviewResponse {
|
|
829
|
+
url: string;
|
|
830
|
+
createdAt: Date;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
interface PowensConnectWebviewResponse {
|
|
834
|
+
id: string;
|
|
835
|
+
url: string;
|
|
836
|
+
createdAt: Date;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
interface ProResponse {
|
|
840
|
+
id: string;
|
|
841
|
+
clerkId: string;
|
|
842
|
+
firstName: string | null;
|
|
843
|
+
lastName: string | null;
|
|
844
|
+
role: string | null;
|
|
845
|
+
presentation: string | null;
|
|
846
|
+
companyImage: string | null;
|
|
847
|
+
companyName: string | null;
|
|
848
|
+
companyDescription: string | null;
|
|
849
|
+
sirenId: string | null;
|
|
850
|
+
amfId: string | null;
|
|
851
|
+
oriasId: string | null;
|
|
852
|
+
updatedAt: Date;
|
|
853
|
+
createdAt: Date;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
interface ProjectResponse {
|
|
857
|
+
id: string;
|
|
858
|
+
status: ProjectStatusEnum;
|
|
859
|
+
option: ProjectOptionEnum;
|
|
860
|
+
initialAmount: number;
|
|
861
|
+
monthlyAmount: number;
|
|
862
|
+
need: ProjectNeedEnum;
|
|
863
|
+
financialProduct: FinancialProductEnum | null;
|
|
864
|
+
note: string | null;
|
|
865
|
+
updatedAt: Date;
|
|
866
|
+
createdAt: Date;
|
|
867
|
+
}
|
|
868
|
+
|
|
858
869
|
interface UserAssetsBalancesResponse {
|
|
859
870
|
total: number;
|
|
860
871
|
realEstate: number;
|
|
@@ -940,4 +951,4 @@ declare function getProjectNeedKey(label: string): ProjectNeedEnum | null;
|
|
|
940
951
|
|
|
941
952
|
type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
|
|
942
953
|
|
|
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 };
|
|
954
|
+
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,16 @@ interface UserAuthenticatedResponse {
|
|
|
643
643
|
hasPincode: boolean;
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
+
interface UserAiSummaryResponse {
|
|
647
|
+
id: string;
|
|
648
|
+
status: UserAiSummaryStatusEnum;
|
|
649
|
+
version: number;
|
|
650
|
+
rawResponse: string | null;
|
|
651
|
+
parsedAdvisorResponseStringified: string | null;
|
|
652
|
+
updatedAt: Date;
|
|
653
|
+
createdAt: Date;
|
|
654
|
+
}
|
|
655
|
+
|
|
646
656
|
interface FullLeadResponse {
|
|
647
657
|
userId: string;
|
|
648
658
|
initialAmount: number;
|
|
@@ -676,87 +686,7 @@ interface FullLeadResponse {
|
|
|
676
686
|
totalLoansBankAccounts: number | null;
|
|
677
687
|
totalLoansBankAccountsBalance: number | null;
|
|
678
688
|
lastFinancialSummaryUpdatedAt: Date;
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
interface LeadResponse {
|
|
682
|
-
userId: string;
|
|
683
|
-
initialAmount: number;
|
|
684
|
-
need: ProjectNeedEnum;
|
|
685
|
-
financialProduct: FinancialProductEnum | null;
|
|
686
|
-
profession: ProfessionEnum | null;
|
|
687
|
-
birthYear: number | null;
|
|
688
|
-
updatedAt: Date;
|
|
689
|
-
createdAt: Date;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
interface LeadsResponse {
|
|
693
|
-
items: LeadResponse[];
|
|
694
|
-
nextCursor: string | null;
|
|
695
|
-
total: number;
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
interface LegalDocumentResponse {
|
|
699
|
-
type: LegalDocumentTypeEnum;
|
|
700
|
-
content: string;
|
|
701
|
-
version: string;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
interface PowensConnectionResponse {
|
|
705
|
-
id: string;
|
|
706
|
-
state: PowensConnectionStateEnum | null;
|
|
707
|
-
errorMessage: string | null;
|
|
708
|
-
accounts: BankAccountResponse[];
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
interface PowensConnectionDeletedResponse {
|
|
712
|
-
deleted: boolean;
|
|
713
|
-
errorMessage: string | null;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
interface PowensManageWebviewResponse {
|
|
717
|
-
url: string;
|
|
718
|
-
createdAt: Date;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
interface PowensReconnectWebviewResponse {
|
|
722
|
-
url: string;
|
|
723
|
-
createdAt: Date;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
interface PowensConnectWebviewResponse {
|
|
727
|
-
id: string;
|
|
728
|
-
url: string;
|
|
729
|
-
createdAt: Date;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
interface ProResponse {
|
|
733
|
-
id: string;
|
|
734
|
-
clerkId: string;
|
|
735
|
-
firstName: string | null;
|
|
736
|
-
lastName: string | null;
|
|
737
|
-
role: string | null;
|
|
738
|
-
presentation: string | null;
|
|
739
|
-
companyImage: string | null;
|
|
740
|
-
companyName: string | null;
|
|
741
|
-
companyDescription: string | null;
|
|
742
|
-
sirenId: string | null;
|
|
743
|
-
amfId: string | null;
|
|
744
|
-
oriasId: string | null;
|
|
745
|
-
updatedAt: Date;
|
|
746
|
-
createdAt: Date;
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
interface ProjectResponse {
|
|
750
|
-
id: string;
|
|
751
|
-
status: ProjectStatusEnum;
|
|
752
|
-
option: ProjectOptionEnum;
|
|
753
|
-
initialAmount: number;
|
|
754
|
-
monthlyAmount: number;
|
|
755
|
-
need: ProjectNeedEnum;
|
|
756
|
-
financialProduct: FinancialProductEnum | null;
|
|
757
|
-
note: string | null;
|
|
758
|
-
updatedAt: Date;
|
|
759
|
-
createdAt: Date;
|
|
689
|
+
aiSummary: UserAiSummaryResponse | null;
|
|
760
690
|
}
|
|
761
691
|
|
|
762
692
|
type AiAdvisorStatusResponse = "ok" | "risk_detected";
|
|
@@ -798,16 +728,6 @@ interface AnonymousUsersResponse {
|
|
|
798
728
|
pagination: PaginationResponse;
|
|
799
729
|
}
|
|
800
730
|
|
|
801
|
-
interface UserAiSummaryResponse {
|
|
802
|
-
id: string;
|
|
803
|
-
status: UserAiSummaryStatusEnum;
|
|
804
|
-
version: number;
|
|
805
|
-
rawResponse: string | null;
|
|
806
|
-
parsedAdvisorResponseStringified: string | null;
|
|
807
|
-
updatedAt: Date;
|
|
808
|
-
createdAt: Date;
|
|
809
|
-
}
|
|
810
|
-
|
|
811
731
|
interface UserFinancialSummaryResponse {
|
|
812
732
|
currency: AvailableCurrencyEnum;
|
|
813
733
|
projectNeeds: ProjectNeedEnum[];
|
|
@@ -855,6 +775,97 @@ interface UserProfileResponse {
|
|
|
855
775
|
updatedAt: Date;
|
|
856
776
|
}
|
|
857
777
|
|
|
778
|
+
interface LeadAiSummaryResponse {
|
|
779
|
+
status: AiAdvisorStatusResponse | null;
|
|
780
|
+
note: number | null;
|
|
781
|
+
optimisationLevel: number | null;
|
|
782
|
+
product: string | null;
|
|
783
|
+
version: number;
|
|
784
|
+
fullResponse: AiAdvisorResponse | null;
|
|
785
|
+
lastUpdatedAt: Date;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
interface LeadResponse {
|
|
789
|
+
userId: string;
|
|
790
|
+
initialAmount: number;
|
|
791
|
+
need: ProjectNeedEnum;
|
|
792
|
+
financialProduct: FinancialProductEnum | null;
|
|
793
|
+
profession: ProfessionEnum | null;
|
|
794
|
+
birthYear: number | null;
|
|
795
|
+
updatedAt: Date;
|
|
796
|
+
createdAt: Date;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
interface LeadsResponse {
|
|
800
|
+
items: LeadResponse[];
|
|
801
|
+
nextCursor: string | null;
|
|
802
|
+
total: number;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
interface LegalDocumentResponse {
|
|
806
|
+
type: LegalDocumentTypeEnum;
|
|
807
|
+
content: string;
|
|
808
|
+
version: string;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
interface PowensConnectionResponse {
|
|
812
|
+
id: string;
|
|
813
|
+
state: PowensConnectionStateEnum | null;
|
|
814
|
+
errorMessage: string | null;
|
|
815
|
+
accounts: BankAccountResponse[];
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
interface PowensConnectionDeletedResponse {
|
|
819
|
+
deleted: boolean;
|
|
820
|
+
errorMessage: string | null;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
interface PowensManageWebviewResponse {
|
|
824
|
+
url: string;
|
|
825
|
+
createdAt: Date;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
interface PowensReconnectWebviewResponse {
|
|
829
|
+
url: string;
|
|
830
|
+
createdAt: Date;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
interface PowensConnectWebviewResponse {
|
|
834
|
+
id: string;
|
|
835
|
+
url: string;
|
|
836
|
+
createdAt: Date;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
interface ProResponse {
|
|
840
|
+
id: string;
|
|
841
|
+
clerkId: string;
|
|
842
|
+
firstName: string | null;
|
|
843
|
+
lastName: string | null;
|
|
844
|
+
role: string | null;
|
|
845
|
+
presentation: string | null;
|
|
846
|
+
companyImage: string | null;
|
|
847
|
+
companyName: string | null;
|
|
848
|
+
companyDescription: string | null;
|
|
849
|
+
sirenId: string | null;
|
|
850
|
+
amfId: string | null;
|
|
851
|
+
oriasId: string | null;
|
|
852
|
+
updatedAt: Date;
|
|
853
|
+
createdAt: Date;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
interface ProjectResponse {
|
|
857
|
+
id: string;
|
|
858
|
+
status: ProjectStatusEnum;
|
|
859
|
+
option: ProjectOptionEnum;
|
|
860
|
+
initialAmount: number;
|
|
861
|
+
monthlyAmount: number;
|
|
862
|
+
need: ProjectNeedEnum;
|
|
863
|
+
financialProduct: FinancialProductEnum | null;
|
|
864
|
+
note: string | null;
|
|
865
|
+
updatedAt: Date;
|
|
866
|
+
createdAt: Date;
|
|
867
|
+
}
|
|
868
|
+
|
|
858
869
|
interface UserAssetsBalancesResponse {
|
|
859
870
|
total: number;
|
|
860
871
|
realEstate: number;
|
|
@@ -940,4 +951,4 @@ declare function getProjectNeedKey(label: string): ProjectNeedEnum | null;
|
|
|
940
951
|
|
|
941
952
|
type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
|
|
942
953
|
|
|
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 };
|
|
954
|
+
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 };
|