@tellescope/types-models 1.101.1 → 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 +30 -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 +30 -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 +23 -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;
|
|
@@ -1420,6 +1421,16 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1420
1421
|
canvasId?: string;
|
|
1421
1422
|
canvasQuestionId?: string;
|
|
1422
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
|
+
}
|
|
1423
1434
|
export type OAuth2AuthenticationFields = {
|
|
1424
1435
|
access_token: string;
|
|
1425
1436
|
refresh_token: string;
|
|
@@ -1696,6 +1707,9 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
|
|
|
1696
1707
|
context?: string;
|
|
1697
1708
|
calendarEventId?: string;
|
|
1698
1709
|
copiedFrom?: string;
|
|
1710
|
+
groupId?: string;
|
|
1711
|
+
groupInstance?: string;
|
|
1712
|
+
groupPosition?: number;
|
|
1699
1713
|
}
|
|
1700
1714
|
export interface WebHook_readonly extends ClientRecord {
|
|
1701
1715
|
}
|
|
@@ -2208,6 +2222,7 @@ export type CreateTicketActionInfo = {
|
|
|
2208
2222
|
actions?: TicketAction[];
|
|
2209
2223
|
closeOnFinishedActions?: boolean;
|
|
2210
2224
|
dueDateOffsetInMS?: number;
|
|
2225
|
+
skipDaysOfWeekForDueDate?: number[];
|
|
2211
2226
|
requireConfirmation?: boolean;
|
|
2212
2227
|
reminders?: TicketReminder[];
|
|
2213
2228
|
priority?: number;
|
|
@@ -3149,6 +3164,13 @@ export type AutomationTriggerEvents = {
|
|
|
3149
3164
|
'Pregnancy Ended': AutomationTriggerEventBuilder<"Pregnancy Ended", {
|
|
3150
3165
|
reason?: string;
|
|
3151
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
|
+
}, {}>;
|
|
3152
3174
|
};
|
|
3153
3175
|
export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
|
|
3154
3176
|
export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
|
|
@@ -3599,6 +3621,8 @@ export interface VitalConfiguration extends VitalConfiguration_readonly, VitalCo
|
|
|
3599
3621
|
unit: string;
|
|
3600
3622
|
ranges: VitalConfigurationRange[];
|
|
3601
3623
|
mealStatus?: "Before" | "After" | "Any";
|
|
3624
|
+
originalConfigurationId?: string;
|
|
3625
|
+
enduserId?: string;
|
|
3602
3626
|
}
|
|
3603
3627
|
export interface BlockedPhone_readonly extends ClientRecord {
|
|
3604
3628
|
}
|
|
@@ -3647,6 +3671,7 @@ export interface WebhookLog_updatesDisabled {
|
|
|
3647
3671
|
export interface WebhookLog extends WebhookLog_readonly, WebhookLog_required, WebhookLog_updatesDisabled {
|
|
3648
3672
|
}
|
|
3649
3673
|
export type ModelForName_required = {
|
|
3674
|
+
form_groups: FormGroup_required;
|
|
3650
3675
|
webhook_logs: WebhookLog_required;
|
|
3651
3676
|
flowchart_notes: FlowchartNote_required;
|
|
3652
3677
|
enduser_problems: EnduserProblem_required;
|
|
@@ -3724,6 +3749,7 @@ export type ModelForName_required = {
|
|
|
3724
3749
|
};
|
|
3725
3750
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
3726
3751
|
export interface ModelForName_readonly {
|
|
3752
|
+
form_groups: FormGroup_readonly;
|
|
3727
3753
|
webhook_logs: WebhookLog_readonly;
|
|
3728
3754
|
flowchart_notes: FlowchartNote_readonly;
|
|
3729
3755
|
enduser_problems: EnduserProblem_readonly;
|
|
@@ -3801,6 +3827,7 @@ export interface ModelForName_readonly {
|
|
|
3801
3827
|
}
|
|
3802
3828
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
3803
3829
|
export interface ModelForName_updatesDisabled {
|
|
3830
|
+
form_groups: FormGroup_updatesDisabled;
|
|
3804
3831
|
webhook_logs: WebhookLog_updatesDisabled;
|
|
3805
3832
|
flowchart_notes: FlowchartNote_updatesDisabled;
|
|
3806
3833
|
enduser_problems: EnduserProblem_updatesDisabled;
|
|
@@ -3878,6 +3905,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
3878
3905
|
}
|
|
3879
3906
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
3880
3907
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
3908
|
+
form_groups: FormGroup;
|
|
3881
3909
|
webhook_logs: WebhookLog;
|
|
3882
3910
|
flowchart_notes: FlowchartNote;
|
|
3883
3911
|
enduser_problems: EnduserProblem;
|
|
@@ -3990,6 +4018,8 @@ export type JourneyContext = {
|
|
|
3990
4018
|
observationId?: string;
|
|
3991
4019
|
phoneCallId?: string;
|
|
3992
4020
|
smsId?: string;
|
|
4021
|
+
formGroupId?: string;
|
|
4022
|
+
publicIdentifier?: string;
|
|
3993
4023
|
};
|
|
3994
4024
|
export declare const TIMEZONE_MAP: {
|
|
3995
4025
|
readonly "Africa/Abidjan": "+00:00";
|