@moderation-api/sdk
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "@moderation-api/sdk", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Automatically moderate your content with Moderation API", |
@@ -594,3 +594,3 @@ import type { CancelablePromise } from '../core/CancelablePromise'; | ||
*/ | ||
label: 'nudity' | 'suggestive' | 'gore' | 'hate' | 'violence' | 'weapon' | 'smoking' | 'drugs' | 'alcohol'; | ||
label: 'nudity' | 'suggestive' | 'gore' | 'hate' | 'violence' | 'weapon' | 'smoking' | 'drugs' | 'alcohol' | 'text'; | ||
/** | ||
@@ -601,2 +601,6 @@ * The confidence of the model | ||
}>; | ||
/** | ||
* The texts found in the image, if the image text model is enabled | ||
*/ | ||
texts?: Array<string>; | ||
}>; | ||
@@ -603,0 +607,0 @@ /** |
141789
2929