railyard/apps/relay/crates/tensorzero-node/lib/bindings/GatewayEventPayloadToolCallAuthorization.ts

24 lines
875 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { GatewayToolCallAuthorizationStatus } from "./GatewayToolCallAuthorizationStatus";
import type { ToolCallDecisionSource } from "./ToolCallDecisionSource";
import type { JsonValue } from "./serde_json/JsonValue";
/**
* Tool call authorization payload as seen by gateway consumers.
*
* Uses `GatewayToolCallAuthorizationStatus` which excludes `NotAvailable`.
*/
export type GatewayEventPayloadToolCallAuthorization = {
source: ToolCallDecisionSource;
tool_call_event_id: string;
status: GatewayToolCallAuthorizationStatus;
/**
* Populated by the server from the originating tool call event.
*/
tool_call_name: string;
/**
* Populated by the server from the originating tool call event.
*/
tool_call_arguments: JsonValue;
};