@tellescope/types-models 1.156.0 → 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.
@@ -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;
@@ -790,6 +793,7 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
790
793
  dosage?: {
791
794
  value: string;
792
795
  unit: string;
796
+ quantity?: string;
793
797
  frequency?: string;
794
798
  };
795
799
  notes?: string;
@@ -1581,6 +1585,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1581
1585
  hideAfterUnsubmittedInMS?: number;
1582
1586
  hideFromCompose?: boolean;
1583
1587
  enduserFieldsToAppendForSync?: string[];
1588
+ allowPortalSubmission?: boolean;
1584
1589
  }
1585
1590
  export interface FormGroup_readonly extends ClientRecord {
1586
1591
  }
@@ -1822,7 +1827,7 @@ export type FormResponseValue = {
1822
1827
  isCalledOut?: boolean;
1823
1828
  disabled?: boolean;
1824
1829
  isHighlightedOnTimeline?: boolean;
1825
- computedValueKey?: 'Height' | 'Weight' | 'Date of Birth' | "Gender";
1830
+ computedValueKey?: 'Height' | 'Weight' | 'Date of Birth' | "Gender" | "State";
1826
1831
  intakeField?: string;
1827
1832
  };
1828
1833
  export type AnswerForType = {
@@ -2748,6 +2753,7 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
2748
2753
  beforeMeal?: boolean;
2749
2754
  dontTrigger?: boolean;
2750
2755
  showWithPlotsByUnit?: string[];
2756
+ invalidationReason?: string;
2751
2757
  }
2752
2758
  export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe' | 'content-link';
2753
2759
  export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
@@ -3178,6 +3184,10 @@ export type AnalyticsQueryInfoForType = {
3178
3184
  Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
3179
3185
  Duration: AnalyticsQueryInfoBuilder<'Duration', undefined>;
3180
3186
  };
3187
+ "Meetings": {
3188
+ Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
3189
+ Duration: AnalyticsQueryInfoBuilder<'Duration', undefined>;
3190
+ };
3181
3191
  };
3182
3192
  export type AnalyticsQueryInfoType = keyof AnalyticsQueryInfoForType;
3183
3193
  export type AnalyticsQueryInfo = AnalyticsQueryInfoForType[AnalyticsQueryInfoType];
@@ -3226,6 +3236,7 @@ export type AnalyticsQueryFilterForType = {
3226
3236
  closeReasons?: string[];
3227
3237
  };
3228
3238
  "Phone Calls": {};
3239
+ "Meetings": {};
3229
3240
  "SMS Messages": {
3230
3241
  direction?: string;
3231
3242
  messages?: string[];
@@ -3254,6 +3265,7 @@ export type AnalyticsQueryGroupingForType = {
3254
3265
  Enduser: string;
3255
3266
  };
3256
3267
  "Form Responses": {
3268
+ "Submitted By"?: boolean;
3257
3269
  "Public Identifier"?: boolean;
3258
3270
  } & EnduserGrouping & {
3259
3271
  Enduser: string;
@@ -3290,6 +3302,9 @@ export type AnalyticsQueryGroupingForType = {
3290
3302
  "Files": {} & EnduserGrouping & {
3291
3303
  Enduser: string;
3292
3304
  };
3305
+ "Meetings": {
3306
+ Host?: boolean;
3307
+ };
3293
3308
  };
3294
3309
  type DefaultRangeKey = 'Created At' | 'Updated At';
3295
3310
  export type AnalyticsQueryRangeKeyForType = {
@@ -3304,6 +3319,7 @@ export type AnalyticsQueryRangeKeyForType = {
3304
3319
  "Emails": DefaultRangeKey;
3305
3320
  "Medications": DefaultRangeKey;
3306
3321
  "Files": DefaultRangeKey;
3322
+ "Meetings": DefaultRangeKey;
3307
3323
  };
3308
3324
  export type RangeKey = DefaultRangeKey | 'Submitted At' | "Closed At";
3309
3325
  export type AnalyticsQueryRangeInterval = 'Hourly' | 'Daily' | 'Weekly' | 'Monthly';
@@ -3330,6 +3346,7 @@ export type AnalyticsQueryForType = {
3330
3346
  "SMS Messages": AnalyticsQueryBuilder<"SMS Messages", AnalyticsQueryInfoForType['SMS Messages'][keyof AnalyticsQueryInfoForType['SMS Messages']], AnalyticsQueryFilterForType['SMS Messages'], AnalyticsQueryGroupingForType['SMS Messages'], AnalyticsQueryRangeKeyForType['SMS Messages']>;
3331
3347
  "Medications": AnalyticsQueryBuilder<"Medications", AnalyticsQueryInfoForType['Medications'][keyof AnalyticsQueryInfoForType['Medications']], AnalyticsQueryFilterForType['Medications'], AnalyticsQueryGroupingForType['Medications'], AnalyticsQueryRangeKeyForType['Medications']>;
3332
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']>;
3333
3350
  };
3334
3351
  export type AnalyticsQueryType = keyof AnalyticsQueryForType;
3335
3352
  export type AnalyticsQuery = AnalyticsQueryForType[AnalyticsQueryType];
@@ -3825,6 +3842,7 @@ export interface PhoneTree extends PhoneTree_readonly, PhoneTree_required, Phone
3825
3842
  enduserCondition?: PhoneTreeEnduserCondition;
3826
3843
  bypassOOO?: boolean;
3827
3844
  defaultEntityType?: string;
3845
+ tags?: string[];
3828
3846
  }
3829
3847
  export type TableViewColumn = {
3830
3848
  field: string;