@tellescope/types-models 1.95.0 → 1.96.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.
@@ -813,6 +813,7 @@ export type JourneyStatistics = {
813
813
  steps: Record<string, {
814
814
  count: number;
815
815
  opens?: number;
816
+ clicked?: number;
816
817
  }>;
817
818
  };
818
819
  export type FormStatistics = {
@@ -1212,7 +1213,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
1212
1213
  tags?: string[];
1213
1214
  }
1214
1215
  export type FormFieldLiteralType = 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
1215
- export type FormFieldComplexType = "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
1216
+ export type FormFieldComplexType = "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
1216
1217
  export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
1217
1218
  export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
1218
1219
  export type PreviousFormFieldBuilder<T extends PreviousFormFieldType, V> = {
@@ -1576,6 +1577,10 @@ export type FormResponseAnswerMedications = FormResponseValueAnswerBuilder<'Medi
1576
1577
  export type FormResponseAnswerRelatedContacts = FormResponseValueAnswerBuilder<'Related Contacts', Partial<Enduser>[]>;
1577
1578
  export type FormResponseAnswerAppointmentBooking = FormResponseValueAnswerBuilder<'Appointment Booking', string>;
1578
1579
  export type FormResponseAnswerInsurance = FormResponseValueAnswerBuilder<'Insurance', Partial<EnduserInsurance>>;
1580
+ export type FormResponseAnswerHeight = FormResponseValueAnswerBuilder<'Height', {
1581
+ feet: number;
1582
+ inches: number;
1583
+ }>;
1579
1584
  export type FormResponseAnswerSignatureValue = {
1580
1585
  fullName: string;
1581
1586
  signed: boolean;
@@ -1595,7 +1600,7 @@ export type FormResponseAnswerFileValue = {
1595
1600
  };
1596
1601
  export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
1597
1602
  export type FormResponseAnswerFiles = FormResponseValueAnswerBuilder<'files', FormResponseAnswerFileValue[]>;
1598
- export type FormResponseValueAnswer = (FormResponseAnswerGroup | FormResponseAnswerTable | FormResponseAnswerDescription | FormResponseAnswerEmail | FormResponseAnswerNumber | FormResponseAnswerPhone | FormResponseAnswerString | FormResponseAnswerStringLong | FormResponseAnswerSignature | FormResponseAnswerMultipleChoice | FormResponseAnswerFile | FormResponseAnswerFiles | FormResponseAnswerDate | FormResponseAnswerRating | FormResponseAnswerRanking | FormResponseAnswerDateString | FormResponseAnswerAddress | FormResponseAnswerTime | FormResponseAnswerStripe | FormResponseAnswerDropdown | FormResponseAnswerDatabaseSelect | FormResponseAnswerMedications | FormResponseAnswerRelatedContacts | FormResponseAnswerInsurance | FormResponseAnswerAppointmentBooking);
1603
+ export type FormResponseValueAnswer = (FormResponseAnswerGroup | FormResponseAnswerTable | FormResponseAnswerDescription | FormResponseAnswerEmail | FormResponseAnswerNumber | FormResponseAnswerPhone | FormResponseAnswerString | FormResponseAnswerStringLong | FormResponseAnswerSignature | FormResponseAnswerMultipleChoice | FormResponseAnswerFile | FormResponseAnswerFiles | FormResponseAnswerDate | FormResponseAnswerRating | FormResponseAnswerRanking | FormResponseAnswerDateString | FormResponseAnswerAddress | FormResponseAnswerTime | FormResponseAnswerStripe | FormResponseAnswerDropdown | FormResponseAnswerDatabaseSelect | FormResponseAnswerMedications | FormResponseAnswerRelatedContacts | FormResponseAnswerInsurance | FormResponseAnswerAppointmentBooking | FormResponseAnswerHeight);
1599
1604
  export type FormResponseValue = {
1600
1605
  fieldId: string;
1601
1606
  fieldTitle: string;
@@ -1632,6 +1637,7 @@ export type AnswerForType = {
1632
1637
  'Related Contacts': FormResponseAnswerRelatedContacts['value'];
1633
1638
  'Insurance': FormResponseAnswerInsurance['value'];
1634
1639
  'Appointment Booking': FormResponseAnswerAppointmentBooking['value'];
1640
+ 'Height': FormResponseAnswerHeight['value'];
1635
1641
  };
1636
1642
  export interface FormResponse_readonly extends ClientRecord {
1637
1643
  openedAt?: Date;
@@ -3213,6 +3219,7 @@ export type PhoneTreeEvents = {
3213
3219
  'On Gather': PhoneTreeEventBuilder<'On Gather', {
3214
3220
  digits?: string;
3215
3221
  transcription?: string;
3222
+ handleNoInput?: boolean;
3216
3223
  }>;
3217
3224
  };
3218
3225
  export type PhoneTreeEventType = keyof PhoneTreeEvents;
@@ -3263,6 +3270,9 @@ export type PhoneTreeActions = {
3263
3270
  byTags?: ListOfStringsWithQualifier;
3264
3271
  playback?: Partial<PhonePlayback>;
3265
3272
  }>;
3273
+ 'Forward Call': PhoneTreeActionBuilder<"Forward Call", {
3274
+ to: string;
3275
+ }>;
3266
3276
  };
3267
3277
  export type PhoneTreeActionType = keyof PhoneTreeActions;
3268
3278
  export type PhoneTreeAction = PhoneTreeActions[PhoneTreeActionType];
@@ -3457,6 +3467,7 @@ export type DiagnosisType = keyof DiagnosisTypes;
3457
3467
  export type Diagnosis = {
3458
3468
  type: keyof DiagnosisTypes;
3459
3469
  code: string;
3470
+ modifiers?: string[];
3460
3471
  procedureCodes?: CandidProcedureCode[];
3461
3472
  };
3462
3473
  export interface EnduserEncounter_readonly extends ClientRecord {
@@ -3477,6 +3488,7 @@ export interface EnduserEncounter extends EnduserEncounter_readonly, EnduserEnco
3477
3488
  placeOfServiceCode: string;
3478
3489
  billingProviderAddress?: Address;
3479
3490
  serviceFacilityAddress?: Address;
3491
+ modifiers?: string[];
3480
3492
  error?: string;
3481
3493
  }
3482
3494
  export interface TicketQueue_readonly extends ClientRecord {