@talkplay/shared-types 1.0.40 → 1.0.42
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 +101 -4
- package/dist/index.d.ts +101 -4
- package/dist/index.js +58 -0
- package/dist/index.mjs +54 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -287,6 +287,58 @@ declare const RadioBandsEnum: {
|
|
|
287
287
|
};
|
|
288
288
|
type RadioBandsEnum = Enum<typeof RadioBandsEnum>;
|
|
289
289
|
|
|
290
|
+
declare const RadioAudienceEnum: {
|
|
291
|
+
readonly CHILDREN: "CHILDREN";
|
|
292
|
+
readonly TEENS: "TEENS";
|
|
293
|
+
readonly YOUNG_ADULTS: "YOUNG_ADULTS";
|
|
294
|
+
readonly ADULTS: "ADULTS";
|
|
295
|
+
readonly SENIORS: "SENIORS";
|
|
296
|
+
readonly FAMILY: "FAMILY";
|
|
297
|
+
readonly RURAL: "RURAL";
|
|
298
|
+
readonly URBAN: "URBAN";
|
|
299
|
+
readonly RELIGIOUS: "RELIGIOUS";
|
|
300
|
+
readonly GENERAL: "GENERAL";
|
|
301
|
+
};
|
|
302
|
+
type RadioAudienceEnum = Enum<typeof RadioAudienceEnum>;
|
|
303
|
+
declare const RadioAudienceTranslationsEnum: {
|
|
304
|
+
readonly CHILDREN: "Infantil";
|
|
305
|
+
readonly TEENS: "Adolescentes";
|
|
306
|
+
readonly YOUNG_ADULTS: "Jovens adultos";
|
|
307
|
+
readonly ADULTS: "Adultos";
|
|
308
|
+
readonly SENIORS: "Idosos";
|
|
309
|
+
readonly FAMILY: "Família";
|
|
310
|
+
readonly RURAL: "Rural";
|
|
311
|
+
readonly URBAN: "Urbano";
|
|
312
|
+
readonly RELIGIOUS: "Religioso";
|
|
313
|
+
readonly GENERAL: "Geral";
|
|
314
|
+
};
|
|
315
|
+
type RadioAudienceTranslation = Enum<typeof RadioAudienceTranslationsEnum>;
|
|
316
|
+
|
|
317
|
+
declare const RadioSegmentEnum: {
|
|
318
|
+
readonly MUSIC: "MUSIC";
|
|
319
|
+
readonly NEWS: "NEWS";
|
|
320
|
+
readonly GOSPEL: "GOSPEL";
|
|
321
|
+
readonly SPORT: "SPORT";
|
|
322
|
+
readonly TALK: "TALK";
|
|
323
|
+
readonly ENTERTAINMENT: "ENTERTAINMENT";
|
|
324
|
+
readonly POPULAR: "POPULAR";
|
|
325
|
+
readonly REGIONAL: "REGIONAL";
|
|
326
|
+
readonly MIXED: "MIXED";
|
|
327
|
+
};
|
|
328
|
+
type RadioSegmentEnum = Enum<typeof RadioSegmentEnum>;
|
|
329
|
+
declare const RadioSegmentTranslationsEnum: {
|
|
330
|
+
readonly MUSIC: "Música";
|
|
331
|
+
readonly NEWS: "Jornalismo";
|
|
332
|
+
readonly GOSPEL: "Gospel";
|
|
333
|
+
readonly SPORT: "Esportes";
|
|
334
|
+
readonly TALK: "Debate";
|
|
335
|
+
readonly ENTERTAINMENT: "Entretenimento";
|
|
336
|
+
readonly POPULAR: "Popular";
|
|
337
|
+
readonly REGIONAL: "Regional";
|
|
338
|
+
readonly MIXED: "Mista";
|
|
339
|
+
};
|
|
340
|
+
type RadioSegmentTranslationEnum = Enum<typeof RadioSegmentTranslationsEnum>;
|
|
341
|
+
|
|
290
342
|
declare const UserRolesEnum: {
|
|
291
343
|
readonly ADMIN: "ADMIN";
|
|
292
344
|
readonly STAFF: "STAFF";
|
|
@@ -362,6 +414,35 @@ type RadioContractEntity = BaseEntity & {
|
|
|
362
414
|
radio?: RadioEntity;
|
|
363
415
|
};
|
|
364
416
|
|
|
417
|
+
interface RadioProfileEntity {
|
|
418
|
+
id: string;
|
|
419
|
+
neighborhoods: string[];
|
|
420
|
+
allowAiPersonNames: boolean;
|
|
421
|
+
frequency: string;
|
|
422
|
+
slogan?: string | null;
|
|
423
|
+
prefix?: string | null;
|
|
424
|
+
audiences: RadioAudienceEnum[];
|
|
425
|
+
segments: RadioSegmentEnum[];
|
|
426
|
+
createdAt: Date;
|
|
427
|
+
updatedAt: Date | null;
|
|
428
|
+
radioId: string;
|
|
429
|
+
radio?: RadioEntity;
|
|
430
|
+
radioExternalMedias?: RadioExternalMediasEntity;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
type RadioExternalMediasEntity = {
|
|
434
|
+
id: string;
|
|
435
|
+
website?: string | null;
|
|
436
|
+
instagram?: string | null;
|
|
437
|
+
facebook?: string | null;
|
|
438
|
+
whatsapp?: string | null;
|
|
439
|
+
tiktok?: string | null;
|
|
440
|
+
createdAt: Date;
|
|
441
|
+
updatedAt: Date | null;
|
|
442
|
+
radioProfileId: string;
|
|
443
|
+
radioProfile?: RadioProfileEntity;
|
|
444
|
+
};
|
|
445
|
+
|
|
365
446
|
type ProgramEpisodeBlockEntity = BaseEntity & {
|
|
366
447
|
index: number;
|
|
367
448
|
episode?: ProgramEpisodeEntity;
|
|
@@ -506,9 +587,6 @@ type RadioEntity = BaseEntity & {
|
|
|
506
587
|
fantasyName: string;
|
|
507
588
|
slug: string;
|
|
508
589
|
cnpj: string;
|
|
509
|
-
slogan: string;
|
|
510
|
-
prefix: string;
|
|
511
|
-
frequency: string;
|
|
512
590
|
band: RadioBandsEnum;
|
|
513
591
|
comercialEmail: string;
|
|
514
592
|
financialEmail: string;
|
|
@@ -519,6 +597,7 @@ type RadioEntity = BaseEntity & {
|
|
|
519
597
|
addressId: string;
|
|
520
598
|
address?: AddressEntity;
|
|
521
599
|
subscription?: RadioSubscriptionEntity;
|
|
600
|
+
radioProfile?: RadioProfileEntity;
|
|
522
601
|
};
|
|
523
602
|
|
|
524
603
|
type RadioSubscriptionEntity = BaseEntity & {
|
|
@@ -658,6 +737,7 @@ type ListChargesParams = PaginationParams & {
|
|
|
658
737
|
fromAt?: DateString;
|
|
659
738
|
toAt?: DateString;
|
|
660
739
|
};
|
|
740
|
+
type ListChargesResponse = PaginatedResponseDTO<ChargeEntity>;
|
|
661
741
|
|
|
662
742
|
type ListCouponsParams = PaginationParams & {
|
|
663
743
|
code?: string;
|
|
@@ -774,6 +854,23 @@ type ListRadiosResponse = PaginatedResponseDTO<Omit<RadioEntity, "logoImg" | "ad
|
|
|
774
854
|
subscription: RadioSubscriptionEntity;
|
|
775
855
|
}>>;
|
|
776
856
|
|
|
857
|
+
type UpdateRadioProfilePayload = {
|
|
858
|
+
neighborhoods?: string[];
|
|
859
|
+
allowAiPersonNames?: boolean;
|
|
860
|
+
slogan?: string | null;
|
|
861
|
+
prefix?: string | null;
|
|
862
|
+
frequency?: string | null;
|
|
863
|
+
audiences?: RadioAudienceEnum[];
|
|
864
|
+
segments?: RadioSegmentEnum[];
|
|
865
|
+
externalMedias?: {
|
|
866
|
+
website?: string | null;
|
|
867
|
+
instagram?: string | null;
|
|
868
|
+
facebook?: string | null;
|
|
869
|
+
whatsapp?: string | null;
|
|
870
|
+
tiktok?: string | null;
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
|
|
777
874
|
type UpsertPlanPayload = {
|
|
778
875
|
name: string;
|
|
779
876
|
description: string;
|
|
@@ -892,4 +989,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
|
|
|
892
989
|
|
|
893
990
|
declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
894
991
|
|
|
895
|
-
export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, ChargeTypesEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, JobsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListChargesParams, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type LoginPayload, type LoginResponse, type MusicProgramScriptElement, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, RadioBandsEnum, type RadioContractEntity, type RadioEntity, 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, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, 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 };
|
|
992
|
+
export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, ChargeTypesEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, JobsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListChargesParams, type ListChargesResponse, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type LoginPayload, type LoginResponse, type MusicProgramScriptElement, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, RadioAudienceEnum, type RadioAudienceTranslation, RadioAudienceTranslationsEnum, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioExternalMediasEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, type RadioProfileEntity, RadioSegmentEnum, type RadioSegmentTranslationEnum, RadioSegmentTranslationsEnum, type RadioSubscriptionEntity, RadioSubscriptionStatusEnum, RadioSubscriptionStatusTranslationsEnum, type RadioUserAvatarEntity, type RadioUserEntity, S3DirectoriesEnum, type S3FileEntity, type ScriptBlock, type SessionEntity, SessionTypesEnum, type SessionUser, type SoundtrackProgramScriptElementOptions, type SystemModuleEntity, type SystemUserEntity, TKPLAY_ERRORS_MAP, TKPLAY_ERRORS__PTBR, TKPLAY_ERROR_MESSAGE_SPLITTER, TkplayErrorCodesEnum, type TkplayErrorEntity, TkplayErrorNamesEnum, type TkplayMappedErrors, type TkplayMappedErrors__Ptbr, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateRadioPayload, type UpdateRadioProfilePayload, type UpdateRadioUserPasswordPayload, type UpdateRadioUserProfilePayload, type UpdateRadioUserResponse, type UpdateRadioUserRolePayload, type UpdateSignupLeadPayload, type UpdateSystemUserPaswordPayload, type UpdateSystemUserPayload, type UpdateSystemUserResponse, type UpsertPlanPayload, type UpsertPlanResponse, type UpsertSystemModulePayload, type UpsertSystemModuleResponse, type UpsertSystemUserResponse, type UserLegalAgreementEntity, UserRolesEnum, UserRolesTranslationsEnum, type VerifyEmailAvailabilityResponse, type VignetteProgramScriptElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -287,6 +287,58 @@ declare const RadioBandsEnum: {
|
|
|
287
287
|
};
|
|
288
288
|
type RadioBandsEnum = Enum<typeof RadioBandsEnum>;
|
|
289
289
|
|
|
290
|
+
declare const RadioAudienceEnum: {
|
|
291
|
+
readonly CHILDREN: "CHILDREN";
|
|
292
|
+
readonly TEENS: "TEENS";
|
|
293
|
+
readonly YOUNG_ADULTS: "YOUNG_ADULTS";
|
|
294
|
+
readonly ADULTS: "ADULTS";
|
|
295
|
+
readonly SENIORS: "SENIORS";
|
|
296
|
+
readonly FAMILY: "FAMILY";
|
|
297
|
+
readonly RURAL: "RURAL";
|
|
298
|
+
readonly URBAN: "URBAN";
|
|
299
|
+
readonly RELIGIOUS: "RELIGIOUS";
|
|
300
|
+
readonly GENERAL: "GENERAL";
|
|
301
|
+
};
|
|
302
|
+
type RadioAudienceEnum = Enum<typeof RadioAudienceEnum>;
|
|
303
|
+
declare const RadioAudienceTranslationsEnum: {
|
|
304
|
+
readonly CHILDREN: "Infantil";
|
|
305
|
+
readonly TEENS: "Adolescentes";
|
|
306
|
+
readonly YOUNG_ADULTS: "Jovens adultos";
|
|
307
|
+
readonly ADULTS: "Adultos";
|
|
308
|
+
readonly SENIORS: "Idosos";
|
|
309
|
+
readonly FAMILY: "Família";
|
|
310
|
+
readonly RURAL: "Rural";
|
|
311
|
+
readonly URBAN: "Urbano";
|
|
312
|
+
readonly RELIGIOUS: "Religioso";
|
|
313
|
+
readonly GENERAL: "Geral";
|
|
314
|
+
};
|
|
315
|
+
type RadioAudienceTranslation = Enum<typeof RadioAudienceTranslationsEnum>;
|
|
316
|
+
|
|
317
|
+
declare const RadioSegmentEnum: {
|
|
318
|
+
readonly MUSIC: "MUSIC";
|
|
319
|
+
readonly NEWS: "NEWS";
|
|
320
|
+
readonly GOSPEL: "GOSPEL";
|
|
321
|
+
readonly SPORT: "SPORT";
|
|
322
|
+
readonly TALK: "TALK";
|
|
323
|
+
readonly ENTERTAINMENT: "ENTERTAINMENT";
|
|
324
|
+
readonly POPULAR: "POPULAR";
|
|
325
|
+
readonly REGIONAL: "REGIONAL";
|
|
326
|
+
readonly MIXED: "MIXED";
|
|
327
|
+
};
|
|
328
|
+
type RadioSegmentEnum = Enum<typeof RadioSegmentEnum>;
|
|
329
|
+
declare const RadioSegmentTranslationsEnum: {
|
|
330
|
+
readonly MUSIC: "Música";
|
|
331
|
+
readonly NEWS: "Jornalismo";
|
|
332
|
+
readonly GOSPEL: "Gospel";
|
|
333
|
+
readonly SPORT: "Esportes";
|
|
334
|
+
readonly TALK: "Debate";
|
|
335
|
+
readonly ENTERTAINMENT: "Entretenimento";
|
|
336
|
+
readonly POPULAR: "Popular";
|
|
337
|
+
readonly REGIONAL: "Regional";
|
|
338
|
+
readonly MIXED: "Mista";
|
|
339
|
+
};
|
|
340
|
+
type RadioSegmentTranslationEnum = Enum<typeof RadioSegmentTranslationsEnum>;
|
|
341
|
+
|
|
290
342
|
declare const UserRolesEnum: {
|
|
291
343
|
readonly ADMIN: "ADMIN";
|
|
292
344
|
readonly STAFF: "STAFF";
|
|
@@ -362,6 +414,35 @@ type RadioContractEntity = BaseEntity & {
|
|
|
362
414
|
radio?: RadioEntity;
|
|
363
415
|
};
|
|
364
416
|
|
|
417
|
+
interface RadioProfileEntity {
|
|
418
|
+
id: string;
|
|
419
|
+
neighborhoods: string[];
|
|
420
|
+
allowAiPersonNames: boolean;
|
|
421
|
+
frequency: string;
|
|
422
|
+
slogan?: string | null;
|
|
423
|
+
prefix?: string | null;
|
|
424
|
+
audiences: RadioAudienceEnum[];
|
|
425
|
+
segments: RadioSegmentEnum[];
|
|
426
|
+
createdAt: Date;
|
|
427
|
+
updatedAt: Date | null;
|
|
428
|
+
radioId: string;
|
|
429
|
+
radio?: RadioEntity;
|
|
430
|
+
radioExternalMedias?: RadioExternalMediasEntity;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
type RadioExternalMediasEntity = {
|
|
434
|
+
id: string;
|
|
435
|
+
website?: string | null;
|
|
436
|
+
instagram?: string | null;
|
|
437
|
+
facebook?: string | null;
|
|
438
|
+
whatsapp?: string | null;
|
|
439
|
+
tiktok?: string | null;
|
|
440
|
+
createdAt: Date;
|
|
441
|
+
updatedAt: Date | null;
|
|
442
|
+
radioProfileId: string;
|
|
443
|
+
radioProfile?: RadioProfileEntity;
|
|
444
|
+
};
|
|
445
|
+
|
|
365
446
|
type ProgramEpisodeBlockEntity = BaseEntity & {
|
|
366
447
|
index: number;
|
|
367
448
|
episode?: ProgramEpisodeEntity;
|
|
@@ -506,9 +587,6 @@ type RadioEntity = BaseEntity & {
|
|
|
506
587
|
fantasyName: string;
|
|
507
588
|
slug: string;
|
|
508
589
|
cnpj: string;
|
|
509
|
-
slogan: string;
|
|
510
|
-
prefix: string;
|
|
511
|
-
frequency: string;
|
|
512
590
|
band: RadioBandsEnum;
|
|
513
591
|
comercialEmail: string;
|
|
514
592
|
financialEmail: string;
|
|
@@ -519,6 +597,7 @@ type RadioEntity = BaseEntity & {
|
|
|
519
597
|
addressId: string;
|
|
520
598
|
address?: AddressEntity;
|
|
521
599
|
subscription?: RadioSubscriptionEntity;
|
|
600
|
+
radioProfile?: RadioProfileEntity;
|
|
522
601
|
};
|
|
523
602
|
|
|
524
603
|
type RadioSubscriptionEntity = BaseEntity & {
|
|
@@ -658,6 +737,7 @@ type ListChargesParams = PaginationParams & {
|
|
|
658
737
|
fromAt?: DateString;
|
|
659
738
|
toAt?: DateString;
|
|
660
739
|
};
|
|
740
|
+
type ListChargesResponse = PaginatedResponseDTO<ChargeEntity>;
|
|
661
741
|
|
|
662
742
|
type ListCouponsParams = PaginationParams & {
|
|
663
743
|
code?: string;
|
|
@@ -774,6 +854,23 @@ type ListRadiosResponse = PaginatedResponseDTO<Omit<RadioEntity, "logoImg" | "ad
|
|
|
774
854
|
subscription: RadioSubscriptionEntity;
|
|
775
855
|
}>>;
|
|
776
856
|
|
|
857
|
+
type UpdateRadioProfilePayload = {
|
|
858
|
+
neighborhoods?: string[];
|
|
859
|
+
allowAiPersonNames?: boolean;
|
|
860
|
+
slogan?: string | null;
|
|
861
|
+
prefix?: string | null;
|
|
862
|
+
frequency?: string | null;
|
|
863
|
+
audiences?: RadioAudienceEnum[];
|
|
864
|
+
segments?: RadioSegmentEnum[];
|
|
865
|
+
externalMedias?: {
|
|
866
|
+
website?: string | null;
|
|
867
|
+
instagram?: string | null;
|
|
868
|
+
facebook?: string | null;
|
|
869
|
+
whatsapp?: string | null;
|
|
870
|
+
tiktok?: string | null;
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
|
|
777
874
|
type UpsertPlanPayload = {
|
|
778
875
|
name: string;
|
|
779
876
|
description: string;
|
|
@@ -892,4 +989,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
|
|
|
892
989
|
|
|
893
990
|
declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
894
991
|
|
|
895
|
-
export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, ChargeTypesEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, JobsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListChargesParams, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type LoginPayload, type LoginResponse, type MusicProgramScriptElement, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, RadioBandsEnum, type RadioContractEntity, type RadioEntity, 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, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, 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 };
|
|
992
|
+
export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, ChargeTypesEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLandingPageLeadPayload, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSignupLeadPayload, type CreateSystemUserPayload, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, JobsEnum, type LeadEntity, LeadStatusEnum, LeadStatusTranslationsEnum, LeadTypesEnum, LeadTypesTranslationsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListChargesParams, type ListChargesResponse, type ListCouponsParams, type ListCouponsResponse, type ListLeadsParams, type ListLeadsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type LoginPayload, type LoginResponse, type MusicProgramScriptElement, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, RadioAudienceEnum, type RadioAudienceTranslation, RadioAudienceTranslationsEnum, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioExternalMediasEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, type RadioProfileEntity, RadioSegmentEnum, type RadioSegmentTranslationEnum, RadioSegmentTranslationsEnum, type RadioSubscriptionEntity, RadioSubscriptionStatusEnum, RadioSubscriptionStatusTranslationsEnum, type RadioUserAvatarEntity, type RadioUserEntity, S3DirectoriesEnum, type S3FileEntity, type ScriptBlock, type SessionEntity, SessionTypesEnum, type SessionUser, type SoundtrackProgramScriptElementOptions, type SystemModuleEntity, type SystemUserEntity, TKPLAY_ERRORS_MAP, TKPLAY_ERRORS__PTBR, TKPLAY_ERROR_MESSAGE_SPLITTER, TkplayErrorCodesEnum, type TkplayErrorEntity, TkplayErrorNamesEnum, type TkplayMappedErrors, type TkplayMappedErrors__Ptbr, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateLandingPageLeadPayload, type UpdateRadioPayload, type UpdateRadioProfilePayload, type UpdateRadioUserPasswordPayload, type UpdateRadioUserProfilePayload, type UpdateRadioUserResponse, type UpdateRadioUserRolePayload, type UpdateSignupLeadPayload, type UpdateSystemUserPaswordPayload, type UpdateSystemUserPayload, type UpdateSystemUserResponse, type UpsertPlanPayload, type UpsertPlanResponse, type UpsertSystemModulePayload, type UpsertSystemModuleResponse, type UpsertSystemUserResponse, type UserLegalAgreementEntity, UserRolesEnum, UserRolesTranslationsEnum, type VerifyEmailAvailabilityResponse, type VignetteProgramScriptElement };
|
package/dist/index.js
CHANGED
|
@@ -41,7 +41,11 @@ __export(index_exports, {
|
|
|
41
41
|
LegalTermTypesTranslationsEnum: () => LegalTermTypesTranslationsEnum,
|
|
42
42
|
NewsCategoriesEnum: () => NewsCategoriesEnum,
|
|
43
43
|
ProgramScriptElementTypesEnum: () => ProgramScriptElementTypesEnum,
|
|
44
|
+
RadioAudienceEnum: () => RadioAudienceEnum,
|
|
45
|
+
RadioAudienceTranslationsEnum: () => RadioAudienceTranslationsEnum,
|
|
44
46
|
RadioBandsEnum: () => RadioBandsEnum,
|
|
47
|
+
RadioSegmentEnum: () => RadioSegmentEnum,
|
|
48
|
+
RadioSegmentTranslationsEnum: () => RadioSegmentTranslationsEnum,
|
|
45
49
|
RadioSubscriptionStatusEnum: () => RadioSubscriptionStatusEnum,
|
|
46
50
|
RadioSubscriptionStatusTranslationsEnum: () => RadioSubscriptionStatusTranslationsEnum,
|
|
47
51
|
S3DirectoriesEnum: () => S3DirectoriesEnum,
|
|
@@ -366,6 +370,56 @@ var RadioBandsEnum = {
|
|
|
366
370
|
FM: "FM"
|
|
367
371
|
};
|
|
368
372
|
|
|
373
|
+
// src/enums/radios/radio-audiences.ts
|
|
374
|
+
var RadioAudienceEnum = {
|
|
375
|
+
CHILDREN: "CHILDREN",
|
|
376
|
+
TEENS: "TEENS",
|
|
377
|
+
YOUNG_ADULTS: "YOUNG_ADULTS",
|
|
378
|
+
ADULTS: "ADULTS",
|
|
379
|
+
SENIORS: "SENIORS",
|
|
380
|
+
FAMILY: "FAMILY",
|
|
381
|
+
RURAL: "RURAL",
|
|
382
|
+
URBAN: "URBAN",
|
|
383
|
+
RELIGIOUS: "RELIGIOUS",
|
|
384
|
+
GENERAL: "GENERAL"
|
|
385
|
+
};
|
|
386
|
+
var RadioAudienceTranslationsEnum = {
|
|
387
|
+
CHILDREN: "Infantil",
|
|
388
|
+
TEENS: "Adolescentes",
|
|
389
|
+
YOUNG_ADULTS: "Jovens adultos",
|
|
390
|
+
ADULTS: "Adultos",
|
|
391
|
+
SENIORS: "Idosos",
|
|
392
|
+
FAMILY: "Fam\xEDlia",
|
|
393
|
+
RURAL: "Rural",
|
|
394
|
+
URBAN: "Urbano",
|
|
395
|
+
RELIGIOUS: "Religioso",
|
|
396
|
+
GENERAL: "Geral"
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
// src/enums/radios/radio-segments.ts
|
|
400
|
+
var RadioSegmentEnum = {
|
|
401
|
+
MUSIC: "MUSIC",
|
|
402
|
+
NEWS: "NEWS",
|
|
403
|
+
GOSPEL: "GOSPEL",
|
|
404
|
+
SPORT: "SPORT",
|
|
405
|
+
TALK: "TALK",
|
|
406
|
+
ENTERTAINMENT: "ENTERTAINMENT",
|
|
407
|
+
POPULAR: "POPULAR",
|
|
408
|
+
REGIONAL: "REGIONAL",
|
|
409
|
+
MIXED: "MIXED"
|
|
410
|
+
};
|
|
411
|
+
var RadioSegmentTranslationsEnum = {
|
|
412
|
+
MUSIC: "M\xFAsica",
|
|
413
|
+
NEWS: "Jornalismo",
|
|
414
|
+
GOSPEL: "Gospel",
|
|
415
|
+
SPORT: "Esportes",
|
|
416
|
+
TALK: "Debate",
|
|
417
|
+
ENTERTAINMENT: "Entretenimento",
|
|
418
|
+
POPULAR: "Popular",
|
|
419
|
+
REGIONAL: "Regional",
|
|
420
|
+
MIXED: "Mista"
|
|
421
|
+
};
|
|
422
|
+
|
|
369
423
|
// src/enums/users/user-roles.enum.ts
|
|
370
424
|
var UserRolesEnum = {
|
|
371
425
|
ADMIN: "ADMIN",
|
|
@@ -499,7 +553,11 @@ var TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
|
499
553
|
LegalTermTypesTranslationsEnum,
|
|
500
554
|
NewsCategoriesEnum,
|
|
501
555
|
ProgramScriptElementTypesEnum,
|
|
556
|
+
RadioAudienceEnum,
|
|
557
|
+
RadioAudienceTranslationsEnum,
|
|
502
558
|
RadioBandsEnum,
|
|
559
|
+
RadioSegmentEnum,
|
|
560
|
+
RadioSegmentTranslationsEnum,
|
|
503
561
|
RadioSubscriptionStatusEnum,
|
|
504
562
|
RadioSubscriptionStatusTranslationsEnum,
|
|
505
563
|
S3DirectoriesEnum,
|
package/dist/index.mjs
CHANGED
|
@@ -308,6 +308,56 @@ var RadioBandsEnum = {
|
|
|
308
308
|
FM: "FM"
|
|
309
309
|
};
|
|
310
310
|
|
|
311
|
+
// src/enums/radios/radio-audiences.ts
|
|
312
|
+
var RadioAudienceEnum = {
|
|
313
|
+
CHILDREN: "CHILDREN",
|
|
314
|
+
TEENS: "TEENS",
|
|
315
|
+
YOUNG_ADULTS: "YOUNG_ADULTS",
|
|
316
|
+
ADULTS: "ADULTS",
|
|
317
|
+
SENIORS: "SENIORS",
|
|
318
|
+
FAMILY: "FAMILY",
|
|
319
|
+
RURAL: "RURAL",
|
|
320
|
+
URBAN: "URBAN",
|
|
321
|
+
RELIGIOUS: "RELIGIOUS",
|
|
322
|
+
GENERAL: "GENERAL"
|
|
323
|
+
};
|
|
324
|
+
var RadioAudienceTranslationsEnum = {
|
|
325
|
+
CHILDREN: "Infantil",
|
|
326
|
+
TEENS: "Adolescentes",
|
|
327
|
+
YOUNG_ADULTS: "Jovens adultos",
|
|
328
|
+
ADULTS: "Adultos",
|
|
329
|
+
SENIORS: "Idosos",
|
|
330
|
+
FAMILY: "Fam\xEDlia",
|
|
331
|
+
RURAL: "Rural",
|
|
332
|
+
URBAN: "Urbano",
|
|
333
|
+
RELIGIOUS: "Religioso",
|
|
334
|
+
GENERAL: "Geral"
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
// src/enums/radios/radio-segments.ts
|
|
338
|
+
var RadioSegmentEnum = {
|
|
339
|
+
MUSIC: "MUSIC",
|
|
340
|
+
NEWS: "NEWS",
|
|
341
|
+
GOSPEL: "GOSPEL",
|
|
342
|
+
SPORT: "SPORT",
|
|
343
|
+
TALK: "TALK",
|
|
344
|
+
ENTERTAINMENT: "ENTERTAINMENT",
|
|
345
|
+
POPULAR: "POPULAR",
|
|
346
|
+
REGIONAL: "REGIONAL",
|
|
347
|
+
MIXED: "MIXED"
|
|
348
|
+
};
|
|
349
|
+
var RadioSegmentTranslationsEnum = {
|
|
350
|
+
MUSIC: "M\xFAsica",
|
|
351
|
+
NEWS: "Jornalismo",
|
|
352
|
+
GOSPEL: "Gospel",
|
|
353
|
+
SPORT: "Esportes",
|
|
354
|
+
TALK: "Debate",
|
|
355
|
+
ENTERTAINMENT: "Entretenimento",
|
|
356
|
+
POPULAR: "Popular",
|
|
357
|
+
REGIONAL: "Regional",
|
|
358
|
+
MIXED: "Mista"
|
|
359
|
+
};
|
|
360
|
+
|
|
311
361
|
// src/enums/users/user-roles.enum.ts
|
|
312
362
|
var UserRolesEnum = {
|
|
313
363
|
ADMIN: "ADMIN",
|
|
@@ -440,7 +490,11 @@ export {
|
|
|
440
490
|
LegalTermTypesTranslationsEnum,
|
|
441
491
|
NewsCategoriesEnum,
|
|
442
492
|
ProgramScriptElementTypesEnum,
|
|
493
|
+
RadioAudienceEnum,
|
|
494
|
+
RadioAudienceTranslationsEnum,
|
|
443
495
|
RadioBandsEnum,
|
|
496
|
+
RadioSegmentEnum,
|
|
497
|
+
RadioSegmentTranslationsEnum,
|
|
444
498
|
RadioSubscriptionStatusEnum,
|
|
445
499
|
RadioSubscriptionStatusTranslationsEnum,
|
|
446
500
|
S3DirectoriesEnum,
|