freeclimb 5.0.0 → 5.1.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.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -1
  3. data/Gemfile +2 -1
  4. data/Gemfile.lock +21 -15
  5. data/README.md +5 -4
  6. data/docs/MessageResult.md +7 -1
  7. data/docs/TFNCampaign.md +34 -0
  8. data/lib/freeclimb/configuration.rb +1 -2
  9. data/lib/freeclimb/models/dequeue.rb +2 -4
  10. data/lib/freeclimb/models/message_result.rb +36 -5
  11. data/lib/freeclimb/models/remove_from_conference.rb +2 -4
  12. data/lib/freeclimb/models/start_record_call.rb +2 -4
  13. data/lib/freeclimb/models/terminate_conference.rb +2 -4
  14. data/lib/freeclimb/models/tfn_campaign.rb +370 -0
  15. data/lib/freeclimb/models/unpark.rb +2 -4
  16. data/lib/freeclimb/version.rb +1 -1
  17. data/lib/freeclimb.rb +1 -0
  18. data/openapi.json +93 -38
  19. data/spec/api/default_api_spec.rb +39 -117
  20. data/spec/models/account_request_spec.rb +113 -2
  21. data/spec/models/account_result_spec.rb +591 -28
  22. data/spec/models/account_status_spec.rb +1 -0
  23. data/spec/models/account_type_spec.rb +1 -0
  24. data/spec/models/add_to_conference_notification_webhook_spec.rb +654 -5
  25. data/spec/models/add_to_conference_spec.rb +471 -2
  26. data/spec/models/add_to_queue_notification_webhook_spec.rb +465 -2
  27. data/spec/models/answered_by_spec.rb +1 -0
  28. data/spec/models/application_list_spec.rb +323 -2
  29. data/spec/models/application_request_spec.rb +393 -2
  30. data/spec/models/application_result_spec.rb +723 -14
  31. data/spec/models/available_number_list_spec.rb +323 -2
  32. data/spec/models/available_number_spec.rb +380 -21
  33. data/spec/models/barge_in_reason_spec.rb +1 -0
  34. data/spec/models/buy_incoming_number_request_spec.rb +169 -2
  35. data/spec/models/call_control_webhook_spec.rb +281 -2
  36. data/spec/models/call_direction_spec.rb +1 -0
  37. data/spec/models/call_ended_reason_spec.rb +1 -0
  38. data/spec/models/call_list_spec.rb +323 -2
  39. data/spec/models/call_result_spec.rb +1020 -9
  40. data/spec/models/call_status_spec.rb +1 -0
  41. data/spec/models/call_status_webhook_spec.rb +501 -2
  42. data/spec/models/capabilities_spec.rb +191 -2
  43. data/spec/models/completion_request_spec.rb +54 -2
  44. data/spec/models/completion_result_spec.rb +93 -2
  45. data/spec/models/completion_result_status_spec.rb +1 -0
  46. data/spec/models/conference_list_spec.rb +323 -2
  47. data/spec/models/conference_participant_list_spec.rb +323 -2
  48. data/spec/models/conference_participant_result_spec.rb +532 -7
  49. data/spec/models/conference_recording_status_webhook_spec.rb +654 -5
  50. data/spec/models/conference_result_spec.rb +768 -55
  51. data/spec/models/conference_status_spec.rb +1 -0
  52. data/spec/models/conference_status_webhook_spec.rb +654 -5
  53. data/spec/models/create_conference_request_spec.rb +243 -2
  54. data/spec/models/create_conference_spec.rb +281 -2
  55. data/spec/models/create_conference_webhook_spec.rb +654 -5
  56. data/spec/models/create_web_rtc_token_spec.rb +151 -2
  57. data/spec/models/dequeue_spec.rb +1 -0
  58. data/spec/models/dequeue_webhook_spec.rb +565 -8
  59. data/spec/models/enqueue_spec.rb +225 -2
  60. data/spec/models/filter_logs_request_spec.rb +57 -2
  61. data/spec/models/get_digits_reason_spec.rb +1 -0
  62. data/spec/models/get_digits_spec.rb +379 -2
  63. data/spec/models/get_digits_webhook_spec.rb +623 -12
  64. data/spec/models/get_speech_reason_spec.rb +1 -0
  65. data/spec/models/get_speech_spec.rb +556 -11
  66. data/spec/models/get_speech_webhook_spec.rb +870 -15
  67. data/spec/models/grammar_file_built_in_spec.rb +1 -0
  68. data/spec/models/grammar_type_spec.rb +1 -0
  69. data/spec/models/hangup_spec.rb +57 -2
  70. data/spec/models/if_machine_spec.rb +1 -0
  71. data/spec/models/inbound_call_webhook_spec.rb +521 -2
  72. data/spec/models/incoming_number_list_spec.rb +323 -2
  73. data/spec/models/incoming_number_request_spec.rb +169 -2
  74. data/spec/models/incoming_number_result_spec.rb +930 -43
  75. data/spec/models/language_spec.rb +1 -0
  76. data/spec/models/leave_conference_webhook_spec.rb +465 -2
  77. data/spec/models/log_level_spec.rb +1 -0
  78. data/spec/models/log_list_spec.rb +323 -2
  79. data/spec/models/log_result_spec.rb +368 -9
  80. data/spec/models/machine_detected_webhook_spec.rb +565 -10
  81. data/spec/models/machine_type_spec.rb +1 -0
  82. data/spec/models/make_call_request_spec.rb +529 -6
  83. data/spec/models/message_delivery_webhook_spec.rb +565 -6
  84. data/spec/models/message_direction_spec.rb +1 -0
  85. data/spec/models/message_request_spec.rb +469 -2
  86. data/spec/models/message_result_spec.rb +1364 -225
  87. data/spec/models/message_status_spec.rb +1 -0
  88. data/spec/models/message_status_webhook_spec.rb +615 -20
  89. data/spec/models/messages_list_spec.rb +323 -2
  90. data/spec/models/mutable_resource_model_spec.rb +207 -2
  91. data/spec/models/out_dial_api_connect_webhook_spec.rb +521 -2
  92. data/spec/models/out_dial_connect_webhook_spec.rb +521 -2
  93. data/spec/models/out_dial_spec.rb +505 -2
  94. data/spec/models/out_dial_start_webhook_spec.rb +599 -24
  95. data/spec/models/pagination_model_spec.rb +285 -2
  96. data/spec/models/park_spec.rb +169 -2
  97. data/spec/models/pause_spec.rb +39 -2
  98. data/spec/models/percl_command_spec.rb +54 -2
  99. data/spec/models/percl_script_spec.rb +39 -2
  100. data/spec/models/play_beep_spec.rb +1 -0
  101. data/spec/models/play_early_media_spec.rb +57 -2
  102. data/spec/models/play_spec.rb +133 -2
  103. data/spec/models/queue_list_spec.rb +323 -2
  104. data/spec/models/queue_member_list_spec.rb +323 -2
  105. data/spec/models/queue_member_spec.rb +245 -2
  106. data/spec/models/queue_request_spec.rb +95 -2
  107. data/spec/models/queue_result_spec.rb +564 -15
  108. data/spec/models/queue_result_status_spec.rb +1 -0
  109. data/spec/models/queue_wait_webhook_spec.rb +616 -21
  110. data/spec/models/record_utterance_spec.rb +303 -2
  111. data/spec/models/record_utterance_term_reason_spec.rb +1 -0
  112. data/spec/models/record_webhook_spec.rb +868 -13
  113. data/spec/models/recording_list_spec.rb +323 -2
  114. data/spec/models/recording_result_spec.rb +469 -2
  115. data/spec/models/redirect_spec.rb +57 -2
  116. data/spec/models/redirect_webhook_spec.rb +521 -2
  117. data/spec/models/reject_spec.rb +57 -2
  118. data/spec/models/remove_from_conference_spec.rb +1 -0
  119. data/spec/models/remove_from_queue_notification_webhook_spec.rb +546 -9
  120. data/spec/models/request_type_spec.rb +1 -0
  121. data/spec/models/say_spec.rb +189 -2
  122. data/spec/models/send_digits_spec.rb +133 -2
  123. data/spec/models/set_dtmf_pass_through_spec.rb +39 -2
  124. data/spec/models/set_listen_spec.rb +39 -2
  125. data/spec/models/set_talk_spec.rb +39 -2
  126. data/spec/models/sms_spec.rb +225 -2
  127. data/spec/models/sms_ten_dlc_brand_alt_business_id_type_spec.rb +1 -0
  128. data/spec/models/sms_ten_dlc_brand_entity_type_spec.rb +1 -0
  129. data/spec/models/sms_ten_dlc_brand_identity_status_spec.rb +1 -0
  130. data/spec/models/sms_ten_dlc_brand_relationship_spec.rb +1 -0
  131. data/spec/models/sms_ten_dlc_brand_spec.rb +1969 -423
  132. data/spec/models/sms_ten_dlc_brand_stock_exchange_spec.rb +1 -0
  133. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +323 -2
  134. data/spec/models/sms_ten_dlc_campaign_spec.rb +2224 -550
  135. data/spec/models/sms_ten_dlc_campaign_status_spec.rb +1 -0
  136. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +323 -2
  137. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +597 -17
  138. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +1537 -155
  139. data/spec/models/sms_ten_dlc_partner_campaign_status_spec.rb +1 -0
  140. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +323 -2
  141. data/spec/models/sms_toll_free_campaign_registration_status_spec.rb +1 -0
  142. data/spec/models/sms_toll_free_campaign_spec.rb +355 -2
  143. data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +323 -2
  144. data/spec/models/start_record_call_spec.rb +1 -0
  145. data/spec/models/terminate_conference_spec.rb +1 -0
  146. data/spec/models/tfn_campaign_spec.rb +1089 -0
  147. data/spec/models/tfn_spec.rb +57 -2
  148. data/spec/models/transcribe_reason_spec.rb +1 -0
  149. data/spec/models/transcribe_term_reason_spec.rb +1 -0
  150. data/spec/models/transcribe_utterance_record_spec.rb +115 -2
  151. data/spec/models/transcribe_utterance_spec.rb +288 -21
  152. data/spec/models/transcribe_webhook_spec.rb +1049 -4
  153. data/spec/models/unpark_spec.rb +1 -0
  154. data/spec/models/update_call_request_spec.rb +37 -2
  155. data/spec/models/update_call_request_status_spec.rb +1 -0
  156. data/spec/models/update_conference_participant_request_spec.rb +115 -2
  157. data/spec/models/update_conference_request_spec.rb +129 -2
  158. data/spec/models/update_conference_request_status_spec.rb +1 -0
  159. data/spec/models/webhook_spec.rb +54 -2
  160. metadata +129 -125
