@tellescope/types-models 1.232.0 → 1.233.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 +70 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +70 -1
- 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 +79 -3
package/lib/cjs/index.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ export type PortalSettings = {
|
|
|
89
89
|
hideRegister?: boolean;
|
|
90
90
|
dontPromptSetPassword?: boolean;
|
|
91
91
|
requireOTP?: boolean;
|
|
92
|
+
requireOTPAfterPassword?: boolean;
|
|
92
93
|
};
|
|
93
94
|
communication?: {
|
|
94
95
|
allowEnduserInitiatedChat?: boolean;
|
|
@@ -404,6 +405,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
404
405
|
priorityGroups?: string[];
|
|
405
406
|
resolutionFieldId?: string;
|
|
406
407
|
resolutionFieldOptions?: string[];
|
|
408
|
+
syncTagsToZendesk?: boolean;
|
|
407
409
|
};
|
|
408
410
|
replyToAllEmails?: string;
|
|
409
411
|
replyToEnduserTransactionalEmails?: string;
|
|
@@ -684,6 +686,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
684
686
|
mfa?: MFASettings;
|
|
685
687
|
skills?: string[];
|
|
686
688
|
lockedOutUntil?: number;
|
|
689
|
+
failedLoginAttempts?: number;
|
|
687
690
|
elationUserId?: number;
|
|
688
691
|
iOSBadgeCount?: number;
|
|
689
692
|
doseSpotUserId?: string;
|
|
@@ -1685,6 +1688,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1685
1688
|
productId: string;
|
|
1686
1689
|
showCondition: CompoundFilter<string>;
|
|
1687
1690
|
}[];
|
|
1691
|
+
stripeCouponCodes?: string[];
|
|
1688
1692
|
dataSource?: string;
|
|
1689
1693
|
canvasDocumentCoding?: Pick<CanvasCoding, 'system' | 'code'>;
|
|
1690
1694
|
canvasDocumentType?: CanvasCoding;
|
|
@@ -2253,6 +2257,11 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
|
|
|
2253
2257
|
canvasEncounterId?: string;
|
|
2254
2258
|
pushedToPortalAt?: Date;
|
|
2255
2259
|
belugaStatus?: string;
|
|
2260
|
+
fieldViews?: {
|
|
2261
|
+
fieldId: string;
|
|
2262
|
+
fieldTitle: string;
|
|
2263
|
+
timestamp: Date;
|
|
2264
|
+
}[];
|
|
2256
2265
|
}
|
|
2257
2266
|
export interface WebHook_readonly extends ClientRecord {
|
|
2258
2267
|
}
|
|
@@ -2449,6 +2458,8 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2449
2458
|
confirmedAt?: Date | '';
|
|
2450
2459
|
preventRescheduleMinutesInAdvance?: number;
|
|
2451
2460
|
preventCancelMinutesInAdvance?: number;
|
|
2461
|
+
preventRescheduleInPortal?: boolean;
|
|
2462
|
+
preventCancelInPortal?: boolean;
|
|
2452
2463
|
sendIcsEmail?: boolean;
|
|
2453
2464
|
healthieInsuranceBillingEnabled?: boolean;
|
|
2454
2465
|
}
|
|
@@ -2580,6 +2591,8 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2580
2591
|
allowGroupReschedule?: boolean;
|
|
2581
2592
|
preventRescheduleMinutesInAdvance?: number;
|
|
2582
2593
|
preventCancelMinutesInAdvance?: number;
|
|
2594
|
+
preventRescheduleInPortal?: boolean;
|
|
2595
|
+
preventCancelInPortal?: boolean;
|
|
2583
2596
|
athenaDepartmentId?: string;
|
|
2584
2597
|
generateAthenaTelehealthLink?: boolean;
|
|
2585
2598
|
athenaTypeId?: string;
|
|
@@ -3122,7 +3135,7 @@ export type StripeChargeCardOnFileAutomationAction = AutomationActionBuilder<'st
|
|
|
3122
3135
|
subscriptionPriceId?: string;
|
|
3123
3136
|
}>;
|
|
3124
3137
|
export type AIContextSource = {
|
|
3125
|
-
type: "Email" | "SMS";
|
|
3138
|
+
type: "Email" | "SMS" | "PhoneCall";
|
|
3126
3139
|
limit: number;
|
|
3127
3140
|
};
|
|
3128
3141
|
export type AIDecisionAutomationAction = AutomationActionBuilder<'aiDecision', {
|
|
@@ -3391,6 +3404,7 @@ export type PortalBlockForType = {
|
|
|
3391
3404
|
title?: string;
|
|
3392
3405
|
formIds?: string[];
|
|
3393
3406
|
}>;
|
|
3407
|
+
"Appointment Booking Pages": BuildPortalBlockInfo<'Appointment Booking Pages', {}>;
|
|
3394
3408
|
};
|
|
3395
3409
|
export type PortalBlockType = keyof PortalBlockForType;
|
|
3396
3410
|
export type PortalBlock = PortalBlockForType[PortalBlockType];
|
|
@@ -3669,6 +3683,57 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
|
|
|
3669
3683
|
ticketId?: string;
|
|
3670
3684
|
hungUpByCaller?: boolean;
|
|
3671
3685
|
}
|
|
3686
|
+
export type AWSTranscribeAlternative = {
|
|
3687
|
+
confidence?: string;
|
|
3688
|
+
content: string;
|
|
3689
|
+
};
|
|
3690
|
+
export type AWSTranscribeItem = {
|
|
3691
|
+
id: number;
|
|
3692
|
+
type: 'pronunciation' | 'punctuation';
|
|
3693
|
+
alternatives: AWSTranscribeAlternative[];
|
|
3694
|
+
start_time?: string;
|
|
3695
|
+
end_time?: string;
|
|
3696
|
+
speaker_label?: string;
|
|
3697
|
+
};
|
|
3698
|
+
export type AWSTranscribeSpeakerLabelItem = {
|
|
3699
|
+
speaker_label: string;
|
|
3700
|
+
start_time: string;
|
|
3701
|
+
end_time?: string;
|
|
3702
|
+
};
|
|
3703
|
+
export type AWSTranscribeSpeakerLabelSegment = {
|
|
3704
|
+
start_time: string;
|
|
3705
|
+
end_time: string;
|
|
3706
|
+
speaker_label: string;
|
|
3707
|
+
items: AWSTranscribeSpeakerLabelItem[];
|
|
3708
|
+
};
|
|
3709
|
+
export type AWSTranscribeSpeakerLabels = {
|
|
3710
|
+
segments: AWSTranscribeSpeakerLabelSegment[];
|
|
3711
|
+
channel_label: string;
|
|
3712
|
+
speakers: number;
|
|
3713
|
+
};
|
|
3714
|
+
export type AWSTranscribeAudioSegment = {
|
|
3715
|
+
id: number;
|
|
3716
|
+
transcript: string;
|
|
3717
|
+
start_time: string;
|
|
3718
|
+
end_time: string;
|
|
3719
|
+
speaker_label: string;
|
|
3720
|
+
items: number[];
|
|
3721
|
+
};
|
|
3722
|
+
export type AWSTranscribeTranscript = {
|
|
3723
|
+
transcript: string;
|
|
3724
|
+
};
|
|
3725
|
+
export type AWSTranscribeResults = {
|
|
3726
|
+
transcripts: AWSTranscribeTranscript[];
|
|
3727
|
+
speaker_labels?: AWSTranscribeSpeakerLabels;
|
|
3728
|
+
items: AWSTranscribeItem[];
|
|
3729
|
+
audio_segments?: AWSTranscribeAudioSegment[];
|
|
3730
|
+
};
|
|
3731
|
+
export type AWSTranscribeResponse = {
|
|
3732
|
+
jobName: string;
|
|
3733
|
+
accountId: string;
|
|
3734
|
+
status: 'COMPLETED' | 'IN_PROGRESS' | 'FAILED';
|
|
3735
|
+
results: AWSTranscribeResults;
|
|
3736
|
+
};
|
|
3672
3737
|
export type AnalyticsQueryResultValue = {
|
|
3673
3738
|
key?: string;
|
|
3674
3739
|
timestamp?: Date;
|
|
@@ -4438,6 +4503,7 @@ export type PhoneTreeEvents = {
|
|
|
4438
4503
|
'If False': PhoneTreeEventBuilder<'If False', {}>;
|
|
4439
4504
|
'If No Users Match': PhoneTreeEventBuilder<'If No Users Match', {}>;
|
|
4440
4505
|
'If No Users Answer': PhoneTreeEventBuilder<'If No Users Answer', {}>;
|
|
4506
|
+
'After Action': PhoneTreeEventBuilder<'After Action', {}>;
|
|
4441
4507
|
};
|
|
4442
4508
|
export type PhoneTreeEventType = keyof PhoneTreeEvents;
|
|
4443
4509
|
export type PhoneTreeEvent = PhoneTreeEvents[PhoneTreeEventType];
|
|
@@ -4522,6 +4588,9 @@ export type PhoneTreeActions = {
|
|
|
4522
4588
|
}[];
|
|
4523
4589
|
playback?: Partial<PhonePlayback>;
|
|
4524
4590
|
}>;
|
|
4591
|
+
'Add to Journey': PhoneTreeActionBuilder<"Add to Journey", {
|
|
4592
|
+
journeyId: string;
|
|
4593
|
+
}>;
|
|
4525
4594
|
};
|
|
4526
4595
|
export type PhoneTreeActionType = keyof PhoneTreeActions;
|
|
4527
4596
|
export type PhoneTreeAction = PhoneTreeActions[PhoneTreeActionType];
|