@tellescope/types-models 1.80.3 → 1.80.4
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 +60 -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 +60 -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 +45 -1
package/lib/esm/index.d.ts
CHANGED
|
@@ -156,6 +156,7 @@ export type OrganizationSettings = {
|
|
|
156
156
|
flaggedFileText?: string;
|
|
157
157
|
showBulkFormInput?: boolean;
|
|
158
158
|
autofillSignature?: boolean;
|
|
159
|
+
showFullVitalsTab?: boolean;
|
|
159
160
|
};
|
|
160
161
|
tickets?: {
|
|
161
162
|
defaultJourneyDueDateOffsetInMS?: number | '';
|
|
@@ -247,6 +248,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
247
248
|
hasConnectedCanvas?: boolean;
|
|
248
249
|
hasConnectedCandid?: boolean;
|
|
249
250
|
hasConnectedGoGoMeds?: boolean;
|
|
251
|
+
hasConnectedPagerDuty?: boolean;
|
|
250
252
|
hasConfiguredZoom?: boolean;
|
|
251
253
|
hasTicketQueues?: boolean;
|
|
252
254
|
vitalTeamId?: string;
|
|
@@ -816,6 +818,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
|
|
|
816
818
|
batchId?: string;
|
|
817
819
|
isMarketing?: boolean;
|
|
818
820
|
destination?: string[];
|
|
821
|
+
assignedTo?: string[];
|
|
819
822
|
}
|
|
820
823
|
export interface SMSMessage_readonly extends ClientRecord {
|
|
821
824
|
delivered: boolean;
|
|
@@ -862,6 +865,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
|
|
|
862
865
|
tags?: string[];
|
|
863
866
|
batchId?: string;
|
|
864
867
|
replyToTemplateId?: string;
|
|
868
|
+
assignedTo?: string[];
|
|
865
869
|
}
|
|
866
870
|
export type ChatRoomType = 'internal' | 'external' | 'Group Chat';
|
|
867
871
|
export interface ChatRoom_readonly extends ClientRecord {
|
|
@@ -896,6 +900,7 @@ export interface ChatRoom extends ChatRoom_readonly, ChatRoom_required, ChatRoom
|
|
|
896
900
|
pinnedAt?: Date | '';
|
|
897
901
|
fields?: Indexable<string | CustomField>;
|
|
898
902
|
suggestedReply?: string;
|
|
903
|
+
assignedTo?: string[];
|
|
899
904
|
}
|
|
900
905
|
export type ChatAttachmentType = 'image' | 'video' | 'file' | string;
|
|
901
906
|
export type ChatAttachment = {
|
|
@@ -2060,6 +2065,11 @@ export type CreateCarePlanAutomationAction = AutomationActionBuilder<'createCare
|
|
|
2060
2065
|
}>;
|
|
2061
2066
|
export type CompleteCarePlanAutomationAction = AutomationActionBuilder<'completeCarePlan', {}>;
|
|
2062
2067
|
export type ZusSyncAutomationAction = AutomationActionBuilder<'zusSync', {}>;
|
|
2068
|
+
export type PagerDutyCreateIncidentAutomationAction = AutomationActionBuilder<'pagerDutyCreateIncident', {
|
|
2069
|
+
type: string;
|
|
2070
|
+
title: string;
|
|
2071
|
+
serviceId: string;
|
|
2072
|
+
}>;
|
|
2063
2073
|
export type IterableFieldsMapping = {
|
|
2064
2074
|
iterable: string;
|
|
2065
2075
|
tellescope: string;
|
|
@@ -2104,6 +2114,7 @@ export type AutomationActionForType = {
|
|
|
2104
2114
|
'createCarePlan': CreateCarePlanAutomationAction;
|
|
2105
2115
|
'completeCarePlan': CompleteCarePlanAutomationAction;
|
|
2106
2116
|
'zusSync': ZusSyncAutomationAction;
|
|
2117
|
+
'pagerDutyCreateIncident': PagerDutyCreateIncidentAutomationAction;
|
|
2107
2118
|
};
|
|
2108
2119
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
2109
2120
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -2160,6 +2171,7 @@ export interface EnduserObservation_updatesDisabled {
|
|
|
2160
2171
|
}
|
|
2161
2172
|
export interface EnduserObservation extends EnduserObservation_readonly, EnduserObservation_required, EnduserObservation_updatesDisabled {
|
|
2162
2173
|
recordedAt?: Date;
|
|
2174
|
+
timestamp: Date;
|
|
2163
2175
|
code?: string;
|
|
2164
2176
|
type?: string;
|
|
2165
2177
|
source?: string;
|
|
@@ -2483,6 +2495,7 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
|
|
|
2483
2495
|
inputs?: string[];
|
|
2484
2496
|
answeredAt?: Date;
|
|
2485
2497
|
recordingCancelledAt?: Date;
|
|
2498
|
+
assignedTo?: string[];
|
|
2486
2499
|
}
|
|
2487
2500
|
export type AnalyticsQueryResultValue = {
|
|
2488
2501
|
key?: string;
|
|
@@ -2844,6 +2857,12 @@ export type AutomationTriggerEvents = {
|
|
|
2844
2857
|
'Has Not Engaged': AutomationTriggerEventBuilder<"Has Not Engaged", {
|
|
2845
2858
|
intervalInMS: number;
|
|
2846
2859
|
}, {}>;
|
|
2860
|
+
'Vital Count': AutomationTriggerEventBuilder<"Vital Count", {
|
|
2861
|
+
units?: string[];
|
|
2862
|
+
minutes: number;
|
|
2863
|
+
comparison: VitalComparison;
|
|
2864
|
+
periodInMS: number;
|
|
2865
|
+
}, {}>;
|
|
2847
2866
|
};
|
|
2848
2867
|
export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
|
|
2849
2868
|
export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
|
|
@@ -3057,6 +3076,7 @@ export interface TicketThread extends TicketThread_readonly, TicketThread_requir
|
|
|
3057
3076
|
subject: string;
|
|
3058
3077
|
closedAt?: Date | '';
|
|
3059
3078
|
pinnedAt?: Date | '';
|
|
3079
|
+
assignedTo?: string[];
|
|
3060
3080
|
}
|
|
3061
3081
|
export interface TicketThreadComment_readonly extends ClientRecord {
|
|
3062
3082
|
externalThreadId?: string;
|
|
@@ -3208,6 +3228,7 @@ export interface GroupMMSConversation_readonly extends ClientRecord {
|
|
|
3208
3228
|
hiddenBy?: {
|
|
3209
3229
|
[index: string]: Date | '';
|
|
3210
3230
|
};
|
|
3231
|
+
assignedTo?: string[];
|
|
3211
3232
|
}
|
|
3212
3233
|
export interface GroupMMSConversation_updatesDisabled {
|
|
3213
3234
|
}
|
|
@@ -3215,7 +3236,43 @@ export interface GroupMMSConversation_required {
|
|
|
3215
3236
|
}
|
|
3216
3237
|
export interface GroupMMSConversation extends GroupMMSConversation_readonly, GroupMMSConversation_required, GroupMMSConversation_updatesDisabled {
|
|
3217
3238
|
}
|
|
3239
|
+
export type VitalComparisons = {
|
|
3240
|
+
'Less Than': {
|
|
3241
|
+
type: "Less Than";
|
|
3242
|
+
value: number;
|
|
3243
|
+
};
|
|
3244
|
+
'Greater Than': {
|
|
3245
|
+
type: "Greater Than";
|
|
3246
|
+
value: number;
|
|
3247
|
+
};
|
|
3248
|
+
'Between': {
|
|
3249
|
+
type: "Between";
|
|
3250
|
+
value: {
|
|
3251
|
+
lower: number;
|
|
3252
|
+
upper: number;
|
|
3253
|
+
};
|
|
3254
|
+
};
|
|
3255
|
+
};
|
|
3256
|
+
export type VitalComparisonType = keyof VitalComparisons;
|
|
3257
|
+
export type VitalComparison = VitalComparisons[VitalComparisonType];
|
|
3258
|
+
export type VitalConfigurationRange = {
|
|
3259
|
+
classification: string;
|
|
3260
|
+
comparison: VitalComparison;
|
|
3261
|
+
trendIntervalInMS: number;
|
|
3262
|
+
};
|
|
3263
|
+
export interface VitalConfiguration_readonly extends ClientRecord {
|
|
3264
|
+
}
|
|
3265
|
+
export interface VitalConfiguration_required {
|
|
3266
|
+
}
|
|
3267
|
+
export interface VitalConfiguration_updatesDisabled {
|
|
3268
|
+
}
|
|
3269
|
+
export interface VitalConfiguration extends VitalConfiguration_readonly, VitalConfiguration_required, VitalConfiguration_updatesDisabled {
|
|
3270
|
+
title: string;
|
|
3271
|
+
unit: string;
|
|
3272
|
+
ranges: VitalConfigurationRange[];
|
|
3273
|
+
}
|
|
3218
3274
|
export type ModelForName_required = {
|
|
3275
|
+
vital_configurations: VitalConfiguration_required;
|
|
3219
3276
|
enduser_encounters: EnduserEncounter_required;
|
|
3220
3277
|
enduser_orders: EnduserOrder_required;
|
|
3221
3278
|
group_mms_conversations: GroupMMSConversation_required;
|
|
@@ -3287,6 +3344,7 @@ export type ModelForName_required = {
|
|
|
3287
3344
|
};
|
|
3288
3345
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
3289
3346
|
export interface ModelForName_readonly {
|
|
3347
|
+
vital_configurations: VitalConfiguration_readonly;
|
|
3290
3348
|
enduser_encounters: EnduserEncounter_readonly;
|
|
3291
3349
|
enduser_orders: EnduserOrder_readonly;
|
|
3292
3350
|
group_mms_conversations: GroupMMSConversation_readonly;
|
|
@@ -3358,6 +3416,7 @@ export interface ModelForName_readonly {
|
|
|
3358
3416
|
}
|
|
3359
3417
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
3360
3418
|
export interface ModelForName_updatesDisabled {
|
|
3419
|
+
vital_configurations: VitalConfiguration_updatesDisabled;
|
|
3361
3420
|
enduser_encounters: EnduserEncounter_updatesDisabled;
|
|
3362
3421
|
enduser_orders: EnduserOrder_updatesDisabled;
|
|
3363
3422
|
group_mms_conversations: GroupMMSConversation_updatesDisabled;
|
|
@@ -3429,6 +3488,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
3429
3488
|
}
|
|
3430
3489
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
3431
3490
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
3491
|
+
vital_configurations: VitalConfiguration;
|
|
3432
3492
|
enduser_encounters: EnduserEncounter;
|
|
3433
3493
|
enduser_orders: EnduserOrder;
|
|
3434
3494
|
group_mms_conversations: GroupMMSConversation;
|