/** * Pipedrive API v2 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AddDealFieldRequestOptionsInner } from './add-deal-field-request-options-inner'; import { AddProjectFieldRequestImportantFields } from './add-project-field-request-important-fields'; import { AddProjectFieldRequestRequiredFields } from './add-project-field-request-required-fields'; import { AddProjectFieldRequestUiVisibility } from './add-project-field-request-ui-visibility'; /** * * @export * @interface AddProjectFieldRequest */ export interface AddProjectFieldRequest { /** * Field name * @type {string} */ 'field_name': string; /** * The type of the field
ValueDescription
`varchar`Text (up to 255 characters)
`varchar_auto`Autocomplete text (up to 255 characters)
`text`Long text (up to 65k characters)
`double`Numeric value
`monetary`Monetary field (has a numeric value and a currency value)
`date`Date (format YYYY-MM-DD)
`set`Options field with a possibility of having multiple chosen options
`enum`Options field with a single possible chosen option
`user`User field (contains a user ID of another Pipedrive user)
`org`Organization field (contains an organization ID which is stored on the same account)
`people`Person field (contains a person ID which is stored on the same account)
`phone`Phone field (up to 255 numbers and/or characters)
`time`Time field (format HH:MM:SS)
`timerange`Time-range field (has a start time and end time value, both HH:MM:SS)
`daterange`Date-range field (has a start date and end date value, both YYYY-MM-DD)
`address`Address field
* @type {string} */ 'field_type': AddProjectFieldRequestFieldTypeConst; /** * Field options (required for enum and set field types) * @type {Array} */ 'options'?: Array; /** * * @type {AddProjectFieldRequestUiVisibility} */ 'ui_visibility'?: AddProjectFieldRequestUiVisibility; /** * * @type {AddProjectFieldRequestImportantFields} */ 'important_fields'?: AddProjectFieldRequestImportantFields; /** * * @type {AddProjectFieldRequestRequiredFields} */ 'required_fields'?: AddProjectFieldRequestRequiredFields; } export declare const AddProjectFieldRequestFieldTypeConst: { readonly varchar: "varchar"; readonly text: "text"; readonly double: "double"; readonly phone: "phone"; readonly date: "date"; readonly daterange: "daterange"; readonly time: "time"; readonly timerange: "timerange"; readonly set: "set"; readonly enum: "enum"; readonly varchar_auto: "varchar_auto"; readonly address: "address"; readonly monetary: "monetary"; readonly org: "org"; readonly people: "people"; readonly user: "user"; }; export type AddProjectFieldRequestFieldTypeConst = typeof AddProjectFieldRequestFieldTypeConst[keyof typeof AddProjectFieldRequestFieldTypeConst];