sowhat-types 2.0.215 → 2.0.216

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
@@ -344,6 +344,16 @@ interface UpdateOtherAssetInput {
344
344
  iOwnShare: number;
345
345
  }
346
346
 
347
+ interface GetLeadsQueryInput {
348
+ minInitialAmount?: number;
349
+ maxInitialAmount?: number;
350
+ needs?: ProjectNeedEnum[];
351
+ financialProducts?: FinancialProductEnum[];
352
+ onlyWithoutProduct?: boolean;
353
+ cursor?: string;
354
+ limit?: number;
355
+ }
356
+
347
357
  interface UpdateProInput {
348
358
  clerkId: string;
349
359
  firstName?: string | null;
@@ -596,6 +606,23 @@ interface UserAuthenticatedResponse {
596
606
  hasPincode: boolean;
597
607
  }
598
608
 
609
+ interface LeadResponse {
610
+ userId: string;
611
+ initialAmount: number;
612
+ need: ProjectNeedEnum;
613
+ financialProduct: FinancialProductEnum | null;
614
+ profession: ProfessionEnum;
615
+ birthYear: number;
616
+ updatedAt: Date;
617
+ createdAt: Date;
618
+ }
619
+
620
+ interface LeadsResponse {
621
+ items: LeadResponse[];
622
+ nextCursor: string | null;
623
+ total: number;
624
+ }
625
+
599
626
  interface LegalDocumentResponse {
600
627
  type: LegalDocumentTypeEnum;
601
628
  content: string;
@@ -775,4 +802,4 @@ interface UserAssetsResponse {
775
802
 
776
803
  type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
777
804
 
778
- 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, FinancialProductEnum, type FinancialSummariesFiltersInput, LIVES_OUTSIDE_FRANCE, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProResponse, ProfessionEnum, ProfessionStatusEnum, ProjectNeedEnum, 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 };
805
+ 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, FinancialProductEnum, type FinancialSummariesFiltersInput, type GetLeadsQueryInput, LIVES_OUTSIDE_FRANCE, type LeadResponse, type LeadsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProResponse, ProfessionEnum, ProfessionStatusEnum, ProjectNeedEnum, 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 };
package/dist/index.d.ts CHANGED
@@ -344,6 +344,16 @@ interface UpdateOtherAssetInput {
344
344
  iOwnShare: number;
345
345
  }
346
346
 
347
+ interface GetLeadsQueryInput {
348
+ minInitialAmount?: number;
349
+ maxInitialAmount?: number;
350
+ needs?: ProjectNeedEnum[];
351
+ financialProducts?: FinancialProductEnum[];
352
+ onlyWithoutProduct?: boolean;
353
+ cursor?: string;
354
+ limit?: number;
355
+ }
356
+
347
357
  interface UpdateProInput {
348
358
  clerkId: string;
349
359
  firstName?: string | null;
@@ -596,6 +606,23 @@ interface UserAuthenticatedResponse {
596
606
  hasPincode: boolean;
597
607
  }
598
608
 
609
+ interface LeadResponse {
610
+ userId: string;
611
+ initialAmount: number;
612
+ need: ProjectNeedEnum;
613
+ financialProduct: FinancialProductEnum | null;
614
+ profession: ProfessionEnum;
615
+ birthYear: number;
616
+ updatedAt: Date;
617
+ createdAt: Date;
618
+ }
619
+
620
+ interface LeadsResponse {
621
+ items: LeadResponse[];
622
+ nextCursor: string | null;
623
+ total: number;
624
+ }
625
+
599
626
  interface LegalDocumentResponse {
600
627
  type: LegalDocumentTypeEnum;
601
628
  content: string;
@@ -775,4 +802,4 @@ interface UserAssetsResponse {
775
802
 
776
803
  type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
777
804
 
778
- 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, FinancialProductEnum, type FinancialSummariesFiltersInput, LIVES_OUTSIDE_FRANCE, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProResponse, ProfessionEnum, ProfessionStatusEnum, ProjectNeedEnum, 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 };
805
+ 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, FinancialProductEnum, type FinancialSummariesFiltersInput, type GetLeadsQueryInput, LIVES_OUTSIDE_FRANCE, type LeadResponse, type LeadsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type ProResponse, ProfessionEnum, ProfessionStatusEnum, ProjectNeedEnum, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.215",
3
+ "version": "2.0.216",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",