openai 0.107.0 → 0.108.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 (79) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -0
  3. data/README.md +49 -1
  4. data/examples/chat/tool_runner.rb +33 -0
  5. data/lib/openai/client.rb +2 -2
  6. data/lib/openai/helpers/chat/tool_runner.rb +259 -0
  7. data/lib/openai/helpers/realtime/recovery.rb +8 -2
  8. data/lib/openai/helpers/responses_websocket/incremental.rb +5 -1
  9. data/lib/openai/helpers/responses_websocket/session.rb +11 -4
  10. data/lib/openai/helpers/streaming/chat_completion_resource.rb +52 -0
  11. data/lib/openai/models/admin/organization/usage_audio_speeches_response.rb +4 -4
  12. data/lib/openai/models/admin/organization/usage_audio_transcriptions_response.rb +4 -4
  13. data/lib/openai/models/admin/organization/usage_code_interpreter_sessions_response.rb +4 -4
  14. data/lib/openai/models/admin/organization/usage_completions_response.rb +4 -4
  15. data/lib/openai/models/admin/organization/usage_costs_response.rb +4 -4
  16. data/lib/openai/models/admin/organization/usage_decisions_response.rb +4 -4
  17. data/lib/openai/models/admin/organization/usage_embeddings_response.rb +4 -4
  18. data/lib/openai/models/admin/organization/usage_file_search_calls_response.rb +4 -4
  19. data/lib/openai/models/admin/organization/usage_images_response.rb +4 -4
  20. data/lib/openai/models/admin/organization/usage_moderations_response.rb +4 -4
  21. data/lib/openai/models/admin/organization/usage_vector_stores_response.rb +4 -4
  22. data/lib/openai/models/admin/organization/usage_web_search_calls_response.rb +4 -4
  23. data/lib/openai/models/audio/voice_consent.rb +58 -0
  24. data/lib/openai/models/audio/voice_consent_create_params.rb +57 -0
  25. data/lib/openai/models/audio/voice_consent_delete_params.rb +22 -0
  26. data/lib/openai/models/audio/voice_consent_deleted.rb +34 -0
  27. data/lib/openai/models/audio/voice_consent_list_params.rb +42 -0
  28. data/lib/openai/models/audio/voice_consent_retrieve_params.rb +22 -0
  29. data/lib/openai/models/audio/voice_consent_update_params.rb +32 -0
  30. data/lib/openai/resources/audio/voice_consents.rb +163 -0
  31. data/lib/openai/resources/audio.rb +5 -0
  32. data/lib/openai/version.rb +1 -1
  33. data/lib/openai.rb +8 -0
  34. data/rbi/openai/helpers/chat/tool_runner.rbi +74 -0
  35. data/rbi/openai/models/admin/organization/usage_audio_speeches_response.rbi +4 -4
  36. data/rbi/openai/models/admin/organization/usage_audio_transcriptions_response.rbi +4 -4
  37. data/rbi/openai/models/admin/organization/usage_code_interpreter_sessions_response.rbi +4 -4
  38. data/rbi/openai/models/admin/organization/usage_completions_response.rbi +4 -4
  39. data/rbi/openai/models/admin/organization/usage_costs_response.rbi +4 -4
  40. data/rbi/openai/models/admin/organization/usage_decisions_response.rbi +4 -4
  41. data/rbi/openai/models/admin/organization/usage_embeddings_response.rbi +4 -4
  42. data/rbi/openai/models/admin/organization/usage_file_search_calls_response.rbi +4 -4
  43. data/rbi/openai/models/admin/organization/usage_images_response.rbi +4 -4
  44. data/rbi/openai/models/admin/organization/usage_moderations_response.rbi +4 -4
  45. data/rbi/openai/models/admin/organization/usage_vector_stores_response.rbi +4 -4
  46. data/rbi/openai/models/admin/organization/usage_web_search_calls_response.rbi +4 -4
  47. data/rbi/openai/models/audio/voice_consent.rbi +86 -0
  48. data/rbi/openai/models/audio/voice_consent_create_params.rbi +92 -0
  49. data/rbi/openai/models/audio/voice_consent_delete_params.rbi +53 -0
  50. data/rbi/openai/models/audio/voice_consent_deleted.rbi +62 -0
  51. data/rbi/openai/models/audio/voice_consent_list_params.rbi +78 -0
  52. data/rbi/openai/models/audio/voice_consent_retrieve_params.rbi +53 -0
  53. data/rbi/openai/models/audio/voice_consent_update_params.rbi +62 -0
  54. data/rbi/openai/models/response_format_json_schema.rbi +13 -11
  55. data/rbi/openai/resources/audio/voice_consents.rbi +108 -0
  56. data/rbi/openai/resources/audio.rbi +4 -0
  57. data/sig/openai/helpers/chat/tool_runner.rbs +48 -0
  58. data/sig/openai/models/admin/organization/usage_audio_speeches_response.rbs +6 -6
  59. data/sig/openai/models/admin/organization/usage_audio_transcriptions_response.rbs +6 -6
  60. data/sig/openai/models/admin/organization/usage_code_interpreter_sessions_response.rbs +6 -6
  61. data/sig/openai/models/admin/organization/usage_completions_response.rbs +6 -6
  62. data/sig/openai/models/admin/organization/usage_costs_response.rbs +6 -6
  63. data/sig/openai/models/admin/organization/usage_decisions_response.rbs +4 -4
  64. data/sig/openai/models/admin/organization/usage_embeddings_response.rbs +6 -6
  65. data/sig/openai/models/admin/organization/usage_file_search_calls_response.rbs +6 -6
  66. data/sig/openai/models/admin/organization/usage_images_response.rbs +6 -6
  67. data/sig/openai/models/admin/organization/usage_moderations_response.rbs +6 -6
  68. data/sig/openai/models/admin/organization/usage_vector_stores_response.rbs +6 -6
  69. data/sig/openai/models/admin/organization/usage_web_search_calls_response.rbs +6 -6
  70. data/sig/openai/models/audio/voice_consent.rbs +57 -0
  71. data/sig/openai/models/audio/voice_consent_create_params.rbs +61 -0
  72. data/sig/openai/models/audio/voice_consent_delete_params.rbs +25 -0
  73. data/sig/openai/models/audio/voice_consent_deleted.rbs +31 -0
  74. data/sig/openai/models/audio/voice_consent_list_params.rbs +57 -0
  75. data/sig/openai/models/audio/voice_consent_retrieve_params.rbs +25 -0
  76. data/sig/openai/models/audio/voice_consent_update_params.rbs +36 -0
  77. data/sig/openai/resources/audio/voice_consents.rbs +38 -0
  78. data/sig/openai/resources/audio.rbs +2 -0
  79. metadata +29 -1
