telnyx 5.83.0 → 5.85.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.
@@ -0,0 +1,297 @@
1
+ # typed: strong
2
+
3
+ module Telnyx
4
+ module Models
5
+ class CallHoldWebhookEvent < Telnyx::Internal::Type::BaseModel
6
+ OrHash =
7
+ T.type_alias do
8
+ T.any(Telnyx::CallHoldWebhookEvent, Telnyx::Internal::AnyHash)
9
+ end
10
+
11
+ sig { returns(T.nilable(Telnyx::CallHoldWebhookEvent::Data)) }
12
+ attr_reader :data
13
+
14
+ sig { params(data: Telnyx::CallHoldWebhookEvent::Data::OrHash).void }
15
+ attr_writer :data
16
+
17
+ sig do
18
+ params(data: Telnyx::CallHoldWebhookEvent::Data::OrHash).returns(
19
+ T.attached_class
20
+ )
21
+ end
22
+ def self.new(data: nil)
23
+ end
24
+
25
+ sig { override.returns({ data: Telnyx::CallHoldWebhookEvent::Data }) }
26
+ def to_hash
27
+ end
28
+
29
+ class Data < Telnyx::Internal::Type::BaseModel
30
+ OrHash =
31
+ T.type_alias do
32
+ T.any(Telnyx::CallHoldWebhookEvent::Data, Telnyx::Internal::AnyHash)
33
+ end
34
+
35
+ # Identifies the type of resource.
36
+ sig { returns(T.nilable(String)) }
37
+ attr_reader :id
38
+
39
+ sig { params(id: String).void }
40
+ attr_writer :id
41
+
42
+ # The type of event being delivered.
43
+ sig do
44
+ returns(
45
+ T.nilable(
46
+ Telnyx::CallHoldWebhookEvent::Data::EventType::TaggedSymbol
47
+ )
48
+ )
49
+ end
50
+ attr_reader :event_type
51
+
52
+ sig do
53
+ params(
54
+ event_type: Telnyx::CallHoldWebhookEvent::Data::EventType::OrSymbol
55
+ ).void
56
+ end
57
+ attr_writer :event_type
58
+
59
+ # ISO 8601 datetime of when the event occurred.
60
+ sig { returns(T.nilable(Time)) }
61
+ attr_reader :occurred_at
62
+
63
+ sig { params(occurred_at: Time).void }
64
+ attr_writer :occurred_at
65
+
66
+ sig { returns(T.nilable(Telnyx::CallHoldWebhookEvent::Data::Payload)) }
67
+ attr_reader :payload
68
+
69
+ sig do
70
+ params(
71
+ payload: Telnyx::CallHoldWebhookEvent::Data::Payload::OrHash
72
+ ).void
73
+ end
74
+ attr_writer :payload
75
+
76
+ # Identifies the type of the resource.
77
+ sig do
78
+ returns(
79
+ T.nilable(
80
+ Telnyx::CallHoldWebhookEvent::Data::RecordType::TaggedSymbol
81
+ )
82
+ )
83
+ end
84
+ attr_reader :record_type
85
+
86
+ sig do
87
+ params(
88
+ record_type:
89
+ Telnyx::CallHoldWebhookEvent::Data::RecordType::OrSymbol
90
+ ).void
91
+ end
92
+ attr_writer :record_type
93
+
94
+ sig do
95
+ params(
96
+ id: String,
97
+ event_type: Telnyx::CallHoldWebhookEvent::Data::EventType::OrSymbol,
98
+ occurred_at: Time,
99
+ payload: Telnyx::CallHoldWebhookEvent::Data::Payload::OrHash,
100
+ record_type:
101
+ Telnyx::CallHoldWebhookEvent::Data::RecordType::OrSymbol
102
+ ).returns(T.attached_class)
103
+ end
104
+ def self.new(
105
+ # Identifies the type of resource.
106
+ id: nil,
107
+ # The type of event being delivered.
108
+ event_type: nil,
109
+ # ISO 8601 datetime of when the event occurred.
110
+ occurred_at: nil,
111
+ payload: nil,
112
+ # Identifies the type of the resource.
113
+ record_type: nil
114
+ )
115
+ end
116
+
117
+ sig do
118
+ override.returns(
119
+ {
120
+ id: String,
121
+ event_type:
122
+ Telnyx::CallHoldWebhookEvent::Data::EventType::TaggedSymbol,
123
+ occurred_at: Time,
124
+ payload: Telnyx::CallHoldWebhookEvent::Data::Payload,
125
+ record_type:
126
+ Telnyx::CallHoldWebhookEvent::Data::RecordType::TaggedSymbol
127
+ }
128
+ )
129
+ end
130
+ def to_hash
131
+ end
132
+
133
+ # The type of event being delivered.
134
+ module EventType
135
+ extend Telnyx::Internal::Type::Enum
136
+
137
+ TaggedSymbol =
138
+ T.type_alias do
139
+ T.all(Symbol, Telnyx::CallHoldWebhookEvent::Data::EventType)
140
+ end
141
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
142
+
143
+ CALL_HOLD =
144
+ T.let(
145
+ :"call.hold",
146
+ Telnyx::CallHoldWebhookEvent::Data::EventType::TaggedSymbol
147
+ )
148
+
149
+ sig do
150
+ override.returns(
151
+ T::Array[
152
+ Telnyx::CallHoldWebhookEvent::Data::EventType::TaggedSymbol
153
+ ]
154
+ )
155
+ end
156
+ def self.values
157
+ end
158
+ end
159
+
160
+ class Payload < Telnyx::Internal::Type::BaseModel
161
+ OrHash =
162
+ T.type_alias do
163
+ T.any(
164
+ Telnyx::CallHoldWebhookEvent::Data::Payload,
165
+ Telnyx::Internal::AnyHash
166
+ )
167
+ end
168
+
169
+ # Call ID used to issue commands via Call Control API.
170
+ sig { returns(T.nilable(String)) }
171
+ attr_reader :call_control_id
172
+
173
+ sig { params(call_control_id: String).void }
174
+ attr_writer :call_control_id
175
+
176
+ # ID that is unique to the call and can be used to correlate webhook events.
177
+ sig { returns(T.nilable(String)) }
178
+ attr_reader :call_leg_id
179
+
180
+ sig { params(call_leg_id: String).void }
181
+ attr_writer :call_leg_id
182
+
183
+ # ID that is unique to the call session and can be used to correlate webhook
184
+ # events. Call session is a group of related call legs that logically belong to
185
+ # the same phone call, e.g. an inbound and outbound leg of a transferred call.
186
+ sig { returns(T.nilable(String)) }
187
+ attr_reader :call_session_id
188
+
189
+ sig { params(call_session_id: String).void }
190
+ attr_writer :call_session_id
191
+
192
+ # State received from a command.
193
+ sig { returns(T.nilable(String)) }
194
+ attr_reader :client_state
195
+
196
+ sig { params(client_state: String).void }
197
+ attr_writer :client_state
198
+
199
+ # Call Control App ID (formerly Telnyx connection ID) used in the call.
200
+ sig { returns(T.nilable(String)) }
201
+ attr_reader :connection_id
202
+
203
+ sig { params(connection_id: String).void }
204
+ attr_writer :connection_id
205
+
206
+ # Number or SIP URI placing the call.
207
+ sig { returns(T.nilable(String)) }
208
+ attr_reader :from
209
+
210
+ sig { params(from: String).void }
211
+ attr_writer :from
212
+
213
+ # Destination number or SIP URI of the call.
214
+ sig { returns(T.nilable(String)) }
215
+ attr_reader :to
216
+
217
+ sig { params(to: String).void }
218
+ attr_writer :to
219
+
220
+ sig do
221
+ params(
222
+ call_control_id: String,
223
+ call_leg_id: String,
224
+ call_session_id: String,
225
+ client_state: String,
226
+ connection_id: String,
227
+ from: String,
228
+ to: String
229
+ ).returns(T.attached_class)
230
+ end
231
+ def self.new(
232
+ # Call ID used to issue commands via Call Control API.
233
+ call_control_id: nil,
234
+ # ID that is unique to the call and can be used to correlate webhook events.
235
+ call_leg_id: nil,
236
+ # ID that is unique to the call session and can be used to correlate webhook
237
+ # events. Call session is a group of related call legs that logically belong to
238
+ # the same phone call, e.g. an inbound and outbound leg of a transferred call.
239
+ call_session_id: nil,
240
+ # State received from a command.
241
+ client_state: nil,
242
+ # Call Control App ID (formerly Telnyx connection ID) used in the call.
243
+ connection_id: nil,
244
+ # Number or SIP URI placing the call.
245
+ from: nil,
246
+ # Destination number or SIP URI of the call.
247
+ to: nil
248
+ )
249
+ end
250
+
251
+ sig do
252
+ override.returns(
253
+ {
254
+ call_control_id: String,
255
+ call_leg_id: String,
256
+ call_session_id: String,
257
+ client_state: String,
258
+ connection_id: String,
259
+ from: String,
260
+ to: String
261
+ }
262
+ )
263
+ end
264
+ def to_hash
265
+ end
266
+ end
267
+
268
+ # Identifies the type of the resource.
269
+ module RecordType
270
+ extend Telnyx::Internal::Type::Enum
271
+
272
+ TaggedSymbol =
273
+ T.type_alias do
274
+ T.all(Symbol, Telnyx::CallHoldWebhookEvent::Data::RecordType)
275
+ end
276
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
277
+
278
+ EVENT =
279
+ T.let(
280
+ :event,
281
+ Telnyx::CallHoldWebhookEvent::Data::RecordType::TaggedSymbol
282
+ )
283
+
284
+ sig do
285
+ override.returns(
286
+ T::Array[
287
+ Telnyx::CallHoldWebhookEvent::Data::RecordType::TaggedSymbol
288
+ ]
289
+ )
290
+ end
291
+ def self.values
292
+ end
293
+ end
294
+ end
295
+ end
296
+ end
297
+ end
@@ -0,0 +1,304 @@
1
+ # typed: strong
2
+
3
+ module Telnyx
4
+ module Models
5
+ class CallUnholdWebhookEvent < Telnyx::Internal::Type::BaseModel
6
+ OrHash =
7
+ T.type_alias do
8
+ T.any(Telnyx::CallUnholdWebhookEvent, Telnyx::Internal::AnyHash)
9
+ end
10
+
11
+ sig { returns(T.nilable(Telnyx::CallUnholdWebhookEvent::Data)) }
12
+ attr_reader :data
13
+
14
+ sig { params(data: Telnyx::CallUnholdWebhookEvent::Data::OrHash).void }
15
+ attr_writer :data
16
+
17
+ sig do
18
+ params(data: Telnyx::CallUnholdWebhookEvent::Data::OrHash).returns(
19
+ T.attached_class
20
+ )
21
+ end
22
+ def self.new(data: nil)
23
+ end
24
+
25
+ sig { override.returns({ data: Telnyx::CallUnholdWebhookEvent::Data }) }
26
+ def to_hash
27
+ end
28
+
29
+ class Data < Telnyx::Internal::Type::BaseModel
30
+ OrHash =
31
+ T.type_alias do
32
+ T.any(
33
+ Telnyx::CallUnholdWebhookEvent::Data,
34
+ Telnyx::Internal::AnyHash
35
+ )
36
+ end
37
+
38
+ # Identifies the type of resource.
39
+ sig { returns(T.nilable(String)) }
40
+ attr_reader :id
41
+
42
+ sig { params(id: String).void }
43
+ attr_writer :id
44
+
45
+ # The type of event being delivered.
46
+ sig do
47
+ returns(
48
+ T.nilable(
49
+ Telnyx::CallUnholdWebhookEvent::Data::EventType::TaggedSymbol
50
+ )
51
+ )
52
+ end
53
+ attr_reader :event_type
54
+
55
+ sig do
56
+ params(
57
+ event_type:
58
+ Telnyx::CallUnholdWebhookEvent::Data::EventType::OrSymbol
59
+ ).void
60
+ end
61
+ attr_writer :event_type
62
+
63
+ # ISO 8601 datetime of when the event occurred.
64
+ sig { returns(T.nilable(Time)) }
65
+ attr_reader :occurred_at
66
+
67
+ sig { params(occurred_at: Time).void }
68
+ attr_writer :occurred_at
69
+
70
+ sig do
71
+ returns(T.nilable(Telnyx::CallUnholdWebhookEvent::Data::Payload))
72
+ end
73
+ attr_reader :payload
74
+
75
+ sig do
76
+ params(
77
+ payload: Telnyx::CallUnholdWebhookEvent::Data::Payload::OrHash
78
+ ).void
79
+ end
80
+ attr_writer :payload
81
+
82
+ # Identifies the type of the resource.
83
+ sig do
84
+ returns(
85
+ T.nilable(
86
+ Telnyx::CallUnholdWebhookEvent::Data::RecordType::TaggedSymbol
87
+ )
88
+ )
89
+ end
90
+ attr_reader :record_type
91
+
92
+ sig do
93
+ params(
94
+ record_type:
95
+ Telnyx::CallUnholdWebhookEvent::Data::RecordType::OrSymbol
96
+ ).void
97
+ end
98
+ attr_writer :record_type
99
+
100
+ sig do
101
+ params(
102
+ id: String,
103
+ event_type:
104
+ Telnyx::CallUnholdWebhookEvent::Data::EventType::OrSymbol,
105
+ occurred_at: Time,
106
+ payload: Telnyx::CallUnholdWebhookEvent::Data::Payload::OrHash,
107
+ record_type:
108
+ Telnyx::CallUnholdWebhookEvent::Data::RecordType::OrSymbol
109
+ ).returns(T.attached_class)
110
+ end
111
+ def self.new(
112
+ # Identifies the type of resource.
113
+ id: nil,
114
+ # The type of event being delivered.
115
+ event_type: nil,
116
+ # ISO 8601 datetime of when the event occurred.
117
+ occurred_at: nil,
118
+ payload: nil,
119
+ # Identifies the type of the resource.
120
+ record_type: nil
121
+ )
122
+ end
123
+
124
+ sig do
125
+ override.returns(
126
+ {
127
+ id: String,
128
+ event_type:
129
+ Telnyx::CallUnholdWebhookEvent::Data::EventType::TaggedSymbol,
130
+ occurred_at: Time,
131
+ payload: Telnyx::CallUnholdWebhookEvent::Data::Payload,
132
+ record_type:
133
+ Telnyx::CallUnholdWebhookEvent::Data::RecordType::TaggedSymbol
134
+ }
135
+ )
136
+ end
137
+ def to_hash
138
+ end
139
+
140
+ # The type of event being delivered.
141
+ module EventType
142
+ extend Telnyx::Internal::Type::Enum
143
+
144
+ TaggedSymbol =
145
+ T.type_alias do
146
+ T.all(Symbol, Telnyx::CallUnholdWebhookEvent::Data::EventType)
147
+ end
148
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
149
+
150
+ CALL_UNHOLD =
151
+ T.let(
152
+ :"call.unhold",
153
+ Telnyx::CallUnholdWebhookEvent::Data::EventType::TaggedSymbol
154
+ )
155
+
156
+ sig do
157
+ override.returns(
158
+ T::Array[
159
+ Telnyx::CallUnholdWebhookEvent::Data::EventType::TaggedSymbol
160
+ ]
161
+ )
162
+ end
163
+ def self.values
164
+ end
165
+ end
166
+
167
+ class Payload < Telnyx::Internal::Type::BaseModel
168
+ OrHash =
169
+ T.type_alias do
170
+ T.any(
171
+ Telnyx::CallUnholdWebhookEvent::Data::Payload,
172
+ Telnyx::Internal::AnyHash
173
+ )
174
+ end
175
+
176
+ # Call ID used to issue commands via Call Control API.
177
+ sig { returns(T.nilable(String)) }
178
+ attr_reader :call_control_id
179
+
180
+ sig { params(call_control_id: String).void }
181
+ attr_writer :call_control_id
182
+
183
+ # ID that is unique to the call and can be used to correlate webhook events.
184
+ sig { returns(T.nilable(String)) }
185
+ attr_reader :call_leg_id
186
+
187
+ sig { params(call_leg_id: String).void }
188
+ attr_writer :call_leg_id
189
+
190
+ # ID that is unique to the call session and can be used to correlate webhook
191
+ # events. Call session is a group of related call legs that logically belong to
192
+ # the same phone call, e.g. an inbound and outbound leg of a transferred call.
193
+ sig { returns(T.nilable(String)) }
194
+ attr_reader :call_session_id
195
+
196
+ sig { params(call_session_id: String).void }
197
+ attr_writer :call_session_id
198
+
199
+ # State received from a command.
200
+ sig { returns(T.nilable(String)) }
201
+ attr_reader :client_state
202
+
203
+ sig { params(client_state: String).void }
204
+ attr_writer :client_state
205
+
206
+ # Call Control App ID (formerly Telnyx connection ID) used in the call.
207
+ sig { returns(T.nilable(String)) }
208
+ attr_reader :connection_id
209
+
210
+ sig { params(connection_id: String).void }
211
+ attr_writer :connection_id
212
+
213
+ # Number or SIP URI placing the call.
214
+ sig { returns(T.nilable(String)) }
215
+ attr_reader :from
216
+
217
+ sig { params(from: String).void }
218
+ attr_writer :from
219
+
220
+ # Destination number or SIP URI of the call.
221
+ sig { returns(T.nilable(String)) }
222
+ attr_reader :to
223
+
224
+ sig { params(to: String).void }
225
+ attr_writer :to
226
+
227
+ sig do
228
+ params(
229
+ call_control_id: String,
230
+ call_leg_id: String,
231
+ call_session_id: String,
232
+ client_state: String,
233
+ connection_id: String,
234
+ from: String,
235
+ to: String
236
+ ).returns(T.attached_class)
237
+ end
238
+ def self.new(
239
+ # Call ID used to issue commands via Call Control API.
240
+ call_control_id: nil,
241
+ # ID that is unique to the call and can be used to correlate webhook events.
242
+ call_leg_id: nil,
243
+ # ID that is unique to the call session and can be used to correlate webhook
244
+ # events. Call session is a group of related call legs that logically belong to
245
+ # the same phone call, e.g. an inbound and outbound leg of a transferred call.
246
+ call_session_id: nil,
247
+ # State received from a command.
248
+ client_state: nil,
249
+ # Call Control App ID (formerly Telnyx connection ID) used in the call.
250
+ connection_id: nil,
251
+ # Number or SIP URI placing the call.
252
+ from: nil,
253
+ # Destination number or SIP URI of the call.
254
+ to: nil
255
+ )
256
+ end
257
+
258
+ sig do
259
+ override.returns(
260
+ {
261
+ call_control_id: String,
262
+ call_leg_id: String,
263
+ call_session_id: String,
264
+ client_state: String,
265
+ connection_id: String,
266
+ from: String,
267
+ to: String
268
+ }
269
+ )
270
+ end
271
+ def to_hash
272
+ end
273
+ end
274
+
275
+ # Identifies the type of the resource.
276
+ module RecordType
277
+ extend Telnyx::Internal::Type::Enum
278
+
279
+ TaggedSymbol =
280
+ T.type_alias do
281
+ T.all(Symbol, Telnyx::CallUnholdWebhookEvent::Data::RecordType)
282
+ end
283
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
284
+
285
+ EVENT =
286
+ T.let(
287
+ :event,
288
+ Telnyx::CallUnholdWebhookEvent::Data::RecordType::TaggedSymbol
289
+ )
290
+
291
+ sig do
292
+ override.returns(
293
+ T::Array[
294
+ Telnyx::CallUnholdWebhookEvent::Data::RecordType::TaggedSymbol
295
+ ]
296
+ )
297
+ end
298
+ def self.values
299
+ end
300
+ end
301
+ end
302
+ end
303
+ end
304
+ end
@@ -24,6 +24,7 @@ module Telnyx
24
24
  Telnyx::CallForkStoppedWebhookEvent,
