UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

173 lines 6.56 kB
import { z } from 'zod'; /** Product link - key field only, passthrough for API flexibility */ export declare const ProductLinkSchema: z.ZodObject<{ productLinkUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ productLinkUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ productLinkUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; /** Create product link request - passthrough for flexible input */ export declare const CreateProductLinkRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; /** Update product link request - passthrough for flexible input */ export declare const UpdateProductLinkRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; /** Product link list params */ export declare const ProductLinkListParamsSchema: 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 | 1 | 4 | 5 | 8, 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>; } & { linkType: z.ZodOptional<z.ZodString>; isActive: z.ZodOptional<z.ZodString>; orderBy: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { limit?: number | undefined; offset?: number | undefined; edgeCache?: 3 | 2 | 1 | 4 | 5 | 8 | undefined; orderBy?: string | undefined; isActive?: string | undefined; linkType?: string | undefined; }, { limit?: number | undefined; offset?: number | undefined; edgeCache?: 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined; orderBy?: string | undefined; isActive?: string | undefined; linkType?: string | undefined; }>; export declare const ProductLinkResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodObject<{ productLinkUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ productLinkUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ productLinkUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; 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[]; data: { productLinkUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { productLinkUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: { productLinkUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { productLinkUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export declare const ProductLinkListResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodArray<z.ZodObject<{ productLinkUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ productLinkUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ productLinkUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; 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[]; data: z.objectOutputType<{ productLinkUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: z.objectInputType<{ productLinkUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: z.objectOutputType<{ productLinkUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: z.objectInputType<{ productLinkUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export type ProductLink = z.infer<typeof ProductLinkSchema>; export type CreateProductLinkRequest = z.infer<typeof CreateProductLinkRequestSchema>; export type UpdateProductLinkRequest = z.infer<typeof UpdateProductLinkRequestSchema>; export type ProductLinkListParams = z.infer<typeof ProductLinkListParamsSchema>; export type ProductLinkResponse = z.infer<typeof ProductLinkResponseSchema>; export type ProductLinkListResponse = z.infer<typeof ProductLinkListResponseSchema>; //# sourceMappingURL=productLinks.d.ts.map