@@ -13,6 +13,7 @@ OpenAPI Generator version: 7.9.0
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
+ include Freeclimb
16
17
 
17
18
  # Unit tests for Freeclimb::GetSpeechWebhook
18
19
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
@@ -34,41 +35,56 @@ describe Freeclimb::GetSpeechWebhook do
34
35
 
35
36
  describe 'test attribute "request_type"' do
36
37
  it 'should work' do
38
+
37
39
  instance.request_type = "TEST_STRING"
38
40
  expect(instance.request_type).to eq("TEST_STRING")
39
41
 
42
+
43
+
40
44
  end
41
45
  end
42
46
 
43
47
  describe 'test attribute "call_id"' do
44
48
  it 'should work' do
49
+
45
50
  instance.call_id = "TEST_STRING"
46
51
  expect(instance.call_id).to eq("TEST_STRING")
47
52
 
53
+
54
+
48
55
  end
49
56
  end
50
57
 
51
58
  describe 'test attribute "account_id"' do
52
59
  it 'should work' do
60
+
53
61
  instance.account_id = "TEST_STRING"
54
62
  expect(instance.account_id).to eq("TEST_STRING")
55
63
 
64
+
65
+
56
66
  end
57
67
  end
58
68
 
59
69
  describe 'test attribute "from"' do
60
70
  it 'should work' do
71
+
61
72
  instance.from = "TEST_STRING"
62
73
  expect(instance.from).to eq("TEST_STRING")
63
74
 
75
+
76
+
64
77
  end
65
78
  end
66
79
 
67
80
  describe 'test attribute "to"' do
68
81
  it 'should work' do
82
+
69
83
  instance.to = "TEST_STRING"
70
84
  expect(instance.to).to eq("TEST_STRING")
71
85
 
86
+
87
+
72
88
  end
73
89
  end
74
90
 
@@ -124,17 +140,23 @@ describe Freeclimb::GetSpeechWebhook do
124
140
  end
125
141
  describe 'test attribute "conference_id"' do
