@tellescope/types-models 1.136.1 → 1.138.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 +33 -2
- 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 +33 -2
- 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 +31 -3
package/src/index.ts
CHANGED
|
@@ -17,7 +17,7 @@ export type StripeCheckoutInfo = {
|
|
|
17
17
|
businessName: string
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export type SortBy = 'updatedAt' | 'dueDateInMS'
|
|
20
|
+
export type SortBy = 'updatedAt' | 'dueDateInMS' | 'closedAt'
|
|
21
21
|
|
|
22
22
|
export type AccessType = "All" | "Default" | "Assigned" | null
|
|
23
23
|
export type AccessAction = "create" | "read" | "update" | "delete"
|
|
@@ -149,7 +149,7 @@ export type EnduserBuiltInField = {
|
|
|
149
149
|
hidden?: boolean,
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
export type CustomDashboardViewBlockType = "Inbox" | "Tickets" | "Upcoming Events" | "Team Chats"
|
|
152
|
+
export type CustomDashboardViewBlockType = "Inbox" | "Tickets" | "Upcoming Events" | "Team Chats" | "To-Dos"
|
|
153
153
|
export type CustomDashboardViewBlock = { type: CustomDashboardViewBlockType }
|
|
154
154
|
export type CustomDashboardView = {
|
|
155
155
|
blocks: CustomDashboardViewBlock[]
|
|
@@ -1325,6 +1325,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1325
1325
|
archiveReason?: string,
|
|
1326
1326
|
contextFormIds?: string[],
|
|
1327
1327
|
contextEnduserFields?: string[],
|
|
1328
|
+
isTodo?: boolean,
|
|
1328
1329
|
}
|
|
1329
1330
|
|
|
1330
1331
|
export type AttendeeInfo = {
|
|
@@ -1915,6 +1916,7 @@ export interface FormResponse_updatesDisabled {
|
|
|
1915
1916
|
}
|
|
1916
1917
|
export interface FormResponse extends FormResponse_readonly, FormResponse_required, FormResponse_updatesDisabled, EnduserPortalVisibility {
|
|
1917
1918
|
draftSavedAt?: Date,
|
|
1919
|
+
draftSavedBy?: string,
|
|
1918
1920
|
sharedVia?: CommunicationsChannel,
|
|
1919
1921
|
isInternalNote?: boolean,
|
|
1920
1922
|
scores?: {
|
|
@@ -1954,6 +1956,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
|
|
|
1954
1956
|
},
|
|
1955
1957
|
}[],
|
|
1956
1958
|
discussionRoomId?: string,
|
|
1959
|
+
formsort?: string,
|
|
1957
1960
|
}
|
|
1958
1961
|
|
|
1959
1962
|
export interface WebHook_readonly extends ClientRecord {}
|
|
@@ -2702,6 +2705,7 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
|
|
|
2702
2705
|
classifications?: { configurationId: string, classification: string }[]
|
|
2703
2706
|
beforeMeal?: boolean,
|
|
2704
2707
|
dontTrigger?: boolean,
|
|
2708
|
+
showWithPlotsByUnit?: string[],
|
|
2705
2709
|
}
|
|
2706
2710
|
|
|
2707
2711
|
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe' | 'content-link'
|
|
@@ -3060,6 +3064,8 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
|
|
|
3060
3064
|
recordingCancelledAt?: Date,
|
|
3061
3065
|
assignedTo?: string[],
|
|
3062
3066
|
timestamp?: Date,
|
|
3067
|
+
dialedUserIds?: string[][], // might ring multiple stages, so use list of users dialed at each step
|
|
3068
|
+
ignoredUserIds?: string[][], // might ring multiple stages, so use list of users dialed at each step
|
|
3063
3069
|
}
|
|
3064
3070
|
|
|
3065
3071
|
export type AnalyticsQueryResultValue = {
|
|
@@ -3127,6 +3133,7 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3127
3133
|
starts?: DateRange,
|
|
3128
3134
|
wasSelfScheduled?: boolean,
|
|
3129
3135
|
wasCancelled?: boolean,
|
|
3136
|
+
wasCompleted?: boolean,
|
|
3130
3137
|
wasRescheduled?: boolean,
|
|
3131
3138
|
wasNoShowed?: boolean,
|
|
3132
3139
|
scheduledBy?: string,
|
|
@@ -3626,6 +3633,7 @@ export type PhoneTreeActions = {
|
|
|
3626
3633
|
timezone?: Timezone,
|
|
3627
3634
|
weeklyAvailabilities?: WeeklyAvailability[],
|
|
3628
3635
|
}>
|
|
3636
|
+
'Add to Queue': PhoneTreeActionBuilder<"Add to Queue", { queueId: string, playback?: Partial<PhonePlayback>, }>
|
|
3629
3637
|
}
|
|
3630
3638
|
export type PhoneTreeActionType = keyof PhoneTreeActions
|
|
3631
3639
|
export type PhoneTreeAction = PhoneTreeActions[PhoneTreeActionType]
|
|
@@ -3862,6 +3870,15 @@ export interface TicketQueue_required {
|
|
|
3862
3870
|
}
|
|
3863
3871
|
export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required, TicketQueue_updatesDisabled {}
|
|
3864
3872
|
|
|
3873
|
+
export interface CallHoldQueue_readonly extends ClientRecord {}
|
|
3874
|
+
export interface CallHoldQueue_updatesDisabled {}
|
|
3875
|
+
export interface CallHoldQueue_required {
|
|
3876
|
+
title: string,
|
|
3877
|
+
userIds: string[],
|
|
3878
|
+
twilioQueueId?: string,
|
|
3879
|
+
}
|
|
3880
|
+
export interface CallHoldQueue extends CallHoldQueue_readonly, CallHoldQueue_required, CallHoldQueue_updatesDisabled {}
|
|
3881
|
+
|
|
3865
3882
|
export type ImageAttachment = {
|
|
3866
3883
|
url: string,
|
|
3867
3884
|
type: string,
|
|
@@ -3981,6 +3998,7 @@ export interface WebhookLog_updatesDisabled {}
|
|
|
3981
3998
|
export interface WebhookLog extends WebhookLog_readonly, WebhookLog_required, WebhookLog_updatesDisabled {}
|
|
3982
3999
|
|
|
3983
4000
|
export type ModelForName_required = {
|
|
4001
|
+
call_hold_queues: CallHoldQueue_required,
|
|
3984
4002
|
fax_logs: FaxLog_required,
|
|
3985
4003
|
message_template_snippets: MessageTemplateSnippet_required
|
|
3986
4004
|
portal_brandings: PortalBranding_required
|
|
@@ -4063,6 +4081,7 @@ export type ModelForName_required = {
|
|
|
4063
4081
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required]
|
|
4064
4082
|
|
|
4065
4083
|
export interface ModelForName_readonly {
|
|
4084
|
+
call_hold_queues: CallHoldQueue_readonly,
|
|
4066
4085
|
fax_logs: FaxLog_readonly,
|
|
4067
4086
|
message_template_snippets: MessageTemplateSnippet_readonly,
|
|
4068
4087
|
portal_brandings: PortalBranding_readonly,
|
|
@@ -4145,6 +4164,7 @@ export interface ModelForName_readonly {
|
|
|
4145
4164
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly]
|
|
4146
4165
|
|
|
4147
4166
|
export interface ModelForName_updatesDisabled {
|
|
4167
|
+
call_hold_queues: CallHoldQueue_updatesDisabled,
|
|
4148
4168
|
fax_logs: FaxLog_updatesDisabled,
|
|
4149
4169
|
message_template_snippets: MessageTemplateSnippet_updatesDisabled,
|
|
4150
4170
|
portal_brandings: PortalBranding_updatesDisabled,
|
|
@@ -4227,6 +4247,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
4227
4247
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled]
|
|
4228
4248
|
|
|
4229
4249
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
4250
|
+
call_hold_queues: CallHoldQueue,
|
|
4230
4251
|
fax_logs: FaxLog,
|
|
4231
4252
|
message_template_snippets: MessageTemplateSnippet,
|
|
4232
4253
|
portal_brandings: PortalBranding,
|
|
@@ -4319,6 +4340,7 @@ export interface UserActivityInfo {
|
|
|
4319
4340
|
export type UserActivityStatus = 'Active' | 'Away' | 'Unavailable'
|
|
4320
4341
|
|
|
4321
4342
|
export const modelNameChecker: { [K in ModelName] : true } = {
|
|
4343
|
+
call_hold_queues: true,
|
|
4322
4344
|
fax_logs: true,
|
|
4323
4345
|
message_template_snippets: true,
|
|
4324
4346
|
portal_brandings: true,
|
|
@@ -5164,4 +5186,10 @@ export type DataSyncRecord = {
|
|
|
5164
5186
|
enduserIds: string[], // Assigned access
|
|
5165
5187
|
}
|
|
5166
5188
|
|
|
5167
|
-
export type InsuranceType = "Primary" | "Secondary"
|
|
5189
|
+
export type InsuranceType = "Primary" | "Secondary"
|
|
5190
|
+
|
|
5191
|
+
export type TwilioQueue = {
|
|
5192
|
+
currentSize: number,
|
|
5193
|
+
friendlyName: string,
|
|
5194
|
+
averageWaitTime: number,
|
|
5195
|
+
}
|