25
25
  Telnyx::CallGatherEndedWebhookEvent,
26
26
  Telnyx::CallHangupWebhookEvent,
27
+ Telnyx::CallHoldWebhookEvent,
27
28
  Telnyx::CallInitiatedWebhookEvent,
28
29
  Telnyx::CallLeftQueueWebhookEvent,
29
30
  Telnyx::CallMachineDetectionEndedWebhookEvent,
@@ -46,6 +47,7 @@ module Telnyx
46
47
  Telnyx::CallStreamingFailedWebhookEvent,
47
48
  Telnyx::CallStreamingStartedWebhookEvent,
48
49
  Telnyx::CallStreamingStoppedWebhookEvent,
50
+ Telnyx::CallUnholdWebhookEvent,
49
51
  Telnyx::CampaignStatusUpdate,
50
52
  Telnyx::ConferenceCreatedWebhookEvent,
51
53
  Telnyx::ConferenceEndedWebhookEvent,
@@ -24,6 +24,7 @@ module Telnyx
24
24
  Telnyx::CallForkStoppedWebhookEvent,
25
25
  Telnyx::CallGatherEndedWebhookEvent,
26
26
  Telnyx::CallHangupWebhookEvent,
27
+ Telnyx::CallHoldWebhookEvent,
27
28
  Telnyx::CallInitiatedWebhookEvent,
