@tellescope/types-models 1.83.2 → 1.85.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.
@@ -100,6 +100,7 @@ type BuildCustomEnduserField<T, I> = {
100
100
  field: string;
101
101
  required?: boolean;
102
102
  hiddenFromProfile?: boolean;
103
+ requireConfirmation?: boolean;
103
104
  };
104
105
  export type CustomEnduserFields = {
105
106
  "Select": BuildCustomEnduserField<'Select', {
@@ -193,6 +194,11 @@ export type OrganizationSettings = {
193
194
  export type OrganizationLimits = {
194
195
  [K in ModelName]?: number;
195
196
  };
197
+ export type BasicWebhook = {
198
+ label: string;
199
+ url: string;
200
+ method?: 'Link' | 'POST';
201
+ };
196
202
  export interface Organization_readonly extends ClientRecord {
197
203
  subscriptionExpiresAt: Date;
198
204
  subscriptionPeriod: number;
@@ -277,6 +283,8 @@ export interface Organization extends Organization_readonly, Organization_requir
277
283
  videoCallBackgroundImage?: string;
278
284
  sendToVoicemailOOO?: boolean;
279
285
  outOfOfficeVoicemail?: PhonePlayback;
286
+ enduserProfileWebhooks?: BasicWebhook[];
287
+ showCommunity?: boolean;
280
288
  }
281
289
  export type OrganizationTheme = {
282
290
  name: string;
@@ -368,6 +376,7 @@ export type WeeklyAvailability = {
368
376
  intervalInMinutes?: number;
369
377
  active?: DateRange;
370
378
  locationId?: string;
379
+ locationIds?: string[];
371
380
  validTemplateIds?: string[];
372
381
  };
373
382
  export type NotificationPreference = {
@@ -584,6 +593,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
584
593
  title: string;
585
594
  id: string;
586
595
  }[];
596
+ salesforceId?: string;
587
597
  }
588
598
  export interface EnduserCustomType_readonly extends ClientRecord {
589
599
  }
@@ -876,6 +886,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
876
886
  batchId?: string;
877
887
  replyToTemplateId?: string;
878
888
  assignedTo?: string[];
889
+ templatedMessage?: string;
879
890
  }
880
891
  export type ChatRoomType = 'internal' | 'external' | 'Group Chat';
881
892
  export interface ChatRoom_readonly extends ClientRecord {
@@ -1076,6 +1087,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
1076
1087
  requireConfirmation?: boolean;
1077
1088
  reminders?: TicketReminder[];
1078
1089
  preserveContext?: boolean;
1090
+ phoneCallId?: string;
1079
1091
  }
1080
1092
  export type AttendeeInfo = {
1081
1093
  ExternalUserId: string;
@@ -1300,6 +1312,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1300
1312
  productIds?: string[];
1301
1313
  submitRedirectURL?: string;
1302
1314
  publicFormIdRedirect?: string;
1315
+ publicShowLanguage?: boolean;
1303
1316
  customization?: FormCustomization;
1304
1317
  disabled?: boolean;
1305
1318
  disableAutomaticIntegrationPush?: boolean;
@@ -1691,6 +1704,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
1691
1704
  bufferStartMinutes?: number;
1692
1705
  bufferEndMinutes?: number;
1693
1706
  canvasCoding?: CanvasCoding;
1707
+ canvasLocationId?: string;
1694
1708
  }
1695
1709
  export type PaymentProcessor = 'Square' | 'Stripe';
1696
1710
  export interface Product_readonly extends ClientRecord {
@@ -1811,6 +1825,7 @@ export interface AppointmentLocation extends AppointmentLocation_readonly, Appoi
1811
1825
  state?: string;
1812
1826
  phone?: string;
1813
1827
  timezone?: Timezone;
1828
+ canvasLocationId?: string;
1814
1829
  }
1815
1830
  export type AppointmentTerm = {
1816
1831
  title: string;
@@ -2226,6 +2241,12 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
2226
2241
  externalId?: string;
2227
2242
  deviceId?: string;
2228
2243
  references?: RelatedRecord[];
2244
+ reviewedAt?: Date;
2245
+ reviewedBy?: string;
2246
+ classifications?: {
2247
+ configurationId: string;
2248
+ classification: string;
2249
+ }[];
2229
2250
  }
2230
2251
  export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe';
2231
2252
  export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
@@ -2894,7 +2915,9 @@ export type AutomationTriggerEvents = {
2894
2915
  field: string;
2895
2916
  value: string;
2896
2917
  }, {}>;
2897
- 'Appointment Created': AutomationTriggerEventBuilder<"Appointment Created", {}, {}>;
2918
+ 'Appointment Created': AutomationTriggerEventBuilder<"Appointment Created", {
2919
+ titles?: string[];
2920
+ }, {}>;
2898
2921
  'Medication Added': AutomationTriggerEventBuilder<"Medication Added", {
2899
2922
  titles: string[];
2900
2923
  }, {}>;
@@ -2950,6 +2973,7 @@ export type Address = {
2950
2973
  state: string;
2951
2974
  zipCode: string;
2952
2975
  zipPlusFour?: string;
2976
+ title?: string;
2953
2977
  };
2954
2978
  type SuperbillProviderInfoRequired = {
2955
2979
  phone: string;
@@ -3196,6 +3220,9 @@ export interface TicketQueue_required {
3196
3220
  userIds: string[];
3197
3221
  }
3198
3222
  export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required, TicketQueue_updatesDisabled {
3223
+ type?: string;
3224
+ defaultFromNumber?: string;
3225
+ enduserFields?: string[];
3199
3226
  }
3200
3227
  export interface EnduserOrder_readonly extends ClientRecord {
3201
3228
  }