telnyx 5.128.0 → 5.130.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 (75) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/client.rb +5 -5
  5. data/lib/telnyx/models/call_dial_params.rb +70 -3
  6. data/lib/telnyx/models/calls/action_answer_params.rb +70 -3
  7. data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +2 -1
  8. data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +37 -2
  9. data/lib/telnyx/models/calls/action_speak_params.rb +37 -2
  10. data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +2 -1
  11. data/lib/telnyx/models/calls/action_start_conversation_relay_params.rb +104 -4
  12. data/lib/telnyx/models/calls/action_start_noise_suppression_params.rb +6 -0
  13. data/lib/telnyx/models/conferences/action_speak_params.rb +37 -2
  14. data/lib/telnyx/models/enterprises/reputation/{remediation_create_params.rb → remediation_submit_params.rb} +3 -3
  15. data/lib/telnyx/models/enterprises/reputation/{remediation_create_response.rb → remediation_submit_response.rb} +15 -15
  16. data/lib/telnyx/models/{terms_of_service_retrieve_info_params.rb → terms_of_service_info_params.rb} +5 -5
  17. data/lib/telnyx/models/{terms_of_service_retrieve_info_response.rb → terms_of_service_info_response.rb} +9 -10
  18. data/lib/telnyx/models.rb +1 -1
  19. data/lib/telnyx/resources/enterprises/dir.rb +0 -12
  20. data/lib/telnyx/resources/enterprises/reputation/remediation.rb +41 -41
  21. data/lib/telnyx/resources/enterprises.rb +0 -4
  22. data/lib/telnyx/resources/terms_of_service.rb +7 -7
  23. data/lib/telnyx/version.rb +1 -1
  24. data/lib/telnyx.rb +4 -8
  25. data/rbi/telnyx/client.rbi +4 -4
  26. data/rbi/telnyx/models/call_dial_params.rbi +174 -6
  27. data/rbi/telnyx/models/calls/action_answer_params.rbi +174 -6
  28. data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +4 -2
  29. data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +91 -4
  30. data/rbi/telnyx/models/calls/action_speak_params.rbi +91 -4
  31. data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +4 -2
  32. data/rbi/telnyx/models/calls/action_start_conversation_relay_params.rbi +259 -8
  33. data/rbi/telnyx/models/calls/action_start_noise_suppression_params.rbi +30 -0
  34. data/rbi/telnyx/models/conferences/action_speak_params.rbi +91 -4
  35. data/rbi/telnyx/models/enterprises/reputation/{remediation_create_params.rbi → remediation_submit_params.rbi} +2 -2
  36. data/rbi/telnyx/models/enterprises/reputation/{remediation_create_response.rbi → remediation_submit_response.rbi} +22 -22
  37. data/rbi/telnyx/models/{terms_of_service_retrieve_info_params.rbi → terms_of_service_info_params.rbi} +10 -17
  38. data/rbi/telnyx/models/{terms_of_service_retrieve_info_response.rbi → terms_of_service_info_response.rbi} +15 -19
  39. data/rbi/telnyx/models.rbi +1 -2
  40. data/rbi/telnyx/resources/calls/actions.rbi +12 -5
  41. data/rbi/telnyx/resources/conferences/actions.rbi +3 -1
  42. data/rbi/telnyx/resources/enterprises/dir.rbi +0 -9
  43. data/rbi/telnyx/resources/enterprises/reputation/remediation.rbi +36 -36
  44. data/rbi/telnyx/resources/enterprises.rbi +0 -3
  45. data/rbi/telnyx/resources/terms_of_service.rbi +3 -4
  46. data/sig/telnyx/client.rbs +2 -2
  47. data/sig/telnyx/models/call_dial_params.rbs +62 -6
  48. data/sig/telnyx/models/calls/action_answer_params.rbs +62 -6
  49. data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +31 -3
  50. data/sig/telnyx/models/calls/action_speak_params.rbs +31 -3
  51. data/sig/telnyx/models/calls/action_start_conversation_relay_params.rbs +93 -9
  52. data/sig/telnyx/models/calls/action_start_noise_suppression_params.rbs +16 -1
  53. data/sig/telnyx/models/conferences/action_speak_params.rbs +31 -3
  54. data/sig/telnyx/models/enterprises/reputation/{remediation_create_params.rbs → remediation_submit_params.rbs} +2 -2
  55. data/sig/telnyx/models/enterprises/reputation/{remediation_create_response.rbs → remediation_submit_response.rbs} +15 -15
  56. data/sig/telnyx/models/{terms_of_service_retrieve_info_params.rbs → terms_of_service_info_params.rbs} +9 -11
  57. data/sig/telnyx/models/{terms_of_service_retrieve_info_response.rbs → terms_of_service_info_response.rbs} +15 -15
  58. data/sig/telnyx/models.rbs +1 -1
  59. data/sig/telnyx/resources/enterprises/dir.rbs +0 -6
  60. data/sig/telnyx/resources/enterprises/reputation/remediation.rbs +9 -9
  61. data/sig/telnyx/resources/enterprises.rbs +0 -2
  62. data/sig/telnyx/resources/terms_of_service.rbs +3 -3
  63. metadata +14 -26
  64. data/lib/telnyx/resources/enterprises/dir/comments.rb +0 -18
  65. data/lib/telnyx/resources/enterprises/dir/phone_number_batches.rb +0 -18
  66. data/lib/telnyx/resources/enterprises/dir/phone_numbers.rb +0 -18
  67. data/lib/telnyx/resources/enterprises/usage.rb +0 -16
  68. data/rbi/telnyx/resources/enterprises/dir/comments.rbi +0 -16
  69. data/rbi/telnyx/resources/enterprises/dir/phone_number_batches.rbi +0 -16
  70. data/rbi/telnyx/resources/enterprises/dir/phone_numbers.rbi +0 -16
  71. data/rbi/telnyx/resources/enterprises/usage.rbi +0 -14
  72. data/sig/telnyx/resources/enterprises/dir/comments.rbs +0 -11
  73. data/sig/telnyx/resources/enterprises/dir/phone_number_batches.rbs +0 -11
  74. data/sig/telnyx/resources/enterprises/dir/phone_numbers.rbs +0 -11
  75. data/sig/telnyx/resources/enterprises/usage.rbs +0 -9
