@tellescope/types-models 1.232.1 → 1.233.0

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.
@@ -3135,7 +3135,7 @@ export type StripeChargeCardOnFileAutomationAction = AutomationActionBuilder<'st
3135
3135
  subscriptionPriceId?: string;
3136
3136
  }>;
3137
3137
  export type AIContextSource = {
3138
- type: "Email" | "SMS";
3138
+ type: "Email" | "SMS" | "PhoneCall";
3139
3139
  limit: number;
3140
3140
  };
3141
3141
  export type AIDecisionAutomationAction = AutomationActionBuilder<'aiDecision', {
@@ -3683,6 +3683,57 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
3683
3683
  ticketId?: string;
3684
3684
  hungUpByCaller?: boolean;
3685
3685
  }
3686
+ export type AWSTranscribeAlternative = {
3687
+ confidence?: string;
3688
+ content: string;
3689
+ };
3690
+ export type AWSTranscribeItem = {
3691
+ id: number;
3692
+ type: 'pronunciation' | 'punctuation';
3693
+ alternatives: AWSTranscribeAlternative[];
3694
+ start_time?: string;
3695
+ end_time?: string;
3696
+ speaker_label?: string;
3697
+ };
3698
+ export type AWSTranscribeSpeakerLabelItem = {
3699
+ speaker_label: string;
3700
+ start_time: string;
3701
+ end_time?: string;
3702
+ };
3703
+ export type AWSTranscribeSpeakerLabelSegment = {
3704
+ start_time: string;
3705
+ end_time: string;
3706
+ speaker_label: string;
3707
+ items: AWSTranscribeSpeakerLabelItem[];
3708
+ };
3709
+ export type AWSTranscribeSpeakerLabels = {
3710
+ segments: AWSTranscribeSpeakerLabelSegment[];
3711
+ channel_label: string;
3712
+ speakers: number;
3713
+ };
3714
+ export type AWSTranscribeAudioSegment = {
3715
+ id: number;
3716
+ transcript: string;
3717
+ start_time: string;
3718
+ end_time: string;
3719
+ speaker_label: string;
3720
+ items: number[];
3721
+ };
3722
+ export type AWSTranscribeTranscript = {
3723
+ transcript: string;
3724
+ };
3725
+ export type AWSTranscribeResults = {
3726
+ transcripts: AWSTranscribeTranscript[];
3727
+ speaker_labels?: AWSTranscribeSpeakerLabels;
3728
+ items: AWSTranscribeItem[];
3729
+ audio_segments?: AWSTranscribeAudioSegment[];
3730
+ };
3731
+ export type AWSTranscribeResponse = {
3732
+ jobName: string;
3733
+ accountId: string;
3734
+ status: 'COMPLETED' | 'IN_PROGRESS' | 'FAILED';
3735
+ results: AWSTranscribeResults;
3736
+ };
3686
3737
  export type AnalyticsQueryResultValue = {
3687
3738
  key?: string;
3688
3739
  timestamp?: Date;
@@ -4452,6 +4503,7 @@ export type PhoneTreeEvents = {
4452
4503
  'If False': PhoneTreeEventBuilder<'If False', {}>;
4453
4504
  'If No Users Match': PhoneTreeEventBuilder<'If No Users Match', {}>;
4454
4505
  'If No Users Answer': PhoneTreeEventBuilder<'If No Users Answer', {}>;
4506
+ 'After Action': PhoneTreeEventBuilder<'After Action', {}>;
4455
4507
  };
4456
4508
  export type PhoneTreeEventType = keyof PhoneTreeEvents;
4457
4509
  export type PhoneTreeEvent = PhoneTreeEvents[PhoneTreeEventType];
@@ -4536,6 +4588,9 @@ export type PhoneTreeActions = {
4536
4588
  }[];
4537
4589
  playback?: Partial<PhonePlayback>;
4538
4590
  }>;
4591
+ 'Add to Journey': PhoneTreeActionBuilder<"Add to Journey", {
4592
+ journeyId: string;
4593
+ }>;
4539
4594
  };
4540
4595
  export type PhoneTreeActionType = keyof PhoneTreeActions;
4541
4596
  export type PhoneTreeAction = PhoneTreeActions[PhoneTreeActionType];