* Create a contact-based workflow with the v4 flows API. `body` is a flow definition; "type": "CONTACT_FLOW" is added for you. Common fields: name, isEnabled, flowType, startActionId, actions, enrollmentCriteria. Requires the automation scope and a Professional or Enterprise subscription.
6
*/
7
exportasyncfunctionmain(auth: RT.Hubspot, body: { [key: string]: any }) {