@talkplay/shared-types 1.0.65 → 1.0.68
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 +116 -98
- package/dist/index.d.ts +116 -98
- package/dist/index.js +14 -22
- package/dist/index.mjs +12 -20
- package/package.json +1 -1
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
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
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
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
quality: EpGenerationQualityEnum;
|
|
752
|
+
type ProgramScriptBlockEntity = BaseEntity & {
|
|
753
|
+
position: number;
|
|
754
|
+
scriptId: string;
|
|
755
|
+
script?: ProgramScriptEntity;
|
|
756
|
+
elements: ProgramScriptBlockElementEntity[];
|
|
766
757
|
};
|
|
767
758
|
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
759
|
+
declare const ProgramScriptElementCategoriesEnum: {
|
|
760
|
+
readonly VOICE_TRACK: "VOICE_TRACK";
|
|
761
|
+
readonly MUSIC: "MUSIC";
|
|
762
|
+
readonly VIGNETTE: "VIGNETTE";
|
|
772
763
|
};
|
|
773
|
-
type
|
|
774
|
-
type PopulatedProgramScriptEntity = PopulatedProgramScriptBlock[];
|
|
764
|
+
type ProgramScriptElementCategoriesEnum = Enum<typeof ProgramScriptElementCategoriesEnum>;
|
|
775
765
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
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
|
|
781
|
-
|
|
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
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
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;
|
|
@@ -1012,14 +1039,6 @@ type UserLegalAgreementEntity = Pick<BaseEntity, "id"> & {
|
|
|
1012
1039
|
user?: RadioUserEntity;
|
|
1013
1040
|
};
|
|
1014
1041
|
|
|
1015
|
-
type ProgramDraftEntity = BaseEntity & {
|
|
1016
|
-
name: string;
|
|
1017
|
-
durationInMinutes: number;
|
|
1018
|
-
blocksAmount: number;
|
|
1019
|
-
radio?: RadioEntity;
|
|
1020
|
-
radioId: string;
|
|
1021
|
-
};
|
|
1022
|
-
|
|
1023
1042
|
type SystemModuleEntity = BaseEntity & {
|
|
1024
1043
|
name: string;
|
|
1025
1044
|
description: string;
|
|
@@ -1243,7 +1262,7 @@ type CreateProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "rad
|
|
|
1243
1262
|
draftId?: string;
|
|
1244
1263
|
};
|
|
1245
1264
|
|
|
1246
|
-
type UpdateProgramPayload = Required<Omit<CreateProgramPayload, "weekSchedule">>;
|
|
1265
|
+
type UpdateProgramPayload = Required<Omit<CreateProgramPayload, "weekSchedule" | "draftId">>;
|
|
1247
1266
|
|
|
1248
1267
|
type CreateProgramSchedulePayload = {
|
|
1249
1268
|
[WeekDayEnum.SUNDAY]: boolean;
|
|
@@ -1413,11 +1432,12 @@ type VerifyEmailAvailabilityResponse = {
|
|
|
1413
1432
|
isAvailable: boolean;
|
|
1414
1433
|
};
|
|
1415
1434
|
|
|
1416
|
-
type
|
|
1435
|
+
type ListVoiceProfilesParams = PaginationParams & {
|
|
1417
1436
|
name?: string;
|
|
1418
|
-
|
|
1437
|
+
source?: VoiceProfileSourcesEnum;
|
|
1438
|
+
provider?: TtsProvidersEnum;
|
|
1439
|
+
casterId?: string;
|
|
1419
1440
|
radiosIds?: string[];
|
|
1420
|
-
programsIds?: string[];
|
|
1421
1441
|
voiceGender?: VoiceGenderEnum;
|
|
1422
1442
|
segments?: ProgramSegmentEnum[];
|
|
1423
1443
|
communicationTones?: CommunicationToneEnum[];
|
|
@@ -1427,16 +1447,6 @@ type ListCastersParams = PaginationParams & {
|
|
|
1427
1447
|
languageStyles?: LanguageStyleEnum[];
|
|
1428
1448
|
voiceEnergy?: VoiceEnergyEnum[];
|
|
1429
1449
|
};
|
|
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
1450
|
type ListVoiceProfilesResponse = PaginatedResponseDTO<VoiceProfileEntity & {
|
|
1441
1451
|
avatarImgSrc: string;
|
|
1442
1452
|
}>;
|
|
@@ -1448,6 +1458,14 @@ type ListVoiceTracksParams = PaginationParams & {
|
|
|
1448
1458
|
};
|
|
1449
1459
|
type ListVoiceTracksResponse = PaginatedResponseDTO<VoiceTrackEntity>;
|
|
1450
1460
|
|
|
1461
|
+
type ListCastersParams = Omit<ListVoiceProfilesParams, "source" | "provider" | "casterId"> & {
|
|
1462
|
+
name?: string;
|
|
1463
|
+
email?: string;
|
|
1464
|
+
};
|
|
1465
|
+
type ListCastersResponse = PaginatedResponseDTO<Omit<CasterEntity, "voiceProfile"> & {
|
|
1466
|
+
voiceProfile: VoiceProfileEntity;
|
|
1467
|
+
}>;
|
|
1468
|
+
|
|
1451
1469
|
type EpisodeCreatedEvt = {};
|
|
1452
1470
|
|
|
1453
1471
|
type EpisodeErrorEvt = {};
|
|
@@ -1466,4 +1484,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
|
|
|
1466
1484
|
|
|
1467
1485
|
declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
1468
1486
|
|
|
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,
|
|
1487
|
+
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
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
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
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
quality: EpGenerationQualityEnum;
|
|
752
|
+
type ProgramScriptBlockEntity = BaseEntity & {
|
|
753
|
+
position: number;
|
|
754
|
+
scriptId: string;
|
|
755
|
+
script?: ProgramScriptEntity;
|
|
756
|
+
elements: ProgramScriptBlockElementEntity[];
|
|
766
757
|
};
|
|
767
758
|
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
759
|
+
declare const ProgramScriptElementCategoriesEnum: {
|
|
760
|
+
readonly VOICE_TRACK: "VOICE_TRACK";
|
|
761
|
+
readonly MUSIC: "MUSIC";
|
|
762
|
+
readonly VIGNETTE: "VIGNETTE";
|
|
772
763
|
};
|
|
773
|
-
type
|
|
774
|
-
type PopulatedProgramScriptEntity = PopulatedProgramScriptBlock[];
|
|
764
|
+
type ProgramScriptElementCategoriesEnum = Enum<typeof ProgramScriptElementCategoriesEnum>;
|
|
775
765
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
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
|
|
781
|
-
|
|
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
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
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;
|
|
@@ -1012,14 +1039,6 @@ type UserLegalAgreementEntity = Pick<BaseEntity, "id"> & {
|
|
|
1012
1039
|
user?: RadioUserEntity;
|
|
1013
1040
|
};
|
|
1014
1041
|
|
|
1015
|
-
type ProgramDraftEntity = BaseEntity & {
|
|
1016
|
-
name: string;
|
|
1017
|
-
durationInMinutes: number;
|
|
1018
|
-
blocksAmount: number;
|
|
1019
|
-
radio?: RadioEntity;
|
|
1020
|
-
radioId: string;
|
|
1021
|
-
};
|
|
1022
|
-
|
|
1023
1042
|
type SystemModuleEntity = BaseEntity & {
|
|
1024
1043
|
name: string;
|
|
1025
1044
|
description: string;
|
|
@@ -1243,7 +1262,7 @@ type CreateProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "rad
|
|
|
1243
1262
|
draftId?: string;
|
|
1244
1263
|
};
|
|
1245
1264
|
|
|
1246
|
-
type UpdateProgramPayload = Required<Omit<CreateProgramPayload, "weekSchedule">>;
|
|
1265
|
+
type UpdateProgramPayload = Required<Omit<CreateProgramPayload, "weekSchedule" | "draftId">>;
|
|
1247
1266
|
|
|
1248
1267
|
type CreateProgramSchedulePayload = {
|
|
1249
1268
|
[WeekDayEnum.SUNDAY]: boolean;
|
|
@@ -1413,11 +1432,12 @@ type VerifyEmailAvailabilityResponse = {
|
|
|
1413
1432
|
isAvailable: boolean;
|
|
1414
1433
|
};
|
|
1415
1434
|
|
|
1416
|
-
type
|
|
1435
|
+
type ListVoiceProfilesParams = PaginationParams & {
|
|
1417
1436
|
name?: string;
|
|
1418
|
-
|
|
1437
|
+
source?: VoiceProfileSourcesEnum;
|
|
1438
|
+
provider?: TtsProvidersEnum;
|
|
1439
|
+
casterId?: string;
|
|
1419
1440
|
radiosIds?: string[];
|
|
1420
|
-
programsIds?: string[];
|
|
1421
1441
|
voiceGender?: VoiceGenderEnum;
|
|
1422
1442
|
segments?: ProgramSegmentEnum[];
|
|
1423
1443
|
communicationTones?: CommunicationToneEnum[];
|
|
@@ -1427,16 +1447,6 @@ type ListCastersParams = PaginationParams & {
|
|
|
1427
1447
|
languageStyles?: LanguageStyleEnum[];
|
|
1428
1448
|
voiceEnergy?: VoiceEnergyEnum[];
|
|
1429
1449
|
};
|
|
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
1450
|
type ListVoiceProfilesResponse = PaginatedResponseDTO<VoiceProfileEntity & {
|
|
1441
1451
|
avatarImgSrc: string;
|
|
1442
1452
|
}>;
|
|
@@ -1448,6 +1458,14 @@ type ListVoiceTracksParams = PaginationParams & {
|
|
|
1448
1458
|
};
|
|
1449
1459
|
type ListVoiceTracksResponse = PaginatedResponseDTO<VoiceTrackEntity>;
|
|
1450
1460
|
|
|
1461
|
+
type ListCastersParams = Omit<ListVoiceProfilesParams, "source" | "provider" | "casterId"> & {
|
|
1462
|
+
name?: string;
|
|
1463
|
+
email?: string;
|
|
1464
|
+
};
|
|
1465
|
+
type ListCastersResponse = PaginatedResponseDTO<Omit<CasterEntity, "voiceProfile"> & {
|
|
1466
|
+
voiceProfile: VoiceProfileEntity;
|
|
1467
|
+
}>;
|
|
1468
|
+
|
|
1451
1469
|
type EpisodeCreatedEvt = {};
|
|
1452
1470
|
|
|
1453
1471
|
type EpisodeErrorEvt = {};
|
|
@@ -1466,4 +1484,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
|
|
|
1466
1484
|
|
|
1467
1485
|
declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
1468
1486
|
|
|
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,
|
|
1487
|
+
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
|
};
|