126
142
  it 'should work' do
143
+
127
144
  instance.conference_id = "TEST_STRING"
128
145
  expect(instance.conference_id).to eq("TEST_STRING")
129
146
 
147
+
148
+
130
149
  end
131
150
  end
132
151
 
133
152
  describe 'test attribute "queue_id"' do
134
153
  it 'should work' do
154
+
135
155
  instance.queue_id = "TEST_STRING"
136
156
  expect(instance.queue_id).to eq("TEST_STRING")
137
157
 
158
+
159
+
138
160
  end
139
161
  end
140
162
 
@@ -167,9 +189,12 @@ describe Freeclimb::GetSpeechWebhook do
167
189
  end
168
190
  describe 'test attribute "recognition_result"' do
169
191
  it 'should work' do
192
+
170
193
  instance.recognition_result = "TEST_STRING"
171
194
  expect(instance.recognition_result).to eq("TEST_STRING")
172
195
 
196
+
197
+
173
198
  end
174
199
  end
175
200
 
@@ -180,30 +205,41 @@ describe Freeclimb::GetSpeechWebhook do
180
205
  instance.confidence = 1
181
206
  expect(instance.confidence).to eq(1)
182
207
 
208
+
209
+
183
210
  end
184
211
  end
185
212
 
186
213
  describe 'test attribute "parent_call_id"' do
187
214
  it 'should work' do
215
+
188
216
  instance.parent_call_id = "TEST_STRING"
189
217
  expect(instance.parent_call_id).to eq("TEST_STRING")
190
218
 
219
+
220
+
191
221
  end
192
222
  end
193
223
 
194
224
  describe 'test attribute "completion_reason"' do
195
225
  it 'should work' do
226
+
196
227
  instance.completion_reason = "TEST_STRING"
197
228
  expect(instance.completion_reason).to eq("TEST_STRING")
198
229
 
230
+
231
+
199
232
  end
200
233
  end
201
234
 
202
235
  describe 'test attribute "completion_cause"' do
203
236
  it 'should work' do
237
+
204
238
  instance.completion_cause = "TEST_STRING"
205
239
  expect(instance.completion_cause).to eq("TEST_STRING")
206
240
 
241
+
242
+
207
243
  end
208
244
  end
209
245
 
@@ -214,140 +250,283 @@ describe Freeclimb::GetSpeechWebhook do
214
250
  instance.mrcp_code = 1
215
251
  expect(instance.mrcp_code).to eq(1)
216
252
 
253
+
254
+
217
255
  end
218
256
  end
219
257
 
220
258
  describe 'test attribute "mrcp_diagnostic"' do
221
259
  it 'should work' do
260
+
222
261
  instance.mrcp_diagnostic = "TEST_STRING"
223
262
  expect(instance.mrcp_diagnostic).to eq("TEST_STRING")
224
263
 
264
+
265
+
225
266
  end
226
267
  end
227
268
 
228
269
  describe 'test method "initialize"' do
229
270
  it 'properly initializes with values' do
230
271
  expect { instance = Freeclimb::GetSpeechWebhook.new(
272
+
231
273
  request_type: "TS",
232
274
 
275
+
276
+
277
+
233
278
  call_id: "TS",
234
279
 
280
+
281
+
282
+
235
283
  account_id: "TS",
236
284
 
285
+
286
+
287
+
237
288
  from: "TS",
238
289
 
290
+
291
+
292
+
239
293
  to: "TS",
240
294
 
241
295
 
296
+
297
+
242
298
  call_status: Freeclimb::CallStatus::QUEUED,
243
299
 
244
300
 
301
+
302
+
245
303
  direction: Freeclimb::CallDirection::INBOUND,
246
304
 
305
+
306
+
307
+
247
308
  conference_id: "TS",
248
309
 
310
+
311
+
312
+
249
313
  queue_id: "TS",
250
314
 
251
315
 
316
+
317
+
252
318
  reason: Freeclimb::GetSpeechReason::ERROR,
253
319
 
320
+
321
+
322
+
254
323
  recognition_result: "TS",
255
324
 
325
+
326
+
256
327
  confidence: 1,
257
328
 
329
+
330
+
331
+
258
332
  parent_call_id: "TS",
259
333
 
334
+
335
+
336
+
260
337
  completion_reason: "TS",
261
338
 
339
+
340
+
341
+
262
342
  completion_cause: "TS",
263
343
 
344
+
345
+
264
346
  mrcp_code: 1,
265
347
 
348
+
349
+
350
+
266
351
  mrcp_diagnostic: "TS",
267
352
 
353
+
354
+
268
355
  )}.not_to raise_error()
269
356
  end
270
357
  it 'fails to initialize with input argument that is not a hash in Freeclimb::GetSpeechWebhook' do
271
358
  expect { instance = Freeclimb::GetSpeechWebhook.new(
359
+
272
360
  request_type: "TS",
273
361
 
362
+
363
+
364
+
274
365
  call_id: "TS",
275
366
 
367
+
368
+
369
+
276
370
  account_id: "TS",
277
371
 
372
+
373
+
374
+
278
375
  from: "TS",
279
376
 
377
+
378
+
379
+
280
380
  to: "TS",
281
381
 
282
382
 
383
+
384
+
283
385
  call_status: Freeclimb::CallStatus::QUEUED,
284
386
 
285
387
 
388
+
389
+
286
390
  direction: Freeclimb::CallDirection::INBOUND,
287
391
 
392
+
393
+
394
+
288
395
  conference_id: "TS",
289
396
 
397
+
398
+
399
+
290
400
  queue_id: "TS",
291
401
 
292
402
 
403
+
404
+
293
405
  reason: Freeclimb::GetSpeechReason::ERROR,
294
406
 
407
+
408
+
409
+
295
410
  recognition_result: "TS",
296
411
 
412
+
413
+
297
414
  confidence: 1,
298
415
 
416
+
417
+
418
+
299
419
  parent_call_id: "TS",
300
420
 
421
+
422
+
423
+
301
424
  completion_reason: "TS",
302
425
 
426
+
427
+
428
+
303
429
  completion_cause: "TS",
304
430
 
431
+
432
+
305
433
  mrcp_code: 1,
306
434
 
435
+
436
+
437
+
307
438
  mrcp_diagnostic: "TS",
308
439
 
440
+
441
+
309
442
  invalid_attribute: true
310
443
  )}.to raise_error(ArgumentError)
