openai 6.42.0 → 6.44.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 (89) hide show
  1. package/CHANGELOG.md +30 -1
  2. package/README.md +1 -1
  3. package/lib/AbstractChatCompletionRunner.d.mts.map +1 -1
  4. package/lib/AbstractChatCompletionRunner.d.ts.map +1 -1
  5. package/lib/AbstractChatCompletionRunner.js +6 -1
  6. package/lib/AbstractChatCompletionRunner.js.map +1 -1
  7. package/lib/AbstractChatCompletionRunner.mjs +6 -1
  8. package/lib/AbstractChatCompletionRunner.mjs.map +1 -1
  9. package/package.json +2 -11
  10. package/resources/admin/organization/admin-api-keys.d.mts +9 -0
  11. package/resources/admin/organization/admin-api-keys.d.mts.map +1 -1
  12. package/resources/admin/organization/admin-api-keys.d.ts +9 -0
  13. package/resources/admin/organization/admin-api-keys.d.ts.map +1 -1
  14. package/resources/admin/organization/audit-logs.d.mts +113 -3
  15. package/resources/admin/organization/audit-logs.d.mts.map +1 -1
  16. package/resources/admin/organization/audit-logs.d.ts +113 -3
  17. package/resources/admin/organization/audit-logs.d.ts.map +1 -1
  18. package/resources/admin/organization/projects/index.d.mts +1 -1
  19. package/resources/admin/organization/projects/index.d.mts.map +1 -1
  20. package/resources/admin/organization/projects/index.d.ts +1 -1
  21. package/resources/admin/organization/projects/index.d.ts.map +1 -1
  22. package/resources/admin/organization/projects/index.js.map +1 -1
  23. package/resources/admin/organization/projects/index.mjs.map +1 -1
  24. package/resources/admin/organization/projects/projects.d.mts +2 -2
  25. package/resources/admin/organization/projects/projects.d.mts.map +1 -1
  26. package/resources/admin/organization/projects/projects.d.ts +2 -2
  27. package/resources/admin/organization/projects/projects.d.ts.map +1 -1
  28. package/resources/admin/organization/projects/projects.js.map +1 -1
  29. package/resources/admin/organization/projects/projects.mjs.map +1 -1
  30. package/resources/admin/organization/projects/spend-alerts.d.mts +20 -1
  31. package/resources/admin/organization/projects/spend-alerts.d.mts.map +1 -1
  32. package/resources/admin/organization/projects/spend-alerts.d.ts +20 -1
  33. package/resources/admin/organization/projects/spend-alerts.d.ts.map +1 -1
  34. package/resources/admin/organization/projects/spend-alerts.js +19 -0
  35. package/resources/admin/organization/projects/spend-alerts.js.map +1 -1
  36. package/resources/admin/organization/projects/spend-alerts.mjs +19 -0
  37. package/resources/admin/organization/projects/spend-alerts.mjs.map +1 -1
  38. package/resources/admin/organization/spend-alerts.d.mts +12 -0
  39. package/resources/admin/organization/spend-alerts.d.mts.map +1 -1
  40. package/resources/admin/organization/spend-alerts.d.ts +12 -0
  41. package/resources/admin/organization/spend-alerts.d.ts.map +1 -1
  42. package/resources/admin/organization/spend-alerts.js +17 -0
  43. package/resources/admin/organization/spend-alerts.js.map +1 -1
  44. package/resources/admin/organization/spend-alerts.mjs +17 -0
  45. package/resources/admin/organization/spend-alerts.mjs.map +1 -1
  46. package/resources/realtime/client-secrets.d.mts +9 -4
  47. package/resources/realtime/client-secrets.d.mts.map +1 -1
  48. package/resources/realtime/client-secrets.d.ts +9 -4
  49. package/resources/realtime/client-secrets.d.ts.map +1 -1
  50. package/resources/realtime/realtime.d.mts +18 -8
  51. package/resources/realtime/realtime.d.mts.map +1 -1
  52. package/resources/realtime/realtime.d.ts +18 -8
  53. package/resources/realtime/realtime.d.ts.map +1 -1
  54. package/resources/realtime/realtime.js.map +1 -1
  55. package/resources/realtime/realtime.mjs.map +1 -1
  56. package/resources/responses/input-tokens.d.mts +6 -5
  57. package/resources/responses/input-tokens.d.mts.map +1 -1
  58. package/resources/responses/input-tokens.d.ts +6 -5
  59. package/resources/responses/input-tokens.d.ts.map +1 -1
  60. package/resources/responses/responses.d.mts +11 -6
  61. package/resources/responses/responses.d.mts.map +1 -1
  62. package/resources/responses/responses.d.ts +11 -6
  63. package/resources/responses/responses.d.ts.map +1 -1
  64. package/resources/responses/responses.js.map +1 -1
  65. package/resources/responses/responses.mjs.map +1 -1
  66. package/resources/shared.d.mts +6 -0
  67. package/resources/shared.d.mts.map +1 -1
  68. package/resources/shared.d.ts +6 -0
  69. package/resources/shared.d.ts.map +1 -1
  70. package/resources/videos.d.mts +1 -1
  71. package/resources/videos.d.ts +1 -1
  72. package/src/lib/AbstractChatCompletionRunner.ts +6 -1
  73. package/src/resources/admin/organization/admin-api-keys.ts +11 -0
  74. package/src/resources/admin/organization/audit-logs.ts +148 -1
  75. package/src/resources/admin/organization/projects/index.ts +1 -0
  76. package/src/resources/admin/organization/projects/projects.ts +2 -0
  77. package/src/resources/admin/organization/projects/spend-alerts.ts +32 -0
  78. package/src/resources/admin/organization/spend-alerts.ts +18 -0
  79. package/src/resources/realtime/client-secrets.ts +10 -4
  80. package/src/resources/realtime/realtime.ts +20 -8
  81. package/src/resources/responses/input-tokens.ts +6 -5
  82. package/src/resources/responses/responses.ts +12 -6
  83. package/src/resources/shared.ts +7 -0
  84. package/src/resources/videos.ts +1 -1
  85. package/src/version.ts +1 -1
  86. package/version.d.mts +1 -1
  87. package/version.d.ts +1 -1
  88. package/version.js +1 -1
  89. package/version.mjs +1 -1