28
29
  Telnyx::CallLeftQueueWebhookEvent,
29
30
  Telnyx::CallMachineDetectionEndedWebhookEvent,
@@ -46,6 +47,7 @@ module Telnyx
46
47
  Telnyx::CallStreamingFailedWebhookEvent,
47
48
  Telnyx::CallStreamingStartedWebhookEvent,
48
49
  Telnyx::CallStreamingStoppedWebhookEvent,
50
+ Telnyx::CallUnholdWebhookEvent,
49
51
  Telnyx::CampaignStatusUpdate,
50
52
  Telnyx::ConferenceCreatedWebhookEvent,
51
53
  Telnyx::ConferenceEndedWebhookEvent,
@@ -233,6 +233,8 @@ module Telnyx
233
233
 
234
234
  CallHangupWebhookEvent = Telnyx::Models::CallHangupWebhookEvent
235
235
 
236
+ CallHoldWebhookEvent = Telnyx::Models::CallHoldWebhookEvent
237
+
236
238
  CallInitiated = Telnyx::Models::CallInitiated
237
239
 
238
240
  CallInitiatedWebhookEvent = Telnyx::Models::CallInitiatedWebhookEvent
@@ -340,6 +342,8 @@ module Telnyx
340
342
  CallStreamingStoppedWebhookEvent =
