@tellescope/types-models 1.237.6 → 1.239.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 +44 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +44 -2
- 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 +3 -3
- package/src/index.ts +51 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ export type PortalSettings = {
|
|
|
106
106
|
hideMissingAnswers?: boolean;
|
|
107
107
|
outstandingFormsTitle?: string;
|
|
108
108
|
availableFormsTitle?: string;
|
|
109
|
+
hidePinnedFormStartsFromOutstandingBanner?: boolean;
|
|
109
110
|
};
|
|
110
111
|
hideSettingsPage?: boolean;
|
|
111
112
|
};
|
|
@@ -217,6 +218,8 @@ export type OrganizationSettings = {
|
|
|
217
218
|
delayedReadingIntervalInMS?: number;
|
|
218
219
|
createChatRoomWithBlankUserIds?: boolean;
|
|
219
220
|
showAlternateEmailsEditor?: boolean;
|
|
221
|
+
excludeCareTeamFromSearch?: boolean;
|
|
222
|
+
showVideoCallsOnTimeline?: boolean;
|
|
220
223
|
};
|
|
221
224
|
tickets?: {
|
|
222
225
|
defaultJourneyDueDateOffsetInMS?: number | '';
|
|
@@ -309,6 +312,19 @@ export type OutOfOfficeBlock = {
|
|
|
309
312
|
to: Date;
|
|
310
313
|
autoreplyText: string;
|
|
311
314
|
};
|
|
315
|
+
export type VerifiedEmailDomain = {
|
|
316
|
+
domain: string;
|
|
317
|
+
status: 'pending' | 'verified' | 'failed';
|
|
318
|
+
createdAt: Date;
|
|
319
|
+
verifiedAt?: Date;
|
|
320
|
+
dkimTokens?: string[];
|
|
321
|
+
mailFromDomain?: string;
|
|
322
|
+
mailFromStatus?: 'pending' | 'verified' | 'failed';
|
|
323
|
+
};
|
|
324
|
+
export type VerifiedEmailDomainSettings = {
|
|
325
|
+
maxDomains?: number;
|
|
326
|
+
maxAliasesPerDomain?: number;
|
|
327
|
+
};
|
|
312
328
|
export interface Organization_readonly extends ClientRecord {
|
|
313
329
|
subscriptionExpiresAt: Date;
|
|
314
330
|
subscriptionPeriod: number;
|
|
@@ -328,6 +344,8 @@ export interface Organization_readonly extends ClientRecord {
|
|
|
328
344
|
twilioSID?: string;
|
|
329
345
|
twilioCustomerId?: string;
|
|
330
346
|
customPortalScriptTags?: string[];
|
|
347
|
+
verifiedEmailDomains?: VerifiedEmailDomain[];
|
|
348
|
+
verifiedEmailDomainSettings?: VerifiedEmailDomainSettings;
|
|
331
349
|
}
|
|
332
350
|
export interface Organization_required {
|
|
333
351
|
name: string;
|
|
@@ -776,6 +794,16 @@ export type EnduserInsurance = {
|
|
|
776
794
|
planName?: string;
|
|
777
795
|
startDate?: string;
|
|
778
796
|
};
|
|
797
|
+
export type Pharmacy = {
|
|
798
|
+
npi: string;
|
|
799
|
+
ncpdpId: string;
|
|
800
|
+
businessName: string;
|
|
801
|
+
primaryTelephone: string;
|
|
802
|
+
addressLine1?: string;
|
|
803
|
+
city?: string;
|
|
804
|
+
stateProvince?: string;
|
|
805
|
+
postalCode?: string;
|
|
806
|
+
};
|
|
779
807
|
export type EnduserDevice = {
|
|
780
808
|
title: string;
|
|
781
809
|
id: string;
|
|
@@ -907,6 +935,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
907
935
|
lastSuperdialEligibilityCheckAt?: Date;
|
|
908
936
|
superdialEligibilityResponse?: string;
|
|
909
937
|
eligibleForAutoMerge?: boolean;
|
|
938
|
+
preferredPharmacy?: Pharmacy;
|
|
910
939
|
}
|
|
911
940
|
export interface EnduserCustomType_readonly extends ClientRecord {
|
|
912
941
|
}
|
|
@@ -1599,7 +1628,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
|
|
|
1599
1628
|
copiedFromEnduserId?: string;
|
|
1600
1629
|
}
|
|
1601
1630
|
export type FormFieldLiteralType = 'Rich Text' | 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time' | "Timezone";
|
|
1602
|
-
export type FormFieldComplexType = "Conditions" | "Allergies" | "Emotii" | "Hidden Value" | "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Chargebee" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance" | "Bridge Eligibility" | "Beluga Patient Preference";
|
|
1631
|
+
export type FormFieldComplexType = "Conditions" | "Allergies" | "Emotii" | "Hidden Value" | "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Chargebee" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance" | "Bridge Eligibility" | "Beluga Patient Preference" | "Pharmacy Search";
|
|
1603
1632
|
export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
|
|
1604
1633
|
export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
|
|
1605
1634
|
export type PreviousFormFieldBuilder<T extends PreviousFormFieldType, V> = {
|
|
@@ -1663,6 +1692,7 @@ export type FormFieldFeedback = {
|
|
|
1663
1692
|
export type FormFieldOptionDetails = {
|
|
1664
1693
|
option: string;
|
|
1665
1694
|
description?: string;
|
|
1695
|
+
showCondition?: CompoundFilter<string>;
|
|
1666
1696
|
};
|
|
1667
1697
|
export interface CanvasConsentCategory extends CanvasCoding {
|
|
1668
1698
|
}
|
|
@@ -2145,6 +2175,7 @@ export type FormResponseAnswerChargebee = FormResponseValueAnswerBuilder<'Charge
|
|
|
2145
2175
|
url: string;
|
|
2146
2176
|
}>;
|
|
2147
2177
|
export type FormResponseAnswerBelugaPatientPreference = FormResponseValueAnswerBuilder<'Beluga Patient Preference', BelugaPatientPreferenceResponse[]>;
|
|
2178
|
+
export type FormResponseAnswerPharmacySearch = FormResponseValueAnswerBuilder<'Pharmacy Search', Pharmacy>;
|
|
2148
2179
|
export type FormResponseAnswerSignatureValue = {
|
|
2149
2180
|
fullName: string;
|
|
2150
2181
|
signed: boolean;
|
|
@@ -2167,7 +2198,7 @@ export type FormResponseAnswerFileValue = {
|
|
|
2167
2198
|
export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
|
|
2168
2199
|
export type FormResponseAnswerFiles = FormResponseValueAnswerBuilder<'files', FormResponseAnswerFileValue[]>;
|
|
2169
2200
|
export type FormResponseAnswerTimezone = FormResponseValueAnswerBuilder<'Timezone', string>;
|
|
2170
|
-
export type FormResponseValueAnswer = (FormResponseAnswerGroup | FormResponseAnswerTimezone | FormResponseAnswerTable | FormResponseAnswerDescription | FormResponseAnswerEmail | FormResponseAnswerNumber | FormResponseAnswerPhone | FormResponseAnswerString | FormResponseAnswerStringLong | FormResponseAnswerRichText | FormResponseAnswerSignature | FormResponseAnswerMultipleChoice | FormResponseAnswerFile | FormResponseAnswerFiles | FormResponseAnswerDate | FormResponseAnswerRating | FormResponseAnswerRanking | FormResponseAnswerDateString | FormResponseAnswerAddress | FormResponseAnswerTime | FormResponseAnswerStripe | FormResponseAnswerDropdown | FormResponseAnswerDatabaseSelect | FormResponseAnswerMedications | FormResponseAnswerRelatedContacts | FormResponseAnswerInsurance | FormResponseAnswerAppointmentBooking | FormResponseAnswerHeight | FormResponseAnswerRedirect | FormResponseAnswerHiddenValue | FormResponseAnswerEmotii | FormResponseAnswerAllergies | FormResponseAnswerConditions | FormResponseAnswerChargebee | FormResponseAnswerBelugaPatientPreference | FormResponseAnswerBridgeEligibility);
|
|
2201
|
+
export type FormResponseValueAnswer = (FormResponseAnswerGroup | FormResponseAnswerTimezone | FormResponseAnswerTable | FormResponseAnswerDescription | FormResponseAnswerEmail | FormResponseAnswerNumber | FormResponseAnswerPhone | FormResponseAnswerString | FormResponseAnswerStringLong | FormResponseAnswerRichText | FormResponseAnswerSignature | FormResponseAnswerMultipleChoice | FormResponseAnswerFile | FormResponseAnswerFiles | FormResponseAnswerDate | FormResponseAnswerRating | FormResponseAnswerRanking | FormResponseAnswerDateString | FormResponseAnswerAddress | FormResponseAnswerTime | FormResponseAnswerStripe | FormResponseAnswerDropdown | FormResponseAnswerDatabaseSelect | FormResponseAnswerMedications | FormResponseAnswerRelatedContacts | FormResponseAnswerInsurance | FormResponseAnswerAppointmentBooking | FormResponseAnswerHeight | FormResponseAnswerRedirect | FormResponseAnswerHiddenValue | FormResponseAnswerEmotii | FormResponseAnswerAllergies | FormResponseAnswerConditions | FormResponseAnswerChargebee | FormResponseAnswerBelugaPatientPreference | FormResponseAnswerBridgeEligibility | FormResponseAnswerPharmacySearch);
|
|
2171
2202
|
export type FormResponseValue = {
|
|
2172
2203
|
fieldId: string;
|
|
2173
2204
|
fieldTitle: string;
|
|
@@ -2218,6 +2249,7 @@ export type AnswerForType = {
|
|
|
2218
2249
|
'Conditions': FormResponseAnswerConditions['value'];
|
|
2219
2250
|
'Timezone': FormResponseAnswerTimezone['value'];
|
|
2220
2251
|
'Beluga Patient Preference': FormResponseAnswerBelugaPatientPreference['value'];
|
|
2252
|
+
'Pharmacy Search': FormResponseAnswerPharmacySearch['value'];
|
|
2221
2253
|
};
|
|
2222
2254
|
export type Addendum = {
|
|
2223
2255
|
timestamp: Date;
|
|
@@ -2314,6 +2346,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
|
|
|
2314
2346
|
fieldTitle: string;
|
|
2315
2347
|
timestamp: Date;
|
|
2316
2348
|
}[];
|
|
2349
|
+
startedViaPinnedForm?: boolean;
|
|
2317
2350
|
}
|
|
2318
2351
|
export interface WebHook_readonly extends ClientRecord {
|
|
2319
2352
|
}
|
|
@@ -2723,6 +2756,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
|
|
|
2723
2756
|
limitedToCareTeam?: boolean;
|
|
2724
2757
|
limitedByState?: boolean;
|
|
2725
2758
|
limitedByTagsPortal?: string[];
|
|
2759
|
+
enableUserSelection?: boolean;
|
|
2726
2760
|
requireLocationSelection?: boolean;
|
|
2727
2761
|
collectReason?: "Do Not Collect" | 'Optional' | 'Required';
|
|
2728
2762
|
restrictionsByTemplate?: BookingRestrictions[];
|
|
@@ -3052,6 +3086,7 @@ export type IterableSendEmailAutomationAction = AutomationActionBuilder<'iterabl
|
|
|
3052
3086
|
export type ZendeskCreateTicketAutomationAction = AutomationActionBuilder<'zendeskCreateTicket', {
|
|
3053
3087
|
templateId: string;
|
|
3054
3088
|
defaultSenderId: string;
|
|
3089
|
+
isInternalNote?: boolean;
|
|
3055
3090
|
}>;
|
|
3056
3091
|
export type CreateCarePlanAutomationAction = AutomationActionBuilder<'createCarePlan', {
|
|
3057
3092
|
title: string;
|
|
@@ -3940,6 +3975,7 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3940
3975
|
direction?: string;
|
|
3941
3976
|
messages?: string[];
|
|
3942
3977
|
"SMS Tags"?: ListOfStringsWithQualifier;
|
|
3978
|
+
deliveryStatus?: 'All' | 'Delivered' | 'Failed';
|
|
3943
3979
|
};
|
|
3944
3980
|
Emails: {
|
|
3945
3981
|
direction?: "Inbound" | "Outbound" | "Both";
|
|
@@ -4145,6 +4181,7 @@ export interface BackgroundError extends BackgroundError_readonly, BackgroundErr
|
|
|
4145
4181
|
acknowledgedAt?: Date | '';
|
|
4146
4182
|
journeyId?: string;
|
|
4147
4183
|
enduserId?: string;
|
|
4184
|
+
userId?: string;
|
|
4148
4185
|
}
|
|
4149
4186
|
export type SortingField = {
|
|
4150
4187
|
field: string;
|
|
@@ -4223,6 +4260,11 @@ export type EnduserProfileViewBlocks = {
|
|
|
4223
4260
|
"Shared Content": EnduserProfileViewBlockBuilder<"Shared Content", {
|
|
4224
4261
|
title: string;
|
|
4225
4262
|
}>;
|
|
4263
|
+
"iFrame": EnduserProfileViewBlockBuilder<"iFrame", {
|
|
4264
|
+
title: string;
|
|
4265
|
+
url: string;
|
|
4266
|
+
height: number;
|
|
4267
|
+
}>;
|
|
4226
4268
|
};
|
|
4227
4269
|
export type EnduserProfileViewBlockType = keyof EnduserProfileViewBlocks;
|
|
4228
4270
|
export type EnduserProfileViewBlock = EnduserProfileViewBlocks[EnduserProfileViewBlockType];
|