import { ShapeDiverNullObject } from '../SdNullObject';
import { ShapeDiverCommonsGroup } from '../commons/SdCommonsGroup';
import {
ShapeDiverCommonsParameterBasic,
ShapeDiverCommonsParameterSType,
} from '../commons/SdCommonsParameter';
/**
* @swagger {components.schemas} RequestCustomization {
"description": "Body of a customization request, a directory of parameter key and values.
Supported parameter keys are as follows, whereby the parameter resolution is done in the same order as the keys are listed:
idnamedisplaynameRequestParameterBasic)RequestParameterSType)null to remove the export from the currently assigned group.",
"type": "null"
}
]
}
*/
/**
* Group of an export.
* Set to `null` to remove the export from the currently assigned group.
*/
group?: ShapeDiverRequestExportDefinitionGroup | ShapeDiverNullObject | null;
/**
* @swagger {components.schemas.RequestExportDefinitionPart.properties} hidden {
"description": "Controls whether the export should be hidden in the UI.",
"type": "boolean"
}
*/
/** Controls whether the export should be hidden in the UI. */
hidden?: boolean;
/**
* @swagger {components.schemas.RequestExportDefinitionPart.properties} order {
"description": "Ordering of the export in client applications.",
"type": "number"
}
*/
/** Ordering of the export in client applications. */
order?: number;
/**
* @swagger {components.schemas.RequestExportDefinitionPart.properties} tooltip {
"description": "Description that is shown as a tooltip in the clients.",
"type": "string"
}
*/
/** Description that is shown as a tooltip in the clients. */
tooltip?: string;
};
/**
* @swagger {components.schemas} RequestExportDefinitionGroup {
"allOf": [
{ "$ref": "#/components/schemas/CommonsGroup" },
{
"description": "Group information of an export definition.",
"type": "object"
}
]
}
*/
/** Group information of an export definition. */
export type ShapeDiverRequestExportDefinitionGroup = ShapeDiverCommonsGroup;
/**
* @swagger {components.schemas} RequestOutputDefinition {
"description": "Definition of outputs.null to remove the output from the currently assigned group.",
"type": "null"
}
]
}
*/
/**
* Group of an output.
* Set to `null` to remove the output from the currently assigned group.
*/
group?: ShapeDiverRequestOutputDefinitionGroup | ShapeDiverNullObject | null;
/**
* @swagger {components.schemas.RequestOutputDefinitionPart.properties} hidden {
"description": "Controls whether the output should be hidden in the UI.",
"type": "boolean"
}
*/
/** Controls whether the output should be hidden in the UI. */
hidden?: boolean;
/**
* @swagger {components.schemas.RequestOutputDefinitionPart.properties} order {
"description": "Ordering of the output in client applications.",
"type": "number"
}
*/
/** Ordering of the output in client applications. */
order?: number;
/**
* @swagger {components.schemas.RequestOutputDefinitionPart.properties} tooltip {
"description": "Description that is shown as a tooltip in the clients.",
"type": "string"
}
*/
/** Description that is shown as a tooltip in the clients. */
tooltip?: string;
/**
* @swagger {components.schemas.RequestOutputDefinitionPart.properties} chunks {
"description": "The chunk definitions of the sdTF file that is generated by the output. If specified, all existing sdTF chunks of the output must be given. The order of the given chunk items determines the order in that the chunks will be shown in the UI.",
"type": "array",
"items": {
"$ref": "#/components/schemas/RequestOutputDefinitionChunk"
}
}
*/
/**
* The chunk definitions of the sdTF file that is generated by the output.
* If specified, all existing sdTF chunks of the output must be given.
* The order of the given chunk items determines the order in that the chunks will be shown in the UI.
*/
chunks?: ShapeDiverRequestOutputDefinitionChunk[];
};
/**
* @swagger {components.schemas} RequestOutputDefinitionGroup {
"allOf": [
{ "$ref": "#/components/schemas/CommonsGroup" },
{
"description": "Group information of an output definition.",
"type": "object"
}
]
}
*/
/** Group information of an output definition. */
export type ShapeDiverRequestOutputDefinitionGroup = ShapeDiverCommonsGroup;
/**
* @swagger {components.schemas} RequestOutputDefinitionChunk {
"description": "Definition of a single \"chunk\" of data in an sdTF file that is generated by the output component.",
"type": "object"
}
*/
/** Definition of a single "chunk" of data in the sdTF file that is generated by the output component. */
export interface ShapeDiverRequestOutputDefinitionChunk {
/**
* @swagger {components.schemas.RequestOutputDefinitionChunk.properties} id {
"description": "ID of the chunk.",
"type": "string"
}
* @swagger {components.schemas.RequestOutputDefinitionChunk} required [ "id" ]
*/
/** ID of the chunk. */
id: string;
/**
* @swagger {components.schemas.RequestOutputDefinitionChunk.properties} displayname {
"description": "Chunk name to display instead of the chunk name. This value can be unset by specifying an empty string.",
"type": "string"
}
*/
/**
* Custom name to display instead of the chunk {@link name}.
* This value can be unset by specifying an empty string.
*/
displayname?: string;
/**
* @swagger {components.schemas.RequestOutputDefinitionChunk.properties} hidden {
"description": "Controls whether the chunk should be hidden in the UI.",
"type": "boolean"
}
*/
/** Controls whether the chunk should be hidden in the UI. */
hidden?: boolean;
}