How to config address for a new OPC device using script

Hello,

I am trying to configure addressing for a newly created OPC-UA device using the scripting functions.

I am able to create a new device using system.device.addDevice() and it works great but the next step is configuration of address on this device by adding rows and giving a Prefix, Start, End, etc. I can do that using the browser but I want to do that from a scripting function. I am not able to find a function to do that.

Is it possible to do that using any such function? Or some other trick to accomplish this config without doing it from the browser?

Thanks!