UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

34 lines 1.43 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ElementPaymentResponseSchema = exports.ElementPaymentParamsSchema = void 0; const zod_1 = require("zod"); const schemas_1 = require("../../../core/schemas"); // Element Payment Parameters Schema exports.ElementPaymentParamsSchema = schemas_1.BaseGetParamsSchema.extend({ // Billing Information billingAddress1: zod_1.z.string(), billingAddress2: zod_1.z.string().optional(), billingCity: zod_1.z.string(), billingCountry: zod_1.z.string(), billingFirstName: zod_1.z.string(), billingLastName: zod_1.z.string(), billingPostalCode: zod_1.z.string(), billingState: zod_1.z.string(), // Payment Information ccNumber: zod_1.z.string(), cvv: zod_1.z.string(), expMonth: zod_1.z.string(), expYear: zod_1.z.string(), // Shipping Information shippingAddress1: zod_1.z.string(), shippingAddress2: zod_1.z.string().optional(), shippingCity: zod_1.z.string(), shippingCountry: zod_1.z.string(), shippingFirstName: zod_1.z.string(), shippingLastName: zod_1.z.string(), shippingPostalCode: zod_1.z.string(), shippingState: zod_1.z.string(), }); // Element Payment Response Schema (actual response structure not specified in API docs) exports.ElementPaymentResponseSchema = (0, schemas_1.BaseResponseSchema)(zod_1.z.unknown()); //# sourceMappingURL=element.js.map