telnyx 5.147.0 → 5.148.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 (25) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/models/calls/transcription_engine_parakeet_config.rb +64 -0
  5. data/lib/telnyx/models/calls/transcription_start_request.rb +1 -0
  6. data/lib/telnyx/models/messaging_10dlc_get_enum_response.rb +3 -3
  7. data/lib/telnyx/models/sip_registration_status_retrieve_params.rb +24 -13
  8. data/lib/telnyx/models/sip_registration_status_retrieve_response.rb +52 -6
  9. data/lib/telnyx/resources/messaging_10dlc.rb +1 -1
  10. data/lib/telnyx/resources/sip_registration_status.rb +5 -3
  11. data/lib/telnyx/version.rb +1 -1
  12. data/rbi/telnyx/models/calls/transcription_engine_parakeet_config.rbi +155 -0
  13. data/rbi/telnyx/models/calls/transcription_start_request.rbi +5 -0
  14. data/rbi/telnyx/models/messaging_10dlc_get_enum_response.rbi +3 -2
  15. data/rbi/telnyx/models/sip_registration_status_retrieve_params.rbi +37 -14
  16. data/rbi/telnyx/models/sip_registration_status_retrieve_response.rbi +68 -5
  17. data/rbi/telnyx/resources/sip_registration_status.rbi +10 -5
  18. data/sig/telnyx/models/calls/transcription_engine_parakeet_config.rbs +62 -0
  19. data/sig/telnyx/models/calls/transcription_start_request.rbs +2 -0
  20. data/sig/telnyx/models/messaging_10dlc_get_enum_response.rbs +2 -1
  21. data/sig/telnyx/models/sip_registration_status_retrieve_params.rbs +16 -6
  22. data/sig/telnyx/models/sip_registration_status_retrieve_response.rbs +37 -1
  23. data/sig/telnyx/models/sub_number_orders_report_download_response.rbs +1 -1
  24. data/sig/telnyx/resources/sip_registration_status.rbs +2 -1
  25. metadata +5 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a46945958548e6b758c3f3cea5962f22eacb966e658b22e2a49bc9c48f8695cf
4
- data.tar.gz: 12cbce7825b92714ec960b3f99ee54e86df69975445072b6ca304da2d48c6f5f
3
+ metadata.gz: 9511046a8ef8d36d145256565226cc2998b1fe1a0e41cdeb055e2b5a93929567
4
+ data.tar.gz: 342e6f70452c444df03d76e1d26f7715c3ed2697aa1467ba18699f78f77586f0
5
5
  SHA512:
6
- metadata.gz: 7bc8268f49f9fce6dd006ab323630ba1842f44378057a76594bca36cc0dea837412b9472c3aea071b27aa7a5f1cc82e1c0dadf4a2a6bb068b8980900e5932074
7
- data.tar.gz: 762fbb1e75802e7b98692e9ace5e0a4fefc93fdc8fcb489f2bcca3407f77214af83961ae090b25fe6a375d79b2633f57838bdd271edf1b84599cabe4bce8e1b7
6
+ metadata.gz: c8d02217f22bef3b3a0d33df9bb94f96b7b24f54f647ae193f8f2f820bdb117218bd2bd74add0e7e2e9afc88ef16b98e3b3834c21ff594aa07873b9c4176d019
7
+ data.tar.gz: 1477bc4a353c59859cf5774d81cd7872349c56794df3d2e9c4721871015485604b11ff76d49eb8c7d050965deb1735398f11646650f0145e6366aae9f8e31a42
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.148.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.147.0...v5.148.0) (2026-06-24)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * restore OIDC + release trigger in publish-gem.yml ([#282](https://github.com/team-telnyx/telnyx-ruby/issues/282)) ([2102367](https://github.com/team-telnyx/telnyx-ruby/commit/21023671fa50a5db3968d874a47f7dfc32ab2032))
9
+ * restore release-please-config.json ([#280](https://github.com/team-telnyx/telnyx-ruby/issues/280)) ([8d34b0e](https://github.com/team-telnyx/telnyx-ruby/commit/8d34b0ec6d19e8a230c2c87eb0d5229a0f3170a7))
10
+
3
11
  ## [5.147.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.131.0...v5.147.0) (2026-06-23)
4
12
 
5
13
 
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "telnyx", "~> 5.147.0"
18
+ gem "telnyx", "~> 5.148.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -0,0 +1,64 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Calls
6
+ class TranscriptionEngineParakeetConfig < Telnyx::Internal::Type::BaseModel
7
+ # @!attribute interim_results
8
+ # Whether to send also interim results. If set to false, only final results will
9
+ # be sent.
10
+ #
11
+ # @return [Boolean, nil]
12
+ optional :interim_results, Telnyx::Internal::Type::Boolean
13
+
14
+ # @!attribute transcription_engine
15
+ # Engine identifier for Parakeet transcription service
16
+ #
17
+ # @return [Symbol, Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::TranscriptionEngine, nil]
18
+ optional :transcription_engine,
19
+ enum: -> { Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionEngine }
20
+
21
+ # @!attribute transcription_model
22
+ # The model to use for transcription.
23
+ #
24
+ # @return [Symbol, Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::TranscriptionModel, nil]
25
+ optional :transcription_model,
26
+ enum: -> { Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionModel }
27
+
28
+ # @!method initialize(interim_results: nil, transcription_engine: nil, transcription_model: nil)
29
+ # Some parameter documentations has been truncated, see
30
+ # {Telnyx::Models::Calls::TranscriptionEngineParakeetConfig} for more details.
31
+ #
32
+ # @param interim_results [Boolean] Whether to send also interim results. If set to false, only final results will b
33
+ #
34
+ # @param transcription_engine [Symbol, Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::TranscriptionEngine] Engine identifier for Parakeet transcription service
35
+ #
36
+ # @param transcription_model [Symbol, Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::TranscriptionModel] The model to use for transcription.
37
+
38
+ # Engine identifier for Parakeet transcription service
39
+ #
40
+ # @see Telnyx::Models::Calls::TranscriptionEngineParakeetConfig#transcription_engine
41
+ module TranscriptionEngine
42
+ extend Telnyx::Internal::Type::Enum
43
+
44
+ PARAKEET = :Parakeet
45
+
46
+ # @!method self.values
47
+ # @return [Array<Symbol>]
48
+ end
49
+
50
+ # The model to use for transcription.
51
+ #
52
+ # @see Telnyx::Models::Calls::TranscriptionEngineParakeetConfig#transcription_model
53
+ module TranscriptionModel
54
+ extend Telnyx::Internal::Type::Enum
55
+
56
+ PARAKEET_TDT_0_6B_V3 = :"parakeet/tdt-0.6b-v3"
57
+
58
+ # @!method self.values
59
+ # @return [Array<Symbol>]
60
+ end
61
+ end
62
+ end
63
+ end
64
+ end
@@ -68,6 +68,7 @@ module Telnyx
68
68
  ASSEMBLY_AI = :AssemblyAI
69
69
  SPEECHMATICS = :Speechmatics
70
70
  SONIOX = :Soniox
71
+ PARAKEET = :Parakeet
71
72
  A = :A
72
73
  B = :B
73
74
 
@@ -10,7 +10,7 @@ module Telnyx
10
10
 
11
11
  variant -> { Telnyx::Models::Messaging10dlcGetEnumResponse::EnumObjectListResponseArray }
12
12
 
13
- variant -> { Telnyx::Models::Messaging10dlcGetEnumResponse::EnumObjectToStringResponseMap }
13
+ variant -> { Telnyx::Models::Messaging10dlcGetEnumResponse::StringMap }
14
14
 
15
15
  variant -> { Telnyx::Models::Messaging10dlcGetEnumResponse::EnumObjecToObjecttResponseMap }
16
16
 
@@ -40,7 +40,7 @@ module Telnyx
40
40
  end
41
41
 
42
42
  # @!method self.variants
43
- # @return [Array(Array<String>, Array<Hash{Symbol=>Object}>, Hash{Symbol=>Object}, Hash{Symbol=>Object}, Telnyx::Models::Messaging10dlcGetEnumResponse::EnumPaginatedResponse)]
43
+ # @return [Array(Array<String>, Array<Hash{Symbol=>Object}>, Hash{Symbol=>String}, Hash{Symbol=>Object}, Telnyx::Models::Messaging10dlcGetEnumResponse::EnumPaginatedResponse)]
44
44
 
45
45
  # @type [Telnyx::Internal::Type::Converter]
46
46
  StringArray = Telnyx::Internal::Type::ArrayOf[String]
@@ -50,7 +50,7 @@ module Telnyx
50
50
  Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]]
51
51
 
52
52
  # @type [Telnyx::Internal::Type::Converter]
53
- EnumObjectToStringResponseMap = Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
53
+ StringMap = Telnyx::Internal::Type::HashOf[String]
54
54
 
55
55
  # @type [Telnyx::Internal::Type::Converter]
56
56
  EnumObjecToObjecttResponseMap = Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
@@ -7,35 +7,46 @@ module Telnyx
7
7
  extend Telnyx::Internal::Type::RequestParameters::Converter
8
8
  include Telnyx::Internal::Type::RequestParameters
9
9
 
10
- # @!attribute connection_id
11
- # Identifier of the UAC connection to look up.
12
- #
13
- # @return [String]
14
- required :connection_id, String
15
-
16
10
  # @!attribute credential_type
17
- # The kind of credential to look up. Only `uac_external_credential` is supported
18
- # today.
11
+ # The kind of credential to look up. `uac_external_credential` is keyed by
12
+ # `connection_id`; `telephony_credential` is keyed by `username`.
19
13
  #
20
14
  # @return [Symbol, Telnyx::Models::SipRegistrationStatusRetrieveParams::CredentialType]
21
15
  required :credential_type, enum: -> { Telnyx::SipRegistrationStatusRetrieveParams::CredentialType }
22
16
 
23
- # @!method initialize(connection_id:, credential_type:, request_options: {})
17
+ # @!attribute connection_id
18
+ # Identifier of the UAC connection to look up. Required when `credential_type` is
19
+ # `uac_external_credential`.
20
+ #
21
+ # @return [String, nil]
22
+ optional :connection_id, String
23
+
24
+ # @!attribute username
25
+ # SIP username of the telephony credential to look up. Required when
26
+ # `credential_type` is `telephony_credential`.
27
+ #
28
+ # @return [String, nil]
29
+ optional :username, String
30
+
31
+ # @!method initialize(credential_type:, connection_id: nil, username: nil, request_options: {})
24
32
  # Some parameter documentations has been truncated, see
25
33
  # {Telnyx::Models::SipRegistrationStatusRetrieveParams} for more details.
26
34
  #
27
- # @param connection_id [String] Identifier of the UAC connection to look up.
35
+ # @param credential_type [Symbol, Telnyx::Models::SipRegistrationStatusRetrieveParams::CredentialType] The kind of credential to look up. `uac_external_credential` is keyed by `connec
36
+ #
37
+ # @param connection_id [String] Identifier of the UAC connection to look up. Required when `credential_type` is
28
38
  #
29
- # @param credential_type [Symbol, Telnyx::Models::SipRegistrationStatusRetrieveParams::CredentialType] The kind of credential to look up. Only `uac_external_credential` is supported t
39
+ # @param username [String] SIP username of the telephony credential to look up. Required when `credential_t
30
40
  #
31
41
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
32
42
 
33
- # The kind of credential to look up. Only `uac_external_credential` is supported
34
- # today.
43
+ # The kind of credential to look up. `uac_external_credential` is keyed by
44
+ # `connection_id`; `telephony_credential` is keyed by `username`.
35
45
  module CredentialType
36
46
  extend Telnyx::Internal::Type::Enum
37
47
 
38
48
  UAC_EXTERNAL_CREDENTIAL = :uac_external_credential
49
+ TELEPHONY_CREDENTIAL = :telephony_credential
39
50
 
40
51
  # @!method self.values
41
52
  # @return [Array<Symbol>]
@@ -5,7 +5,7 @@ module Telnyx
5
5
  # @see Telnyx::Resources::SipRegistrationStatus#retrieve
6
6
  class SipRegistrationStatusRetrieveResponse < Telnyx::Internal::Type::BaseModel
7
7
  # @!attribute connection_id
8
- # Identifier of the UAC connection.
8
+ # Identifier of the connection associated with the credential.
9
9
  #
10
10
  # @return [String, nil]
11
11
  optional :connection_id, String
@@ -42,7 +42,8 @@ module Telnyx
42
42
  optional :registered, Telnyx::Internal::Type::Boolean
43
43
 
44
44
  # @!attribute sip_registration_details
45
- # Detailed registration information reported by the registrar.
45
+ # Detailed registration information reported by the registrar. The populated
46
+ # fields depend on `credential_type`.
46
47
  #
47
48
  # @return [Telnyx::Models::SipRegistrationStatusRetrieveResponse::SipRegistrationDetails, nil]
48
49
  optional :sip_registration_details,
@@ -56,7 +57,10 @@ module Telnyx
56
57
  enum: -> { Telnyx::Models::SipRegistrationStatusRetrieveResponse::SipRegistrationStatus }
57
58
 
58
59
  # @!method initialize(connection_id: nil, connection_name: nil, credential_type: nil, credential_username: nil, last_registration_response: nil, registered: nil, sip_registration_details: nil, sip_registration_status: nil)
59
- # @param connection_id [String] Identifier of the UAC connection.
60
+ # Some parameter documentations has been truncated, see
61
+ # {Telnyx::Models::SipRegistrationStatusRetrieveResponse} for more details.
62
+ #
63
+ # @param connection_id [String] Identifier of the connection associated with the credential.
60
64
  #
61
65
  # @param connection_name [String] Human-readable connection name.
62
66
  #
@@ -68,7 +72,7 @@ module Telnyx
68
72
  #
69
73
  # @param registered [Boolean] True if the endpoint is currently registered.
70
74
  #
71
- # @param sip_registration_details [Telnyx::Models::SipRegistrationStatusRetrieveResponse::SipRegistrationDetails] Detailed registration information reported by the registrar.
75
+ # @param sip_registration_details [Telnyx::Models::SipRegistrationStatusRetrieveResponse::SipRegistrationDetails] Detailed registration information reported by the registrar. The populated field
72
76
  #
73
77
  # @param sip_registration_status [Symbol, Telnyx::Models::SipRegistrationStatusRetrieveResponse::SipRegistrationStatus] Human-readable registration status derived from the registrar state.
74
78
 
@@ -79,6 +83,7 @@ module Telnyx
79
83
  extend Telnyx::Internal::Type::Enum
80
84
 
81
85
  UAC_EXTERNAL_CREDENTIAL = :uac_external_credential
86
+ TELEPHONY_CREDENTIAL = :telephony_credential
82
87
 
83
88
  # @!method self.values
84
89
  # @return [Array<Symbol>]
@@ -104,26 +109,57 @@ module Telnyx
104
109
  # @return [Integer, nil]
105
110
  optional :failures, Integer
106
111
 
112
+ # @!attribute last_modified
113
+ # Timestamp when the registration row was last modified (telephony_credential).
114
+ #
115
+ # @return [String, nil]
116
+ optional :last_modified, String
117
+
107
118
  # @!attribute next_action_at
108
119
  # Unix timestamp of the next scheduled registration action.
109
120
  #
110
121
  # @return [Integer, nil]
111
122
  optional :next_action_at, Integer
112
123
 
124
+ # @!attribute node
125
+ # Registrar node handling the registration (telephony_credential).
126
+ #
127
+ # @return [String, nil]
128
+ optional :node, String
129
+
113
130
  # @!attribute sip_uri_user_host
114
131
  # SIP URI user@host of the registered contact.
115
132
  #
116
133
  # @return [String, nil]
117
134
  optional :sip_uri_user_host, String
118
135
 
136
+ # @!attribute transport
137
+ # Transport used for the registration, e.g. UDP/TCP/TLS (telephony_credential).
138
+ #
139
+ # @return [String, nil]
140
+ optional :transport, String
141
+
142
+ # @!attribute ua_ip
143
+ # IP address of the registered user agent (telephony_credential).
144
+ #
145
+ # @return [String, nil]
146
+ optional :ua_ip, String
147
+
148
+ # @!attribute ua_port
149
+ # Port of the registered user agent (telephony_credential).
150
+ #
151
+ # @return [Integer, nil]
152
+ optional :ua_port, Integer
153
+
119
154
  # @!attribute uptime
120
155
  # Registration uptime reported by the registrar.
121
156
  #
122
157
  # @return [Integer, nil]
123
158
  optional :uptime, Integer
124
159
 
125
- # @!method initialize(auth_retries: nil, expires: nil, failures: nil, next_action_at: nil, sip_uri_user_host: nil, uptime: nil)
126
- # Detailed registration information reported by the registrar.
160
+ # @!method initialize(auth_retries: nil, expires: nil, failures: nil, last_modified: nil, next_action_at: nil, node: nil, sip_uri_user_host: nil, transport: nil, ua_ip: nil, ua_port: nil, uptime: nil)
161
+ # Detailed registration information reported by the registrar. The populated
162
+ # fields depend on `credential_type`.
127
163
  #
128
164
  # @param auth_retries [Integer] Number of authentication retries on the last attempt.
129
165
  #
@@ -131,10 +167,20 @@ module Telnyx
131
167
  #
132
168
  # @param failures [Integer] Count of consecutive registration failures.
133
169
  #
170
+ # @param last_modified [String] Timestamp when the registration row was last modified (telephony_credential).
171
+ #
134
172
  # @param next_action_at [Integer] Unix timestamp of the next scheduled registration action.
135
173
  #
174
+ # @param node [String] Registrar node handling the registration (telephony_credential).
175
+ #
136
176
  # @param sip_uri_user_host [String] SIP URI user@host of the registered contact.
137
177
  #
178
+ # @param transport [String] Transport used for the registration, e.g. UDP/TCP/TLS (telephony_credential).
179
+ #
180
+ # @param ua_ip [String] IP address of the registered user agent (telephony_credential).
181
+ #
182
+ # @param ua_port [Integer] Port of the registered user agent (telephony_credential).
183
+ #
138
184
  # @param uptime [Integer] Registration uptime reported by the registrar.
139
185
  end
140
186
 
@@ -34,7 +34,7 @@ module Telnyx
34
34
  #
35
35
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
36
36
  #
37
- # @return [Array<String>, Array<Hash{Symbol=>Object}>, Hash{Symbol=>Object}, Telnyx::Models::Messaging10dlcGetEnumResponse::EnumPaginatedResponse]
37
+ # @return [Array<String>, Array<Hash{Symbol=>Object}>, Hash{Symbol=>String}, Hash{Symbol=>Object}, Telnyx::Models::Messaging10dlcGetEnumResponse::EnumPaginatedResponse]
38
38
  #
39
39
  # @see Telnyx::Models::Messaging10dlcGetEnumParams
40
40
  def get_enum(endpoint, params = {})
@@ -11,11 +11,13 @@ module Telnyx
11
11
  # currently registered, when it last registered, and the last response Telnyx
12
12
  # received from the registrar. Only `uac_external_credential` is supported today.
13
13
  #
14
- # @overload retrieve(connection_id:, credential_type:, request_options: {})
14
+ # @overload retrieve(credential_type:, connection_id: nil, username: nil, request_options: {})
15
15
  #
16
- # @param connection_id [String] Identifier of the UAC connection to look up.
16
+ # @param credential_type [Symbol, Telnyx::Models::SipRegistrationStatusRetrieveParams::CredentialType] The kind of credential to look up. `uac_external_credential` is keyed by `connec
17
17
  #
18
- # @param credential_type [Symbol, Telnyx::Models::SipRegistrationStatusRetrieveParams::CredentialType] The kind of credential to look up. Only `uac_external_credential` is supported t
18
+ # @param connection_id [String] Identifier of the UAC connection to look up. Required when `credential_type` is
19
+ #
20
+ # @param username [String] SIP username of the telephony credential to look up. Required when `credential_t
19
21
  #
20
22
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
21
23
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.147.0"
4
+ VERSION = "5.148.0"
5
5
  end
@@ -0,0 +1,155 @@
1
+ # typed: strong
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Calls
6
+ class TranscriptionEngineParakeetConfig < Telnyx::Internal::Type::BaseModel
7
+ OrHash =
8
+ T.type_alias do
9
+ T.any(
10
+ Telnyx::Calls::TranscriptionEngineParakeetConfig,
11
+ Telnyx::Internal::AnyHash
12
+ )
13
+ end
14
+
15
+ # Whether to send also interim results. If set to false, only final results will
16
+ # be sent.
17
+ sig { returns(T.nilable(T::Boolean)) }
18
+ attr_reader :interim_results
19
+
20
+ sig { params(interim_results: T::Boolean).void }
21
+ attr_writer :interim_results
22
+
23
+ # Engine identifier for Parakeet transcription service
24
+ sig do
25
+ returns(
26
+ T.nilable(
27
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionEngine::OrSymbol
28
+ )
29
+ )
30
+ end
31
+ attr_reader :transcription_engine
32
+
33
+ sig do
34
+ params(
35
+ transcription_engine:
36
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionEngine::OrSymbol
37
+ ).void
38
+ end
39
+ attr_writer :transcription_engine
40
+
41
+ # The model to use for transcription.
42
+ sig do
43
+ returns(
44
+ T.nilable(
45
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionModel::OrSymbol
46
+ )
47
+ )
48
+ end
49
+ attr_reader :transcription_model
50
+
51
+ sig do
52
+ params(
53
+ transcription_model:
54
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionModel::OrSymbol
55
+ ).void
56
+ end
57
+ attr_writer :transcription_model
58
+
59
+ sig do
60
+ params(
61
+ interim_results: T::Boolean,
62
+ transcription_engine:
63
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionEngine::OrSymbol,
64
+ transcription_model:
65
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionModel::OrSymbol
66
+ ).returns(T.attached_class)
67
+ end
68
+ def self.new(
69
+ # Whether to send also interim results. If set to false, only final results will
70
+ # be sent.
71
+ interim_results: nil,
72
+ # Engine identifier for Parakeet transcription service
73
+ transcription_engine: nil,
74
+ # The model to use for transcription.
75
+ transcription_model: nil
76
+ )
77
+ end
78
+
79
+ sig do
80
+ override.returns(
81
+ {
82
+ interim_results: T::Boolean,
83
+ transcription_engine:
84
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionEngine::OrSymbol,
85
+ transcription_model:
86
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionModel::OrSymbol
87
+ }
88
+ )
89
+ end
90
+ def to_hash
91
+ end
92
+
93
+ # Engine identifier for Parakeet transcription service
94
+ module TranscriptionEngine
95
+ extend Telnyx::Internal::Type::Enum
96
+
97
+ TaggedSymbol =
98
+ T.type_alias do
99
+ T.all(
100
+ Symbol,
101
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionEngine
102
+ )
103
+ end
104
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
105
+
106
+ PARAKEET =
107
+ T.let(
108
+ :Parakeet,
109
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionEngine::TaggedSymbol
110
+ )
111
+
112
+ sig do
113
+ override.returns(
114
+ T::Array[
115
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionEngine::TaggedSymbol
116
+ ]
117
+ )
118
+ end
119
+ def self.values
120
+ end
121
+ end
122
+
123
+ # The model to use for transcription.
124
+ module TranscriptionModel
125
+ extend Telnyx::Internal::Type::Enum
126
+
127
+ TaggedSymbol =
128
+ T.type_alias do
129
+ T.all(
130
+ Symbol,
131
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionModel
132
+ )
133
+ end
134
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
135
+
136
+ PARAKEET_TDT_0_6B_V3 =
137
+ T.let(
138
+ :"parakeet/tdt-0.6b-v3",
139
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionModel::TaggedSymbol
140
+ )
141
+
142
+ sig do
143
+ override.returns(
144
+ T::Array[
145
+ Telnyx::Calls::TranscriptionEngineParakeetConfig::TranscriptionModel::TaggedSymbol
146
+ ]
147
+ )
148
+ end
149
+ def self.values
150
+ end
151
+ end
152
+ end
153
+ end
154
+ end
155
+ end
@@ -220,6 +220,11 @@ module Telnyx
220
220
  :Soniox,
221
221
  Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngine::TaggedSymbol
222
222
  )
223
+ PARAKEET =
224
+ T.let(
225
+ :Parakeet,
226
+ Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngine::TaggedSymbol
227
+ )
223
228
  A =
224
229
  T.let(
225
230
  :A,
@@ -10,6 +10,7 @@ module Telnyx
10
10
  T.any(
11
11
  T::Array[String],
12
12
  T::Array[T::Hash[Symbol, T.anything]],
13
+ T::Hash[Symbol, String],
13
14
  T::Hash[Symbol, T.anything],
14
15
  Telnyx::Models::Messaging10dlcGetEnumResponse::EnumPaginatedResponse
15
16
  )
@@ -78,9 +79,9 @@ module Telnyx
78
79
  Telnyx::Internal::Type::Converter
79
80
  )
80
81
 
81
- EnumObjectToStringResponseMap =
82
+ StringMap =
82
83
  T.let(
83
- Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown],
84
+ Telnyx::Internal::Type::HashOf[String],
84
85
  Telnyx::Internal::Type::Converter
85
86
  )
