11 lines
470 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CreateChatDatapointRequest } from "./CreateChatDatapointRequest";
import type { CreateJsonDatapointRequest } from "./CreateJsonDatapointRequest";
/**
* A tagged request to create a single datapoint.
*/
export type CreateDatapointRequest =
| ({ type: "chat" } & CreateChatDatapointRequest)
| ({ type: "json" } & CreateJsonDatapointRequest);