@ai-sdk/openai 2.0.79 → 2.0.80
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 +5 -5
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
|
@@ -1803,8 +1803,8 @@ var import_provider_utils15 = require("@ai-sdk/provider-utils");
|
|
|
1803
1803
|
var import_v410 = require("zod/v4");
|
|
1804
1804
|
var comparisonFilterSchema = import_v410.z.object({
|
|
1805
1805
|
key: import_v410.z.string(),
|
|
1806
|
-
type: import_v410.z.enum(["eq", "ne", "gt", "gte", "lt", "lte"]),
|
|
1807
|
-
value: import_v410.z.union([import_v410.z.string(), import_v410.z.number(), import_v410.z.boolean()])
|
|
1806
|
+
type: import_v410.z.enum(["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin"]),
|
|
1807
|
+
value: import_v410.z.union([import_v410.z.string(), import_v410.z.number(), import_v410.z.boolean(), import_v410.z.array(import_v410.z.string())])
|
|
1808
1808
|
});
|
|
1809
1809
|
var compoundFilterSchema = import_v410.z.object({
|
|
1810
1810
|
type: import_v410.z.enum(["and", "or"]),
|
|
@@ -4541,7 +4541,7 @@ var OpenAITranscriptionModel = class {
|
|
|
4541
4541
|
};
|
|
4542
4542
|
|
|
4543
4543
|
// src/version.ts
|
|
4544
|
-
var VERSION = true ? "2.0.
|
|
4544
|
+
var VERSION = true ? "2.0.80" : "0.0.0-test";
|
|
4545
4545
|
|
|
4546
4546
|
// src/openai-provider.ts
|
|
4547
4547
|
function createOpenAI(options = {}) {
|