@tellescope/types-models 1.206.0 → 1.207.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 +37 -0
- 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 +37 -0
- 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 +3 -3
- package/src/index.ts +34 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -245,6 +245,7 @@ export type OrganizationSettings = {
|
|
|
245
245
|
};
|
|
246
246
|
integrations?: {
|
|
247
247
|
vitalLabOrderPhysicianOptional?: boolean;
|
|
248
|
+
athenaAppointmentSyncJITSeconds?: number;
|
|
248
249
|
};
|
|
249
250
|
interface?: {
|
|
250
251
|
dontPersistSearches?: boolean;
|
|
@@ -310,6 +311,7 @@ export interface Organization_updatesDisabled {
|
|
|
310
311
|
subdomain: string;
|
|
311
312
|
}
|
|
312
313
|
export interface Organization extends Organization_readonly, Organization_required, Organization_updatesDisabled {
|
|
314
|
+
bedrockAIAllowed?: boolean;
|
|
313
315
|
subdomains?: string[];
|
|
314
316
|
owner?: string;
|
|
315
317
|
timezone?: Timezone;
|
|
@@ -439,6 +441,8 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
439
441
|
customerIOFields?: string[];
|
|
440
442
|
customerIOIdField?: string;
|
|
441
443
|
createEnduserForms?: string[];
|
|
444
|
+
creditCount?: number;
|
|
445
|
+
creditTrialStartedAt?: Date;
|
|
442
446
|
}
|
|
443
447
|
export type OrganizationTheme = {
|
|
444
448
|
name: string;
|
|
@@ -2805,6 +2809,7 @@ export type CreateTicketActionInfo = {
|
|
|
2805
2809
|
};
|
|
2806
2810
|
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage & {
|
|
2807
2811
|
fromEmailOverride?: string;
|
|
2812
|
+
ccRelatedContactTypes?: string[];
|
|
2808
2813
|
}>;
|
|
2809
2814
|
export type NotifyTeamAutomationAction = AutomationActionBuilder<'notifyTeam', {
|
|
2810
2815
|
templateId: string;
|
|
@@ -2876,6 +2881,7 @@ export type SendChatAutomationAction = AutomationActionBuilder<'sendChat', {
|
|
|
2876
2881
|
identifier: string;
|
|
2877
2882
|
includeCareTeam?: boolean;
|
|
2878
2883
|
userIds?: string[];
|
|
2884
|
+
sendToDestinationOfRelatedContactTypes?: string[];
|
|
2879
2885
|
}>;
|
|
2880
2886
|
export type HealthieSyncAutomationAction = AutomationActionBuilder<'healthieSync', {}>;
|
|
2881
2887
|
export type HealthieAddToCourseAutomationAction = AutomationActionBuilder<'healthieAddToCourse', {
|
|
@@ -3628,6 +3634,7 @@ export type AnalyticsQueryGroupingForType = {
|
|
|
3628
3634
|
Type: boolean;
|
|
3629
3635
|
"Scheduled By"?: boolean;
|
|
3630
3636
|
alsoGroupByHost?: boolean;
|
|
3637
|
+
"Cancel Reason"?: boolean;
|
|
3631
3638
|
} & EnduserGrouping & {
|
|
3632
3639
|
Enduser: string;
|
|
3633
3640
|
};
|
|
@@ -3963,6 +3970,9 @@ export type AutomationTriggerEvents = {
|
|
|
3963
3970
|
field: string;
|
|
3964
3971
|
value: string;
|
|
3965
3972
|
}, {}>;
|
|
3973
|
+
'Fields Changed': AutomationTriggerEventBuilder<"Fields Changed", {
|
|
3974
|
+
fields: string[];
|
|
3975
|
+
}, {}>;
|
|
3966
3976
|
'Tag Added': AutomationTriggerEventBuilder<"Tag Added", {
|
|
3967
3977
|
tag: string;
|
|
3968
3978
|
}, {}>;
|
|
@@ -4775,7 +4785,31 @@ export interface Waitlist extends Waitlist_readonly, Waitlist_required, Waitlist
|
|
|
4775
4785
|
enduserIds: string[];
|
|
4776
4786
|
tags?: string[];
|
|
4777
4787
|
}
|
|
4788
|
+
export type AICOnversationMessageContent = {
|
|
4789
|
+
type: 'text' | 'image' | 'file';
|
|
4790
|
+
text?: string;
|
|
4791
|
+
};
|
|
4792
|
+
export type AIConversationMessage = {
|
|
4793
|
+
role: 'user' | 'assistant';
|
|
4794
|
+
text: string;
|
|
4795
|
+
timestamp: Date;
|
|
4796
|
+
tokens: number;
|
|
4797
|
+
content?: AICOnversationMessageContent[];
|
|
4798
|
+
userId?: string;
|
|
4799
|
+
};
|
|
4800
|
+
export interface AIConversation_readonly extends ClientRecord {
|
|
4801
|
+
}
|
|
4802
|
+
export interface AIConversation_required {
|
|
4803
|
+
type: string;
|
|
4804
|
+
modelName: string;
|
|
4805
|
+
messages: AIConversationMessage[];
|
|
4806
|
+
}
|
|
4807
|
+
export interface AIConversation_updatesDisabled {
|
|
4808
|
+
}
|
|
4809
|
+
export interface AIConversation extends AIConversation_readonly, AIConversation_required, AIConversation_updatesDisabled {
|
|
4810
|
+
}
|
|
4778
4811
|
export type ModelForName_required = {
|
|
4812
|
+
ai_conversations: AIConversation_required;
|
|
4779
4813
|
waitlists: Waitlist_required;
|
|
4780
4814
|
agent_records: AgentRecord_required;
|
|
4781
4815
|
enduser_eligibility_results: EnduserEligibilityResult_required;
|
|
@@ -4865,6 +4899,7 @@ export type ModelForName_required = {
|
|
|
4865
4899
|
};
|
|
4866
4900
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
4867
4901
|
export interface ModelForName_readonly {
|
|
4902
|
+
ai_conversations: AIConversation_readonly;
|
|
4868
4903
|
waitlists: Waitlist_readonly;
|
|
4869
4904
|
agent_records: AgentRecord_readonly;
|
|
4870
4905
|
enduser_eligibility_results: EnduserEligibilityResult_readonly;
|
|
@@ -4954,6 +4989,7 @@ export interface ModelForName_readonly {
|
|
|
4954
4989
|
}
|
|
4955
4990
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
4956
4991
|
export interface ModelForName_updatesDisabled {
|
|
4992
|
+
ai_conversations: AIConversation_updatesDisabled;
|
|
4957
4993
|
waitlists: Waitlist_updatesDisabled;
|
|
4958
4994
|
agent_records: AgentRecord_updatesDisabled;
|
|
4959
4995
|
enduser_eligibility_results: EnduserEligibilityResult_updatesDisabled;
|
|
@@ -5043,6 +5079,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
5043
5079
|
}
|
|
5044
5080
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
5045
5081
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
5082
|
+
ai_conversations: AIConversation;
|
|
5046
5083
|
waitlists: Waitlist;
|
|
5047
5084
|
agent_records: AgentRecord;
|
|
5048
5085
|
enduser_eligibility_results: EnduserEligibilityResult;
|