@talkplay/shared-types 1.0.60 → 1.0.62
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 +12 -12
- package/dist/index.d.ts +12 -12
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -836,6 +836,14 @@ type VoiceProfileEntity = BaseEntity & {
|
|
|
836
836
|
source: VoiceProfileSourcesEnum;
|
|
837
837
|
provider: TtsProvidersEnum;
|
|
838
838
|
externalProviderId: string;
|
|
839
|
+
voiceGender: VoiceGenderEnum;
|
|
840
|
+
segments: ProgramSegmentEnum[];
|
|
841
|
+
communicationTones: CommunicationToneEnum[];
|
|
842
|
+
emotionStyles: EmotionStyleEnum[];
|
|
843
|
+
formalityLevels: FormalityLevelEnum[];
|
|
844
|
+
humorStyle: HumorStyleEnum[];
|
|
845
|
+
languageStyles: LanguageStyleEnum[];
|
|
846
|
+
voiceEnergy: VoiceEnergyEnum[];
|
|
839
847
|
casterId?: string;
|
|
840
848
|
caster?: CasterEntity;
|
|
841
849
|
radios?: RadioEntity[];
|
|
@@ -894,14 +902,6 @@ type CasterEntity = BaseEntity & {
|
|
|
894
902
|
bio: string;
|
|
895
903
|
email: string;
|
|
896
904
|
password: string;
|
|
897
|
-
voiceGender: VoiceGenderEnum;
|
|
898
|
-
segments: ProgramSegmentEnum[];
|
|
899
|
-
communicationTones: CommunicationToneEnum[];
|
|
900
|
-
emotionStyles: EmotionStyleEnum[];
|
|
901
|
-
formalityLevels: FormalityLevelEnum[];
|
|
902
|
-
humorStyle: HumorStyleEnum[];
|
|
903
|
-
languageStyles: LanguageStyleEnum[];
|
|
904
|
-
voiceEnergy: VoiceEnergyEnum[];
|
|
905
905
|
avatarImgId: string;
|
|
906
906
|
avatarImg?: S3FileEntity;
|
|
907
907
|
voiceProfileId: string;
|
|
@@ -1233,18 +1233,18 @@ type ListLegalTermsResponse = PaginatedResponseDTO<LegalTermEntity>;
|
|
|
1233
1233
|
type ListProgramsParams = PaginationParams & {
|
|
1234
1234
|
radioId?: string;
|
|
1235
1235
|
name?: string;
|
|
1236
|
-
|
|
1236
|
+
voicesIds?: string[];
|
|
1237
1237
|
};
|
|
1238
1238
|
|
|
1239
|
-
type UpsertProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "
|
|
1240
|
-
|
|
1239
|
+
type UpsertProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "voices"> & {
|
|
1240
|
+
voicesIds: string[];
|
|
1241
1241
|
}> & {
|
|
1242
1242
|
draftId?: string;
|
|
1243
1243
|
};
|
|
1244
1244
|
|
|
1245
1245
|
type PaymentProgram = {
|
|
1246
1246
|
name: string;
|
|
1247
|
-
|
|
1247
|
+
durationInMinutes: number;
|
|
1248
1248
|
blocksAmount: number;
|
|
1249
1249
|
};
|
|
1250
1250
|
type PaymentPayload = {
|
package/dist/index.d.ts
CHANGED
|
@@ -836,6 +836,14 @@ type VoiceProfileEntity = BaseEntity & {
|
|
|
836
836
|
source: VoiceProfileSourcesEnum;
|
|
837
837
|
provider: TtsProvidersEnum;
|
|
838
838
|
externalProviderId: string;
|
|
839
|
+
voiceGender: VoiceGenderEnum;
|
|
840
|
+
segments: ProgramSegmentEnum[];
|
|
841
|
+
communicationTones: CommunicationToneEnum[];
|
|
842
|
+
emotionStyles: EmotionStyleEnum[];
|
|
843
|
+
formalityLevels: FormalityLevelEnum[];
|
|
844
|
+
humorStyle: HumorStyleEnum[];
|
|
845
|
+
languageStyles: LanguageStyleEnum[];
|
|
846
|
+
voiceEnergy: VoiceEnergyEnum[];
|
|
839
847
|
casterId?: string;
|
|
840
848
|
caster?: CasterEntity;
|
|
841
849
|
radios?: RadioEntity[];
|
|
@@ -894,14 +902,6 @@ type CasterEntity = BaseEntity & {
|
|
|
894
902
|
bio: string;
|
|
895
903
|
email: string;
|
|
896
904
|
password: string;
|
|
897
|
-
voiceGender: VoiceGenderEnum;
|
|
898
|
-
segments: ProgramSegmentEnum[];
|
|
899
|
-
communicationTones: CommunicationToneEnum[];
|
|
900
|
-
emotionStyles: EmotionStyleEnum[];
|
|
901
|
-
formalityLevels: FormalityLevelEnum[];
|
|
902
|
-
humorStyle: HumorStyleEnum[];
|
|
903
|
-
languageStyles: LanguageStyleEnum[];
|
|
904
|
-
voiceEnergy: VoiceEnergyEnum[];
|
|
905
905
|
avatarImgId: string;
|
|
906
906
|
avatarImg?: S3FileEntity;
|
|
907
907
|
voiceProfileId: string;
|
|
@@ -1233,18 +1233,18 @@ type ListLegalTermsResponse = PaginatedResponseDTO<LegalTermEntity>;
|
|
|
1233
1233
|
type ListProgramsParams = PaginationParams & {
|
|
1234
1234
|
radioId?: string;
|
|
1235
1235
|
name?: string;
|
|
1236
|
-
|
|
1236
|
+
voicesIds?: string[];
|
|
1237
1237
|
};
|
|
1238
1238
|
|
|
1239
|
-
type UpsertProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "
|
|
1240
|
-
|
|
1239
|
+
type UpsertProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "voices"> & {
|
|
1240
|
+
voicesIds: string[];
|
|
1241
1241
|
}> & {
|
|
1242
1242
|
draftId?: string;
|
|
1243
1243
|
};
|
|
1244
1244
|
|
|
1245
1245
|
type PaymentProgram = {
|
|
1246
1246
|
name: string;
|
|
1247
|
-
|
|
1247
|
+
durationInMinutes: number;
|
|
1248
1248
|
blocksAmount: number;
|
|
1249
1249
|
};
|
|
1250
1250
|
type PaymentPayload = {
|