86
87
 
@@ -14,12 +14,8 @@ module Telnyx
14
14
  )
15
15
  end
16
16
 
17
- # Identifier of the UAC connection to look up.
18
- sig { returns(String) }
19
- attr_accessor :connection_id
20
-
21
- # The kind of credential to look up. Only `uac_external_credential` is supported
22
- # today.
17
+ # The kind of credential to look up. `uac_external_credential` is keyed by
18
+ # `connection_id`; `telephony_credential` is keyed by `username`.
23
19
  sig do
24
20
  returns(
25
21
  Telnyx::SipRegistrationStatusRetrieveParams::CredentialType::OrSymbol
@@ -27,20 +23,41 @@ module Telnyx
27
23
  end
28
24
  attr_accessor :credential_type
29
25
 
26
+ # Identifier of the UAC connection to look up. Required when `credential_type` is
27
+ # `uac_external_credential`.
28
+ sig { returns(T.nilable(String)) }
29
+ attr_reader :connection_id
30
+
31
+ sig { params(connection_id: String).void }
32
+ attr_writer :connection_id
33
+
34
+ # SIP username of the telephony credential to look up. Required when
35
+ # `credential_type` is `telephony_credential`.
36
+ sig { returns(T.nilable(String)) }
37
+ attr_reader :username
38
+
39
+ sig { params(username: String).void }
40
+ attr_writer :username
41
+
30
42
  sig do
31
43
  params(
32
- connection_id: String,
33
44
  credential_type:
34
45
  Telnyx::SipRegistrationStatusRetrieveParams::CredentialType::OrSymbol,
46
+ connection_id: String,
47
+ username: String,
35
48
  request_options: Telnyx::RequestOptions::OrHash
36
49
  ).returns(T.attached_class)
37
50
  end
38
51
  def self.new(
39
- # Identifier of the UAC connection to look up.
40
- connection_id:,
41
- # The kind of credential to look up. Only `uac_external_credential` is supported
42
- # today.
52
+ # The kind of credential to look up. `uac_external_credential` is keyed by
53
+ # `connection_id`; `telephony_credential` is keyed by `username`.
43
54
  credential_type:,
55
+ # Identifier of the UAC connection to look up. Required when `credential_type` is
56
+ # `uac_external_credential`.
57
+ connection_id: nil,
58
+ # SIP username of the telephony credential to look up. Required when
59
+ # `credential_type` is `telephony_credential`.
60
+ username: nil,
44
61
  request_options: {}
45
62
  )
46
63
  end
@@ -48,9 +65,10 @@ module Telnyx
48
65
  sig do
49
66
  override.returns(
50
67
  {
51
- connection_id: String,
52
68
  credential_type:
53
69
  Telnyx::SipRegistrationStatusRetrieveParams::CredentialType::OrSymbol,
70
+ connection_id: String,
71
+ username: String,
54
72
  request_options: Telnyx::RequestOptions
55
73
  }
56
74
  )
@@ -58,8 +76,8 @@ module Telnyx
58
76
  def to_hash
59
77
  end
60
78
 
61
- # The kind of credential to look up. Only `uac_external_credential` is supported
62
- # today.
79
+ # The kind of credential to look up. `uac_external_credential` is keyed by
80
+ # `connection_id`; `telephony_credential` is keyed by `username`.
63
81
  module CredentialType
64
82
  extend Telnyx::Internal::Type::Enum
65
83
 
@@ -77,6 +95,11 @@ module Telnyx
77
95
  :uac_external_credential,
78
96
  Telnyx::SipRegistrationStatusRetrieveParams::CredentialType::TaggedSymbol
79
97
  )