@@ -104,6 +104,8 @@ export interface AuditLogListResponse {
104
104
  | 'role.deleted'
105
105
  | 'role.assignment.created'
106
106
  | 'role.assignment.deleted'
107
+ | 'role.bound_to_resource'
108
+ | 'role.unbound_from_resource'
107
109
  | 'scim.enabled'
108
110
  | 'scim.disabled'
109
111
  | 'service_account.created'
@@ -306,6 +308,11 @@ export interface AuditLogListResponse {
306
308
  */
307
309
  'role.assignment.deleted'?: AuditLogListResponse.RoleAssignmentDeleted;
308
310
 
311
+ /**
312
+ * The details for events with this `type`.
313
+ */
314
+ 'role.bound_to_resource'?: AuditLogListResponse.RoleBoundToResource;
315
+
309
316
  /**
310
317
  * The details for events with this `type`.
311
318
  */
@@ -316,6 +323,11 @@ export interface AuditLogListResponse {
316
323
  */
317
324
  'role.deleted'?: AuditLogListResponse.RoleDeleted;
318
325
 
326
+ /**
327
+ * The details for events with this `type`.
328
+ */
329
+ 'role.unbound_from_resource'?: AuditLogListResponse.RoleUnboundFromResource;
330
+
319
331
  /**
320
332
  * The details for events with this `type`.
321
333
  */
@@ -1252,6 +1264,68 @@ export namespace AuditLogListResponse {
1252
1264
  resource_type?: string;
1253
1265
  }
1254
1266
 
1267
+ /**
1268
+ * The details for events with this `type`.
1269
+ */
1270
+ export interface RoleBoundToResource {
1271
+ /**
1272
+ * The ID of the resource the role was bound to. ChatGPT workspace connector
1273
+ * resources use `<workspace_id>__<connector_id>`.
1274
+ */
1275
+ id?: string;
1276
+
1277
+ /**
1278
+ * The connector ID for a ChatGPT workspace connector resource.
1279
+ */
1280
+ connector_id?: string;
1281
+
1282
+ /**
1283
+ * The connector display name for a ChatGPT workspace connector resource, or the
1284
+ * connector ID when the display name could not be resolved.
1285
+ */
1286
+ connector_name?: string;
1287
+
1288
+ /**
1289
+ * Whether the connector is enabled for the role.
1290
+ */
1291
+ enabled?: boolean;
1292
+
1293
+ /**
1294
+ * The permissions granted to the role for the resource.
1295
+ */
1296
+ permissions?: Array<string>;
1297
+
1298
+ /**
1299
+ * The ID of the resource the role was bound to.
1300
+ */
1301
+ resource_id?: string;
1302
+
1303
+ /**
1304
+ * The type of resource the role was bound to.
1305
+ */
1306
+ resource_type?: string;
1307
+
1308
+ /**
1309
+ * The ID of the role that was bound to the resource.
1310
+ */
1311
+ role_id?: string;
1312
+
1313
+ /**
1314
+ * The connector role mutation path that produced the event.
1315
+ */
1316
+ source?:
1317
+ | 'role_toggle'
1318
+ | 'role_connector_update'
1319
+ | 'role_delete'
1320
+ | 'workspace_permissions'
1321
+ | 'connector_publish';
1322
+
1323
+ /**
1324
+ * The workspace ID for a ChatGPT workspace connector resource.
1325
+ */
1326
+ workspace_id?: string;
1327
+ }
1328
+
1255
1329
  /**
1256
1330
  * The details for events with this `type`.
1257
1331
  */
@@ -1292,6 +1366,68 @@ export namespace AuditLogListResponse {
1292
1366
  id?: string;
1293
1367
  }
1294
1368
 
1369
+ /**
1370
+ * The details for events with this `type`.
1371
+ */
1372
+ export interface RoleUnboundFromResource {
1373
+ /**
1374
+ * The ID of the resource the role was unbound from. ChatGPT workspace connector
1375
+ * resources use `<workspace_id>__<connector_id>`.
1376
+ */
1377
+ id?: string;
1378
+
1379
+ /**
1380
+ * The connector ID for a ChatGPT workspace connector resource.
1381
+ */
1382
+ connector_id?: string;
1383
+
1384
+ /**
1385
+ * The connector display name for a ChatGPT workspace connector resource, or the
1386
+ * connector ID when the display name could not be resolved.
1387
+ */
1388
+ connector_name?: string;
1389
+
1390
+ /**
1391
+ * Whether the connector is enabled for the role.
1392
+ */
1393
+ enabled?: boolean;
1394
+
1395
+ /**
1396
+ * The permissions remaining for the role after the change.
1397
+ */
1398
+ permissions?: Array<string>;
1399
+
1400
+ /**
1401
+ * The ID of the resource the role was unbound from.
1402
+ */
1403
+ resource_id?: string;
1404
+
1405
+ /**
1406
+ * The type of resource the role was unbound from.
1407
+ */
1408
+ resource_type?: string;
1409
+
1410
+ /**
1411
+ * The ID of the role that was unbound from the resource.
1412
+ */
1413
+ role_id?: string;
1414
+
1415
+ /**
1416
+ * The connector role mutation path that produced the event.
1417
+ */
1418
+ source?:
1419
+ | 'role_toggle'
1420
+ | 'role_connector_update'
1421
+ | 'role_delete'
1422
+ | 'workspace_permissions'
1423
+ | 'connector_publish';
1424
+
1425
+ /**
1426
+ * The workspace ID for a ChatGPT workspace connector resource.
1427
+ */
1428
+ workspace_id?: string;
1429
+ }
1430
+
1295
1431
  /**
1296
1432
  * The details for events with this `type`.
1297
1433
  */
@@ -1688,6 +1824,8 @@ export interface AuditLogListParams extends ConversationCursorPageParams {
1688
1824
  | 'role.deleted'
1689
1825
  | 'role.assignment.created'
1690
1826
  | 'role.assignment.deleted'
1827
+ | 'role.bound_to_resource'
1828
+ | 'role.unbound_from_resource'
1691
1829
  | 'scim.enabled'
1692
1830
  | 'scim.disabled'
1693
1831
  | 'service_account.created'
@@ -1705,9 +1843,18 @@ export interface AuditLogListParams extends ConversationCursorPageParams {
1705
1843
 
1706
1844
  /**
1707
1845
  * Return only events performed on these targets. For example, a project ID
1708
- * updated.
1846
+ * updated. For ChatGPT connector role events, use the workspace connector resource
1847
+ * ID shown in `details.id`, such as `<workspace_id>__<connector_id>`.
1709
1848
  */
1710
1849
  resource_ids?: Array<string>;
1850
+
1851
+ /**
1852
+ * Return only tenant-scoped events associated with this organization. Required for
1853
+ * tenant-scoped events such as `role.bound_to_resource` and
1854
+ * `role.unbound_from_resource`. When `true`, all supplied event types must be
1855
+ * tenant-scoped.
1856
+ */
1857
+ tenant_only?: boolean;
1711
1858
  }
1712
1859
 
1713
1860
  export namespace AuditLogListParams {
@@ -84,6 +84,7 @@ export {
84
84
  type ProjectSpendAlert,
85
85
  type ProjectSpendAlertDeleted,
86
86
  type SpendAlertCreateParams,
87
+ type SpendAlertRetrieveParams,
87
88
  type SpendAlertUpdateParams,
88
89
  type SpendAlertListParams,
89
90
  type SpendAlertDeleteParams,
@@ -78,6 +78,7 @@ import {
78
78
  SpendAlertCreateParams,
79
79
  SpendAlertDeleteParams,
80
80
  SpendAlertListParams,
81
+ SpendAlertRetrieveParams,
81
82
  SpendAlertUpdateParams,
82
83
  SpendAlerts,
83
84
  } from './spend-alerts';
@@ -425,6 +426,7 @@ export declare namespace Projects {
425
426
  type ProjectSpendAlertDeleted as ProjectSpendAlertDeleted,
426
427
  type ProjectSpendAlertsPage as ProjectSpendAlertsPage,
427
428
  type SpendAlertCreateParams as SpendAlertCreateParams,
429
+ type SpendAlertRetrieveParams as SpendAlertRetrieveParams,
428
430
  type SpendAlertUpdateParams as SpendAlertUpdateParams,
429
431
  type SpendAlertListParams as SpendAlertListParams,
430
432
  type SpendAlertDeleteParams as SpendAlertDeleteParams,
@@ -43,6 +43,30 @@ export class SpendAlerts extends APIResource {
43
43
  });
44
44
  }
45
45
 
46
+ /**
47
+ * Retrieves a project spend alert.
48
+ *
49
+ * @example
50
+ * ```ts
51
+ * const projectSpendAlert =
52
+ * await client.admin.organization.projects.spendAlerts.retrieve(
53
+ * 'alert_id',
54
+ * { project_id: 'project_id' },
55
+ * );
56
+ * ```
57
+ */
58
+ retrieve(
59
+ alertID: string,
60
+ params: SpendAlertRetrieveParams,
61
+ options?: RequestOptions,
62
+ ): APIPromise<ProjectSpendAlert> {
63
+ const { project_id } = params;
64
+ return this._client.get(path`/organization/projects/${project_id}/spend_alerts/${alertID}`, {
65
+ ...options,
66
+ __security: { adminAPIKeyAuth: true },
67
+ });
68
+ }
69
+
46
70
  /**
47
71
  * Updates a project spend alert.
48
72
  *
@@ -250,6 +274,13 @@ export namespace SpendAlertCreateParams {
250
274
  }
251
275
  }
252
276
 
277
+ export interface SpendAlertRetrieveParams {
278
+ /**
279
+ * The ID of the project.
280
+ */
281
+ project_id: string;
282
+ }
283
+
253
284
  export interface SpendAlertUpdateParams {
254
285
  /**
255
286
  * Path param: The ID of the project to update.
@@ -325,6 +356,7 @@ export declare namespace SpendAlerts {
325
356
  type ProjectSpendAlertDeleted as ProjectSpendAlertDeleted,
326
357
  type ProjectSpendAlertsPage as ProjectSpendAlertsPage,
327
358
  type SpendAlertCreateParams as SpendAlertCreateParams,
359
+ type SpendAlertRetrieveParams as SpendAlertRetrieveParams,
328
360
  type SpendAlertUpdateParams as SpendAlertUpdateParams,
329
361
  type SpendAlertListParams as SpendAlertListParams,
330
362
  type SpendAlertDeleteParams as SpendAlertDeleteParams,
@@ -36,6 +36,24 @@ export class SpendAlerts extends APIResource {
36
36
  });
37
37
  }
38
38
 
39
+ /**
40
+ * Retrieves an organization spend alert.
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * const organizationSpendAlert =
45
+ * await client.admin.organization.spendAlerts.retrieve(
46
+ * 'alert_id',
47
+ * );
48
+ * ```
49
+ */
50
+ retrieve(alertID: string, options?: RequestOptions): APIPromise<OrganizationSpendAlert> {
51
+ return this._client.get(path`/organization/spend_alerts/${alertID}`, {
52
+ ...options,
53
+ __security: { adminAPIKeyAuth: true },
54
+ });
55
+ }
56
+
39
57
  /**
40
58
  * Updates an organization spend alert.
41
59
  *
@@ -421,8 +421,8 @@ export namespace RealtimeSessionCreateResponse {
421
421
 
422
422
  /**
423
423
  * Identifier for service connectors, like those available in ChatGPT. One of
424
- * `server_url` or `connector_id` must be provided. Learn more about service
425
- * connectors
424
+ * `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more about
425
+ * service connectors
426
426
  * [here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
427
427
  *
428
428
  * Currently supported `connector_id` values are:
@@ -468,10 +468,16 @@ export namespace RealtimeSessionCreateResponse {
468
468
  server_description?: string;
469
469
 
470
470
  /**
471
- * The URL for the MCP server. One of `server_url` or `connector_id` must be
472
- * provided.
471
+ * The URL for the MCP server. One of `server_url`, `connector_id`, or `tunnel_id`
472
+ * must be provided.
473
473
  */
474
474
  server_url?: string;
475
+
476
+ /**
477
+ * The Secure MCP Tunnel ID to use instead of a direct server URL. One of
478
+ * `server_url`, `connector_id`, or `tunnel_id` must be provided.
479
+ */
480
+ tunnel_id?: string;
475
481
  }
476
482
 
477
483
  export namespace McpTool {
@@ -2236,8 +2236,8 @@ export interface RealtimeResponseCreateMcpTool {
2236
2236
 
2237
2237
  /**
2238
2238
  * Identifier for service connectors, like those available in ChatGPT. One of
2239
- * `server_url` or `connector_id` must be provided. Learn more about service
2240
- * connectors
2239
+ * `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more about
2240
+ * service connectors
2241
2241
  * [here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
2242
2242
  *
2243
2243
  * Currently supported `connector_id` values are:
@@ -2283,10 +2283,16 @@ export interface RealtimeResponseCreateMcpTool {
2283
2283
  server_description?: string;
2284
2284
 
2285
2285
  /**
2286
- * The URL for the MCP server. One of `server_url` or `connector_id` must be
2287
- * provided.
2286
+ * The URL for the MCP server. One of `server_url`, `connector_id`, or `tunnel_id`
2287
+ * must be provided.
2288
2288
  */
2289
2289
  server_url?: string;
2290
+
2291
+ /**
2292
+ * The Secure MCP Tunnel ID to use instead of a direct server URL. One of
2293
+ * `server_url`, `connector_id`, or `tunnel_id` must be provided.
2294
+ */
2295
+ tunnel_id?: string;
2290
2296
  }
2291
2297
 
2292
2298
  export namespace RealtimeResponseCreateMcpTool {
@@ -3277,8 +3283,8 @@ export namespace RealtimeToolsConfigUnion {
3277
3283
 
3278
3284
  /**
3279
3285
  * Identifier for service connectors, like those available in ChatGPT. One of
3280
- * `server_url` or `connector_id` must be provided. Learn more about service
3281
- * connectors
3286
+ * `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more about
3287
+ * service connectors
3282
3288
  * [here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
3283
3289
  *
3284
3290
  * Currently supported `connector_id` values are:
@@ -3324,10 +3330,16 @@ export namespace RealtimeToolsConfigUnion {
3324
3330
  server_description?: string;
3325
3331
 
3326
3332
  /**
3327
- * The URL for the MCP server. One of `server_url` or `connector_id` must be
3328
- * provided.
3333
+ * The URL for the MCP server. One of `server_url`, `connector_id`, or `tunnel_id`
3334
+ * must be provided.
3329
3335
  */
3330
3336
  server_url?: string;
3337
+
3338
+ /**
3339
+ * The Secure MCP Tunnel ID to use instead of a direct server URL. One of
3340
+ * `server_url`, `connector_id`, or `tunnel_id` must be provided.
3341
+ */
3342
+ tunnel_id?: string;
3331
3343
  }
3332
3344
 
3333
3345
  export namespace Mcp {
@@ -123,11 +123,12 @@ export interface InputTokenCountParams {
123
123
  tools?: Array<ResponsesAPI.Tool> | null;
124
124
 
125
125
  /**
126
- * The truncation strategy to use for the model response. - `auto`: If the input to
127
- * this Response exceeds the model's context window size, the model will truncate
128
- * the response to fit the context window by dropping items from the beginning of
129
- * the conversation. - `disabled` (default): If the input size will exceed the
130
- * context window size for a model, the request will fail with a 400 error.
126
+ * @deprecated The truncation strategy to use for the model response. - `auto`: If
127
+ * the input to this Response exceeds the model's context window size, the model
128
+ * will truncate the response to fit the context window by dropping items from the
129
+ * beginning of the conversation. - `disabled` (default): If the input size will
130
+ * exceed the context window size for a model, the request will fail with a 400
131
+ * error.
131
132
  */
132
133
  truncation?: 'auto' | 'disabled';
133
134
  }
@@ -6954,7 +6954,7 @@ export interface ResponsesClientEvent {
6954
6954
  top_p?: number | null;
6955
6955
 
6956
6956
  /**
6957
- * The truncation strategy to use for the model response.
6957
+ * @deprecated The truncation strategy to use for the model response.
6958
6958
  *
6959
6959
  * - `auto`: If the input to this Response exceeds the model's context window size,
6960
6960
  * the model will truncate the response to fit the context window by dropping
@@ -7141,8 +7141,8 @@ export namespace Tool {
7141
7141
 
7142
7142
  /**
7143
7143
  * Identifier for service connectors, like those available in ChatGPT. One of
7144
- * `server_url` or `connector_id` must be provided. Learn more about service
7145
- * connectors
7144
+ * `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more about
7145
+ * service connectors
7146
7146
  * [here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
7147
7147
  *
7148
7148
  * Currently supported `connector_id` values are:
@@ -7188,10 +7188,16 @@ export namespace Tool {
7188
7188
  server_description?: string;
7189
7189
 
7190
7190
  /**
7191
- * The URL for the MCP server. One of `server_url` or `connector_id` must be
7192
- * provided.
7191
+ * The URL for the MCP server. One of `server_url`, `connector_id`, or `tunnel_id`
7192
+ * must be provided.
7193
7193
  */
7194
7194
  server_url?: string;
7195
+
7196
+ /**
7197
+ * The Secure MCP Tunnel ID to use instead of a direct server URL. One of
7198
+ * `server_url`, `connector_id`, or `tunnel_id` must be provided.
7199
+ */
7200
+ tunnel_id?: string;
7195
7201
  }
7196
7202
 
7197
7203
  export namespace Mcp {
@@ -8024,7 +8030,7 @@ export interface ResponseCreateParamsBase {
8024
8030
  top_p?: number | null;
8025
8031
 
8026
8032
  /**
8027
- * The truncation strategy to use for the model response.
8033
+ * @deprecated The truncation strategy to use for the model response.
8028
8034
  *
8029
8035
  * - `auto`: If the input to this Response exceeds the model's context window size,
8030
8036
  * the model will truncate the response to fit the context window by dropping
@@ -257,6 +257,13 @@ export type OAuthErrorCode = 'invalid_grant' | 'invalid_subject_token' | (string
257
257
  * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
258
258
  */
259
259
  export interface Reasoning {
260
+ /**
261
+ * Controls which reasoning items are rendered back to the model on later turns.
262
+ * When returned on a response, this is the effective reasoning context mode used
263
+ * for the response.
264
+ */
265
+ context?: 'auto' | 'current_turn' | 'all_turns' | null;
266
+
260
267
  /**
261
268
  * Constrains effort on reasoning for
262
269
  * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
@@ -355,7 +355,7 @@ export interface VideoEditParams {
355
355
 
356
356
  export namespace VideoEditParams {
357
357
  /**
358
- * Reference to the completed video.
358
+ * Reference to the completed video to edit.
359
359
  */
360
360
  export interface VideoReferenceInputParam {
361
361
  /**
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '6.42.0'; // x-release-please-version
1
+ export const VERSION = '6.44.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.42.0";
1
+ export declare const VERSION = "6.44.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.42.0";
1
+ export declare const VERSION = "6.44.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '6.42.0'; // x-release-please-version
4
+ exports.VERSION = '6.44.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '6.42.0'; // x-release-please-version
1
+ export const VERSION = '6.44.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map