UNPKG

trade360-nodejs-sdk

Version:
28 lines (27 loc) 827 B
import { z } from 'zod'; /** * Schema for the HTTP request object. This schema is * used to parse and validate the HTTP request object. * The HTTP request object is used to configure the * connection to the HTTP server. */ export declare const HttpRequestSettingsSchema: z.ZodObject<{ username: z.ZodString; password: z.ZodString; packageId: z.ZodNumber; restApiBaseUrl: z.ZodString; languageId: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { packageId: number; username: string; password: string; restApiBaseUrl: string; languageId?: number | undefined; }, { packageId: number; username: string; password: string; restApiBaseUrl: string; languageId?: number | undefined; }>; export type HttpRequestSettings = z.infer<typeof HttpRequestSettingsSchema>;