@tellescope/types-models 1.209.0 → 1.211.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.
@@ -1079,6 +1079,7 @@ export interface Email_updatesDisabled {
1079
1079
  journeyId?: string;
1080
1080
  }
1081
1081
  export interface Email extends Email_required, Email_readonly, Email_updatesDisabled, TextCommunication {
1082
+ replyToTemplateId?: string;
1082
1083
  userId: string;
1083
1084
  hiddenFromTimeline?: boolean;
1084
1085
  isAutoreply?: boolean;
@@ -1506,7 +1507,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
1506
1507
  copiedFrom?: string;
1507
1508
  copiedFromEnduserId?: string;
1508
1509
  }
1509
- export type FormFieldLiteralType = 'Rich Text' | 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
1510
+ export type FormFieldLiteralType = 'Rich Text' | 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time' | "Timezone";
1510
1511
  export type FormFieldComplexType = "Conditions" | "Allergies" | "Emotii" | "Hidden Value" | "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Chargebee" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
1511
1512
  export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
1512
1513
  export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
@@ -1771,6 +1772,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1771
1772
  hideFromBulkSubmission?: boolean;
1772
1773
  enduserFieldsToAppendForSync?: string[];
1773
1774
  allowPortalSubmission?: boolean;
1775
+ allowPortalSubmissionEnduserCondition?: Record<string, any>;
1774
1776
  canvasNoteCoding?: Partial<CanvasCoding>;
1775
1777
  syncToCanvasAsDataImport?: boolean;
1776
1778
  matchCareTeamTagsForCanvasPractitionerResolution?: ListOfStringsWithQualifier;
@@ -1852,6 +1854,7 @@ export interface Integration extends Integration_readonly, Integration_required,
1852
1854
  syncEnduserId?: boolean;
1853
1855
  syncCareTeam?: boolean;
1854
1856
  shardId?: string;
1857
+ pushHistoricalEvents?: boolean;
1855
1858
  }
