mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-09 04:19:43 +00:00
ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.390.1
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
*/
|
||||
|
||||
import * as b64$ from "../../../lib/base64.js";
|
||||
import { remap as remap$ } from "../../../lib/primitives.js";
|
||||
import { blobLikeSchema } from "../../types/blobs.js";
|
||||
import { ClosedEnum } from "../../types/enums.js";
|
||||
import * as z from "zod";
|
||||
|
||||
export type FileT = {
|
||||
content: Uint8Array | string;
|
||||
content: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Buffer;
|
||||
fileName: string;
|
||||
};
|
||||
|
||||
@@ -57,19 +56,29 @@ export type CreateUploadResponseBody = {
|
||||
|
||||
/** @internal */
|
||||
export const FileT$inboundSchema: z.ZodType<FileT, z.ZodTypeDef, unknown> = z.object({
|
||||
content: b64$.zodInbound,
|
||||
content: z.union([
|
||||
z.instanceof(ReadableStream<Uint8Array>),
|
||||
z.instanceof(Blob),
|
||||
z.instanceof(ArrayBuffer),
|
||||
z.instanceof(Buffer),
|
||||
]),
|
||||
fileName: z.string(),
|
||||
});
|
||||
|
||||
/** @internal */
|
||||
export type FileT$Outbound = {
|
||||
content: Uint8Array;
|
||||
content: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Buffer;
|
||||
fileName: string;
|
||||
};
|
||||
|
||||
/** @internal */
|
||||
export const FileT$outboundSchema: z.ZodType<FileT$Outbound, z.ZodTypeDef, FileT> = z.object({
|
||||
content: b64$.zodOutbound,
|
||||
content: z.union([
|
||||
z.instanceof(ReadableStream<Uint8Array>),
|
||||
z.instanceof(Blob),
|
||||
z.instanceof(ArrayBuffer),
|
||||
z.instanceof(Buffer),
|
||||
]),
|
||||
fileName: z.string(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user