import { AdtHTTP } from "../AdtHTTP"; export interface RapGeneratorMetadata { package: string; masterLanguage?: string; } export interface RapGeneratorGeneral { referenceObjectName?: string; description: string; } export interface RapGeneratorDataModelEntity { cdsName: string; entityName?: string; } export interface RapGeneratorBehavior { implementationType: string; implementationClass: string; draftTable: string; } export interface RapGeneratorBusinessObject { dataModelEntity: RapGeneratorDataModelEntity; behavior: RapGeneratorBehavior; } export interface RapGeneratorServiceProjection { name: string; } export interface RapGeneratorServiceDefinition { name: string; } export interface RapGeneratorServiceBinding { name: string; bindingType: string; } export interface RapGeneratorBusinessService { serviceDefinition: RapGeneratorServiceDefinition; serviceBinding: RapGeneratorServiceBinding; } export interface RapGeneratorContent { metadata?: RapGeneratorMetadata; general: RapGeneratorGeneral; businessObject: RapGeneratorBusinessObject; serviceProjection: RapGeneratorServiceProjection; businessService: RapGeneratorBusinessService; } export interface RapGeneratorValidationResult { severity: "ok" | "error" | "warning" | "info"; shortText: string; longText?: string; } export interface RapGeneratorPreviewObject { uri: string; type: string; name: string; description: string; } export type RapGeneratorBindingType = "OData V2 - UI" | "OData V2 - Web API" | "OData V4 - UI" | "OData V4 - Web API"; export declare const BINDING_TYPES: RapGeneratorBindingType[]; export type RapGeneratorId = "uiservice" | "webapiservice"; export declare function rapGenBuildQs(params: Record): string; export declare function parseRapGenValidation(body: string | undefined): RapGeneratorValidationResult; export declare function parseRapGenObjectRefs(body: string | undefined): RapGeneratorPreviewObject[]; /** Initial checks: does the package exist? Is the referenced object valid? */ export declare function rapGenValidateInitial(h: AdtHTTP, genId: RapGeneratorId, refObjectUri: string, packageName: string, checks?: string[]): Promise; /** JSON schema describing the generator form fields. */ export declare function rapGenGetSchema(h: AdtHTTP, genId: RapGeneratorId, refObjectUri: string, packageName: string): Promise; /** Pre-filled default values (auto-generated artifact names). */ export declare function rapGenGetContent(h: AdtHTTP, genId: RapGeneratorId, refObjectUri: string, packageName: string): Promise; /** Field-level UI config (readonly, hidden, dropdowns). */ export declare function rapGenGetUiConfig(h: AdtHTTP, genId: RapGeneratorId, refObjectUri: string, packageName: string): Promise; /** Full validation of user-edited content (name collisions, etc.). */ export declare function rapGenValidateContent(h: AdtHTTP, genId: RapGeneratorId, refObjectUri: string, content: RapGeneratorContent): Promise; /** Preview: list of objects that would be created (dry run). */ export declare function rapGenPreview(h: AdtHTTP, genId: RapGeneratorId, refObjectUri: string, content: RapGeneratorContent): Promise; /** Execute generation — creates all RAP artifacts on the server. */ export declare function rapGenGenerate(h: AdtHTTP, genId: RapGeneratorId, refObjectUri: string, transport: string, content: RapGeneratorContent): Promise; /** Check whether RAP Generator endpoints are available on this system. */ export declare function rapGenIsAvailable(h: AdtHTTP, genId?: RapGeneratorId): Promise; /** Publish a service binding (make it available for consumption). */ export declare function rapGenPublishService(h: AdtHTTP, srvbName: string): Promise; //# sourceMappingURL=rapgenerator.d.ts.map