@tellescope/types-models 1.101.0 → 1.102.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 +32 -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 +32 -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 +2 -2
- package/src/index.ts +25 -0
package/lib/cjs/index.d.ts
CHANGED
|
@@ -298,6 +298,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
298
298
|
resolutionFieldOptions?: string[];
|
|
299
299
|
};
|
|
300
300
|
replyToAllEmails?: string;
|
|
301
|
+
replyToEnduserTransactionalEmails?: string;
|
|
301
302
|
forwardAllIncomingEmailsTo?: string;
|
|
302
303
|
numCustomTypes?: number;
|
|
303
304
|
ticketThreadsEnabled?: boolean;
|
|
@@ -1278,6 +1279,7 @@ export type FormFieldFeedback = {
|
|
|
1278
1279
|
export interface CanvasConsentCategory extends CanvasCoding {
|
|
1279
1280
|
}
|
|
1280
1281
|
export type FormFieldOptions = FormFieldValidation & {
|
|
1282
|
+
default?: string;
|
|
1281
1283
|
tableChoices?: TableInputChoice[];
|
|
1282
1284
|
choices?: string[];
|
|
1283
1285
|
canvasCodings?: CanvasCoding[];
|
|
@@ -1419,6 +1421,16 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1419
1421
|
canvasId?: string;
|
|
1420
1422
|
canvasQuestionId?: string;
|
|
1421
1423
|
}
|
|
1424
|
+
export interface FormGroup_readonly extends ClientRecord {
|
|
1425
|
+
}
|
|
1426
|
+
export interface FormGroup_required {
|
|
1427
|
+
}
|
|
1428
|
+
export interface FormGroup_updatesDisabled {
|
|
1429
|
+
}
|
|
1430
|
+
export interface FormGroup extends FormGroup_readonly, FormGroup_required, FormGroup_updatesDisabled {
|
|
1431
|
+
title: string;
|
|
1432
|
+
formIds: string[];
|
|
1433
|
+
}
|
|
1422
1434
|
export type OAuth2AuthenticationFields = {
|
|
1423
1435
|
access_token: string;
|
|
1424
1436
|
refresh_token: string;
|
|
@@ -1695,6 +1707,9 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
|
|
|
1695
1707
|
context?: string;
|
|
1696
1708
|
calendarEventId?: string;
|
|
1697
1709
|
copiedFrom?: string;
|
|
1710
|
+
groupId?: string;
|
|
1711
|
+
groupInstance?: string;
|
|
1712
|
+
groupPosition?: number;
|
|
1698
1713
|
}
|
|
1699
1714
|
export interface WebHook_readonly extends ClientRecord {
|
|
1700
1715
|
}
|
|
@@ -1948,6 +1963,7 @@ export interface AppointmentLocation extends AppointmentLocation_readonly, Appoi
|
|
|
1948
1963
|
phone?: string;
|
|
1949
1964
|
timezone?: Timezone;
|
|
1950
1965
|
canvasLocationId?: string;
|
|
1966
|
+
healthieContactType?: string;
|
|
1951
1967
|
}
|
|
1952
1968
|
export type AppointmentTerm = {
|
|
1953
1969
|
title: string;
|
|
@@ -2206,6 +2222,7 @@ export type CreateTicketActionInfo = {
|
|
|
2206
2222
|
actions?: TicketAction[];
|
|
2207
2223
|
closeOnFinishedActions?: boolean;
|
|
2208
2224
|
dueDateOffsetInMS?: number;
|
|
2225
|
+
skipDaysOfWeekForDueDate?: number[];
|
|
2209
2226
|
requireConfirmation?: boolean;
|
|
2210
2227
|
reminders?: TicketReminder[];
|
|
2211
2228
|
priority?: number;
|
|
@@ -3147,6 +3164,13 @@ export type AutomationTriggerEvents = {
|
|
|
3147
3164
|
'Pregnancy Ended': AutomationTriggerEventBuilder<"Pregnancy Ended", {
|
|
3148
3165
|
reason?: string;
|
|
3149
3166
|
}, {}>;
|
|
3167
|
+
'Form Group Completed': AutomationTriggerEventBuilder<"Form Group Completed", {
|
|
3168
|
+
groupId: string;
|
|
3169
|
+
}, {}>;
|
|
3170
|
+
'Form Group Incomplete': AutomationTriggerEventBuilder<"Form Group Incomplete", {
|
|
3171
|
+
groupId: string;
|
|
3172
|
+
intervalInMS: number;
|
|
3173
|
+
}, {}>;
|
|
3150
3174
|
};
|
|
3151
3175
|
export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
|
|
3152
3176
|
export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
|
|
@@ -3597,6 +3621,8 @@ export interface VitalConfiguration extends VitalConfiguration_readonly, VitalCo
|
|
|
3597
3621
|
unit: string;
|
|
3598
3622
|
ranges: VitalConfigurationRange[];
|
|
3599
3623
|
mealStatus?: "Before" | "After" | "Any";
|
|
3624
|
+
originalConfigurationId?: string;
|
|
3625
|
+
enduserId?: string;
|
|
3600
3626
|
}
|
|
3601
3627
|
export interface BlockedPhone_readonly extends ClientRecord {
|
|
3602
3628
|
}
|
|
@@ -3645,6 +3671,7 @@ export interface WebhookLog_updatesDisabled {
|
|
|
3645
3671
|
export interface WebhookLog extends WebhookLog_readonly, WebhookLog_required, WebhookLog_updatesDisabled {
|
|
3646
3672
|
}
|
|
3647
3673
|
export type ModelForName_required = {
|
|
3674
|
+
form_groups: FormGroup_required;
|
|
3648
3675
|
webhook_logs: WebhookLog_required;
|
|
3649
3676
|
flowchart_notes: FlowchartNote_required;
|
|
3650
3677
|
enduser_problems: EnduserProblem_required;
|
|
@@ -3722,6 +3749,7 @@ export type ModelForName_required = {
|
|
|
3722
3749
|
};
|
|
3723
3750
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
3724
3751
|
export interface ModelForName_readonly {
|
|
3752
|
+
form_groups: FormGroup_readonly;
|
|
3725
3753
|
webhook_logs: WebhookLog_readonly;
|
|
3726
3754
|
flowchart_notes: FlowchartNote_readonly;
|
|
3727
3755
|
enduser_problems: EnduserProblem_readonly;
|
|
@@ -3799,6 +3827,7 @@ export interface ModelForName_readonly {
|
|
|
3799
3827
|
}
|
|
3800
3828
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
3801
3829
|
export interface ModelForName_updatesDisabled {
|
|
3830
|
+
form_groups: FormGroup_updatesDisabled;
|
|
3802
3831
|
webhook_logs: WebhookLog_updatesDisabled;
|
|
3803
3832
|
flowchart_notes: FlowchartNote_updatesDisabled;
|
|
3804
3833
|
enduser_problems: EnduserProblem_updatesDisabled;
|
|
@@ -3876,6 +3905,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
3876
3905
|
}
|
|
3877
3906
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
3878
3907
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
3908
|
+
form_groups: FormGroup;
|
|
3879
3909
|
webhook_logs: WebhookLog;
|
|
3880
3910
|
flowchart_notes: FlowchartNote;
|
|
3881
3911
|
enduser_problems: EnduserProblem;
|
|
@@ -3988,6 +4018,8 @@ export type JourneyContext = {
|
|
|
3988
4018
|
observationId?: string;
|
|
3989
4019
|
phoneCallId?: string;
|
|
3990
4020
|
smsId?: string;
|
|
4021
|
+
formGroupId?: string;
|
|
4022
|
+
publicIdentifier?: string;
|
|
3991
4023
|
};
|
|
3992
4024
|
export declare const TIMEZONE_MAP: {
|
|
3993
4025
|
readonly "Africa/Abidjan": "+00:00";
|