@@ -223,14 +223,42 @@ module Telnyx
223
223
  module VoiceSettings
224
224
  extend Telnyx::Internal::Type::Union
225
225
 
226
- type inworld = { type: :inworld }
226
+ type inworld =
227
+ {
228
+ type: :inworld,
229
+ delivery_mode: Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode
230
+ }
227
231
 
228
232
  class Inworld < Telnyx::Internal::Type::BaseModel
229
233
  attr_accessor type: :inworld
230
234
 
231
- def initialize: (?type: :inworld) -> void
235
+ attr_reader delivery_mode: Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode?
232
236
 
233
- def to_hash: -> { type: :inworld }
237
+ def delivery_mode=: (
238
+ Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode
239
+ ) -> Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode
240
+
241
+ def initialize: (
242
+ ?delivery_mode: Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode,
243
+ ?type: :inworld
244
+ ) -> void
245
+
246
+ def to_hash: -> {
247
+ type: :inworld,
248
+ delivery_mode: Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode
249
+ }
250
+
251
+ type delivery_mode = :STABLE | :BALANCED | :CREATIVE
252
+
253
+ module DeliveryMode
254
+ extend Telnyx::Internal::Type::Enum
255
+
256
+ STABLE: :STABLE
257
+ BALANCED: :BALANCED
258
+ CREATIVE: :CREATIVE
259
+
260
+ def self?.values: -> ::Array[Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode]
261
+ end
234
262
  end
235
263
 
236
264
  type xai = { type: :xai, language: String }
@@ -406,14 +406,42 @@ module Telnyx
406
406
  module VoiceSettings
407
407
  extend Telnyx::Internal::Type::Union
408
408
 
409
- type inworld = { type: :inworld }
409
+ type inworld =
410
+ {
411
+ type: :inworld,
412
+ delivery_mode: Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld::delivery_mode
413
+ }
410
414
 
411
415
  class Inworld < Telnyx::Internal::Type::BaseModel
412
416
  attr_accessor type: :inworld
413
417
 
414
- def initialize: (?type: :inworld) -> void
418
+ attr_reader delivery_mode: Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld::delivery_mode?
415
419
 
