@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.
package/src/index.ts CHANGED
@@ -195,6 +195,7 @@ export type OrganizationSettings = {
195
195
  loopQueueCallSound?: boolean,
196
196
  showOrdersInSidebar?: boolean,
197
197
  showDiagnoses?: boolean,
198
+ requireObservationInvalidationReason?: boolean,
198
199
  },
199
200
  tickets?: {
200
201
  defaultJourneyDueDateOffsetInMS?: number | '',
@@ -319,6 +320,7 @@ export interface Organization extends Organization_readonly, Organization_requir
319
320
  hasConnectedZendesk?: boolean,
320
321
  hasConnectedZus?: boolean,
321
322
  hasConnectedCanvas?: boolean,
323
+ canvasURL?: string,
322
324
  hasConnectedCandid?: boolean,
323
325
  hasConnectedGoGoMeds?: boolean,
324
326
  hasConnectedPagerDuty?: boolean,
@@ -373,6 +375,7 @@ export interface Organization extends Organization_readonly, Organization_requir
373
375
  stripePublicKeys?: string[],
374
376
  defaultDoseSpotPharmacies?: { id: string, name: string }[]
375
377
  groups?: string[],
378
+ observationInvalidationReasons?: string[],
376
379
  // _AIEnabled?: boolean,
377
380
  }
378
381
  export type OrganizationTheme = {
@@ -844,6 +847,7 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
844
847
  dosage?: {
845
848
  value: string,
846
849
  unit: string,
850
+ quantity?: string,
847
851
  frequency?: string,
848
852
  },
849
853
  notes?: string,
@@ -1627,6 +1631,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1627
1631
  hideAfterUnsubmittedInMS?: number,
1628
1632
  hideFromCompose?: boolean,
1629
1633
  enduserFieldsToAppendForSync?: string[],
1634
+ allowPortalSubmission?: boolean,
1630
1635
  }
1631
1636
 
1632
1637
  export interface FormGroup_readonly extends ClientRecord {}
@@ -1904,7 +1909,7 @@ export type FormResponseValue = {
1904
1909
  isCalledOut?: boolean,
1905
1910
  disabled?: boolean,
1906
1911
  isHighlightedOnTimeline?: boolean,
1907
- computedValueKey?: 'Height' | 'Weight' | 'Date of Birth' | "Gender",
1912
+ computedValueKey?: 'Height' | 'Weight' | 'Date of Birth' | "Gender" | "State",
1908
1913
  intakeField?: string,
1909
1914
  }
1910
1915
 
@@ -2786,6 +2791,7 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
2786
2791
  beforeMeal?: boolean,
2787
2792
  dontTrigger?: boolean,
2788
2793
  showWithPlotsByUnit?: string[],
2794
+ invalidationReason?: string,
2789
2795
  }
2790
2796
 
2791
2797
  export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe' | 'content-link'
@@ -3187,6 +3193,10 @@ export type AnalyticsQueryInfoForType = {
3187
3193
  Total: AnalyticsQueryInfoBuilder<'Total', undefined>,
3188
3194
  Duration: AnalyticsQueryInfoBuilder<'Duration', undefined>,
3189
3195
  },
3196
+ "Meetings": {
3197
+ Total: AnalyticsQueryInfoBuilder<'Total', undefined>,
3198
+ Duration: AnalyticsQueryInfoBuilder<'Duration', undefined>,
3199
+ },
3190
3200
  }
3191
3201
  export type AnalyticsQueryInfoType = keyof AnalyticsQueryInfoForType
3192
3202
  export type AnalyticsQueryInfo = AnalyticsQueryInfoForType[AnalyticsQueryInfoType]
@@ -3232,6 +3242,7 @@ export type AnalyticsQueryFilterForType = {
3232
3242
  closeReasons?: string[],
3233
3243
  },
3234
3244
  "Phone Calls": { },
3245
+ "Meetings": { },
3235
3246
  "SMS Messages": {
3236
3247
  direction?: string,
3237
3248
  messages?: string[],
@@ -3260,6 +3271,7 @@ export type AnalyticsQueryGroupingForType = {
3260
3271
  "Scheduled By"?: boolean,
3261
3272
  } & EnduserGrouping & { Enduser: string },
3262
3273
  "Form Responses": {
3274
+ "Submitted By"?: boolean,
3263
3275
  "Public Identifier"?: boolean,
3264
3276
  } & EnduserGrouping & { Enduser: string },
3265
3277
  "Purchases": {
@@ -3278,6 +3290,7 @@ export type AnalyticsQueryGroupingForType = {
3278
3290
  "Emails": {} & EnduserGrouping & { Enduser: string },
3279
3291
  "Medications": {} & EnduserGrouping & { Enduser: string },
3280
3292
  "Files": {} & EnduserGrouping & { Enduser: string },
3293
+ "Meetings": { Host?: boolean },
3281
3294
  }
3282
3295
 
3283
3296
  type DefaultRangeKey = 'Created At' | 'Updated At'
@@ -3293,6 +3306,7 @@ export type AnalyticsQueryRangeKeyForType = {
3293
3306
  "Emails": DefaultRangeKey,
3294
3307
  "Medications": DefaultRangeKey,
3295
3308
  "Files": DefaultRangeKey,
3309
+ "Meetings": DefaultRangeKey,
3296
3310
  }
3297
3311
  export type RangeKey = DefaultRangeKey | 'Submitted At' | "Closed At"
3298
3312
 
@@ -3387,6 +3401,13 @@ export type AnalyticsQueryForType = {
3387
3401
  AnalyticsQueryGroupingForType['Files'],
3388
3402
  AnalyticsQueryRangeKeyForType['Files']
3389
3403
  >,
3404
+ "Meetings": AnalyticsQueryBuilder<
3405
+ "Meetings",
3406
+ AnalyticsQueryInfoForType['Meetings'][keyof AnalyticsQueryInfoForType['Meetings']],
3407
+ AnalyticsQueryFilterForType['Meetings'],
3408
+ AnalyticsQueryGroupingForType['Meetings'],
3409
+ AnalyticsQueryRangeKeyForType['Meetings']
3410
+ >,
3390
3411
  }
3391
3412
  export type AnalyticsQueryType = keyof AnalyticsQueryForType
3392
3413
  export type AnalyticsQuery = AnalyticsQueryForType[AnalyticsQueryType]
@@ -3403,6 +3424,7 @@ export const resource_to_modelName: { [K in AnalyticsQueryType] : ModelName } =
3403
3424
  Emails: "emails",
3404
3425
  Medications: "enduser_medications",
3405
3426
  Files: "files",
3427
+ Meetings: "meetings",
3406
3428
  }
3407
3429
 
3408
3430
  export type AnalyticsQueryOptions = {
@@ -3764,6 +3786,7 @@ export interface PhoneTree extends PhoneTree_readonly, PhoneTree_required, Phone
3764
3786
  enduserCondition?: PhoneTreeEnduserCondition,
3765
3787
  bypassOOO?: boolean,
3766
3788
  defaultEntityType?: string,
3789
+ tags?: string[],
3767
3790
  }
3768
3791
 
3769
3792
  export type TableViewColumn = {