@tellescope/types-models 1.230.1 → 1.230.2
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 +14 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +14 -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 +15 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1559,7 +1559,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
|
|
|
1559
1559
|
copiedFromEnduserId?: string;
|
|
1560
1560
|
}
|
|
1561
1561
|
export type FormFieldLiteralType = 'Rich Text' | 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time' | "Timezone";
|
|
1562
|
-
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";
|
|
1562
|
+
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" | "Beluga Patient Preference";
|
|
1563
1563
|
export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
|
|
1564
1564
|
export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
|
|
1565
1565
|
export type PreviousFormFieldBuilder<T extends PreviousFormFieldType, V> = {
|
|
@@ -2046,6 +2046,16 @@ export type AllergyResponse = BaseResponse & {
|
|
|
2046
2046
|
note?: string;
|
|
2047
2047
|
};
|
|
2048
2048
|
export type ConditionResponse = BaseResponse;
|
|
2049
|
+
export type BelugaPatientPreferenceResponse = {
|
|
2050
|
+
name: string;
|
|
2051
|
+
strength: string;
|
|
2052
|
+
quantity: string;
|
|
2053
|
+
refills: string;
|
|
2054
|
+
daysSupply: string;
|
|
2055
|
+
sig: string;
|
|
2056
|
+
dispenseUnit: string;
|
|
2057
|
+
medId: string;
|
|
2058
|
+
};
|
|
2049
2059
|
export type FormResponseAnswerTable = FormResponseValueAnswerBuilder<'Table Input', TableInputCell[][]>;
|
|
2050
2060
|
export type FormResponseAnswerGroup = FormResponseValueAnswerBuilder<'Question Group', FormSubField[]>;
|
|
2051
2061
|
export type FormResponseAnswerDescription = FormResponseValueAnswerBuilder<'description', ''>;
|
|
@@ -2075,6 +2085,7 @@ export type FormResponseAnswerConditions = FormResponseValueAnswerBuilder<'Condi
|
|
|
2075
2085
|
export type FormResponseAnswerChargebee = FormResponseValueAnswerBuilder<'Chargebee', {
|
|
2076
2086
|
url: string;
|
|
2077
2087
|
}>;
|
|
2088
|
+
export type FormResponseAnswerBelugaPatientPreference = FormResponseValueAnswerBuilder<'Beluga Patient Preference', BelugaPatientPreferenceResponse[]>;
|
|
2078
2089
|
export type FormResponseAnswerSignatureValue = {
|
|
2079
2090
|
fullName: string;
|
|
2080
2091
|
signed: boolean;
|
|
@@ -2097,7 +2108,7 @@ export type FormResponseAnswerFileValue = {
|
|
|
2097
2108
|
export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
|
|
2098
2109
|
export type FormResponseAnswerFiles = FormResponseValueAnswerBuilder<'files', FormResponseAnswerFileValue[]>;
|
|
2099
2110
|
export type FormResponseAnswerTimezone = FormResponseValueAnswerBuilder<'Timezone', string>;
|
|
2100
|
-
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);
|
|
2111
|
+
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);
|
|
2101
2112
|
export type FormResponseValue = {
|
|
2102
2113
|
fieldId: string;
|
|
2103
2114
|
fieldTitle: string;
|
|
@@ -2146,6 +2157,7 @@ export type AnswerForType = {
|
|
|
2146
2157
|
'Allergies': FormResponseAnswerAllergies['value'];
|
|
2147
2158
|
'Conditions': FormResponseAnswerConditions['value'];
|
|
2148
2159
|
'Timezone': FormResponseAnswerTimezone['value'];
|
|
2160
|
+
'Beluga Patient Preference': FormResponseAnswerBelugaPatientPreference['value'];
|
|
2149
2161
|
};
|
|
2150
2162
|
export type Addendum = {
|
|
2151
2163
|
timestamp: Date;
|