@tellescope/types-models 1.209.0 → 1.210.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;
@@ -2982,7 +2987,12 @@ export type CallUserAutomationAction = AutomationActionBuilder<'callUser', {
2982
2987
  message: string;
2983
2988
  routeBy: "Appointment Host";
2984
2989
  }>;
2990
+ export type StripeChargeCardOnFileAutomationAction = AutomationActionBuilder<'stripeChargeCardOnFile', {
2991
+ stripeKey?: string;
2992
+ priceIds: string[];
2993
+ }>;
2985
2994
  export type AutomationActionForType = {
2995
+ 'stripeChargeCardOnFile': StripeChargeCardOnFileAutomationAction;
2986
2996
  'outboundCall': OutboundCallAutomationAction;
2987
2997
  "sendEmail": SendEmailAutomationAction;
2988
2998
  "sendSMS": SendSMSAutomationAction;
@@ -3982,7 +3992,9 @@ export type AutomationTriggerEvents = {
3982
3992
  productIds?: string[];
3983
3993
  }, {}>;
3984
3994
  'Refund Issued': AutomationTriggerEventBuilder<"Refund Issued", {}, {}>;
3985
- 'Subscription Ended': AutomationTriggerEventBuilder<"Subscription Ended", {}, {}>;
3995
+ 'Subscription Ended': AutomationTriggerEventBuilder<"Subscription Ended", {
3996
+ productIds?: string[];
3997
+ }, {}>;
3986
3998
  'Subscription Payment Failed': AutomationTriggerEventBuilder<"Subscription Payment Failed", {}, {}>;
3987
3999
  'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {
3988
4000
  titles?: string[];
@@ -5235,6 +5247,7 @@ export type JourneyContext = {
5235
5247
  eligibilityResultId?: string;
5236
5248
  fileId?: string;
5237
5249
  chatRoomId?: string;
5250
+ twilioNumber?: string;
5238
5251
  };
5239
5252
  export declare const TIMEZONE_MAP: {
5240
5253
  readonly "Africa/Abidjan": "+00:00";