341
343
  Telnyx::Models::CallStreamingStoppedWebhookEvent
342
344
 
345
+ CallUnholdWebhookEvent = Telnyx::Models::CallUnholdWebhookEvent
346
+
343
347
  CampaignStatusUpdate = Telnyx::Models::CampaignStatusUpdate
344
348
 
345
349
  ChannelZoneListParams = Telnyx::Models::ChannelZoneListParams
@@ -45,6 +45,7 @@ module Telnyx
45
45
  # **Expected Webhooks:**
46
46
  #
47
47
  # - `call.answered`
48
+ # - `call.hold` and `call.unhold` if the call is held/unheld
48
49
  # - `call.deepfake_detection.result` if `deepfake_detection` was enabled
49
50
  # - `call.deepfake_detection.error` if `deepfake_detection` was enabled and an
50
51
  # error occurred
@@ -15,6 +15,7 @@ module Telnyx
15
15
  #
16
16
  # - `call.initiated`
17
17
  # - `call.answered` or `call.hangup`
18
+ # - `call.hold` and `call.unhold` if the call is held/unheld
18
19
  # - `call.machine.detection.ended` if `answering_machine_detection` was requested
19
20
  # - `call.machine.greeting.ended` if `answering_machine_detection` was requested
20
21
  # to detect the end of machine greeting
