@tellescope/types-models 1.168.0 → 1.170.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 +14 -3
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +14 -3
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/index.ts +20 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -159,6 +159,7 @@ export type OrganizationSettings = {
|
|
|
159
159
|
canDeleteFreeNote?: boolean;
|
|
160
160
|
recordCalls?: boolean;
|
|
161
161
|
recordCallAudioPlayback?: string;
|
|
162
|
+
dontRecordCallsToPhone?: string[];
|
|
162
163
|
transcribeCalls?: boolean;
|
|
163
164
|
transcribeCallInboundPlayback?: string;
|
|
164
165
|
showDeleteCallRecordingOnTimeline?: boolean;
|
|
@@ -378,6 +379,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
378
379
|
iframeURL: string;
|
|
379
380
|
}[];
|
|
380
381
|
stripePublicKeys?: string[];
|
|
382
|
+
additionalIterableKeys?: string[];
|
|
381
383
|
defaultDoseSpotPharmacies?: {
|
|
382
384
|
id: string;
|
|
383
385
|
name: string;
|
|
@@ -1313,6 +1315,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1313
1315
|
preserveContext?: boolean;
|
|
1314
1316
|
phoneCallId?: string;
|
|
1315
1317
|
smsId?: string;
|
|
1318
|
+
emailId?: string;
|
|
1316
1319
|
calendarEventId?: string;
|
|
1317
1320
|
observationId?: string;
|
|
1318
1321
|
tags?: string[];
|
|
@@ -1374,7 +1377,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
|
|
|
1374
1377
|
tags?: string[];
|
|
1375
1378
|
discussionRoomId?: string;
|
|
1376
1379
|
}
|
|
1377
|
-
export type FormFieldLiteralType = 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
|
|
1380
|
+
export type FormFieldLiteralType = 'Rich Text' | 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
|
|
1378
1381
|
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";
|
|
1379
1382
|
export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
|
|
1380
1383
|
export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
|
|
@@ -1489,6 +1492,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1489
1492
|
observationCode?: string;
|
|
1490
1493
|
observationDisplay?: string;
|
|
1491
1494
|
observationUnit?: string;
|
|
1495
|
+
autoUploadFiles?: boolean;
|
|
1492
1496
|
};
|
|
1493
1497
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
|
|
1494
1498
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
@@ -1600,6 +1604,8 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1600
1604
|
tags?: string[];
|
|
1601
1605
|
language?: string;
|
|
1602
1606
|
isNonVisitElationNote?: boolean;
|
|
1607
|
+
elationVisitNotePractitionerIds?: string[];
|
|
1608
|
+
elationVisitNoteType?: string;
|
|
1603
1609
|
canvasId?: string;
|
|
1604
1610
|
canvasQuestionId?: string;
|
|
1605
1611
|
syncToOLH?: boolean;
|
|
@@ -1814,6 +1820,7 @@ export type FormResponseAnswerNumber = FormResponseValueAnswerBuilder<'number',
|
|
|
1814
1820
|
export type FormResponseAnswerPhone = FormResponseValueAnswerBuilder<'phone', string>;
|
|
1815
1821
|
export type FormResponseAnswerString = FormResponseValueAnswerBuilder<'string', string>;
|
|
1816
1822
|
export type FormResponseAnswerStringLong = FormResponseValueAnswerBuilder<'stringLong', string>;
|
|
1823
|
+
export type FormResponseAnswerRichText = FormResponseValueAnswerBuilder<'Rich Text', string>;
|
|
1817
1824
|
export type FormResponseAnswerDate = FormResponseValueAnswerBuilder<'date', Date>;
|
|
1818
1825
|
export type FormResponseAnswerDateString = FormResponseValueAnswerBuilder<'dateString', string>;
|
|
1819
1826
|
export type FormResponseAnswerRating = FormResponseValueAnswerBuilder<'rating', number>;
|
|
@@ -1852,7 +1859,7 @@ export type FormResponseAnswerFileValue = {
|
|
|
1852
1859
|
};
|
|
1853
1860
|
export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
|
|
1854
1861
|
export type FormResponseAnswerFiles = FormResponseValueAnswerBuilder<'files', FormResponseAnswerFileValue[]>;
|
|
1855
|
-
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);
|
|
1862
|
+
export type FormResponseValueAnswer = (FormResponseAnswerGroup | FormResponseAnswerTable | FormResponseAnswerDescription | FormResponseAnswerEmail | FormResponseAnswerNumber | FormResponseAnswerPhone | FormResponseAnswerString | FormResponseAnswerStringLong | FormResponseAnswerRichText | FormResponseAnswerSignature | FormResponseAnswerMultipleChoice | FormResponseAnswerFile | FormResponseAnswerFiles | FormResponseAnswerDate | FormResponseAnswerRating | FormResponseAnswerRanking | FormResponseAnswerDateString | FormResponseAnswerAddress | FormResponseAnswerTime | FormResponseAnswerStripe | FormResponseAnswerDropdown | FormResponseAnswerDatabaseSelect | FormResponseAnswerMedications | FormResponseAnswerRelatedContacts | FormResponseAnswerInsurance | FormResponseAnswerAppointmentBooking | FormResponseAnswerHeight | FormResponseAnswerRedirect | FormResponseAnswerHiddenValue | FormResponseAnswerEmotii | FormResponseAnswerAllergies | FormResponseAnswerConditions);
|
|
1856
1863
|
export type FormResponseValue = {
|
|
1857
1864
|
fieldId: string;
|
|
1858
1865
|
fieldTitle: string;
|
|
@@ -1874,6 +1881,7 @@ export type AnswerForType = {
|
|
|
1874
1881
|
'phone': FormResponseAnswerPhone['value'];
|
|
1875
1882
|
'string': FormResponseAnswerString['value'];
|
|
1876
1883
|
'stringLong': FormResponseAnswerStringLong['value'];
|
|
1884
|
+
'Rich Text': FormResponseAnswerRichText['value'];
|
|
1877
1885
|
'signature': FormResponseAnswerSignature['value'];
|
|
1878
1886
|
'multiple_choice': FormResponseAnswerMultipleChoice['value'];
|
|
1879
1887
|
'Dropdown': FormResponseAnswerMultipleChoice['value'];
|
|
@@ -1918,7 +1926,7 @@ export interface FormResponse_required {
|
|
|
1918
1926
|
formId: string;
|
|
1919
1927
|
enduserId: string;
|
|
1920
1928
|
formTitle: string;
|
|
1921
|
-
responses
|
|
1929
|
+
responses?: FormResponseValue[];
|
|
1922
1930
|
publicSubmit?: boolean;
|
|
1923
1931
|
submittedBy?: string;
|
|
1924
1932
|
submittedByIsPlaceholder?: boolean;
|
|
@@ -2655,6 +2663,7 @@ export type SendChatAutomationAction = AutomationActionBuilder<'sendChat', {
|
|
|
2655
2663
|
templateId: string;
|
|
2656
2664
|
identifier: string;
|
|
2657
2665
|
includeCareTeam?: boolean;
|
|
2666
|
+
userIds?: string[];
|
|
2658
2667
|
}>;
|
|
2659
2668
|
export type HealthieSyncAutomationAction = AutomationActionBuilder<'healthieSync', {}>;
|
|
2660
2669
|
export type HealthieAddToCourseAutomationAction = AutomationActionBuilder<'healthieAddToCourse', {
|
|
@@ -2689,6 +2698,7 @@ export type IterableCustomEventAutomationAction = AutomationActionBuilder<'itera
|
|
|
2689
2698
|
eventName: string;
|
|
2690
2699
|
description: string;
|
|
2691
2700
|
dataFieldsMapping?: IterableFieldsMapping[];
|
|
2701
|
+
environment?: string;
|
|
2692
2702
|
}>;
|
|
2693
2703
|
export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number";
|
|
2694
2704
|
export type EnduserFieldSetter = {
|
|
@@ -3302,6 +3312,7 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3302
3312
|
"Form Responses": {
|
|
3303
3313
|
formIds?: string[];
|
|
3304
3314
|
formResponseCondition?: CompoundFilter<string>;
|
|
3315
|
+
tags?: ListOfStringsWithQualifier;
|
|
3305
3316
|
};
|
|
3306
3317
|
"Purchases": {};
|
|
3307
3318
|
"Purchase Credits": {};
|