98
+ TELEPHONY_CREDENTIAL =
99
+ T.let(
100
+ :telephony_credential,
101
+ Telnyx::SipRegistrationStatusRetrieveParams::CredentialType::TaggedSymbol
102
+ )
80
103
 
81
104
  sig do
82
105
  override.returns(
@@ -11,7 +11,7 @@ module Telnyx
11
11
  )
12
12
  end
13
13
 
14
- # Identifier of the UAC connection.
14
+ # Identifier of the connection associated with the credential.
15
15
  sig { returns(T.nilable(String)) }
16
16
  attr_reader :connection_id
17
17
 
@@ -64,7 +64,8 @@ module Telnyx
64
64
  sig { params(registered: T::Boolean).void }
65
65
  attr_writer :registered
66
66
 
67
- # Detailed registration information reported by the registrar.
67
+ # Detailed registration information reported by the registrar. The populated
68
+ # fields depend on `credential_type`.
68
69
  sig do
69
70
  returns(
70
71
  T.nilable(
@@ -116,7 +117,7 @@ module Telnyx
116
117
  ).returns(T.attached_class)
117
118
  end
118
119
  def self.new(
119
- # Identifier of the UAC connection.
120
+ # Identifier of the connection associated with the credential.
120
121
  connection_id: nil,
121
122
  # Human-readable connection name.
122
123
  connection_name: nil,
@@ -128,7 +129,8 @@ module Telnyx
128
129
  last_registration_response: nil,
129
130
  # True if the endpoint is currently registered.
130
131
  registered: nil,
131
- # Detailed registration information reported by the registrar.
132
+ # Detailed registration information reported by the registrar. The populated
133
+ # fields depend on `credential_type`.
132
134
  sip_registration_details: nil,
133
135
  # Human-readable registration status derived from the registrar state.
134
136
  sip_registration_status: nil
@@ -173,6 +175,11 @@ module Telnyx
173
175
  :uac_external_credential,
174
176
  Telnyx::Models::SipRegistrationStatusRetrieveResponse::CredentialType::TaggedSymbol
175
177
  )
178
+ TELEPHONY_CREDENTIAL =
179
+ T.let(
180
+ :telephony_credential,
181
+ Telnyx::Models::SipRegistrationStatusRetrieveResponse::CredentialType::TaggedSymbol
182
+ )
176
183
 
177
184
  sig do
178
185
  override.returns(
@@ -215,6 +222,13 @@ module Telnyx
215
222
  sig { params(failures: Integer).void }
216
223
  attr_writer :failures
217
224
 
225
+ # Timestamp when the registration row was last modified (telephony_credential).
226
+ sig { returns(T.nilable(String)) }
227
+ attr_reader :last_modified
228
+
229
+ sig { params(last_modified: String).void }
230
+ attr_writer :last_modified
231
+
218
232
  # Unix timestamp of the next scheduled registration action.
219
233
  sig { returns(T.nilable(Integer)) }
220
234
  attr_reader :next_action_at
@@ -222,6 +236,13 @@ module Telnyx
222
236
  sig { params(next_action_at: Integer).void }
223
237
  attr_writer :next_action_at
224
238
 
239
+ # Registrar node handling the registration (telephony_credential).
240
+ sig { returns(T.nilable(String)) }
241
+ attr_reader :node
242
+
243
+ sig { params(node: String).void }
244
+ attr_writer :node
245
+
225
246
  # SIP URI user@host of the registered contact.
226
247
  sig { returns(T.nilable(String)) }
227
248
  attr_reader :sip_uri_user_host
@@ -229,6 +250,27 @@ module Telnyx
229
250
  sig { params(sip_uri_user_host: String).void }
230
251
  attr_writer :sip_uri_user_host
231
252
 
253
+ # Transport used for the registration, e.g. UDP/TCP/TLS (telephony_credential).
254
+ sig { returns(T.nilable(String)) }
255
+ attr_reader :transport
256
+
257
+ sig { params(transport: String).void }
258
+ attr_writer :transport
259
+
260
+ # IP address of the registered user agent (telephony_credential).
261
+ sig { returns(T.nilable(String)) }
262
+ attr_reader :ua_ip
263
+
264
+ sig { params(ua_ip: String).void }
265
+ attr_writer :ua_ip
266
+
267
+ # Port of the registered user agent (telephony_credential).
268
+ sig { returns(T.nilable(Integer)) }
269
+ attr_reader :ua_port
270
+
271
+ sig { params(ua_port: Integer).void }
272
+ attr_writer :ua_port
273
+
232
274
  # Registration uptime reported by the registrar.
233
275
  sig { returns(T.nilable(Integer)) }
234
276
  attr_reader :uptime
@@ -236,14 +278,20 @@ module Telnyx
236
278
  sig { params(uptime: Integer).void }
237
279
  attr_writer :uptime
238
280
 
239
- # Detailed registration information reported by the registrar.
281
+ # Detailed registration information reported by the registrar. The populated
282
+ # fields depend on `credential_type`.
240
283
  sig do
241
284
  params(
242
285
  auth_retries: Integer,
243
286
  expires: Integer,
244
287
  failures: Integer,
288
+ last_modified: String,
245
289
  next_action_at: Integer,
290
+ node: String,
246
291
  sip_uri_user_host: String,
292
+ transport: String,
293
+ ua_ip: String,
294
+ ua_port: Integer,
247
295
  uptime: Integer
248
296
  ).returns(T.attached_class)
249
297
  end
@@ -254,10 +302,20 @@ module Telnyx
254
302
  expires: nil,
255
303
  # Count of consecutive registration failures.
256
304
  failures: nil,
305
+ # Timestamp when the registration row was last modified (telephony_credential).
306
+ last_modified: nil,
257
307
  # Unix timestamp of the next scheduled registration action.
258
308
  next_action_at: nil,
309
+ # Registrar node handling the registration (telephony_credential).
310
+ node: nil,
259
311
  # SIP URI user@host of the registered contact.
260
312
  sip_uri_user_host: nil,
313
+ # Transport used for the registration, e.g. UDP/TCP/TLS (telephony_credential).
314
+ transport: nil,
315
+ # IP address of the registered user agent (telephony_credential).
316
+ ua_ip: nil,
317
+ # Port of the registered user agent (telephony_credential).
318
+ ua_port: nil,
261
319
  # Registration uptime reported by the registrar.
262
320
  uptime: nil
263
321
  )
@@ -269,8 +327,13 @@ module Telnyx
269
327
  auth_retries: Integer,
270
328
  expires: Integer,
271
329
  failures: Integer,
330
+ last_modified: String,
272
331
  next_action_at: Integer,
332
+ node: String,
273
333
  sip_uri_user_host: String,
334
+ transport: String,
335
+ ua_ip: String,
336
+ ua_port: Integer,
274
337
  uptime: Integer
275
338
  }
