export type Schema = { id: string; name: string; createdAt?: string; updatedAt?: string; properties: Array; associations: Array<{ id: string; fromObjectTypeId: string; toObjectTypeId: string; name?: string; createdAt?: string | null; updatedAt?: string | null; }>; labels: { singular?: string; plural?: string; }; requiredProperties: Array; searchableProperties?: Array; primaryDisplayProperty?: string; fullyQualifiedName?: string; [key: string]: any; }; export type FetchSchemasResponse = { results: Array; }; export type CreateObjectsResponse = { status: string; startedAt: string; completedAt: string; results: Array<{ id: string; properties: Array; createdAt: string; updatedAt: string; archived: boolean; }>; }; export type SchemaDefinition = { allowsSensitiveProperties?: boolean; associatedObjects?: Array; description?: string; labels: { plural: string; singular: string; }; searchableProperties?: Array; secondaryDisplayProperties?: Array; name: string; primaryDisplayProperty?: string; properties: [ { isPrimaryDisplayLabel: true; label: string; name: string; } ]; requiredProperties: Array; }; export type ObjectDefinition = { inputs: [ { associations?: [ { types: [ { associationCategory: string; associationTypeId: number; } ]; to: { id: string; }; } ]; objectWriteTraceId?: number; properties: { [key: string]: string; }; } ]; };