@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
|
@@ -419,13 +419,13 @@ type OpenAIResponsesFileSearchToolComparisonFilter = {
|
|
|
419
419
|
*/
|
|
420
420
|
key: string;
|
|
421
421
|
/**
|
|
422
|
-
* Specifies the comparison operator: eq, ne, gt, gte, lt, lte.
|
|
422
|
+
* Specifies the comparison operator: eq, ne, gt, gte, lt, lte, in, nin.
|
|
423
423
|
*/
|
|
424
|
-
type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
424
|
+
type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin';
|
|
425
425
|
/**
|
|
426
|
-
* The value to compare against the attribute key; supports string, number, or
|
|
426
|
+
* The value to compare against the attribute key; supports string, number, boolean, or array of string types.
|
|
427
427
|
*/
|
|
428
|
-
value: string | number | boolean;
|
|
428
|
+
value: string | number | boolean | string[];
|
|
429
429
|
};
|
|
430
430
|
/**
|
|
431
431
|
* Combine multiple filters using and or or.
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -419,13 +419,13 @@ type OpenAIResponsesFileSearchToolComparisonFilter = {
|
|
|
419
419
|
*/
|
|
420
420
|
key: string;
|
|
421
421
|
/**
|
|
422
|
-
* Specifies the comparison operator: eq, ne, gt, gte, lt, lte.
|
|
422
|
+
* Specifies the comparison operator: eq, ne, gt, gte, lt, lte, in, nin.
|
|
423
423
|
*/
|
|
424
|
-
type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
424
|
+
type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin';
|
|
425
425
|
/**
|
|
426
|
-
* The value to compare against the attribute key; supports string, number, or
|
|
426
|
+
* The value to compare against the attribute key; supports string, number, boolean, or array of string types.
|
|
427
427
|
*/
|
|
428
|
-
value: string | number | boolean;
|
|
428
|
+
value: string | number | boolean | string[];
|
|
429
429
|
};
|
|
430
430
|
/**
|
|
431
431
|
* Combine multiple filters using and or or.
|
package/dist/internal/index.js
CHANGED
|
@@ -3537,8 +3537,8 @@ var import_provider_utils26 = require("@ai-sdk/provider-utils");
|
|
|
3537
3537
|
var import_v419 = require("zod/v4");
|
|
3538
3538
|
var comparisonFilterSchema = import_v419.z.object({
|
|
3539
3539
|
key: import_v419.z.string(),
|
|
3540
|
-
type: import_v419.z.enum(["eq", "ne", "gt", "gte", "lt", "lte"]),
|
|
3541
|
-
value: import_v419.z.union([import_v419.z.string(), import_v419.z.number(), import_v419.z.boolean()])
|
|
3540
|
+
type: import_v419.z.enum(["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin"]),
|
|
3541
|
+
value: import_v419.z.union([import_v419.z.string(), import_v419.z.number(), import_v419.z.boolean(), import_v419.z.array(import_v419.z.string())])
|
|
3542
3542
|
});
|
|
3543
3543
|
var compoundFilterSchema = import_v419.z.object({
|
|
3544
3544
|
type: import_v419.z.enum(["and", "or"]),
|