416
- def to_hash: -> { type: :inworld }
420
+ def delivery_mode=: (
421
+ Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld::delivery_mode
422
+ ) -> Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld::delivery_mode
423
+
424
+ def initialize: (
425
+ ?delivery_mode: Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld::delivery_mode,
426
+ ?type: :inworld
427
+ ) -> void
428
+
429
+ def to_hash: -> {
430
+ type: :inworld,
431
+ delivery_mode: Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld::delivery_mode
432
+ }
433
+
434
+ type delivery_mode = :STABLE | :BALANCED | :CREATIVE
435
+
436
+ module DeliveryMode
437
+ extend Telnyx::Internal::Type::Enum
438
+
439
+ STABLE: :STABLE
440
+ BALANCED: :BALANCED
441
+ CREATIVE: :CREATIVE
442
+
443
+ def self?.values: -> ::Array[Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld::delivery_mode]
444
+ end
417
445
  end
418
446
 
419
447
  type xai = { type: :xai, language: String }
@@ -660,14 +688,42 @@ module Telnyx
660
688
  module VoiceSettings
661
689
  extend Telnyx::Internal::Type::Union
662
690
 
663
- type inworld = { type: :inworld }
691
+ type inworld =
692
+ {
693
+ type: :inworld,
694
+ delivery_mode: Telnyx::Models::Calls::ActionStartConversationRelayParams::Language::VoiceSettings::Inworld::delivery_mode
695
+ }
664
696
 
665
697
  class Inworld < Telnyx::Internal::Type::BaseModel
666
698
  attr_accessor type: :inworld
667
699
 
668
- def initialize: (?type: :inworld) -> void
700
+ attr_reader delivery_mode: Telnyx::Models::Calls::ActionStartConversationRelayParams::Language::VoiceSettings::Inworld::delivery_mode?
701
+
702
+ def delivery_mode=: (
703
+ Telnyx::Models::Calls::ActionStartConversationRelayParams::Language::VoiceSettings::Inworld::delivery_mode
704
+ ) -> Telnyx::Models::Calls::ActionStartConversationRelayParams::Language::VoiceSettings::Inworld::delivery_mode
669
705
 
670
- def to_hash: -> { type: :inworld }
706
+ def initialize: (
707
+ ?delivery_mode: Telnyx::Models::Calls::ActionStartConversationRelayParams::Language::VoiceSettings::Inworld::delivery_mode,
708
+ ?type: :inworld
709
+ ) -> void
710
+
711
+ def to_hash: -> {
712
+ type: :inworld,
713
+ delivery_mode: Telnyx::Models::Calls::ActionStartConversationRelayParams::Language::VoiceSettings::Inworld::delivery_mode
714
+ }
715
+
716
+ type delivery_mode = :STABLE | :BALANCED | :CREATIVE
717
+
718
+ module DeliveryMode
719
+ extend Telnyx::Internal::Type::Enum
720
+
721
+ STABLE: :STABLE
722
+ BALANCED: :BALANCED
723
+ CREATIVE: :CREATIVE
724
+
725
+ def self?.values: -> ::Array[Telnyx::Models::Calls::ActionStartConversationRelayParams::Language::VoiceSettings::Inworld::delivery_mode]
726
+ end
671
727
  end
672
728
 
673
729
  type xai = { type: :xai, language: String }
@@ -731,14 +787,42 @@ module Telnyx
731
787
  module VoiceSettings
732
788
  extend Telnyx::Internal::Type::Union
733
789
 
734
- type inworld = { type: :inworld }
790
+ type inworld =
791
+ {
792
+ type: :inworld,
793
+ delivery_mode: Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld::delivery_mode
794
+ }
735
795
 
736
796
  class Inworld < Telnyx::Internal::Type::BaseModel
737
797
  attr_accessor type: :inworld
738
798
 
739
- def initialize: (?type: :inworld) -> void
799
+ attr_reader delivery_mode: Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld::delivery_mode?
800
+
801
+ def delivery_mode=: (
802
+ Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld::delivery_mode
803
+ ) -> Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld::delivery_mode
740
804
 
741
- def to_hash: -> { type: :inworld }
805
+ def initialize: (
806
+ ?delivery_mode: Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld::delivery_mode,
807
+ ?type: :inworld
808
+ ) -> void
809
+
810
+ def to_hash: -> {
811
+ type: :inworld,
812
+ delivery_mode: Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld::delivery_mode
813
+ }
814
+
815
+ type delivery_mode = :STABLE | :BALANCED | :CREATIVE
816
+
817
+ module DeliveryMode
818
+ extend Telnyx::Internal::Type::Enum
819
+
820
+ STABLE: :STABLE
821
+ BALANCED: :BALANCED
822
+ CREATIVE: :CREATIVE
823
+
824
+ def self?.values: -> ::Array[Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld::delivery_mode]
825
+ end
742
826
  end
