@tellescope/types-models 1.153.0 → 1.153.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.
@@ -1356,7 +1356,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
1356
1356
  discussionRoomId?: string;
1357
1357
  }
1358
1358
  export type FormFieldLiteralType = 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
1359
- export type FormFieldComplexType = "Allergies" | "Emotii" | "Hidden Value" | "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
1359
+ export type FormFieldComplexType = "Conditions" | "Allergies" | "Emotii" | "Hidden Value" | "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
1360
1360
  export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
1361
1361
  export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
1362
1362
  export type PreviousFormFieldBuilder<T extends PreviousFormFieldType, V> = {
@@ -1783,6 +1783,7 @@ export type FormResponseAnswerHeight = FormResponseValueAnswerBuilder<'Height',
1783
1783
  }>;
1784
1784
  export type FormResponseAnswerRedirect = FormResponseValueAnswerBuilder<'Redirect', string>;
1785
1785
  export type FormResponseAnswerAllergies = FormResponseValueAnswerBuilder<'Allergies', AllergyResponse[]>;
1786
+ export type FormResponseAnswerConditions = FormResponseValueAnswerBuilder<'Conditions', AllergyResponse[]>;
1786
1787
  export type FormResponseAnswerSignatureValue = {
1787
1788
  fullName: string;
1788
1789
  signed: boolean;
@@ -1804,7 +1805,7 @@ export type FormResponseAnswerFileValue = {
1804
1805
  };
1805
1806
  export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
1806
1807
  export type FormResponseAnswerFiles = FormResponseValueAnswerBuilder<'files', FormResponseAnswerFileValue[]>;
1807
- 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 | FormResponseAnswerRedirect | FormResponseAnswerHiddenValue | FormResponseAnswerEmotii | FormResponseAnswerAllergies);
1808
+ 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 | FormResponseAnswerRedirect | FormResponseAnswerHiddenValue | FormResponseAnswerEmotii | FormResponseAnswerAllergies | FormResponseAnswerConditions);
1808
1809
  export type FormResponseValue = {
1809
1810
  fieldId: string;
1810
1811
  fieldTitle: string;
@@ -1849,6 +1850,7 @@ export type AnswerForType = {
1849
1850
  'Hidden Value': FormResponseAnswerHiddenValue['value'];
1850
1851
  'Emotii': FormResponseAnswerEmotii['value'];
1851
1852
  'Allergies': FormResponseAnswerAllergies['value'];
1853
+ 'Conditions': FormResponseAnswerConditions['value'];
1852
1854
  };
1853
1855
  export type Addendum = {
1854
1856
  timestamp: Date;
@@ -2407,6 +2409,7 @@ export type AfterActionEventInfo = {
2407
2409
  unit: UnitOfTime;
2408
2410
  officeHoursOnly?: boolean;
2409
2411
  cancelConditions?: CancelCondition[];
2412
+ abTestCondition?: string;
2410
2413
  };
2411
2414
  export type TicketCompletedEventInfo = {
2412
2415
  automationStepId: string;
@@ -4194,7 +4197,19 @@ export interface SuggestedContact_updatesDisabled {
4194
4197
  }
4195
4198
  export interface SuggestedContact extends SuggestedContact_readonly, SuggestedContact_required, SuggestedContact_updatesDisabled {
4196
4199
  }
4200
+ export interface DiagnosisCode_readonly extends ClientRecord {
4201
+ }
4202
+ export interface DiagnosisCode_required {
4203
+ code: string;
4204
+ display: string;
4205
+ system: string;
4206
+ }
4207
+ export interface DiagnosisCode_updatesDisabled {
4208
+ }
4209
+ export interface DiagnosisCode extends DiagnosisCode_readonly, DiagnosisCode_required, DiagnosisCode_updatesDisabled {
4210
+ }
4197
4211
  export type ModelForName_required = {
4212
+ diagnosis_codes: DiagnosisCode_required;
4198
4213
  suggested_contacts: SuggestedContact_required;
4199
4214
  call_hold_queues: CallHoldQueue_required;
4200
4215
  fax_logs: FaxLog_required;
@@ -4278,6 +4293,7 @@ export type ModelForName_required = {
4278
4293
  };
4279
4294
  export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
4280
4295
  export interface ModelForName_readonly {
4296
+ diagnosis_codes: DiagnosisCode_readonly;
4281
4297
  suggested_contacts: SuggestedContact_readonly;
4282
4298
  call_hold_queues: CallHoldQueue_readonly;
4283
4299
  fax_logs: FaxLog_readonly;
@@ -4361,6 +4377,7 @@ export interface ModelForName_readonly {
4361
4377
  }
4362
4378
  export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
4363
4379
  export interface ModelForName_updatesDisabled {
4380
+ diagnosis_codes: DiagnosisCode_updatesDisabled;
4364
4381
  suggested_contacts: SuggestedContact_updatesDisabled;
4365
4382
  call_hold_queues: CallHoldQueue_updatesDisabled;
4366
4383
  fax_logs: FaxLog_updatesDisabled;
@@ -4444,6 +4461,7 @@ export interface ModelForName_updatesDisabled {
4444
4461
  }
4445
4462
  export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
4446
4463
  export interface ModelForName extends ModelForName_required, ModelForName_readonly {
4464
+ diagnosis_codes: DiagnosisCode;
4447
4465
  suggested_contacts: SuggestedContact;
4448
4466
  call_hold_queues: CallHoldQueue;
4449
4467
  fax_logs: FaxLog;