311
444
  end
312
445
  it 'fails to initialize with invalid attribute' do
313
446
  expect { instance = Freeclimb::GetSpeechWebhook.new(
447
+
314
448
  request_type: "TS",
315
449
 
450
+
451
+
452
+
316
453
  call_id: "TS",
317
454
 
455
+
456
+
457
+
318
458
  account_id: "TS",
319
459
 
460
+
461
+
462
+
320
463
  from: "TS",
321
464
 
465
+
466
+
467
+
322
468
  to: "TS",
323
469
 
324
470
 
471
+
472
+
325
473
  call_status: Freeclimb::CallStatus::QUEUED,
326
474
 
327
475
 
476
+
477
+
328
478
  direction: Freeclimb::CallDirection::INBOUND,
329
479
 
480
+
481
+
482
+
330
483
  conference_id: "TS",
331
484
 
485
+
486
+
487
+
332
488
  queue_id: "TS",
333
489
 
334
490
 
491
+
492
+
335
493
  reason: Freeclimb::GetSpeechReason::ERROR,
336
494
 
495
+
496
+
497
+
337
498
  recognition_result: "TS",
338
499
 
500
+
501
+
339
502
  confidence: 1,
340
503
 
504
+
505
+
506
+
341
507
  parent_call_id: "TS",
342
508
 
509
+
510
+
511
+
343
512
  completion_reason: "TS",
344
513
 
514
+
515
+
516
+
345
517
  completion_cause: "TS",
346
518
 
519
+
520
+
347
521
  mrcp_code: 1,
348
522
 
523
+
524
+
525
+
349
526
  mrcp_diagnostic: "TS",
350
527
 
528
+
529
+
351
530
  invalid_attribute: true
352
531
  )}.to raise_error(ArgumentError)
353
532
  end
@@ -356,43 +535,89 @@ describe Freeclimb::GetSpeechWebhook do
356
535
  describe 'test method "valid"' do
357
536
  it 'checks if properties are valid' do
358
537
  instance = Freeclimb::GetSpeechWebhook.new(
538
+
359
539
  request_type: "TS",
360
540
 
541
+
542
+
543
+
361
544
  call_id: "TS",
362
545
 
546
+
547
+
548
+
363
549
  account_id: "TS",
364
550
 
551
+
552
+
553
+
365
554
  from: "TS",
366
555
 
556
+
557
+
558
+
367
559
  to: "TS",
368
560
 
369
561
 
562
+
563
+
370
564
  call_status: Freeclimb::CallStatus::QUEUED,
371
565
 
372
566
 
567
+
568
+
373
569
  direction: Freeclimb::CallDirection::INBOUND,
374
570
 
571
+
572
+
573
+
375
574
  conference_id: "TS",
376
575
 
576
+
577
+
578
+
377
579
  queue_id: "TS",
378
580
 
379
581
 
582
+
583
+
380
584
  reason: Freeclimb::GetSpeechReason::ERROR,
381
585
 
586
+
587
+
588
+
382
589
  recognition_result: "TS",
383
590
 
591
+
592
+
384
593
  confidence: 1,
385
594
 
595
+
596
+
597
+
386
598
  parent_call_id: "TS",
387
599
 
600
+
601
+
602
+
388
603
  completion_reason: "TS",
389
604
 
605
+
606
+
607
+
390
608
  completion_cause: "TS",
391
609
 
610
+
611
+
392
612
  mrcp_code: 1,
393
613
 
614
+
615
+
616
+
394
617
  mrcp_diagnostic: "TS",
395
618
 
619
+
620
+
396
621
  )
397
622
  expect(instance.valid?).to eq(true)
398
623
  end
@@ -409,166 +634,366 @@ describe Freeclimb::GetSpeechWebhook do
409
634
 
410
635
  describe 'test method "eql?"' do
411
636
  it 'checks if objects are equal' do
412
- obj = Object.new()
637
+
638
+
639
+
640
+
641
+
642
+
643
+
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+
413
654
  instance_1 = Freeclimb::GetSpeechWebhook.new(
655
+
414
656
  request_type: "TS",
415
657
 
416
- call_id: "TS",
417
658
 
418
- account_id: "TS",
419
659
 
420
- from: "TS",
421
660
 
422
- to: "TS",
661
+ call_id: "TS",
423
662
 
424
663
 
425
- call_status: Freeclimb::CallStatus::QUEUED,
426
664
 
427
665
 
428
- direction: Freeclimb::CallDirection::INBOUND,
666
+ account_id: "TS",
429
667
 
430
- conference_id: "TS",
431
668
 
432
- queue_id: "TS",
433
669
 
434
670
 
435
- reason: Freeclimb::GetSpeechReason::ERROR,
671
+ from: "TS",
672
+
673
+
674
+
675
+
676
+ to: "TS",
677
+
678
+
679
+
680
+
681
+
682
+
683
+ call_status: Freeclimb::CallStatus::QUEUED,
684
+
685
+
686
+
687
+
688
+ direction: Freeclimb::CallDirection::INBOUND,
689
+
690
+
691
+ conference_id: "TS",
692
+
693
+
694
+
695
+
696
+ queue_id: "TS",
697
+
698
+
699
+
700
+
701
+
702
+
703
+ reason: Freeclimb::GetSpeechReason::ERROR,
704
+
705
+
706
+ recognition_result: "TS",
707
+
708
+
709
+
710
+ confidence: 1,
711
+
436
712
 
437
- recognition_result: "TS",
438
713
 
439
- confidence: 1,
440
714
 
441
715
  parent_call_id: "TS",
442
716
 
717
+
718
+
719
+
443
720
  completion_reason: "TS",
444
721
 
722
+
723
+
724
+
445
725
  completion_cause: "TS",
446
726
 
727
+
728
+
447
729
  mrcp_code: 1,
448
730
 
731
+
732
+
733
+
449
734
  mrcp_diagnostic: "TS",
450
735
 
736
+
737
+
451
738
  )