743
827
 
744
828
  type xai = { type: :xai, language: String }
@@ -77,7 +77,16 @@ module Telnyx
77
77
  end
78
78
 
79
79
  type noise_suppression_engine =
80
- :Denoiser | :DeepFilterNet | :Krisp | :AiCoustics
80
+ :Denoiser
81
+ | :DeepFilterNet
82
+ | :Krisp
83
+ | :AiCoustics
84
+ | :aic_l_quail
85
+ | :aic_l_rook
86
+ | :aic_s_quail
87
+ | :aic_s_rook
88
+ | :quail_voice_focus_s
89
+ | :quail_voice_focus_xs
81
90
 
82
91
  module NoiseSuppressionEngine
83
92
  extend Telnyx::Internal::Type::Enum
@@ -86,6 +95,12 @@ module Telnyx
86
95
  DEEP_FILTER_NET: :DeepFilterNet
87
96
  KRISP: :Krisp
88
97
  AI_COUSTICS: :AiCoustics
98
+ AIC_L_QUAIL: :aic_l_quail
99
+ AIC_L_ROOK: :aic_l_rook
100
+ AIC_S_QUAIL: :aic_s_quail
101
+ AIC_S_ROOK: :aic_s_rook
102
+ QUAIL_VOICE_FOCUS_S: :quail_voice_focus_s
103
+ QUAIL_VOICE_FOCUS_XS: :quail_voice_focus_xs
89
104
 
90
105
  def self?.values: -> ::Array[Telnyx::Models::Calls::ActionStartNoiseSuppressionParams::noise_suppression_engine]
91
106
  end
@@ -188,14 +188,42 @@ module Telnyx
188
188
  module VoiceSettings
189
189
  extend Telnyx::Internal::Type::Union
190
190
 
191
- type inworld = { type: :inworld }
191
+ type inworld =
192
+ {
193
+ type: :inworld,
194
+ delivery_mode: Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode
195
+ }
192
196
 
193
197
  class Inworld < Telnyx::Internal::Type::BaseModel
194
198
  attr_accessor type: :inworld
195
199
 
196
- def initialize: (?type: :inworld) -> void
200
+ attr_reader delivery_mode: Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode?
197
201
 
198
- def to_hash: -> { type: :inworld }
202
+ def delivery_mode=: (
203
+ Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode
204
+ ) -> Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode
205
+
206
+ def initialize: (
207
+ ?delivery_mode: Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode,
208
+ ?type: :inworld
209
+ ) -> void
210
+
211
+ def to_hash: -> {
212
+ type: :inworld,
213
+ delivery_mode: Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode
214
+ }
215
+
216
+ type delivery_mode = :STABLE | :BALANCED | :CREATIVE
217
+
218
+ module DeliveryMode
219
+ extend Telnyx::Internal::Type::Enum
220
+
221
+ STABLE: :STABLE
222
+ BALANCED: :BALANCED
223
+ CREATIVE: :CREATIVE
224
+
225
+ def self?.values: -> ::Array[Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld::delivery_mode]
226
+ end
199
227
  end
200
228
 
201
229
  type xai = { type: :xai, language: String }
@@ -2,7 +2,7 @@ module Telnyx
2
2
  module Models
3
3
  module Enterprises
4
4
  module Reputation
5
- type remediation_create_params =
5
+ type remediation_submit_params =
6
6
  {
7
7
  enterprise_id: String,
8
8
  call_purpose: String,
@@ -12,7 +12,7 @@ module Telnyx
12
12
  }
13
13
  & Telnyx::Internal::Type::request_parameters
14
14
 
15
- class RemediationCreateParams < Telnyx::Internal::Type::BaseModel
15
+ class RemediationSubmitParams < Telnyx::Internal::Type::BaseModel
16
16
  extend Telnyx::Internal::Type::RequestParameters::Converter
17
17
  include Telnyx::Internal::Type::RequestParameters
18
18
 
@@ -2,20 +2,20 @@ module Telnyx
2
2
  module Models
3
3
  module Enterprises
4
4
  module Reputation
5
- type remediation_create_response =
5
+ type remediation_submit_response =
6
6
  {
7
- data: Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data
7
+ data: Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data
8
8
  }
9
9
 
