'use strict';
import { stripe } from '../stripe/stripes.js';

var __defProp=Object['defineProperty'],__name=(_0x596147,_0x2f417f)=>__defProp(_0x596147,'name',{'value':_0x2f417f,'configurable':!![]});async function get(){const _0x773018=await stripe['invoices']['list']();return _0x773018['data']['map'](transformInvoice);}__name(get,'get');function transformInvoice(_0x5dafea){return {'id':_0x5dafea['id'],'date':_0x5dafea['created'],'invoiceNumber':_0x5dafea['number']??void(0x16ac+-0x1c30+0x584),'amount':_0x5dafea['amount_due'],'status':_0x5dafea['status']??void(0x1*0x18d1+0x123d+-0x2b0e),'downloadUrl':_0x5dafea['invoice_pdf']??void(0xb7b+-0x16*-0xb+-0xc6d),'viewUrl':_0x5dafea['hosted_invoice_url']??void(0x1*-0x2524+-0x1f*0x61+0x5*0x9c7)};}__name(transformInvoice,'transformInvoice');

export { get };
