UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

125 lines 4.23 kB
import { z } from 'zod'; export declare const ElementPaymentParamsSchema: z.ZodObject<{ limit: z.ZodOptional<z.ZodNumber>; offset: z.ZodOptional<z.ZodNumber>; } & { edgeCache: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<8>, z.ZodLiteral<"1">, z.ZodLiteral<"2">, z.ZodLiteral<"3">, z.ZodLiteral<"4">, z.ZodLiteral<"5">, z.ZodLiteral<"8">]>, 3 | 2 | 4 | 1 | 5 | 8, 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>; } & { billingAddress1: z.ZodString; billingAddress2: z.ZodOptional<z.ZodString>; billingCity: z.ZodString; billingCountry: z.ZodString; billingFirstName: z.ZodString; billingLastName: z.ZodString; billingPostalCode: z.ZodString; billingState: z.ZodString; ccNumber: z.ZodString; cvv: z.ZodString; expMonth: z.ZodString; expYear: z.ZodString; shippingAddress1: z.ZodString; shippingAddress2: z.ZodOptional<z.ZodString>; shippingCity: z.ZodString; shippingCountry: z.ZodString; shippingFirstName: z.ZodString; shippingLastName: z.ZodString; shippingPostalCode: z.ZodString; shippingState: z.ZodString; }, "strip", z.ZodTypeAny, { cvv: string; expMonth: string; expYear: string; billingAddress1: string; billingCity: string; billingCountry: string; billingFirstName: string; billingLastName: string; billingPostalCode: string; billingState: string; ccNumber: string; shippingAddress1: string; shippingCity: string; shippingCountry: string; shippingFirstName: string; shippingLastName: string; shippingPostalCode: string; shippingState: string; edgeCache?: 3 | 2 | 4 | 1 | 5 | 8 | undefined; limit?: number | undefined; offset?: number | undefined; billingAddress2?: string | undefined; shippingAddress2?: string | undefined; }, { cvv: string; expMonth: string; expYear: string; billingAddress1: string; billingCity: string; billingCountry: string; billingFirstName: string; billingLastName: string; billingPostalCode: string; billingState: string; ccNumber: string; shippingAddress1: string; shippingCity: string; shippingCountry: string; shippingFirstName: string; shippingLastName: string; shippingPostalCode: string; shippingState: string; edgeCache?: 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined; limit?: number | undefined; offset?: number | undefined; billingAddress2?: string | undefined; shippingAddress2?: string | undefined; }>; export declare const ElementPaymentResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodUnknown; message: z.ZodString; options: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; params: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; status: z.ZodNumber; total: z.ZodNumber; totalResults: z.ZodNumber; }, "strip", z.ZodTypeAny, { params: Record<string, unknown> | unknown[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; data?: unknown; }, { params: Record<string, unknown> | unknown[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; data?: unknown; }>, { params: Record<string, unknown> | unknown[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; data?: unknown; }, { params: Record<string, unknown> | unknown[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; data?: unknown; }>; export type ElementPaymentParams = z.infer<typeof ElementPaymentParamsSchema>; export type ElementPaymentResponse = z.infer<typeof ElementPaymentResponseSchema>; //# sourceMappingURL=element.d.ts.map