UNPKG

@datadog/datadog-api-client

Version:
63 lines (62 loc) 1.77 kB
/** * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ import { FormDataDefinition } from "./FormDataDefinition"; import { FormUiDefinition } from "./FormUiDefinition"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * The attributes for creating a form. */ export declare class CreateFormDataAttributes { /** * Whether the form accepts anonymous submissions. */ "anonymous"?: boolean; /** * A JSON Schema definition that describes the form's data fields. */ "dataDefinition": FormDataDefinition; /** * The description of the form. */ "description"?: string; /** * Whether the form is an IDP survey. */ "idpSurvey"?: boolean; /** * The name of the form. */ "name": string; /** * Whether each user can only submit one response. */ "singleResponse"?: boolean; /** * UI configuration for rendering form fields, including widget overrides, field ordering, and themes. */ "uiDefinition": FormUiDefinition; /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with * the 'additionalProperties' keyword in the OAS document. */ "additionalProperties"?: { [key: string]: any; }; /** * @ignore */ "_unparsed"?: boolean; /** * @ignore */ static readonly attributeTypeMap: AttributeTypeMap; /** * @ignore */ static getAttributeTypeMap(): AttributeTypeMap; constructor(); }