/* eslint-disable import/extensions */ import EfiPay from 'gn-api-sdk-typescript'; import options from '../../credentials'; const params = { id: 1008, }; const body = { expire_at: '2024-12-12', }; const efipay = new EfiPay(options); efipay .updateBillet(params, body) .then((resposta: Promise) => { console.log(resposta); }) .catch((error: Promise) => { console.log(error); });