@talkplay/shared-types 1.0.24 → 1.0.26

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
@@ -537,7 +537,12 @@ type UserLegalAgreementEntity = Pick<BaseEntity, "id"> & {
537
537
  user?: RadioUserEntity;
538
538
  };
539
539
 
540
- type LeadEntity = BaseEntity & Pick<RadioEntity, "cnpj" | "fantasyName" | "comercialEmail" | "financialEmail" | "wppNumber"> & {
540
+ type LeadEntity = BaseEntity & {
541
+ directorName: string;
542
+ radioFantasyName: string;
543
+ radioComercialEmail: string;
544
+ radioFinancialEmail: string;
545
+ radioWppNumber: string;
541
546
  status: LeadStatusEnum;
542
547
  };
543
548
 
@@ -787,10 +792,9 @@ type VerifyEmailAvailabilityResponse = {
787
792
  type CreateLeadPayload = Omit<LeadEntity, "status" | keyof BaseEntity>;
788
793
 
789
794
  type ListLeadsParams = PaginationParams & {
790
- fantasyName?: string;
791
- comercialEmail?: string;
792
- financialEmail?: string;
793
- status: LeadStatusEnum;
795
+ directorName?: string;
796
+ radioFantasyName?: string;
797
+ status?: LeadStatusEnum;
794
798
  };
795
799
  type ListLeadsResponse = PaginatedResponseDTO<LeadEntity>;
796
800
 
package/dist/index.d.ts CHANGED
@@ -537,7 +537,12 @@ type UserLegalAgreementEntity = Pick<BaseEntity, "id"> & {
537
537
  user?: RadioUserEntity;
538
538
  };
539
539
 
540
- type LeadEntity = BaseEntity & Pick<RadioEntity, "cnpj" | "fantasyName" | "comercialEmail" | "financialEmail" | "wppNumber"> & {
540
+ type LeadEntity = BaseEntity & {
541
+ directorName: string;
542
+ radioFantasyName: string;
543
+ radioComercialEmail: string;
544
+ radioFinancialEmail: string;
545
+ radioWppNumber: string;
541
546
  status: LeadStatusEnum;
542
547
  };
543
548
 
@@ -787,10 +792,9 @@ type VerifyEmailAvailabilityResponse = {
787
792
  type CreateLeadPayload = Omit<LeadEntity, "status" | keyof BaseEntity>;
788
793
 
789
794
  type ListLeadsParams = PaginationParams & {
790
- fantasyName?: string;
791
- comercialEmail?: string;
792
- financialEmail?: string;
793
- status: LeadStatusEnum;
795
+ directorName?: string;
796
+ radioFantasyName?: string;
797
+ status?: LeadStatusEnum;
794
798
  };
795
799
  type ListLeadsResponse = PaginatedResponseDTO<LeadEntity>;
796
800
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talkplay/shared-types",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",