@@ -157,12 +157,12 @@ module OpenAI
157
157
  # retention period. May be absent or null for older responses.
158
158
  attr_accessor input_cache_write_30m_tokens: Integer?
159
159
 
160
- # The aggregated number of input tokens written to the cache with a 30-minute
161
- # retention period.
160
+ # The aggregated number of input tokens written to the cache across 30-minute and
161
+ # 12-hour retention periods.
162
162
  attr_reader input_cache_write_tokens: Integer?
163
163
 
164
- # The aggregated number of input tokens written to the cache with a 30-minute
165
- # retention period.
164
+ # The aggregated number of input tokens written to the cache across 30-minute and
165
+ # 12-hour retention periods.
166
166
  def input_cache_write_tokens=: (Integer) -> Integer
167
167
 
168
168
  # The aggregated number of cached audio input tokens used.
@@ -277,8 +277,8 @@ module OpenAI
277
277
  # The aggregated number of input tokens written to the cache with a 30-minute
278
278
  # retention period. May be absent or null for older responses.
279
279
  # @param input_cache_write_tokens
280
- # The aggregated number of input tokens written to the cache with a 30-minute
281
- # retention period.
280
+ # The aggregated number of input tokens written to the cache across 30-minute and
281
+ # 12-hour retention periods.
282
282
  # @param input_cached_audio_tokens
283
283
  # The aggregated number of cached audio input tokens used.
284
284
  # @param input_cached_image_tokens
@@ -157,12 +157,12 @@ module OpenAI
157
157
  # retention period. May be absent or null for older responses.
158
158
  attr_accessor input_cache_write_30m_tokens: Integer?
159
159
 
