@tellescope/types-models 1.136.0 → 1.137.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.
@@ -3669,6 +3669,10 @@ export type PhoneTreeActions = {
3669
3669
  timezone?: Timezone;
3670
3670
  weeklyAvailabilities?: WeeklyAvailability[];
3671
3671
  }>;
3672
+ 'Add to Queue': PhoneTreeActionBuilder<"Add to Queue", {
3673
+ queueId: string;
3674
+ playback?: Partial<PhonePlayback>;
3675
+ }>;
3672
3676
  };
3673
3677
  export type PhoneTreeActionType = keyof PhoneTreeActions;
3674
3678
  export type PhoneTreeAction = PhoneTreeActions[PhoneTreeActionType];
@@ -3915,6 +3919,17 @@ export interface TicketQueue_required {
3915
3919
  }
3916
3920
  export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required, TicketQueue_updatesDisabled {
3917
3921
  }
3922
+ export interface CallHoldQueue_readonly extends ClientRecord {
3923
+ }
3924
+ export interface CallHoldQueue_updatesDisabled {
3925
+ }
3926
+ export interface CallHoldQueue_required {
3927
+ title: string;
3928
+ userIds: string[];
3929
+ twilioQueueId?: string;
3930
+ }
3931
+ export interface CallHoldQueue extends CallHoldQueue_readonly, CallHoldQueue_required, CallHoldQueue_updatesDisabled {
3932
+ }
3918
3933
  export type ImageAttachment = {
3919
3934
  url: string;
3920
3935
  type: string;
@@ -4054,6 +4069,7 @@ export interface WebhookLog_updatesDisabled {
4054
4069
  export interface WebhookLog extends WebhookLog_readonly, WebhookLog_required, WebhookLog_updatesDisabled {
4055
4070
  }
4056
4071
  export type ModelForName_required = {
4072
+ call_hold_queues: CallHoldQueue_required;
4057
4073
  fax_logs: FaxLog_required;
4058
4074
  message_template_snippets: MessageTemplateSnippet_required;
4059
4075
  portal_brandings: PortalBranding_required;
@@ -4135,6 +4151,7 @@ export type ModelForName_required = {
4135
4151
  };
4136
4152
  export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
4137
4153
  export interface ModelForName_readonly {
4154
+ call_hold_queues: CallHoldQueue_readonly;
4138
4155
  fax_logs: FaxLog_readonly;
4139
4156
  message_template_snippets: MessageTemplateSnippet_readonly;
4140
4157
  portal_brandings: PortalBranding_readonly;
@@ -4216,6 +4233,7 @@ export interface ModelForName_readonly {
4216
4233
  }
4217
4234
  export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
4218
4235
  export interface ModelForName_updatesDisabled {
4236
+ call_hold_queues: CallHoldQueue_updatesDisabled;
4219
4237
  fax_logs: FaxLog_updatesDisabled;
4220
4238
  message_template_snippets: MessageTemplateSnippet_updatesDisabled;
4221
4239
  portal_brandings: PortalBranding_updatesDisabled;
@@ -4297,6 +4315,7 @@ export interface ModelForName_updatesDisabled {
4297
4315
  }
4298
4316
  export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
4299
4317
  export interface ModelForName extends ModelForName_required, ModelForName_readonly {
4318
+ call_hold_queues: CallHoldQueue;
4300
4319
  fax_logs: FaxLog;
4301
4320
  message_template_snippets: MessageTemplateSnippet;
4302
4321
  portal_brandings: PortalBranding;
@@ -5035,4 +5054,9 @@ export type DataSyncRecord = {
5035
5054
  enduserIds: string[];
5036
5055
  };
5037
5056
  export type InsuranceType = "Primary" | "Secondary";
5057
+ export type TwilioQueue = {
5058
+ currentSize: number;
5059
+ friendlyName: string;
5060
+ averageWaitTime: number;
5061
+ };
5038
5062
  //# sourceMappingURL=index.d.ts.map