flatten sdk doc