@tellescope/types-models 1.127.0 → 1.129.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.
package/src/index.ts CHANGED
@@ -188,6 +188,7 @@ export type OrganizationSettings = {
188
188
  alwaysShowInsurance?: boolean,
189
189
  defaultToOutboundConferenceCall?: boolean,
190
190
  sharedInboxReadStatus?: boolean,
191
+ matchEmailAndNames?: boolean,
191
192
  },
192
193
  tickets?: {
193
194
  defaultJourneyDueDateOffsetInMS?: number | '',
@@ -352,6 +353,7 @@ export interface Organization extends Organization_readonly, Organization_requir
352
353
  id: string,
353
354
  questionId: string,
354
355
  },
356
+ canvasSyncEmailConsent?: boolean,
355
357
  dosespotClinics?: { id: string, name: string }[],
356
358
  answersSyncToPortal?: { id: string, questions: string[] }[]
357
359
  externalFormIdsToSync?: string[],
@@ -765,6 +767,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
765
767
  useDefaultFromPhoneInAutomations?: boolean,
766
768
  stripeCustomerId?: string,
767
769
  stripeKey?: string,
770
+ lastDoseSpotSyncAt?: Date,
768
771
  // unsubscribedFromEmail?: boolean,
769
772
  // unsubscribedFromSMS?: boolean,
770
773
  }
@@ -816,6 +819,7 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
816
819
  },
817
820
  notes?: string,
818
821
  pharmacyName?: string,
822
+ pharmacyId?: string,
819
823
  orderStatus?: string,
820
824
  }
821
825
 
@@ -1191,6 +1195,14 @@ export interface MessageTemplate extends MessageTemplate_readonly, MessageTempla
1191
1195
  tags?: string[],
1192
1196
  }
1193
1197
 
1198
+ export interface MessageTemplateSnippet_readonly extends ClientRecord {}
1199
+ export interface MessageTemplateSnippet_required {
1200
+ key: string,
1201
+ value: string
1202
+ }
1203
+ export interface MessageTemplateSnippet_updatesDisabled {}
1204
+ export interface MessageTemplateSnippet extends MessageTemplateSnippet_readonly, MessageTemplateSnippet_required, MessageTemplateSnippet_updatesDisabled {}
1205
+
1194
1206
  export interface File_readonly extends ClientRecord {
1195
1207
  secureName: string,
1196
1208
  publicRead?: boolean, // set on prepare_file_upload and cannot be changed without messing up assumptions in access
@@ -2037,7 +2049,8 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
2037
2049
  portalSettings?: CalendarEventPortalSettings,
2038
2050
  isEphemeral?: boolean,
2039
2051
  videoIntegration?: VideoIntegrationType,
2040
- videoURL?: string, // for storing built-in video links (e.g. with our direct Zoom integration)
2052
+ videoURL?: string, // for storing built-in video links (e.g. join link for our built-in Zoom integration)
2053
+ videoStartURL?: string, // for storing built-in video links (e.g. join link for our built-in Zoom integration)
2041
2054
  externalVideoURL?: string, // for join links provided by integrations like Healthie
2042
2055
  videoHostUserId?: string, // so we know which integration to use for updating / deleting the event
2043
2056
  timezone?: Timezone
@@ -2199,6 +2212,7 @@ export interface AppointmentLocation extends AppointmentLocation_readonly, Appoi
2199
2212
  healthieLocationId?: string,
2200
2213
  healthieUseZoom?: boolean,
2201
2214
  instructions?: string,
2215
+ tags?: string[],
2202
2216
  }
2203
2217
 