276
339
  )
@@ -9,18 +9,23 @@ module Telnyx
9
9
  # received from the registrar. Only `uac_external_credential` is supported today.
10
10
  sig do
11
11
  params(
12
- connection_id: String,
13
12
  credential_type:
14
13
  Telnyx::SipRegistrationStatusRetrieveParams::CredentialType::OrSymbol,
14
+ connection_id: String,
15
+ username: String,
15
16
  request_options: Telnyx::RequestOptions::OrHash
16
17
  ).returns(Telnyx::Models::SipRegistrationStatusRetrieveResponse)
17
18
  end
18
19
  def retrieve(
19
- # Identifier of the UAC connection to look up.
20
- connection_id:,
21
- # The kind of credential to look up. Only `uac_external_credential` is supported
22
- # today.
20
+ # The kind of credential to look up. `uac_external_credential` is keyed by
21
+ # `connection_id`; `telephony_credential` is keyed by `username`.
23
22
  credential_type:,
23
+ # Identifier of the UAC connection to look up. Required when `credential_type` is
24
+ # `uac_external_credential`.
25
+ connection_id: nil,
26
+ # SIP username of the telephony credential to look up. Required when
27
+ # `credential_type` is `telephony_credential`.
28
+ username: nil,
24
29
  request_options: {}
25
30
  )