10
- class RemediationCreateResponse < Telnyx::Internal::Type::BaseModel
11
- attr_accessor data: Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data
10
+ class RemediationSubmitResponse < Telnyx::Internal::Type::BaseModel
11
+ attr_accessor data: Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data
12
12
 
13
13
  def initialize: (
14
- data: Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data
14
+ data: Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data
15
15
  ) -> void
16
16
 
17
17
  def to_hash: -> {
18
- data: Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data
18
+ data: Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data
19
19
  }
20
20
 
21
21
  type data =
@@ -26,10 +26,10 @@ module Telnyx
26
26
  phone_numbers_count: Integer,
27
27
  phone_numbers_ineligible: Integer,
28
28
  phone_numbers_submitted: Integer,
29
- status: Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data::status,
29
+ status: Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data::status,
30
30
  updated_at: Time,
31
31
  contact_email: String?,
32
- results: Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data::Results?,
32
+ results: Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data::Results?,
33
33
  :tier1_completed_at => Time?,
34
34
  :tier2_completed_at => Time?,
35
35
  webhook_url: String?
@@ -48,13 +48,13 @@ module Telnyx
48
48
 
49
49
  attr_accessor phone_numbers_submitted: Integer
50
50
 
51
- attr_accessor status: Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data::status
51
+ attr_accessor status: Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data::status
52
52
 
53
53
  attr_accessor updated_at: Time
54
54
 
55
55
  attr_accessor contact_email: String?
56
56
 
57
- attr_accessor results: Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data::Results?
57
+ attr_accessor results: Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data::Results?
58
58
 
59
59
  attr_accessor tier1_completed_at: Time?
60
60
 
@@ -69,10 +69,10 @@ module Telnyx
69
69
  phone_numbers_count: Integer,
70
70
  phone_numbers_ineligible: Integer,
71
71
  phone_numbers_submitted: Integer,
72
- status: Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data::status,
72
+ status: Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data::status,
73
73
  updated_at: Time,
74
74
  ?contact_email: String?,
75
- ?results: Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data::Results?,
75
+ ?results: Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data::Results?,
76
76
  ?tier1_completed_at: Time?,
77
77
  ?tier2_completed_at: Time?,
78
78
  ?webhook_url: String?
@@ -85,10 +85,10 @@ module Telnyx
85
85
  phone_numbers_count: Integer,
86
86
  phone_numbers_ineligible: Integer,
87
87
  phone_numbers_submitted: Integer,
88
- status: Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data::status,
88
+ status: Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data::status,
89
89
  updated_at: Time,
90
90
  contact_email: String?,
91
- results: Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data::Results?,
91
+ results: Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data::Results?,
92
92
  :tier1_completed_at => Time?,
93
93
  :tier2_completed_at => Time?,
94
94
  webhook_url: String?
@@ -106,7 +106,7 @@ module Telnyx
106
106
  FAILED: :failed
107
107
  CANCELLED: :cancelled
108
108
 
109
- def self?.values: -> ::Array[Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse::Data::status]
109
+ def self?.values: -> ::Array[Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse::Data::status]
110
110
  end
111
111
 
112
112
  type results =
@@ -1,28 +1,26 @@
1
1
  module Telnyx
2
2
  module Models
3
- type terms_of_service_retrieve_info_params =
4
- {
5
- product_type: Telnyx::Models::TermsOfServiceRetrieveInfoParams::product_type
6
- }
3
+ type terms_of_service_info_params =
4
+ { product_type: Telnyx::Models::TermsOfServiceInfoParams::product_type }
7
5
  & Telnyx::Internal::Type::request_parameters
8
6
 
9
- class TermsOfServiceRetrieveInfoParams < Telnyx::Internal::Type::BaseModel
7
+ class TermsOfServiceInfoParams < Telnyx::Internal::Type::BaseModel
10
8
  extend Telnyx::Internal::Type::RequestParameters::Converter
11
9
  include Telnyx::Internal::Type::RequestParameters
12
10
 
13
- attr_reader product_type: Telnyx::Models::TermsOfServiceRetrieveInfoParams::product_type?
11
+ attr_reader product_type: Telnyx::Models::TermsOfServiceInfoParams::product_type?
14
12
 
15
13
  def product_type=: (
16
- Telnyx::Models::TermsOfServiceRetrieveInfoParams::product_type
17
- ) -> Telnyx::Models::TermsOfServiceRetrieveInfoParams::product_type
14
+ Telnyx::Models::TermsOfServiceInfoParams::product_type
15
+ ) -> Telnyx::Models::TermsOfServiceInfoParams::product_type
18
16
 
