@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
71 lines • 3.25 kB
TypeScript
import { z } from 'zod';
/**
* Shipping rates request parameters
* Input validation - keeps structure for API documentation
*/
export declare const RatesRequestParamsSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Shipping rate - passthrough for API flexibility */
export declare const ShippingRateSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Shipping rates summary - passthrough for API flexibility */
export declare const ShippingRatesSummarySchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Shipping rates detailed - passthrough for API flexibility */
export declare const ShippingRatesDetailedSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Shipping rates result - supports multiple response formats */
export declare const ShippingRatesResultSchema: z.ZodUnknown;
/** Shipping rates response data */
export declare const RatesDataSchema: z.ZodUnknown;
/** Shipping rates response */
export declare const RatesResponseSchema: 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 RatesRequestParams = z.infer<typeof RatesRequestParamsSchema>;
export type ShippingRate = z.infer<typeof ShippingRateSchema>;
export type ShippingRatesSummary = z.infer<typeof ShippingRatesSummarySchema>;
export type ShippingRatesDetailed = z.infer<typeof ShippingRatesDetailedSchema>;
export type ShippingRatesResult = z.infer<typeof ShippingRatesResultSchema>;
export type RatesData = z.infer<typeof RatesDataSchema>;
export type RatesResponse = z.infer<typeof RatesResponseSchema>;
//# sourceMappingURL=rates.d.ts.map