@tellescope/types-models 1.157.1 → 1.158.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 +16 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +16 -1
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/index.ts +21 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -182,6 +182,7 @@ export type OrganizationSettings = {
|
|
|
182
182
|
loopQueueCallSound?: boolean;
|
|
183
183
|
showOrdersInSidebar?: boolean;
|
|
184
184
|
showDiagnoses?: boolean;
|
|
185
|
+
requireObservationInvalidationReason?: boolean;
|
|
185
186
|
};
|
|
186
187
|
tickets?: {
|
|
187
188
|
defaultJourneyDueDateOffsetInMS?: number | '';
|
|
@@ -302,6 +303,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
302
303
|
hasConnectedZendesk?: boolean;
|
|
303
304
|
hasConnectedZus?: boolean;
|
|
304
305
|
hasConnectedCanvas?: boolean;
|
|
306
|
+
canvasURL?: string;
|
|
305
307
|
hasConnectedCandid?: boolean;
|
|
306
308
|
hasConnectedGoGoMeds?: boolean;
|
|
307
309
|
hasConnectedPagerDuty?: boolean;
|
|
@@ -378,6 +380,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
378
380
|
name: string;
|
|
379
381
|
}[];
|
|
380
382
|
groups?: string[];
|
|
383
|
+
observationInvalidationReasons?: string[];
|
|
381
384
|
}
|
|
382
385
|
export type OrganizationTheme = {
|
|
383
386
|
name: string;
|
|
@@ -1582,6 +1585,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1582
1585
|
hideAfterUnsubmittedInMS?: number;
|
|
1583
1586
|
hideFromCompose?: boolean;
|
|
1584
1587
|
enduserFieldsToAppendForSync?: string[];
|
|
1588
|
+
allowPortalSubmission?: boolean;
|
|
1585
1589
|
}
|
|
1586
1590
|
export interface FormGroup_readonly extends ClientRecord {
|
|
1587
1591
|
}
|
|
@@ -1823,7 +1827,7 @@ export type FormResponseValue = {
|
|
|
1823
1827
|
isCalledOut?: boolean;
|
|
1824
1828
|
disabled?: boolean;
|
|
1825
1829
|
isHighlightedOnTimeline?: boolean;
|
|
1826
|
-
computedValueKey?: 'Height' | 'Weight' | 'Date of Birth' | "Gender";
|
|
1830
|
+
computedValueKey?: 'Height' | 'Weight' | 'Date of Birth' | "Gender" | "State";
|
|
1827
1831
|
intakeField?: string;
|
|
1828
1832
|
};
|
|
1829
1833
|
export type AnswerForType = {
|
|
@@ -2749,6 +2753,7 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
|
|
|
2749
2753
|
beforeMeal?: boolean;
|
|
2750
2754
|
dontTrigger?: boolean;
|
|
2751
2755
|
showWithPlotsByUnit?: string[];
|
|
2756
|
+
invalidationReason?: string;
|
|
2752
2757
|
}
|
|
2753
2758
|
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe' | 'content-link';
|
|
2754
2759
|
export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
|
|
@@ -3179,6 +3184,10 @@ export type AnalyticsQueryInfoForType = {
|
|
|
3179
3184
|
Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
|
|
3180
3185
|
Duration: AnalyticsQueryInfoBuilder<'Duration', undefined>;
|
|
3181
3186
|
};
|
|
3187
|
+
"Meetings": {
|
|
3188
|
+
Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
|
|
3189
|
+
Duration: AnalyticsQueryInfoBuilder<'Duration', undefined>;
|
|
3190
|
+
};
|
|
3182
3191
|
};
|
|
3183
3192
|
export type AnalyticsQueryInfoType = keyof AnalyticsQueryInfoForType;
|
|
3184
3193
|
export type AnalyticsQueryInfo = AnalyticsQueryInfoForType[AnalyticsQueryInfoType];
|
|
@@ -3227,6 +3236,7 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3227
3236
|
closeReasons?: string[];
|
|
3228
3237
|
};
|
|
3229
3238
|
"Phone Calls": {};
|
|
3239
|
+
"Meetings": {};
|
|
3230
3240
|
"SMS Messages": {
|
|
3231
3241
|
direction?: string;
|
|
3232
3242
|
messages?: string[];
|
|
@@ -3292,6 +3302,9 @@ export type AnalyticsQueryGroupingForType = {
|
|
|
3292
3302
|
"Files": {} & EnduserGrouping & {
|
|
3293
3303
|
Enduser: string;
|
|
3294
3304
|
};
|
|
3305
|
+
"Meetings": {
|
|
3306
|
+
Host?: boolean;
|
|
3307
|
+
};
|
|
3295
3308
|
};
|
|
3296
3309
|
type DefaultRangeKey = 'Created At' | 'Updated At';
|
|
3297
3310
|
export type AnalyticsQueryRangeKeyForType = {
|
|
@@ -3306,6 +3319,7 @@ export type AnalyticsQueryRangeKeyForType = {
|
|
|
3306
3319
|
"Emails": DefaultRangeKey;
|
|
3307
3320
|
"Medications": DefaultRangeKey;
|
|
3308
3321
|
"Files": DefaultRangeKey;
|
|
3322
|
+
"Meetings": DefaultRangeKey;
|
|
3309
3323
|
};
|
|
3310
3324
|
export type RangeKey = DefaultRangeKey | 'Submitted At' | "Closed At";
|
|
3311
3325
|
export type AnalyticsQueryRangeInterval = 'Hourly' | 'Daily' | 'Weekly' | 'Monthly';
|
|
@@ -3332,6 +3346,7 @@ export type AnalyticsQueryForType = {
|
|
|
3332
3346
|
"SMS Messages": AnalyticsQueryBuilder<"SMS Messages", AnalyticsQueryInfoForType['SMS Messages'][keyof AnalyticsQueryInfoForType['SMS Messages']], AnalyticsQueryFilterForType['SMS Messages'], AnalyticsQueryGroupingForType['SMS Messages'], AnalyticsQueryRangeKeyForType['SMS Messages']>;
|
|
3333
3347
|
"Medications": AnalyticsQueryBuilder<"Medications", AnalyticsQueryInfoForType['Medications'][keyof AnalyticsQueryInfoForType['Medications']], AnalyticsQueryFilterForType['Medications'], AnalyticsQueryGroupingForType['Medications'], AnalyticsQueryRangeKeyForType['Medications']>;
|
|
3334
3348
|
"Files": AnalyticsQueryBuilder<"Files", AnalyticsQueryInfoForType['Files'][keyof AnalyticsQueryInfoForType['Files']], AnalyticsQueryFilterForType['Files'], AnalyticsQueryGroupingForType['Files'], AnalyticsQueryRangeKeyForType['Files']>;
|
|
3349
|
+
"Meetings": AnalyticsQueryBuilder<"Meetings", AnalyticsQueryInfoForType['Meetings'][keyof AnalyticsQueryInfoForType['Meetings']], AnalyticsQueryFilterForType['Meetings'], AnalyticsQueryGroupingForType['Meetings'], AnalyticsQueryRangeKeyForType['Meetings']>;
|
|
3335
3350
|
};
|
|
3336
3351
|
export type AnalyticsQueryType = keyof AnalyticsQueryForType;
|
|
3337
3352
|
export type AnalyticsQuery = AnalyticsQueryForType[AnalyticsQueryType];
|