160
- # The aggregated number of input tokens written to the cache with a 30-minute
161
- # retention period.
160
+ # The aggregated number of input tokens written to the cache across 30-minute and
161
+ # 12-hour retention periods.
162
162
  attr_reader input_cache_write_tokens: Integer?
163
163
 
164
- # The aggregated number of input tokens written to the cache with a 30-minute
165
- # retention period.
164
+ # The aggregated number of input tokens written to the cache across 30-minute and
165
+ # 12-hour retention periods.
166
166
  def input_cache_write_tokens=: (Integer) -> Integer
167
167
 
168
168
  # The aggregated number of cached audio input tokens used.
@@ -277,8 +277,8 @@ module OpenAI
277
277
  # The aggregated number of input tokens written to the cache with a 30-minute
278
278
  # retention period. May be absent or null for older responses.
279
279
  # @param input_cache_write_tokens
280
- # The aggregated number of input tokens written to the cache with a 30-minute
281
- # retention period.
280
+ # The aggregated number of input tokens written to the cache across 30-minute and
281
+ # 12-hour retention periods.
282
282
  # @param input_cached_audio_tokens
283
283
  # The aggregated number of cached audio input tokens used.
284
284
  # @param input_cached_image_tokens
@@ -157,12 +157,12 @@ module OpenAI
157
157
  # retention period. May be absent or null for older responses.
158
158
  attr_accessor input_cache_write_30m_tokens: Integer?
159
159
 
160
- # The aggregated number of input tokens written to the cache with a 30-minute
161
- # retention period.
160
+ # The aggregated number of input tokens written to the cache across 30-minute and
161
+ # 12-hour retention periods.
162
162
  attr_reader input_cache_write_tokens: Integer?
163
163
 
164
- # The aggregated number of input tokens written to the cache with a 30-minute
165
- # retention period.
164
+ # The aggregated number of input tokens written to the cache across 30-minute and
165
+ # 12-hour retention periods.
166
166
  def input_cache_write_tokens=: (Integer) -> Integer
167
167
 
168
168
  # The aggregated number of cached audio input tokens used.
@@ -277,8 +277,8 @@ module OpenAI
277
277
  # The aggregated number of input tokens written to the cache with a 30-minute
278
278
  # retention period. May be absent or null for older responses.
279
279
  # @param input_cache_write_tokens
280
- # The aggregated number of input tokens written to the cache with a 30-minute
281
- # retention period.
280
+ # The aggregated number of input tokens written to the cache across 30-minute and
281
+ # 12-hour retention periods.
282
282
  # @param input_cached_audio_tokens
283
283
  # The aggregated number of cached audio input tokens used.
284
284
  # @param input_cached_image_tokens
