@ai-sdk/openai 3.0.0-beta.87 → 3.0.0-beta.88
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.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +4 -4
- package/dist/internal/index.d.ts +4 -4
- package/dist/internal/index.js +2 -2
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +2 -2
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -137,13 +137,13 @@ type OpenAIResponsesFileSearchToolComparisonFilter = {
|
|
|
137
137
|
*/
|
|
138
138
|
key: string;
|
|
139
139
|
/**
|
|
140
|
-
* Specifies the comparison operator: eq, ne, gt, gte, lt, lte.
|
|
140
|
+
* Specifies the comparison operator: eq, ne, gt, gte, lt, lte, in, nin.
|
|
141
141
|
*/
|
|
142
|
-
type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
142
|
+
type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin';
|
|
143
143
|
/**
|
|
144
|
-
* The value to compare against the attribute key; supports string, number, or
|
|
144
|
+
* The value to compare against the attribute key; supports string, number, boolean, or array of string types.
|
|
145
145
|
*/
|
|
146
|
-
value: string | number | boolean;
|
|
146
|
+
value: string | number | boolean | string[];
|
|
147
147
|
};
|
|
148
148
|
/**
|
|
149
149
|
* Combine multiple filters using and or or.
|
package/dist/index.d.ts
CHANGED
|
@@ -137,13 +137,13 @@ type OpenAIResponsesFileSearchToolComparisonFilter = {
|
|
|
137
137
|
*/
|
|
138
138
|
key: string;
|
|
139
139
|
/**
|
|
140
|
-
* Specifies the comparison operator: eq, ne, gt, gte, lt, lte.
|
|
140
|
+
* Specifies the comparison operator: eq, ne, gt, gte, lt, lte, in, nin.
|
|
141
141
|
*/
|
|
142
|
-
type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
142
|
+
type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin';
|
|
143
143
|
/**
|
|
144
|
-
* The value to compare against the attribute key; supports string, number, or
|
|
144
|
+
* The value to compare against the attribute key; supports string, number, boolean, or array of string types.
|
|
145
145
|
*/
|
|
146
|
-
value: string | number | boolean;
|
|
146
|
+
value: string | number | boolean | string[];
|
|
147
147
|
};
|
|
148
148
|
/**
|
|
149
149
|
* Combine multiple filters using and or or.
|
package/dist/index.js
CHANGED
|
@@ -1839,8 +1839,8 @@ var import_provider_utils16 = require("@ai-sdk/provider-utils");
|
|
|
1839
1839
|
var import_v411 = require("zod/v4");
|
|
1840
1840
|
var comparisonFilterSchema = import_v411.z.object({
|
|
1841
1841
|
key: import_v411.z.string(),
|
|
1842
|
-
type: import_v411.z.enum(["eq", "ne", "gt", "gte", "lt", "lte"]),
|
|
1843
|
-
value: import_v411.z.union([import_v411.z.string(), import_v411.z.number(), import_v411.z.boolean()])
|
|
1842
|
+
type: import_v411.z.enum(["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin"]),
|
|
1843
|
+
value: import_v411.z.union([import_v411.z.string(), import_v411.z.number(), import_v411.z.boolean(), import_v411.z.array(import_v411.z.string())])
|
|
1844
1844
|
});
|
|
1845
1845
|
var compoundFilterSchema = import_v411.z.object({
|
|
1846
1846
|
type: import_v411.z.enum(["and", "or"]),
|
|
@@ -5404,7 +5404,7 @@ var OpenAITranscriptionModel = class {
|
|
|
5404
5404
|
};
|
|
5405
5405
|
|
|
5406
5406
|
// src/version.ts
|
|
5407
|
-
var VERSION = true ? "3.0.0-beta.
|
|
5407
|
+
var VERSION = true ? "3.0.0-beta.88" : "0.0.0-test";
|
|
5408
5408
|
|
|
5409
5409
|
// src/openai-provider.ts
|
|
5410
5410
|
function createOpenAI(options = {}) {
|