@soat/sdk 0.13.19 → 0.13.20
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/dist/index.d.cts +8 -3
- package/dist/index.d.mts +8 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2256,7 +2256,7 @@ type DocumentKnowledgeResult = {
|
|
|
2256
2256
|
*/
|
|
2257
2257
|
title?: string;
|
|
2258
2258
|
/**
|
|
2259
|
-
* Arbitrary metadata attached to the document
|
|
2259
|
+
* Arbitrary metadata attached to the document, returned verbatim in the casing it was written with at create/update time (e.g. a key written as `strapiDocumentId` is returned as `strapiDocumentId`, not `strapi_document_id`) — it is not converted between snake_case and camelCase like other response fields.
|
|
2260
2260
|
*/
|
|
2261
2261
|
metadata?: {
|
|
2262
2262
|
[key: string]: unknown;
|
|
@@ -5089,7 +5089,7 @@ type CreateDocumentData = {
|
|
|
5089
5089
|
*/
|
|
5090
5090
|
title?: string;
|
|
5091
5091
|
/**
|
|
5092
|
-
* Arbitrary metadata object
|
|
5092
|
+
* Arbitrary metadata object. Unlike other body fields, keys are stored and returned verbatim in the casing supplied — they are not converted between snake_case and camelCase.
|
|
5093
5093
|
*/
|
|
5094
5094
|
metadata?: {
|
|
5095
5095
|
[key: string]: unknown;
|
|
@@ -5292,7 +5292,7 @@ type UpdateDocumentData = {
|
|
|
5292
5292
|
*/
|
|
5293
5293
|
path?: string | null;
|
|
5294
5294
|
/**
|
|
5295
|
-
* Arbitrary metadata object
|
|
5295
|
+
* Arbitrary metadata object. Unlike other body fields, keys are stored and returned verbatim in the casing supplied — they are not converted between snake_case and camelCase.
|
|
5296
5296
|
*/
|
|
5297
5297
|
metadata?: {
|
|
5298
5298
|
[key: string]: unknown;
|
|
@@ -8736,6 +8736,11 @@ type CallToolErrors = {
|
|
|
8736
8736
|
* Unprocessable — tool type cannot be invoked server-side
|
|
8737
8737
|
*/
|
|
8738
8738
|
422: ErrorResponse;
|
|
8739
|
+
/**
|
|
8740
|
+
* Upstream tool target error (TOOL_HTTP_ERROR). Returned when an `http`-type tool's target responds with a non-2xx status. The error `meta` carries the real upstream `tool_status_code`, `tool_response_body`, `tool_url`, and `tool_method`.
|
|
8741
|
+
*
|
|
8742
|
+
*/
|
|
8743
|
+
502: ErrorResponse;
|
|
8739
8744
|
};
|
|
8740
8745
|
type CallToolError = CallToolErrors[keyof CallToolErrors];
|
|
8741
8746
|
type CallToolResponses = {
|
package/dist/index.d.mts
CHANGED
|
@@ -2256,7 +2256,7 @@ type DocumentKnowledgeResult = {
|
|
|
2256
2256
|
*/
|
|
2257
2257
|
title?: string;
|
|
2258
2258
|
/**
|
|
2259
|
-
* Arbitrary metadata attached to the document
|
|
2259
|
+
* Arbitrary metadata attached to the document, returned verbatim in the casing it was written with at create/update time (e.g. a key written as `strapiDocumentId` is returned as `strapiDocumentId`, not `strapi_document_id`) — it is not converted between snake_case and camelCase like other response fields.
|
|
2260
2260
|
*/
|
|
2261
2261
|
metadata?: {
|
|
2262
2262
|
[key: string]: unknown;
|
|
@@ -5089,7 +5089,7 @@ type CreateDocumentData = {
|
|
|
5089
5089
|
*/
|
|
5090
5090
|
title?: string;
|
|
5091
5091
|
/**
|
|
5092
|
-
* Arbitrary metadata object
|
|
5092
|
+
* Arbitrary metadata object. Unlike other body fields, keys are stored and returned verbatim in the casing supplied — they are not converted between snake_case and camelCase.
|
|
5093
5093
|
*/
|
|
5094
5094
|
metadata?: {
|
|
5095
5095
|
[key: string]: unknown;
|
|
@@ -5292,7 +5292,7 @@ type UpdateDocumentData = {
|
|
|
5292
5292
|
*/
|
|
5293
5293
|
path?: string | null;
|
|
5294
5294
|
/**
|
|
5295
|
-
* Arbitrary metadata object
|
|
5295
|
+
* Arbitrary metadata object. Unlike other body fields, keys are stored and returned verbatim in the casing supplied — they are not converted between snake_case and camelCase.
|
|
5296
5296
|
*/
|
|
5297
5297
|
metadata?: {
|
|
5298
5298
|
[key: string]: unknown;
|
|
@@ -8736,6 +8736,11 @@ type CallToolErrors = {
|
|
|
8736
8736
|
* Unprocessable — tool type cannot be invoked server-side
|
|
8737
8737
|
*/
|
|
8738
8738
|
422: ErrorResponse;
|
|
8739
|
+
/**
|
|
8740
|
+
* Upstream tool target error (TOOL_HTTP_ERROR). Returned when an `http`-type tool's target responds with a non-2xx status. The error `meta` carries the real upstream `tool_status_code`, `tool_response_body`, `tool_url`, and `tool_method`.
|
|
8741
|
+
*
|
|
8742
|
+
*/
|
|
8743
|
+
502: ErrorResponse;
|
|
8739
8744
|
};
|
|
8740
8745
|
type CallToolError = CallToolErrors[keyof CallToolErrors];
|
|
8741
8746
|
type CallToolResponses = {
|