@tellescope/types-models 1.95.0 → 1.97.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.
- package/lib/cjs/index.d.ts +30 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +30 -2
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/index.ts +25 -5
package/lib/cjs/index.d.ts
CHANGED
|
@@ -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 {
|
|
@@ -3598,7 +3610,20 @@ export interface FlowchartNote extends FlowchartNote_readonly, FlowchartNote_req
|
|
|
3598
3610
|
note: string;
|
|
3599
3611
|
flowchartUI?: FlowchartUI;
|
|
3600
3612
|
}
|
|
3613
|
+
export interface WebhookLog_readonly extends ClientRecord {
|
|
3614
|
+
url: string;
|
|
3615
|
+
payload: object;
|
|
3616
|
+
responseCode: string | number;
|
|
3617
|
+
response: string | object;
|
|
3618
|
+
}
|
|
3619
|
+
export interface WebhookLog_required {
|
|
3620
|
+
}
|
|
3621
|
+
export interface WebhookLog_updatesDisabled {
|
|
3622
|
+
}
|
|
3623
|
+
export interface WebhookLog extends WebhookLog_readonly, WebhookLog_required, WebhookLog_updatesDisabled {
|
|
3624
|
+
}
|
|
3601
3625
|
export type ModelForName_required = {
|
|
3626
|
+
webhook_logs: WebhookLog_required;
|
|
3602
3627
|
flowchart_notes: FlowchartNote_required;
|
|
3603
3628
|
enduser_problems: EnduserProblem_required;
|
|
3604
3629
|
prescription_routes: PrescriptionRoute_required;
|
|
@@ -3675,6 +3700,7 @@ export type ModelForName_required = {
|
|
|
3675
3700
|
};
|
|
3676
3701
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
3677
3702
|
export interface ModelForName_readonly {
|
|
3703
|
+
webhook_logs: WebhookLog_readonly;
|
|
3678
3704
|
flowchart_notes: FlowchartNote_readonly;
|
|
3679
3705
|
enduser_problems: EnduserProblem_readonly;
|
|
3680
3706
|
prescription_routes: PrescriptionRoute_readonly;
|
|
@@ -3751,6 +3777,7 @@ export interface ModelForName_readonly {
|
|
|
3751
3777
|
}
|
|
3752
3778
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
3753
3779
|
export interface ModelForName_updatesDisabled {
|
|
3780
|
+
webhook_logs: WebhookLog_updatesDisabled;
|
|
3754
3781
|
flowchart_notes: FlowchartNote_updatesDisabled;
|
|
3755
3782
|
enduser_problems: EnduserProblem_updatesDisabled;
|
|
3756
3783
|
prescription_routes: PrescriptionRoute_updatesDisabled;
|
|
@@ -3827,6 +3854,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
3827
3854
|
}
|
|
3828
3855
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
3829
3856
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
3857
|
+
webhook_logs: WebhookLog;
|
|
3830
3858
|
flowchart_notes: FlowchartNote;
|
|
3831
3859
|
enduser_problems: EnduserProblem;
|
|
3832
3860
|
prescription_routes: PrescriptionRoute;
|