import type { AllAutotaskEntityNames } from '../autotask-types/index.js'; /** * Defines the structure for an object that holds all relationships for a single entity. * The keys are property names (derived from localKey), and values are Relationship objects. */ export interface EntityRelationships { [propertyName: string]: Relationship; } /** * Defines a single relationship between a local field and a foreign entity's field. */ export interface Relationship { foreignEntity: AllAutotaskEntityNames; localKey: string; foreignKey: string; propertyName: string; type: 'to-one' | 'to-many'; } export declare const allRelationshipConfigs: Record; export type AllSourceEntityNamesWithRelationships = keyof typeof allRelationshipConfigs; //# sourceMappingURL=index.d.ts.map