@kontent-ai/sync-sdk
Version:
Sync API v2 for Kontent.ai
94 lines (93 loc) • 3.08 kB
TypeScript
import { z } from "zod/v4";
export declare const contentItemSystemSchema: z.ZodReadonly<z.ZodObject<{
id: z.ZodString;
collection: z.ZodString;
codename: z.ZodString;
name: z.ZodString;
type: z.ZodString;
language: z.ZodString;
last_modified: z.ZodString;
workflow: z.ZodOptional<z.ZodString>;
workflow_step: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
export declare const contentTypeSystemSchema: z.ZodReadonly<z.ZodObject<{
id: z.ZodString;
codename: z.ZodString;
name: z.ZodString;
last_modified: z.ZodString;
}, z.core.$strip>>;
export declare const languageSystemSchema: z.ZodReadonly<z.ZodObject<{
id: z.ZodString;
codename: z.ZodString;
name: z.ZodString;
}, z.core.$strip>>;
export declare const taxonomySystemSchema: z.ZodReadonly<z.ZodObject<{
id: z.ZodString;
codename: z.ZodString;
name: z.ZodString;
last_modified: z.ZodString;
}, z.core.$strip>>;
export declare const contentItemDeltaObjectSchema: z.ZodReadonly<z.ZodObject<{
data: z.ZodReadonly<z.ZodObject<{
system: z.ZodReadonly<z.ZodObject<{
id: z.ZodString;
collection: z.ZodString;
codename: z.ZodString;
name: z.ZodString;
type: z.ZodString;
language: z.ZodString;
last_modified: z.ZodString;
workflow: z.ZodOptional<z.ZodString>;
workflow_step: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
}, z.core.$strip>>;
change_type: z.ZodEnum<{
changed: "changed";
deleted: "deleted";
}>;
timestamp: z.ZodISODateTime;
}, z.core.$strip>>;
export declare const contentTypeDeltaObjectSchema: z.ZodReadonly<z.ZodObject<{
data: z.ZodReadonly<z.ZodObject<{
system: z.ZodReadonly<z.ZodObject<{
id: z.ZodString;
codename: z.ZodString;
name: z.ZodString;
last_modified: z.ZodString;
}, z.core.$strip>>;
}, z.core.$strip>>;
change_type: z.ZodEnum<{
changed: "changed";
deleted: "deleted";
}>;
timestamp: z.ZodISODateTime;
}, z.core.$strip>>;
export declare const taxonomyDeltaObjectSchema: z.ZodReadonly<z.ZodObject<{
data: z.ZodReadonly<z.ZodObject<{
system: z.ZodReadonly<z.ZodObject<{
id: z.ZodString;
codename: z.ZodString;
name: z.ZodString;
last_modified: z.ZodString;
}, z.core.$strip>>;
}, z.core.$strip>>;
change_type: z.ZodEnum<{
changed: "changed";
deleted: "deleted";
}>;
timestamp: z.ZodISODateTime;
}, z.core.$strip>>;
export declare const languageDeltaObjectSchema: z.ZodReadonly<z.ZodObject<{
data: z.ZodReadonly<z.ZodObject<{
system: z.ZodReadonly<z.ZodObject<{
id: z.ZodString;
codename: z.ZodString;
name: z.ZodString;
}, z.core.$strip>>;
}, z.core.$strip>>;
change_type: z.ZodEnum<{
changed: "changed";
deleted: "deleted";
}>;
timestamp: z.ZodISODateTime;
}, z.core.$strip>>;