@tellescope/types-models 1.224.0 → 1.225.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.
@@ -362,6 +362,7 @@ export interface Organization extends Organization_readonly, Organization_requir
362
362
  externalCalendarEventPlaceholderDescription?: string;
363
363
  customZoomEmailTemplate?: string;
364
364
  customZoomEmailSubject?: string;
365
+ customZoomSMSTemplate?: string;
365
366
  customVoicemailText?: string;
366
367
  hasConnectedOpenAI?: boolean;
367
368
  hasConnectedHealthie?: boolean;
@@ -1613,6 +1614,7 @@ export type FormFieldOptions = FormFieldValidation & {
1613
1614
  subFields?: FormSubField[];
1614
1615
  validFileTypes?: string[];
1615
1616
  maxFileSize?: number;
1617
+ hideFromPortal?: boolean;
1616
1618
  signatureUrl?: string;
1617
1619
  productIds?: string[];
1618
1620
  chargeImmediately?: boolean;
@@ -1769,6 +1771,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1769
1771
  htmlThanksMessage?: string;
1770
1772
  type?: FormType;
1771
1773
  scoring?: FormScoring[];
1774
+ realTimeScoring?: boolean;
1772
1775
  externalId?: string;
1773
1776
  ga4measurementId?: string;
1774
1777
  backgroundColor?: string;
@@ -2610,6 +2613,8 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
2610
2613
  archivedAt?: Date | '';
2611
2614
  gtmTag?: string;
2612
2615
  dontRestrictRescheduleToOriginalHost?: boolean;
2616
+ calendarTitleText?: string;
2617
+ emailFieldBehavior?: "required" | "optional" | "hidden";
2613
2618
  }
2614
2619
  export interface CalendarEventRSVP_readonly extends ClientRecord {
2615
2620
  creatorType: SessionType;
@@ -2648,7 +2653,7 @@ export interface WebhookCall {
2648
2653
  integrity: string;
2649
2654
  description?: string;
2650
2655
  }
2651
- export type AutomationEventType = 'onJourneyStart' | 'afterAction' | "formResponse" | "formResponses" | "formUnsubmitted" | "formsUnsubmitted" | "ticketCompleted" | 'waitForTrigger' | "onCallOutcome" | "onAIDecision";
2656
+ export type AutomationEventType = 'onJourneyStart' | 'afterAction' | "formResponse" | "formResponses" | "formUnsubmitted" | "formsUnsubmitted" | "ticketCompleted" | 'waitForTrigger' | "onCallOutcome" | "onAIDecision" | "onError";
2652
2657
  interface AutomationEventBuilder<T extends AutomationEventType, V extends object> {
2653
2658
  type: T;
2654
2659
  info: V;
@@ -2783,6 +2788,10 @@ export type OnAIDecisionAutomationEvent = AutomationEventBuilder<'onAIDecision',
2783
2788
  automationStepId: string;
2784
2789
  outcomes: string[];
2785
2790
  }>;
2791
+ export type OnErrorEventInfo = {
2792
+ automationStepId: string;
2793
+ };
2794
+ export type OnErrorAutomationEvent = AutomationEventBuilder<'onError', OnErrorEventInfo>;
2786
2795
  export type AutomationEventForType = {
2787
2796
  'onJourneyStart': OnJourneyStartAutomationEvent;
2788
2797
  'afterAction': AfterActionAutomationEvent;
@@ -2794,6 +2803,7 @@ export type AutomationEventForType = {
2794
2803
  'waitForTrigger': WaitForTriggerAutomationEvent;
2795
2804
  'onCallOutcome': OnCallOutcomeAutomationEvent;
2796
2805
  'onAIDecision': OnAIDecisionAutomationEvent;
2806
+ 'onError': OnErrorAutomationEvent;
2797
2807
  };
2798
2808
  export type AutomationEvent = AutomationEventForType[keyof AutomationEventForType];
2799
2809
  export type SetEnduserStatusInfo = {
@@ -3044,6 +3054,7 @@ export type CallUserAutomationAction = AutomationActionBuilder<'callUser', {
3044
3054
  export type StripeChargeCardOnFileAutomationAction = AutomationActionBuilder<'stripeChargeCardOnFile', {
3045
3055
  stripeKey?: string;
3046
3056
  priceIds: string[];
3057
+ productIds?: string[];
3047
3058
  subscriptionPriceId?: string;
3048
3059
  }>;
3049
3060
  export type AIContextSource = {
@@ -3195,9 +3206,18 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
3195
3206
  excludeFromVitalCountLookback?: boolean;
3196
3207
  }
3197
3208
  export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe' | 'content-link';
3209
+ export type BlockStyle = {
3210
+ width?: number;
3211
+ height?: number;
3212
+ backgroundColor?: string;
3213
+ borderColor?: string;
3214
+ borderWidth?: number;
3215
+ textColor?: string;
3216
+ };
3198
3217
  export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
3199
3218
  type: BLOCK;
3200
3219
  info: INFO;
3220
+ style?: BlockStyle;
3201
3221
  };
3202
3222
  export type BlockContentText = {
3203
3223
  text: string;
@@ -3205,6 +3225,7 @@ export type BlockContentText = {
3205
3225
  export type BlockContentMedia = {
3206
3226
  link: string;
3207
3227
  name?: string;
3228
+ alt?: string;
3208
3229
  height?: number;
3209
3230
  maxHeight?: number;
3210
3231
  width?: number;
@@ -3301,6 +3322,10 @@ export type PortalBlockForType = {
3301
3322
  HTML: BuildPortalBlockInfo<'HTML', {
3302
3323
  html: string;
3303
3324
  }>;
3325
+ pinnedForms: BuildPortalBlockInfo<'pinnedForms', {
3326
+ title?: string;
3327
+ formIds?: string[];
3328
+ }>;
3304
3329
  };
3305
3330
  export type PortalBlockType = keyof PortalBlockForType;
3306
3331
  export type PortalBlock = PortalBlockForType[PortalBlockType];
@@ -3555,6 +3580,7 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
3555
3580
  conferenceAttendees?: (string[]) | (string[][]);
3556
3581
  unread?: boolean;
3557
3582
  transcription?: string;
3583
+ recordingTranscriptionData?: string;
3558
3584
  note?: string;
3559
3585
  userId?: string;
3560
3586
  pinnedAt?: Date | '';
@@ -4062,6 +4088,7 @@ export type AutomationTriggerActions = {
4062
4088
  tags?: ListOfStringsWithQualifier;
4063
4089
  maxUsers?: number;
4064
4090
  }>;
4091
+ "Zendesk: Update Ticket Assignee": AutomationTriggerActionBuilder<'Zendesk: Update Ticket Assignee', {}>;
4065
4092
  };
4066
4093
  export type AutomationTriggerActionType = keyof AutomationTriggerActions;
4067
4094
  export type AutomationTriggerAction = AutomationTriggerActions[AutomationTriggerActionType];
@@ -5376,6 +5403,8 @@ export type JourneyContext = {
5376
5403
  fileId?: string;
5377
5404
  chatRoomId?: string;
5378
5405
  twilioNumber?: string;
5406
+ ticketThreadId?: string;
5407
+ ticketThreadCommentId?: string;
5379
5408
  };
5380
5409
  export declare const TIMEZONE_MAP: {
5381
5410
  readonly "Africa/Abidjan": "+00:00";