@talkplay/shared-types 1.0.42 → 1.0.44

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
@@ -414,22 +414,6 @@ type RadioContractEntity = BaseEntity & {
414
414
  radio?: RadioEntity;
415
415
  };
416
416
 
417
- interface RadioProfileEntity {
418
- id: string;
419
- neighborhoods: string[];
420
- allowAiPersonNames: boolean;
421
- frequency: string;
422
- slogan?: string | null;
423
- prefix?: string | null;
424
- audiences: RadioAudienceEnum[];
425
- segments: RadioSegmentEnum[];
426
- createdAt: Date;
427
- updatedAt: Date | null;
428
- radioId: string;
429
- radio?: RadioEntity;
430
- radioExternalMedias?: RadioExternalMediasEntity;
431
- }
432
-
433
417
  type RadioExternalMediasEntity = {
434
418
  id: string;
435
419
  website?: string | null;
@@ -439,8 +423,8 @@ type RadioExternalMediasEntity = {
439
423
  tiktok?: string | null;
440
424
  createdAt: Date;
441
425
  updatedAt: Date | null;
442
- radioProfileId: string;
443
- radioProfile?: RadioProfileEntity;
426
+ radioId: string;
427
+ radio?: RadioEntity;
444
428
  };
445
429
 
446
430
  type ProgramEpisodeBlockEntity = BaseEntity & {
@@ -592,12 +576,19 @@ type RadioEntity = BaseEntity & {
592
576
  financialEmail: string;
593
577
  wppNumber: string;
594
578
  isActive: boolean;
579
+ neighborhoods: string[];
580
+ allowAiPersonNames: boolean;
581
+ frequency: string;
582
+ slogan?: string | null;
583
+ prefix?: string | null;
584
+ audiences: RadioAudienceEnum[];
585
+ segments: RadioSegmentEnum[];
595
586
  logoImgId: string | null;
596
587
  logoImg?: S3FileEntity | null;
597
588
  addressId: string;
598
589
  address?: AddressEntity;
599
590
  subscription?: RadioSubscriptionEntity;
600
- radioProfile?: RadioProfileEntity;
591
+ externalMedias?: RadioExternalMediasEntity;
601
592
  };
602
593
 
603
594
  type RadioSubscriptionEntity = BaseEntity & {
@@ -814,15 +805,13 @@ type UpdateRadioPayload = Partial<{
814
805
  name: string;
815
806
  fantasyName: string;
816
807
  cnpj: string;
817
- slogan: string;
818
- prefix: string;
819
- frequency: string;
820
808
  band: RadioBandsEnum;
821
809
  comercialEmail: string;
822
810
  financialEmail: string;
823
811
  wppNumber: string;
824
812
  isActive: boolean;
825
813
  address: Omit<AddressEntity, "id">;
814
+ profile: UpdateRadioProfilePayload;
826
815
  }>;
827
816
 
828
817
  type GetRadioDetailsResponse = RadioEntity & {
@@ -989,4 +978,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
989
978
 
990
979
  declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
991
980
 
992
- export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, ChargeTypesEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, JobsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListChargesParams, type ListChargesResponse, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type LoginPayload, type LoginResponse, type MusicProgramScriptElement, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, RadioAudienceEnum, type RadioAudienceTranslation, RadioAudienceTranslationsEnum, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioExternalMediasEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, type RadioProfileEntity, RadioSegmentEnum, type RadioSegmentTranslationEnum, RadioSegmentTranslationsEnum, type RadioSubscriptionEntity, RadioSubscriptionStatusEnum, RadioSubscriptionStatusTranslationsEnum, type RadioUserAvatarEntity, type RadioUserEntity, S3DirectoriesEnum, type S3FileEntity, type ScriptBlock, type SessionEntity, SessionTypesEnum, type SessionUser, type SoundtrackProgramScriptElementOptions, type SystemModuleEntity, type SystemUserEntity, TKPLAY_ERRORS_MAP, TKPLAY_ERRORS__PTBR, TKPLAY_ERROR_MESSAGE_SPLITTER, TkplayErrorCodesEnum, type TkplayErrorEntity, TkplayErrorNamesEnum, type TkplayMappedErrors, type TkplayMappedErrors__Ptbr, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateRadioPayload, type UpdateRadioProfilePayload, type UpdateRadioUserPasswordPayload, type UpdateRadioUserProfilePayload, type UpdateRadioUserResponse, type UpdateRadioUserRolePayload, type UpdateSignupLeadPayload, type UpdateSystemUserPaswordPayload, type UpdateSystemUserPayload, type UpdateSystemUserResponse, type UpsertPlanPayload, type UpsertPlanResponse, type UpsertSystemModulePayload, type UpsertSystemModuleResponse, type UpsertSystemUserResponse, type UserLegalAgreementEntity, UserRolesEnum, UserRolesTranslationsEnum, type VerifyEmailAvailabilityResponse, type VignetteProgramScriptElement };
981
+ export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, ChargeTypesEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, JobsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListChargesParams, type ListChargesResponse, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type LoginPayload, type LoginResponse, type MusicProgramScriptElement, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, RadioAudienceEnum, type RadioAudienceTranslation, RadioAudienceTranslationsEnum, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioExternalMediasEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, RadioSegmentEnum, type RadioSegmentTranslationEnum, RadioSegmentTranslationsEnum, type RadioSubscriptionEntity, RadioSubscriptionStatusEnum, RadioSubscriptionStatusTranslationsEnum, type RadioUserAvatarEntity, type RadioUserEntity, S3DirectoriesEnum, type S3FileEntity, type ScriptBlock, type SessionEntity, SessionTypesEnum, type SessionUser, type SoundtrackProgramScriptElementOptions, type SystemModuleEntity, type SystemUserEntity, TKPLAY_ERRORS_MAP, TKPLAY_ERRORS__PTBR, TKPLAY_ERROR_MESSAGE_SPLITTER, TkplayErrorCodesEnum, type TkplayErrorEntity, TkplayErrorNamesEnum, type TkplayMappedErrors, type TkplayMappedErrors__Ptbr, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateRadioPayload, type UpdateRadioProfilePayload, type UpdateRadioUserPasswordPayload, type UpdateRadioUserProfilePayload, type UpdateRadioUserResponse, type UpdateRadioUserRolePayload, type UpdateSignupLeadPayload, type UpdateSystemUserPaswordPayload, type UpdateSystemUserPayload, type UpdateSystemUserResponse, type UpsertPlanPayload, type UpsertPlanResponse, type UpsertSystemModulePayload, type UpsertSystemModuleResponse, type UpsertSystemUserResponse, type UserLegalAgreementEntity, UserRolesEnum, UserRolesTranslationsEnum, type VerifyEmailAvailabilityResponse, type VignetteProgramScriptElement };
package/dist/index.d.ts CHANGED
@@ -414,22 +414,6 @@ type RadioContractEntity = BaseEntity & {
414
414
  radio?: RadioEntity;
415
415
  };
416
416
 
417
- interface RadioProfileEntity {
418
- id: string;
419
- neighborhoods: string[];
420
- allowAiPersonNames: boolean;
421
- frequency: string;
422
- slogan?: string | null;
423
- prefix?: string | null;
424
- audiences: RadioAudienceEnum[];
425
- segments: RadioSegmentEnum[];
426
- createdAt: Date;
427
- updatedAt: Date | null;
428
- radioId: string;
429
- radio?: RadioEntity;
430
- radioExternalMedias?: RadioExternalMediasEntity;
431
- }
432
-
433
417
  type RadioExternalMediasEntity = {
434
418
  id: string;
435
419
  website?: string | null;
@@ -439,8 +423,8 @@ type RadioExternalMediasEntity = {
439
423
  tiktok?: string | null;
440
424
  createdAt: Date;
441
425
  updatedAt: Date | null;
442
- radioProfileId: string;
443
- radioProfile?: RadioProfileEntity;
426
+ radioId: string;
427
+ radio?: RadioEntity;
444
428
  };
445
429
 
446
430
  type ProgramEpisodeBlockEntity = BaseEntity & {
@@ -592,12 +576,19 @@ type RadioEntity = BaseEntity & {
592
576
  financialEmail: string;
593
577
  wppNumber: string;
594
578
  isActive: boolean;
579
+ neighborhoods: string[];
580
+ allowAiPersonNames: boolean;
581
+ frequency: string;
582
+ slogan?: string | null;
583
+ prefix?: string | null;
584
+ audiences: RadioAudienceEnum[];
585
+ segments: RadioSegmentEnum[];
595
586
  logoImgId: string | null;
596
587
  logoImg?: S3FileEntity | null;
597
588
  addressId: string;
598
589
  address?: AddressEntity;
599
590
  subscription?: RadioSubscriptionEntity;
600
- radioProfile?: RadioProfileEntity;
591
+ externalMedias?: RadioExternalMediasEntity;
601
592
  };
602
593
 
603
594
  type RadioSubscriptionEntity = BaseEntity & {
@@ -814,15 +805,13 @@ type UpdateRadioPayload = Partial<{
814
805
  name: string;
815
806
  fantasyName: string;
816
807
  cnpj: string;
817
- slogan: string;
818
- prefix: string;
819
- frequency: string;
820
808
  band: RadioBandsEnum;
821
809
  comercialEmail: string;
822
810
  financialEmail: string;
823
811
  wppNumber: string;
824
812
  isActive: boolean;
825
813
  address: Omit<AddressEntity, "id">;
814
+ profile: UpdateRadioProfilePayload;
826
815
  }>;
827
816
 
828
817
  type GetRadioDetailsResponse = RadioEntity & {
@@ -989,4 +978,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
989
978
 
990
979
  declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
991
980
 
992
- export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, ChargeTypesEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, JobsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListChargesParams, type ListChargesResponse, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type LoginPayload, type LoginResponse, type MusicProgramScriptElement, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, RadioAudienceEnum, type RadioAudienceTranslation, RadioAudienceTranslationsEnum, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioExternalMediasEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, type RadioProfileEntity, RadioSegmentEnum, type RadioSegmentTranslationEnum, RadioSegmentTranslationsEnum, type RadioSubscriptionEntity, RadioSubscriptionStatusEnum, RadioSubscriptionStatusTranslationsEnum, type RadioUserAvatarEntity, type RadioUserEntity, S3DirectoriesEnum, type S3FileEntity, type ScriptBlock, type SessionEntity, SessionTypesEnum, type SessionUser, type SoundtrackProgramScriptElementOptions, type SystemModuleEntity, type SystemUserEntity, TKPLAY_ERRORS_MAP, TKPLAY_ERRORS__PTBR, TKPLAY_ERROR_MESSAGE_SPLITTER, TkplayErrorCodesEnum, type TkplayErrorEntity, TkplayErrorNamesEnum, type TkplayMappedErrors, type TkplayMappedErrors__Ptbr, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateRadioPayload, type UpdateRadioProfilePayload, type UpdateRadioUserPasswordPayload, type UpdateRadioUserProfilePayload, type UpdateRadioUserResponse, type UpdateRadioUserRolePayload, type UpdateSignupLeadPayload, type UpdateSystemUserPaswordPayload, type UpdateSystemUserPayload, type UpdateSystemUserResponse, type UpsertPlanPayload, type UpsertPlanResponse, type UpsertSystemModulePayload, type UpsertSystemModuleResponse, type UpsertSystemUserResponse, type UserLegalAgreementEntity, UserRolesEnum, UserRolesTranslationsEnum, type VerifyEmailAvailabilityResponse, type VignetteProgramScriptElement };
981
+ export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, ChargeTypesEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, JobsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListChargesParams, type ListChargesResponse, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type LoginPayload, type LoginResponse, type MusicProgramScriptElement, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, RadioAudienceEnum, type RadioAudienceTranslation, RadioAudienceTranslationsEnum, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioExternalMediasEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, RadioSegmentEnum, type RadioSegmentTranslationEnum, RadioSegmentTranslationsEnum, type RadioSubscriptionEntity, RadioSubscriptionStatusEnum, RadioSubscriptionStatusTranslationsEnum, type RadioUserAvatarEntity, type RadioUserEntity, S3DirectoriesEnum, type S3FileEntity, type ScriptBlock, type SessionEntity, SessionTypesEnum, type SessionUser, type SoundtrackProgramScriptElementOptions, type SystemModuleEntity, type SystemUserEntity, TKPLAY_ERRORS_MAP, TKPLAY_ERRORS__PTBR, TKPLAY_ERROR_MESSAGE_SPLITTER, TkplayErrorCodesEnum, type TkplayErrorEntity, TkplayErrorNamesEnum, type TkplayMappedErrors, type TkplayMappedErrors__Ptbr, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateRadioPayload, type UpdateRadioProfilePayload, type UpdateRadioUserPasswordPayload, type UpdateRadioUserProfilePayload, type UpdateRadioUserResponse, type UpdateRadioUserRolePayload, type UpdateSignupLeadPayload, type UpdateSystemUserPaswordPayload, type UpdateSystemUserPayload, type UpdateSystemUserResponse, type UpsertPlanPayload, type UpsertPlanResponse, type UpsertSystemModulePayload, type UpsertSystemModuleResponse, type UpsertSystemUserResponse, type UserLegalAgreementEntity, UserRolesEnum, UserRolesTranslationsEnum, type VerifyEmailAvailabilityResponse, type VignetteProgramScriptElement };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talkplay/shared-types",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",