2204
2218
  export interface BookingRestrictions {
@@ -2526,6 +2540,7 @@ export type HealthieSendChatAutomationAction = AutomationActionBuilder<'healthie
2526
2540
  export type CompleteTicketsAutomationAction = AutomationActionBuilder<'completeTickets', { journeyIds?: string[] }>
2527
2541
  export type ChangeContactTypeAutomationAction = AutomationActionBuilder<'changeContactType', { type: string }>
2528
2542
  export type ActiveCampaignSyncAutomationAction = AutomationActionBuilder<'activeCampaignSync', { }>
2543
+ export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'switchToRelatedContact', { type: string }>
2529
2544
 
2530
2545
  export type IterableFieldsMapping = {
2531
2546
  iterable: string,
@@ -2584,6 +2599,7 @@ export type AutomationActionForType = {
2584
2599
  'completeTickets': CompleteTicketsAutomationAction,
2585
2600
  'changeContactType': ChangeContactTypeAutomationAction,
2586
2601
  activeCampaignSync: ActiveCampaignSyncAutomationAction,
2602
+ switchToRelatedContact: SwitchToRelatedContactAutomationAction,
2587
2603
  }
2588
2604
  export type AutomationActionType = keyof AutomationActionForType
2589
2605
  export type AutomationAction = AutomationActionForType[AutomationActionType]
@@ -3270,6 +3286,8 @@ export interface AnalyticsFrame extends
3270
3286
  groupMax?: number | '',
3271
3287
  displayType?: string,
3272
3288
  analyticsFrameGroupingCategory?: AnalyticsFrameGroupingCategory[],
3289
+ truncationLength?: number,
3290
+ showEllipsis?: boolean,
3273
3291
  }
3274
3292
 
3275
3293
 
@@ -3571,6 +3589,7 @@ export interface PhoneTree extends PhoneTree_readonly, PhoneTree_required, Phone
3571
3589
  testEnduserIds?: string[],
3572
3590
  enduserCondition?: PhoneTreeEnduserCondition,
3573
3591
  bypassOOO?: boolean,
3592
+ defaultEntityType?: string,
3574
3593
  }
3575
3594
 
3576
3595
  export type TableViewColumn = {
@@ -3620,6 +3639,7 @@ export interface TicketThread extends TicketThread_readonly, TicketThread_requir
3620
3639
  closedAt?: Date | '',
3621
3640
  pinnedAt?: Date | '',
3622
3641
  assignedTo?: string[],
3642
+ tags?: string[],
3623
3643
  }
3624
3644
 
3625
3645
  export interface TicketThreadComment_readonly extends ClientRecord {
@@ -3655,6 +3675,7 @@ export interface TicketThreadComment extends TicketThreadComment_readonly, Ticke
3655
3675
  },
3656
3676
  hiddenBy?: { [index: string] : Date | '' };
3657
3677
  ticketIds?: string[],
3678
+ tags?: string[],
3658
3679
  }
3659
3680
 
3660
3681
  export interface Configuration_readonly extends ClientRecord {}
@@ -3895,6 +3916,7 @@ export interface WebhookLog_updatesDisabled {}
3895
3916
  export interface WebhookLog extends WebhookLog_readonly, WebhookLog_required, WebhookLog_updatesDisabled {}
3896
3917
 
3897
3918
  export type ModelForName_required = {
3919
+ message_template_snippets: MessageTemplateSnippet_required
3898
3920
  portal_brandings: PortalBranding_required
3899
3921
  form_groups: FormGroup_required,
3900
3922
  webhook_logs: WebhookLog_required,
@@ -3975,6 +3997,7 @@ export type ModelForName_required = {
3975
3997
  export type ClientModel_required = ModelForName_required[keyof ModelForName_required]
3976
3998
 
3977
3999
  export interface ModelForName_readonly {
4000
+ message_template_snippets: MessageTemplateSnippet_readonly,
3978
4001
  portal_brandings: PortalBranding_readonly,
3979
4002
  form_groups: FormGroup_readonly,
3980
4003
  webhook_logs: WebhookLog_readonly,
@@ -4055,6 +4078,7 @@ export interface ModelForName_readonly {
4055
4078
  export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly]
4056
4079
 
4057
4080
  export interface ModelForName_updatesDisabled {
4081
+ message_template_snippets: MessageTemplateSnippet_updatesDisabled,
4058
4082
  portal_brandings: PortalBranding_updatesDisabled,
4059
4083
  form_groups: FormGroup_updatesDisabled,
4060
4084
  webhook_logs: WebhookLog_updatesDisabled,
@@ -4135,6 +4159,7 @@ export interface ModelForName_updatesDisabled {
4135
4159
  export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled]
4136
4160
 
4137
4161
  export interface ModelForName extends ModelForName_required, ModelForName_readonly {
4162
+ message_template_snippets: MessageTemplateSnippet,
4138
4163
  portal_brandings: PortalBranding,
4139
4164
  form_groups: FormGroup,
4140
4165
  webhook_logs: WebhookLog,
@@ -4225,6 +4250,7 @@ export interface UserActivityInfo {
4225
4250
  export type UserActivityStatus = 'Active' | 'Away' | 'Unavailable'
4226
4251
 
4227
4252
  export const modelNameChecker: { [K in ModelName] : true } = {
4253
+ message_template_snippets: true,
4228
4254
  portal_brandings: true,
4229
4255
  form_groups: true,
4230
4256
  webhook_logs: true,