@tellescope/types-models 1.173.0 → 1.174.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.
@@ -2711,6 +2711,7 @@ export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'sw
2711
2711
  }>;
2712
2712
  export type ElationSyncAutomationAction = AutomationActionBuilder<'elationSync', {}>;
2713
2713
  export type CanvasSyncAutomationAction = AutomationActionBuilder<'canvasSync', {}>;
2714
+ export type CancelFutureAppointmentsAutomationAction = AutomationActionBuilder<'cancelFutureAppointments', {}>;
2714
2715
  export type DevelopHealthMedicationEligibilityAutomationAction = AutomationActionBuilder<'developHealthMedEligibility', {
2715
2716
  drugs: DevelopHealthDrug[];
2716
2717
  diagnoses: DevelopHealthDiagnosis[];
@@ -2726,6 +2727,7 @@ export type IterableCustomEventAutomationAction = AutomationActionBuilder<'itera
2726
2727
  description: string;
2727
2728
  dataFieldsMapping?: IterableFieldsMapping[];
2728
2729
  environment?: string;
2730
+ customEmailField?: string;
2729
2731
  }>;
2730
2732
  export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number";
2731
2733
  export type EnduserFieldSetter = {
@@ -2781,6 +2783,7 @@ export type AutomationActionForType = {
2781
2783
  canvasSync: CanvasSyncAutomationAction;
2782
2784
  pushFormsToPortal: PushFormsAutomationAction;
2783
2785
  developHealthMedEligibility: DevelopHealthMedicationEligibilityAutomationAction;
2786
+ cancelFutureAppointments: CancelFutureAppointmentsAutomationAction;
2784
2787
  };
2785
2788
  export type AutomationActionType = keyof AutomationActionForType;
2786
2789
  export type AutomationAction = AutomationActionForType[AutomationActionType];
@@ -3661,6 +3664,13 @@ export type AutomationTriggerActions = {
3661
3664
  "Require Form Followups": AutomationTriggerActionBuilder<'Require Form Followups', {
3662
3665
  formIds: string[];
3663
3666
  }>;
3667
+ "Add to Waitlist": AutomationTriggerActionBuilder<'Add to Waitlist', {
3668
+ waitlistId: string;
3669
+ }>;
3670
+ "Grant Access From Waitlist": AutomationTriggerActionBuilder<'Grant Access From Waitlist', {
3671
+ waitlistId: string;
3672
+ count: number;
3673
+ }>;
3664
3674
  };
3665
3675
  export type AutomationTriggerActionType = keyof AutomationTriggerActions;
3666
3676
  export type AutomationTriggerAction = AutomationTriggerActions[AutomationTriggerActionType];
@@ -4454,7 +4464,20 @@ export interface AgentRecord extends AgentRecord_readonly, AgentRecord_required,
4454
4464
  externalId?: string;
4455
4465
  indexed?: boolean;
4456
4466
  }
4467
+ export interface Waitlist_readonly extends ClientRecord {
4468
+ }
4469
+ export interface Waitlist_required {
4470
+ title: string;
4471
+ journeyId: string;
4472
+ }
4473
+ export interface Waitlist_updatesDisabled {
4474
+ }
4475
+ export interface Waitlist extends Waitlist_readonly, Waitlist_required, Waitlist_updatesDisabled {
4476
+ enduserIds: string[];
4477
+ tags?: string[];
4478
+ }
4457
4479
  export type ModelForName_required = {
4480
+ waitlists: Waitlist_required;
4458
4481
  agent_records: AgentRecord_required;
4459
4482
  enduser_eligibility_results: EnduserEligibilityResult_required;
4460
4483
  integration_logs: IntegrationLog_required;
@@ -4543,6 +4566,7 @@ export type ModelForName_required = {
4543
4566
  };
4544
4567
  export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
4545
4568
  export interface ModelForName_readonly {
4569
+ waitlists: Waitlist_readonly;
4546
4570
  agent_records: AgentRecord_readonly;
4547
4571
  enduser_eligibility_results: EnduserEligibilityResult_readonly;
4548
4572
  integration_logs: IntegrationLog_readonly;
@@ -4631,6 +4655,7 @@ export interface ModelForName_readonly {
4631
4655
  }
4632
4656
  export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
4633
4657
  export interface ModelForName_updatesDisabled {
4658
+ waitlists: Waitlist_updatesDisabled;
4634
4659
  agent_records: AgentRecord_updatesDisabled;
4635
4660
  enduser_eligibility_results: EnduserEligibilityResult_updatesDisabled;
4636
4661
  integration_logs: IntegrationLog_updatesDisabled;
@@ -4719,6 +4744,7 @@ export interface ModelForName_updatesDisabled {
4719
4744
  }
4720
4745
  export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
4721
4746
  export interface ModelForName extends ModelForName_required, ModelForName_readonly {
4747
+ waitlists: Waitlist;
4722
4748
  agent_records: AgentRecord;
4723
4749
  enduser_eligibility_results: EnduserEligibilityResult;
4724
4750
  integration_logs: IntegrationLog;