@tellescope/types-models 1.255.1 → 1.255.3
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 +16 -0
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +16 -0
- 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 +23 -0
package/lib/cjs/index.d.ts
CHANGED
|
@@ -51,6 +51,9 @@ export declare const FilterKeys: readonly ["_exists", "_gt", "_gte", "_lt", "_lt
|
|
|
51
51
|
export type ReadFilter<T> = {
|
|
52
52
|
[K in keyof T]?: T[K] | Partial<FilterType>;
|
|
53
53
|
};
|
|
54
|
+
export type TranslationLanguageCode = 'en' | 'es' | 'fr' | 'zh' | 'de' | 'pt' | 'ru' | 'ar' | 'hi' | 'vi' | 'ko' | 'ja' | 'tl' | (string & {});
|
|
55
|
+
export type FieldTranslations = Partial<Record<TranslationLanguageCode, string>>;
|
|
56
|
+
export type Translations<Field extends string = string> = Partial<Record<Field, FieldTranslations>>;
|
|
54
57
|
export type FlowchartUI = {
|
|
55
58
|
x: number;
|
|
56
59
|
y: number;
|
|
@@ -1060,6 +1063,8 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
1060
1063
|
superdialEligibilityResponse?: string;
|
|
1061
1064
|
eligibleForAutoMerge?: boolean;
|
|
1062
1065
|
preferredPharmacy?: Pharmacy;
|
|
1066
|
+
aiSummary?: string;
|
|
1067
|
+
aiSummaryUpdatedAt?: Date;
|
|
1063
1068
|
}
|
|
1064
1069
|
export interface EnduserCustomType_readonly extends ClientRecord {
|
|
1065
1070
|
}
|
|
@@ -2010,6 +2015,8 @@ export interface FormField extends FormField_readonly, FormField_required, FormF
|
|
|
2010
2015
|
prepopulateFromFields?: boolean;
|
|
2011
2016
|
disabledWhenPrepopulated?: boolean;
|
|
2012
2017
|
calloutConditions?: FormFieldCalloutCondition[];
|
|
2018
|
+
mdiImportantValues?: string[];
|
|
2019
|
+
mdiCriticalValues?: string[];
|
|
2013
2020
|
feedback?: FormFieldFeedback[];
|
|
2014
2021
|
highlightOnTimeline?: boolean;
|
|
2015
2022
|
prepopulateFromDatabase?: {
|
|
@@ -2039,6 +2046,7 @@ export type AISummaryConfiguration = {
|
|
|
2039
2046
|
prompt?: string;
|
|
2040
2047
|
dataSources?: AISummaryDataSourceConfig[];
|
|
2041
2048
|
maxOutputTokens?: number;
|
|
2049
|
+
includeProfileFields?: boolean;
|
|
2042
2050
|
};
|
|
2043
2051
|
export type FormCustomization = {
|
|
2044
2052
|
publicFormHTMLDescription?: string;
|
|
@@ -3575,6 +3583,9 @@ export type AIDecisionAutomationAction = AutomationActionBuilder<'aiDecision', {
|
|
|
3575
3583
|
sources?: AIContextSource[];
|
|
3576
3584
|
aiSummaryConfiguration?: AISummaryConfiguration;
|
|
3577
3585
|
}>;
|
|
3586
|
+
export type GenerateEnduserSummaryAutomationAction = AutomationActionBuilder<'generateEnduserSummary', {
|
|
3587
|
+
aiSummaryConfiguration?: AISummaryConfiguration;
|
|
3588
|
+
}>;
|
|
3578
3589
|
export type AssignInboxItemAutomationAction = AutomationActionBuilder<'assignInboxItem', {
|
|
3579
3590
|
tags: ListOfStringsWithQualifier;
|
|
3580
3591
|
limit: number;
|
|
@@ -3586,6 +3597,7 @@ export type CreateScriptSureDraftAutomationAction = AutomationActionBuilder<'cre
|
|
|
3586
3597
|
}>;
|
|
3587
3598
|
export type AutomationActionForType = {
|
|
3588
3599
|
'aiDecision': AIDecisionAutomationAction;
|
|
3600
|
+
'generateEnduserSummary': GenerateEnduserSummaryAutomationAction;
|
|
3589
3601
|
'assignInboxItem': AssignInboxItemAutomationAction;
|
|
3590
3602
|
'stripeChargeCardOnFile': StripeChargeCardOnFileAutomationAction;
|
|
3591
3603
|
'stripeCancelSubscription': StripeCancelSubscriptionAutomationAction;
|
|
@@ -4132,6 +4144,7 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
|
|
|
4132
4144
|
conferenceAttendees?: (string[]) | (string[][]);
|
|
4133
4145
|
unread?: boolean;
|
|
4134
4146
|
transcription?: string;
|
|
4147
|
+
translations?: Translations<'transcription'>;
|
|
4135
4148
|
recordingTranscriptionData?: string;
|
|
4136
4149
|
aiSummary?: string;
|
|
4137
4150
|
note?: string;
|
|
@@ -5754,6 +5767,9 @@ export interface AIConversation_updatesDisabled {
|
|
|
5754
5767
|
}
|
|
5755
5768
|
export interface AIConversation extends AIConversation_readonly, AIConversation_required, AIConversation_updatesDisabled {
|
|
5756
5769
|
orchestrationId?: string;
|
|
5770
|
+
enduserId?: string;
|
|
5771
|
+
journeyId?: string;
|
|
5772
|
+
automationStepId?: string;
|
|
5757
5773
|
}
|
|
5758
5774
|
export interface InboxThread_readonly extends ClientRecord {
|
|
5759
5775
|
searchKeywords?: string[];
|