26
31
  end
@@ -0,0 +1,62 @@
1
+ module Telnyx
2
+ module Models
3
+ module Calls
4
+ type transcription_engine_parakeet_config =
5
+ {
6
+ interim_results: bool,
7
+ transcription_engine: Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_engine,
8
+ transcription_model: Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_model
9
+ }
10
+
11
+ class TranscriptionEngineParakeetConfig < Telnyx::Internal::Type::BaseModel
12
+ attr_reader interim_results: bool?
13
+
14
+ def interim_results=: (bool) -> bool
15
+
16
+ attr_reader transcription_engine: Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_engine?
17
+
18
+ def transcription_engine=: (
19
+ Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_engine
20
+ ) -> Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_engine
21
+
22
+ attr_reader transcription_model: Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_model?
23
+
24
+ def transcription_model=: (
25
+ Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_model
26
+ ) -> Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_model
27
+
28
+ def initialize: (
29
+ ?interim_results: bool,
30
+ ?transcription_engine: Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_engine,
31
+ ?transcription_model: Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_model
32
+ ) -> void
33
+
34
+ def to_hash: -> {
35
+ interim_results: bool,
36
+ transcription_engine: Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_engine,
37
+ transcription_model: Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_model
38
+ }
39
+
40
+ type transcription_engine = :Parakeet
41
+
42
+ module TranscriptionEngine
43
+ extend Telnyx::Internal::Type::Enum
44
+
45
+ PARAKEET: :Parakeet
46
+
47
+ def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_engine]
48
+ end
49
+
50
+ type transcription_model = :"parakeet/tdt-0.6b-v3"
51
+
52
+ module TranscriptionModel
53
+ extend Telnyx::Internal::Type::Enum
54
+
55
+ PARAKEET_TDT_0_6B_V3: :"parakeet/tdt-0.6b-v3"
56
+
57
+ def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineParakeetConfig::transcription_model]
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
@@ -60,6 +60,7 @@ module Telnyx
60
60
  | :AssemblyAI
