Get options for field setup from Pipedrive API (list fields endpoints)
Save set/enum type fields with extra setting field.

Pipedrive allows "set" and "enum" type choice fields, where user can
select one or multiple options. If such field is selected out of list
of available fields, another select box with that field's options is
displayed (and saved).