sowhat-types 2.0.221 → 2.0.223
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 +47 -51
- package/dist/index.d.ts +47 -51
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -643,52 +643,6 @@ 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
|
-
|
|
656
|
-
interface FullLeadResponse {
|
|
657
|
-
userId: string;
|
|
658
|
-
initialAmount: number;
|
|
659
|
-
monthlyAmount: number;
|
|
660
|
-
need: ProjectNeedEnum;
|
|
661
|
-
financialProduct: FinancialProductEnum | null;
|
|
662
|
-
note: string | null;
|
|
663
|
-
birthYear: number | null;
|
|
664
|
-
childrenNumber: number | null;
|
|
665
|
-
childrenBirthYears: number[] | null;
|
|
666
|
-
maritalStatus: MaritalStatusEnum | null;
|
|
667
|
-
profession: ProfessionEnum | null;
|
|
668
|
-
professionStatus: ProfessionStatusEnum | null;
|
|
669
|
-
personalSalaryRange: PersonalSalaryRangeEnum | null;
|
|
670
|
-
householdSalaryRange: HouseholdSalaryRangeEnum | null;
|
|
671
|
-
personalNetWorthRange: PersonalNetWorthRangeEnum | null;
|
|
672
|
-
postalCode: string | null;
|
|
673
|
-
loanMonthlyPayment: number | null;
|
|
674
|
-
financialProductsOwned: FinancialProductEnum[] | null;
|
|
675
|
-
isMainResidenceOwner: boolean | null;
|
|
676
|
-
lastPersonalSummaryUpdatedAt: Date;
|
|
677
|
-
currency: AvailableCurrencyEnum;
|
|
678
|
-
totalRealEstatesValue: number | null;
|
|
679
|
-
totalMobilitiesValue: number | null;
|
|
680
|
-
totalOtherAssetsValue: number | null;
|
|
681
|
-
totalCryptocurrenciesValue: number | null;
|
|
682
|
-
totalSavingsBankAccounts: number | null;
|
|
683
|
-
totalSavingsBankAccountsBalance: number | null;
|
|
684
|
-
totalCheckingBankAccounts: number | null;
|
|
685
|
-
totalCheckingBankAccountsBalance: number | null;
|
|
686
|
-
totalLoansBankAccounts: number | null;
|
|
687
|
-
totalLoansBankAccountsBalance: number | null;
|
|
688
|
-
lastFinancialSummaryUpdatedAt: Date;
|
|
689
|
-
aiSummary: UserAiSummaryResponse | null;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
646
|
type AiAdvisorStatusResponse = "ok" | "risk_detected";
|
|
693
647
|
|
|
694
648
|
interface AiAdvisorSyntheseResponse {
|
|
@@ -728,9 +682,18 @@ interface AnonymousUsersResponse {
|
|
|
728
682
|
pagination: PaginationResponse;
|
|
729
683
|
}
|
|
730
684
|
|
|
685
|
+
interface UserAiSummaryResponse {
|
|
686
|
+
id: string;
|
|
687
|
+
status: UserAiSummaryStatusEnum;
|
|
688
|
+
version: number;
|
|
689
|
+
rawResponse: string | null;
|
|
690
|
+
parsedAdvisorResponseStringified: string | null;
|
|
691
|
+
updatedAt: Date;
|
|
692
|
+
createdAt: Date;
|
|
693
|
+
}
|
|
694
|
+
|
|
731
695
|
interface UserFinancialSummaryResponse {
|
|
732
696
|
currency: AvailableCurrencyEnum;
|
|
733
|
-
projectNeeds: ProjectNeedEnum[];
|
|
734
697
|
totalRealEstatesValue: number | null;
|
|
735
698
|
totalMobilitiesValue: number | null;
|
|
736
699
|
totalOtherAssetsValue: number | null;
|
|
@@ -777,12 +740,45 @@ interface UserProfileResponse {
|
|
|
777
740
|
|
|
778
741
|
interface LeadAiSummaryResponse {
|
|
779
742
|
status: AiAdvisorStatusResponse | null;
|
|
780
|
-
note: number | null;
|
|
781
|
-
optimisationLevel: number | null;
|
|
782
|
-
product: string | null;
|
|
783
743
|
version: number;
|
|
784
744
|
fullResponse: AiAdvisorResponse | null;
|
|
785
|
-
|
|
745
|
+
updatedAt: Date;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
interface FullLeadResponse {
|
|
749
|
+
userId: string;
|
|
750
|
+
initialAmount: number | null;
|
|
751
|
+
monthlyAmount: number | null;
|
|
752
|
+
need: ProjectNeedEnum | null;
|
|
753
|
+
financialProduct: FinancialProductEnum | null;
|
|
754
|
+
note: string | null;
|
|
755
|
+
birthYear: number | null;
|
|
756
|
+
childrenNumber: number | null;
|
|
757
|
+
childrenBirthYears: number[] | null;
|
|
758
|
+
maritalStatus: MaritalStatusEnum | null;
|
|
759
|
+
profession: ProfessionEnum | null;
|
|
760
|
+
professionStatus: ProfessionStatusEnum | null;
|
|
761
|
+
personalSalaryRange: PersonalSalaryRangeEnum | null;
|
|
762
|
+
householdSalaryRange: HouseholdSalaryRangeEnum | null;
|
|
763
|
+
personalNetWorthRange: PersonalNetWorthRangeEnum | null;
|
|
764
|
+
postalCode: string | null;
|
|
765
|
+
loanMonthlyPayment: number | null;
|
|
766
|
+
financialProductsOwned: FinancialProductEnum[] | null;
|
|
767
|
+
isMainResidenceOwner: boolean | null;
|
|
768
|
+
lastPersonalSummaryUpdatedAt: Date;
|
|
769
|
+
currency: AvailableCurrencyEnum;
|
|
770
|
+
totalRealEstatesValue: number | null;
|
|
771
|
+
totalMobilitiesValue: number | null;
|
|
772
|
+
totalOtherAssetsValue: number | null;
|
|
773
|
+
totalCryptocurrenciesValue: number | null;
|
|
774
|
+
totalSavingsBankAccounts: number | null;
|
|
775
|
+
totalSavingsBankAccountsBalance: number | null;
|
|
776
|
+
totalCheckingBankAccounts: number | null;
|
|
777
|
+
totalCheckingBankAccountsBalance: number | null;
|
|
778
|
+
totalLoansBankAccounts: number | null;
|
|
779
|
+
totalLoansBankAccountsBalance: number | null;
|
|
780
|
+
lastFinancialSummaryUpdatedAt: Date;
|
|
781
|
+
aiSummary: LeadAiSummaryResponse | null;
|
|
786
782
|
}
|
|
787
783
|
|
|
788
784
|
interface LeadResponse {
|
package/dist/index.d.ts
CHANGED
|
@@ -643,52 +643,6 @@ 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
|
-
|
|
656
|
-
interface FullLeadResponse {
|
|
657
|
-
userId: string;
|
|
658
|
-
initialAmount: number;
|
|
659
|
-
monthlyAmount: number;
|
|
660
|
-
need: ProjectNeedEnum;
|
|
661
|
-
financialProduct: FinancialProductEnum | null;
|
|
662
|
-
note: string | null;
|
|
663
|
-
birthYear: number | null;
|
|
664
|
-
childrenNumber: number | null;
|
|
665
|
-
childrenBirthYears: number[] | null;
|
|
666
|
-
maritalStatus: MaritalStatusEnum | null;
|
|
667
|
-
profession: ProfessionEnum | null;
|
|
668
|
-
professionStatus: ProfessionStatusEnum | null;
|
|
669
|
-
personalSalaryRange: PersonalSalaryRangeEnum | null;
|
|
670
|
-
householdSalaryRange: HouseholdSalaryRangeEnum | null;
|
|
671
|
-
personalNetWorthRange: PersonalNetWorthRangeEnum | null;
|
|
672
|
-
postalCode: string | null;
|
|
673
|
-
loanMonthlyPayment: number | null;
|
|
674
|
-
financialProductsOwned: FinancialProductEnum[] | null;
|
|
675
|
-
isMainResidenceOwner: boolean | null;
|
|
676
|
-
lastPersonalSummaryUpdatedAt: Date;
|
|
677
|
-
currency: AvailableCurrencyEnum;
|
|
678
|
-
totalRealEstatesValue: number | null;
|
|
679
|
-
totalMobilitiesValue: number | null;
|
|
680
|
-
totalOtherAssetsValue: number | null;
|
|
681
|
-
totalCryptocurrenciesValue: number | null;
|
|
682
|
-
totalSavingsBankAccounts: number | null;
|
|
683
|
-
totalSavingsBankAccountsBalance: number | null;
|
|
684
|
-
totalCheckingBankAccounts: number | null;
|
|
685
|
-
totalCheckingBankAccountsBalance: number | null;
|
|
686
|
-
totalLoansBankAccounts: number | null;
|
|
687
|
-
totalLoansBankAccountsBalance: number | null;
|
|
688
|
-
lastFinancialSummaryUpdatedAt: Date;
|
|
689
|
-
aiSummary: UserAiSummaryResponse | null;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
646
|
type AiAdvisorStatusResponse = "ok" | "risk_detected";
|
|
693
647
|
|
|
694
648
|
interface AiAdvisorSyntheseResponse {
|
|
@@ -728,9 +682,18 @@ interface AnonymousUsersResponse {
|
|
|
728
682
|
pagination: PaginationResponse;
|
|
729
683
|
}
|
|
730
684
|
|
|
685
|
+
interface UserAiSummaryResponse {
|
|
686
|
+
id: string;
|
|
687
|
+
status: UserAiSummaryStatusEnum;
|
|
688
|
+
version: number;
|
|
689
|
+
rawResponse: string | null;
|
|
690
|
+
parsedAdvisorResponseStringified: string | null;
|
|
691
|
+
updatedAt: Date;
|
|
692
|
+
createdAt: Date;
|
|
693
|
+
}
|
|
694
|
+
|
|
731
695
|
interface UserFinancialSummaryResponse {
|
|
732
696
|
currency: AvailableCurrencyEnum;
|
|
733
|
-
projectNeeds: ProjectNeedEnum[];
|
|
734
697
|
totalRealEstatesValue: number | null;
|
|
735
698
|
totalMobilitiesValue: number | null;
|
|
736
699
|
totalOtherAssetsValue: number | null;
|
|
@@ -777,12 +740,45 @@ interface UserProfileResponse {
|
|
|
777
740
|
|
|
778
741
|
interface LeadAiSummaryResponse {
|
|
779
742
|
status: AiAdvisorStatusResponse | null;
|
|
780
|
-
note: number | null;
|
|
781
|
-
optimisationLevel: number | null;
|
|
782
|
-
product: string | null;
|
|
783
743
|
version: number;
|
|
784
744
|
fullResponse: AiAdvisorResponse | null;
|
|
785
|
-
|
|
745
|
+
updatedAt: Date;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
interface FullLeadResponse {
|
|
749
|
+
userId: string;
|
|
750
|
+
initialAmount: number | null;
|
|
751
|
+
monthlyAmount: number | null;
|
|
752
|
+
need: ProjectNeedEnum | null;
|
|
753
|
+
financialProduct: FinancialProductEnum | null;
|
|
754
|
+
note: string | null;
|
|
755
|
+
birthYear: number | null;
|
|
756
|
+
childrenNumber: number | null;
|
|
757
|
+
childrenBirthYears: number[] | null;
|
|
758
|
+
maritalStatus: MaritalStatusEnum | null;
|
|
759
|
+
profession: ProfessionEnum | null;
|
|
760
|
+
professionStatus: ProfessionStatusEnum | null;
|
|
761
|
+
personalSalaryRange: PersonalSalaryRangeEnum | null;
|
|
762
|
+
householdSalaryRange: HouseholdSalaryRangeEnum | null;
|
|
763
|
+
personalNetWorthRange: PersonalNetWorthRangeEnum | null;
|
|
764
|
+
postalCode: string | null;
|
|
765
|
+
loanMonthlyPayment: number | null;
|
|
766
|
+
financialProductsOwned: FinancialProductEnum[] | null;
|
|
767
|
+
isMainResidenceOwner: boolean | null;
|
|
768
|
+
lastPersonalSummaryUpdatedAt: Date;
|
|
769
|
+
currency: AvailableCurrencyEnum;
|
|
770
|
+
totalRealEstatesValue: number | null;
|
|
771
|
+
totalMobilitiesValue: number | null;
|
|
772
|
+
totalOtherAssetsValue: number | null;
|
|
773
|
+
totalCryptocurrenciesValue: number | null;
|
|
774
|
+
totalSavingsBankAccounts: number | null;
|
|
775
|
+
totalSavingsBankAccountsBalance: number | null;
|
|
776
|
+
totalCheckingBankAccounts: number | null;
|
|
777
|
+
totalCheckingBankAccountsBalance: number | null;
|
|
778
|
+
totalLoansBankAccounts: number | null;
|
|
779
|
+
totalLoansBankAccountsBalance: number | null;
|
|
780
|
+
lastFinancialSummaryUpdatedAt: Date;
|
|
781
|
+
aiSummary: LeadAiSummaryResponse | null;
|
|
786
782
|
}
|
|
787
783
|
|
|
788
784
|
interface LeadResponse {
|