Function uploadTheme

  • Creates a new theme. Accepts either provided file or data object. The name of the new theme must be different to any existing themes.

    Parameters

    • body: { data?: Theme; file?: BodyInit }

      an object with the body content

      • Optionaldata?: Theme

        The theme model.

      • Optionalfile?: BodyInit

        Theme archive.

    • Optionaloptions: ApiCallOptions

    Returns Promise<UploadThemeHttpResponse>

    UploadThemeHttpError