61
61
  | :Speechmatics
62
62
  | :Soniox
63
+ | :Parakeet
63
64
  | :A
64
65
  | :B
65
66
 
@@ -74,6 +75,7 @@ module Telnyx
74
75
  ASSEMBLY_AI: :AssemblyAI
75
76
  SPEECHMATICS: :Speechmatics
76
77
  SONIOX: :Soniox
78
+ PARAKEET: :Parakeet
77
79
  A: :A
78
80
  B: :B
79
81
 
@@ -3,6 +3,7 @@ module Telnyx
3
3
  type messaging10dlc_get_enum_response =
4
4
  ::Array[String]
5
5
  | ::Array[::Hash[Symbol, top]]
6
+ | ::Hash[Symbol, String]
6
7
  | ::Hash[Symbol, top]
7
8
  | Telnyx::Models::Messaging10dlcGetEnumResponse::EnumPaginatedResponse
8
9
 
@@ -42,7 +43,7 @@ module Telnyx
42
43
 
43
44
  EnumObjectListResponseArray: Telnyx::Internal::Type::Converter
44
45
 
45
- EnumObjectToStringResponseMap: Telnyx::Internal::Type::Converter
46
+ StringMap: Telnyx::Internal::Type::Converter
46
47
 
47
48
  EnumObjecToObjecttResponseMap: Telnyx::Internal::Type::Converter
48
49
  end
@@ -2,8 +2,9 @@ module Telnyx
2
2
  module Models
3
3
  type sip_registration_status_retrieve_params =
4
4
  {
5
+ credential_type: Telnyx::Models::SipRegistrationStatusRetrieveParams::credential_type,
5
6
  connection_id: String,
6
- credential_type: Telnyx::Models::SipRegistrationStatusRetrieveParams::credential_type
7
+ username: String
7
8
  }
8
9
  & Telnyx::Internal::Type::request_parameters
9
10
 
@@ -11,28 +12,37 @@ module Telnyx
11
12
  extend Telnyx::Internal::Type::RequestParameters::Converter
12
13
  include Telnyx::Internal::Type::RequestParameters
13
14
 
14
- attr_accessor connection_id: String
15
-
16
15
  attr_accessor credential_type: Telnyx::Models::SipRegistrationStatusRetrieveParams::credential_type
17
16
 
17
+ attr_reader connection_id: String?
18
+
19
+ def connection_id=: (String) -> String
20
+
21
+ attr_reader username: String?
22
+
23
+ def username=: (String) -> String
24
+
18
25
  def initialize: (
19
- connection_id: String,
20
26
  credential_type: Telnyx::Models::SipRegistrationStatusRetrieveParams::credential_type,
27
+ ?connection_id: String,
28
+ ?username: String,
21
29
  ?request_options: Telnyx::request_opts
22
30
  ) -> void
23
31
 
24
32
  def to_hash: -> {
25
- connection_id: String,
26
33
  credential_type: Telnyx::Models::SipRegistrationStatusRetrieveParams::credential_type,
34
+ connection_id: String,
35
+ username: String,
27
36
  request_options: Telnyx::RequestOptions
28
37
  }
29
38
 
30
- type credential_type = :uac_external_credential
39
+ type credential_type = :uac_external_credential | :telephony_credential
31
40
 
32
41
  module CredentialType
33
42
  extend Telnyx::Internal::Type::Enum
34
43
 
35
44
  UAC_EXTERNAL_CREDENTIAL: :uac_external_credential
45
+ TELEPHONY_CREDENTIAL: :telephony_credential
36
46
 
37
47
  def self?.values: -> ::Array[Telnyx::Models::SipRegistrationStatusRetrieveParams::credential_type]
38
48
  end
@@ -73,12 +73,13 @@ module Telnyx
73
73
  sip_registration_status: Telnyx::Models::SipRegistrationStatusRetrieveResponse::sip_registration_status
