trade360-nodejs-sdk
Version:
LSports Trade360 SDK for Node.js
18 lines • 671 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpRequestSettingsSchema = void 0;
const zod_1 = require("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.
*/
exports.HttpRequestSettingsSchema = zod_1.z.object({
username: zod_1.z.string(),
password: zod_1.z.string(),
packageId: zod_1.z.number().int().positive(),
restApiBaseUrl: zod_1.z.string().url(),
languageId: zod_1.z.number().int().optional(),
});
//# sourceMappingURL=request-settings.schema.js.map