In Custom Dimension service function deleteCustomDimension have parameter customDimensionId typed as string but rest of the functions type that param as string | number. In the JavaScript client documentation there is another version that param should be number. I guess it should be unified.
https://developers.piwik.pro/en/latest/data_collection/web/javascript_tracking_client/api.html#custom-dimensions
https://github.com/PiwikPRO/react-piwik-pro#custom-dimensions
In Custom Dimension service function
deleteCustomDimensionhave parametercustomDimensionIdtyped asstringbut rest of the functions type that param asstring | number. In the JavaScript client documentation there is another version that param should benumber. I guess it should be unified.https://developers.piwik.pro/en/latest/data_collection/web/javascript_tracking_client/api.html#custom-dimensions
https://github.com/PiwikPRO/react-piwik-pro#custom-dimensions