452
739
  instance_2 = Freeclimb::GetSpeechWebhook.new(
740
+
453
741
  request_type: "TS",
454
742
 
743
+
744
+
745
+
455
746
  call_id: "TS",
456
747
 
748
+
749
+
750
+
457
751
  account_id: "TS",
458
752
 
753
+
754
+
755
+
459
756
  from: "TS",
460
757
 
758
+
759
+
760
+
461
761
  to: "TS",
462
762
 
463
763
 
764
+
765
+
766
+
767
+
464
768
  call_status: Freeclimb::CallStatus::QUEUED,
465
769
 
466
770
 
771
+
772
+
467
773
  direction: Freeclimb::CallDirection::INBOUND,
468
774
 
775
+
469
776
  conference_id: "TS",
470
777
 
778
+
779
+
780
+
471
781
  queue_id: "TS",
472
782
 
473
783
 
784
+
785
+
786
+
787
+
474
788
  reason: Freeclimb::GetSpeechReason::ERROR,
475
789
 
790
+
476
791
  recognition_result: "TS",
477
792
 
793
+
794
+
795
+
796
+
478
797
  confidence: 1,
479
798
 
799
+
480
800
  parent_call_id: "TS",
481
801
 
802
+
803
+
804
+
482
805
  completion_reason: "TS",
483
806
 
807
+
808
+
809
+
484
810
  completion_cause: "TS",
485
811
 
812
+
813
+
814
+
815
+
486
816
  mrcp_code: 1,
487
817
 
818
+
488
819
  mrcp_diagnostic: "TS",
489
820
 
821
+
822
+
490
823
  )
491
824
  expect(instance_1.eql?(instance_2)).to eq(true)
492
825
  end
493
826
 
494
827
  it 'checks if objects are not equal' do
495
828
  instance_1 = Freeclimb::GetSpeechWebhook.new(
829
+
496
830
  request_type: "TS",
497
831
 
832
+
833
+
834
+
498
835
  call_id: "TS",
499
836
 
837
+
838
+
839
+
500
840
  account_id: "TS",
501
841
 
842
+
843
+
844
+
502
845
  from: "TS",
503
846
 
847
+
848
+
849
+
504
850
  to: "TS",
505
851
 
506
852
 
853
+
854
+
855
+
856
+
507
857
  call_status: Freeclimb::CallStatus::QUEUED,
508
858
 
509
859
 
860
+
861
+
510
862
  direction: Freeclimb::CallDirection::INBOUND,
511
863
 
864
+
512
865
  conference_id: "TS",
513
866
 
867
+
868
+
869
+
514
870
  queue_id: "TS",
515
871
 
516
872
 
873
+
874
+
875
+
876
+
517
877
  reason: Freeclimb::GetSpeechReason::ERROR,
518
878
 
879
+
519
880
  recognition_result: "TS",
520
881
 
882
+
883
+
521
884
  confidence: 2,
522
885
 
886
+
887
+
888
+
523
889
  parent_call_id: "TS",
524
890
 
891
+
892
+
893
+
525
894
  completion_reason: "TS",
526
895
 
896
+
897
+
898
+
527
899
  completion_cause: "TS",
528
900
 
901
+
902
+
529
903
  mrcp_code: 2,
530
904
 
905
+
906
+
907
+
531
908
  mrcp_diagnostic: "TS",
532
909
 
910
+
911
+
533
912
  )
534
913
  instance_2 = Freeclimb::GetSpeechWebhook.new(
914
+
535
915
  request_type: "ST",
536
916
 
917
+
918
+
919
+
537
920
  call_id: "ST",
538
921
 
922
+
923
+
924
+
539
925
  account_id: "ST",
540
926
 
927
+
928
+
929
+
541
930
  from: "ST",
542
931
 
932
+
933
+
934
+
543
935
  to: "ST",
544
936
 
545
937
 
938
+
939
+
940
+
941
+
546
942
  call_status: nil,
547
943
 
548
944
 
945
+
946
+
549
947
  direction: nil,
550
948
 
949
+
551
950
  conference_id: "ST",
552
951
 
952
+
953
+
954
+
553
955
  queue_id: "ST",
554
956
 
555
957
 
958
+
959
+
960
+
961
+
556
962
  reason: nil,
557
963
 
964
+
558
965
  recognition_result: "ST",
559
966
 
967
+
968
+
560
969
  confidence: 1,
561
970
 
971
+
972
+
973
+
562
974
  parent_call_id: "ST",
563
975
 
976
+
977
+
978
+
564
979
  completion_reason: "ST",
565
980
 
981
+
982
+
983
+
566
984
  completion_cause: "ST",
567
985
 
986
+
987
+
568
988
  mrcp_code: 1,
569
989
 
990
+
991
+
992
+
570
993
  mrcp_diagnostic: "ST",
571
994
 
995
+
996
+
572
997
  )
573
998
  expect(instance_1.eql?(instance_2)).to eq(false)
574
999
  end
@@ -577,43 +1002,89 @@ describe Freeclimb::GetSpeechWebhook do
577
1002
  describe 'test method "hash"' do
578
1003
  it 'calculates hash code' do
579
1004
  instance = Freeclimb::GetSpeechWebhook.new(
1005
+
580
1006
  request_type: "TS",
581
1007
 
1008
+
1009
+
1010
+
582
1011
  call_id: "TS",
583
1012
 
1013
+
1014
+
1015
+
584
1016
  account_id: "TS",
585
1017
 
1018
+
1019
+
1020
+
586
1021
  from: "TS",
587
1022
 
1023
+
1024
+
1025
+
588
1026
  to: "TS",
589
1027
 
590
1028
 
1029
+
1030
+
591
1031
  call_status: Freeclimb::CallStatus::QUEUED,
592
1032
 
593
1033
 
1034
+
1035
+
594
1036
  direction: Freeclimb::CallDirection::INBOUND,
595
1037
 
1038
+
1039
+
1040
+
596
1041
  conference_id: "TS",
597
1042
 
1043
+
1044
+
1045
+
598
1046
  queue_id: "TS",
599
1047
 
600
1048
 
1049
+
1050
+
601
1051
  reason: Freeclimb::GetSpeechReason::ERROR,
602
1052
 
1053
+
1054
+
1055
+
603
1056
  recognition_result: "TS",
604
1057
 
1058
+
1059
+
605
1060
  confidence: 1,
606
1061
 
1062
+
1063
+
1064
+
607
1065
  parent_call_id: "TS",
608
1066
 
1067
+
1068
+
1069
+
609
1070
  completion_reason: "TS",
610
1071
 
1072
+
1073
+
1074
+
611
1075
  completion_cause: "TS",
612
1076
 
1077
+
1078
+
613
1079
  mrcp_code: 1,
614
1080
 
1081
+
1082
+
1083
+
615
1084
  mrcp_diagnostic: "TS",
616
1085
 
1086
+
1087
+
617
1088
  )