@@ -22,6 +22,7 @@ module Telnyx
22
22
  Telnyx::CallForkStoppedWebhookEvent,
23
23
  Telnyx::CallGatherEndedWebhookEvent,
24
24
  Telnyx::CallHangupWebhookEvent,
25
+ Telnyx::CallHoldWebhookEvent,
25
26
  Telnyx::CallInitiatedWebhookEvent,
26
27
  Telnyx::CallLeftQueueWebhookEvent,
27
28
  Telnyx::CallMachineDetectionEndedWebhookEvent,
@@ -44,6 +45,7 @@ module Telnyx
44
45
  Telnyx::CallStreamingFailedWebhookEvent,
45
46
  Telnyx::CallStreamingStartedWebhookEvent,
46
47
  Telnyx::CallStreamingStoppedWebhookEvent,
48
+ Telnyx::CallUnholdWebhookEvent,
47
49
  Telnyx::CampaignStatusUpdate,
48
50
  Telnyx::ConferenceCreatedWebhookEvent,
49
51
  Telnyx::ConferenceEndedWebhookEvent,
@@ -102,6 +104,7 @@ module Telnyx
102
104
  Telnyx::CallForkStoppedWebhookEvent,
103
105
  Telnyx::CallGatherEndedWebhookEvent,
104
106
  Telnyx::CallHangupWebhookEvent,
107
+ Telnyx::CallHoldWebhookEvent,
105
108
  Telnyx::CallInitiatedWebhookEvent,
106
109
  Telnyx::CallLeftQueueWebhookEvent,
107
110
  Telnyx::CallMachineDetectionEndedWebhookEvent,
@@ -124,6 +127,7 @@ module Telnyx
124
127
  Telnyx::CallStreamingFailedWebhookEvent,
125
128
  Telnyx::CallStreamingStartedWebhookEvent,
126
129
  Telnyx::CallStreamingStoppedWebhookEvent,
130
+ Telnyx::CallUnholdWebhookEvent,
127
131
  Telnyx::CampaignStatusUpdate,
128
132
  Telnyx::ConferenceCreatedWebhookEvent,
129
133
  Telnyx::ConferenceEndedWebhookEvent,