@tellescope/types-models 1.106.0 → 1.108.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 +13 -3
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +13 -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 +11 -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[];
|
|
@@ -792,6 +793,7 @@ export type ReportQuery = {
|
|
|
792
793
|
range?: DateRange;
|
|
793
794
|
groupBy?: string;
|
|
794
795
|
createdAtBuckets?: Date[];
|
|
796
|
+
mmddyyyyRangeField?: string;
|
|
795
797
|
};
|
|
796
798
|
export type ReportQueries = Record<string, ReportQuery>;
|
|
797
799
|
export type Report = Record<string, {
|
|
@@ -819,6 +821,7 @@ export type EnduserReportQuery = ReportQuery & {
|
|
|
819
821
|
field: string;
|
|
820
822
|
value: string;
|
|
821
823
|
}[];
|
|
824
|
+
filter?: any;
|
|
822
825
|
};
|
|
823
826
|
export type EndusersReportQueries = Record<string, EnduserReportQuery>;
|
|
824
827
|
export type EndusersReport = Report;
|
|
@@ -1866,6 +1869,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1866
1869
|
completedAt?: Date | '';
|
|
1867
1870
|
holdUntil?: Date;
|
|
1868
1871
|
holdFormResponseId?: string;
|
|
1872
|
+
tags?: string[];
|
|
1869
1873
|
}
|
|
1870
1874
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
1871
1875
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2011,6 +2015,9 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
|
|
|
2011
2015
|
primaryColor?: string;
|
|
2012
2016
|
secondaryColor?: string;
|
|
2013
2017
|
backgroundColor?: string;
|
|
2018
|
+
fontFamily?: string;
|
|
2019
|
+
fontFace?: string;
|
|
2020
|
+
fontURL?: string;
|
|
2014
2021
|
terms?: AppointmentTerm[];
|
|
2015
2022
|
topLogo?: string;
|
|
2016
2023
|
intakeTitle?: string;
|
|
@@ -2444,7 +2451,7 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
|
|
|
2444
2451
|
beforeMeal?: boolean;
|
|
2445
2452
|
dontTrigger?: boolean;
|
|
2446
2453
|
}
|
|
2447
|
-
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe';
|
|
2454
|
+
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe' | 'content-link';
|
|
2448
2455
|
export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
|
|
2449
2456
|
type: BLOCK;
|
|
2450
2457
|
info: INFO;
|
|
@@ -2469,7 +2476,10 @@ export type BlockContentImage = ContentBlockBuilder<'image', BlockContentMedia>;
|
|
|
2469
2476
|
export type BlockContentPDF = ContentBlockBuilder<'pdf', BlockContentMedia>;
|
|
2470
2477
|
export type BlockContentYoutube = ContentBlockBuilder<'youtube', BlockContentMedia>;
|
|
2471
2478
|
export type BlockContentIFrame = ContentBlockBuilder<'iframe', BlockContentMedia>;
|
|
2472
|
-
export type
|
|
2479
|
+
export type BlockContentLink = ContentBlockBuilder<'content-link', {
|
|
2480
|
+
recordId: string;
|
|
2481
|
+
}>;
|
|
2482
|
+
export type Block = (BlockContentYoutube | BlockContentPDF | BlockContentImage | BlockContentHTML | BlockContentH1 | BlockContentH2 | BlockContentIFrame | BlockContentLink);
|
|
2473
2483
|
export declare const TEXT_EMBEDDING_ADA_002 = "text-embedding-ada-002";
|
|
2474
2484
|
export declare const EmbeddingInfo: {
|
|
2475
2485
|
"text-embedding-ada-002": {
|