In Word you can use the Office.context.document.customXmlParts API to get access to custom xml. In Excel you have to use Excel.run((context) => {}) and can then use context.workbook.customXmlParts for the same purpose.
How can you do this in PowerPoint using office.js?