@talkplay/shared-types 1.0.84 → 1.0.85
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 +222 -154
- package/dist/index.d.ts +222 -154
- package/dist/index.js +314 -223
- package/dist/index.mjs +305 -223
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -75,6 +75,10 @@ declare const TkplayErrorCodesEnum: {
|
|
|
75
75
|
PROGRAM_CREATION_NOT_ALLOWED_DURING_TRIAL: string;
|
|
76
76
|
PROGRAM_CASTER_DOES_NOT_BELONG_TO_RADIO: string;
|
|
77
77
|
PROGRAM_DUPLICATED_CASTER_VOICES: string;
|
|
78
|
+
SCRITP_IS_EMPTY: string;
|
|
79
|
+
SCRITP_BLOCK_IS_EMPTY: string;
|
|
80
|
+
SCRITP_EXCEEDS_MAX_SIZE: string;
|
|
81
|
+
SCRIPT_HAS_FORBBIDEN_MODULE: string;
|
|
78
82
|
USER_NOT_FOUND: string;
|
|
79
83
|
USER_EMAIL_IS_TAKEN: string;
|
|
80
84
|
USER_PASSWORDS_DONT_MATCH: string;
|
|
@@ -326,21 +330,6 @@ declare const EpGenerationTypesEnum: {
|
|
|
326
330
|
};
|
|
327
331
|
type EpGenerationTypesEnum = Enum<typeof EpGenerationTypesEnum>;
|
|
328
332
|
|
|
329
|
-
declare const LegalTermTypesEnum: {
|
|
330
|
-
readonly PLATFORM_USE: "PLATFORM_USE";
|
|
331
|
-
readonly COOKIES_POLICY: "COOKIES_POLICY";
|
|
332
|
-
readonly PRIVACY_POLICY: "PRIVACY_POLICY";
|
|
333
|
-
readonly CANCELLATION_POLICY: "CANCELLATION_POLICY";
|
|
334
|
-
};
|
|
335
|
-
type LegalTermTypesEnum = Enum<typeof LegalTermTypesEnum>;
|
|
336
|
-
declare const LegalTermTypesTranslationsEnum: {
|
|
337
|
-
readonly PLATFORM_USE: "Termos de Uso";
|
|
338
|
-
readonly COOKIES_POLICY: "Política de Cookies";
|
|
339
|
-
readonly PRIVACY_POLICY: "Política de Privacidade";
|
|
340
|
-
readonly CANCELLATION_POLICY: "Política de Cancelamento e Reembolso";
|
|
341
|
-
};
|
|
342
|
-
type LegalTermTypesTranslationsEnum = Enum<typeof LegalTermTypesTranslationsEnum>;
|
|
343
|
-
|
|
344
333
|
declare const LeadStatusEnum: {
|
|
345
334
|
readonly PENDING: "PENDING";
|
|
346
335
|
readonly IN_PROSPECTION: "IN_PROSPECTION";
|
|
@@ -367,6 +356,21 @@ declare const LeadTypesTranslationsEnum: {
|
|
|
367
356
|
};
|
|
368
357
|
type LeadTypesTranslationsEnum = Enum<typeof LeadTypesTranslationsEnum>;
|
|
369
358
|
|
|
359
|
+
declare const LegalTermTypesEnum: {
|
|
360
|
+
readonly PLATFORM_USE: "PLATFORM_USE";
|
|
361
|
+
readonly COOKIES_POLICY: "COOKIES_POLICY";
|
|
362
|
+
readonly PRIVACY_POLICY: "PRIVACY_POLICY";
|
|
363
|
+
readonly CANCELLATION_POLICY: "CANCELLATION_POLICY";
|
|
364
|
+
};
|
|
365
|
+
type LegalTermTypesEnum = Enum<typeof LegalTermTypesEnum>;
|
|
366
|
+
declare const LegalTermTypesTranslationsEnum: {
|
|
367
|
+
readonly PLATFORM_USE: "Termos de Uso";
|
|
368
|
+
readonly COOKIES_POLICY: "Política de Cookies";
|
|
369
|
+
readonly PRIVACY_POLICY: "Política de Privacidade";
|
|
370
|
+
readonly CANCELLATION_POLICY: "Política de Cancelamento e Reembolso";
|
|
371
|
+
};
|
|
372
|
+
type LegalTermTypesTranslationsEnum = Enum<typeof LegalTermTypesTranslationsEnum>;
|
|
373
|
+
|
|
370
374
|
declare const AudioBitratesEnum: {
|
|
371
375
|
readonly "32k": "32k";
|
|
372
376
|
readonly "48k": "48k";
|
|
@@ -417,109 +421,6 @@ declare const FFmpegAudioCurveEnum: {
|
|
|
417
421
|
};
|
|
418
422
|
type FFmpegAudioCurveEnum = Enum<typeof FFmpegAudioCurveEnum>;
|
|
419
423
|
|
|
420
|
-
declare const RadioBandsEnum: {
|
|
421
|
-
readonly AM: "AM";
|
|
422
|
-
readonly FM: "FM";
|
|
423
|
-
};
|
|
424
|
-
type RadioBandsEnum = Enum<typeof RadioBandsEnum>;
|
|
425
|
-
|
|
426
|
-
declare const UserRolesEnum: {
|
|
427
|
-
readonly ADMIN: "ADMIN";
|
|
428
|
-
readonly STAFF: "STAFF";
|
|
429
|
-
};
|
|
430
|
-
type UserRolesEnum = Enum<typeof UserRolesEnum>;
|
|
431
|
-
declare const UserRolesTranslationsEnum: {
|
|
432
|
-
readonly ADMIN: "Administrador";
|
|
433
|
-
readonly STAFF: "Colaborador";
|
|
434
|
-
};
|
|
435
|
-
type UserRolesTranslationsEnum = Enum<typeof UserRolesTranslationsEnum>;
|
|
436
|
-
|
|
437
|
-
declare const ProgramDayPeriodEnum: {
|
|
438
|
-
readonly DAWN: "DAWN";
|
|
439
|
-
readonly MORNING: "MORNING";
|
|
440
|
-
readonly AFTERNOON: "AFTERNOON";
|
|
441
|
-
readonly EVENING: "EVENING";
|
|
442
|
-
readonly NIGHT: "NIGHT";
|
|
443
|
-
};
|
|
444
|
-
type ProgramDayPeriodEnum = Enum<typeof ProgramDayPeriodEnum>;
|
|
445
|
-
declare const ProgramDayPeriodTranslationsEnum: {
|
|
446
|
-
readonly DAWN: "Madrugada";
|
|
447
|
-
readonly MORNING: "Manhã";
|
|
448
|
-
readonly AFTERNOON: "Tarde";
|
|
449
|
-
readonly EVENING: "Início da noite";
|
|
450
|
-
readonly NIGHT: "Noite";
|
|
451
|
-
};
|
|
452
|
-
type ProgramDayPeriodTranslationsEnum = Enum<typeof ProgramDayPeriodTranslationsEnum>;
|
|
453
|
-
|
|
454
|
-
declare const ProgramSegmentEnum: {
|
|
455
|
-
readonly MUSIC: "MUSIC";
|
|
456
|
-
readonly NEWS: "NEWS";
|
|
457
|
-
readonly HOROSCOPE: "HOROSCOPE";
|
|
458
|
-
readonly RELIGIOUS: "RELIGIOUS";
|
|
459
|
-
readonly GOSPEL: "GOSPEL";
|
|
460
|
-
readonly SPORTS: "SPORTS";
|
|
461
|
-
readonly FLASHBACK: "FLASHBACK";
|
|
462
|
-
readonly POPULAR: "POPULAR";
|
|
463
|
-
readonly VARIETY: "VARIETY";
|
|
464
|
-
readonly REGIONAL: "REGIONAL";
|
|
465
|
-
readonly CORPORATE: "CORPORATE";
|
|
466
|
-
readonly GOVERNMENT: "GOVERNMENT";
|
|
467
|
-
readonly CHILDREN: "CHILDREN";
|
|
468
|
-
readonly HUMOR: "HUMOR";
|
|
469
|
-
readonly ENTERTAINMENT: "ENTERTAINMENT";
|
|
470
|
-
readonly CULTURAL: "CULTURAL";
|
|
471
|
-
readonly TALK: "TALK";
|
|
472
|
-
};
|
|
473
|
-
type ProgramSegmentEnum = Enum<typeof ProgramSegmentEnum>;
|
|
474
|
-
declare const ProgramSegmentTranslationsEnum: {
|
|
475
|
-
readonly MUSIC: "Músicas";
|
|
476
|
-
readonly POPULAR: "Popular";
|
|
477
|
-
readonly RELIGIOUS: "Religioso";
|
|
478
|
-
readonly NEWS: "Jornalístico";
|
|
479
|
-
readonly HOROSCOPE: "Horóscopo";
|
|
480
|
-
readonly SPORTS: "Esportivo";
|
|
481
|
-
readonly EDUCATIONAL: "Educativo";
|
|
482
|
-
readonly FLASHBACK: "FlashBack";
|
|
483
|
-
readonly GOSPEL: "Gospel";
|
|
484
|
-
readonly REGIONAL: "Regional";
|
|
485
|
-
readonly VARIETY: "Variedades";
|
|
486
|
-
readonly CORPORATE: "Corporativo";
|
|
487
|
-
readonly GOVERNMENT: "Governamental";
|
|
488
|
-
readonly CHILDREN: "Infantil";
|
|
489
|
-
readonly HUMOR: "Humor";
|
|
490
|
-
readonly ENTERTAINMENT: "Entretenimento";
|
|
491
|
-
readonly CULTURAL: "Cultural";
|
|
492
|
-
readonly TALK: "Talk / Debate";
|
|
493
|
-
};
|
|
494
|
-
type ProgramSegmentTranslationsEnum = Enum<typeof ProgramSegmentTranslationsEnum>;
|
|
495
|
-
|
|
496
|
-
declare const ProgramAudienceEnum: {
|
|
497
|
-
readonly CHILDREN: "CHILDREN";
|
|
498
|
-
readonly TEENS: "TEENS";
|
|
499
|
-
readonly YOUNG_ADULTS: "YOUNG_ADULTS";
|
|
500
|
-
readonly ADULTS: "ADULTS";
|
|
501
|
-
readonly SENIORS: "SENIORS";
|
|
502
|
-
readonly FAMILY: "FAMILY";
|
|
503
|
-
readonly RURAL: "RURAL";
|
|
504
|
-
readonly URBAN: "URBAN";
|
|
505
|
-
readonly RELIGIOUS: "RELIGIOUS";
|
|
506
|
-
readonly GENERAL: "GENERAL";
|
|
507
|
-
};
|
|
508
|
-
type ProgramAudienceEnum = Enum<typeof ProgramAudienceEnum>;
|
|
509
|
-
declare const ProgramAudienceTranslationsEnum: {
|
|
510
|
-
readonly CHILDREN: "Infantil";
|
|
511
|
-
readonly TEENS: "Adolescentes";
|
|
512
|
-
readonly YOUNG_ADULTS: "Jovens adultos";
|
|
513
|
-
readonly ADULTS: "Adultos";
|
|
514
|
-
readonly SENIORS: "Idosos";
|
|
515
|
-
readonly FAMILY: "Família";
|
|
516
|
-
readonly RURAL: "Rural";
|
|
517
|
-
readonly URBAN: "Urbano";
|
|
518
|
-
readonly RELIGIOUS: "Religioso";
|
|
519
|
-
readonly GENERAL: "Geral";
|
|
520
|
-
};
|
|
521
|
-
type ProgramAudienceTranslation = Enum<typeof ProgramAudienceTranslationsEnum>;
|
|
522
|
-
|
|
523
424
|
declare const MusicSubGenresEnum: {
|
|
524
425
|
readonly POP: "POP";
|
|
525
426
|
readonly POP_ROCK: "POP_ROCK";
|
|
@@ -630,6 +531,168 @@ declare const MusicCategoriesTranslationsEnum: {
|
|
|
630
531
|
};
|
|
631
532
|
type MusicCategoriesTranslationEnum = Enum<typeof MusicCategoriesTranslationsEnum>;
|
|
632
533
|
|
|
534
|
+
declare const NewsCategoriesEnum: {
|
|
535
|
+
readonly SPORTS: "SPORTS";
|
|
536
|
+
readonly GOSSIP: "GOSSIP";
|
|
537
|
+
readonly POLICY: "POLICY";
|
|
538
|
+
};
|
|
539
|
+
type NewsCategoriesEnum = Enum<typeof NewsCategoriesEnum>;
|
|
540
|
+
|
|
541
|
+
declare const ProgramDayPeriodEnum: {
|
|
542
|
+
readonly DAWN: "DAWN";
|
|
543
|
+
readonly MORNING: "MORNING";
|
|
544
|
+
readonly AFTERNOON: "AFTERNOON";
|
|
545
|
+
readonly EVENING: "EVENING";
|
|
546
|
+
readonly NIGHT: "NIGHT";
|
|
547
|
+
};
|
|
548
|
+
type ProgramDayPeriodEnum = Enum<typeof ProgramDayPeriodEnum>;
|
|
549
|
+
declare const ProgramDayPeriodTranslationsEnum: {
|
|
550
|
+
readonly DAWN: "Madrugada";
|
|
551
|
+
readonly MORNING: "Manhã";
|
|
552
|
+
readonly AFTERNOON: "Tarde";
|
|
553
|
+
readonly EVENING: "Início da noite";
|
|
554
|
+
readonly NIGHT: "Noite";
|
|
555
|
+
};
|
|
556
|
+
type ProgramDayPeriodTranslationsEnum = Enum<typeof ProgramDayPeriodTranslationsEnum>;
|
|
557
|
+
|
|
558
|
+
declare const ProgramSegmentEnum: {
|
|
559
|
+
readonly MUSIC: "MUSIC";
|
|
560
|
+
readonly NEWS: "NEWS";
|
|
561
|
+
readonly HOROSCOPE: "HOROSCOPE";
|
|
562
|
+
readonly RELIGIOUS: "RELIGIOUS";
|
|
563
|
+
readonly GOSPEL: "GOSPEL";
|
|
564
|
+
readonly SPORTS: "SPORTS";
|
|
565
|
+
readonly FLASHBACK: "FLASHBACK";
|
|
566
|
+
readonly POPULAR: "POPULAR";
|
|
567
|
+
readonly VARIETY: "VARIETY";
|
|
568
|
+
readonly REGIONAL: "REGIONAL";
|
|
569
|
+
readonly CORPORATE: "CORPORATE";
|
|
570
|
+
readonly GOVERNMENT: "GOVERNMENT";
|
|
571
|
+
readonly CHILDREN: "CHILDREN";
|
|
572
|
+
readonly HUMOR: "HUMOR";
|
|
573
|
+
readonly ENTERTAINMENT: "ENTERTAINMENT";
|
|
574
|
+
readonly CULTURAL: "CULTURAL";
|
|
575
|
+
readonly TALK: "TALK";
|
|
576
|
+
};
|
|
577
|
+
type ProgramSegmentEnum = Enum<typeof ProgramSegmentEnum>;
|
|
578
|
+
declare const ProgramSegmentTranslationsEnum: {
|
|
579
|
+
readonly MUSIC: "Músicas";
|
|
580
|
+
readonly POPULAR: "Popular";
|
|
581
|
+
readonly RELIGIOUS: "Religioso";
|
|
582
|
+
readonly NEWS: "Jornalístico";
|
|
583
|
+
readonly HOROSCOPE: "Horóscopo";
|
|
584
|
+
readonly SPORTS: "Esportivo";
|
|
585
|
+
readonly EDUCATIONAL: "Educativo";
|
|
586
|
+
readonly FLASHBACK: "FlashBack";
|
|
587
|
+
readonly GOSPEL: "Gospel";
|
|
588
|
+
readonly REGIONAL: "Regional";
|
|
589
|
+
readonly VARIETY: "Variedades";
|
|
590
|
+
readonly CORPORATE: "Corporativo";
|
|
591
|
+
readonly GOVERNMENT: "Governamental";
|
|
592
|
+
readonly CHILDREN: "Infantil";
|
|
593
|
+
readonly HUMOR: "Humor";
|
|
594
|
+
readonly ENTERTAINMENT: "Entretenimento";
|
|
595
|
+
readonly CULTURAL: "Cultural";
|
|
596
|
+
readonly TALK: "Talk / Debate";
|
|
597
|
+
};
|
|
598
|
+
type ProgramSegmentTranslationsEnum = Enum<typeof ProgramSegmentTranslationsEnum>;
|
|
599
|
+
|
|
600
|
+
declare const ProgramAudienceEnum: {
|
|
601
|
+
readonly CHILDREN: "CHILDREN";
|
|
602
|
+
readonly TEENS: "TEENS";
|
|
603
|
+
readonly YOUNG_ADULTS: "YOUNG_ADULTS";
|
|
604
|
+
readonly ADULTS: "ADULTS";
|
|
605
|
+
readonly SENIORS: "SENIORS";
|
|
606
|
+
readonly FAMILY: "FAMILY";
|
|
607
|
+
readonly RURAL: "RURAL";
|
|
608
|
+
readonly URBAN: "URBAN";
|
|
609
|
+
readonly RELIGIOUS: "RELIGIOUS";
|
|
610
|
+
readonly GENERAL: "GENERAL";
|
|
611
|
+
};
|
|
612
|
+
type ProgramAudienceEnum = Enum<typeof ProgramAudienceEnum>;
|
|
613
|
+
declare const ProgramAudienceTranslationsEnum: {
|
|
614
|
+
readonly CHILDREN: "Infantil";
|
|
615
|
+
readonly TEENS: "Adolescentes";
|
|
616
|
+
readonly YOUNG_ADULTS: "Jovens adultos";
|
|
617
|
+
readonly ADULTS: "Adultos";
|
|
618
|
+
readonly SENIORS: "Idosos";
|
|
619
|
+
readonly FAMILY: "Família";
|
|
620
|
+
readonly RURAL: "Rural";
|
|
621
|
+
readonly URBAN: "Urbano";
|
|
622
|
+
readonly RELIGIOUS: "Religioso";
|
|
623
|
+
readonly GENERAL: "Geral";
|
|
624
|
+
};
|
|
625
|
+
type ProgramAudienceTranslation = Enum<typeof ProgramAudienceTranslationsEnum>;
|
|
626
|
+
|
|
627
|
+
declare const ProgramScriptElementCategoriesEnum: {
|
|
628
|
+
readonly VOICE_TRACK: "VOICE_TRACK";
|
|
629
|
+
readonly MUSIC: "MUSIC";
|
|
630
|
+
readonly VIGNETTE: "VIGNETTE";
|
|
631
|
+
};
|
|
632
|
+
type ProgramScriptElementCategoriesEnum = Enum<typeof ProgramScriptElementCategoriesEnum>;
|
|
633
|
+
declare const ProgramScriptElementCategoriesTranslationsEnum: {
|
|
634
|
+
readonly VOICE_TRACK: "Faixa de Voz";
|
|
635
|
+
readonly MUSIC: "Música";
|
|
636
|
+
readonly VIGNETTE: "Vinheta";
|
|
637
|
+
};
|
|
638
|
+
type ProgramScriptElementCategoriesTranslationEnum = Enum<typeof ProgramScriptElementCategoriesTranslationsEnum>;
|
|
639
|
+
|
|
640
|
+
declare const ProgramScriptElementTypesEnum: {
|
|
641
|
+
readonly OFF: "OFF";
|
|
642
|
+
readonly NEWS: "NEWS";
|
|
643
|
+
readonly MUSIC: "MUSIC";
|
|
644
|
+
readonly VIGNETTE_BLOCK_IN: "VIGNETTE_BLOCK_IN";
|
|
645
|
+
readonly VIGNETTE_BLOCK_OUT: "VIGNETTE_BLOCK_OUT";
|
|
646
|
+
readonly VIGNETTE_PROGRAM_IN: "VIGNETTE_PROGRAM_IN";
|
|
647
|
+
readonly VIGNETTE_PROGRAM_OUT: "VIGNETTE_PROGRAM_OUT";
|
|
648
|
+
};
|
|
649
|
+
type ProgramScriptElementTypesEnum = Enum<typeof ProgramScriptElementTypesEnum>;
|
|
650
|
+
|
|
651
|
+
declare const VignetteTypesEnum: {
|
|
652
|
+
readonly PROGRAM_IN: "PROGRAM_IN";
|
|
653
|
+
readonly PROGRAM_OUT: "PROGRAM_OUT";
|
|
654
|
+
readonly BLOCK_IN: "BLOCK_IN";
|
|
655
|
+
readonly BLOCK_OUT: "BLOCK_OUT";
|
|
656
|
+
readonly TRANSITION: "TRANSITION";
|
|
657
|
+
};
|
|
658
|
+
type VignetteTypesEnum = Enum<typeof VignetteTypesEnum>;
|
|
659
|
+
declare const VignetteTypesTranslationsEnum: {
|
|
660
|
+
readonly PROGRAM_IN: "INTRODUÇÃO DO PROGRAMA";
|
|
661
|
+
readonly PROGRAM_OUT: "ENCERRAMENTO DO PROGRAMA";
|
|
662
|
+
readonly BLOCK_IN: "VOLTA DO INTERVALO";
|
|
663
|
+
readonly BLOCK_OUT: "IDA PARA O INTERVALO";
|
|
664
|
+
readonly TRANSITION: "PASSAGEM";
|
|
665
|
+
};
|
|
666
|
+
type VignetteTypesTranslationEnum = Enum<typeof VignetteTypesTranslationsEnum>;
|
|
667
|
+
|
|
668
|
+
declare const SoundtrackStateEnum: {
|
|
669
|
+
readonly ON: "ON";
|
|
670
|
+
readonly OFF: "OFF";
|
|
671
|
+
};
|
|
672
|
+
type SoundtrackStateEnum = Enum<typeof SoundtrackStateEnum>;
|
|
673
|
+
declare const SoundtrackStateTranslationsEnum: {
|
|
674
|
+
readonly ON: "Com trilhas sonoras";
|
|
675
|
+
readonly OFF: "Sem trilhas sonoras";
|
|
676
|
+
};
|
|
677
|
+
type SoundtrackStateTranslationEnum = Enum<typeof SoundtrackStateTranslationsEnum>;
|
|
678
|
+
|
|
679
|
+
declare const RadioBandsEnum: {
|
|
680
|
+
readonly AM: "AM";
|
|
681
|
+
readonly FM: "FM";
|
|
682
|
+
};
|
|
683
|
+
type RadioBandsEnum = Enum<typeof RadioBandsEnum>;
|
|
684
|
+
|
|
685
|
+
declare const UserRolesEnum: {
|
|
686
|
+
readonly ADMIN: "ADMIN";
|
|
687
|
+
readonly STAFF: "STAFF";
|
|
688
|
+
};
|
|
689
|
+
type UserRolesEnum = Enum<typeof UserRolesEnum>;
|
|
690
|
+
declare const UserRolesTranslationsEnum: {
|
|
691
|
+
readonly ADMIN: "Administrador";
|
|
692
|
+
readonly STAFF: "Colaborador";
|
|
693
|
+
};
|
|
694
|
+
type UserRolesTranslationsEnum = Enum<typeof UserRolesTranslationsEnum>;
|
|
695
|
+
|
|
633
696
|
declare const TtsProvidersEnum: {
|
|
634
697
|
readonly FISH_AUDIO: "FISH_AUDIO";
|
|
635
698
|
};
|
|
@@ -757,46 +820,14 @@ type ProgramScriptEntity = BaseEntity & {
|
|
|
757
820
|
|
|
758
821
|
type ProgramScriptBlockEntity = BaseEntity & {
|
|
759
822
|
position: number;
|
|
823
|
+
name: string;
|
|
760
824
|
scriptId: string;
|
|
761
825
|
script?: ProgramScriptEntity;
|
|
762
826
|
elements: ProgramScriptBlockElementEntity[];
|
|
763
827
|
};
|
|
764
828
|
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
readonly MUSIC: "MUSIC";
|
|
768
|
-
readonly VIGNETTE: "VIGNETTE";
|
|
769
|
-
};
|
|
770
|
-
type ProgramScriptElementCategoriesEnum = Enum<typeof ProgramScriptElementCategoriesEnum>;
|
|
771
|
-
|
|
772
|
-
declare const ProgramScriptElementTypesEnum: {
|
|
773
|
-
readonly OFF: "OFF";
|
|
774
|
-
readonly NEWS: "NEWS";
|
|
775
|
-
readonly MUSIC: "MUSIC";
|
|
776
|
-
readonly VIGNETTE_BLOCK_IN: "VIGNETTE_BLOCK_IN";
|
|
777
|
-
readonly VIGNETTE_BLOCK_OUT: "VIGNETTE_BLOCK_OUT";
|
|
778
|
-
readonly VIGNETTE_PROGRAM_IN: "VIGNETTE_PROGRAM_IN";
|
|
779
|
-
readonly VIGNETTE_PROGRAM_OUT: "VIGNETTE_PROGRAM_OUT";
|
|
780
|
-
};
|
|
781
|
-
type ProgramScriptElementTypesEnum = Enum<typeof ProgramScriptElementTypesEnum>;
|
|
782
|
-
|
|
783
|
-
declare const VignetteTypesEnum: {
|
|
784
|
-
readonly PROGRAM_IN: "PROGRAM_IN";
|
|
785
|
-
readonly PROGRAM_OUT: "PROGRAM_OUT";
|
|
786
|
-
readonly BLOCK_IN: "BLOCK_IN";
|
|
787
|
-
readonly BLOCK_OUT: "BLOCK_OUT";
|
|
788
|
-
readonly TRANSITION: "TRANSITION";
|
|
789
|
-
};
|
|
790
|
-
type VignetteTypesEnum = Enum<typeof VignetteTypesEnum>;
|
|
791
|
-
|
|
792
|
-
declare const SoundtrackStateEnum: {
|
|
793
|
-
readonly ON: "ON";
|
|
794
|
-
readonly OFF: "OFF";
|
|
795
|
-
};
|
|
796
|
-
type SoundtrackStateEnum = Enum<typeof SoundtrackStateEnum>;
|
|
797
|
-
|
|
798
|
-
type ProgramScriptBlockElementEntity = {
|
|
799
|
-
id: string;
|
|
829
|
+
type ProgramScriptBlockElementEntity = BaseEntity & {
|
|
830
|
+
position: number;
|
|
800
831
|
category: ProgramScriptElementCategoriesEnum;
|
|
801
832
|
type: VignetteTypesEnum | VoiceTrackTypesEnum;
|
|
802
833
|
soundtrack?: SoundtrackStateEnum | null;
|
|
@@ -805,6 +836,16 @@ type ProgramScriptBlockElementEntity = {
|
|
|
805
836
|
block?: ProgramScriptBlockEntity;
|
|
806
837
|
};
|
|
807
838
|
|
|
839
|
+
type ProgramScriptBlockTagEntity = BaseEntity & {
|
|
840
|
+
id: string;
|
|
841
|
+
positionStart: number;
|
|
842
|
+
positionEnd: number;
|
|
843
|
+
name: string;
|
|
844
|
+
color: string;
|
|
845
|
+
blockId: string;
|
|
846
|
+
block?: ProgramScriptBlockEntity;
|
|
847
|
+
};
|
|
848
|
+
|
|
808
849
|
type ProgramDayScheduleEntity = BaseEntity & {
|
|
809
850
|
weekDay: WeekDayEnum;
|
|
810
851
|
isActive: boolean;
|
|
@@ -1244,6 +1285,32 @@ type ListLegalTermsParams = {
|
|
|
1244
1285
|
};
|
|
1245
1286
|
type ListLegalTermsResponse = PaginatedResponseDTO<LegalTermEntity>;
|
|
1246
1287
|
|
|
1288
|
+
type UpsertProgramScriptBlockTagsPayload = {
|
|
1289
|
+
id: string | null;
|
|
1290
|
+
positionStart: number;
|
|
1291
|
+
positionEnd: number;
|
|
1292
|
+
name: string;
|
|
1293
|
+
color: string;
|
|
1294
|
+
};
|
|
1295
|
+
type UpsertProgramScriptBlockElementPayload = {
|
|
1296
|
+
id: string | null;
|
|
1297
|
+
category: ProgramScriptElementCategoriesEnum;
|
|
1298
|
+
type: VignetteTypesEnum | VoiceTrackTypesEnum;
|
|
1299
|
+
soundtrack?: SoundtrackStateEnum | null;
|
|
1300
|
+
customColor?: string | null;
|
|
1301
|
+
};
|
|
1302
|
+
type UpsertProgramScriptBlockPayload = {
|
|
1303
|
+
id: string | null;
|
|
1304
|
+
name: string | null;
|
|
1305
|
+
elements: UpsertProgramScriptBlockElementPayload[];
|
|
1306
|
+
tags: UpsertProgramScriptBlockTagsPayload[];
|
|
1307
|
+
};
|
|
1308
|
+
type UpsertProgramScriptPayload = {
|
|
1309
|
+
name: string;
|
|
1310
|
+
weekDay: WeekDayEnum;
|
|
1311
|
+
blocks: UpsertProgramScriptBlockPayload[];
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1247
1314
|
type ListProgramsParams = PaginationParams & {
|
|
1248
1315
|
radioId?: string;
|
|
1249
1316
|
name?: string;
|
|
@@ -1495,6 +1562,7 @@ type EpisodeErrorEvt = {};
|
|
|
1495
1562
|
type EpisodeProgressEvt = {};
|
|
1496
1563
|
|
|
1497
1564
|
declare const PRICE_PER_PROGRAM_HOUR = 12000;
|
|
1565
|
+
declare const MAX_SCRIPT_BLOCKS = 30;
|
|
1498
1566
|
declare const MIN_CASTER_SAMPLES_DURATION_IN_SECONDS = 30;
|
|
1499
1567
|
declare const MAX_CASTER_SAMPLES_DURATION_IN_SECONDS = 270;
|
|
1500
1568
|
|
|
@@ -1506,4 +1574,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
|
|
|
1506
1574
|
|
|
1507
1575
|
declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
1508
1576
|
|
|
1509
|
-
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 UpdateProgramProfilePayload, 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 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 };
|
|
1577
|
+
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, 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 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 UpsertProgramScriptPayload, 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 };
|