@tellescope/types-models 1.80.4 → 1.82.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 +41 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +41 -1
- 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 +43 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -249,6 +249,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
249
249
|
hasConnectedCandid?: boolean;
|
|
250
250
|
hasConnectedGoGoMeds?: boolean;
|
|
251
251
|
hasConnectedPagerDuty?: boolean;
|
|
252
|
+
hasConnectedSmartMeter?: boolean;
|
|
252
253
|
hasConfiguredZoom?: boolean;
|
|
253
254
|
hasTicketQueues?: boolean;
|
|
254
255
|
vitalTeamId?: string;
|
|
@@ -568,12 +569,17 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
568
569
|
lastZendeskSyncAt?: Date;
|
|
569
570
|
accessTags?: string[];
|
|
570
571
|
unsubscribedFromMarketing?: boolean;
|
|
572
|
+
unsubscribedFromPhones?: string[];
|
|
571
573
|
insurance?: EnduserInsurance;
|
|
572
574
|
insuranceSecondary?: EnduserInsurance;
|
|
573
575
|
bookingNotes?: {
|
|
574
576
|
bookingPageId: string;
|
|
575
577
|
note: string;
|
|
576
578
|
}[];
|
|
579
|
+
devices?: {
|
|
580
|
+
title: string;
|
|
581
|
+
id: string;
|
|
582
|
+
}[];
|
|
577
583
|
}
|
|
578
584
|
export interface EnduserCustomType_readonly extends ClientRecord {
|
|
579
585
|
}
|
|
@@ -1194,6 +1200,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1194
1200
|
customPriceMessage?: string;
|
|
1195
1201
|
billingProvider?: 'Canvas' | "Candid" | string;
|
|
1196
1202
|
bookingPageId?: string;
|
|
1203
|
+
userTags?: string[];
|
|
1197
1204
|
addressFields?: string[];
|
|
1198
1205
|
autoAdvance?: boolean;
|
|
1199
1206
|
};
|
|
@@ -1774,6 +1781,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
1774
1781
|
bufferStartMinutes?: number;
|
|
1775
1782
|
bufferEndMinutes?: number;
|
|
1776
1783
|
canvasCoding?: CanvasCoding;
|
|
1784
|
+
tags?: string[];
|
|
1777
1785
|
}
|
|
1778
1786
|
export interface AppointmentLocation_readonly extends ClientRecord {
|
|
1779
1787
|
}
|
|
@@ -1893,7 +1901,20 @@ export interface WithAutomationStepId {
|
|
|
1893
1901
|
export interface AutomationForTemplate {
|
|
1894
1902
|
templateId: string;
|
|
1895
1903
|
}
|
|
1904
|
+
export type SenderAssignmentStrategies = {
|
|
1905
|
+
'Care Team Primary': {
|
|
1906
|
+
type: 'Care Team Primary';
|
|
1907
|
+
info: {};
|
|
1908
|
+
};
|
|
1909
|
+
'Default': {
|
|
1910
|
+
type: 'Default';
|
|
1911
|
+
info: {};
|
|
1912
|
+
};
|
|
1913
|
+
};
|
|
1914
|
+
export type SenderAssignmentStrategyType = keyof SenderAssignmentStrategies;
|
|
1915
|
+
export type SenderAssignmentStrategy = SenderAssignmentStrategies[SenderAssignmentStrategyType];
|
|
1896
1916
|
export interface AutomationForSender {
|
|
1917
|
+
assignment?: SenderAssignmentStrategy;
|
|
1897
1918
|
senderId: string;
|
|
1898
1919
|
}
|
|
1899
1920
|
export interface AutomationForFormRequest extends AutomationForForm, AutomationForSender {
|
|
@@ -2070,6 +2091,14 @@ export type PagerDutyCreateIncidentAutomationAction = AutomationActionBuilder<'p
|
|
|
2070
2091
|
title: string;
|
|
2071
2092
|
serviceId: string;
|
|
2072
2093
|
}>;
|
|
2094
|
+
export type SmartMeterOrderLineItem = {
|
|
2095
|
+
quantity: number;
|
|
2096
|
+
sku: string;
|
|
2097
|
+
};
|
|
2098
|
+
export type SmartMeterPlaceOrderAutomationAction = AutomationActionBuilder<'smartMeterPlaceOrder', {
|
|
2099
|
+
lines: SmartMeterOrderLineItem[];
|
|
2100
|
+
shipping?: string;
|
|
2101
|
+
}>;
|
|
2073
2102
|
export type IterableFieldsMapping = {
|
|
2074
2103
|
iterable: string;
|
|
2075
2104
|
tellescope: string;
|
|
@@ -2115,6 +2144,7 @@ export type AutomationActionForType = {
|
|
|
2115
2144
|
'completeCarePlan': CompleteCarePlanAutomationAction;
|
|
2116
2145
|
'zusSync': ZusSyncAutomationAction;
|
|
2117
2146
|
'pagerDutyCreateIncident': PagerDutyCreateIncidentAutomationAction;
|
|
2147
|
+
'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction;
|
|
2118
2148
|
};
|
|
2119
2149
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
2120
2150
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -2176,6 +2206,8 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
|
|
|
2176
2206
|
type?: string;
|
|
2177
2207
|
source?: string;
|
|
2178
2208
|
notes?: string;
|
|
2209
|
+
externalId?: string;
|
|
2210
|
+
deviceId?: string;
|
|
2179
2211
|
}
|
|
2180
2212
|
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe';
|
|
2181
2213
|
export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
|
|
@@ -2863,6 +2895,10 @@ export type AutomationTriggerEvents = {
|
|
|
2863
2895
|
comparison: VitalComparison;
|
|
2864
2896
|
periodInMS: number;
|
|
2865
2897
|
}, {}>;
|
|
2898
|
+
'Vital Update': AutomationTriggerEventBuilder<"Vital Update", {
|
|
2899
|
+
configurationIds: string[];
|
|
2900
|
+
classifications: string[];
|
|
2901
|
+
}, {}>;
|
|
2866
2902
|
};
|
|
2867
2903
|
export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
|
|
2868
2904
|
export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
|
|
@@ -2916,7 +2952,7 @@ export type Insurance = {
|
|
|
2916
2952
|
name: string;
|
|
2917
2953
|
};
|
|
2918
2954
|
export type BillingCode = {
|
|
2919
|
-
code: number;
|
|
2955
|
+
code: number | string;
|
|
2920
2956
|
label: string;
|
|
2921
2957
|
};
|
|
2922
2958
|
export type SuperbillLineItem = {
|
|
@@ -3151,6 +3187,10 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
|
|
|
3151
3187
|
enduserId: string;
|
|
3152
3188
|
userId?: string;
|
|
3153
3189
|
error?: string;
|
|
3190
|
+
items?: {
|
|
3191
|
+
title: string;
|
|
3192
|
+
tracking?: string;
|
|
3193
|
+
}[];
|
|
3154
3194
|
}
|
|
3155
3195
|
export declare const DIAGNOSIS_TYPE_MAPPING: {
|
|
3156
3196
|
ABF: string;
|