@tellescope/types-models 1.243.1 → 1.244.1

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.
@@ -1444,6 +1444,7 @@ export interface MessageTemplate extends MessageTemplate_readonly, MessageTempla
1444
1444
  forChannels?: string[];
1445
1445
  forRoles?: string[];
1446
1446
  forEntityTypes?: string[];
1447
+ forUserTags?: ListOfStringsWithQualifier;
1447
1448
  hideFromCompose?: boolean;
1448
1449
  tags?: string[];
1449
1450
  archivedAt?: Date | '';
@@ -1559,6 +1560,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
1559
1560
  message?: string;
1560
1561
  type?: string;
1561
1562
  owner?: string;
1563
+ skipCareTeamAssignment?: boolean;
1562
1564
  skillsRequired?: string[];
1563
1565
  chatRoomId?: string;
1564
1566
  priority?: number;
@@ -1621,6 +1623,11 @@ export interface TicketTemplate extends TicketTemplate_readonly, TicketTemplate_
1621
1623
  priority?: number;
1622
1624
  tags?: string[];
1623
1625
  archivedAt?: Date | '';
1626
+ actions?: TicketAction[];
1627
+ closeOnFinishedActions?: boolean;
1628
+ contextFormIds?: string[];
1629
+ contextEnduserFields?: string[];
1630
+ contextContentIds?: string[];
1624
1631
  }
1625
1632
  export type AttendeeInfo = {
1626
1633
  ExternalUserId: string;
@@ -1697,7 +1704,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
1697
1704
  copiedFromEnduserId?: string;
1698
1705
  }
1699
1706
  export type FormFieldLiteralType = 'Rich Text' | 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time' | "Timezone";
1700
- 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" | "Bridge Eligibility" | "Beluga Patient Preference" | "Pharmacy Search";
1707
+ 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" | "Bridge Eligibility" | "Candid Eligibility" | "Beluga Patient Preference" | "Pharmacy Search";
1701
1708
  export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
1702
1709
  export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
