Js Snclient

const response = await repository.allowedChildTypes
.update('/Root/Content', ['ImageLibrary','DocumentLibrary','TaskList'])