import * as internal from "../sdk/internal"; export import StructureVersionInfo = internal.StructureVersionInfo; import { mappings } from "./mappings"; export declare namespace exportmappings { /** * Interfaces and instance classes for types from the Mendix sub meta model `ExportMappings`. */ /** * See: {@link https://docs.mendix.com/refguide/export-mappings relevant section in reference guide} */ interface IExportMapping extends mappings.IMappingDocument { readonly model: IModel; readonly containerAsFolderBase: projects.IFolderBase; asLoaded(): ExportMapping; load(callback: (element: ExportMapping) => void, forceRefresh?: boolean): void; load(forceRefresh?: boolean): Promise; } /** * See: {@link https://docs.mendix.com/refguide/export-mappings relevant section in reference guide} */ class ExportMapping extends mappings.MappingDocument implements IExportMapping { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsFolderBase(): projects.FolderBase; get parameterName(): string; set parameterName(newValue: string); /** * In version 6.1.0: deleted */ get parameterTypeName(): string; set parameterTypeName(newValue: string); get isHeader(): boolean; set isHeader(newValue: boolean); /** * In version 6.7.0: introduced */ get nullValueOption(): microflows.NullValueOption; set nullValueOption(newValue: microflows.NullValueOption); constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, container: projects.IFolderBase); /** * Creates a new ExportMapping unit in the SDK and on the server. * Expects one argument, the projects.IFolderBase in which this unit is contained. */ static createIn(container: projects.IFolderBase): ExportMapping; } /** * See: {@link https://docs.mendix.com/refguide/export-mappings relevant section in reference guide} */ class ExportObjectMappingElement extends mappings.ObjectMappingElement { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsMappingDocument(): mappings.MappingDocument; get containerAsObjectMappingElement(): mappings.ObjectMappingElement; get containerAsImplicitMappingBody(): rest.ImplicitMappingBody; constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new ExportObjectMappingElement instance in the SDK and on the server. * The new ExportObjectMappingElement will be automatically stored in the 'rootMappingElements' property * of the parent mappings.MappingDocument element passed as argument. */ static createInMappingDocumentUnderRootMappingElements(container: mappings.MappingDocument): ExportObjectMappingElement; /** * Creates and returns a new ExportObjectMappingElement instance in the SDK and on the server. * The new ExportObjectMappingElement will be automatically stored in the 'children' property * of the parent mappings.ObjectMappingElement element passed as argument. */ static createInObjectMappingElementUnderChildren(container: mappings.ObjectMappingElement): ExportObjectMappingElement; /** * Creates and returns a new ExportObjectMappingElement instance in the SDK and on the server. * The new ExportObjectMappingElement will be automatically stored in the 'rootMappingElement' property * of the parent rest.ImplicitMappingBody element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 10.4.0 and higher */ static createInImplicitMappingBodyUnderRootMappingElement(container: rest.ImplicitMappingBody): ExportObjectMappingElement; /** * Creates and returns a new ExportObjectMappingElement instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): ExportObjectMappingElement; } /** * See: {@link https://docs.mendix.com/refguide/export-mappings relevant section in reference guide} */ class ExportValueMappingElement extends mappings.ValueMappingElement { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsObjectMappingElement(): mappings.ObjectMappingElement; constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new ExportValueMappingElement instance in the SDK and on the server. * The new ExportValueMappingElement will be automatically stored in the 'children' property * of the parent mappings.ObjectMappingElement element passed as argument. */ static createIn(container: mappings.ObjectMappingElement): ExportValueMappingElement; /** * Creates and returns a new ExportValueMappingElement instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): ExportValueMappingElement; } } import { microflows } from "./microflows"; import { projects } from "./projects"; import { rest } from "./rest"; import { IModel } from "./base-model";