diff --git a/dist/billing.js b/dist/billing.js index 7c3f48d..ba0fc78 100644 --- a/dist/billing.js +++ b/dist/billing.js @@ -70,91 +70,69 @@ function _cancelPrime() { })); return _cancelPrime.apply(this, arguments); } -export function getSimValid(_x4, _x5) { - return _getSimValid.apply(this, arguments); -} -function _getSimValid() { - _getSimValid = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(dongle_id, sim_id) { - return _regeneratorRuntime.wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - return _context4.abrupt("return", request.get('v1/prime/sim_valid', { - dongle_id: dongle_id, - sim_id: sim_id - })); - case 1: - case "end": - return _context4.stop(); - } - } - }, _callee4); - })); - return _getSimValid.apply(this, arguments); -} -export function getStripeCheckout(_x6, _x7, _x8) { +export function getStripeCheckout(_x4, _x5, _x6) { return _getStripeCheckout.apply(this, arguments); } function _getStripeCheckout() { - _getStripeCheckout = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(dongle_id, sim_id, plan) { - return _regeneratorRuntime.wrap(function _callee5$(_context5) { + _getStripeCheckout = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(dongle_id, sim_id, plan) { + return _regeneratorRuntime.wrap(function _callee4$(_context4) { while (1) { - switch (_context5.prev = _context5.next) { + switch (_context4.prev = _context4.next) { case 0: - return _context5.abrupt("return", request.post('v1/prime/stripe_checkout', { + return _context4.abrupt("return", request.post('v1/prime/stripe_checkout', { dongle_id: dongle_id, sim_id: sim_id, plan: plan })); case 1: case "end": - return _context5.stop(); + return _context4.stop(); } } - }, _callee5); + }, _callee4); })); return _getStripeCheckout.apply(this, arguments); } -export function getStripePortal(_x9) { +export function getStripePortal(_x7) { return _getStripePortal.apply(this, arguments); } function _getStripePortal() { - _getStripePortal = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(dongle_id) { - return _regeneratorRuntime.wrap(function _callee6$(_context6) { + _getStripePortal = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(dongle_id) { + return _regeneratorRuntime.wrap(function _callee5$(_context5) { while (1) { - switch (_context6.prev = _context6.next) { + switch (_context5.prev = _context5.next) { case 0: - return _context6.abrupt("return", request.get('v1/prime/stripe_portal', { + return _context5.abrupt("return", request.get('v1/prime/stripe_portal', { dongle_id: dongle_id })); case 1: case "end": - return _context6.stop(); + return _context5.stop(); } } - }, _callee6); + }, _callee5); })); return _getStripePortal.apply(this, arguments); } -export function getStripeSession(_x10, _x11) { +export function getStripeSession(_x8, _x9) { return _getStripeSession.apply(this, arguments); } function _getStripeSession() { - _getStripeSession = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7(dongle_id, session_id) { - return _regeneratorRuntime.wrap(function _callee7$(_context7) { + _getStripeSession = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(dongle_id, session_id) { + return _regeneratorRuntime.wrap(function _callee6$(_context6) { while (1) { - switch (_context7.prev = _context7.next) { + switch (_context6.prev = _context6.next) { case 0: - return _context7.abrupt("return", request.get('v1/prime/stripe_session', { + return _context6.abrupt("return", request.get('v1/prime/stripe_session', { dongle_id: dongle_id, session_id: session_id })); case 1: case "end": - return _context7.stop(); + return _context6.stop(); } } - }, _callee7); + }, _callee6); })); return _getStripeSession.apply(this, arguments); } \ No newline at end of file