@tellescope/types-models 1.101.1 → 1.103.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.
@@ -298,6 +298,7 @@ export interface Organization extends Organization_readonly, Organization_requir
298
298
  resolutionFieldOptions?: string[];
299
299
  };
300
300
  replyToAllEmails?: string;
301
+ replyToEnduserTransactionalEmails?: string;
301
302
  forwardAllIncomingEmailsTo?: string;
302
303
  numCustomTypes?: number;
303
304
  ticketThreadsEnabled?: boolean;
@@ -453,6 +454,8 @@ export interface User_updatesDisabled {
453
454
  verifiedEmail: boolean;
454
455
  }
455
456
  export interface User extends User_required, User_readonly, User_updatesDisabled {
457
+ termsSigned?: Date;
458
+ termsVersion?: string;
456
459
  externalId?: string;
457
460
  phone?: string;
458
461
  fname?: string;
@@ -602,6 +605,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
602
605
  fname?: string;
603
606
  mname?: string;
604
607
  lname?: string;
608
+ suffix?: string;
605
609
  journeys?: Indexable<string>;
606
610
  scheduledJourneys?: ScheduledJourney[];
607
611
  tags?: string[];
@@ -655,6 +659,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
655
659
  salesforceId?: string;
656
660
  athenaPracticeId?: string;
657
661
  athenaDepartmentId?: string;
662
+ vitalTriggersDisabled?: boolean;
658
663
  }
659
664
  export interface EnduserCustomType_readonly extends ClientRecord {
660
665
  }
@@ -1318,6 +1323,7 @@ export type FormFieldOptions = FormFieldValidation & {
1318
1323
  prefillSignature?: boolean;
1319
1324
  includeGroupNumber?: boolean;
1320
1325
  holdAppointmentMinutes?: number;
1326
+ rangeStepSize?: number;
1321
1327
  };
1322
1328
  export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
1323
1329
  export type FormFieldCalloutConditionComparison = 'Equals';
@@ -1420,6 +1426,16 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1420
1426
  canvasId?: string;
1421
1427
  canvasQuestionId?: string;
1422
1428
  }
1429
+ export interface FormGroup_readonly extends ClientRecord {
1430
+ }
1431
+ export interface FormGroup_required {
1432
+ }
1433
+ export interface FormGroup_updatesDisabled {
1434
+ }
1435
+ export interface FormGroup extends FormGroup_readonly, FormGroup_required, FormGroup_updatesDisabled {
1436
+ title: string;
1437
+ formIds: string[];
1438
+ }
1423
1439
  export type OAuth2AuthenticationFields = {
1424
1440
  access_token: string;
1425
1441
  refresh_token: string;
@@ -1460,6 +1476,7 @@ export interface Integration extends Integration_readonly, Integration_required,
1460
1476
  shouldCreateNotifications?: boolean;
1461
1477
  disableEnduserAutoSync?: boolean;
1462
1478
  disableTicketAutoSync?: boolean;
1479
+ pushCalendarDetails?: boolean;
1463
1480
  redactExternalEvents?: boolean;
1464
1481
  fhirClientId?: string;
1465
1482
  fhirClientSecret?: string;
@@ -1696,6 +1713,9 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
1696
1713
  context?: string;
1697
1714
  calendarEventId?: string;
1698
1715
  copiedFrom?: string;
1716
+ groupId?: string;
1717
+ groupInstance?: string;
1718
+ groupPosition?: number;
1699
1719
  }
1700
1720
  export interface WebHook_readonly extends ClientRecord {
1701
1721
  }
@@ -2187,6 +2207,10 @@ export type CreateTicketAssignmentStrategies = {
2187
2207
  type: 'Recently-Booked Appointment Host';
2188
2208
  info: {};
2189
2209
  };
