@tellescope/types-models 1.249.1 → 1.250.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 +28 -0
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +28 -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 +48 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -66,6 +66,8 @@ export type BasicFilter<T extends string> = {
|
|
|
66
66
|
$contains: string | number;
|
|
67
67
|
} | {
|
|
68
68
|
$doesNotContain: string | number;
|
|
69
|
+
} | {
|
|
70
|
+
$ne: string | number;
|
|
69
71
|
});
|
|
70
72
|
};
|
|
71
73
|
export type CompoundFilter<T extends string> = {
|
|
@@ -447,6 +449,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
447
449
|
hasConnectedGoGoMeds?: boolean;
|
|
448
450
|
hasScriptSure?: boolean;
|
|
449
451
|
hasConnectedPagerDuty?: boolean;
|
|
452
|
+
hasConnectedSeason?: boolean;
|
|
450
453
|
hasConnectedSmartMeter?: boolean;
|
|
451
454
|
hasConnectedAthena?: boolean;
|
|
452
455
|
hasConnectedActiveCampaign?: boolean;
|
|
@@ -1652,6 +1655,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1652
1655
|
isTodo?: boolean;
|
|
1653
1656
|
databaseRecordId?: string;
|
|
1654
1657
|
databaseRecordCreator?: string;
|
|
1658
|
+
faxLogId?: string;
|
|
1655
1659
|
templateId?: string;
|
|
1656
1660
|
}
|
|
1657
1661
|
export interface TicketTemplate_readonly extends ClientRecord {
|
|
@@ -1965,6 +1969,19 @@ export type FormScoring = {
|
|
|
1965
1969
|
score: (string | number);
|
|
1966
1970
|
};
|
|
1967
1971
|
export type FormType = 'note' | 'enduserFacing';
|
|
1972
|
+
export type AISummaryDataSource = 'enduser_observations' | 'form_responses' | 'chats' | 'phone_calls' | 'calendar_events' | 'tickets' | 'sms_messages' | 'emails' | 'enduser_orders' | 'enduser_medications' | 'purchases';
|
|
1973
|
+
export type AISummaryDataSourceConfig = {
|
|
1974
|
+
type: AISummaryDataSource;
|
|
1975
|
+
limit?: number;
|
|
1976
|
+
lookbackMS?: number;
|
|
1977
|
+
filter?: object;
|
|
1978
|
+
};
|
|
1979
|
+
export type AISummaryConfiguration = {
|
|
1980
|
+
enabled?: boolean;
|
|
1981
|
+
prompt?: string;
|
|
1982
|
+
dataSources?: AISummaryDataSourceConfig[];
|
|
1983
|
+
maxOutputTokens?: number;
|
|
1984
|
+
};
|
|
1968
1985
|
export type FormCustomization = {
|
|
1969
1986
|
publicFormHTMLDescription?: string;
|
|
1970
1987
|
publicFormSubmitHTMLDescription?: string;
|
|
@@ -2060,12 +2077,14 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
2060
2077
|
belugaVisitType?: string;
|
|
2061
2078
|
belugaVerificationId?: string;
|
|
2062
2079
|
belugaPharmacyMappings?: BelugaPharmacyMapping[];
|
|
2080
|
+
belugaCombineMatchingPharmacyMappings?: boolean;
|
|
2063
2081
|
showByUserTags?: string[];
|
|
2064
2082
|
version?: 'v1' | 'v2';
|
|
2065
2083
|
mdiCaseOfferings?: {
|
|
2066
2084
|
offering_id: string;
|
|
2067
2085
|
}[];
|
|
2068
2086
|
autoMergeOnSubmission?: boolean;
|
|
2087
|
+
aiSummaryConfiguration?: AISummaryConfiguration;
|
|
2069
2088
|
procedureCodes?: FormResponseProcedureCode[];
|
|
2070
2089
|
diagnosisCodes?: FormResponseDiagnosisCode[];
|
|
2071
2090
|
}
|
|
@@ -2511,6 +2530,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
|
|
|
2511
2530
|
timestamp: Date;
|
|
2512
2531
|
}[];
|
|
2513
2532
|
startedViaPinnedForm?: boolean;
|
|
2533
|
+
enduserAISummary?: string;
|
|
2514
2534
|
procedureCodes?: FormResponseProcedureCode[];
|
|
2515
2535
|
diagnosisCodes?: FormResponseDiagnosisCode[];
|
|
2516
2536
|
}
|
|
@@ -3219,6 +3239,7 @@ export type CreateTicketActionInfo = {
|
|
|
3219
3239
|
contextEnduserFields?: string[];
|
|
3220
3240
|
contextContentIds?: string[];
|
|
3221
3241
|
disableEditTitle?: boolean;
|
|
3242
|
+
skipCareTeamAssignment?: boolean;
|
|
3222
3243
|
};
|
|
3223
3244
|
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage & {
|
|
3224
3245
|
fromEmailOverride?: string;
|
|
@@ -3230,6 +3251,9 @@ export type NotifyTeamAutomationAction = AutomationActionBuilder<'notifyTeam', {
|
|
|
3230
3251
|
forAssigned: boolean;
|
|
3231
3252
|
roles?: string[];
|
|
3232
3253
|
tags?: ListOfStringsWithQualifier;
|
|
3254
|
+
dontSendEmail?: boolean;
|
|
3255
|
+
sendSMS?: boolean;
|
|
3256
|
+
smsTemplateId?: string;
|
|
3233
3257
|
}>;
|
|
3234
3258
|
export type SendSMSAutomationAction = AutomationActionBuilder<'sendSMS', AutomationForMessage & {
|
|
3235
3259
|
phoneNumberOverride?: string;
|
|
@@ -4793,6 +4817,9 @@ export type AutomationTriggerEvents = {
|
|
|
4793
4817
|
'File Added': AutomationTriggerEventBuilder<"File Added", {
|
|
4794
4818
|
source: string;
|
|
4795
4819
|
}, {}>;
|
|
4820
|
+
'Incoming Fax': AutomationTriggerEventBuilder<"Incoming Fax", {
|
|
4821
|
+
senderFaxNumbers?: string[];
|
|
4822
|
+
}, {}>;
|
|
4796
4823
|
};
|
|
4797
4824
|
export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
|
|
4798
4825
|
export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
|
|
@@ -6070,6 +6097,7 @@ export type JourneyContext = {
|
|
|
6070
6097
|
ticketThreadId?: string;
|
|
6071
6098
|
ticketThreadCommentId?: string;
|
|
6072
6099
|
medicationId?: string;
|
|
6100
|
+
faxLogId?: string;
|
|
6073
6101
|
};
|
|
6074
6102
|
export declare const TIMEZONE_MAP: {
|
|
6075
6103
|
readonly "Africa/Abidjan": "+00:00";
|