sowhat-types 2.0.221 → 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 +47 -50
- package/dist/index.d.ts +47 -50
- 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,6 +682,16 @@ 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
697
|
projectNeeds: ProjectNeedEnum[];
|
|
@@ -777,12 +741,45 @@ interface UserProfileResponse {
|
|
|
777
741
|
|
|
778
742
|
interface LeadAiSummaryResponse {
|
|
779
743
|
status: AiAdvisorStatusResponse | null;
|
|
780
|
-
note: number | null;
|
|
781
|
-
optimisationLevel: number | null;
|
|
782
|
-
product: string | null;
|
|
783
744
|
version: number;
|
|
784
745
|
fullResponse: AiAdvisorResponse | null;
|
|
785
|
-
|
|
746
|
+
updatedAt: Date;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
interface FullLeadResponse {
|
|
750
|
+
userId: string;
|
|
751
|
+
initialAmount: number;
|
|
752
|
+
monthlyAmount: number;
|
|
753
|
+
need: ProjectNeedEnum;
|
|
754
|
+
financialProduct: FinancialProductEnum | null;
|
|
755
|
+
note: string | null;
|
|
756
|
+
birthYear: number | null;
|
|
757
|
+
childrenNumber: number | null;
|
|
758
|
+
childrenBirthYears: number[] | null;
|
|
759
|
+
maritalStatus: MaritalStatusEnum | null;
|
|
760
|
+
profession: ProfessionEnum | null;
|
|
761
|
+
professionStatus: ProfessionStatusEnum | null;
|
|
762
|
+
personalSalaryRange: PersonalSalaryRangeEnum | null;
|
|
763
|
+
householdSalaryRange: HouseholdSalaryRangeEnum | null;
|
|
764
|
+
personalNetWorthRange: PersonalNetWorthRangeEnum | null;
|
|
765
|
+
postalCode: string | null;
|
|
766
|
+
loanMonthlyPayment: number | null;
|
|
767
|
+
financialProductsOwned: FinancialProductEnum[] | null;
|
|
768
|
+
isMainResidenceOwner: boolean | null;
|
|
769
|
+
lastPersonalSummaryUpdatedAt: Date;
|
|
770
|
+
currency: AvailableCurrencyEnum;
|
|
771
|
+
totalRealEstatesValue: number | null;
|
|
772
|
+
totalMobilitiesValue: number | null;
|
|
773
|
+
totalOtherAssetsValue: number | null;
|
|
774
|
+
totalCryptocurrenciesValue: number | null;
|
|
775
|
+
totalSavingsBankAccounts: number | null;
|
|
776
|
+
totalSavingsBankAccountsBalance: number | null;
|
|
777
|
+
totalCheckingBankAccounts: number | null;
|
|
778
|
+
totalCheckingBankAccountsBalance: number | null;
|
|
779
|
+
totalLoansBankAccounts: number | null;
|
|
780
|
+
totalLoansBankAccountsBalance: number | null;
|
|
781
|
+
lastFinancialSummaryUpdatedAt: Date;
|
|
782
|
+
aiSummary: LeadAiSummaryResponse | null;
|
|
786
783
|
}
|
|
787
784
|
|
|
788
785
|
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,6 +682,16 @@ 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
697
|
projectNeeds: ProjectNeedEnum[];
|
|
@@ -777,12 +741,45 @@ interface UserProfileResponse {
|
|
|
777
741
|
|
|
778
742
|
interface LeadAiSummaryResponse {
|
|
779
743
|
status: AiAdvisorStatusResponse | null;
|
|
780
|
-
note: number | null;
|
|
781
|
-
optimisationLevel: number | null;
|
|
782
|
-
product: string | null;
|
|
783
744
|
version: number;
|
|
784
745
|
fullResponse: AiAdvisorResponse | null;
|
|
785
|
-
|
|
746
|
+
updatedAt: Date;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
interface FullLeadResponse {
|
|
750
|
+
userId: string;
|
|
751
|
+
initialAmount: number;
|
|
752
|
+
monthlyAmount: number;
|
|
753
|
+
need: ProjectNeedEnum;
|
|
754
|
+
financialProduct: FinancialProductEnum | null;
|
|
755
|
+
note: string | null;
|
|
756
|
+
birthYear: number | null;
|
|
757
|
+
childrenNumber: number | null;
|
|
758
|
+
childrenBirthYears: number[] | null;
|
|
759
|
+
maritalStatus: MaritalStatusEnum | null;
|
|
760
|
+
profession: ProfessionEnum | null;
|
|
761
|
+
professionStatus: ProfessionStatusEnum | null;
|
|
762
|
+
personalSalaryRange: PersonalSalaryRangeEnum | null;
|
|
763
|
+
householdSalaryRange: HouseholdSalaryRangeEnum | null;
|
|
764
|
+
personalNetWorthRange: PersonalNetWorthRangeEnum | null;
|
|
765
|
+
postalCode: string | null;
|
|
766
|
+
loanMonthlyPayment: number | null;
|
|
767
|
+
financialProductsOwned: FinancialProductEnum[] | null;
|
|
768
|
+
isMainResidenceOwner: boolean | null;
|
|
769
|
+
lastPersonalSummaryUpdatedAt: Date;
|
|
770
|
+
currency: AvailableCurrencyEnum;
|
|
771
|
+
totalRealEstatesValue: number | null;
|
|
772
|
+
totalMobilitiesValue: number | null;
|
|
773
|
+
totalOtherAssetsValue: number | null;
|
|
774
|
+
totalCryptocurrenciesValue: number | null;
|
|
775
|
+
totalSavingsBankAccounts: number | null;
|
|
776
|
+
totalSavingsBankAccountsBalance: number | null;
|
|
777
|
+
totalCheckingBankAccounts: number | null;
|
|
778
|
+
totalCheckingBankAccountsBalance: number | null;
|
|
779
|
+
totalLoansBankAccounts: number | null;
|
|
780
|
+
totalLoansBankAccountsBalance: number | null;
|
|
781
|
+
lastFinancialSummaryUpdatedAt: Date;
|
|
782
|
+
aiSummary: LeadAiSummaryResponse | null;
|
|
786
783
|
}
|
|
787
784
|
|
|
788
785
|
interface LeadResponse {
|