import type { z } from "zod"; /** * Domain model types - representing business entities returned by SDK functions * These types are inferred from Item schemas and represent transformed/formatted data. */ import type { AppItemSchema } from "../schemas/App"; import type { ConnectionItemSchema } from "../schemas/Connection"; import type { ActionItemSchema } from "../schemas/Action"; import type { InputFieldItemSchema, InfoFieldItemSchema, RootFieldItemSchema } from "../schemas/Field"; import type { UserProfileItemSchema } from "../schemas/UserProfile"; import type { FieldsetItem } from "../schemas/Field"; /** * Represents an app item returned by getApp and listApps functions * Inferred from AppItemSchema which extends the base App API schema */ export type AppItem = z.infer; /** * Represents a connection item returned by listConnections functions * Inferred from ConnectionItemSchema which extends the base Connection API schema */ export type ConnectionItem = z.infer; /** * Represents an action item returned by listActions functions * Inferred from ActionItemSchema which extends the base Action API schema */ export type ActionItem = z.infer; /** * Represents an input field item returned by listInputFields functions * Inferred from InputFieldItemSchema which extends the base Need API schema */ export type InputFieldItem = z.infer; /** * Represents an info field item (help text/copy) returned by listInputFields functions * Inferred from InfoFieldItemSchema */ export type InfoFieldItem = z.infer; /** * Represents a fieldset (group of fields) returned by listInputFields functions * This is defined as an interface rather than inferred due to recursive nature */ export type { FieldsetItem }; /** * Represents a root field item (any field/fieldset type) returned by listInputFields * Inferred from RootFieldItemSchema - use as RootFieldItem[] */ export type RootFieldItem = z.infer; /** * Represents a user profile item returned by getProfile function * Inferred from UserProfileItemSchema which extends the base UserProfile API schema */ export type UserProfileItem = z.infer; //# sourceMappingURL=domain.d.ts.map