@tellescope/types-models 1.153.0 → 1.154.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.
@@ -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> = {
@@ -1577,6 +1577,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1577
1577
  }[];
1578
1578
  hideAfterUnsubmittedInMS?: number;
1579
1579
  hideFromCompose?: boolean;
1580
+ enduserFieldsToAppendForSync?: string[];
1580
1581
  }
1581
1582
  export interface FormGroup_readonly extends ClientRecord {
1582
1583
  }
@@ -1783,6 +1784,7 @@ export type FormResponseAnswerHeight = FormResponseValueAnswerBuilder<'Height',
1783
1784
  }>;
1784
1785
  export type FormResponseAnswerRedirect = FormResponseValueAnswerBuilder<'Redirect', string>;
1785
1786
  export type FormResponseAnswerAllergies = FormResponseValueAnswerBuilder<'Allergies', AllergyResponse[]>;
1787
+ export type FormResponseAnswerConditions = FormResponseValueAnswerBuilder<'Conditions', AllergyResponse[]>;
1786
1788
  export type FormResponseAnswerSignatureValue = {
1787
1789
  fullName: string;
1788
1790
  signed: boolean;
@@ -1804,7 +1806,7 @@ export type FormResponseAnswerFileValue = {
1804
1806
  };
1805
1807
  export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
1806
1808
  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);
1809
+ 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
1810
  export type FormResponseValue = {
1809
1811
  fieldId: string;
1810
1812
  fieldTitle: string;
@@ -1849,6 +1851,7 @@ export type AnswerForType = {
1849
1851
  'Hidden Value': FormResponseAnswerHiddenValue['value'];
1850
1852
  'Emotii': FormResponseAnswerEmotii['value'];
1851
1853
  'Allergies': FormResponseAnswerAllergies['value'];
1854
+ 'Conditions': FormResponseAnswerConditions['value'];
1852
1855
  };
1853
1856
  export type Addendum = {
1854
1857
  timestamp: Date;
@@ -2407,6 +2410,7 @@ export type AfterActionEventInfo = {
2407
2410
  unit: UnitOfTime;
2408
2411
  officeHoursOnly?: boolean;
2409
2412
  cancelConditions?: CancelCondition[];
2413
+ abTestCondition?: string;
2410
2414
  };
2411
2415
  export type TicketCompletedEventInfo = {
2412
2416
  automationStepId: string;
@@ -4194,7 +4198,31 @@ export interface SuggestedContact_updatesDisabled {
4194
4198
  }
4195
4199
  export interface SuggestedContact extends SuggestedContact_readonly, SuggestedContact_required, SuggestedContact_updatesDisabled {
4196
4200
  }
4201
+ export interface DiagnosisCode_readonly extends ClientRecord {
4202
+ }
4203
+ export interface DiagnosisCode_required {
4204
+ code: string;
4205
+ display: string;
4206
+ system: string;
4207
+ }
4208
+ export interface DiagnosisCode_updatesDisabled {
4209
+ }
4210
+ export interface DiagnosisCode extends DiagnosisCode_readonly, DiagnosisCode_required, DiagnosisCode_updatesDisabled {
4211
+ }
4212
+ export interface AllergyCode_readonly extends ClientRecord {
4213
+ }
4214
+ export interface AllergyCode_required {
4215
+ code: string;
4216
+ display: string;
4217
+ system: string;
4218
+ }
4219
+ export interface AllergyCode_updatesDisabled {
4220
+ }
4221
+ export interface AllergyCode extends AllergyCode_readonly, AllergyCode_required, AllergyCode_updatesDisabled {
4222
+ }
4197
4223
  export type ModelForName_required = {
4224
+ allergy_codes: AllergyCode_required;
4225
+ diagnosis_codes: DiagnosisCode_required;
4198
4226
  suggested_contacts: SuggestedContact_required;
4199
4227
  call_hold_queues: CallHoldQueue_required;
4200
4228
  fax_logs: FaxLog_required;
@@ -4278,6 +4306,8 @@ export type ModelForName_required = {
4278
4306
  };
4279
4307
  export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
4280
4308
  export interface ModelForName_readonly {
4309
+ allergy_codes: AllergyCode_readonly;
4310
+ diagnosis_codes: DiagnosisCode_readonly;
4281
4311
  suggested_contacts: SuggestedContact_readonly;
4282
4312
  call_hold_queues: CallHoldQueue_readonly;
4283
4313
  fax_logs: FaxLog_readonly;
@@ -4361,6 +4391,8 @@ export interface ModelForName_readonly {
4361
4391
  }
4362
4392
  export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
4363
4393
  export interface ModelForName_updatesDisabled {
4394
+ allergy_codes: AllergyCode_updatesDisabled;
4395
+ diagnosis_codes: DiagnosisCode_updatesDisabled;
4364
4396
  suggested_contacts: SuggestedContact_updatesDisabled;
4365
4397
  call_hold_queues: CallHoldQueue_updatesDisabled;
4366
4398
  fax_logs: FaxLog_updatesDisabled;
@@ -4444,6 +4476,8 @@ export interface ModelForName_updatesDisabled {
4444
4476
  }
4445
4477
  export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
4446
4478
  export interface ModelForName extends ModelForName_required, ModelForName_readonly {
4479
+ allergy_codes: AllergyCode;
4480
+ diagnosis_codes: DiagnosisCode;
4447
4481
  suggested_contacts: SuggestedContact;
4448
4482
  call_hold_queues: CallHoldQueue;
4449
4483
  fax_logs: FaxLog;