@pfantato/printful-ts
Version:
Typescript SDK to integrate with Printful
80 lines (79 loc) • 1.59 kB
TypeScript
import { z } from 'zod';
export declare const HateoasLink: z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href?: string;
}, {
href?: string;
}>;
export type HateoasLink = z.infer<typeof HateoasLink>;
export declare const PagingHateoasLinks: z.ZodObject<{
self: z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href?: string;
}, {
href?: string;
}>;
first: z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href?: string;
}, {
href?: string;
}>;
last: z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href?: string;
}, {
href?: string;
}>;
next: z.ZodOptional<z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href?: string;
}, {
href?: string;
}>>;
previous: z.ZodOptional<z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href?: string;
}, {
href?: string;
}>>;
}, "strip", z.ZodTypeAny, {
self?: {
href?: string;
};
first?: {
href?: string;
};
last?: {
href?: string;
};
next?: {
href?: string;
};
previous?: {
href?: string;
};
}, {
self?: {
href?: string;
};
first?: {
href?: string;
};
last?: {
href?: string;
};
next?: {
href?: string;
};
previous?: {
href?: string;
};
}>;
export type PagingHateoasLinks = z.infer<typeof PagingHateoasLinks>;