sowhat-types 2.1.9 → 2.1.11
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 +7 -6
- package/dist/index.d.ts +7 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1101,7 +1101,6 @@ interface ProUserLikeLeadResponse {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
1103
|
interface ProMatchOfferResponse {
|
|
1104
|
-
id: string;
|
|
1105
1104
|
offer: {
|
|
1106
1105
|
id: string;
|
|
1107
1106
|
status: OfferStatusEnum;
|
|
@@ -1110,10 +1109,10 @@ interface ProMatchOfferResponse {
|
|
|
1110
1109
|
};
|
|
1111
1110
|
lead: {
|
|
1112
1111
|
id: string;
|
|
1113
|
-
birthYear: number;
|
|
1114
|
-
initialAmount: number;
|
|
1115
|
-
need: ProjectNeedEnum;
|
|
1116
|
-
postalCode: string;
|
|
1112
|
+
birthYear: number | null;
|
|
1113
|
+
initialAmount: number | null;
|
|
1114
|
+
need: ProjectNeedEnum | null;
|
|
1115
|
+
postalCode: string | null;
|
|
1117
1116
|
};
|
|
1118
1117
|
}
|
|
1119
1118
|
|
|
@@ -1261,6 +1260,8 @@ declare const MartialStatuses: MaritalStatus[];
|
|
|
1261
1260
|
declare function getMaritalStatusLabel(maritalStatus: MaritalStatusEnum | string): string;
|
|
1262
1261
|
declare function getMaritalStatusKey(label: string): MaritalStatusEnum | null;
|
|
1263
1262
|
|
|
1263
|
+
type OfferStatusFilterType = "accepted" | "pending" | "rejected" | "archived";
|
|
1264
|
+
|
|
1264
1265
|
interface ProCertification {
|
|
1265
1266
|
key: ProCertificationEnum;
|
|
1266
1267
|
label: string;
|
|
@@ -1314,4 +1315,4 @@ declare function getProjectNeedKey(label: string): ProjectNeedEnum | null;
|
|
|
1314
1315
|
|
|
1315
1316
|
type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
|
|
1316
1317
|
|
|
1317
|
-
export { type AiAdvisorResponse, type AiAdvisorStatusResponse, type AiAdvisorSyntheseResponse, type AnonymousUserResponse, type AnonymousUsersResponse, type ArticlePreviewResponse, type ArticleResponse, AssetTypeEnum, AvailableCryptocurrencySymbolEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BlogCategoryResponse, BudgetTypeEnum, type CreateBlogCategoryInput, type CreateCommercialOfferInput, type CreateMobilityInput, type CreateProLeadsAlertInput, type CreateProSubscriptionSessionInput, type CreateProjectInput, type CreateRealEstateInput, type CryptocurrencyAssetDeletedResponse, type CryptocurrencyAssetResponse, type CryptocurrencyResponse, type Department, DepartmentsList, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FinancialProduct, FinancialProductEnum, FinancialProducts, type FinancialSummariesFiltersInput, type FullLeadResponse, type GetLeadsQueryInput, type GetProCommercialOffersInput, type HouseholdSalaryRange, HouseholdSalaryRangeEnum, HouseholdSalaryRanges, LIVES_OUTSIDE_FRANCE, type LeadAiSummaryResponse, type LeadResponse, type LeadsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type ManualInitializeProInput, type MaritalStatus, MaritalStatusEnum, MartialStatuses, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type MonthlyMetricEntry, OfferStatusEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationResponse, type PersonalNetWorthRange, PersonalNetWorthRangeEnum, PersonalNetWorthRanges, type PersonalSalaryRange, PersonalSalaryRangeEnum, PersonalSalaryRanges, PhoneVerificationStatusEnum, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProBillingPortalSessionResponse, type ProCertification, ProCertificationEnum, ProCertifications, type ProCommercialOfferResponse, type ProLeadsAlertResponse, type ProMatchOfferListResponse, type ProMatchOfferResponse, type ProMonitoringResponse, type ProMonthlyQuotaResponse, type ProResponse, ProStatusEnum, type ProSubscriptionSessionResponse, type ProUserLikeLeadResponse, type ProUserLikeResponse, type Profession, ProfessionEnum, type ProfessionStatus, ProfessionStatusEnum, ProfessionStatusList, ProfessionsList, type ProjectNeed, ProjectNeedEnum, ProjectNeeds, ProjectOptionEnum, type ProjectResponse, ProjectStatusEnum, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, type SendPhoneVerificationInput, type SendPhoneVerificationResponse, SupportedCurrencyExchangesEnum, SupportedCurrencySymbolsEnum, type UpdateArticleInput, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBlogCategoryInput, type UpdateCommercialOfferAsProInput, type UpdateCommercialOfferAsUserInput, type UpdateCommercialOfferInput, type UpdateCryptocurrencyAssetInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProInput, type UpdateProLeadsAlertInput, type UpdateProjectInput, type UpdateRealEstateInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAiSummaryResponse, UserAiSummaryStatusEnum, type UserAssetsBalancesResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserCommercialOfferResponse, type UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, UserStatusEnum, type VerifyPhoneCodeInput, type VerifyPhoneCodeResponse, getFinancialProductKey, getFinancialProductLabel, getHouseholdSalaryRangeKey, getHouseholdSalaryRangeLabel, getMaritalStatusKey, getMaritalStatusLabel, getPersonalNetWorthRangeKey, getPersonalNetWorthRangeLabel, getPersonalSalaryRangeKey, getPersonalSalaryRangeLabel, getProCertificationByKey, getProCertificationByLabelOrDescription, getProfessionKey, getProfessionLabel, getProfessionStatusKey, getProfessionStatusLabel, getProjectNeedKey, getProjectNeedProLabel, getProjectNeedUserLabel };
|
|
1318
|
+
export { type AiAdvisorResponse, type AiAdvisorStatusResponse, type AiAdvisorSyntheseResponse, type AnonymousUserResponse, type AnonymousUsersResponse, type ArticlePreviewResponse, type ArticleResponse, AssetTypeEnum, AvailableCryptocurrencySymbolEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BlogCategoryResponse, BudgetTypeEnum, type CreateBlogCategoryInput, type CreateCommercialOfferInput, type CreateMobilityInput, type CreateProLeadsAlertInput, type CreateProSubscriptionSessionInput, type CreateProjectInput, type CreateRealEstateInput, type CryptocurrencyAssetDeletedResponse, type CryptocurrencyAssetResponse, type CryptocurrencyResponse, type Department, DepartmentsList, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FinancialProduct, FinancialProductEnum, FinancialProducts, type FinancialSummariesFiltersInput, type FullLeadResponse, type GetLeadsQueryInput, type GetProCommercialOffersInput, type HouseholdSalaryRange, HouseholdSalaryRangeEnum, HouseholdSalaryRanges, LIVES_OUTSIDE_FRANCE, type LeadAiSummaryResponse, type LeadResponse, type LeadsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type ManualInitializeProInput, type MaritalStatus, MaritalStatusEnum, MartialStatuses, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type MonthlyMetricEntry, OfferStatusEnum, type OfferStatusFilterType, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationResponse, type PersonalNetWorthRange, PersonalNetWorthRangeEnum, PersonalNetWorthRanges, type PersonalSalaryRange, PersonalSalaryRangeEnum, PersonalSalaryRanges, PhoneVerificationStatusEnum, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProBillingPortalSessionResponse, type ProCertification, ProCertificationEnum, ProCertifications, type ProCommercialOfferResponse, type ProLeadsAlertResponse, type ProMatchOfferListResponse, type ProMatchOfferResponse, type ProMonitoringResponse, type ProMonthlyQuotaResponse, type ProResponse, ProStatusEnum, type ProSubscriptionSessionResponse, type ProUserLikeLeadResponse, type ProUserLikeResponse, type Profession, ProfessionEnum, type ProfessionStatus, ProfessionStatusEnum, ProfessionStatusList, ProfessionsList, type ProjectNeed, ProjectNeedEnum, ProjectNeeds, ProjectOptionEnum, type ProjectResponse, ProjectStatusEnum, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, type SendPhoneVerificationInput, type SendPhoneVerificationResponse, SupportedCurrencyExchangesEnum, SupportedCurrencySymbolsEnum, type UpdateArticleInput, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBlogCategoryInput, type UpdateCommercialOfferAsProInput, type UpdateCommercialOfferAsUserInput, type UpdateCommercialOfferInput, type UpdateCryptocurrencyAssetInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProInput, type UpdateProLeadsAlertInput, type UpdateProjectInput, type UpdateRealEstateInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAiSummaryResponse, UserAiSummaryStatusEnum, type UserAssetsBalancesResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserCommercialOfferResponse, type UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, UserStatusEnum, type VerifyPhoneCodeInput, type VerifyPhoneCodeResponse, getFinancialProductKey, getFinancialProductLabel, getHouseholdSalaryRangeKey, getHouseholdSalaryRangeLabel, getMaritalStatusKey, getMaritalStatusLabel, getPersonalNetWorthRangeKey, getPersonalNetWorthRangeLabel, getPersonalSalaryRangeKey, getPersonalSalaryRangeLabel, getProCertificationByKey, getProCertificationByLabelOrDescription, getProfessionKey, getProfessionLabel, getProfessionStatusKey, getProfessionStatusLabel, getProjectNeedKey, getProjectNeedProLabel, getProjectNeedUserLabel };
|
package/dist/index.d.ts
CHANGED
|
@@ -1101,7 +1101,6 @@ interface ProUserLikeLeadResponse {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
1103
|
interface ProMatchOfferResponse {
|
|
1104
|
-
id: string;
|
|
1105
1104
|
offer: {
|
|
1106
1105
|
id: string;
|
|
1107
1106
|
status: OfferStatusEnum;
|
|
@@ -1110,10 +1109,10 @@ interface ProMatchOfferResponse {
|
|
|
1110
1109
|
};
|
|
1111
1110
|
lead: {
|
|
1112
1111
|
id: string;
|
|
1113
|
-
birthYear: number;
|
|
1114
|
-
initialAmount: number;
|
|
1115
|
-
need: ProjectNeedEnum;
|
|
1116
|
-
postalCode: string;
|
|
1112
|
+
birthYear: number | null;
|
|
1113
|
+
initialAmount: number | null;
|
|
1114
|
+
need: ProjectNeedEnum | null;
|
|
1115
|
+
postalCode: string | null;
|
|
1117
1116
|
};
|
|
1118
1117
|
}
|
|
1119
1118
|
|
|
@@ -1261,6 +1260,8 @@ declare const MartialStatuses: MaritalStatus[];
|
|
|
1261
1260
|
declare function getMaritalStatusLabel(maritalStatus: MaritalStatusEnum | string): string;
|
|
1262
1261
|
declare function getMaritalStatusKey(label: string): MaritalStatusEnum | null;
|
|
1263
1262
|
|
|
1263
|
+
type OfferStatusFilterType = "accepted" | "pending" | "rejected" | "archived";
|
|
1264
|
+
|
|
1264
1265
|
interface ProCertification {
|
|
1265
1266
|
key: ProCertificationEnum;
|
|
1266
1267
|
label: string;
|
|
@@ -1314,4 +1315,4 @@ declare function getProjectNeedKey(label: string): ProjectNeedEnum | null;
|
|
|
1314
1315
|
|
|
1315
1316
|
type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
|
|
1316
1317
|
|
|
1317
|
-
export { type AiAdvisorResponse, type AiAdvisorStatusResponse, type AiAdvisorSyntheseResponse, type AnonymousUserResponse, type AnonymousUsersResponse, type ArticlePreviewResponse, type ArticleResponse, AssetTypeEnum, AvailableCryptocurrencySymbolEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BlogCategoryResponse, BudgetTypeEnum, type CreateBlogCategoryInput, type CreateCommercialOfferInput, type CreateMobilityInput, type CreateProLeadsAlertInput, type CreateProSubscriptionSessionInput, type CreateProjectInput, type CreateRealEstateInput, type CryptocurrencyAssetDeletedResponse, type CryptocurrencyAssetResponse, type CryptocurrencyResponse, type Department, DepartmentsList, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FinancialProduct, FinancialProductEnum, FinancialProducts, type FinancialSummariesFiltersInput, type FullLeadResponse, type GetLeadsQueryInput, type GetProCommercialOffersInput, type HouseholdSalaryRange, HouseholdSalaryRangeEnum, HouseholdSalaryRanges, LIVES_OUTSIDE_FRANCE, type LeadAiSummaryResponse, type LeadResponse, type LeadsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type ManualInitializeProInput, type MaritalStatus, MaritalStatusEnum, MartialStatuses, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type MonthlyMetricEntry, OfferStatusEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationResponse, type PersonalNetWorthRange, PersonalNetWorthRangeEnum, PersonalNetWorthRanges, type PersonalSalaryRange, PersonalSalaryRangeEnum, PersonalSalaryRanges, PhoneVerificationStatusEnum, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProBillingPortalSessionResponse, type ProCertification, ProCertificationEnum, ProCertifications, type ProCommercialOfferResponse, type ProLeadsAlertResponse, type ProMatchOfferListResponse, type ProMatchOfferResponse, type ProMonitoringResponse, type ProMonthlyQuotaResponse, type ProResponse, ProStatusEnum, type ProSubscriptionSessionResponse, type ProUserLikeLeadResponse, type ProUserLikeResponse, type Profession, ProfessionEnum, type ProfessionStatus, ProfessionStatusEnum, ProfessionStatusList, ProfessionsList, type ProjectNeed, ProjectNeedEnum, ProjectNeeds, ProjectOptionEnum, type ProjectResponse, ProjectStatusEnum, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, type SendPhoneVerificationInput, type SendPhoneVerificationResponse, SupportedCurrencyExchangesEnum, SupportedCurrencySymbolsEnum, type UpdateArticleInput, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBlogCategoryInput, type UpdateCommercialOfferAsProInput, type UpdateCommercialOfferAsUserInput, type UpdateCommercialOfferInput, type UpdateCryptocurrencyAssetInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProInput, type UpdateProLeadsAlertInput, type UpdateProjectInput, type UpdateRealEstateInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAiSummaryResponse, UserAiSummaryStatusEnum, type UserAssetsBalancesResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserCommercialOfferResponse, type UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, UserStatusEnum, type VerifyPhoneCodeInput, type VerifyPhoneCodeResponse, getFinancialProductKey, getFinancialProductLabel, getHouseholdSalaryRangeKey, getHouseholdSalaryRangeLabel, getMaritalStatusKey, getMaritalStatusLabel, getPersonalNetWorthRangeKey, getPersonalNetWorthRangeLabel, getPersonalSalaryRangeKey, getPersonalSalaryRangeLabel, getProCertificationByKey, getProCertificationByLabelOrDescription, getProfessionKey, getProfessionLabel, getProfessionStatusKey, getProfessionStatusLabel, getProjectNeedKey, getProjectNeedProLabel, getProjectNeedUserLabel };
|
|
1318
|
+
export { type AiAdvisorResponse, type AiAdvisorStatusResponse, type AiAdvisorSyntheseResponse, type AnonymousUserResponse, type AnonymousUsersResponse, type ArticlePreviewResponse, type ArticleResponse, AssetTypeEnum, AvailableCryptocurrencySymbolEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BlogCategoryResponse, BudgetTypeEnum, type CreateBlogCategoryInput, type CreateCommercialOfferInput, type CreateMobilityInput, type CreateProLeadsAlertInput, type CreateProSubscriptionSessionInput, type CreateProjectInput, type CreateRealEstateInput, type CryptocurrencyAssetDeletedResponse, type CryptocurrencyAssetResponse, type CryptocurrencyResponse, type Department, DepartmentsList, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FinancialProduct, FinancialProductEnum, FinancialProducts, type FinancialSummariesFiltersInput, type FullLeadResponse, type GetLeadsQueryInput, type GetProCommercialOffersInput, type HouseholdSalaryRange, HouseholdSalaryRangeEnum, HouseholdSalaryRanges, LIVES_OUTSIDE_FRANCE, type LeadAiSummaryResponse, type LeadResponse, type LeadsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type ManualInitializeProInput, type MaritalStatus, MaritalStatusEnum, MartialStatuses, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type MonthlyMetricEntry, OfferStatusEnum, type OfferStatusFilterType, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationResponse, type PersonalNetWorthRange, PersonalNetWorthRangeEnum, PersonalNetWorthRanges, type PersonalSalaryRange, PersonalSalaryRangeEnum, PersonalSalaryRanges, PhoneVerificationStatusEnum, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProBillingPortalSessionResponse, type ProCertification, ProCertificationEnum, ProCertifications, type ProCommercialOfferResponse, type ProLeadsAlertResponse, type ProMatchOfferListResponse, type ProMatchOfferResponse, type ProMonitoringResponse, type ProMonthlyQuotaResponse, type ProResponse, ProStatusEnum, type ProSubscriptionSessionResponse, type ProUserLikeLeadResponse, type ProUserLikeResponse, type Profession, ProfessionEnum, type ProfessionStatus, ProfessionStatusEnum, ProfessionStatusList, ProfessionsList, type ProjectNeed, ProjectNeedEnum, ProjectNeeds, ProjectOptionEnum, type ProjectResponse, ProjectStatusEnum, type RealEstateDeletedResponse, type RealEstateResponse, RealEstateTypeEnum, type SendPhoneVerificationInput, type SendPhoneVerificationResponse, SupportedCurrencyExchangesEnum, SupportedCurrencySymbolsEnum, type UpdateArticleInput, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBlogCategoryInput, type UpdateCommercialOfferAsProInput, type UpdateCommercialOfferAsUserInput, type UpdateCommercialOfferInput, type UpdateCryptocurrencyAssetInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateProInput, type UpdateProLeadsAlertInput, type UpdateProjectInput, type UpdateRealEstateInput, type UpdateUserInput, type UpdateUserPersonalSummaryInput, type UserAiSummaryResponse, UserAiSummaryStatusEnum, type UserAssetsBalancesResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserCommercialOfferResponse, type UserFinancialSummaryResponse, type UserPersonalSummaryResponse, type UserProfileResponse, UserStatusEnum, type VerifyPhoneCodeInput, type VerifyPhoneCodeResponse, getFinancialProductKey, getFinancialProductLabel, getHouseholdSalaryRangeKey, getHouseholdSalaryRangeLabel, getMaritalStatusKey, getMaritalStatusLabel, getPersonalNetWorthRangeKey, getPersonalNetWorthRangeLabel, getPersonalSalaryRangeKey, getPersonalSalaryRangeLabel, getProCertificationByKey, getProCertificationByLabelOrDescription, getProfessionKey, getProfessionLabel, getProfessionStatusKey, getProfessionStatusLabel, getProjectNeedKey, getProjectNeedProLabel, getProjectNeedUserLabel };
|