@talkplay/shared-types 1.0.46 → 1.0.48
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 +343 -65
- package/dist/index.d.ts +343 -65
- package/dist/index.js +323 -36
- package/dist/index.mjs +300 -31
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -160,6 +160,112 @@ declare const RadioSubscriptionStatusTranslationsEnum: {
|
|
|
160
160
|
};
|
|
161
161
|
type RadioSubscriptionStatusTranslationsEnum = Enum<typeof RadioSubscriptionStatusTranslationsEnum>;
|
|
162
162
|
|
|
163
|
+
declare const CommunicationToneEnum: {
|
|
164
|
+
readonly FORMAL: "FORMAL";
|
|
165
|
+
readonly COLLOQUIAL: "COLLOQUIAL";
|
|
166
|
+
readonly FRIENDLY: "FRIENDLY";
|
|
167
|
+
readonly INSPIRING: "INSPIRING";
|
|
168
|
+
readonly INSTITUTIONAL: "INSTITUTIONAL";
|
|
169
|
+
readonly WARM: "WARM";
|
|
170
|
+
readonly ENERGETIC: "ENERGETIC";
|
|
171
|
+
readonly LIGHT: "LIGHT";
|
|
172
|
+
};
|
|
173
|
+
type CommunicationToneEnum = Enum<typeof CommunicationToneEnum>;
|
|
174
|
+
declare const CommunicationToneTranslationsEnum: {
|
|
175
|
+
readonly FORMAL: "Formal";
|
|
176
|
+
readonly COLLOQUIAL: "Coloquial";
|
|
177
|
+
readonly FRIENDLY: "Amigável";
|
|
178
|
+
readonly INSPIRING: "Inspirador";
|
|
179
|
+
readonly INSTITUTIONAL: "Institucional";
|
|
180
|
+
readonly WARM: "Acolhedor";
|
|
181
|
+
readonly ENERGETIC: "Energético";
|
|
182
|
+
readonly LIGHT: "Leve";
|
|
183
|
+
};
|
|
184
|
+
type CommunicationToneTranslationsEnum = Enum<typeof CommunicationToneTranslationsEnum>;
|
|
185
|
+
|
|
186
|
+
declare const EmotionStyleEnum: {
|
|
187
|
+
readonly NEUTRAL: "NEUTRAL";
|
|
188
|
+
readonly HAPPY: "HAPPY";
|
|
189
|
+
readonly MOTIVATIONAL: "MOTIVATIONAL";
|
|
190
|
+
readonly HOPEFUL: "HOPEFUL";
|
|
191
|
+
readonly URGENT: "URGENT";
|
|
192
|
+
readonly EMPATHETIC: "EMPATHETIC";
|
|
193
|
+
};
|
|
194
|
+
type EmotionStyleEnum = Enum<typeof EmotionStyleEnum>;
|
|
195
|
+
declare const EmotionStyleTranslationsEnum: {
|
|
196
|
+
readonly NEUTRAL: "Neutro";
|
|
197
|
+
readonly HAPPY: "Feliz";
|
|
198
|
+
readonly MOTIVATIONAL: "Motivacional";
|
|
199
|
+
readonly HOPEFUL: "Esperançoso";
|
|
200
|
+
readonly URGENT: "Urgente";
|
|
201
|
+
readonly EMPATHETIC: "Empático";
|
|
202
|
+
};
|
|
203
|
+
type EmotionStyleTranslationsEnum = Enum<typeof EmotionStyleTranslationsEnum>;
|
|
204
|
+
|
|
205
|
+
declare const FormalityLevelEnum: {
|
|
206
|
+
readonly VERY_FORMAL: "VERY_FORMAL";
|
|
207
|
+
readonly FORMAL: "FORMAL";
|
|
208
|
+
readonly NEUTRAL: "NEUTRAL";
|
|
209
|
+
readonly CASUAL: "CASUAL";
|
|
210
|
+
};
|
|
211
|
+
type FormalityLevelEnum = Enum<typeof FormalityLevelEnum>;
|
|
212
|
+
declare const FormalityLevelTranslationsEnum: {
|
|
213
|
+
readonly VERY_FORMAL: "Muito formal";
|
|
214
|
+
readonly FORMAL: "Formal";
|
|
215
|
+
readonly NEUTRAL: "Neutro";
|
|
216
|
+
readonly CASUAL: "Casual";
|
|
217
|
+
};
|
|
218
|
+
type FormalityLevelTranslationsEnum = Enum<typeof FormalityLevelTranslationsEnum>;
|
|
219
|
+
|
|
220
|
+
declare const HumorStyleEnum: {
|
|
221
|
+
readonly NONE: "NONE";
|
|
222
|
+
readonly SUBTLE: "SUBTLE";
|
|
223
|
+
readonly LIGHT: "LIGHT";
|
|
224
|
+
readonly FUNNY: "FUNNY";
|
|
225
|
+
};
|
|
226
|
+
type HumorStyleEnum = Enum<typeof HumorStyleEnum>;
|
|
227
|
+
declare const HumorStyleTranslationsEnum: {
|
|
228
|
+
readonly NONE: "Sem humor";
|
|
229
|
+
readonly SUBTLE: "Sutil";
|
|
230
|
+
readonly LIGHT: "Leve";
|
|
231
|
+
readonly FUNNY: "Engraçado";
|
|
232
|
+
};
|
|
233
|
+
type HumorStyleTranslationsEnum = Enum<typeof HumorStyleTranslationsEnum>;
|
|
234
|
+
|
|
235
|
+
declare const LanguageStyleEnum: {
|
|
236
|
+
readonly STANDARD: "STANDARD";
|
|
237
|
+
readonly REGIONAL: "REGIONAL";
|
|
238
|
+
readonly URBAN: "URBAN";
|
|
239
|
+
readonly SIMPLE: "SIMPLE";
|
|
240
|
+
readonly TECHNICAL: "TECHNICAL";
|
|
241
|
+
readonly POPULAR: "POPULAR";
|
|
242
|
+
};
|
|
243
|
+
type LanguageStyleEnum = Enum<typeof LanguageStyleEnum>;
|
|
244
|
+
declare const LanguageStyleTranslationsEnum: {
|
|
245
|
+
readonly STANDARD: "Padrão";
|
|
246
|
+
readonly REGIONAL: "Regional";
|
|
247
|
+
readonly URBAN: "Urbano";
|
|
248
|
+
readonly SIMPLE: "Simples";
|
|
249
|
+
readonly TECHNICAL: "Técnico";
|
|
250
|
+
readonly POPULAR: "Popular";
|
|
251
|
+
};
|
|
252
|
+
type LanguageStyleTranslationsEnum = Enum<typeof LanguageStyleTranslationsEnum>;
|
|
253
|
+
|
|
254
|
+
declare const VoiceEnergyEnum: {
|
|
255
|
+
readonly CALM: "CALM";
|
|
256
|
+
readonly BALANCED: "BALANCED";
|
|
257
|
+
readonly ACTIVE: "ACTIVE";
|
|
258
|
+
readonly HIGH: "HIGH";
|
|
259
|
+
};
|
|
260
|
+
type VoiceEnergyEnum = Enum<typeof VoiceEnergyEnum>;
|
|
261
|
+
declare const VoiceEnergyTranslationsEnum: {
|
|
262
|
+
readonly CALM: "Calma";
|
|
263
|
+
readonly BALANCED: "Equilibrada";
|
|
264
|
+
readonly ACTIVE: "Ativa";
|
|
265
|
+
readonly HIGH: "Alta";
|
|
266
|
+
};
|
|
267
|
+
type VoiceEnergyTranslationsEnum = Enum<typeof VoiceEnergyTranslationsEnum>;
|
|
268
|
+
|
|
163
269
|
declare const EpGenerationQualityEnum: {
|
|
164
270
|
readonly DEFAULT: "DEFAULT";
|
|
165
271
|
readonly MASTERIZED: "MASTERIZED";
|
|
@@ -287,7 +393,77 @@ declare const RadioBandsEnum: {
|
|
|
287
393
|
};
|
|
288
394
|
type RadioBandsEnum = Enum<typeof RadioBandsEnum>;
|
|
289
395
|
|
|
290
|
-
declare const
|
|
396
|
+
declare const UserRolesEnum: {
|
|
397
|
+
readonly ADMIN: "ADMIN";
|
|
398
|
+
readonly STAFF: "STAFF";
|
|
399
|
+
};
|
|
400
|
+
type UserRolesEnum = Enum<typeof UserRolesEnum>;
|
|
401
|
+
declare const UserRolesTranslationsEnum: {
|
|
402
|
+
readonly ADMIN: "Administrador";
|
|
403
|
+
readonly STAFF: "Colaborador";
|
|
404
|
+
};
|
|
405
|
+
type UserRolesTranslationsEnum = Enum<typeof UserRolesTranslationsEnum>;
|
|
406
|
+
|
|
407
|
+
declare const ProgramDayPeriodEnum: {
|
|
408
|
+
readonly DAWN: "DAWN";
|
|
409
|
+
readonly MORNING: "MORNING";
|
|
410
|
+
readonly AFTERNOON: "AFTERNOON";
|
|
411
|
+
readonly EVENING: "EVENING";
|
|
412
|
+
readonly NIGHT: "NIGHT";
|
|
413
|
+
};
|
|
414
|
+
type ProgramDayPeriodEnum = Enum<typeof ProgramDayPeriodEnum>;
|
|
415
|
+
declare const ProgramDayPeriodTranslationsEnum: {
|
|
416
|
+
readonly DAWN: "Madrugada";
|
|
417
|
+
readonly MORNING: "Manhã";
|
|
418
|
+
readonly AFTERNOON: "Tarde";
|
|
419
|
+
readonly EVENING: "Início da noite";
|
|
420
|
+
readonly NIGHT: "Noite";
|
|
421
|
+
};
|
|
422
|
+
type ProgramDayPeriodTranslationsEnum = Enum<typeof ProgramDayPeriodTranslationsEnum>;
|
|
423
|
+
|
|
424
|
+
declare const ProgramSegmentEnum: {
|
|
425
|
+
readonly MUSIC: "MUSIC";
|
|
426
|
+
readonly NEWS: "NEWS";
|
|
427
|
+
readonly HOROSCOPE: "HOROSCOPE";
|
|
428
|
+
readonly RELIGIOUS: "RELIGIOUS";
|
|
429
|
+
readonly GOSPEL: "GOSPEL";
|
|
430
|
+
readonly SPORTS: "SPORTS";
|
|
431
|
+
readonly FLASHBACK: "FLASHBACK";
|
|
432
|
+
readonly POPULAR: "POPULAR";
|
|
433
|
+
readonly VARIETY: "VARIETY";
|
|
434
|
+
readonly REGIONAL: "REGIONAL";
|
|
435
|
+
readonly CORPORATE: "CORPORATE";
|
|
436
|
+
readonly GOVERNMENT: "GOVERNMENT";
|
|
437
|
+
readonly CHILDREN: "CHILDREN";
|
|
438
|
+
readonly HUMOR: "HUMOR";
|
|
439
|
+
readonly ENTERTAINMENT: "ENTERTAINMENT";
|
|
440
|
+
readonly CULTURAL: "CULTURAL";
|
|
441
|
+
readonly TALK: "TALK";
|
|
442
|
+
};
|
|
443
|
+
type ProgramSegmentEnum = Enum<typeof ProgramSegmentEnum>;
|
|
444
|
+
declare const ProgramSegmentTranslationsEnum: {
|
|
445
|
+
readonly MUSIC: "Músicas";
|
|
446
|
+
readonly POPULAR: "Popular";
|
|
447
|
+
readonly RELIGIOUS: "Religioso";
|
|
448
|
+
readonly NEWS: "Jornalístico";
|
|
449
|
+
readonly HOROSCOPE: "Horóscopo";
|
|
450
|
+
readonly SPORTS: "Esportivo";
|
|
451
|
+
readonly EDUCATIONAL: "Educativo";
|
|
452
|
+
readonly FLASHBACK: "FlashBack";
|
|
453
|
+
readonly GOSPEL: "Gospel";
|
|
454
|
+
readonly REGIONAL: "Regional";
|
|
455
|
+
readonly VARIETY: "Variedades";
|
|
456
|
+
readonly CORPORATE: "Corporativo";
|
|
457
|
+
readonly GOVERNMENT: "Governamental";
|
|
458
|
+
readonly CHILDREN: "Infantil";
|
|
459
|
+
readonly HUMOR: "Humor";
|
|
460
|
+
readonly ENTERTAINMENT: "Entretenimento";
|
|
461
|
+
readonly CULTURAL: "Cultural";
|
|
462
|
+
readonly TALK: "Talk / Debate";
|
|
463
|
+
};
|
|
464
|
+
type ProgramSegmentTranslationsEnum = Enum<typeof ProgramSegmentTranslationsEnum>;
|
|
465
|
+
|
|
466
|
+
declare const ProgramAudienceEnum: {
|
|
291
467
|
readonly CHILDREN: "CHILDREN";
|
|
292
468
|
readonly TEENS: "TEENS";
|
|
293
469
|
readonly YOUNG_ADULTS: "YOUNG_ADULTS";
|
|
@@ -299,8 +475,8 @@ declare const RadioAudienceEnum: {
|
|
|
299
475
|
readonly RELIGIOUS: "RELIGIOUS";
|
|
300
476
|
readonly GENERAL: "GENERAL";
|
|
301
477
|
};
|
|
302
|
-
type
|
|
303
|
-
declare const
|
|
478
|
+
type ProgramAudienceEnum = Enum<typeof ProgramAudienceEnum>;
|
|
479
|
+
declare const ProgramAudienceTranslationsEnum: {
|
|
304
480
|
readonly CHILDREN: "Infantil";
|
|
305
481
|
readonly TEENS: "Adolescentes";
|
|
306
482
|
readonly YOUNG_ADULTS: "Jovens adultos";
|
|
@@ -312,43 +488,117 @@ declare const RadioAudienceTranslationsEnum: {
|
|
|
312
488
|
readonly RELIGIOUS: "Religioso";
|
|
313
489
|
readonly GENERAL: "Geral";
|
|
314
490
|
};
|
|
315
|
-
type
|
|
316
|
-
|
|
317
|
-
declare const
|
|
318
|
-
readonly
|
|
319
|
-
readonly
|
|
491
|
+
type ProgramAudienceTranslation = Enum<typeof ProgramAudienceTranslationsEnum>;
|
|
492
|
+
|
|
493
|
+
declare const MusicSubGenresEnum: {
|
|
494
|
+
readonly POP: "POP";
|
|
495
|
+
readonly POP_ROCK: "POP_ROCK";
|
|
496
|
+
readonly ROCK: "ROCK";
|
|
497
|
+
readonly CLASSIC_ROCK: "CLASSIC_ROCK";
|
|
498
|
+
readonly ALTERNATIVE_ROCK: "ALTERNATIVE_ROCK";
|
|
499
|
+
readonly SERTANEJO: "SERTANEJO";
|
|
500
|
+
readonly SERTANEJO_ROOTS: "SERTANEJO_ROOTS";
|
|
501
|
+
readonly SERTANEJO_UNIVERSITY: "SERTANEJO_UNIVERSITY";
|
|
502
|
+
readonly SERTANEJO_ROMANTIC: "SERTANEJO_ROMANTIC";
|
|
503
|
+
readonly FORRO: "FORRO";
|
|
504
|
+
readonly FORRO_ROOTS: "FORRO_ROOTS";
|
|
505
|
+
readonly FORRO_ELECTRONIC: "FORRO_ELECTRONIC";
|
|
506
|
+
readonly PISEIRO: "PISEIRO";
|
|
507
|
+
readonly SAMBA: "SAMBA";
|
|
508
|
+
readonly PAGODE: "PAGODE";
|
|
509
|
+
readonly PAGODE_ROMANTIC: "PAGODE_ROMANTIC";
|
|
510
|
+
readonly FUNK: "FUNK";
|
|
511
|
+
readonly FUNK_CARIOCA: "FUNK_CARIOCA";
|
|
512
|
+
readonly RAP: "RAP";
|
|
513
|
+
readonly HIP_HOP: "HIP_HOP";
|
|
514
|
+
readonly TRAP: "TRAP";
|
|
320
515
|
readonly GOSPEL: "GOSPEL";
|
|
321
|
-
readonly
|
|
322
|
-
readonly
|
|
323
|
-
readonly
|
|
324
|
-
readonly
|
|
516
|
+
readonly GOSPEL_WORSHIP: "GOSPEL_WORSHIP";
|
|
517
|
+
readonly MPB: "MPB";
|
|
518
|
+
readonly AXE: "AXE";
|
|
519
|
+
readonly REGGAE: "REGGAE";
|
|
520
|
+
readonly ELECTRONIC: "ELECTRONIC";
|
|
521
|
+
readonly HOUSE: "HOUSE";
|
|
522
|
+
readonly TECHNO: "TECHNO";
|
|
523
|
+
readonly INTERNATIONAL_POP: "INTERNATIONAL_POP";
|
|
524
|
+
readonly JAZZ: "JAZZ";
|
|
525
|
+
readonly BLUES: "BLUES";
|
|
526
|
+
readonly CLASSICAL: "CLASSICAL";
|
|
527
|
+
readonly RETRO: "RETRO";
|
|
325
528
|
readonly REGIONAL: "REGIONAL";
|
|
326
529
|
readonly MIXED: "MIXED";
|
|
327
530
|
};
|
|
328
|
-
type
|
|
329
|
-
declare const
|
|
330
|
-
readonly
|
|
331
|
-
readonly
|
|
531
|
+
type MusicSubGenresEnum = Enum<typeof MusicSubGenresEnum>;
|
|
532
|
+
declare const MusicSubGenresTranslationsEnum: {
|
|
533
|
+
readonly POP: "Pop";
|
|
534
|
+
readonly POP_ROCK: "Pop Rock";
|
|
535
|
+
readonly ROCK: "Rock";
|
|
536
|
+
readonly CLASSIC_ROCK: "Rock Clássico";
|
|
537
|
+
readonly ALTERNATIVE_ROCK: "Rock Alternativo";
|
|
538
|
+
readonly SERTANEJO: "Sertanejo";
|
|
539
|
+
readonly SERTANEJO_ROOTS: "Sertanejo Raiz";
|
|
540
|
+
readonly SERTANEJO_UNIVERSITY: "Sertanejo Universitário";
|
|
541
|
+
readonly SERTANEJO_ROMANTIC: "Sertanejo Romântico";
|
|
542
|
+
readonly FORRO: "Forró";
|
|
543
|
+
readonly FORRO_ROOTS: "Forró Raiz";
|
|
544
|
+
readonly FORRO_ELECTRONIC: "Forró Eletrônico";
|
|
545
|
+
readonly PISEIRO: "Piseiro";
|
|
546
|
+
readonly SAMBA: "Samba";
|
|
547
|
+
readonly PAGODE: "Pagode";
|
|
548
|
+
readonly PAGODE_ROMANTIC: "Pagode Romântico";
|
|
549
|
+
readonly FUNK: "Funk";
|
|
550
|
+
readonly FUNK_CARIOCA: "Funk Carioca";
|
|
551
|
+
readonly RAP: "Rap";
|
|
552
|
+
readonly HIP_HOP: "Hip Hop";
|
|
553
|
+
readonly TRAP: "Trap";
|
|
332
554
|
readonly GOSPEL: "Gospel";
|
|
333
|
-
readonly
|
|
334
|
-
readonly
|
|
335
|
-
readonly
|
|
336
|
-
readonly
|
|
555
|
+
readonly GOSPEL_WORSHIP: "Worship";
|
|
556
|
+
readonly MPB: "MPB";
|
|
557
|
+
readonly AXE: "Axé";
|
|
558
|
+
readonly REGGAE: "Reggae";
|
|
559
|
+
readonly ELECTRONIC: "Eletrônica";
|
|
560
|
+
readonly HOUSE: "House";
|
|
561
|
+
readonly TECHNO: "Techno";
|
|
562
|
+
readonly INTERNATIONAL_POP: "Pop Internacional";
|
|
563
|
+
readonly JAZZ: "Jazz";
|
|
564
|
+
readonly BLUES: "Blues";
|
|
565
|
+
readonly CLASSICAL: "Clássica";
|
|
566
|
+
readonly RETRO: "Retrô";
|
|
337
567
|
readonly REGIONAL: "Regional";
|
|
338
|
-
readonly MIXED: "
|
|
568
|
+
readonly MIXED: "Misto / Variado";
|
|
339
569
|
};
|
|
340
|
-
type
|
|
570
|
+
type MusicSubGenresTranslationEnum = Enum<typeof MusicSubGenresTranslationsEnum>;
|
|
341
571
|
|
|
342
|
-
declare const
|
|
343
|
-
readonly
|
|
344
|
-
readonly
|
|
572
|
+
declare const MusicCategoriesEnum: {
|
|
573
|
+
readonly POP: "POP";
|
|
574
|
+
readonly ROCK: "ROCK";
|
|
575
|
+
readonly SERTANEJO: "SERTANEJO";
|
|
576
|
+
readonly FORRO: "FORRO";
|
|
577
|
+
readonly SAMBA_PAGODE: "SAMBA_PAGODE";
|
|
578
|
+
readonly URBAN: "URBAN";
|
|
579
|
+
readonly GOSPEL: "GOSPEL";
|
|
580
|
+
readonly BRAZILIAN: "BRAZILIAN";
|
|
581
|
+
readonly ELECTRONIC: "ELECTRONIC";
|
|
582
|
+
readonly CLASSIC: "CLASSIC";
|
|
583
|
+
readonly REGIONAL: "REGIONAL";
|
|
584
|
+
readonly MIXED: "MIXED";
|
|
345
585
|
};
|
|
346
|
-
type
|
|
347
|
-
declare const
|
|
348
|
-
readonly
|
|
349
|
-
readonly
|
|
586
|
+
type MusicCategoriesEnum = Enum<typeof MusicCategoriesEnum>;
|
|
587
|
+
declare const MusicCategoriesTranslationsEnum: {
|
|
588
|
+
readonly POP: "Pop";
|
|
589
|
+
readonly ROCK: "Rock";
|
|
590
|
+
readonly SERTANEJO: "Sertanejo";
|
|
591
|
+
readonly FORRO: "Forró";
|
|
592
|
+
readonly SAMBA_PAGODE: "Samba e Pagode";
|
|
593
|
+
readonly URBAN: "Urbano";
|
|
594
|
+
readonly GOSPEL: "Gospel";
|
|
595
|
+
readonly BRAZILIAN: "Brasileiro";
|
|
596
|
+
readonly ELECTRONIC: "Eletrônica";
|
|
597
|
+
readonly CLASSIC: "Clássicos";
|
|
598
|
+
readonly REGIONAL: "Regional";
|
|
599
|
+
readonly MIXED: "Misto / Variado";
|
|
350
600
|
};
|
|
351
|
-
type
|
|
601
|
+
type MusicCategoriesTranslationEnum = Enum<typeof MusicCategoriesTranslationsEnum>;
|
|
352
602
|
|
|
353
603
|
type DateString = string | Date;
|
|
354
604
|
|
|
@@ -407,26 +657,6 @@ type TkplayErrorEntity = {
|
|
|
407
657
|
data: any;
|
|
408
658
|
};
|
|
409
659
|
|
|
410
|
-
type RadioContractEntity = BaseEntity & {
|
|
411
|
-
validUntil: DateString;
|
|
412
|
-
isActive: boolean;
|
|
413
|
-
radioId: string;
|
|
414
|
-
radio?: RadioEntity;
|
|
415
|
-
};
|
|
416
|
-
|
|
417
|
-
type RadioExternalMediasEntity = {
|
|
418
|
-
id: string;
|
|
419
|
-
website?: string | null;
|
|
420
|
-
instagram?: string | null;
|
|
421
|
-
facebook?: string | null;
|
|
422
|
-
whatsapp?: string | null;
|
|
423
|
-
tiktok?: string | null;
|
|
424
|
-
createdAt: Date;
|
|
425
|
-
updatedAt: Date | null;
|
|
426
|
-
radioId: string;
|
|
427
|
-
radio?: RadioEntity;
|
|
428
|
-
};
|
|
429
|
-
|
|
430
660
|
type ProgramEpisodeBlockEntity = BaseEntity & {
|
|
431
661
|
index: number;
|
|
432
662
|
episode?: ProgramEpisodeEntity;
|
|
@@ -489,13 +719,24 @@ type ProgramScriptEntity = BaseEntity & {
|
|
|
489
719
|
program?: ProgramEntity;
|
|
490
720
|
};
|
|
491
721
|
|
|
492
|
-
type
|
|
493
|
-
|
|
494
|
-
|
|
722
|
+
type RadioContractEntity = BaseEntity & {
|
|
723
|
+
validUntil: DateString;
|
|
724
|
+
isActive: boolean;
|
|
725
|
+
radioId: string;
|
|
495
726
|
radio?: RadioEntity;
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
type RadioExternalMediasEntity = {
|
|
730
|
+
id: string;
|
|
731
|
+
website?: string | null;
|
|
732
|
+
instagram?: string | null;
|
|
733
|
+
facebook?: string | null;
|
|
734
|
+
whatsapp?: string | null;
|
|
735
|
+
tiktok?: string | null;
|
|
736
|
+
createdAt: Date;
|
|
737
|
+
updatedAt: Date | null;
|
|
496
738
|
radioId: string;
|
|
497
|
-
|
|
498
|
-
duration: number;
|
|
739
|
+
radio?: RadioEntity;
|
|
499
740
|
};
|
|
500
741
|
|
|
501
742
|
type CasterEntity = BaseEntity & {
|
|
@@ -529,6 +770,30 @@ type SystemUserEntity = BaseEntity & {
|
|
|
529
770
|
role: UserRolesEnum;
|
|
530
771
|
};
|
|
531
772
|
|
|
773
|
+
type ProgramEntity = BaseEntity & {
|
|
774
|
+
name: string;
|
|
775
|
+
description: string;
|
|
776
|
+
blockNamePrefix: string;
|
|
777
|
+
blocksAmount: number;
|
|
778
|
+
duration: number;
|
|
779
|
+
dayPeriod: ProgramDayPeriodEnum;
|
|
780
|
+
allowAiGeneratedPersonNames: boolean;
|
|
781
|
+
allowCityMentions: boolean;
|
|
782
|
+
audiences: ProgramAudienceEnum[];
|
|
783
|
+
musicCategories: MusicCategoriesEnum[];
|
|
784
|
+
musicGenres: MusicSubGenresEnum[];
|
|
785
|
+
segments: ProgramSegmentEnum[];
|
|
786
|
+
communicationTone: CommunicationToneEnum;
|
|
787
|
+
emotionStyle: EmotionStyleEnum;
|
|
788
|
+
formalityLevel: FormalityLevelEnum;
|
|
789
|
+
humorStyle: HumorStyleEnum;
|
|
790
|
+
languageStyle: LanguageStyleEnum;
|
|
791
|
+
voiceEnergy: VoiceEnergyEnum;
|
|
792
|
+
radio?: RadioEntity;
|
|
793
|
+
radioId: string;
|
|
794
|
+
casters?: CasterEntity[];
|
|
795
|
+
};
|
|
796
|
+
|
|
532
797
|
type S3FileEntity = BaseEntity & {
|
|
533
798
|
key: string;
|
|
534
799
|
mimeType: string;
|
|
@@ -540,29 +805,47 @@ type S3FileEntity = BaseEntity & {
|
|
|
540
805
|
radioUser: RadioUserEntity;
|
|
541
806
|
casterId: string | null;
|
|
542
807
|
caster?: CasterEntity;
|
|
808
|
+
programId: string | null;
|
|
809
|
+
program?: ProgramEntity;
|
|
543
810
|
};
|
|
544
|
-
type RadioUserAvatarEntity = Omit<S3FileEntity, "radioId" | "casterId"> & {
|
|
811
|
+
type RadioUserAvatarEntity = Omit<S3FileEntity, "radioId" | "casterId" | "programId"> & {
|
|
545
812
|
kind: "radioUser";
|
|
546
813
|
radioUserId: string;
|
|
547
814
|
radioId: null;
|
|
548
815
|
casterId: null;
|
|
816
|
+
programId: null;
|
|
549
817
|
radio: never;
|
|
550
818
|
caster: never;
|
|
819
|
+
program: never;
|
|
551
820
|
};
|
|
552
|
-
type CasterAvatarEntity = Omit<S3FileEntity, "radioId" | "radioUserId"> & {
|
|
821
|
+
type CasterAvatarEntity = Omit<S3FileEntity, "radioId" | "radioUserId" | "programId"> & {
|
|
553
822
|
kind: "caster";
|
|
554
823
|
casterId: string;
|
|
555
824
|
radioId: null;
|
|
556
825
|
radioUserId: null;
|
|
826
|
+
programId: null;
|
|
557
827
|
user: never;
|
|
558
828
|
radio: never;
|
|
829
|
+
program: never;
|
|
559
830
|
};
|
|
560
|
-
type RadioLogoEntity = Omit<S3FileEntity, "casterId" | "radioUserId"> & {
|
|
831
|
+
type RadioLogoEntity = Omit<S3FileEntity, "casterId" | "radioUserId" | "programId"> & {
|
|
561
832
|
kind: "radioLogo";
|
|
562
833
|
radioId: string;
|
|
563
834
|
radioUserId: null;
|
|
564
835
|
casterId: null;
|
|
836
|
+
programId: null;
|
|
837
|
+
radioUser: never;
|
|
838
|
+
caster: never;
|
|
839
|
+
program: never;
|
|
840
|
+
};
|
|
841
|
+
type ProgramLogoEntity = Omit<S3FileEntity, "casterId" | "radioUserId" | "radioId"> & {
|
|
842
|
+
kind: "programLogo";
|
|
843
|
+
programId: string;
|
|
844
|
+
radioId: null;
|
|
845
|
+
radioUserId: null;
|
|
846
|
+
casterId: null;
|
|
565
847
|
radioUser: never;
|
|
848
|
+
radio: never;
|
|
566
849
|
caster: never;
|
|
567
850
|
};
|
|
568
851
|
|
|
@@ -576,13 +859,10 @@ type RadioEntity = BaseEntity & {
|
|
|
576
859
|
financialEmail: string;
|
|
577
860
|
wppNumber: string;
|
|
578
861
|
isActive: boolean;
|
|
579
|
-
neighborhoods: string[];
|
|
580
|
-
allowAiPersonNames: boolean;
|
|
581
862
|
frequency: string;
|
|
582
863
|
slogan?: string | null;
|
|
583
864
|
prefix?: string | null;
|
|
584
|
-
|
|
585
|
-
segments: RadioSegmentEnum[];
|
|
865
|
+
neighborhoods: string[];
|
|
586
866
|
logoImgId: string | null;
|
|
587
867
|
logoImg?: S3FileEntity | null;
|
|
588
868
|
addressId: string;
|
|
@@ -816,8 +1096,6 @@ type UpdateRadioPayload = Partial<{
|
|
|
816
1096
|
slogan?: string | null;
|
|
817
1097
|
prefix?: string | null;
|
|
818
1098
|
frequency?: string | null;
|
|
819
|
-
audiences?: RadioAudienceEnum[];
|
|
820
|
-
segments?: RadioSegmentEnum[];
|
|
821
1099
|
externalMedias?: Partial<{
|
|
822
1100
|
website?: string | null;
|
|
823
1101
|
instagram?: string | null;
|
|
@@ -975,4 +1253,4 @@ declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
|
|
|
975
1253
|
|
|
976
1254
|
declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
977
1255
|
|
|
978
|
-
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,
|
|
1256
|
+
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 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 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, MusicCategoriesEnum, type MusicCategoriesTranslationEnum, MusicCategoriesTranslationsEnum, type MusicProgramScriptElement, MusicSubGenresEnum, type MusicSubGenresTranslationEnum, MusicSubGenresTranslationsEnum, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, ProgramAudienceEnum, type ProgramAudienceTranslation, ProgramAudienceTranslationsEnum, ProgramDayPeriodEnum, ProgramDayPeriodTranslationsEnum, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramLogoEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, 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 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, VoiceEnergyEnum, VoiceEnergyTranslationsEnum };
|