618
1089
  expect(instance.hash).to be_a_kind_of(Integer)
619
1090
  end
@@ -622,82 +1093,174 @@ describe Freeclimb::GetSpeechWebhook do
622
1093
  describe 'test method "build_from_hash"' do
623
1094
  it 'builds equivalent model from hash code' do
624
1095
  instance_1 = Freeclimb::GetSpeechWebhook.new(
1096
+
625
1097
  request_type: "TS",
626
1098
 
1099
+
1100
+
1101
+
627
1102
  call_id: "TS",
628
1103
 
1104
+
1105
+
1106
+
629
1107
  account_id: "TS",
630
1108
 
1109
+
1110
+
1111
+
631
1112
  from: "TS",
632
1113
 
1114
+
1115
+
1116
+
633
1117
  to: "TS",
634
1118
 
635
1119
 
1120
+
1121
+
636
1122
  call_status: Freeclimb::CallStatus::QUEUED,
637
1123
 
638
1124
 
1125
+
1126
+
639
1127
  direction: Freeclimb::CallDirection::INBOUND,
640
1128
 
1129
+
1130
+
1131
+
641
1132
  conference_id: "TS",
642
1133
 
1134
+
1135
+
1136
+
643
1137
  queue_id: "TS",
644
1138
 
645
1139
 
1140
+
1141
+
646
1142
  reason: Freeclimb::GetSpeechReason::ERROR,
647
1143
 
1144
+
1145
+
1146
+
648
1147
  recognition_result: "TS",
649
1148
 
1149
+
1150
+
650
1151
  confidence: 1,
651
1152
 
1153
+
1154
+
1155
+
652
1156
  parent_call_id: "TS",
653
1157
 
1158
+
1159
+
1160
+
654
1161
  completion_reason: "TS",
655
1162
 
1163
+
1164
+
1165
+
656
1166
  completion_cause: "TS",
657
1167
 
1168
+
1169
+
658
1170
  mrcp_code: 1,
659
1171
 
1172
+
1173
+
1174
+
660
1175
  mrcp_diagnostic: "TS",
661
1176
 
1177
+
1178
+
662
1179
  )
663
1180
  instance_2 = Freeclimb::GetSpeechWebhook.new(
1181
+
664
1182
  request_type: "TS",
665
1183
 
1184
+
1185
+
1186
+
666
1187
  call_id: "TS",
667
1188
 
1189
+
1190
+
1191
+
668
1192
  account_id: "TS",
669
1193
 
1194
+
1195
+
1196
+
670
1197
  from: "TS",
671
1198
 
1199
+
1200
+
1201
+
672
1202
  to: "TS",
673
1203
 
674
1204
 
1205
+
1206
+
675
1207
  call_status: Freeclimb::CallStatus::QUEUED,
676
1208
 
677
1209
 
1210
+
1211
+
678
1212
  direction: Freeclimb::CallDirection::INBOUND,
679
1213
 
1214
+
1215
+
1216
+
680
1217
  conference_id: "TS",
681
1218
 
1219
+
1220
+
1221
+
682
1222
  queue_id: "TS",
683
1223
 
684
1224
 
1225
+
1226
+
685
1227
  reason: Freeclimb::GetSpeechReason::ERROR,
686
1228
 
1229
+
1230
+
1231
+
687
1232
  recognition_result: "TS",
688
1233
 
1234
+
1235
+
689
1236
  confidence: 1,
690
1237
 
1238
+
1239
+
1240
+
691
1241
  parent_call_id: "TS",
692
1242
 
1243
+
1244
+
1245
+
693
1246
  completion_reason: "TS",
694
1247
 
1248
+
1249
+
1250
+
695
1251
  completion_cause: "TS",
696
1252
 
1253
+
1254
+
697
1255
  mrcp_code: 1,
698
1256
 
1257
+
1258
+
1259
+
699
1260
  mrcp_diagnostic: "TS",
700
1261
 
1262
+
1263
+
701
1264
  )
702
1265
 
703
1266
  expect(instance_2.build_from_hash(instance_1.hash)).to eq(instance_1.build_from_hash(instance_1.hash))
@@ -706,128 +1269,254 @@ describe Freeclimb::GetSpeechWebhook do
706
1269
 
707
1270
  describe 'test method "_deserialize"' do
708
1271
  instance = Freeclimb::GetSpeechWebhook.new(
1272
+
709
1273
  request_type: "TS",
710
1274
 
1275
+
1276
+
1277
+
711
1278
  call_id: "TS",
712
1279
 
1280
+
1281
+
1282
+
713
1283
  account_id: "TS",
714
1284
 
1285
+
1286
+
1287
+
715
1288
  from: "TS",
716
1289
 
1290
+
1291
+
1292
+
717
1293
  to: "TS",
718
1294
 
719
1295
 
1296
+
1297
+
720
1298
  call_status: Freeclimb::CallStatus::QUEUED,
721
1299
 
722
1300
 
1301
+
1302
+
723
1303
  direction: Freeclimb::CallDirection::INBOUND,
724
1304
 
1305
+
1306
+
1307
+
725
1308
  conference_id: "TS",
726
1309
 
1310
+
1311
+
1312
+
727
1313
  queue_id: "TS",
728
1314
 
729
1315
 
1316
+
1317
+
730
1318
  reason: Freeclimb::GetSpeechReason::ERROR,
731
1319
 
1320
+
1321
+
1322
+
732
1323
  recognition_result: "TS",
733
1324
 
1325
+
1326
+
734
1327
  confidence: 1,
735
1328
 
736
- parent_call_id: "TS",
737
1329
 
738
- completion_reason: "TS",
1330
+
1331
+
1332
+ parent_call_id: "TS",
1333
+
1334
+
1335
+
1336
+
1337
+ completion_reason: "TS",
1338
+
1339
+
1340
+
739
1341
 
740
1342
  completion_cause: "TS",
741
1343
 
1344
+
1345
+
742
1346
  mrcp_code: 1,
743
1347
 
1348
+
1349
+
1350
+
744
1351
  mrcp_diagnostic: "TS",
745
1352
 
1353
+
1354
+
746
1355
  )
747
1356
  it 'deserializes the data of request_type' do
748
1357
  expect(instance._deserialize("String", instance.request_type)).to be_a_kind_of(String)
749
1358
  end
