@tellescope/types-models 1.168.0 → 1.169.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 +10 -3
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +10 -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 +11 -3
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;
|
|
@@ -1374,7 +1375,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
|
|
|
1374
1375
|
tags?: string[];
|
|
1375
1376
|
discussionRoomId?: string;
|
|
1376
1377
|
}
|
|
1377
|
-
export type FormFieldLiteralType = 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
|
|
1378
|
+
export type FormFieldLiteralType = 'Rich Text' | 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
|
|
1378
1379
|
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
1380
|
export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
|
|
1380
1381
|
export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
|
|
@@ -1489,6 +1490,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1489
1490
|
observationCode?: string;
|
|
1490
1491
|
observationDisplay?: string;
|
|
1491
1492
|
observationUnit?: string;
|
|
1493
|
+
autoUploadFiles?: boolean;
|
|
1492
1494
|
};
|
|
1493
1495
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
|
|
1494
1496
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
@@ -1600,6 +1602,8 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1600
1602
|
tags?: string[];
|
|
1601
1603
|
language?: string;
|
|
1602
1604
|
isNonVisitElationNote?: boolean;
|
|
1605
|
+
elationVisitNotePractitionerIds?: string[];
|
|
1606
|
+
elationVisitNoteType?: string;
|
|
1603
1607
|
canvasId?: string;
|
|
1604
1608
|
canvasQuestionId?: string;
|
|
1605
1609
|
syncToOLH?: boolean;
|
|
@@ -1814,6 +1818,7 @@ export type FormResponseAnswerNumber = FormResponseValueAnswerBuilder<'number',
|
|
|
1814
1818
|
export type FormResponseAnswerPhone = FormResponseValueAnswerBuilder<'phone', string>;
|
|
1815
1819
|
export type FormResponseAnswerString = FormResponseValueAnswerBuilder<'string', string>;
|
|
1816
1820
|
export type FormResponseAnswerStringLong = FormResponseValueAnswerBuilder<'stringLong', string>;
|
|
1821
|
+
export type FormResponseAnswerRichText = FormResponseValueAnswerBuilder<'Rich Text', string>;
|
|
1817
1822
|
export type FormResponseAnswerDate = FormResponseValueAnswerBuilder<'date', Date>;
|
|
1818
1823
|
export type FormResponseAnswerDateString = FormResponseValueAnswerBuilder<'dateString', string>;
|
|
1819
1824
|
export type FormResponseAnswerRating = FormResponseValueAnswerBuilder<'rating', number>;
|
|
@@ -1852,7 +1857,7 @@ export type FormResponseAnswerFileValue = {
|
|
|
1852
1857
|
};
|
|
1853
1858
|
export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
|
|
1854
1859
|
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);
|
|
1860
|
+
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
1861
|
export type FormResponseValue = {
|
|
1857
1862
|
fieldId: string;
|
|
1858
1863
|
fieldTitle: string;
|
|
@@ -1874,6 +1879,7 @@ export type AnswerForType = {
|
|
|
1874
1879
|
'phone': FormResponseAnswerPhone['value'];
|
|
1875
1880
|
'string': FormResponseAnswerString['value'];
|
|
1876
1881
|
'stringLong': FormResponseAnswerStringLong['value'];
|
|
1882
|
+
'Rich Text': FormResponseAnswerRichText['value'];
|
|
1877
1883
|
'signature': FormResponseAnswerSignature['value'];
|
|
1878
1884
|
'multiple_choice': FormResponseAnswerMultipleChoice['value'];
|
|
1879
1885
|
'Dropdown': FormResponseAnswerMultipleChoice['value'];
|
|
@@ -1918,7 +1924,7 @@ export interface FormResponse_required {
|
|
|
1918
1924
|
formId: string;
|
|
1919
1925
|
enduserId: string;
|
|
1920
1926
|
formTitle: string;
|
|
1921
|
-
responses
|
|
1927
|
+
responses?: FormResponseValue[];
|
|
1922
1928
|
publicSubmit?: boolean;
|
|
1923
1929
|
submittedBy?: string;
|
|
1924
1930
|
submittedByIsPlaceholder?: boolean;
|
|
@@ -3302,6 +3308,7 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3302
3308
|
"Form Responses": {
|
|
3303
3309
|
formIds?: string[];
|
|
3304
3310
|
formResponseCondition?: CompoundFilter<string>;
|
|
3311
|
+
tags?: ListOfStringsWithQualifier;
|
|
3305
3312
|
};
|
|
3306
3313
|
"Purchases": {};
|
|
3307
3314
|
"Purchase Credits": {};
|