2210
+ 'Form Submitter for Journey Trigger': {
2211
+ type: 'Form Submitter for Journey Trigger';
2212
+ info: {};
2213
+ };
2190
2214
  'default': {
2191
2215
  type: 'default';
2192
2216
  info: {};
@@ -2208,6 +2232,7 @@ export type CreateTicketActionInfo = {
2208
2232
  actions?: TicketAction[];
2209
2233
  closeOnFinishedActions?: boolean;
2210
2234
  dueDateOffsetInMS?: number;
2235
+ skipDaysOfWeekForDueDate?: number[];
2211
2236
  requireConfirmation?: boolean;
2212
2237
  reminders?: TicketReminder[];
2213
2238
  priority?: number;
@@ -2823,7 +2848,10 @@ export type AnalyticsQueryFilterForType = {
2823
2848
  };
2824
2849
  "Purchases": {};
2825
2850
  "Purchase Credits": {};
2826
- "Tickets": {};
2851
+ "Tickets": {
2852
+ titles?: string[];
2853
+ closeReasons?: string[];
2854
+ };
2827
2855
  "Phone Calls": {};
2828
2856
  "SMS Messages": {
2829
2857
  direction?: string;
@@ -2865,7 +2893,9 @@ export type AnalyticsQueryGroupingForType = {
2865
2893
  Enduser: string;
2866
2894
  };
2867
2895
  "Tickets": {
2868
- Owner: boolean;
2896
+ Owner?: boolean;
2897
+ Title?: boolean;
2898
+ Outcome?: boolean;
2869
2899
  } & EnduserGrouping & {
2870
2900
  Enduser: string;
2871
2901
  };
@@ -3075,6 +3105,7 @@ export type AutomationTriggerEvents = {
3075
3105
  formId: string;
3076
3106
  submitterType?: SessionType | 'Anyone';
3077
3107
  publicIdentifier?: string;
3108
+ hasExpiredEvent?: boolean;
3078
3109
  }, {}>;
3079
3110
  'Form Unsubmitted': AutomationTriggerEventBuilder<"Form Unsubmitted", {
3080
3111
  formId: string;
@@ -3149,6 +3180,13 @@ export type AutomationTriggerEvents = {
3149
3180
  'Pregnancy Ended': AutomationTriggerEventBuilder<"Pregnancy Ended", {
3150
3181
  reason?: string;
3151
3182
  }, {}>;
3183
+ 'Form Group Completed': AutomationTriggerEventBuilder<"Form Group Completed", {
3184
+ groupId: string;
3185
+ }, {}>;
3186
+ 'Form Group Incomplete': AutomationTriggerEventBuilder<"Form Group Incomplete", {
3187
+ groupId: string;
3188
+ intervalInMS: number;
3189
+ }, {}>;
3152
3190
  };
3153
3191
  export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
3154
3192
  export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
@@ -3394,6 +3432,7 @@ export interface TicketThreadComment_updatesDisabled {
3394
3432
  }
3395
3433
  export interface TicketThreadComment extends TicketThreadComment_readonly, TicketThreadComment_required, TicketThreadComment_updatesDisabled {
3396
3434
  userId?: string;
3435
+ userDisplayName?: string;
3397
3436
  type?: string;
3398
3437
  attachments?: ChatAttachment[];
3399
3438
  voice?: {
@@ -3599,6 +3638,8 @@ export interface VitalConfiguration extends VitalConfiguration_readonly, VitalCo
3599
3638
  unit: string;
3600
3639
  ranges: VitalConfigurationRange[];
3601
3640
  mealStatus?: "Before" | "After" | "Any";
3641
+ originalConfigurationId?: string;
3642
+ enduserId?: string;
3602
3643
  }
3603
3644
  export interface BlockedPhone_readonly extends ClientRecord {
3604
3645
  }
@@ -3647,6 +3688,7 @@ export interface WebhookLog_updatesDisabled {
3647
3688
  export interface WebhookLog extends WebhookLog_readonly, WebhookLog_required, WebhookLog_updatesDisabled {
3648
3689
  }
3649
3690
  export type ModelForName_required = {
3691
+ form_groups: FormGroup_required;
3650
3692
  webhook_logs: WebhookLog_required;
3651
3693
  flowchart_notes: FlowchartNote_required;
3652
3694
  enduser_problems: EnduserProblem_required;
@@ -3724,6 +3766,7 @@ export type ModelForName_required = {
3724
3766
  };
3725
3767
  export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
3726
3768
  export interface ModelForName_readonly {
3769
+ form_groups: FormGroup_readonly;
3727
3770
  webhook_logs: WebhookLog_readonly;
3728
3771
  flowchart_notes: FlowchartNote_readonly;
3729
3772
  enduser_problems: EnduserProblem_readonly;
@@ -3801,6 +3844,7 @@ export interface ModelForName_readonly {
3801
3844
  }
3802
3845
  export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
3803
3846
  export interface ModelForName_updatesDisabled {
3847
+ form_groups: FormGroup_updatesDisabled;
3804
3848
  webhook_logs: WebhookLog_updatesDisabled;
3805
3849
  flowchart_notes: FlowchartNote_updatesDisabled;
3806
3850
  enduser_problems: EnduserProblem_updatesDisabled;
@@ -3878,6 +3922,7 @@ export interface ModelForName_updatesDisabled {
3878
3922
  }
3879
3923
  export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
3880
3924
  export interface ModelForName extends ModelForName_required, ModelForName_readonly {
3925
+ form_groups: FormGroup;
3881
3926
  webhook_logs: WebhookLog;
3882
3927
  flowchart_notes: FlowchartNote;
3883
3928
  enduser_problems: EnduserProblem;
@@ -3990,6 +4035,8 @@ export type JourneyContext = {
3990
4035
  observationId?: string;
3991
4036
  phoneCallId?: string;
3992
4037
  smsId?: string;
4038
+ formGroupId?: string;
4039
+ publicIdentifier?: string;
3993
4040
  };
3994
4041
  export declare const TIMEZONE_MAP: {
3995
4042
  readonly "Africa/Abidjan": "+00:00";