sowhat-types 2.1.3 → 2.1.5

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 CHANGED
@@ -471,6 +471,12 @@ interface CreateCommercialOfferInput {
471
471
  sentAt: Date;
472
472
  }
473
473
 
474
+ interface GetProCommercialOffersInput {
475
+ offset: number;
476
+ limit: number;
477
+ status: "accepted" | "pending" | "rejected" | "archived";
478
+ }
479
+
474
480
  interface UpdateCommercialOfferAsProInput {
475
481
  message?: string;
476
482
  archivedByProAt?: Date | null;
@@ -1061,6 +1067,7 @@ interface LeadResponse {
1061
1067
  financialProductsOwned: FinancialProductEnum[] | null;
1062
1068
  postalCode: string | null;
1063
1069
  totalOffersReceived: number;
1070
+ totalOffersAccepted: number;
1064
1071
  professionStatus: ProfessionStatusEnum | null;
1065
1072
  birthYear: number | null;
1066
1073
  likedAt: Date | null;
@@ -1103,6 +1110,11 @@ interface LegalDocumentResponse {
1103
1110
  version: string;
1104
1111
  }
1105
1112
 
1113
+ interface ProCommercialOffersResponse {
1114
+ offers: ProCommercialOfferResponse[];
1115
+ pagination: PaginationResponse;
1116
+ }
1117
+
1106
1118
  interface ProMonitoringResponse {
1107
1119
  acceptedOffersPerMonth: MonthlyMetricEntry[];
1108
1120
  offersSentPerMonth: MonthlyMetricEntry[];
@@ -1295,4 +1307,4 @@ declare function getProjectNeedKey(label: string): ProjectNeedEnum | null;
1295
1307
 
1296
1308
  type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
1297
1309
 
1298
- 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 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 MatchingLeadsResponse, 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 ProCommercialOfferLeadResponse, type ProCommercialOfferResponse, type ProLeadsAlertResponse, 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 };
1310
+ 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 MatchingLeadsResponse, 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 ProCommercialOfferLeadResponse, type ProCommercialOfferResponse, type ProCommercialOffersResponse, type ProLeadsAlertResponse, 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
@@ -471,6 +471,12 @@ interface CreateCommercialOfferInput {
471
471
  sentAt: Date;
472
472
  }
473
473
 
474
+ interface GetProCommercialOffersInput {
475
+ offset: number;
476
+ limit: number;
477
+ status: "accepted" | "pending" | "rejected" | "archived";
478
+ }
479
+
474
480
  interface UpdateCommercialOfferAsProInput {
475
481
  message?: string;
476
482
  archivedByProAt?: Date | null;
@@ -1061,6 +1067,7 @@ interface LeadResponse {
1061
1067
  financialProductsOwned: FinancialProductEnum[] | null;
1062
1068
  postalCode: string | null;
1063
1069
  totalOffersReceived: number;
1070
+ totalOffersAccepted: number;
1064
1071
  professionStatus: ProfessionStatusEnum | null;
1065
1072
  birthYear: number | null;
1066
1073
  likedAt: Date | null;
@@ -1103,6 +1110,11 @@ interface LegalDocumentResponse {
1103
1110
  version: string;
1104
1111
  }
1105
1112
 
1113
+ interface ProCommercialOffersResponse {
1114
+ offers: ProCommercialOfferResponse[];
1115
+ pagination: PaginationResponse;
1116
+ }
1117
+
1106
1118
  interface ProMonitoringResponse {
1107
1119
  acceptedOffersPerMonth: MonthlyMetricEntry[];
1108
1120
  offersSentPerMonth: MonthlyMetricEntry[];
@@ -1295,4 +1307,4 @@ declare function getProjectNeedKey(label: string): ProjectNeedEnum | null;
1295
1307
 
1296
1308
  type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
1297
1309
 
1298
- 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 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 MatchingLeadsResponse, 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 ProCommercialOfferLeadResponse, type ProCommercialOfferResponse, type ProLeadsAlertResponse, 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 };
1310
+ 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 MatchingLeadsResponse, 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 ProCommercialOfferLeadResponse, type ProCommercialOfferResponse, type ProCommercialOffersResponse, type ProLeadsAlertResponse, 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",