diff --git a/.stats.yml b/.stats.yml index 535155f4a..63a44cebb 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 111 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-a473967d1766dc155994d932fbc4a5bcbd1c140a37c20d0a4065e1bf0640536d.yml -openapi_spec_hash: 67cdc62b0d6c8b1de29b7dc54b265749 +openapi_spec_hash: 21ceaf9a3984c9327d82ca2625f3a9dd config_hash: 7b53f96f897ca1b3407a5341a6f820db diff --git a/src/resources/chat/completions/completions.ts b/src/resources/chat/completions/completions.ts index 65a3dc76d..b9587680b 100644 --- a/src/resources/chat/completions/completions.ts +++ b/src/resources/chat/completions/completions.ts @@ -193,7 +193,7 @@ export interface ChatCompletion { * Can be used in conjunction with the `seed` request parameter to understand when * backend changes have been made that might impact determinism. */ - system_fingerprint?: string; + system_fingerprint?: string | null; /** * Usage statistics for the completion request. @@ -443,7 +443,7 @@ export interface ChatCompletionChunk { * Can be used in conjunction with the `seed` request parameter to understand when * backend changes have been made that might impact determinism. */ - system_fingerprint?: string; + system_fingerprint?: string | null; /** * An optional field that will only be present when you set diff --git a/src/resources/completions.ts b/src/resources/completions.ts index b15c3b5ad..f5deae378 100644 --- a/src/resources/completions.ts +++ b/src/resources/completions.ts @@ -71,7 +71,7 @@ export interface Completion { * Can be used in conjunction with the `seed` request parameter to understand when * backend changes have been made that might impact determinism. */ - system_fingerprint?: string; + system_fingerprint?: string | null; /** * Usage statistics for the completion request. diff --git a/src/resources/files.ts b/src/resources/files.ts index 839fbbf60..b856c2b83 100644 --- a/src/resources/files.ts +++ b/src/resources/files.ts @@ -116,8 +116,8 @@ export interface FileObject { /** * The intended purpose of the file. Supported values are `assistants`, - * `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results` - * and `vision`. + * `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, + * `vision` and `user_data`. */ purpose: | 'assistants' @@ -126,7 +126,8 @@ export interface FileObject { | 'batch_output' | 'fine-tune' | 'fine-tune-results' - | 'vision'; + | 'vision' + | 'user_data'; /** * @deprecated Deprecated. The current status of the file, which can be either diff --git a/src/resources/responses/responses.ts b/src/resources/responses/responses.ts index 818b3700f..a5b87a704 100644 --- a/src/resources/responses/responses.ts +++ b/src/resources/responses/responses.ts @@ -2809,9 +2809,9 @@ export interface ResponseMcpCallArgumentsDeltaEvent { sequence_number: number; /** - * The type of the event. Always 'response.mcp_call.arguments_delta'. + * The type of the event. Always 'response.mcp_call.arguments.delta'. */ - type: 'response.mcp_call.arguments_delta'; + type: 'response.mcp_call.arguments.delta'; } /** @@ -3499,9 +3499,9 @@ export interface ResponseOutputTextAnnotationAddedEvent { sequence_number: number; /** - * The type of the event. Always 'response.output_text_annotation.added'. + * The type of the event. Always 'response.output_text.annotation.added'. */ - type: 'response.output_text_annotation.added'; + type: 'response.output_text.annotation.added'; } /** diff --git a/yarn.lock b/yarn.lock index 58c08d5f1..37d4a4222 100644 --- a/yarn.lock +++ b/yarn.lock @@ -941,8 +941,6 @@ version "20.17.6" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.6.tgz#6e4073230c180d3579e8c60141f99efdf5df0081" integrity sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ== - dependencies: - undici-types "~6.19.2" "@types/stack-utils@^2.0.0": version "2.0.3" @@ -1340,13 +1338,6 @@ cli-highlight@^2.1.11: version "2.1.11" resolved "https://registry.yarnpkg.com/cli-highlight/-/cli-highlight-2.1.11.tgz#49736fa452f0aaf4fae580e30acb26828d2dc1bf" integrity sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg== - dependencies: - chalk "^4.0.0" - highlight.js "^10.7.1" - mz "^2.4.0" - parse5 "^5.1.1" - parse5-htmlparser2-tree-adapter "^6.0.0" - yargs "^16.0.0" cli-table3@^0.6.3, cli-table3@^0.6.5: version "0.6.5" @@ -1389,8 +1380,6 @@ color-convert@^1.9.0: version "1.9.3" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== - dependencies: - color-name "1.1.3" color-convert@^2.0.1: version "2.0.1" @@ -2217,9 +2206,6 @@ jest-leak-detector@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz#5b7ec0dadfdfec0ca383dc9aa016d36b5ea4c728" integrity sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw== - dependencies: - jest-get-type "^29.6.3" - pretty-format "^29.7.0" jest-matcher-utils@^29.7.0: version "29.7.0" @@ -3068,8 +3054,6 @@ skin-tone@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/skin-tone/-/skin-tone-2.0.0.tgz#4e3933ab45c0d4f4f781745d64b9f4c208e41237" integrity sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA== - dependencies: - unicode-emoji-modifier-base "^1.0.0" slash@^3.0.0: version "3.0.0" @@ -3120,10 +3104,6 @@ string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" string_decoder@^1.1.1: version "1.3.0"