1359
+
1360
+
750
1361
  it 'deserializes the data of call_id' do
751
1362
  expect(instance._deserialize("String", instance.call_id)).to be_a_kind_of(String)
752
1363
  end
1364
+
1365
+
753
1366
  it 'deserializes the data of account_id' do
754
1367
  expect(instance._deserialize("String", instance.account_id)).to be_a_kind_of(String)
755
1368
  end
1369
+
1370
+
756
1371
  it 'deserializes the data of from' do
757
1372
  expect(instance._deserialize("String", instance.from)).to be_a_kind_of(String)
758
1373
  end
1374
+
1375
+
759
1376
  it 'deserializes the data of to' do
760
1377
  expect(instance._deserialize("String", instance.to)).to be_a_kind_of(String)
761
1378
  end
1379
+
1380
+
1381
+
1382
+
1383
+
1384
+
762
1385
  it 'deserializes the data of conference_id' do
763
1386
  expect(instance._deserialize("String", instance.conference_id)).to be_a_kind_of(String)
764
1387
  end
1388
+
1389
+
765
1390
  it 'deserializes the data of queue_id' do
766
1391
  expect(instance._deserialize("String", instance.queue_id)).to be_a_kind_of(String)
767
1392
  end
1393
+
1394
+
1395
+
1396
+
768
1397
  it 'deserializes the data of recognition_result' do
769
1398
  expect(instance._deserialize("String", instance.recognition_result)).to be_a_kind_of(String)
770
1399
  end
1400
+
1401
+
771
1402
  it 'deserializes the data of confidence' do
772
1403
  expect(instance._deserialize("Integer", instance.confidence)).to be_a_kind_of(Integer)
773
1404
  end
1405
+
1406
+
774
1407
  it 'deserializes the data of parent_call_id' do
775
1408
  expect(instance._deserialize("String", instance.parent_call_id)).to be_a_kind_of(String)
776
1409
  end
1410
+
1411
+
777
1412
  it 'deserializes the data of completion_reason' do
778
1413
  expect(instance._deserialize("String", instance.completion_reason)).to be_a_kind_of(String)
779
1414
  end
1415
+
1416
+
780
1417
  it 'deserializes the data of completion_cause' do
781
1418
  expect(instance._deserialize("String", instance.completion_cause)).to be_a_kind_of(String)
782
1419
  end
1420
+
1421
+
783
1422
  it 'deserializes the data of mrcp_code' do
784
1423
  expect(instance._deserialize("Integer", instance.mrcp_code)).to be_a_kind_of(Integer)
785
1424
  end
1425
+
1426
+
786
1427
  it 'deserializes the data of mrcp_diagnostic' do
787
1428
  expect(instance._deserialize("String", instance.mrcp_diagnostic)).to be_a_kind_of(String)
788
1429
  end
1430
+
1431
+
789
1432
  end
790
1433
 
791
1434
  describe 'test method "to_s"' do
792
1435
  it 'returns the string representation of the object' do
793
1436
  instance = Freeclimb::GetSpeechWebhook.new(
1437
+
794
1438
  request_type: "TS",
795
1439
 
1440
+
1441
+
1442
+
796
1443
  call_id: "TS",
797
1444
 
1445
+
1446
+
1447
+
798
1448
  account_id: "TS",
799
1449
 
1450
+
1451
+
1452
+
800
1453
  from: "TS",
801
1454
 
1455
+
1456
+
1457
+
802
1458
  to: "TS",
803
1459
 
804
1460
 
1461
+
1462
+
805
1463
  call_status: Freeclimb::CallStatus::QUEUED,
806
1464
 
807
1465
 
1466
+
1467
+
808
1468
  direction: Freeclimb::CallDirection::INBOUND,
809
1469
 
1470
+
1471
+
1472
+
810
1473
  conference_id: "TS",
811
1474
 
1475
+
1476
+
1477
+
812
1478
  queue_id: "TS",
813
1479
 
814
1480
 
1481
+
1482
+
815
1483
  reason: Freeclimb::GetSpeechReason::ERROR,
816
1484
 
1485
+
1486
+
1487
+
817
1488
  recognition_result: "TS",
818
1489
 
1490
+
1491
+
819
1492
  confidence: 1,
820
1493
 
1494
+
1495
+
1496
+
821
1497
  parent_call_id: "TS",
822
1498
 
1499
+
1500
+
1501
+
823
1502
  completion_reason: "TS",
824
1503
 
1504
+
1505
+
1506
+
825
1507
  completion_cause: "TS",
826
1508
 
1509
+
1510
+
827
1511
  mrcp_code: 1,
828
1512
 
1513
+
1514
+
1515
+
829
1516
  mrcp_diagnostic: "TS",
830
1517
 
1518
+
1519
+
831
1520
  )
832
1521
  expect(instance.to_s).to eq(instance.to_hash.to_s)
833
1522
  end
@@ -836,125 +1525,279 @@ describe Freeclimb::GetSpeechWebhook do
836
1525
  describe 'test method "to_hash"' do
837
1526
  it 'returns the object in the form of hash' do
838
1527
  instance = Freeclimb::GetSpeechWebhook.new(
1528
+
839
1529
  request_type: "TS",
840
1530
 
1531
+
1532
+
1533
+
841
1534
  call_id: "TS",
842
1535
 
1536
+
1537
+
1538
+
843
1539
  account_id: "TS",
844
1540
 
1541
+
1542
+
1543
+
845
1544
  from: "TS",
846
1545
 
1546
+
1547
+
1548
+
847
1549
  to: "TS",
848
1550
 
849
1551
 
1552
+
1553
+
850
1554
  call_status: Freeclimb::CallStatus::QUEUED,
851
1555
 
852
1556
 
1557
+
1558
+
853
1559
  direction: Freeclimb::CallDirection::INBOUND,
854
1560
 
1561
+
1562
+
1563
+
855
1564
  conference_id: "TS",
856
1565
 
1566
+
1567
+
1568
+
857
1569
  queue_id: "TS",
858
1570
 
859
1571
 
1572
+
1573
+
860
1574
  reason: Freeclimb::GetSpeechReason::ERROR,
861
1575
 
1576
+
1577
+
1578
+
862
1579
  recognition_result: "TS",
863
1580
 
1581
+
1582
+
864
1583
  confidence: 1,
865
1584
 
1585
+
1586
+
1587
+
866
1588
  parent_call_id: "TS",
867
1589
 
1590
+
1591
+
1592
+
868
1593
  completion_reason: "TS",
869
1594
 
1595
+
1596
+
1597
+
870
1598
  completion_cause: "TS",
871
1599
 
1600
+
1601
+
872
1602
  mrcp_code: 1,
873
1603
 
1604
+
1605
+
1606
+
874
1607
  mrcp_diagnostic: "TS",
875
1608
 
1609
+
1610
+
876
1611
  )
