@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/lib/cjs/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export type StripeCheckoutInfo = {
|
|
|
13
13
|
stripeAccount: string;
|
|
14
14
|
businessName: string;
|
|
15
15
|
};
|
|
16
|
-
export type SortBy = 'updatedAt' | 'dueDateInMS';
|
|
16
|
+
export type SortBy = 'updatedAt' | 'dueDateInMS' | 'closedAt';
|
|
17
17
|
export type AccessType = "All" | "Default" | "Assigned" | null;
|
|
18
18
|
export type AccessAction = "create" | "read" | "update" | "delete";
|
|
19
19
|
export type AccessResources = ModelName | 'apiKeys';
|
|
@@ -131,7 +131,7 @@ export type EnduserBuiltInField = {
|
|
|
131
131
|
requireConfirmation?: boolean;
|
|
132
132
|
hidden?: boolean;
|
|
133
133
|
};
|
|
134
|
-
export type CustomDashboardViewBlockType = "Inbox" | "Tickets" | "Upcoming Events" | "Team Chats";
|
|
134
|
+
export type CustomDashboardViewBlockType = "Inbox" | "Tickets" | "Upcoming Events" | "Team Chats" | "To-Dos";
|
|
135
135
|
export type CustomDashboardViewBlock = {
|
|
136
136
|
type: CustomDashboardViewBlockType;
|
|
137
137
|
};
|
|
@@ -1275,6 +1275,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1275
1275
|
archiveReason?: string;
|
|
1276
1276
|
contextFormIds?: string[];
|
|
1277
1277
|
contextEnduserFields?: string[];
|
|
1278
|
+
isTodo?: boolean;
|
|
1278
1279
|
}
|
|
1279
1280
|
export type AttendeeInfo = {
|
|
1280
1281
|
ExternalUserId: string;
|
|
@@ -1831,6 +1832,7 @@ export interface FormResponse_updatesDisabled {
|
|
|
1831
1832
|
}
|
|
1832
1833
|
export interface FormResponse extends FormResponse_readonly, FormResponse_required, FormResponse_updatesDisabled, EnduserPortalVisibility {
|
|
1833
1834
|
draftSavedAt?: Date;
|
|
1835
|
+
draftSavedBy?: string;
|
|
1834
1836
|
sharedVia?: CommunicationsChannel;
|
|
1835
1837
|
isInternalNote?: boolean;
|
|
1836
1838
|
scores?: {
|
|
@@ -1870,6 +1872,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
|
|
|
1870
1872
|
};
|
|
1871
1873
|
}[];
|
|
1872
1874
|
discussionRoomId?: string;
|
|
1875
|
+
formsort?: string;
|
|
1873
1876
|
}
|
|
1874
1877
|
export interface WebHook_readonly extends ClientRecord {
|
|
1875
1878
|
}
|
|
@@ -2662,6 +2665,7 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
|
|
|
2662
2665
|
}[];
|
|
2663
2666
|
beforeMeal?: boolean;
|
|
2664
2667
|
dontTrigger?: boolean;
|
|
2668
|
+
showWithPlotsByUnit?: string[];
|
|
2665
2669
|
}
|
|
2666
2670
|
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe' | 'content-link';
|
|
2667
2671
|
export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
|
|
@@ -3026,6 +3030,8 @@ export interface PhoneCall extends PhoneCall_readonly, PhoneCall_required, Phone
|
|
|
3026
3030
|
recordingCancelledAt?: Date;
|
|
3027
3031
|
assignedTo?: string[];
|
|
3028
3032
|
timestamp?: Date;
|
|
3033
|
+
dialedUserIds?: string[][];
|
|
3034
|
+
ignoredUserIds?: string[][];
|
|
3029
3035
|
}
|
|
3030
3036
|
export type AnalyticsQueryResultValue = {
|
|
3031
3037
|
key?: string;
|
|
@@ -3119,6 +3125,7 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3119
3125
|
starts?: DateRange;
|
|
3120
3126
|
wasSelfScheduled?: boolean;
|
|
3121
3127
|
wasCancelled?: boolean;
|
|
3128
|
+
wasCompleted?: boolean;
|
|
3122
3129
|
wasRescheduled?: boolean;
|
|
3123
3130
|
wasNoShowed?: boolean;
|
|
3124
3131
|
scheduledBy?: string;
|
|
@@ -3669,6 +3676,10 @@ export type PhoneTreeActions = {
|
|
|
3669
3676
|
timezone?: Timezone;
|
|
3670
3677
|
weeklyAvailabilities?: WeeklyAvailability[];
|
|
3671
3678
|
}>;
|
|
3679
|
+
'Add to Queue': PhoneTreeActionBuilder<"Add to Queue", {
|
|
3680
|
+
queueId: string;
|
|
3681
|
+
playback?: Partial<PhonePlayback>;
|
|
3682
|
+
}>;
|
|
3672
3683
|
};
|
|
3673
3684
|
export type PhoneTreeActionType = keyof PhoneTreeActions;
|
|
3674
3685
|
export type PhoneTreeAction = PhoneTreeActions[PhoneTreeActionType];
|
|
@@ -3915,6 +3926,17 @@ export interface TicketQueue_required {
|
|
|
3915
3926
|
}
|
|
3916
3927
|
export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required, TicketQueue_updatesDisabled {
|
|
3917
3928
|
}
|
|
3929
|
+
export interface CallHoldQueue_readonly extends ClientRecord {
|
|
3930
|
+
}
|
|
3931
|
+
export interface CallHoldQueue_updatesDisabled {
|
|
3932
|
+
}
|
|
3933
|
+
export interface CallHoldQueue_required {
|
|
3934
|
+
title: string;
|
|
3935
|
+
userIds: string[];
|
|
3936
|
+
twilioQueueId?: string;
|
|
3937
|
+
}
|
|
3938
|
+
export interface CallHoldQueue extends CallHoldQueue_readonly, CallHoldQueue_required, CallHoldQueue_updatesDisabled {
|
|
3939
|
+
}
|
|
3918
3940
|
export type ImageAttachment = {
|
|
3919
3941
|
url: string;
|
|
3920
3942
|
type: string;
|
|
@@ -4054,6 +4076,7 @@ export interface WebhookLog_updatesDisabled {
|
|
|
4054
4076
|
export interface WebhookLog extends WebhookLog_readonly, WebhookLog_required, WebhookLog_updatesDisabled {
|
|
4055
4077
|
}
|
|
4056
4078
|
export type ModelForName_required = {
|
|
4079
|
+
call_hold_queues: CallHoldQueue_required;
|
|
4057
4080
|
fax_logs: FaxLog_required;
|
|
4058
4081
|
message_template_snippets: MessageTemplateSnippet_required;
|
|
4059
4082
|
portal_brandings: PortalBranding_required;
|
|
@@ -4135,6 +4158,7 @@ export type ModelForName_required = {
|
|
|
4135
4158
|
};
|
|
4136
4159
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
4137
4160
|
export interface ModelForName_readonly {
|
|
4161
|
+
call_hold_queues: CallHoldQueue_readonly;
|
|
4138
4162
|
fax_logs: FaxLog_readonly;
|
|
4139
4163
|
message_template_snippets: MessageTemplateSnippet_readonly;
|
|
4140
4164
|
portal_brandings: PortalBranding_readonly;
|
|
@@ -4216,6 +4240,7 @@ export interface ModelForName_readonly {
|
|
|
4216
4240
|
}
|
|
4217
4241
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
4218
4242
|
export interface ModelForName_updatesDisabled {
|
|
4243
|
+
call_hold_queues: CallHoldQueue_updatesDisabled;
|
|
4219
4244
|
fax_logs: FaxLog_updatesDisabled;
|
|
4220
4245
|
message_template_snippets: MessageTemplateSnippet_updatesDisabled;
|
|
4221
4246
|
portal_brandings: PortalBranding_updatesDisabled;
|
|
@@ -4297,6 +4322,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
4297
4322
|
}
|
|
4298
4323
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
4299
4324
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
4325
|
+
call_hold_queues: CallHoldQueue;
|
|
4300
4326
|
fax_logs: FaxLog;
|
|
4301
4327
|
message_template_snippets: MessageTemplateSnippet;
|
|
4302
4328
|
portal_brandings: PortalBranding;
|
|
@@ -5035,4 +5061,9 @@ export type DataSyncRecord = {
|
|
|
5035
5061
|
enduserIds: string[];
|
|
5036
5062
|
};
|
|
5037
5063
|
export type InsuranceType = "Primary" | "Secondary";
|
|
5064
|
+
export type TwilioQueue = {
|
|
5065
|
+
currentSize: number;
|
|
5066
|
+
friendlyName: string;
|
|
5067
|
+
averageWaitTime: number;
|
|
5068
|
+
};
|
|
5038
5069
|
//# sourceMappingURL=index.d.ts.map
|