19
17
  def initialize: (
20
- ?product_type: Telnyx::Models::TermsOfServiceRetrieveInfoParams::product_type,
18
+ ?product_type: Telnyx::Models::TermsOfServiceInfoParams::product_type,
21
19
  ?request_options: Telnyx::request_opts
22
20
  ) -> void
23
21
 
24
22
  def to_hash: -> {
25
- product_type: Telnyx::Models::TermsOfServiceRetrieveInfoParams::product_type,
23
+ product_type: Telnyx::Models::TermsOfServiceInfoParams::product_type,
26
24
  request_options: Telnyx::RequestOptions
27
25
  }
28
26
 
@@ -34,7 +32,7 @@ module Telnyx
34
32
  BRANDED_CALLING: :branded_calling
35
33
  NUMBER_REPUTATION: :number_reputation
36
34
 
37
- def self?.values: -> ::Array[Telnyx::Models::TermsOfServiceRetrieveInfoParams::product_type]
35
+ def self?.values: -> ::Array[Telnyx::Models::TermsOfServiceInfoParams::product_type]
38
36
  end
39
37
  end
40
38
  end
@@ -1,23 +1,23 @@
1
1
  module Telnyx
2
2
  module Models
3
- type terms_of_service_retrieve_info_response =
3
+ type terms_of_service_info_response =
4
4
  {
5
- agreements: ::Array[Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement]
5
+ agreements: ::Array[Telnyx::Models::TermsOfServiceInfoResponse::Agreement]
6
6
  }
7
7
 
8
- class TermsOfServiceRetrieveInfoResponse < Telnyx::Internal::Type::BaseModel
9
- attr_reader agreements: ::Array[Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement]?
8
+ class TermsOfServiceInfoResponse < Telnyx::Internal::Type::BaseModel
9
+ attr_reader agreements: ::Array[Telnyx::Models::TermsOfServiceInfoResponse::Agreement]?
10
10
 
11
11
  def agreements=: (
12
- ::Array[Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement]
13
- ) -> ::Array[Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement]
12
+ ::Array[Telnyx::Models::TermsOfServiceInfoResponse::Agreement]
13
+ ) -> ::Array[Telnyx::Models::TermsOfServiceInfoResponse::Agreement]
14
14
 
15
15
  def initialize: (
16
- ?agreements: ::Array[Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement]
16
+ ?agreements: ::Array[Telnyx::Models::TermsOfServiceInfoResponse::Agreement]
17
17
  ) -> void
18
18
 
19
19
  def to_hash: -> {
20
- agreements: ::Array[Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement]
20
+ agreements: ::Array[Telnyx::Models::TermsOfServiceInfoResponse::Agreement]
21
21
  }
22
22
 
23
23
  type agreement =
@@ -25,7 +25,7 @@ module Telnyx
25
25
  current_version: String,
26
26
  description: String,
27
27
  effective_date: Date,
28
- product_type: Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement::product_type,
28
+ product_type: Telnyx::Models::TermsOfServiceInfoResponse::Agreement::product_type,
29
29
  terms_url: String
30
30
  }
31
31
 
@@ -42,11 +42,11 @@ module Telnyx
42
42
 
43
43
  def effective_date=: (Date) -> Date
44
44
 
45
- attr_reader product_type: Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement::product_type?
45
+ attr_reader product_type: Telnyx::Models::TermsOfServiceInfoResponse::Agreement::product_type?
46
46
 
47
47
  def product_type=: (
48
- Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement::product_type
49
- ) -> Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement::product_type
48
+ Telnyx::Models::TermsOfServiceInfoResponse::Agreement::product_type
49
+ ) -> Telnyx::Models::TermsOfServiceInfoResponse::Agreement::product_type
50
50
 
51
51
  attr_reader terms_url: String?
52
52
 
@@ -56,7 +56,7 @@ module Telnyx
56
56
  ?current_version: String,
57
57
  ?description: String,
58
58
  ?effective_date: Date,
59
- ?product_type: Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement::product_type,
59
+ ?product_type: Telnyx::Models::TermsOfServiceInfoResponse::Agreement::product_type,
60
60
  ?terms_url: String
61
61
  ) -> void
62
62
 
@@ -64,7 +64,7 @@ module Telnyx
64
64
  current_version: String,
65
65
  description: String,