1703
1710
  export type PreviousFormFieldBuilder<T extends PreviousFormFieldType, V> = {
@@ -1748,6 +1755,8 @@ export type FormFieldValidation = {
1748
1755
  minLength?: number;
1749
1756
  maxLength?: number;
1750
1757
  repeat?: boolean;
1758
+ minDateOffsetMs?: number;
1759
+ maxDateOffsetMs?: number;
1751
1760
  };
1752
1761
  export type CanvasCoding = {
1753
1762
  system: string;
@@ -1809,6 +1818,8 @@ export type FormFieldOptions = FormFieldValidation & {
1809
1818
  bridgeServiceTypeIds?: string[];
1810
1819
  bridgeEligibilityType?: 'Soft' | 'Hard';
1811
1820
  useBridgeEligibilityResult?: boolean;
1821
+ candidServiceCode?: string;
1822
+ candidNPI?: string;
1812
1823
  addressFields?: string[];
1813
1824
  validStates?: string[];
1814
1825
  autoAdvance?: boolean;
@@ -1920,6 +1931,7 @@ export type FormCustomization = {
1920
1931
  maxWidth?: number;
1921
1932
  primaryColor?: string;
1922
1933
  secondaryColor?: string;
1934
+ showLogoOnIntakePage?: boolean;
1923
1935
  };
1924
1936
  export interface Form_readonly extends ClientRecord {
1925
1937
  numFields: number;
@@ -2118,6 +2130,7 @@ export type DatabaseRecordFields = {
2118
2130
  required?: boolean;
2119
2131
  hideFromTable?: boolean;
2120
2132
  wrap?: string;
2133
+ trimStrings?: boolean;
2121
2134
  options?: DatabaseRecordFieldsInfo[K]['options'];
2122
2135
  };
2123
2136
  };
@@ -2234,6 +2247,12 @@ export type FormResponseAnswerBridgeEligibility = FormResponseValueAnswerBuilder
2234
2247
  status?: string;
2235
2248
  userIds?: string[];
2236
2249
  }>;
2250
+ export type FormResponseAnswerCandidEligibility = FormResponseValueAnswerBuilder<'Candid Eligibility', {
2251
+ payerId?: string;
2252
+ status?: string;
2253
+ coverageId?: string;
2254
+ benefits?: object;
2255
+ }>;
2237
2256
  export type FormResponseAnswerHeight = FormResponseValueAnswerBuilder<'Height', {
2238
2257
  feet: number;
2239
2258
  inches: number;
@@ -2268,7 +2287,7 @@ export type FormResponseAnswerFileValue = {
2268
2287
  export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
2269
2288
  export type FormResponseAnswerFiles = FormResponseValueAnswerBuilder<'files', FormResponseAnswerFileValue[]>;
2270
2289
  export type FormResponseAnswerTimezone = FormResponseValueAnswerBuilder<'Timezone', string>;
2271
- 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 | FormResponseAnswerBelugaPatientPreference | FormResponseAnswerBridgeEligibility | FormResponseAnswerPharmacySearch);
2290
+ 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 | FormResponseAnswerBelugaPatientPreference | FormResponseAnswerBridgeEligibility | FormResponseAnswerCandidEligibility | FormResponseAnswerPharmacySearch);
2272
2291
  export type FormResponseValue = {
2273
2292
  fieldId: string;
2274
2293
  fieldTitle: string;
@@ -2309,6 +2328,7 @@ export type AnswerForType = {
2309
2328
  'Related Contacts': FormResponseAnswerRelatedContacts['value'];
2310
2329
  'Insurance': FormResponseAnswerInsurance['value'];
2311
2330
  'Bridge Eligibility': FormResponseAnswerBridgeEligibility['value'];
2331
+ 'Candid Eligibility': FormResponseAnswerCandidEligibility['value'];
2312
2332
  'Appointment Booking': FormResponseAnswerAppointmentBooking['value'];
2313
2333
  'Chargebee': FormResponseAnswerChargebee['value'];
2314
2334
  'Height': FormResponseAnswerHeight['value'];
@@ -2466,6 +2486,7 @@ type BuildCalendarEventReminderInfo<T, I> = {
2466
2486
  dontSendIfPassed?: boolean;
2467
2487
  didRemind?: boolean;
2468
2488
  dontSendIfJoined?: boolean;
2489
+ skipEnduserIds?: string[];
2469
2490
  };
2470
2491
  export type CalendarEventReminderInfoForType = {
2471
2492
  "webhook": BuildCalendarEventReminderInfo<'webhook', {}>;
@@ -2620,6 +2641,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
2620
2641
  preventCancelInPortal?: boolean;
2621
2642
  sendIcsEmail?: boolean;
2622
2643
  healthieInsuranceBillingEnabled?: boolean;
2644
+ resendRemindersOnAttendeeAdd?: boolean;
2623
2645
  }
2624
2646
  export type PaymentProcessor = 'Square' | 'Stripe';
2625
2647
  export interface Product_readonly extends ClientRecord {
@@ -2758,6 +2780,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
2758
2780
  athenaBookingTypeId?: string;
2759
2781
  healthieInsuranceBillingEnabled?: boolean;
2760
2782
  replaceHostOnReschedule?: boolean;
2783
+ resendRemindersOnAttendeeAdd?: boolean;
2761
2784
  }
2762
2785
  export interface AppointmentLocation_readonly extends ClientRecord {
2763
2786
  }
@@ -2925,6 +2948,12 @@ export type SenderAssignmentStrategies = {
2925
2948
  type: 'Default';
2926
2949
  info: {};
2927
2950
  };
2951
+ 'Care Team': {
2952
+ type: 'Care Team';
2953
+ info: {
2954
+ tags?: ListOfStringsWithQualifier;
2955
+ };
2956
+ };
2928
2957
  };
2929
2958
  export type SenderAssignmentStrategyType = keyof SenderAssignmentStrategies;
2930
2959
  export type SenderAssignmentStrategy = SenderAssignmentStrategies[SenderAssignmentStrategyType];
@@ -3194,10 +3223,34 @@ export type SmartMeterPlaceOrderAutomationAction = AutomationActionBuilder<'smar
3194
3223
  lines: SmartMeterOrderLineItem[];
3195
3224
  shipping?: string;
3196
3225
  }>;
3226
+ export type BelugaAutoRxPatientPreferenceItem = {
3227
+ name: string;
3228
+ strength: string;
3229
+ refills: string;
3230
+ quantity: string;
3231
+ medId: string;
3232
+ };
3233
+ export type BelugaAutoRxAutomationAction = AutomationActionBuilder<'belugaAutoRx', {
3234
+ patientPreference: BelugaAutoRxPatientPreferenceItem;
3235
+ pharmacyId: string;
3236
+ }>;
3237
+ export type BelugaUpdateVisitPatientPreferenceItem = {
3238
+ name: string;
3239
+ strength: string;
3240
+ refills: string;
3241
+ quantity: string;
3242
+ daysSupply: string;
3243
+ medId: string;
3244
+ };
3245
+ export type BelugaUpdateVisitAutomationAction = AutomationActionBuilder<'belugaUpdateVisit', {
3246
+ patientPreferences: BelugaUpdateVisitPatientPreferenceItem[];
3247
+ pharmacyId: string;
3248
+ }>;
3197
3249
  export type SendChatAutomationAction = AutomationActionBuilder<'sendChat', {
3198
3250
  templateId: string;
3199
3251
  identifier: string;
3200
3252
  includeCareTeam?: boolean;
3253
+ careTeamTags?: ListOfStringsWithQualifier;
3201
3254
  userIds?: string[];
3202
3255
  sendToDestinationOfRelatedContactTypes?: string[];
3203
3256
  }>;
@@ -3210,6 +3263,9 @@ export type HealthieSendChatAutomationAction = AutomationActionBuilder<'healthie
3210
3263
  identifier: string;
3211
3264
  includeCareTeam?: boolean;
3212
3265
  }>;
3266
+ export type HealthiePushFormsAutomationAction = AutomationActionBuilder<'healthiePushForms', {
3267
+ formIds: string[];
3268
+ }>;
3213
3269
  export type CompleteTicketsAutomationAction = AutomationActionBuilder<'completeTickets', {
3214
3270
  journeyIds?: string[];
3215
3271
  }>;
@@ -3361,9 +3417,12 @@ export type AutomationActionForType = {
3361
3417
  'zusSubscribe': ZusSubscribeAutomationAction;
3362
3418
  'pagerDutyCreateIncident': PagerDutyCreateIncidentAutomationAction;
3363
3419
  'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction;
3420
+ 'belugaAutoRx': BelugaAutoRxAutomationAction;
3421
+ 'belugaUpdateVisit': BelugaUpdateVisitAutomationAction;
3364
3422
  'healthieSync': HealthieSyncAutomationAction;
3365
3423
  healthieAddToCourse: HealthieAddToCourseAutomationAction;
3366
3424
  healthieSendChat: HealthieSendChatAutomationAction;
3425
+ healthiePushForms: HealthiePushFormsAutomationAction;
3367
3426
  'completeTickets': CompleteTicketsAutomationAction;
3368
3427
  'changeContactType': ChangeContactTypeAutomationAction;
3369
3428
  activeCampaignSync: ActiveCampaignSyncAutomationAction;
@@ -3724,6 +3783,7 @@ export interface AutomatedAction extends AutomatedAction_readonly, AutomatedActi
3724
3783
  isNOP?: boolean;
3725
3784
  cancelledBy?: string;
3726
3785
  journeyContext?: JourneyContext;
3786
+ externalId?: string;
3727
3787
  }
3728
3788
  export interface UserLog_readonly extends ClientRecord {
3729
3789
  userId: string;
@@ -4605,6 +4665,10 @@ export type AutomationTriggerEvents = {
4605
4665
  healthieFormIds?: string[];
4606
4666
  answersCondition?: Record<string, any>;
4607
4667
  }, {}>;
4668
+ 'Healthie Form Answer Group Created': AutomationTriggerEventBuilder<"Healthie Form Answer Group Created", {
4669
+ healthieFormIds?: string[];
4670
+ answersCondition?: Record<string, any>;
4671
+ }, {}>;
4608
4672
  'Database Entry Added': AutomationTriggerEventBuilder<"Database Entry Added", {
4609
4673
  databaseId: string;
4610
4674
  }, {}>;