Create subdomain for provided parentDomain and attaching resolution data in request.

// See documentation to set up the client first

let apiInstance = new superlink.SubdomainApi();
let parentDomain = "supertest.me";
let subDomainName = "nora";
let request = ApiSubDomainMintRequest.constructFromObject({
  'nameData' : {
    'addresses' : {
      '60' : '0xA4D70E9dd42Fef6Af37EBD48a1bA5Bc1D695Ee72'
    },
    'contenthash' : '0xe301017012204edd2984eeaf3ddf50bac238ec95c5713fb40b5e428b508fdbe55d3b9f155ffe',
    'text' : {
      'avatar': 'https://test.com/images/NpkRq1qqYbq17mcfFj1hUk5eDzE.jpg'
    }
  }
}, null);

apiInstance.subdomainMint(parentDomain, subDomainName, request, (error, data, response) => {
  if (error) {
    console.error(error);
  }
});