I have a custom module that is installed on a number of sites. In an hook_update_n function I would like to add a completely new Paragraph type (not actual instance of a Paragraph) to every site, using the same configuration.
Adding or updating fields to an existing type is well documented, but I can't find out how to create an actual type (node or paragraph) programmatically.