@talkplay/shared-types 1.0.69 → 1.0.71

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
@@ -78,6 +78,8 @@ declare const TkplayErrorCodesEnum: {
78
78
  UNABLE_TO_DELETE_USER: string;
79
79
  LEAD_RADIO_ALREADY_EXISTIS: string;
80
80
  LEAD_NOT_FOUND: string;
81
+ CASTER_EMAIL_IS_TAKEN: string;
82
+ CASTER_NOT_FOUND: string;
81
83
  CASTER_IMAGE_IS_REQUIRED: string;
82
84
  CASTER_AUDIO_SAMPLES_DURATION_TOO_SHORT: string;
83
85
  CASTER_AUDIO_SAMPLES_DURATION_TOO_LARGE: string;
@@ -941,7 +943,6 @@ type CasterEntity = BaseEntity & {
941
943
  avatarImg?: S3FileEntity;
942
944
  voiceProfileId: string;
943
945
  voiceProfile?: VoiceProfileEntity;
944
- audioSamples?: S3FileEntity[];
945
946
  };
946
947
 
947
948
  type RadioUserEntity = BaseEntity & {
@@ -1387,6 +1388,23 @@ type UpsertSystemModulePayload = {
1387
1388
  };
1388
1389
  type UpsertSystemModuleResponse = SystemModuleEntity;
1389
1390
 
1391
+ type CreateCasterPayload = {
1392
+ name: string;
1393
+ bio: string;
1394
+ email: string;
1395
+ password: string;
1396
+ passwordConfirmation: string;
1397
+ voiceGender: VoiceGenderEnum;
1398
+ segments: ProgramSegmentEnum[];
1399
+ communicationTones: CommunicationToneEnum[];
1400
+ emotionStyles: EmotionStyleEnum[];
1401
+ formalityLevels: FormalityLevelEnum[];
1402
+ humorStyle: HumorStyleEnum[];
1403
+ languageStyles: LanguageStyleEnum[];
1404
+ voiceEnergy: VoiceEnergyEnum[];
1405
+ };
1406
+ type CreateCasterResponse = CasterEntity;
1407
+
1390
1408
  type PassConfirmation$1 = {
1391
1409
  passwordConfirmation: string;
1392
1410
  };
@@ -1415,6 +1433,13 @@ type ListSystemUsersParams = PaginationParams & {
1415
1433
  };
1416
1434
  type ListSystemUsersResponse = PaginatedResponseDTO<SystemUserEntity>;
1417
1435
 
1436
+ type UpdateCasterPaswordPayload = {
1437
+ password: string;
1438
+ passwordConfirmation: string;
1439
+ };
1440
+ type UpdateCasterPayload = Omit<CreateCasterPayload, keyof UpdateCasterPaswordPayload>;
1441
+ type UpdateCasterResponse = CasterEntity;
1442
+
1418
1443
  type UpdateRadioUserProfilePayload = Pick<RadioUserEntity, "name" | "email" | "birthDate">;
1419
1444
  type UpdateRadioUserResponse = RadioUserEntity;
1420
1445
  type UpdateRadioUserPasswordPayload = {
@@ -1492,4 +1517,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
1492
1517
 
1493
1518
  declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
1494
1519
 
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 };
1520
+ 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 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 UpdateCasterPaswordPayload, type UpdateCasterPayload, type UpdateCasterResponse, 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
@@ -78,6 +78,8 @@ declare const TkplayErrorCodesEnum: {
78
78
  UNABLE_TO_DELETE_USER: string;
79
79
  LEAD_RADIO_ALREADY_EXISTIS: string;
80
80
  LEAD_NOT_FOUND: string;
81
+ CASTER_EMAIL_IS_TAKEN: string;
82
+ CASTER_NOT_FOUND: string;
81
83
  CASTER_IMAGE_IS_REQUIRED: string;
82
84
  CASTER_AUDIO_SAMPLES_DURATION_TOO_SHORT: string;
83
85
  CASTER_AUDIO_SAMPLES_DURATION_TOO_LARGE: string;
@@ -941,7 +943,6 @@ type CasterEntity = BaseEntity & {
941
943
  avatarImg?: S3FileEntity;
942
944
  voiceProfileId: string;
943
945
  voiceProfile?: VoiceProfileEntity;
944
- audioSamples?: S3FileEntity[];
945
946
  };
946
947
 
947
948
  type RadioUserEntity = BaseEntity & {
@@ -1387,6 +1388,23 @@ type UpsertSystemModulePayload = {
1387
1388
  };
1388
1389
  type UpsertSystemModuleResponse = SystemModuleEntity;
1389
1390
 
1391
+ type CreateCasterPayload = {
1392
+ name: string;
1393
+ bio: string;
1394
+ email: string;
1395
+ password: string;
1396
+ passwordConfirmation: string;
1397
+ voiceGender: VoiceGenderEnum;
1398
+ segments: ProgramSegmentEnum[];
1399
+ communicationTones: CommunicationToneEnum[];
1400
+ emotionStyles: EmotionStyleEnum[];
1401
+ formalityLevels: FormalityLevelEnum[];
1402
+ humorStyle: HumorStyleEnum[];
1403
+ languageStyles: LanguageStyleEnum[];
1404
+ voiceEnergy: VoiceEnergyEnum[];
1405
+ };
1406
+ type CreateCasterResponse = CasterEntity;
1407
+
1390
1408
  type PassConfirmation$1 = {
1391
1409
  passwordConfirmation: string;
1392
1410
  };
@@ -1415,6 +1433,13 @@ type ListSystemUsersParams = PaginationParams & {
1415
1433
  };
1416
1434
  type ListSystemUsersResponse = PaginatedResponseDTO<SystemUserEntity>;
1417
1435
 
1436
+ type UpdateCasterPaswordPayload = {
1437
+ password: string;
1438
+ passwordConfirmation: string;
1439
+ };
1440
+ type UpdateCasterPayload = Omit<CreateCasterPayload, keyof UpdateCasterPaswordPayload>;
1441
+ type UpdateCasterResponse = CasterEntity;
1442
+
1418
1443
  type UpdateRadioUserProfilePayload = Pick<RadioUserEntity, "name" | "email" | "birthDate">;
1419
1444
  type UpdateRadioUserResponse = RadioUserEntity;
1420
1445
  type UpdateRadioUserPasswordPayload = {
@@ -1492,4 +1517,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
1492
1517
 
1493
1518
  declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
1494
1519
 
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 };
1520
+ 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 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 UpdateCasterPaswordPayload, type UpdateCasterPayload, type UpdateCasterResponse, 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
@@ -358,6 +358,8 @@ var TkplayErrorCodesEnum = {
358
358
  LEAD_RADIO_ALREADY_EXISTIS: "LEAD_RADIO_ALREADY_EXISTIS",
359
359
  LEAD_NOT_FOUND: "LEAD_NOT_FOUND",
360
360
  // Casters
361
+ CASTER_EMAIL_IS_TAKEN: "CASTER_EMAIL_IS_TAKEN",
362
+ CASTER_NOT_FOUND: "CASTER_NOT_FOUND",
361
363
  CASTER_IMAGE_IS_REQUIRED: "CASTER_IMAGE_IS_REQUIRED",
362
364
  CASTER_AUDIO_SAMPLES_DURATION_TOO_SHORT: "CASTER_AUDIO_SAMPLES_DURATION_TOO_SHORT",
363
365
  CASTER_AUDIO_SAMPLES_DURATION_TOO_LARGE: "CASTER_AUDIO_SAMPLES_DURATION_TOO_LARGE"
@@ -853,6 +855,8 @@ var TKPLAY_ERRORS_MAP = {
853
855
  LEAD_RADIO_ALREADY_EXISTIS: "A radio with this lead infos alkready exists",
854
856
  LEAD_NOT_FOUND: "Lead not found",
855
857
  // Caster Errors
858
+ CASTER_EMAIL_IS_TAKEN: "Caster email is taken",
859
+ CASTER_NOT_FOUND: "Caster not found",
856
860
  CASTER_IMAGE_IS_REQUIRED: "Caster avatar image is required",
857
861
  CASTER_AUDIO_SAMPLES_DURATION_TOO_SHORT: (duration) => `Provided samples has ${duration} seconds length. Minimum is ${MIN_CASTER_SAMPLES_DURATION_IN_SECONDS} seconds`,
858
862
  CASTER_AUDIO_SAMPLES_DURATION_TOO_LARGE: (duration) => `Provided samples has ${duration} seconds length. M\xE1ximum is ${MAX_CASTER_SAMPLES_DURATION_IN_SECONDS} seconds`
@@ -912,6 +916,8 @@ var TKPLAY_ERRORS__PTBR = {
912
916
  LEAD_RADIO_ALREADY_EXISTIS: "J\xE1 existe uma r\xE1dio cadastrada com as informa\xE7\xF5es do lead",
913
917
  LEAD_NOT_FOUND: "Lead n\xE3o encontrado",
914
918
  // Caster Errors
919
+ CASTER_EMAIL_IS_TAKEN: "O email do locutor j\xE1 est\xE1 em uso",
920
+ CASTER_NOT_FOUND: "Locutor n\xE3o encontrado",
915
921
  CASTER_IMAGE_IS_REQUIRED: "A imagem de perfil do locutor \xE9 obrigat\xF3ria",
916
922
  CASTER_AUDIO_SAMPLES_DURATION_TOO_SHORT: `A dura\xE7\xE3o total das amostras de \xE1udio enviadas possui menos que ${MIN_CASTER_SAMPLES_DURATION_IN_SECONDS} seconds`,
917
923
  CASTER_AUDIO_SAMPLES_DURATION_TOO_LARGE: `A dura\xE7\xE3o total das amostras de \xE1udio n\xE3o deve ultrapassar ${MAX_CASTER_SAMPLES_DURATION_IN_SECONDS} seconds`
package/dist/index.mjs CHANGED
@@ -263,6 +263,8 @@ var TkplayErrorCodesEnum = {
263
263
  LEAD_RADIO_ALREADY_EXISTIS: "LEAD_RADIO_ALREADY_EXISTIS",
264
264
  LEAD_NOT_FOUND: "LEAD_NOT_FOUND",
265
265
  // Casters
266
+ CASTER_EMAIL_IS_TAKEN: "CASTER_EMAIL_IS_TAKEN",
267
+ CASTER_NOT_FOUND: "CASTER_NOT_FOUND",
266
268
  CASTER_IMAGE_IS_REQUIRED: "CASTER_IMAGE_IS_REQUIRED",
267
269
  CASTER_AUDIO_SAMPLES_DURATION_TOO_SHORT: "CASTER_AUDIO_SAMPLES_DURATION_TOO_SHORT",
268
270
  CASTER_AUDIO_SAMPLES_DURATION_TOO_LARGE: "CASTER_AUDIO_SAMPLES_DURATION_TOO_LARGE"
@@ -758,6 +760,8 @@ var TKPLAY_ERRORS_MAP = {
758
760
  LEAD_RADIO_ALREADY_EXISTIS: "A radio with this lead infos alkready exists",
759
761
  LEAD_NOT_FOUND: "Lead not found",
760
762
  // Caster Errors
763
+ CASTER_EMAIL_IS_TAKEN: "Caster email is taken",
764
+ CASTER_NOT_FOUND: "Caster not found",
761
765
  CASTER_IMAGE_IS_REQUIRED: "Caster avatar image is required",
762
766
  CASTER_AUDIO_SAMPLES_DURATION_TOO_SHORT: (duration) => `Provided samples has ${duration} seconds length. Minimum is ${MIN_CASTER_SAMPLES_DURATION_IN_SECONDS} seconds`,
763
767
  CASTER_AUDIO_SAMPLES_DURATION_TOO_LARGE: (duration) => `Provided samples has ${duration} seconds length. M\xE1ximum is ${MAX_CASTER_SAMPLES_DURATION_IN_SECONDS} seconds`
@@ -817,6 +821,8 @@ var TKPLAY_ERRORS__PTBR = {
817
821
  LEAD_RADIO_ALREADY_EXISTIS: "J\xE1 existe uma r\xE1dio cadastrada com as informa\xE7\xF5es do lead",
818
822
  LEAD_NOT_FOUND: "Lead n\xE3o encontrado",
819
823
  // Caster Errors
824
+ CASTER_EMAIL_IS_TAKEN: "O email do locutor j\xE1 est\xE1 em uso",
825
+ CASTER_NOT_FOUND: "Locutor n\xE3o encontrado",
820
826
  CASTER_IMAGE_IS_REQUIRED: "A imagem de perfil do locutor \xE9 obrigat\xF3ria",
821
827
  CASTER_AUDIO_SAMPLES_DURATION_TOO_SHORT: `A dura\xE7\xE3o total das amostras de \xE1udio enviadas possui menos que ${MIN_CASTER_SAMPLES_DURATION_IN_SECONDS} seconds`,
822
828
  CASTER_AUDIO_SAMPLES_DURATION_TOO_LARGE: `A dura\xE7\xE3o total das amostras de \xE1udio n\xE3o deve ultrapassar ${MAX_CASTER_SAMPLES_DURATION_IN_SECONDS} seconds`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talkplay/shared-types",
3
- "version": "1.0.69",
3
+ "version": "1.0.71",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",