@tellescope/types-models 1.241.0 → 1.242.1

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.
@@ -74,6 +74,7 @@ export type CompoundFilter<T extends string> = {
74
74
  };
75
75
  /** @deprecated */
76
76
  export type OrganizationLimit = 'endusersLimit' | 'smsLimit' | 'emailsLimit' | 'tasksLimit' | 'formsLimit' | 'orgUsersLimit' | 'automationsLimit' | 'automationStepsLimit' | 'journeysLimit' | 'journeyStatesLimit' | 'templatesLimit' | 'apiKeysLimit';
77
+ export type ControlledSubstanceCode = "0" | "2" | "3" | "4" | "5";
77
78
  export type PortalSettings = {
78
79
  authentication?: {
79
80
  landingTitle?: string;
@@ -633,6 +634,7 @@ export type WeeklyAvailability = {
633
634
  };
634
635
  export type NotificationPreference = {
635
636
  email?: boolean;
637
+ browser?: boolean;
636
638
  };
637
639
  export type AccountType = string;
638
640
  export type UserCallRoutingBehavior = ('' | 'Assigned' | 'Unassigned' | 'All');
@@ -721,6 +723,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
721
723
  iOSBadgeCount?: number;
722
724
  doseSpotUserId?: string;
723
725
  scriptSurePrescriberId?: string;
726
+ isScriptsureProvider?: boolean;
724
727
  url?: string;
725
728
  requiresMFAConfiguration?: boolean;
726
729
  templateFields?: LabeledField[];
@@ -1010,6 +1013,8 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
1010
1013
  sig?: string;
1011
1014
  compoundQuantity?: number;
1012
1015
  compoundQuantityQualifier?: string;
1016
+ pharmacyNote?: string;
1017
+ controlledSubstance?: ControlledSubstanceCode;
1013
1018
  };
1014
1019
  }
1015
1020
  export interface APIKey_readonly extends ClientRecord {
@@ -5138,6 +5143,8 @@ export interface PrescriptionRoute extends PrescriptionRoute_readonly, Prescript
5138
5143
  compoundQuantity?: number;
5139
5144
  compoundQuantityQualifier?: string;
5140
5145
  sig?: string;
5146
+ pharmacyNote?: string;
5147
+ controlledSubstance?: ControlledSubstanceCode;
5141
5148
  }
5142
5149
  export interface FlowchartNote_readonly extends ClientRecord {
5143
5150
  }
@@ -5227,6 +5234,23 @@ export interface IntegrationLog_updatesDisabled {
5227
5234
  }
5228
5235
  export interface IntegrationLog extends IntegrationLog_readonly, IntegrationLog_required, IntegrationLog_updatesDisabled {
5229
5236
  }
5237
+ export type OrganizationPaymentStatus = "pending" | "completed" | "failed" | "refunded";
5238
+ export interface OrganizationPayment_readonly extends ClientRecord {
5239
+ amountInCents: number;
5240
+ type: string;
5241
+ status: OrganizationPaymentStatus;
5242
+ stripePaymentIntentId: string;
5243
+ stripeCheckoutSessionId?: string;
5244
+ userId: string;
5245
+ title: string;
5246
+ data?: Indexable;
5247
+ }
5248
+ export interface OrganizationPayment_required {
5249
+ }
5250
+ export interface OrganizationPayment_updatesDisabled {
5251
+ }
5252
+ export interface OrganizationPayment extends OrganizationPayment_readonly, OrganizationPayment_required, OrganizationPayment_updatesDisabled {
5253
+ }
5230
5254
  export interface EnduserEligibilityResult_readonly extends ClientRecord {
5231
5255
  }
5232
5256
  export interface EnduserEligibilityResult_updatesDisabled {
@@ -5335,6 +5359,7 @@ export interface InboxThread extends InboxThread_readonly, InboxThread_required,
5335
5359
  recentInboundEnduserId?: string;
5336
5360
  draftMessageIds?: string[];
5337
5361
  scheduledMessageIds?: string[];
5362
+ isDraftOnlyThread?: boolean;
5338
5363
  }
5339
5364
  export type ModelForName_required = {
5340
5365
  inbox_threads: InboxThread_required;
@@ -5343,6 +5368,7 @@ export type ModelForName_required = {
5343
5368
  agent_records: AgentRecord_required;
5344
5369
  enduser_eligibility_results: EnduserEligibilityResult_required;
5345
5370
  integration_logs: IntegrationLog_required;
5371
+ organization_payments: OrganizationPayment_required;
5346
5372
  allergy_codes: AllergyCode_required;
5347
5373
  diagnosis_codes: DiagnosisCode_required;
5348
5374
  suggested_contacts: SuggestedContact_required;
@@ -5436,6 +5462,7 @@ export interface ModelForName_readonly {
5436
5462
  agent_records: AgentRecord_readonly;
5437
5463
  enduser_eligibility_results: EnduserEligibilityResult_readonly;
5438
5464
  integration_logs: IntegrationLog_readonly;
5465
+ organization_payments: OrganizationPayment_readonly;
5439
5466
  allergy_codes: AllergyCode_readonly;
5440
5467
  diagnosis_codes: DiagnosisCode_readonly;
5441
5468
  suggested_contacts: SuggestedContact_readonly;
@@ -5529,6 +5556,7 @@ export interface ModelForName_updatesDisabled {
5529
5556
  agent_records: AgentRecord_updatesDisabled;
5530
5557
  enduser_eligibility_results: EnduserEligibilityResult_updatesDisabled;
5531
5558
  integration_logs: IntegrationLog_updatesDisabled;
5559
+ organization_payments: OrganizationPayment_updatesDisabled;
5532
5560
  allergy_codes: AllergyCode_updatesDisabled;
5533
5561
  diagnosis_codes: DiagnosisCode_updatesDisabled;
5534
5562
  suggested_contacts: SuggestedContact_updatesDisabled;
@@ -5622,6 +5650,7 @@ export interface ModelForName extends ModelForName_required, ModelForName_readon
5622
5650
  agent_records: AgentRecord;
5623
5651
  enduser_eligibility_results: EnduserEligibilityResult;
5624
5652
  integration_logs: IntegrationLog;
5653
+ organization_payments: OrganizationPayment;
5625
5654
  allergy_codes: AllergyCode;
5626
5655
  diagnosis_codes: DiagnosisCode;
5627
5656
  suggested_contacts: SuggestedContact;