66
66
  effective_date: Date,
67
- product_type: Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement::product_type,
67
+ product_type: Telnyx::Models::TermsOfServiceInfoResponse::Agreement::product_type,
68
68
  terms_url: String
69
69
  }
70
70
 
@@ -76,7 +76,7 @@ module Telnyx
76
76
  BRANDED_CALLING: :branded_calling
77
77
  NUMBER_REPUTATION: :number_reputation
78
78
 
79
- def self?.values: -> ::Array[Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement::product_type]
79
+ def self?.values: -> ::Array[Telnyx::Models::TermsOfServiceInfoResponse::Agreement::product_type]
80
80
  end
81
81
  end
82
82
  end
@@ -1555,7 +1555,7 @@ module Telnyx
1555
1555
 
1556
1556
  module TermsOfService = Telnyx::Models::TermsOfService
1557
1557
 
1558
- class TermsOfServiceRetrieveInfoParams = Telnyx::Models::TermsOfServiceRetrieveInfoParams
1558
+ class TermsOfServiceInfoParams = Telnyx::Models::TermsOfServiceInfoParams
1559
1559
 
1560
1560
  class TermsOfServiceStatusParams = Telnyx::Models::TermsOfServiceStatusParams
1561
1561
 
@@ -2,12 +2,6 @@ module Telnyx
2
2
  module Resources
3
3
  class Enterprises
4
4
  class Dir
5
- attr_reader comments: Telnyx::Resources::Enterprises::Dir::Comments
6
-
7
- attr_reader phone_number_batches: Telnyx::Resources::Enterprises::Dir::PhoneNumberBatches
8
-
9
- attr_reader phone_numbers: Telnyx::Resources::Enterprises::Dir::PhoneNumbers
10
-
11
5
  def create: (
12
6
  String enterprise_id,
13
7
  authorizer_email: String,
@@ -3,15 +3,6 @@ module Telnyx
3
3
  class Enterprises
4
4
  class Reputation
5
5
  class Remediation
6
- def create: (
7
- String enterprise_id,
8
- call_purpose: String,
9
- phone_numbers: ::Array[String],
10
- ?contact_email: String,
11
- ?webhook_url: String,
12
- ?request_options: Telnyx::request_opts
13
- ) -> Telnyx::Models::Enterprises::Reputation::RemediationCreateResponse
14
-
15
6
  def retrieve: (
16
7
  String remediation_id,
17
8
  enterprise_id: String,
@@ -28,6 +19,15 @@ module Telnyx
28
19
  ?request_options: Telnyx::request_opts
29
20
  ) -> Telnyx::Internal::DefaultFlatPagination[Telnyx::Models::Enterprises::Reputation::RemediationListResponse]
30
21
 
22
+ def submit: (
23
+ String enterprise_id,
24
+ call_purpose: String,
25
+ phone_numbers: ::Array[String],
26
+ ?contact_email: String,
27
+ ?webhook_url: String,
28
+ ?request_options: Telnyx::request_opts
29
+ ) -> Telnyx::Models::Enterprises::Reputation::RemediationSubmitResponse
30
+
31
31
  def initialize: (client: Telnyx::Client) -> void
32
32
  end
33
33
  end
@@ -5,8 +5,6 @@ module Telnyx
5
5
 
6
6
  attr_reader dir: Telnyx::Resources::Enterprises::Dir
7
7
 
8
- attr_reader usage: Telnyx::Resources::Enterprises::Usage
9
-
10
8
  def create: (
11
9
  billing_address: Telnyx::BillingAddress,
12
10
  billing_contact: Telnyx::BillingContact,
@@ -7,10 +7,10 @@ module Telnyx
7
7
 
8
8
  attr_reader branded_calling: Telnyx::Resources::TermsOfService::BrandedCalling
9
9
 
10
- def retrieve_info: (
11
- ?product_type: Telnyx::Models::TermsOfServiceRetrieveInfoParams::product_type,
10
+ def info: (
11
+ ?product_type: Telnyx::Models::TermsOfServiceInfoParams::product_type,
12
12
  ?request_options: Telnyx::request_opts
13
- ) -> Telnyx::Models::TermsOfServiceRetrieveInfoResponse
13
+ ) -> Telnyx::Models::TermsOfServiceInfoResponse
14
14
 
15
15
  def status: (
16
16
  ?product_type: Telnyx::Models::TermsOfServiceStatusParams::product_type,