pattern-detection-library 1.0.20 API