···11+// This file is auto-generated by @hey-api/openapi-ts
22+13type Slot = 'body' | 'headers' | 'path' | 'query';
2435export type Field =
46 | {
57 in: Exclude<Slot, 'body'>;
88+ /**
99+ * Field name. This is the name we want the user to see and use.
1010+ */
611 key: string;
1212+ /**
1313+ * Field mapped name. This is the name we want to use in the request.
1414+ * If omitted, we use the same value as `key`.
1515+ */
716 map?: string;
817 }
918 | {
1019 in: Extract<Slot, 'body'>;
2020+ /**
2121+ * Key isn't required for bodies.
2222+ */
1123 key?: string;
1224 map?: string;
1325 };
···11+// This file is auto-generated by @hey-api/openapi-ts
22+13interface SerializeOptions<T>
24 extends SerializePrimitiveOptions,
35 SerializerOptions<T> {}
···11-import type { Auth, AuthToken } from './auth';
11+// This file is auto-generated by @hey-api/openapi-ts
22+33+import type { Auth, AuthToken } from './auth.gen';
24import type {
35 BodySerializer,
46 QuerySerializer,
57 QuerySerializerOptions,
66-} from './bodySerializer';
88+} from './bodySerializer.gen';
79810export interface Client<
911 RequestFn = never,
···8587 */
8688 querySerializer?: QuerySerializer | QuerySerializerOptions;
8789 /**
9090+ * A function validating request data. This is useful if you want to ensure
9191+ * the request conforms to the desired shape, so it can be safely sent to
9292+ * the server.
9393+ */
9494+ requestValidator?: (data: unknown) => Promise<unknown>;
9595+ /**
8896 * A function transforming response data before it's returned. This is useful
8997 * for post-processing data, e.g. converting ISO strings into Date objects.
9098 */
···96104 */
97105 responseValidator?: (data: unknown) => Promise<unknown>;
98106}
107107+108108+type IsExactlyNeverOrNeverUndefined<T> = [T] extends [never]
109109+ ? true
110110+ : [T] extends [never | undefined]
111111+ ? [undefined] extends [T]
112112+ ? false
113113+ : true
114114+ : false;
115115+116116+export type OmitNever<T extends Record<string, unknown>> = {
117117+ [K in keyof T as IsExactlyNeverOrNeverUndefined<T[K]> extends true
118118+ ? never
119119+ : K]: T[K];
120120+};