@tellescope/types-models 1.78.0 → 1.80.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.
@@ -183,6 +183,9 @@ export type OrganizationSettings = {
183
183
  templateRequired?: boolean;
184
184
  locationRequired?: boolean;
185
185
  };
186
+ users?: {
187
+ sessionDurationInHours?: number;
188
+ };
186
189
  };
187
190
  export type OrganizationLimits = {
188
191
  [K in ModelName]?: number;
@@ -333,6 +336,7 @@ export interface UserSession extends Session, OrganizationLimits {
333
336
  access: AccessPermissions;
334
337
  orgName: string;
335
338
  orgTwilioNumber: string;
339
+ defaultTwilioNumber?: string;
336
340
  ticketThreadsEnabled?: boolean;
337
341
  fromEmail?: string;
338
342
  verifiedEmail: boolean;
@@ -343,6 +347,7 @@ export interface UserSession extends Session, OrganizationLimits {
343
347
  hasTicketQueues?: boolean;
344
348
  eat?: boolean;
345
349
  lockedOutUntil?: number;
350
+ duration?: number;
346
351
  }
347
352
  export type StateCredentialInfo = {
348
353
  state: string;
@@ -560,6 +565,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
560
565
  accessTags?: string[];
561
566
  unsubscribedFromMarketing?: boolean;
562
567
  insurance?: EnduserInsurance;
568
+ insuranceSecondary?: EnduserInsurance;
563
569
  }
564
570
  export interface EnduserCustomType_readonly extends ClientRecord {
565
571
  }
@@ -849,6 +855,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
849
855
  enduserPhoneNumber?: string;
850
856
  tags?: string[];
851
857
  batchId?: string;
858
+ replyToTemplateId?: string;
852
859
  }
853
860
  export type ChatRoomType = 'internal' | 'external' | 'Group Chat';
854
861
  export interface ChatRoom_readonly extends ClientRecord {
@@ -1095,7 +1102,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
1095
1102
  tags?: string[];
1096
1103
  }
1097
1104
  export type FormFieldLiteralType = 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
1098
- export type FormFieldComplexType = "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
1105
+ export type FormFieldComplexType = "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
1099
1106
  export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
1100
1107
  export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
1101
1108
  export type PreviousFormFieldBuilder<T extends PreviousFormFieldType, V> = {
@@ -1141,11 +1148,13 @@ export type FormFieldValidation = {
1141
1148
  maxLength?: number;
1142
1149
  repeat?: boolean;
1143
1150
  };
1144
- export type CanvasConsentCategory = {
1151
+ export type CanvasCoding = {
1145
1152
  system: string;
1146
1153
  code: string;
1147
1154
  display: string;
1148
1155
  };
1156
+ export interface CanvasConsentCategory extends CanvasCoding {
1157
+ }
1149
1158
  export type FormFieldOptions = FormFieldValidation & {
1150
1159
  tableChoices?: TableInputChoice[];
1151
1160
  choices?: string[];
@@ -1173,6 +1182,7 @@ export type FormFieldOptions = FormFieldValidation & {
1173
1182
  disableNext?: boolean;
1174
1183
  customPriceMessage?: string;
1175
1184
  billingProvider?: 'Canvas' | "Candid" | string;
1185
+ bookingPageId?: string;
1176
1186
  };
1177
1187
  export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
1178
1188
  export type FormFieldCalloutConditionComparison = 'Equals';
@@ -1420,6 +1430,7 @@ export type FormResponseAnswerStripe = FormResponseValueAnswerBuilder<'Stripe',
1420
1430
  export type FormResponseAnswerDatabaseSelect = FormResponseValueAnswerBuilder<'Database Select', DatabaseSelectResponse[]>;
1421
1431
  export type FormResponseAnswerMedications = FormResponseValueAnswerBuilder<'Medications', MedicationResponse[]>;
1422
1432
  export type FormResponseAnswerRelatedContacts = FormResponseValueAnswerBuilder<'Related Contacts', Partial<Enduser>[]>;
1433
+ export type FormResponseAnswerAppointmentBooking = FormResponseValueAnswerBuilder<'Appointment Booking', string>;
1423
1434
  export type FormResponseAnswerInsurance = FormResponseValueAnswerBuilder<'Insurance', Partial<EnduserInsurance>>;
1424
1435
  export type FormResponseAnswerSignatureValue = {
1425
1436
  fullName: string;
@@ -1440,7 +1451,7 @@ export type FormResponseAnswerFileValue = {
1440
1451
  };
1441
1452
  export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
1442
1453
  export type FormResponseAnswerFiles = FormResponseValueAnswerBuilder<'files', FormResponseAnswerFileValue[]>;
1443
- 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);
1454
+ 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);
1444
1455
  export type FormResponseValue = {
1445
1456
  fieldId: string;
1446
1457
  fieldTitle: string;
@@ -1476,6 +1487,7 @@ export type AnswerForType = {
1476
1487
  'Medications': FormResponseAnswerMedications['value'];
1477
1488
  'Related Contacts': FormResponseAnswerRelatedContacts['value'];
1478
1489
  'Insurance': FormResponseAnswerInsurance['value'];
1490
+ 'Appointment Booking': FormResponseAnswerAppointmentBooking['value'];
1479
1491
  };
1480
1492
  export interface FormResponse_readonly extends ClientRecord {
1481
1493
  openedAt?: Date;
@@ -1641,6 +1653,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
1641
1653
  enduserAttendeeLimit?: number;
1642
1654
  bufferStartMinutes?: number;
1643
1655
  bufferEndMinutes?: number;
1656
+ canvasCoding?: CanvasCoding;
1644
1657
  }
1645
1658
  export type PaymentProcessor = 'Square' | 'Stripe';
1646
1659
  export interface Product_readonly extends ClientRecord {
@@ -1745,6 +1758,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
1745
1758
  apiOnly?: boolean;
1746
1759
  bufferStartMinutes?: number;
1747
1760
  bufferEndMinutes?: number;
1761
+ canvasCoding?: CanvasCoding;
1748
1762
  }
1749
1763
  export interface AppointmentLocation_readonly extends ClientRecord {
1750
1764
  }
@@ -2465,6 +2479,7 @@ export type AnalyticsQueryResultValue = {
2465
2479
  value: number;
2466
2480
  numerator?: number;
2467
2481
  denominator?: number;
2482
+ userId?: string;
2468
2483
  };
2469
2484
  export type AnalyticsQueryResult = {
2470
2485
  count?: number;
@@ -2648,6 +2663,7 @@ export declare const resource_to_modelName: {
2648
2663
  export type AnalyticsQueryOptions = {
2649
2664
  createdRange?: DateRange;
2650
2665
  updatedRange?: DateRange;
2666
+ groupByCareTeam?: boolean;
2651
2667
  };
2652
2668
  export type AnalyticsFrameType = 'Percentage';
2653
2669
  export interface AnalyticsFrame_readonly extends ClientRecord {
@@ -2655,6 +2671,7 @@ export interface AnalyticsFrame_readonly extends ClientRecord {
2655
2671
  export interface AnalyticsFrame_required {
2656
2672
  title: string;
2657
2673
  query: AnalyticsQuery;
2674
+ groupByCareTeam?: boolean;
2658
2675
  }
2659
2676
  export interface AnalyticsFrame_updatesDisabled {
2660
2677
  }
@@ -4137,4 +4154,5 @@ export type DataSyncRecord = {
4137
4154
  userIds: string[];
4138
4155
  enduserIds: string[];
4139
4156
  };
4157
+ export type InsuranceType = "Primary" | "Secondary";
4140
4158
  //# sourceMappingURL=index.d.ts.map