@talkplay/shared-types 1.0.86 → 1.0.87
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 +6 -2
- package/dist/index.d.ts +6 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -813,6 +813,8 @@ type TkplayErrorEntity = {
|
|
|
813
813
|
|
|
814
814
|
type ProgramScriptEntity = BaseEntity & {
|
|
815
815
|
name: string;
|
|
816
|
+
programId: string;
|
|
817
|
+
program: ProgramEntity;
|
|
816
818
|
programDayScheduleId: string;
|
|
817
819
|
day: ProgramDayScheduleEntity;
|
|
818
820
|
blocks: ProgramScriptBlockEntity[];
|
|
@@ -952,6 +954,7 @@ type ProgramEntity = BaseEntity & {
|
|
|
952
954
|
radioId: string;
|
|
953
955
|
voices?: VoiceProfileEntity[];
|
|
954
956
|
weekSchedule?: ProgramDayScheduleEntity[];
|
|
957
|
+
scripts?: ProgramScriptEntity[];
|
|
955
958
|
};
|
|
956
959
|
|
|
957
960
|
type VoiceTrackEntity = BaseEntity & {
|
|
@@ -1313,11 +1316,12 @@ type CreateProgramScriptPayload = {
|
|
|
1313
1316
|
};
|
|
1314
1317
|
type UpdateProgramScriptPayload = Omit<CreateProgramScriptPayload, "programId">;
|
|
1315
1318
|
|
|
1316
|
-
type
|
|
1319
|
+
type ListProgramScriptsParams = {
|
|
1317
1320
|
programId: string;
|
|
1318
1321
|
name?: string;
|
|
1319
1322
|
weekDay?: WeekDayEnum;
|
|
1320
1323
|
};
|
|
1324
|
+
type ListProgramScriptsResponse = Pick<ProgramScriptEntity, "name" | "id" | "day" | "createdAt" | "updatedAt">;
|
|
1321
1325
|
|
|
1322
1326
|
type ListProgramsParams = PaginationParams & {
|
|
1323
1327
|
radioId?: string;
|
|
@@ -1582,4 +1586,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
|
|
|
1582
1586
|
|
|
1583
1587
|
declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
1584
1588
|
|
|
1585
|
-
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 CreateCasterPayload, type CreateCasterResponse, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateProgramPayload, type CreateProgramSchedulePayload, type CreateProgramScriptPayload, 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
|
|
1589
|
+
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 CreateCasterPayload, type CreateCasterResponse, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateProgramPayload, type CreateProgramSchedulePayload, type CreateProgramScriptPayload, 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 ListProgramScriptsParams, type ListProgramScriptsResponse, 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, MAX_SCRIPT_BLOCKS, MIN_CASTER_SAMPLES_DURATION_IN_SECONDS, MusicCategoriesEnum, type MusicCategoriesTranslationEnum, MusicCategoriesTranslationsEnum, MusicSubGenresEnum, type MusicSubGenresTranslationEnum, MusicSubGenresTranslationsEnum, NewsCategoriesEnum, 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 ProgramScriptBlockTagEntity, ProgramScriptElementCategoriesEnum, type ProgramScriptElementCategoriesTranslationEnum, ProgramScriptElementCategoriesTranslationsEnum, 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 SessionEntity, SessionTypesEnum, type SessionUser, SoundtrackStateEnum, type SoundtrackStateTranslationEnum, SoundtrackStateTranslationsEnum, 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 UpdateCasterPaswordPayload, type UpdateCasterPayload, type UpdateCasterResponse, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateProgramProfilePayload, type UpdateProgramScriptPayload, type UpdateProgramVoicesPayload, type UpdateRadioPayload, type UpdateRadioUserPasswordPayload, type UpdateRadioUserProfilePayload, type UpdateRadioUserResponse, type UpdateRadioUserRolePayload, type UpdateSignupLeadPayload, type UpdateSystemUserPaswordPayload, type UpdateSystemUserPayload, type UpdateSystemUserResponse, type UpsertPlanPayload, type UpsertPlanResponse, type UpsertProgramScriptBlockElementPayload, type UpsertProgramScriptBlockPayload, type UpsertProgramScriptBlockTagsPayload, type UpsertSystemModulePayload, type UpsertSystemModuleResponse, type UpsertSystemUserResponse, type UserLegalAgreementEntity, UserRolesEnum, UserRolesTranslationsEnum, type VerifyEmailAvailabilityResponse, VignetteTypesEnum, type VignetteTypesTranslationEnum, VignetteTypesTranslationsEnum, VoiceEnergyEnum, VoiceEnergyTranslationsEnum, VoiceGenderEnum, VoiceGenderTranslationsEnum, type VoiceProfileEntity, VoiceProfileSourcesEnum, VoiceProfileSourcesTranslationsEnum, type VoiceTrackEntity, VoiceTrackSourcesEnum, VoiceTrackSourcesTranslationsEnum, VoiceTrackStatusEnum, VoiceTrackStatusTranslationsEnum, VoiceTrackTypesEnum, VoiceTrackTypesTranslationsEnum, WeekDayEnum, WeekDayTranslationsEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -813,6 +813,8 @@ type TkplayErrorEntity = {
|
|
|
813
813
|
|
|
814
814
|
type ProgramScriptEntity = BaseEntity & {
|
|
815
815
|
name: string;
|
|
816
|
+
programId: string;
|
|
817
|
+
program: ProgramEntity;
|
|
816
818
|
programDayScheduleId: string;
|
|
817
819
|
day: ProgramDayScheduleEntity;
|
|
818
820
|
blocks: ProgramScriptBlockEntity[];
|
|
@@ -952,6 +954,7 @@ type ProgramEntity = BaseEntity & {
|
|
|
952
954
|
radioId: string;
|
|
953
955
|
voices?: VoiceProfileEntity[];
|
|
954
956
|
weekSchedule?: ProgramDayScheduleEntity[];
|
|
957
|
+
scripts?: ProgramScriptEntity[];
|
|
955
958
|
};
|
|
956
959
|
|
|
957
960
|
type VoiceTrackEntity = BaseEntity & {
|
|
@@ -1313,11 +1316,12 @@ type CreateProgramScriptPayload = {
|
|
|
1313
1316
|
};
|
|
1314
1317
|
type UpdateProgramScriptPayload = Omit<CreateProgramScriptPayload, "programId">;
|
|
1315
1318
|
|
|
1316
|
-
type
|
|
1319
|
+
type ListProgramScriptsParams = {
|
|
1317
1320
|
programId: string;
|
|
1318
1321
|
name?: string;
|
|
1319
1322
|
weekDay?: WeekDayEnum;
|
|
1320
1323
|
};
|
|
1324
|
+
type ListProgramScriptsResponse = Pick<ProgramScriptEntity, "name" | "id" | "day" | "createdAt" | "updatedAt">;
|
|
1321
1325
|
|
|
1322
1326
|
type ListProgramsParams = PaginationParams & {
|
|
1323
1327
|
radioId?: string;
|
|
@@ -1582,4 +1586,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
|
|
|
1582
1586
|
|
|
1583
1587
|
declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
1584
1588
|
|
|
1585
|
-
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 CreateCasterPayload, type CreateCasterResponse, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateProgramPayload, type CreateProgramSchedulePayload, type CreateProgramScriptPayload, 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
|
|
1589
|
+
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 CreateCasterPayload, type CreateCasterResponse, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateProgramPayload, type CreateProgramSchedulePayload, type CreateProgramScriptPayload, 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 ListProgramScriptsParams, type ListProgramScriptsResponse, 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, MAX_SCRIPT_BLOCKS, MIN_CASTER_SAMPLES_DURATION_IN_SECONDS, MusicCategoriesEnum, type MusicCategoriesTranslationEnum, MusicCategoriesTranslationsEnum, MusicSubGenresEnum, type MusicSubGenresTranslationEnum, MusicSubGenresTranslationsEnum, NewsCategoriesEnum, 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 ProgramScriptBlockTagEntity, ProgramScriptElementCategoriesEnum, type ProgramScriptElementCategoriesTranslationEnum, ProgramScriptElementCategoriesTranslationsEnum, 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 SessionEntity, SessionTypesEnum, type SessionUser, SoundtrackStateEnum, type SoundtrackStateTranslationEnum, SoundtrackStateTranslationsEnum, 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 UpdateCasterPaswordPayload, type UpdateCasterPayload, type UpdateCasterResponse, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateProgramProfilePayload, type UpdateProgramScriptPayload, type UpdateProgramVoicesPayload, type UpdateRadioPayload, type UpdateRadioUserPasswordPayload, type UpdateRadioUserProfilePayload, type UpdateRadioUserResponse, type UpdateRadioUserRolePayload, type UpdateSignupLeadPayload, type UpdateSystemUserPaswordPayload, type UpdateSystemUserPayload, type UpdateSystemUserResponse, type UpsertPlanPayload, type UpsertPlanResponse, type UpsertProgramScriptBlockElementPayload, type UpsertProgramScriptBlockPayload, type UpsertProgramScriptBlockTagsPayload, type UpsertSystemModulePayload, type UpsertSystemModuleResponse, type UpsertSystemUserResponse, type UserLegalAgreementEntity, UserRolesEnum, UserRolesTranslationsEnum, type VerifyEmailAvailabilityResponse, VignetteTypesEnum, type VignetteTypesTranslationEnum, VignetteTypesTranslationsEnum, VoiceEnergyEnum, VoiceEnergyTranslationsEnum, VoiceGenderEnum, VoiceGenderTranslationsEnum, type VoiceProfileEntity, VoiceProfileSourcesEnum, VoiceProfileSourcesTranslationsEnum, type VoiceTrackEntity, VoiceTrackSourcesEnum, VoiceTrackSourcesTranslationsEnum, VoiceTrackStatusEnum, VoiceTrackStatusTranslationsEnum, VoiceTrackTypesEnum, VoiceTrackTypesTranslationsEnum, WeekDayEnum, WeekDayTranslationsEnum };
|