@talkplay/shared-types 1.0.66 → 1.0.69

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
@@ -320,24 +320,6 @@ declare const EpGenerationTypesEnum: {
320
320
  };
321
321
  type EpGenerationTypesEnum = Enum<typeof EpGenerationTypesEnum>;
322
322
 
323
- declare const NewsCategoriesEnum: {
324
- readonly SPORTS: "SPORTS";
325
- readonly GOSSIP: "GOSSIP";
326
- readonly POLICY: "POLICY";
327
- };
328
- type NewsCategoriesEnum = Enum<typeof NewsCategoriesEnum>;
329
-
330
- declare const ProgramScriptElementTypesEnum: {
331
- readonly OFF: "OFF";
332
- readonly NEWS: "NEWS";
333
- readonly MUSIC: "MUSIC";
334
- readonly VIGNETTE_BLOCK_IN: "VIGNETTE_BLOCK_IN";
335
- readonly VIGNETTE_BLOCK_OUT: "VIGNETTE_BLOCK_OUT";
336
- readonly VIGNETTE_PROGRAM_IN: "VIGNETTE_PROGRAM_IN";
337
- readonly VIGNETTE_PROGRAM_OUT: "VIGNETTE_PROGRAM_OUT";
338
- };
339
- type ProgramScriptElementTypesEnum = Enum<typeof ProgramScriptElementTypesEnum>;
340
-
341
323
  declare const LegalTermTypesEnum: {
342
324
  readonly PLATFORM_USE: "PLATFORM_USE";
343
325
  readonly COOKIES_POLICY: "COOKIES_POLICY";
@@ -692,6 +674,17 @@ declare const VoiceTrackStatusTranslationsEnum: {
692
674
  };
693
675
  type VoiceTrackStatusTranslationsEnum = Enum<typeof VoiceTrackStatusTranslationsEnum>;
694
676
 
677
+ declare const VoiceTrackTypesEnum: {
678
+ readonly OFF: "OFF";
679
+ readonly NEWS: "NEWS";
680
+ };
681
+ type VoiceTrackTypesEnum = Enum<typeof VoiceTrackTypesEnum>;
682
+ declare const VoiceTrackTypesTranslationsEnum: {
683
+ readonly OFF: "OFF";
684
+ readonly NEWS: "Notícia";
685
+ };
686
+ type VoiceTrackTypesTranslationsEnum = Enum<typeof VoiceTrackTypesTranslationsEnum>;
687
+
695
688
  type DateString = string | Date;
696
689
 
697
690
  type SessionUser = {
@@ -749,66 +742,70 @@ type TkplayErrorEntity = {
749
742
  data: any;
750
743
  };
751
744
 
752
- type ProgramEpisodeBlockEntity = BaseEntity & {
753
- index: number;
754
- episode?: ProgramEpisodeEntity;
755
- episodeId: string;
756
- file?: S3FileEntity;
757
- fileId: string;
745
+ type ProgramScriptEntity = BaseEntity & {
746
+ name: string;
747
+ programDayScheduleId: string;
748
+ day: ProgramDayScheduleEntity;
749
+ blocks: ProgramScriptBlockEntity[];
758
750
  };
759
751
 
760
- type ProgramEpisodeEntity = BaseEntity & {
761
- date: string;
762
- program?: ProgramEntity;
763
- programId: string;
764
- generationType: EpGenerationTypesEnum;
765
- quality: EpGenerationQualityEnum;
752
+ type ProgramScriptBlockEntity = BaseEntity & {
753
+ position: number;
754
+ scriptId: string;
755
+ script?: ProgramScriptEntity;
756
+ elements: ProgramScriptBlockElementEntity[];
766
757
  };
767
758
 
768
- type PopulatedProgramScriptElement = {
769
- type: ProgramScriptElementTypesEnum;
770
- key: string;
771
- options: ProgramScriptElementOptionsAll | null;
759
+ declare const ProgramScriptElementCategoriesEnum: {
760
+ readonly VOICE_TRACK: "VOICE_TRACK";
761
+ readonly MUSIC: "MUSIC";
762
+ readonly VIGNETTE: "VIGNETTE";
772
763
  };
773
- type PopulatedProgramScriptBlock = PopulatedProgramScriptElement[];
774
- type PopulatedProgramScriptEntity = PopulatedProgramScriptBlock[];
764
+ type ProgramScriptElementCategoriesEnum = Enum<typeof ProgramScriptElementCategoriesEnum>;
775
765
 
776
- type SoundtrackProgramScriptElementOptions = {
777
- useSoundtrack: boolean;
778
- soundtrackId?: string | null;
766
+ declare const ProgramScriptElementTypesEnum: {
767
+ readonly OFF: "OFF";
768
+ readonly NEWS: "NEWS";
769
+ readonly MUSIC: "MUSIC";
770
+ readonly VIGNETTE_BLOCK_IN: "VIGNETTE_BLOCK_IN";
771
+ readonly VIGNETTE_BLOCK_OUT: "VIGNETTE_BLOCK_OUT";
772
+ readonly VIGNETTE_PROGRAM_IN: "VIGNETTE_PROGRAM_IN";
773
+ readonly VIGNETTE_PROGRAM_OUT: "VIGNETTE_PROGRAM_OUT";
779
774
  };
780
- type NewsProgramScriptElementOptions = SoundtrackProgramScriptElementOptions & {
781
- category: NewsCategoriesEnum;
775
+ type ProgramScriptElementTypesEnum = Enum<typeof ProgramScriptElementTypesEnum>;
776
+
777
+ declare const VignetteTypesEnum: {
778
+ readonly PROGRAM_IN: "PROGRAM_IN";
779
+ readonly PROGRAM_OUT: "PROGRAM_OUT";
780
+ readonly BLOCK_IN: "BLOCK_IN";
781
+ readonly BLOCK_OUT: "BLOCK_OUT";
782
+ readonly TRANSITION: "TRANSITION";
782
783
  };
783
- type ProgramScriptElementOptionsAll = Partial<SoundtrackProgramScriptElementOptions & NewsProgramScriptElementOptions>;
784
- interface BaseElement {
785
- type: ProgramScriptElementTypesEnum;
786
- options: ProgramScriptElementOptionsAll;
787
- }
788
- interface OffProgramScriptElement extends BaseElement {
789
- type: "OFF";
790
- options: ProgramScriptElementOptionsAll;
791
- }
792
- interface NewsProgramScriptElement {
793
- type: "NEWS";
794
- options: NewsProgramScriptElementOptions;
795
- }
796
- interface MusicProgramScriptElement {
797
- type: "MUSIC";
798
- options: null;
799
- }
800
- interface VignetteProgramScriptElement {
801
- type: "VIGNETTE_BLOCK_IN" | "VIGNETTE_BLOCK_OUT" | "VIGNETTE_PROGRAM_IN" | "VIGNETTE_PROGRAM_OUT";
802
- options: null;
803
- }
804
- type ProgramScriptElement = OffProgramScriptElement | NewsProgramScriptElement | VignetteProgramScriptElement | MusicProgramScriptElement;
805
- type ScriptBlock = ProgramScriptElement[];
806
- type ProgramScriptEntity = BaseEntity & {
807
- name: string;
808
- body: ScriptBlock[];
809
- weekDay: 0 | 1 | 2 | 3 | 4 | 5 | 6;
784
+ type VignetteTypesEnum = Enum<typeof VignetteTypesEnum>;
785
+
786
+ declare const SoundtrackStateEnum: {
787
+ readonly ON: "ON";
788
+ readonly OFF: "OFF";
789
+ };
790
+ type SoundtrackStateEnum = Enum<typeof SoundtrackStateEnum>;
791
+
792
+ type ProgramScriptBlockElementEntity = {
793
+ id: string;
794
+ category: ProgramScriptElementCategoriesEnum;
795
+ type: VignetteTypesEnum | VoiceTrackTypesEnum;
796
+ soundtrack?: SoundtrackStateEnum | null;
797
+ customColor?: string | null;
798
+ blockId: string;
799
+ block?: ProgramScriptBlockEntity;
800
+ };
801
+
802
+ type ProgramDayScheduleEntity = BaseEntity & {
803
+ weekDay: WeekDayEnum;
804
+ isActive: boolean;
810
805
  programId: string;
811
806
  program?: ProgramEntity;
807
+ programScriptId: string;
808
+ programScript: ProgramScriptEntity | null;
812
809
  };
813
810
 
814
811
  type RadioContractEntity = BaseEntity & {
@@ -831,6 +828,42 @@ type RadioExternalMediasEntity = {
831
828
  radio?: RadioEntity;
832
829
  };
833
830
 
831
+ type ProgramDraftEntity = BaseEntity & {
832
+ name: string;
833
+ durationInMinutes: number;
834
+ blocksAmount: number;
835
+ radio?: RadioEntity;
836
+ radioId: string;
837
+ };
838
+
839
+ type ProgramEpisodeBlockEntity = BaseEntity & {
840
+ index: number;
841
+ episode?: ProgramEpisodeEntity;
842
+ episodeId: string;
843
+ file?: S3FileEntity;
844
+ fileId: string;
845
+ };
846
+
847
+ type ProgramEpisodeEntity = BaseEntity & {
848
+ date: string;
849
+ program?: ProgramEntity;
850
+ programId: string;
851
+ generationType: EpGenerationTypesEnum;
852
+ quality: EpGenerationQualityEnum;
853
+ };
854
+
855
+ type PopulatedScriptOptions = {
856
+ soundtrack: SoundtrackStateEnum | null;
857
+ customColor: string | null;
858
+ };
859
+ type PopulatedProgramScriptElement = {
860
+ type: ProgramScriptElementTypesEnum;
861
+ key: string;
862
+ options: PopulatedScriptOptions | null;
863
+ };
864
+ type PopulatedProgramScriptBlock = PopulatedProgramScriptElement[];
865
+ type PopulatedProgramScriptEntity = PopulatedProgramScriptBlock[];
866
+
834
867
  type VoiceProfileEntity = BaseEntity & {
835
868
  name: string;
836
869
  source: VoiceProfileSourcesEnum;
@@ -875,15 +908,9 @@ type ProgramEntity = BaseEntity & {
875
908
  weekSchedule?: ProgramDayScheduleEntity[];
876
909
  };
877
910
 
878
- type ProgramDayScheduleEntity = BaseEntity & {
879
- programId: string;
880
- weekDay: WeekDayEnum;
881
- isActive: boolean;
882
- script: ProgramScriptEntity | null;
883
- };
884
-
885
911
  type VoiceTrackEntity = BaseEntity & {
886
912
  textScript: string | null;
913
+ type: VoiceTrackTypesEnum;
887
914
  source: VoiceTrackSourcesEnum;
888
915
  date: `${number}-${number}-${number}`;
889
916
  status: VoiceTrackStatusEnum;
@@ -902,6 +929,14 @@ type CasterEntity = BaseEntity & {
902
929
  bio: string;
903
930
  email: string;
904
931
  password: string;
932
+ voiceGender: VoiceGenderEnum;
933
+ segments: ProgramSegmentEnum[];
934
+ communicationTones: CommunicationToneEnum[];
935
+ emotionStyles: EmotionStyleEnum[];
936
+ formalityLevels: FormalityLevelEnum[];
937
+ humorStyle: HumorStyleEnum[];
938
+ languageStyles: LanguageStyleEnum[];
939
+ voiceEnergy: VoiceEnergyEnum[];
905
940
  avatarImgId: string;
906
941
  avatarImg?: S3FileEntity;
907
942
  voiceProfileId: string;
@@ -1012,14 +1047,6 @@ type UserLegalAgreementEntity = Pick<BaseEntity, "id"> & {
1012
1047
  user?: RadioUserEntity;
1013
1048
  };
1014
1049
 
1015
- type ProgramDraftEntity = BaseEntity & {
1016
- name: string;
1017
- durationInMinutes: number;
1018
- blocksAmount: number;
1019
- radio?: RadioEntity;
1020
- radioId: string;
1021
- };
1022
-
1023
1050
  type SystemModuleEntity = BaseEntity & {
1024
1051
  name: string;
1025
1052
  description: string;
@@ -1413,11 +1440,12 @@ type VerifyEmailAvailabilityResponse = {
1413
1440
  isAvailable: boolean;
1414
1441
  };
1415
1442
 
1416
- type ListCastersParams = PaginationParams & {
1443
+ type ListVoiceProfilesParams = PaginationParams & {
1417
1444
  name?: string;
1418
- email?: string;
1445
+ source?: VoiceProfileSourcesEnum;
1446
+ provider?: TtsProvidersEnum;
1447
+ casterId?: string;
1419
1448
  radiosIds?: string[];
1420
- programsIds?: string[];
1421
1449
  voiceGender?: VoiceGenderEnum;
1422
1450
  segments?: ProgramSegmentEnum[];
1423
1451
  communicationTones?: CommunicationToneEnum[];
@@ -1427,16 +1455,6 @@ type ListCastersParams = PaginationParams & {
1427
1455
  languageStyles?: LanguageStyleEnum[];
1428
1456
  voiceEnergy?: VoiceEnergyEnum[];
1429
1457
  };
1430
- type ListCastersResponse = PaginatedResponseDTO<Omit<CasterEntity, "voiceProfile"> & {
1431
- voiceProfile: VoiceProfileEntity;
1432
- }>;
1433
-
1434
- type ListVoiceProfilesParams = PaginationParams & {
1435
- name?: string;
1436
- source?: VoiceProfileSourcesEnum;
1437
- provider?: TtsProvidersEnum;
1438
- casterId?: string;
1439
- };
1440
1458
  type ListVoiceProfilesResponse = PaginatedResponseDTO<VoiceProfileEntity & {
1441
1459
  avatarImgSrc: string;
1442
1460
  }>;
@@ -1448,6 +1466,14 @@ type ListVoiceTracksParams = PaginationParams & {
1448
1466
  };
1449
1467
  type ListVoiceTracksResponse = PaginatedResponseDTO<VoiceTrackEntity>;
1450
1468
 
1469
+ type ListCastersParams = Omit<ListVoiceProfilesParams, "name" | "source" | "provider" | "casterId"> & {
1470
+ name?: string;
1471
+ email?: string;
1472
+ };
1473
+ type ListCastersResponse = PaginatedResponseDTO<Omit<CasterEntity, "voiceProfile"> & {
1474
+ voiceProfile: VoiceProfileEntity;
1475
+ }>;
1476
+
1451
1477
  type EpisodeCreatedEvt = {};
1452
1478
 
1453
1479
  type EpisodeErrorEvt = {};
@@ -1466,4 +1492,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
1466
1492
 
1467
1493
  declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
1468
1494
 
1469
- export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, ChargeTypesEnum, CommunicationToneEnum, CommunicationToneTranslationsEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateProgramPayload, type CreateProgramSchedulePayload, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, EmotionStyleEnum, EmotionStyleTranslationsEnum, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, FormalityLevelEnum, FormalityLevelTranslationsEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, HumorStyleEnum, HumorStyleTranslationsEnum, JobsEnum, LanguageStyleEnum, LanguageStyleTranslationsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListCastersParams, type ListCastersResponse, type ListChargesParams, type ListChargesResponse, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListProgramsParams, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type ListVoiceProfilesParams, type ListVoiceProfilesResponse, type ListVoiceTracksParams, type ListVoiceTracksResponse, type LoginPayload, type LoginResponse, MAX_CASTER_SAMPLES_DURATION_IN_SECONDS, MIN_CASTER_SAMPLES_DURATION_IN_SECONDS, MusicCategoriesEnum, type MusicCategoriesTranslationEnum, MusicCategoriesTranslationsEnum, type MusicProgramScriptElement, MusicSubGenresEnum, type MusicSubGenresTranslationEnum, MusicSubGenresTranslationsEnum, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, PRICE_PER_PROGRAM_HOUR, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, ProgramAudienceEnum, type ProgramAudienceTranslation, ProgramAudienceTranslationsEnum, ProgramDayPeriodEnum, ProgramDayPeriodTranslationsEnum, type ProgramDayScheduleEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramLogoEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, ProgramSegmentEnum, ProgramSegmentTranslationsEnum, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioExternalMediasEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, 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, TtsProvidersEnum, TtsProvidersTranslationsEnum, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateProgramPayload, type UpdateRadioPayload, 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, VoiceEnergyEnum, VoiceEnergyTranslationsEnum, VoiceGenderEnum, VoiceGenderTranslationsEnum, VoiceProfileSourcesEnum, VoiceProfileSourcesTranslationsEnum, VoiceTrackSourcesEnum, VoiceTrackSourcesTranslationsEnum, VoiceTrackStatusEnum, VoiceTrackStatusTranslationsEnum, WeekDayEnum, WeekDayTranslationsEnum };
1495
+ export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, ChargeTypesEnum, CommunicationToneEnum, CommunicationToneTranslationsEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateProgramPayload, type CreateProgramSchedulePayload, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, EmotionStyleEnum, EmotionStyleTranslationsEnum, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, FormalityLevelEnum, FormalityLevelTranslationsEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, HumorStyleEnum, HumorStyleTranslationsEnum, JobsEnum, LanguageStyleEnum, LanguageStyleTranslationsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListCastersParams, type ListCastersResponse, type ListChargesParams, type ListChargesResponse, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListProgramsParams, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type ListVoiceProfilesParams, type ListVoiceProfilesResponse, type ListVoiceTracksParams, type ListVoiceTracksResponse, type LoginPayload, type LoginResponse, MAX_CASTER_SAMPLES_DURATION_IN_SECONDS, MIN_CASTER_SAMPLES_DURATION_IN_SECONDS, MusicCategoriesEnum, type MusicCategoriesTranslationEnum, MusicCategoriesTranslationsEnum, MusicSubGenresEnum, type MusicSubGenresTranslationEnum, MusicSubGenresTranslationsEnum, PRICE_PER_PROGRAM_HOUR, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type PopulatedScriptOptions, ProgramAudienceEnum, type ProgramAudienceTranslation, ProgramAudienceTranslationsEnum, ProgramDayPeriodEnum, ProgramDayPeriodTranslationsEnum, type ProgramDayScheduleEntity, type ProgramDraftEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramLogoEntity, type ProgramScriptBlockElementEntity, type ProgramScriptBlockEntity, type ProgramScriptEntity, ProgramSegmentEnum, ProgramSegmentTranslationsEnum, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioExternalMediasEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, type RadioSubscriptionEntity, RadioSubscriptionStatusEnum, RadioSubscriptionStatusTranslationsEnum, type RadioUserAvatarEntity, type RadioUserEntity, S3DirectoriesEnum, type S3FileEntity, type SessionEntity, SessionTypesEnum, type SessionUser, type SystemModuleEntity, type SystemUserEntity, TKPLAY_ERRORS_MAP, TKPLAY_ERRORS__PTBR, TKPLAY_ERROR_MESSAGE_SPLITTER, TkplayErrorCodesEnum, type TkplayErrorEntity, TkplayErrorNamesEnum, type TkplayMappedErrors, type TkplayMappedErrors__Ptbr, TtsProvidersEnum, TtsProvidersTranslationsEnum, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateProgramPayload, type UpdateRadioPayload, 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, VoiceEnergyEnum, VoiceEnergyTranslationsEnum, VoiceGenderEnum, VoiceGenderTranslationsEnum, type VoiceProfileEntity, VoiceProfileSourcesEnum, VoiceProfileSourcesTranslationsEnum, type VoiceTrackEntity, VoiceTrackSourcesEnum, VoiceTrackSourcesTranslationsEnum, VoiceTrackStatusEnum, VoiceTrackStatusTranslationsEnum, VoiceTrackTypesEnum, VoiceTrackTypesTranslationsEnum, WeekDayEnum, WeekDayTranslationsEnum };
package/dist/index.d.ts CHANGED
@@ -320,24 +320,6 @@ declare const EpGenerationTypesEnum: {
320
320
  };
321
321
  type EpGenerationTypesEnum = Enum<typeof EpGenerationTypesEnum>;
322
322
 
323
- declare const NewsCategoriesEnum: {
324
- readonly SPORTS: "SPORTS";
325
- readonly GOSSIP: "GOSSIP";
326
- readonly POLICY: "POLICY";
327
- };
328
- type NewsCategoriesEnum = Enum<typeof NewsCategoriesEnum>;
329
-
330
- declare const ProgramScriptElementTypesEnum: {
331
- readonly OFF: "OFF";
332
- readonly NEWS: "NEWS";
333
- readonly MUSIC: "MUSIC";
334
- readonly VIGNETTE_BLOCK_IN: "VIGNETTE_BLOCK_IN";
335
- readonly VIGNETTE_BLOCK_OUT: "VIGNETTE_BLOCK_OUT";
336
- readonly VIGNETTE_PROGRAM_IN: "VIGNETTE_PROGRAM_IN";
337
- readonly VIGNETTE_PROGRAM_OUT: "VIGNETTE_PROGRAM_OUT";
338
- };
339
- type ProgramScriptElementTypesEnum = Enum<typeof ProgramScriptElementTypesEnum>;
340
-
341
323
  declare const LegalTermTypesEnum: {
342
324
  readonly PLATFORM_USE: "PLATFORM_USE";
343
325
  readonly COOKIES_POLICY: "COOKIES_POLICY";
@@ -692,6 +674,17 @@ declare const VoiceTrackStatusTranslationsEnum: {
692
674
  };
693
675
  type VoiceTrackStatusTranslationsEnum = Enum<typeof VoiceTrackStatusTranslationsEnum>;
694
676
 
677
+ declare const VoiceTrackTypesEnum: {
678
+ readonly OFF: "OFF";
679
+ readonly NEWS: "NEWS";
680
+ };
681
+ type VoiceTrackTypesEnum = Enum<typeof VoiceTrackTypesEnum>;
682
+ declare const VoiceTrackTypesTranslationsEnum: {
683
+ readonly OFF: "OFF";
684
+ readonly NEWS: "Notícia";
685
+ };
686
+ type VoiceTrackTypesTranslationsEnum = Enum<typeof VoiceTrackTypesTranslationsEnum>;
687
+
695
688
  type DateString = string | Date;
696
689
 
697
690
  type SessionUser = {
@@ -749,66 +742,70 @@ type TkplayErrorEntity = {
749
742
  data: any;
750
743
  };
751
744
 
752
- type ProgramEpisodeBlockEntity = BaseEntity & {
753
- index: number;
754
- episode?: ProgramEpisodeEntity;
755
- episodeId: string;
756
- file?: S3FileEntity;
757
- fileId: string;
745
+ type ProgramScriptEntity = BaseEntity & {
746
+ name: string;
747
+ programDayScheduleId: string;
748
+ day: ProgramDayScheduleEntity;
749
+ blocks: ProgramScriptBlockEntity[];
758
750
  };
759
751
 
760
- type ProgramEpisodeEntity = BaseEntity & {
761
- date: string;
762
- program?: ProgramEntity;
763
- programId: string;
764
- generationType: EpGenerationTypesEnum;
765
- quality: EpGenerationQualityEnum;
752
+ type ProgramScriptBlockEntity = BaseEntity & {
753
+ position: number;
754
+ scriptId: string;
755
+ script?: ProgramScriptEntity;
756
+ elements: ProgramScriptBlockElementEntity[];
766
757
  };
767
758
 
768
- type PopulatedProgramScriptElement = {
769
- type: ProgramScriptElementTypesEnum;
770
- key: string;
771
- options: ProgramScriptElementOptionsAll | null;
759
+ declare const ProgramScriptElementCategoriesEnum: {
760
+ readonly VOICE_TRACK: "VOICE_TRACK";
761
+ readonly MUSIC: "MUSIC";
762
+ readonly VIGNETTE: "VIGNETTE";
772
763
  };
773
- type PopulatedProgramScriptBlock = PopulatedProgramScriptElement[];
774
- type PopulatedProgramScriptEntity = PopulatedProgramScriptBlock[];
764
+ type ProgramScriptElementCategoriesEnum = Enum<typeof ProgramScriptElementCategoriesEnum>;
775
765
 
776
- type SoundtrackProgramScriptElementOptions = {
777
- useSoundtrack: boolean;
778
- soundtrackId?: string | null;
766
+ declare const ProgramScriptElementTypesEnum: {
767
+ readonly OFF: "OFF";
768
+ readonly NEWS: "NEWS";
769
+ readonly MUSIC: "MUSIC";
770
+ readonly VIGNETTE_BLOCK_IN: "VIGNETTE_BLOCK_IN";
771
+ readonly VIGNETTE_BLOCK_OUT: "VIGNETTE_BLOCK_OUT";
772
+ readonly VIGNETTE_PROGRAM_IN: "VIGNETTE_PROGRAM_IN";
773
+ readonly VIGNETTE_PROGRAM_OUT: "VIGNETTE_PROGRAM_OUT";
779
774
  };
780
- type NewsProgramScriptElementOptions = SoundtrackProgramScriptElementOptions & {
781
- category: NewsCategoriesEnum;
775
+ type ProgramScriptElementTypesEnum = Enum<typeof ProgramScriptElementTypesEnum>;
776
+
777
+ declare const VignetteTypesEnum: {
778
+ readonly PROGRAM_IN: "PROGRAM_IN";
779
+ readonly PROGRAM_OUT: "PROGRAM_OUT";
780
+ readonly BLOCK_IN: "BLOCK_IN";
781
+ readonly BLOCK_OUT: "BLOCK_OUT";
782
+ readonly TRANSITION: "TRANSITION";
782
783
  };
783
- type ProgramScriptElementOptionsAll = Partial<SoundtrackProgramScriptElementOptions & NewsProgramScriptElementOptions>;
784
- interface BaseElement {
785
- type: ProgramScriptElementTypesEnum;
786
- options: ProgramScriptElementOptionsAll;
787
- }
788
- interface OffProgramScriptElement extends BaseElement {
789
- type: "OFF";
790
- options: ProgramScriptElementOptionsAll;
791
- }
792
- interface NewsProgramScriptElement {
793
- type: "NEWS";
794
- options: NewsProgramScriptElementOptions;
795
- }
796
- interface MusicProgramScriptElement {
797
- type: "MUSIC";
798
- options: null;
799
- }
800
- interface VignetteProgramScriptElement {
801
- type: "VIGNETTE_BLOCK_IN" | "VIGNETTE_BLOCK_OUT" | "VIGNETTE_PROGRAM_IN" | "VIGNETTE_PROGRAM_OUT";
802
- options: null;
803
- }
804
- type ProgramScriptElement = OffProgramScriptElement | NewsProgramScriptElement | VignetteProgramScriptElement | MusicProgramScriptElement;
805
- type ScriptBlock = ProgramScriptElement[];
806
- type ProgramScriptEntity = BaseEntity & {
807
- name: string;
808
- body: ScriptBlock[];
809
- weekDay: 0 | 1 | 2 | 3 | 4 | 5 | 6;
784
+ type VignetteTypesEnum = Enum<typeof VignetteTypesEnum>;
785
+
786
+ declare const SoundtrackStateEnum: {
787
+ readonly ON: "ON";
788
+ readonly OFF: "OFF";
789
+ };
790
+ type SoundtrackStateEnum = Enum<typeof SoundtrackStateEnum>;
791
+
792
+ type ProgramScriptBlockElementEntity = {
793
+ id: string;
794
+ category: ProgramScriptElementCategoriesEnum;
795
+ type: VignetteTypesEnum | VoiceTrackTypesEnum;
796
+ soundtrack?: SoundtrackStateEnum | null;
797
+ customColor?: string | null;
798
+ blockId: string;
799
+ block?: ProgramScriptBlockEntity;
800
+ };
801
+
802
+ type ProgramDayScheduleEntity = BaseEntity & {
803
+ weekDay: WeekDayEnum;
804
+ isActive: boolean;
810
805
  programId: string;
811
806
  program?: ProgramEntity;
807
+ programScriptId: string;
808
+ programScript: ProgramScriptEntity | null;
812
809
  };
813
810
 
814
811
  type RadioContractEntity = BaseEntity & {
@@ -831,6 +828,42 @@ type RadioExternalMediasEntity = {
831
828
  radio?: RadioEntity;
832
829
  };
833
830
 
831
+ type ProgramDraftEntity = BaseEntity & {
832
+ name: string;
833
+ durationInMinutes: number;
834
+ blocksAmount: number;
835
+ radio?: RadioEntity;
836
+ radioId: string;
837
+ };
838
+
839
+ type ProgramEpisodeBlockEntity = BaseEntity & {
840
+ index: number;
841
+ episode?: ProgramEpisodeEntity;
842
+ episodeId: string;
843
+ file?: S3FileEntity;
844
+ fileId: string;
845
+ };
846
+
847
+ type ProgramEpisodeEntity = BaseEntity & {
848
+ date: string;
849
+ program?: ProgramEntity;
850
+ programId: string;
851
+ generationType: EpGenerationTypesEnum;
852
+ quality: EpGenerationQualityEnum;
853
+ };
854
+
855
+ type PopulatedScriptOptions = {
856
+ soundtrack: SoundtrackStateEnum | null;
857
+ customColor: string | null;
858
+ };
859
+ type PopulatedProgramScriptElement = {
860
+ type: ProgramScriptElementTypesEnum;
861
+ key: string;
862
+ options: PopulatedScriptOptions | null;
863
+ };
864
+ type PopulatedProgramScriptBlock = PopulatedProgramScriptElement[];
865
+ type PopulatedProgramScriptEntity = PopulatedProgramScriptBlock[];
866
+
834
867
  type VoiceProfileEntity = BaseEntity & {
835
868
  name: string;
836
869
  source: VoiceProfileSourcesEnum;
@@ -875,15 +908,9 @@ type ProgramEntity = BaseEntity & {
875
908
  weekSchedule?: ProgramDayScheduleEntity[];
876
909
  };
877
910
 
878
- type ProgramDayScheduleEntity = BaseEntity & {
879
- programId: string;
880
- weekDay: WeekDayEnum;
881
- isActive: boolean;
882
- script: ProgramScriptEntity | null;
883
- };
884
-
885
911
  type VoiceTrackEntity = BaseEntity & {
886
912
  textScript: string | null;
913
+ type: VoiceTrackTypesEnum;
887
914
  source: VoiceTrackSourcesEnum;
888
915
  date: `${number}-${number}-${number}`;
889
916
  status: VoiceTrackStatusEnum;
@@ -902,6 +929,14 @@ type CasterEntity = BaseEntity & {
902
929
  bio: string;
903
930
  email: string;
904
931
  password: string;
932
+ voiceGender: VoiceGenderEnum;
933
+ segments: ProgramSegmentEnum[];
934
+ communicationTones: CommunicationToneEnum[];
935
+ emotionStyles: EmotionStyleEnum[];
936
+ formalityLevels: FormalityLevelEnum[];
937
+ humorStyle: HumorStyleEnum[];
938
+ languageStyles: LanguageStyleEnum[];
939
+ voiceEnergy: VoiceEnergyEnum[];
905
940
  avatarImgId: string;
906
941
  avatarImg?: S3FileEntity;
907
942
  voiceProfileId: string;
@@ -1012,14 +1047,6 @@ type UserLegalAgreementEntity = Pick<BaseEntity, "id"> & {
1012
1047
  user?: RadioUserEntity;
1013
1048
  };
1014
1049
 
1015
- type ProgramDraftEntity = BaseEntity & {
1016
- name: string;
1017
- durationInMinutes: number;
1018
- blocksAmount: number;
1019
- radio?: RadioEntity;
1020
- radioId: string;
1021
- };
1022
-
1023
1050
  type SystemModuleEntity = BaseEntity & {
1024
1051
  name: string;
1025
1052
  description: string;
@@ -1413,11 +1440,12 @@ type VerifyEmailAvailabilityResponse = {
1413
1440
  isAvailable: boolean;
1414
1441
  };
1415
1442
 
1416
- type ListCastersParams = PaginationParams & {
1443
+ type ListVoiceProfilesParams = PaginationParams & {
1417
1444
  name?: string;
1418
- email?: string;
1445
+ source?: VoiceProfileSourcesEnum;
1446
+ provider?: TtsProvidersEnum;
1447
+ casterId?: string;
1419
1448
  radiosIds?: string[];
1420
- programsIds?: string[];
1421
1449
  voiceGender?: VoiceGenderEnum;
1422
1450
  segments?: ProgramSegmentEnum[];
1423
1451
  communicationTones?: CommunicationToneEnum[];
@@ -1427,16 +1455,6 @@ type ListCastersParams = PaginationParams & {
1427
1455
  languageStyles?: LanguageStyleEnum[];
1428
1456
  voiceEnergy?: VoiceEnergyEnum[];
1429
1457
  };
1430
- type ListCastersResponse = PaginatedResponseDTO<Omit<CasterEntity, "voiceProfile"> & {
1431
- voiceProfile: VoiceProfileEntity;
1432
- }>;
1433
-
1434
- type ListVoiceProfilesParams = PaginationParams & {
1435
- name?: string;
1436
- source?: VoiceProfileSourcesEnum;
1437
- provider?: TtsProvidersEnum;
1438
- casterId?: string;
1439
- };
1440
1458
  type ListVoiceProfilesResponse = PaginatedResponseDTO<VoiceProfileEntity & {
1441
1459
  avatarImgSrc: string;
1442
1460
  }>;
@@ -1448,6 +1466,14 @@ type ListVoiceTracksParams = PaginationParams & {
1448
1466
  };
1449
1467
  type ListVoiceTracksResponse = PaginatedResponseDTO<VoiceTrackEntity>;
1450
1468
 
1469
+ type ListCastersParams = Omit<ListVoiceProfilesParams, "name" | "source" | "provider" | "casterId"> & {
1470
+ name?: string;
1471
+ email?: string;
1472
+ };
1473
+ type ListCastersResponse = PaginatedResponseDTO<Omit<CasterEntity, "voiceProfile"> & {
1474
+ voiceProfile: VoiceProfileEntity;
1475
+ }>;
1476
+
1451
1477
  type EpisodeCreatedEvt = {};
1452
1478
 
1453
1479
  type EpisodeErrorEvt = {};
@@ -1466,4 +1492,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
1466
1492
 
1467
1493
  declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
1468
1494
 
1469
- export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, ChargeTypesEnum, CommunicationToneEnum, CommunicationToneTranslationsEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateProgramPayload, type CreateProgramSchedulePayload, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, EmotionStyleEnum, EmotionStyleTranslationsEnum, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, FormalityLevelEnum, FormalityLevelTranslationsEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, HumorStyleEnum, HumorStyleTranslationsEnum, JobsEnum, LanguageStyleEnum, LanguageStyleTranslationsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListCastersParams, type ListCastersResponse, type ListChargesParams, type ListChargesResponse, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListProgramsParams, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type ListVoiceProfilesParams, type ListVoiceProfilesResponse, type ListVoiceTracksParams, type ListVoiceTracksResponse, type LoginPayload, type LoginResponse, MAX_CASTER_SAMPLES_DURATION_IN_SECONDS, MIN_CASTER_SAMPLES_DURATION_IN_SECONDS, MusicCategoriesEnum, type MusicCategoriesTranslationEnum, MusicCategoriesTranslationsEnum, type MusicProgramScriptElement, MusicSubGenresEnum, type MusicSubGenresTranslationEnum, MusicSubGenresTranslationsEnum, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, PRICE_PER_PROGRAM_HOUR, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, ProgramAudienceEnum, type ProgramAudienceTranslation, ProgramAudienceTranslationsEnum, ProgramDayPeriodEnum, ProgramDayPeriodTranslationsEnum, type ProgramDayScheduleEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramLogoEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, ProgramSegmentEnum, ProgramSegmentTranslationsEnum, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioExternalMediasEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, 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, TtsProvidersEnum, TtsProvidersTranslationsEnum, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateProgramPayload, type UpdateRadioPayload, 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, VoiceEnergyEnum, VoiceEnergyTranslationsEnum, VoiceGenderEnum, VoiceGenderTranslationsEnum, VoiceProfileSourcesEnum, VoiceProfileSourcesTranslationsEnum, VoiceTrackSourcesEnum, VoiceTrackSourcesTranslationsEnum, VoiceTrackStatusEnum, VoiceTrackStatusTranslationsEnum, WeekDayEnum, WeekDayTranslationsEnum };
1495
+ export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, ChargeTypesEnum, CommunicationToneEnum, CommunicationToneTranslationsEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateProgramPayload, type CreateProgramSchedulePayload, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, EmotionStyleEnum, EmotionStyleTranslationsEnum, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, FormalityLevelEnum, FormalityLevelTranslationsEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, HumorStyleEnum, HumorStyleTranslationsEnum, JobsEnum, LanguageStyleEnum, LanguageStyleTranslationsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListCastersParams, type ListCastersResponse, type ListChargesParams, type ListChargesResponse, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListProgramsParams, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type ListVoiceProfilesParams, type ListVoiceProfilesResponse, type ListVoiceTracksParams, type ListVoiceTracksResponse, type LoginPayload, type LoginResponse, MAX_CASTER_SAMPLES_DURATION_IN_SECONDS, MIN_CASTER_SAMPLES_DURATION_IN_SECONDS, MusicCategoriesEnum, type MusicCategoriesTranslationEnum, MusicCategoriesTranslationsEnum, MusicSubGenresEnum, type MusicSubGenresTranslationEnum, MusicSubGenresTranslationsEnum, PRICE_PER_PROGRAM_HOUR, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type PopulatedScriptOptions, ProgramAudienceEnum, type ProgramAudienceTranslation, ProgramAudienceTranslationsEnum, ProgramDayPeriodEnum, ProgramDayPeriodTranslationsEnum, type ProgramDayScheduleEntity, type ProgramDraftEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramLogoEntity, type ProgramScriptBlockElementEntity, type ProgramScriptBlockEntity, type ProgramScriptEntity, ProgramSegmentEnum, ProgramSegmentTranslationsEnum, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioExternalMediasEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, type RadioSubscriptionEntity, RadioSubscriptionStatusEnum, RadioSubscriptionStatusTranslationsEnum, type RadioUserAvatarEntity, type RadioUserEntity, S3DirectoriesEnum, type S3FileEntity, type SessionEntity, SessionTypesEnum, type SessionUser, type SystemModuleEntity, type SystemUserEntity, TKPLAY_ERRORS_MAP, TKPLAY_ERRORS__PTBR, TKPLAY_ERROR_MESSAGE_SPLITTER, TkplayErrorCodesEnum, type TkplayErrorEntity, TkplayErrorNamesEnum, type TkplayMappedErrors, type TkplayMappedErrors__Ptbr, TtsProvidersEnum, TtsProvidersTranslationsEnum, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateProgramPayload, type UpdateRadioPayload, 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, VoiceEnergyEnum, VoiceEnergyTranslationsEnum, VoiceGenderEnum, VoiceGenderTranslationsEnum, type VoiceProfileEntity, VoiceProfileSourcesEnum, VoiceProfileSourcesTranslationsEnum, type VoiceTrackEntity, VoiceTrackSourcesEnum, VoiceTrackSourcesTranslationsEnum, VoiceTrackStatusEnum, VoiceTrackStatusTranslationsEnum, VoiceTrackTypesEnum, VoiceTrackTypesTranslationsEnum, WeekDayEnum, WeekDayTranslationsEnum };
package/dist/index.js CHANGED
@@ -55,13 +55,11 @@ __export(index_exports, {
55
55
  MusicCategoriesTranslationsEnum: () => MusicCategoriesTranslationsEnum,
56
56
  MusicSubGenresEnum: () => MusicSubGenresEnum,
57
57
  MusicSubGenresTranslationsEnum: () => MusicSubGenresTranslationsEnum,
58
- NewsCategoriesEnum: () => NewsCategoriesEnum,
59
58
  PRICE_PER_PROGRAM_HOUR: () => PRICE_PER_PROGRAM_HOUR,
60
59
  ProgramAudienceEnum: () => ProgramAudienceEnum,
61
60
  ProgramAudienceTranslationsEnum: () => ProgramAudienceTranslationsEnum,
62
61
  ProgramDayPeriodEnum: () => ProgramDayPeriodEnum,
63
62
  ProgramDayPeriodTranslationsEnum: () => ProgramDayPeriodTranslationsEnum,
64
- ProgramScriptElementTypesEnum: () => ProgramScriptElementTypesEnum,
65
63
  ProgramSegmentEnum: () => ProgramSegmentEnum,
66
64
  ProgramSegmentTranslationsEnum: () => ProgramSegmentTranslationsEnum,
67
65
  RadioBandsEnum: () => RadioBandsEnum,
@@ -88,6 +86,8 @@ __export(index_exports, {
88
86
  VoiceTrackSourcesTranslationsEnum: () => VoiceTrackSourcesTranslationsEnum,
89
87
  VoiceTrackStatusEnum: () => VoiceTrackStatusEnum,
90
88
  VoiceTrackStatusTranslationsEnum: () => VoiceTrackStatusTranslationsEnum,
89
+ VoiceTrackTypesEnum: () => VoiceTrackTypesEnum,
90
+ VoiceTrackTypesTranslationsEnum: () => VoiceTrackTypesTranslationsEnum,
91
91
  WeekDayEnum: () => WeekDayEnum,
92
92
  WeekDayTranslationsEnum: () => WeekDayTranslationsEnum
93
93
  });
@@ -433,24 +433,6 @@ var EpGenerationTypesEnum = {
433
433
  AUTOMATIC: "AUTOMATIC"
434
434
  };
435
435
 
436
- // src/enums/content-creation/news-categories.enum.ts
437
- var NewsCategoriesEnum = {
438
- SPORTS: "SPORTS",
439
- GOSSIP: "GOSSIP",
440
- POLICY: "POLICY"
441
- };
442
-
443
- // src/enums/content-creation/program-script-element-types.enum.ts
444
- var ProgramScriptElementTypesEnum = {
445
- OFF: "OFF",
446
- NEWS: "NEWS",
447
- MUSIC: "MUSIC",
448
- VIGNETTE_BLOCK_IN: "VIGNETTE_BLOCK_IN",
449
- VIGNETTE_BLOCK_OUT: "VIGNETTE_BLOCK_OUT",
450
- VIGNETTE_PROGRAM_IN: "VIGNETTE_PROGRAM_IN",
451
- VIGNETTE_PROGRAM_OUT: "VIGNETTE_PROGRAM_OUT"
452
- };
453
-
454
436
  // src/enums/legal/legal-term-types.enum.ts
455
437
  var LegalTermTypesEnum = {
456
438
  PLATFORM_USE: "PLATFORM_USE",
@@ -802,6 +784,16 @@ var VoiceTrackStatusTranslationsEnum = {
802
784
  AIRED: "Foi ao ar"
803
785
  };
804
786
 
787
+ // src/enums/voices/voice-track-types.enum.ts
788
+ var VoiceTrackTypesEnum = {
789
+ OFF: "OFF",
790
+ NEWS: "NEWS"
791
+ };
792
+ var VoiceTrackTypesTranslationsEnum = {
793
+ OFF: "OFF",
794
+ NEWS: "Not\xEDcia"
795
+ };
796
+
805
797
  // src/constants/global-consts.ts
806
798
  var PRICE_PER_PROGRAM_HOUR = 12e3;
807
799
  var MIN_CASTER_SAMPLES_DURATION_IN_SECONDS = 30;
@@ -964,13 +956,11 @@ var TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
964
956
  MusicCategoriesTranslationsEnum,
965
957
  MusicSubGenresEnum,
966
958
  MusicSubGenresTranslationsEnum,
967
- NewsCategoriesEnum,
968
959
  PRICE_PER_PROGRAM_HOUR,
969
960
  ProgramAudienceEnum,
970
961
  ProgramAudienceTranslationsEnum,
971
962
  ProgramDayPeriodEnum,
972
963
  ProgramDayPeriodTranslationsEnum,
973
- ProgramScriptElementTypesEnum,
974
964
  ProgramSegmentEnum,
975
965
  ProgramSegmentTranslationsEnum,
976
966
  RadioBandsEnum,
@@ -997,6 +987,8 @@ var TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
997
987
  VoiceTrackSourcesTranslationsEnum,
998
988
  VoiceTrackStatusEnum,
999
989
  VoiceTrackStatusTranslationsEnum,
990
+ VoiceTrackTypesEnum,
991
+ VoiceTrackTypesTranslationsEnum,
1000
992
  WeekDayEnum,
1001
993
  WeekDayTranslationsEnum
1002
994
  });
package/dist/index.mjs CHANGED
@@ -338,24 +338,6 @@ var EpGenerationTypesEnum = {
338
338
  AUTOMATIC: "AUTOMATIC"
339
339
  };
340
340
 
341
- // src/enums/content-creation/news-categories.enum.ts
342
- var NewsCategoriesEnum = {
343
- SPORTS: "SPORTS",
344
- GOSSIP: "GOSSIP",
345
- POLICY: "POLICY"
346
- };
347
-
348
- // src/enums/content-creation/program-script-element-types.enum.ts
349
- var ProgramScriptElementTypesEnum = {
350
- OFF: "OFF",
351
- NEWS: "NEWS",
352
- MUSIC: "MUSIC",
353
- VIGNETTE_BLOCK_IN: "VIGNETTE_BLOCK_IN",
354
- VIGNETTE_BLOCK_OUT: "VIGNETTE_BLOCK_OUT",
355
- VIGNETTE_PROGRAM_IN: "VIGNETTE_PROGRAM_IN",
356
- VIGNETTE_PROGRAM_OUT: "VIGNETTE_PROGRAM_OUT"
357
- };
358
-
359
341
  // src/enums/legal/legal-term-types.enum.ts
360
342
  var LegalTermTypesEnum = {
361
343
  PLATFORM_USE: "PLATFORM_USE",
@@ -707,6 +689,16 @@ var VoiceTrackStatusTranslationsEnum = {
707
689
  AIRED: "Foi ao ar"
708
690
  };
709
691
 
692
+ // src/enums/voices/voice-track-types.enum.ts
693
+ var VoiceTrackTypesEnum = {
694
+ OFF: "OFF",
695
+ NEWS: "NEWS"
696
+ };
697
+ var VoiceTrackTypesTranslationsEnum = {
698
+ OFF: "OFF",
699
+ NEWS: "Not\xEDcia"
700
+ };
701
+
710
702
  // src/constants/global-consts.ts
711
703
  var PRICE_PER_PROGRAM_HOUR = 12e3;
712
704
  var MIN_CASTER_SAMPLES_DURATION_IN_SECONDS = 30;
@@ -868,13 +860,11 @@ export {
868
860
  MusicCategoriesTranslationsEnum,
869
861
  MusicSubGenresEnum,
870
862
  MusicSubGenresTranslationsEnum,
871
- NewsCategoriesEnum,
872
863
  PRICE_PER_PROGRAM_HOUR,
873
864
  ProgramAudienceEnum,
874
865
  ProgramAudienceTranslationsEnum,
875
866
  ProgramDayPeriodEnum,
876
867
  ProgramDayPeriodTranslationsEnum,
877
- ProgramScriptElementTypesEnum,
878
868
  ProgramSegmentEnum,
879
869
  ProgramSegmentTranslationsEnum,
880
870
  RadioBandsEnum,
@@ -901,6 +891,8 @@ export {
901
891
  VoiceTrackSourcesTranslationsEnum,
902
892
  VoiceTrackStatusEnum,
903
893
  VoiceTrackStatusTranslationsEnum,
894
+ VoiceTrackTypesEnum,
895
+ VoiceTrackTypesTranslationsEnum,
904
896
  WeekDayEnum,
905
897
  WeekDayTranslationsEnum
906
898
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talkplay/shared-types",
3
- "version": "1.0.66",
3
+ "version": "1.0.69",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",