877
1612
  expect(instance.to_hash).to be_a_kind_of(Hash)
878
1613
  end
879
1614
  it 'creates equal hash for two equal objects' do
880
- obj = Object.new()
1615
+
1616
+
1617
+
1618
+
1619
+
1620
+
1621
+
1622
+
1623
+
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+
1631
+
881
1632
  instance_1 = Freeclimb::GetSpeechWebhook.new(
1633
+
882
1634
  request_type: "TS",
883
1635
 
1636
+
1637
+
1638
+
884
1639
  call_id: "TS",
885
1640
 
1641
+
1642
+
1643
+
886
1644
  account_id: "TS",
887
1645
 
1646
+
1647
+
1648
+
888
1649
  from: "TS",
889
1650
 
1651
+
1652
+
1653
+
890
1654
  to: "TS",
891
1655
 
892
1656
 
1657
+
1658
+
893
1659
  call_status: Freeclimb::CallStatus::QUEUED,
894
1660
 
895
1661
 
1662
+
1663
+
896
1664
  direction: Freeclimb::CallDirection::INBOUND,
897
1665
 
1666
+
1667
+
1668
+
898
1669
  conference_id: "TS",
899
1670
 
1671
+
1672
+
1673
+
900
1674
  queue_id: "TS",
901
1675
 
902
1676
 
1677
+
1678
+
903
1679
  reason: Freeclimb::GetSpeechReason::ERROR,
904
1680
 
1681
+
1682
+
1683
+
905
1684
  recognition_result: "TS",
906
1685
 
1686
+
1687
+
907
1688
  confidence: 1,
908
1689
 
1690
+
1691
+
1692
+
909
1693
  parent_call_id: "TS",
910
1694
 
1695
+
1696
+
1697
+
911
1698
  completion_reason: "TS",
912
1699
 
1700
+
1701
+
1702
+
913
1703
  completion_cause: "TS",
914
1704
 
1705
+
1706
+
915
1707
  mrcp_code: 1,
916
1708
 
1709
+
1710
+
1711
+
917
1712
  mrcp_diagnostic: "TS",
918
1713
 
1714
+
1715
+
919
1716
  )
920
1717
  instance_2 = Freeclimb::GetSpeechWebhook.new(
1718
+
921
1719
  request_type: "TS",
922
1720
 
1721
+
1722
+
1723
+
923
1724
  call_id: "TS",
924
1725
 
1726
+
1727
+
1728
+
925
1729
  account_id: "TS",
926
1730
 
1731
+
1732
+
1733
+
927
1734
  from: "TS",
928
1735
 
1736
+
1737
+
1738
+
929
1739
  to: "TS",
930
1740
 
931
1741
 
1742
+
1743
+
932
1744
  call_status: Freeclimb::CallStatus::QUEUED,
933
1745
 
934
1746
 
1747
+
1748
+
935
1749
  direction: Freeclimb::CallDirection::INBOUND,
936
1750
 
1751
+
1752
+
1753
+
937
1754
  conference_id: "TS",
938
1755
 
1756
+
1757
+
1758
+
939
1759
  queue_id: "TS",
940
1760
 
941
1761
 
1762
+
1763
+
942
1764
  reason: Freeclimb::GetSpeechReason::ERROR,
943
1765
 
1766
+
1767
+
1768
+
944
1769
  recognition_result: "TS",
945
1770
 
1771
+
1772
+
946
1773
  confidence: 1,
947
1774
 
1775
+
1776
+
1777
+
948
1778
  parent_call_id: "TS",
949
1779
 
1780
+
1781
+
1782
+
950
1783
  completion_reason: "TS",
951
1784
 
1785
+
1786
+
1787
+
952
1788
  completion_cause: "TS",
953
1789
 
1790
+
1791
+
954
1792
  mrcp_code: 1,
955
1793
 
1794
+
1795
+
1796
+
956
1797
  mrcp_diagnostic: "TS",
957
1798
 
1799
+
1800
+
958
1801
  )
959
1802
  expect(instance_1.to_hash).to eq(instance_2.to_hash)
960
1803
  end
@@ -962,18 +1805,23 @@ describe Freeclimb::GetSpeechWebhook do
962
1805
 
963
1806
  describe 'test method "_to_hash"' do
964
1807
  instance = Freeclimb::GetSpeechWebhook.new(
1808
+
965
1809
  request_type: "TS",
966
1810
 
967
1811
 
1812
+
968
1813
  call_id: "TS",
969
1814
 
970
1815
 
1816
+
971
1817
  account_id: "TS",
972
1818
 
973
1819
 
1820
+
974
1821
  from: "TS",
975
1822
 
976
1823
 
1824
+
977
1825
  to: "TS",
978
1826
 
979
1827
 
@@ -985,9 +1833,11 @@ describe Freeclimb::GetSpeechWebhook do
985
1833
  direction: Freeclimb::CallDirection::INBOUND,
986
1834
 
987
1835
 
1836
+
988
1837
  conference_id: "TS",
989
1838
 
990
1839
 
1840
+
991
1841
  queue_id: "TS",
992
1842
 
993
1843
 
@@ -995,24 +1845,29 @@ describe Freeclimb::GetSpeechWebhook do
995
1845
  reason: Freeclimb::GetSpeechReason::ERROR,
996
1846
 
997
1847
 
1848
+
998
1849
  recognition_result: "TS",
999
1850
 
1000
1851
 
1001
1852
  confidence: 1,
1002
1853
 
1003
1854
 
1855
+
1004
1856
  parent_call_id: "TS",
1005
1857
 
1006
1858
 
1859
+
1007
1860
  completion_reason: "TS",
1008
1861
 
1009
1862
 
1863
+
1010
1864
  completion_cause: "TS",
1011
1865
 
1012
1866
 
1013
1867
  mrcp_code: 1,
1014
1868
 
1015
1869
 
1870
+
1016
1871
  mrcp_diagnostic: "TS",
1017
1872
 
1018
1873
  )