74
74
  }
75
75
 
76
- type credential_type = :uac_external_credential
76
+ type credential_type = :uac_external_credential | :telephony_credential
77
77
 
78
78
  module CredentialType
79
79
  extend Telnyx::Internal::Type::Enum
80
80
 
81
81
  UAC_EXTERNAL_CREDENTIAL: :uac_external_credential
82
+ TELEPHONY_CREDENTIAL: :telephony_credential
82
83
 
83
84
  def self?.values: -> ::Array[Telnyx::Models::SipRegistrationStatusRetrieveResponse::credential_type]
84
85
  end
@@ -88,8 +89,13 @@ module Telnyx
88
89
  auth_retries: Integer,
89
90
  expires: Integer,
90
91
  failures: Integer,
92
+ last_modified: String,
91
93
  next_action_at: Integer,
94
+ node: String,
92
95
  sip_uri_user_host: String,
96
+ transport: String,
97
+ ua_ip: String,
98
+ ua_port: Integer,
93
99
  uptime: Integer
94
100
  }
95
101
 
@@ -106,14 +112,34 @@ module Telnyx
106
112
 
107
113
  def failures=: (Integer) -> Integer
108
114
 
115
+ attr_reader last_modified: String?
116
+
117
+ def last_modified=: (String) -> String
118
+
109
119
  attr_reader next_action_at: Integer?
110
120
 
111
121
  def next_action_at=: (Integer) -> Integer
112
122
 
123
+ attr_reader node: String?
124
+
125
+ def node=: (String) -> String
126
+
113
127
  attr_reader sip_uri_user_host: String?
114
128
 
115
129
  def sip_uri_user_host=: (String) -> String
116
130
 
131
+ attr_reader transport: String?
132
+
133
+ def transport=: (String) -> String
134
+
135
+ attr_reader ua_ip: String?
136
+
137
+ def ua_ip=: (String) -> String
138
+
139
+ attr_reader ua_port: Integer?
140
+
141
+ def ua_port=: (Integer) -> Integer
142
+
117
143
  attr_reader uptime: Integer?
118
144
 
119
145
  def uptime=: (Integer) -> Integer
@@ -122,8 +148,13 @@ module Telnyx
122
148
  ?auth_retries: Integer,
123
149
  ?expires: Integer,
124
150
  ?failures: Integer,
151
+ ?last_modified: String,
125
152
  ?next_action_at: Integer,
153
+ ?node: String,
126
154
  ?sip_uri_user_host: String,
155
+ ?transport: String,
156
+ ?ua_ip: String,
157
+ ?ua_port: Integer,
127
158
  ?uptime: Integer
128
159
  ) -> void
129
160
 
@@ -131,8 +162,13 @@ module Telnyx
131
162
  auth_retries: Integer,
132
163
  expires: Integer,
133
164
  failures: Integer,
165
+ last_modified: String,
134
166
  next_action_at: Integer,
167
+ node: String,
135
168
  sip_uri_user_host: String,
169
+ transport: String,
170
+ ua_ip: String,
171
+ ua_port: Integer,
136
172
  uptime: Integer
137
173
  }
138
174
  end
@@ -1,5 +1,5 @@
1
1
  module Telnyx
2
2
  module Models
3
- class SubNumberOrdersReportDownloadResponse = StringIO
3
+ class SubNumberOrdersReportDownloadResponse = Telnyx::Internal::Type::FileInput
4
4
  end
5
5
  end
@@ -2,8 +2,9 @@ module Telnyx
2
2
  module Resources
3
3
  class SipRegistrationStatus
4
4
  def retrieve: (
5
- connection_id: String,
6
5
  credential_type: Telnyx::Models::SipRegistrationStatusRetrieveParams::credential_type,
6
+ ?connection_id: String,
7
+ ?username: String,
7
8
  ?request_options: Telnyx::request_opts
8
9
  ) -> Telnyx::Models::SipRegistrationStatusRetrieveResponse
9
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telnyx
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.147.0
4
+ version: 5.148.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Telnyx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-23 00:00:00.000000000 Z
11
+ date: 2026-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi
@@ -710,6 +710,7 @@ files:
710
710
  - lib/telnyx/models/calls/transcription_engine_b_config.rb
711
711
  - lib/telnyx/models/calls/transcription_engine_deepgram_config.rb
712
712
  - lib/telnyx/models/calls/transcription_engine_google_config.rb
713
+ - lib/telnyx/models/calls/transcription_engine_parakeet_config.rb
713
714
  - lib/telnyx/models/calls/transcription_engine_soniox_config.rb
714
715
  - lib/telnyx/models/calls/transcription_engine_speechmatics_config.rb
715
716
  - lib/telnyx/models/calls/transcription_engine_telnyx_config.rb
@@ -3567,6 +3568,7 @@ files:
3567
3568
  - rbi/telnyx/models/calls/transcription_engine_b_config.rbi
3568
3569
  - rbi/telnyx/models/calls/transcription_engine_deepgram_config.rbi
3569
3570
  - rbi/telnyx/models/calls/transcription_engine_google_config.rbi
3571
+ - rbi/telnyx/models/calls/transcription_engine_parakeet_config.rbi
3570
3572
  - rbi/telnyx/models/calls/transcription_engine_soniox_config.rbi
3571
3573
  - rbi/telnyx/models/calls/transcription_engine_speechmatics_config.rbi
3572
3574
  - rbi/telnyx/models/calls/transcription_engine_telnyx_config.rbi
@@ -6415,6 +6417,7 @@ files:
6415
6417
  - sig/telnyx/models/calls/transcription_engine_b_config.rbs
6416
6418
  - sig/telnyx/models/calls/transcription_engine_deepgram_config.rbs
6417
6419
  - sig/telnyx/models/calls/transcription_engine_google_config.rbs
6420
+ - sig/telnyx/models/calls/transcription_engine_parakeet_config.rbs
6418
6421
  - sig/telnyx/models/calls/transcription_engine_soniox_config.rbs
6419
6422
  - sig/telnyx/models/calls/transcription_engine_speechmatics_config.rbs
6420
6423
  - sig/telnyx/models/calls/transcription_engine_telnyx_config.rbs