@tellescope/types-models 1.105.2 → 1.107.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 +12 -3
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +12 -3
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/index.ts +10 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -130,8 +130,9 @@ export type EnduserBuiltInField = {
|
|
|
130
130
|
requireConfirmation?: boolean;
|
|
131
131
|
hidden?: boolean;
|
|
132
132
|
};
|
|
133
|
+
export type CustomDashboardViewBlockType = "Inbox" | "Tickets" | "Upcoming Events" | "Team Chats";
|
|
133
134
|
export type CustomDashboardViewBlock = {
|
|
134
|
-
type:
|
|
135
|
+
type: CustomDashboardViewBlockType;
|
|
135
136
|
};
|
|
136
137
|
export type CustomDashboardView = {
|
|
137
138
|
blocks: CustomDashboardViewBlock[];
|
|
@@ -312,6 +313,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
312
313
|
billingOrganizationAddress?: Address;
|
|
313
314
|
videoCallBackgroundImage?: string;
|
|
314
315
|
sendToVoicemailOOO?: boolean;
|
|
316
|
+
forwardingOOONumber?: string;
|
|
315
317
|
onCallUserIds?: string[];
|
|
316
318
|
outOfOfficeVoicemail?: PhonePlayback;
|
|
317
319
|
enduserProfileWebhooks?: BasicWebhook[];
|
|
@@ -418,6 +420,7 @@ export interface UserSession extends Session, OrganizationLimits {
|
|
|
418
420
|
doseSpotUserId?: string;
|
|
419
421
|
availablePhoneNumbers: string[];
|
|
420
422
|
availableFromEmails: string[];
|
|
423
|
+
isa?: boolean;
|
|
421
424
|
}
|
|
422
425
|
export type StateCredentialInfo = {
|
|
423
426
|
state: string;
|
|
@@ -448,6 +451,7 @@ export interface User_readonly extends ClientRecord {
|
|
|
448
451
|
orgEmail?: string;
|
|
449
452
|
lastActive?: Date;
|
|
450
453
|
lastLogout?: Date;
|
|
454
|
+
isa?: boolean;
|
|
451
455
|
}
|
|
452
456
|
export interface User_required {
|
|
453
457
|
email: string;
|
|
@@ -1044,6 +1048,7 @@ export interface ChatMessage extends ChatMessage_readonly, ChatMessage_required,
|
|
|
1044
1048
|
enduserId?: string;
|
|
1045
1049
|
canvasId?: string;
|
|
1046
1050
|
isAutoreply?: boolean;
|
|
1051
|
+
quote?: string[];
|
|
1047
1052
|
}
|
|
1048
1053
|
export type MessageTemplateType = 'enduser' | 'Reply' | 'team';
|
|
1049
1054
|
export type MessageTemplateMode = 'html' | 'richtext';
|
|
@@ -1862,6 +1867,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1862
1867
|
completedAt?: Date | '';
|
|
1863
1868
|
holdUntil?: Date;
|
|
1864
1869
|
holdFormResponseId?: string;
|
|
1870
|
+
tags?: string[];
|
|
1865
1871
|
}
|
|
1866
1872
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
1867
1873
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2440,7 +2446,7 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
|
|
|
2440
2446
|
beforeMeal?: boolean;
|
|
2441
2447
|
dontTrigger?: boolean;
|
|
2442
2448
|
}
|
|
2443
|
-
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe';
|
|
2449
|
+
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe' | 'content-link';
|
|
2444
2450
|
export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
|
|
2445
2451
|
type: BLOCK;
|
|
2446
2452
|
info: INFO;
|
|
@@ -2465,7 +2471,10 @@ export type BlockContentImage = ContentBlockBuilder<'image', BlockContentMedia>;
|
|
|
2465
2471
|
export type BlockContentPDF = ContentBlockBuilder<'pdf', BlockContentMedia>;
|
|
2466
2472
|
export type BlockContentYoutube = ContentBlockBuilder<'youtube', BlockContentMedia>;
|
|
2467
2473
|
export type BlockContentIFrame = ContentBlockBuilder<'iframe', BlockContentMedia>;
|
|
2468
|
-
export type
|
|
2474
|
+
export type BlockContentLink = ContentBlockBuilder<'content-link', {
|
|
2475
|
+
recordId: string;
|
|
2476
|
+
}>;
|
|
2477
|
+
export type Block = (BlockContentYoutube | BlockContentPDF | BlockContentImage | BlockContentHTML | BlockContentH1 | BlockContentH2 | BlockContentIFrame | BlockContentLink);
|
|
2469
2478
|
export declare const TEXT_EMBEDDING_ADA_002 = "text-embedding-ada-002";
|
|
2470
2479
|
export declare const EmbeddingInfo: {
|
|
2471
2480
|
"text-embedding-ada-002": {
|