Optional
choices?: string[] | Record<string, number | string[] | Record<string, string[]>>ISO timestamp string
This will determine the type of mapping in the submission event config if true, show form element dropdown in submission event config if false, show free text entry in submission event config
This is just true if its a default field (i.e. cannot be deleted), not really useful
Description in fresh desk, we should prob display this in submission event config screen
I think we can ignore this
Not sure if this is useful for us
Label in fresh desk, we should prob display this in submission event config screen
I think we can ignore this
Optional
level?: numberI think this is what we will use to reference fields values when submitting tickets
Optional
nested_If the type is "nested_field" this will be an array containing the two sub categories
Optional
options?: FreshdeskFieldOption[]Optional
portal_I think we can ignore this
Optional
portal_I think we can ignore this
Order of fields on form to submit issue, we should respect this
This will determine if the mapping is required or not along with "required_for_customers"
We can ignore this as its used by agents after tickets are created
This will determine if the mapping is required or not along with "required_for_agents"
There are only a specific number of types Freshdesk support
ISO timestamp string
String[]: label and value are the same
Record<string, number>: label is key (string), value is the number
Record<string, string[]>: label is the last string in the array, value is the key (parsed as an integer)
Record<string, Record<string, string[]>>: Options are nested, value and label are the same for each option