@@ -0,0 +1,57 @@
1
+ module OpenAI
2
+ module Models
3
+ module Audio
4
+ type voice_consent =
5
+ {
6
+ id: String,
7
+ created_at: Integer,
8
+ language: String,
9
+ name: String,
10
+ ?object: :"audio.voice_consent"
11
+ }
12
+
13
+ class VoiceConsent < OpenAI::Internal::Type::BaseModel
14
+ # The consent recording identifier.
15
+ attr_accessor id: String
16
+
17
+ # The Unix timestamp (in seconds) for when the consent recording was created.
18
+ attr_accessor created_at: Integer
19
+
20
+ # The BCP 47 language tag for the consent phrase (for example, `en-US`).
21
+ attr_accessor language: String
22
+
23
+ # The label provided when the consent recording was uploaded.
24
+ attr_accessor name: String
25
+
26
+ # The object type, which is always `audio.voice_consent`.
27
+ attr_accessor object: :"audio.voice_consent"
28
+
29
+ # @param id
30
+ # The consent recording identifier.
31
+ # @param created_at
32
+ # The Unix timestamp (in seconds) for when the consent recording was created.
33
+ # @param language
34
+ # The BCP 47 language tag for the consent phrase (for example, `en-US`).
35
+ # @param name
36
+ # The label provided when the consent recording was uploaded.
37
+ # @param object
38
+ # The object type, which is always `audio.voice_consent`.
39
+ def initialize: (
40
+ id: String,
41
+ created_at: Integer,
42
+ language: String,
43
+ name: String,
44
+ ?object: :"audio.voice_consent"
45
+ ) -> void
46
+
47
+ def to_hash: -> {
48
+ id: String,
49
+ created_at: Integer,
50
+ language: String,
51
+ name: String,
52
+ ?object: :"audio.voice_consent"
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,61 @@
1
+ module OpenAI
2
+ module Models
3
+ module Audio
4
+ type voice_consent_create_params =
5
+ {
6
+ language: String,
7
+ name: String,
8
+ recording: OpenAI::Internal::file_input,
9
+ ?request_options: OpenAI::request_opts
10
+ }
11
+
12
+ class VoiceConsentCreateParams < OpenAI::Internal::Type::BaseModel
13
+ extend OpenAI::Internal::Type::RequestParameters::Converter
14
+ include OpenAI::Internal::Type::RequestParameters
15
+
16
+ # The BCP 47 language tag for the consent phrase (for example, `en-US`).
17
+ attr_accessor language: String
18
+
19
+ # The label to use for this consent recording.
20
+ attr_accessor name: String
21
+
22
+ # The consent audio recording file. Maximum size is 10 MiB.
23
+ #
24
+ # Supported MIME types: `audio/mpeg`, `audio/wav`, `audio/x-wav`, `audio/ogg`,
25
+ # `audio/aac`, `audio/flac`, `audio/webm`, `audio/mp4`.
26
+ #
27
+ # `String`, `StringIO`, and pathless `IO` inputs are sent with generic upload
28
+ # metadata. Use `OpenAI::FilePart` when you need to override the filename or
29
+ # content type.
30
+ attr_accessor recording: OpenAI::Internal::file_input
31
+
32
+ # @param language
33
+ # The BCP 47 language tag for the consent phrase (for example, `en-US`).
34
+ # @param name
35
+ # The label to use for this consent recording.
36
+ # @param recording
37
+ # The consent audio recording file. Maximum size is 10 MiB.
38
+ #
39
+ # Supported MIME types: `audio/mpeg`, `audio/wav`, `audio/x-wav`, `audio/ogg`,
40
+ # `audio/aac`, `audio/flac`, `audio/webm`, `audio/mp4`.
41
+ #
42
+ # `String`, `StringIO`, and pathless `IO` inputs are sent with generic upload
43
+ # metadata. Use `OpenAI::FilePart` when you need to override the filename or
44
+ # content type.
45
+ def initialize: (
46
+ language: String,
47
+ name: String,
48
+ recording: OpenAI::Internal::file_input,
49
+ ?request_options: OpenAI::request_opts
50
+ ) -> void
51
+
52
+ def to_hash: -> {
53
+ language: String,
54
+ name: String,
55
+ recording: OpenAI::Internal::file_input,
56
+ ?request_options: OpenAI::RequestOptions
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,25 @@
1
+ module OpenAI
2
+ module Models
3
+ module Audio
4
+ type voice_consent_delete_params =
5
+ { consent_id: String, ?request_options: OpenAI::request_opts }
6
+
7
+ class VoiceConsentDeleteParams < OpenAI::Internal::Type::BaseModel
8
+ extend OpenAI::Internal::Type::RequestParameters::Converter
9
+ include OpenAI::Internal::Type::RequestParameters
10
+
11
+ attr_accessor consent_id: String
12
+
13
+ def initialize: (
14
+ consent_id: String,
15
+ ?request_options: OpenAI::request_opts
16
+ ) -> void
17
+
18
+ def to_hash: -> {
19
+ consent_id: String,
20
+ ?request_options: OpenAI::RequestOptions
21
+ }
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,31 @@
1
+ module OpenAI
2
+ module Models
3
+ module Audio
4
+ type voice_consent_deleted =
5
+ { id: String, deleted: bool, ?object: :"audio.voice_consent" }
6
+
7
+ class VoiceConsentDeleted < OpenAI::Internal::Type::BaseModel
8
+ # The consent recording identifier.
9
+ attr_accessor id: String
10
+
11
+ attr_accessor deleted: bool
12
+
13
+ attr_accessor object: :"audio.voice_consent"
14
+
15
+ # @param id
16
+ # The consent recording identifier.
17
+ def initialize: (
18
+ id: String,
19
+ deleted: bool,
20
+ ?object: :"audio.voice_consent"
21
+ ) -> void
22
+
23
+ def to_hash: -> {
24
+ id: String,
25
+ deleted: bool,
26
+ ?object: :"audio.voice_consent"
27
+ }
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,57 @@
1
+ module OpenAI
2
+ module Models
3
+ module Audio
4
+ type voice_consent_list_params =
5
+ {
6
+ ?after: String,
7
+ ?limit: Integer,
8
+ ?request_options: OpenAI::request_opts
9
+ }
10
+
11
+ class VoiceConsentListParams < OpenAI::Internal::Type::BaseModel
12
+ extend OpenAI::Internal::Type::RequestParameters::Converter
13
+ include OpenAI::Internal::Type::RequestParameters
14
+
15
+ # A cursor for use in pagination. `after` is an object ID that defines your place
16
+ # in the list. For instance, if you make a list request and receive 100 objects,
17
+ # ending with obj_foo, your subsequent call can include after=obj_foo in order to
18
+ # fetch the next page of the list.
19
+ attr_reader after: String?
20
+
21
+ # A cursor for use in pagination. `after` is an object ID that defines your place
22
+ # in the list. For instance, if you make a list request and receive 100 objects,
23
+ # ending with obj_foo, your subsequent call can include after=obj_foo in order to
24
+ # fetch the next page of the list.
25
+ def after=: (String) -> String
26
+
27
+ # A limit on the number of objects to be returned. Limit can range between 1 and
28
+ # 100, and the default is 20.
29
+ attr_reader limit: Integer?
30
+
31
+ # A limit on the number of objects to be returned. Limit can range between 1 and
32
+ # 100, and the default is 20.
33
+ def limit=: (Integer) -> Integer
34
+
35
+ # @param after
36
+ # A cursor for use in pagination. `after` is an object ID that defines your place
37
+ # in the list. For instance, if you make a list request and receive 100 objects,
38
+ # ending with obj_foo, your subsequent call can include after=obj_foo in order to
39
+ # fetch the next page of the list.
40
+ # @param limit
41
+ # A limit on the number of objects to be returned. Limit can range between 1 and
42
+ # 100, and the default is 20.
43
+ def initialize: (
44
+ ?after: String,
45
+ ?limit: Integer,
46
+ ?request_options: OpenAI::request_opts
47
+ ) -> void
48
+
49
+ def to_hash: -> {
50
+ ?after: String,
51
+ ?limit: Integer,
52
+ ?request_options: OpenAI::RequestOptions
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,25 @@
1
+ module OpenAI
2
+ module Models
3
+ module Audio
4
+ type voice_consent_retrieve_params =
5
+ { consent_id: String, ?request_options: OpenAI::request_opts }
6
+
7
+ class VoiceConsentRetrieveParams < OpenAI::Internal::Type::BaseModel
8
+ extend OpenAI::Internal::Type::RequestParameters::Converter
9
+ include OpenAI::Internal::Type::RequestParameters
10
+
11
+ attr_accessor consent_id: String
12
+
13
+ def initialize: (
14
+ consent_id: String,
15
+ ?request_options: OpenAI::request_opts
16
+ ) -> void
17
+
18
+ def to_hash: -> {
19
+ consent_id: String,
20
+ ?request_options: OpenAI::RequestOptions
21
+ }
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,36 @@
1
+ module OpenAI
2
+ module Models
3
+ module Audio
4
+ type voice_consent_update_params =
5
+ {
6
+ consent_id: String,
7
+ name: String,
8
+ ?request_options: OpenAI::request_opts
9
+ }
10
+
11
+ class VoiceConsentUpdateParams < OpenAI::Internal::Type::BaseModel
12
+ extend OpenAI::Internal::Type::RequestParameters::Converter
13
+ include OpenAI::Internal::Type::RequestParameters
14
+
15
+ attr_accessor consent_id: String
16
+
17
+ # The updated label for this consent recording.
18
+ attr_accessor name: String
19
+
20
+ # @param name
21
+ # The updated label for this consent recording.
22
+ def initialize: (
23
+ consent_id: String,
24
+ name: String,
25
+ ?request_options: OpenAI::request_opts
26
+ ) -> void
27
+
28
+ def to_hash: -> {
29
+ consent_id: String,
30
+ name: String,
31
+ ?request_options: OpenAI::RequestOptions
32
+ }
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,38 @@
1
+ module OpenAI
2
+ module Resources
3
+ class Audio
4
+ class VoiceConsents
5
+ def create: (
6
+ language: String,
7
+ name: String,
8
+ recording: OpenAI::Internal::file_input,
9
+ ?request_options: OpenAI::request_opts
10
+ ) -> OpenAI::Audio::VoiceConsent
11
+
12
+ def retrieve: (
13
+ String consent_id,
14
+ ?request_options: OpenAI::request_opts
15
+ ) -> OpenAI::Audio::VoiceConsent
16
+
17
+ def update: (
18
+ String consent_id,
19
+ name: String,
20
+ ?request_options: OpenAI::request_opts
21
+ ) -> OpenAI::Audio::VoiceConsent
22
+
23
+ def list: (
24
+ ?after: String,
25
+ ?limit: Integer,
26
+ ?request_options: OpenAI::request_opts
27
+ ) -> OpenAI::Internal::CursorPage[OpenAI::Audio::VoiceConsent]
28
+
29
+ def delete: (
30
+ String consent_id,
31
+ ?request_options: OpenAI::request_opts
32
+ ) -> OpenAI::Audio::VoiceConsentDeleted
33
+
34
+ def initialize: (client: OpenAI::Client) -> void
35
+ end
36
+ end
37
+ end
38
+ end
@@ -9,6 +9,8 @@ module OpenAI
9
9
 
10
10
  attr_reader voices: OpenAI::Resources::Audio::Voices
11
11
 
12
+ attr_reader voice_consents: OpenAI::Resources::Audio::VoiceConsents
13
+
12
14
  def initialize: (client: OpenAI::Client) -> void
13
15
  end
14
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.107.0
4
+ version: 0.108.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAI
@@ -59,6 +59,7 @@ files:
59
59
  - bedrock.md
60
60
  - docs/architecture/security-model.md
61
61
  - examples/audio/record_and_play.rb
62
+ - examples/chat/tool_runner.rb
62
63
  - examples/mtls_custom_http_client.rb
63
64
  - examples/realtime/README.md
64
65
  - examples/realtime/browser/README.md
@@ -103,6 +104,7 @@ files:
103
104
  - lib/openai/helpers/beta/agents/tool_dispatcher.rb
104
105
  - lib/openai/helpers/beta/agents/tool_error.rb
105
106
  - lib/openai/helpers/beta/agents/typed_output.rb
107
+ - lib/openai/helpers/chat/tool_runner.rb
106
108
  - lib/openai/helpers/client_options.rb
107
109
  - lib/openai/helpers/client_runtime.rb
108
110
  - lib/openai/helpers/data_residency.rb
@@ -442,6 +444,13 @@ files:
442
444
  - lib/openai/models/audio/translation_create_response.rb
443
445
  - lib/openai/models/audio/translation_verbose.rb
444
446
  - lib/openai/models/audio/voice.rb
447
+ - lib/openai/models/audio/voice_consent.rb
448
+ - lib/openai/models/audio/voice_consent_create_params.rb
449
+ - lib/openai/models/audio/voice_consent_delete_params.rb
450
+ - lib/openai/models/audio/voice_consent_deleted.rb
451
+ - lib/openai/models/audio/voice_consent_list_params.rb
452
+ - lib/openai/models/audio/voice_consent_retrieve_params.rb
453
+ - lib/openai/models/audio/voice_consent_update_params.rb
445
454
  - lib/openai/models/audio/voice_create_params.rb
446
455
  - lib/openai/models/audio_model.rb
447
456
  - lib/openai/models/audio_response_format.rb
@@ -1677,6 +1686,7 @@ files:
1677
1686
  - lib/openai/resources/audio/speech.rb
1678
1687
  - lib/openai/resources/audio/transcriptions.rb
1679
1688
  - lib/openai/resources/audio/translations.rb
1689
+ - lib/openai/resources/audio/voice_consents.rb
1680
1690
  - lib/openai/resources/audio/voices.rb
1681
1691
  - lib/openai/resources/batches.rb
1682
1692
  - lib/openai/resources/beta.rb
@@ -1786,6 +1796,7 @@ files:
1786
1796
  - rbi/openai/helpers/beta/agents/function_tool.rbi
1787
1797
  - rbi/openai/helpers/beta/agents/model_adapter.rbi
1788
1798
  - rbi/openai/helpers/beta/agents/tool_error.rbi
1799
+ - rbi/openai/helpers/chat/tool_runner.rbi
1789
1800
  - rbi/openai/helpers/client_options.rbi
1790
1801
  - rbi/openai/helpers/client_runtime.rbi
1791
1802
  - rbi/openai/helpers/data_residency.rbi
@@ -2098,6 +2109,13 @@ files:
2098
2109
  - rbi/openai/models/audio/translation_create_response.rbi
2099
2110
  - rbi/openai/models/audio/translation_verbose.rbi
2100
2111
  - rbi/openai/models/audio/voice.rbi
2112
+ - rbi/openai/models/audio/voice_consent.rbi
2113
+ - rbi/openai/models/audio/voice_consent_create_params.rbi
2114
+ - rbi/openai/models/audio/voice_consent_delete_params.rbi
2115
+ - rbi/openai/models/audio/voice_consent_deleted.rbi
2116
+ - rbi/openai/models/audio/voice_consent_list_params.rbi
2117
+ - rbi/openai/models/audio/voice_consent_retrieve_params.rbi
2118
+ - rbi/openai/models/audio/voice_consent_update_params.rbi
2101
2119
  - rbi/openai/models/audio/voice_create_params.rbi
2102
2120
  - rbi/openai/models/audio_model.rbi
2103
2121
  - rbi/openai/models/audio_response_format.rbi
@@ -3331,6 +3349,7 @@ files:
3331
3349
  - rbi/openai/resources/audio/speech.rbi
3332
3350
  - rbi/openai/resources/audio/transcriptions.rbi
3333
3351
  - rbi/openai/resources/audio/translations.rbi
3352
+ - rbi/openai/resources/audio/voice_consents.rbi
3334
3353
  - rbi/openai/resources/audio/voices.rbi
3335
3354
  - rbi/openai/resources/batches.rbi
3336
3355
  - rbi/openai/resources/beta.rbi
@@ -3440,6 +3459,7 @@ files:
3440
3459
  - sig/openai/helpers/beta/agents/function_tool.rbs
3441
3460
  - sig/openai/helpers/beta/agents/model_adapter.rbs
3442
3461
  - sig/openai/helpers/beta/agents/tool_error.rbs
3462
+ - sig/openai/helpers/chat/tool_runner.rbs
3443
3463
  - sig/openai/helpers/client_options.rbs
3444
3464
  - sig/openai/helpers/client_runtime.rbs
3445
3465
  - sig/openai/helpers/data_residency.rbs
@@ -3742,6 +3762,13 @@ files:
3742
3762
  - sig/openai/models/audio/translation_create_response.rbs
3743
3763
  - sig/openai/models/audio/translation_verbose.rbs
3744
3764
  - sig/openai/models/audio/voice.rbs
3765
+ - sig/openai/models/audio/voice_consent.rbs
3766
+ - sig/openai/models/audio/voice_consent_create_params.rbs
3767
+ - sig/openai/models/audio/voice_consent_delete_params.rbs
3768
+ - sig/openai/models/audio/voice_consent_deleted.rbs
3769
+ - sig/openai/models/audio/voice_consent_list_params.rbs
3770
+ - sig/openai/models/audio/voice_consent_retrieve_params.rbs
3771
+ - sig/openai/models/audio/voice_consent_update_params.rbs
3745
3772
  - sig/openai/models/audio/voice_create_params.rbs
3746
3773
  - sig/openai/models/audio_model.rbs
3747
3774
  - sig/openai/models/audio_response_format.rbs
@@ -4975,6 +5002,7 @@ files:
4975
5002
  - sig/openai/resources/audio/speech.rbs
4976
5003
  - sig/openai/resources/audio/transcriptions.rbs
4977
5004
  - sig/openai/resources/audio/translations.rbs
5005
+ - sig/openai/resources/audio/voice_consents.rbs
4978
5006
  - sig/openai/resources/audio/voices.rbs
4979
5007
  - sig/openai/resources/batches.rbs
4980
5008
  - sig/openai/resources/beta.rbs