1856
1859
  export type BuildDatabaseRecordField<K extends string, V, O> = {
1857
1860
  type: K;
@@ -2025,7 +2028,8 @@ export type FormResponseAnswerFileValue = {
2025
2028
  };
2026
2029
  export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
2027
2030
  export type FormResponseAnswerFiles = FormResponseValueAnswerBuilder<'files', FormResponseAnswerFileValue[]>;
2028
- export type FormResponseValueAnswer = (FormResponseAnswerGroup | FormResponseAnswerTable | FormResponseAnswerDescription | FormResponseAnswerEmail | FormResponseAnswerNumber | FormResponseAnswerPhone | FormResponseAnswerString | FormResponseAnswerStringLong | FormResponseAnswerRichText | FormResponseAnswerSignature | FormResponseAnswerMultipleChoice | FormResponseAnswerFile | FormResponseAnswerFiles | FormResponseAnswerDate | FormResponseAnswerRating | FormResponseAnswerRanking | FormResponseAnswerDateString | FormResponseAnswerAddress | FormResponseAnswerTime | FormResponseAnswerStripe | FormResponseAnswerDropdown | FormResponseAnswerDatabaseSelect | FormResponseAnswerMedications | FormResponseAnswerRelatedContacts | FormResponseAnswerInsurance | FormResponseAnswerAppointmentBooking | FormResponseAnswerHeight | FormResponseAnswerRedirect | FormResponseAnswerHiddenValue | FormResponseAnswerEmotii | FormResponseAnswerAllergies | FormResponseAnswerConditions | FormResponseAnswerChargebee);
2031
+ export type FormResponseAnswerTimezone = FormResponseValueAnswerBuilder<'Timezone', string>;
2032
+ export type FormResponseValueAnswer = (FormResponseAnswerGroup | FormResponseAnswerTimezone | FormResponseAnswerTable | FormResponseAnswerDescription | FormResponseAnswerEmail | FormResponseAnswerNumber | FormResponseAnswerPhone | FormResponseAnswerString | FormResponseAnswerStringLong | FormResponseAnswerRichText | FormResponseAnswerSignature | FormResponseAnswerMultipleChoice | FormResponseAnswerFile | FormResponseAnswerFiles | FormResponseAnswerDate | FormResponseAnswerRating | FormResponseAnswerRanking | FormResponseAnswerDateString | FormResponseAnswerAddress | FormResponseAnswerTime | FormResponseAnswerStripe | FormResponseAnswerDropdown | FormResponseAnswerDatabaseSelect | FormResponseAnswerMedications | FormResponseAnswerRelatedContacts | FormResponseAnswerInsurance | FormResponseAnswerAppointmentBooking | FormResponseAnswerHeight | FormResponseAnswerRedirect | FormResponseAnswerHiddenValue | FormResponseAnswerEmotii | FormResponseAnswerAllergies | FormResponseAnswerConditions | FormResponseAnswerChargebee);
2029
2033
  export type FormResponseValue = {
2030
2034
  fieldId: string;
2031
2035
  fieldTitle: string;
@@ -2073,6 +2077,7 @@ export type AnswerForType = {
2073
2077
  'Emotii': FormResponseAnswerEmotii['value'];
2074
2078
  'Allergies': FormResponseAnswerAllergies['value'];
2075
2079
  'Conditions': FormResponseAnswerConditions['value'];
2080
+ 'Timezone': FormResponseAnswerTimezone['value'];
2076
2081
  };
2077
2082
  export type Addendum = {
2078
2083
  timestamp: Date;
@@ -2198,6 +2203,7 @@ export interface AvailabilityBlock extends WeeklyAvailability, AvailabilityBlock
2198
2203
  export type CalendarEventReminderNotificationInfo = {
2199
2204
  templateId?: string;
2200
2205
  channel?: 'Email' | 'SMS';
2206
+ useTemplateForSMS?: boolean;
2201
2207
  };
2202
2208
  type BuildCalendarEventReminderInfo<T, I> = {
2203
2209
  type: T;
@@ -2562,6 +2568,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
2562
2568
  includeRelatedContactTypes?: string[];
2563
2569
  archivedAt?: Date | '';
2564
2570
  gtmTag?: string;
2571
+ dontRestrictRescheduleToOriginalHost?: boolean;
2565
2572
  }
2566
2573
  export interface CalendarEventRSVP_readonly extends ClientRecord {
2567
2574
  creatorType: SessionType;
@@ -2982,7 +2989,12 @@ export type CallUserAutomationAction = AutomationActionBuilder<'callUser', {
2982
2989
  message: string;
2983
2990
  routeBy: "Appointment Host";
2984
2991
  }>;
2992
+ export type StripeChargeCardOnFileAutomationAction = AutomationActionBuilder<'stripeChargeCardOnFile', {
2993
+ stripeKey?: string;
2994
+ priceIds: string[];
2995
+ }>;
2985
2996
  export type AutomationActionForType = {
2997
+ 'stripeChargeCardOnFile': StripeChargeCardOnFileAutomationAction;
2986
2998
  'outboundCall': OutboundCallAutomationAction;
2987
2999
  "sendEmail": SendEmailAutomationAction;
2988
3000
  "sendSMS": SendSMSAutomationAction;
@@ -3982,7 +3994,9 @@ export type AutomationTriggerEvents = {
3982
3994
  productIds?: string[];
3983
3995
  }, {}>;
3984
3996
  'Refund Issued': AutomationTriggerEventBuilder<"Refund Issued", {}, {}>;
3985
- 'Subscription Ended': AutomationTriggerEventBuilder<"Subscription Ended", {}, {}>;
3997
+ 'Subscription Ended': AutomationTriggerEventBuilder<"Subscription Ended", {
3998
+ productIds?: string[];
3999
+ }, {}>;
3986
4000
  'Subscription Payment Failed': AutomationTriggerEventBuilder<"Subscription Payment Failed", {}, {}>;
3987
4001
  'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {
3988
4002
  titles?: string[];
@@ -5235,6 +5249,7 @@ export type JourneyContext = {
5235
5249
  eligibilityResultId?: string;
5236
5250
  fileId?: string;
5237
5251
  chatRoomId?: string;
5252
+ twilioNumber?: string;
5238
5253
  };
5239
5254
  export declare const TIMEZONE_MAP: {
5240
5255
  readonly "Africa/Abidjan": "+00:00";