@tellescope/types-models 1.206.0 → 1.208.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 +40 -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 +40 -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 +37 -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;
|
|
@@ -1734,6 +1738,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1734
1738
|
ga4measurementId?: string;
|
|
1735
1739
|
backgroundColor?: string;
|
|
1736
1740
|
productIds?: string[];
|
|
1741
|
+
redirectToBookedAppointmentOnSubmit?: boolean;
|
|
1737
1742
|
submitRedirectURL?: string;
|
|
1738
1743
|
publicFormIdRedirect?: string;
|
|
1739
1744
|
publicShowLanguage?: boolean;
|
|
@@ -2338,6 +2343,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2338
2343
|
confirmedAt?: Date | '';
|
|
2339
2344
|
preventRescheduleMinutesInAdvance?: number;
|
|
2340
2345
|
preventCancelMinutesInAdvance?: number;
|
|
2346
|
+
sendIcsEmail?: boolean;
|
|
2341
2347
|
}
|
|
2342
2348
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
2343
2349
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2425,6 +2431,7 @@ export interface CalendarEventTemplate_required {
|
|
|
2425
2431
|
export interface CalendarEventTemplate_updatesDisabled {
|
|
2426
2432
|
}
|
|
2427
2433
|
export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, CalendarEventTemplate_required, CalendarEventTemplate_updatesDisabled {
|
|
2434
|
+
sendIcsEmail?: boolean;
|
|
2428
2435
|
createAndBookAthenaSlot?: boolean;
|
|
2429
2436
|
dontSyncToCanvas?: boolean;
|
|
2430
2437
|
archivedAt?: Date | '';
|
|
@@ -2805,6 +2812,7 @@ export type CreateTicketActionInfo = {
|
|
|
2805
2812
|
};
|
|
2806
2813
|
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage & {
|
|
2807
2814
|
fromEmailOverride?: string;
|
|
2815
|
+
ccRelatedContactTypes?: string[];
|
|
2808
2816
|
}>;
|
|
2809
2817
|
export type NotifyTeamAutomationAction = AutomationActionBuilder<'notifyTeam', {
|
|
2810
2818
|
templateId: string;
|
|
@@ -2876,6 +2884,7 @@ export type SendChatAutomationAction = AutomationActionBuilder<'sendChat', {
|
|
|
2876
2884
|
identifier: string;
|
|
2877
2885
|
includeCareTeam?: boolean;
|
|
2878
2886
|
userIds?: string[];
|
|
2887
|
+
sendToDestinationOfRelatedContactTypes?: string[];
|
|
2879
2888
|
}>;
|
|
2880
2889
|
export type HealthieSyncAutomationAction = AutomationActionBuilder<'healthieSync', {}>;
|
|
2881
2890
|
export type HealthieAddToCourseAutomationAction = AutomationActionBuilder<'healthieAddToCourse', {
|
|
@@ -3628,6 +3637,7 @@ export type AnalyticsQueryGroupingForType = {
|
|
|
3628
3637
|
Type: boolean;
|
|
3629
3638
|
"Scheduled By"?: boolean;
|
|
3630
3639
|
alsoGroupByHost?: boolean;
|
|
3640
|
+
"Cancel Reason"?: boolean;
|
|
3631
3641
|
} & EnduserGrouping & {
|
|
3632
3642
|
Enduser: string;
|
|
3633
3643
|
};
|
|
@@ -3963,6 +3973,9 @@ export type AutomationTriggerEvents = {
|
|
|
3963
3973
|
field: string;
|
|
3964
3974
|
value: string;
|
|
3965
3975
|
}, {}>;
|
|
3976
|
+
'Fields Changed': AutomationTriggerEventBuilder<"Fields Changed", {
|
|
3977
|
+
fields: string[];
|
|
3978
|
+
}, {}>;
|
|
3966
3979
|
'Tag Added': AutomationTriggerEventBuilder<"Tag Added", {
|
|
3967
3980
|
tag: string;
|
|
3968
3981
|
}, {}>;
|
|
@@ -4775,7 +4788,31 @@ export interface Waitlist extends Waitlist_readonly, Waitlist_required, Waitlist
|
|
|
4775
4788
|
enduserIds: string[];
|
|
4776
4789
|
tags?: string[];
|
|
4777
4790
|
}
|
|
4791
|
+
export type AICOnversationMessageContent = {
|
|
4792
|
+
type: 'text' | 'image' | 'file';
|
|
4793
|
+
text?: string;
|
|
4794
|
+
};
|
|
4795
|
+
export type AIConversationMessage = {
|
|
4796
|
+
role: 'user' | 'assistant';
|
|
4797
|
+
text: string;
|
|
4798
|
+
timestamp: Date;
|
|
4799
|
+
tokens: number;
|
|
4800
|
+
content?: AICOnversationMessageContent[];
|
|
4801
|
+
userId?: string;
|
|
4802
|
+
};
|
|
4803
|
+
export interface AIConversation_readonly extends ClientRecord {
|
|
4804
|
+
}
|
|
4805
|
+
export interface AIConversation_required {
|
|
4806
|
+
type: string;
|
|
4807
|
+
modelName: string;
|
|
4808
|
+
messages: AIConversationMessage[];
|
|
4809
|
+
}
|
|
4810
|
+
export interface AIConversation_updatesDisabled {
|
|
4811
|
+
}
|
|
4812
|
+
export interface AIConversation extends AIConversation_readonly, AIConversation_required, AIConversation_updatesDisabled {
|
|
4813
|
+
}
|
|
4778
4814
|
export type ModelForName_required = {
|
|
4815
|
+
ai_conversations: AIConversation_required;
|
|
4779
4816
|
waitlists: Waitlist_required;
|
|
4780
4817
|
agent_records: AgentRecord_required;
|
|
4781
4818
|
enduser_eligibility_results: EnduserEligibilityResult_required;
|
|
@@ -4865,6 +4902,7 @@ export type ModelForName_required = {
|
|
|
4865
4902
|
};
|
|
4866
4903
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
4867
4904
|
export interface ModelForName_readonly {
|
|
4905
|
+
ai_conversations: AIConversation_readonly;
|
|
4868
4906
|
waitlists: Waitlist_readonly;
|
|
4869
4907
|
agent_records: AgentRecord_readonly;
|
|
4870
4908
|
enduser_eligibility_results: EnduserEligibilityResult_readonly;
|
|
@@ -4954,6 +4992,7 @@ export interface ModelForName_readonly {
|
|
|
4954
4992
|
}
|
|
4955
4993
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
4956
4994
|
export interface ModelForName_updatesDisabled {
|
|
4995
|
+
ai_conversations: AIConversation_updatesDisabled;
|
|
4957
4996
|
waitlists: Waitlist_updatesDisabled;
|
|
4958
4997
|
agent_records: AgentRecord_updatesDisabled;
|
|
4959
4998
|
enduser_eligibility_results: EnduserEligibilityResult_updatesDisabled;
|
|
@@ -5043,6 +5082,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
5043
5082
|
}
|
|
5044
5083
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
5045
5084
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
5085
|
+
ai_conversations: AIConversation;
|
|
5046
5086
|
waitlists: Waitlist;
|
|
5047
5087
|
agent_records: AgentRecord;
|
|
5048
5088
|
enduser_eligibility_results: EnduserEligibilityResult;
|