{"_id":"brex","_rev":"10-eaa43514974983dee7fa7b47938bc0c7","name":"brex","dist-tags":{"latest":"2.0.0","alpha":"2.0.0-alpha.1"},"versions":{"0.1.1":{"name":"brex","version":"0.1.1","author":{"name":"Sanil Chawla"},"license":"MIT","_id":"brex@0.1.1","maintainers":[{"name":"sanil","email":"sanil@slingshot.fm"}],"dist":{"shasum":"7828084c59058b4743b6cccc9eaabc126195936c","tarball":"https://registry.npmjs.org/brex/-/brex-0.1.1.tgz","fileCount":29,"integrity":"sha512-eIpX1XglWV7svLkhBvWYSCzws+hnZs2+SBa3TWJv7z7rfylOancjJfAI4hVXZ2zjuHgGixbPVs4JdHNHYg26jw==","signatures":[{"sig":"MEUCIQDIVdMsk6c0ML53wli5egpFn1taw0IcH/ILOY00I1uuKgIgKNPYMlh8xGlXpu7COEMZieTmhhHkzrPBNcCOlx57GpU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnLPYCRA9TVsSAnZWagAAlaMQAJqMXGqTJT07dOR3ALuw\nX9HCkH1bFAhF/iBbXaxiG6Eq/6I2uiqjGGgnwbyNYCVhlepZG9LIXEhe8POC\nvMIaAJ1S6qCh5lSruIoOq4p5YmTHk/RR6EOxIV0X7+gRpgi9dTsHACrmT0dX\nJOZzsOHVi8vD9URlVmk8h1NxgVpB5sY5zxFlD/FOIebmaT3AUnDHdaafqh9Y\n7fCzCl7HTkT8pyoPn4S2uYCmMyToYOztYHf4xWEPkm7PTjBtVYWp9aQaRRp+\n0vHG5CcX5kRBcXLj7wD5zWeZChN/P4y+zkIK+4vCdXT1rNafvnIWAV1bmUxY\nuTmFWfSvrzViikf/S2hz4ypin6lPCMx0JjdpR/+QTt9ml93UiB0q2lyb5uz1\n7HRuA8ErApzZvhImhv+e/smVY6OzESJCL6x3VXk9qYnGN/Ag18UWeE/FptQo\nll4TqaVLETw32Dc3sT55ouh8uOrRBw4fF3oIjOhG4s3uHDJWMhZQFO3I7+fQ\n4d1rdHbpxQWcOd0k+oON6tMwRkHdO2hmpXh7zzU4sgH4rtv082nHhda1HGrM\nyJkSFdm56jlLKX2130jtC4aQDj8xg6yXY75riga8j6mR8aKtfieXR/nZzEK0\nWJzGe/LyCKAtp9NzyKxKw//Vonx7TgptKlklc8q8AaLTIqVsdseXn2qiWg22\nH9Xd\r\n=U/K8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/brex.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"sanil","email":"sanil@slingshot.fm"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/brex.cjs.production.min.js","limit":"10 KB"},{"path":"dist/brex.esm.js","limit":"10 KB"}],"description":"This project is an unofficial JS wrapper for the Brex API. **This is a work in progress.**","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Sanil Chawla\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^7.0.4","tslib":"^2.3.1","eslint":"7","size-limit":"^7.0.3","typescript":"^4.5.2","eslint-plugin-react":"^7.27.1","eslint-config-airbnb":"19.0.1","eslint-plugin-import":"^2.25.3","eslint-plugin-jsx-a11y":"^6.5.1","@typescript-eslint/parser":"^5.0.0","eslint-plugin-react-hooks":"^4.3.0","@size-limit/preset-small-lib":"^7.0.3","eslint-config-airbnb-typescript":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/brex_0.1.1_1637659608616_0.1269744392326353","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"brex","version":"0.2.0","author":{"name":"Sanil Chawla"},"license":"MIT","_id":"brex@0.2.0","maintainers":[{"name":"sanil","email":"sanil@slingshot.fm"}],"dist":{"shasum":"05b35487566b69f6f2084c2c29f9c073300936d3","tarball":"https://registry.npmjs.org/brex/-/brex-0.2.0.tgz","fileCount":43,"integrity":"sha512-2duqu1lSD1BzlowZjd6PTXTJTeD8oJZfe+n/nceU0Hk0GjdREZ4HT2CpMz3mdHhygym2UCJOhfakbl6iHbLYRQ==","signatures":[{"sig":"MEUCIQC7dLBrMg4tv7H6NNNxAg5no7sN2PqjsGwmt0UrsyBR/AIgMxPFqUAX0V1fXmfIimnPvV8ocm71ZRYPsWJNVstwCkI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":242707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnquOCRA9TVsSAnZWagAAqOEQAINSqbDovG0B6UfX8wPw\nko5ffmj6dvaaiPagBT0FTBMOS0QlxzNnEU0wM2vSjIaW6HDY4ns+vaN3hIYu\ndm3/bbITZl5nrlRgvjbyT98JftbM4rNULhNynZvLGsPgXA+K+lUgBHO40hoY\n8AxqgpkE29QGTKwg9duuI6DEuQzzDljukdiNkzYHyLmwIS3H6sH//hUqTRXG\nps/BXtOE8PC9kpLJo/QAKA+YwtrMvDcok0/bi5kxceUkHehGkw/1xxi/9ykn\nJtau883wRG9mIQ4SFpSHHH8yiA8/CZpC5HSbDX8zCGA/EKv3pMQ9HgJvkwHk\nWpODoFuv5TMGW4l6JaSdug9XSKyej8/g4e3r6x8lreUA+PmI5Q7nznLE5OGf\ny38IYd7ud4Q5aeawiVF4QWB16/nmGROZi5+JYz208ZONxmu+P3AQkAkglVdN\nfGGuf+09tC21+BBpWvKrfYPETZaUfKDdzJDE747PrrVC+UmSL/912PDX60NW\nvob0KZXYIFzl6POAe0PEBju407BnEIxt5sZLdXEjWuouxKf/wHZJRCep5Aei\ntAS29h/1cGe3pxAOWluZb1Gzplz1Bo0+vZtQRIOxktxuH0VHQ4KfxSXBK7IO\nhcnq6x5TtVyTCOaRq4Qm79I7JTRC5rauzPeFqQ+n+4MusZJgx7jOQ6Inrk8X\nGDbM\r\n=SQ/u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/brex.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build","generate-docs":"npx typedoc --sort source-order --sort alphabetical"},"typings":"dist/index.d.ts","_npmUser":{"name":"sanil","email":"sanil@slingshot.fm"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/slingshot/brex.git","type":"git"},"size-limit":[{"path":"dist/brex.cjs.production.min.js","limit":"10 KB"},{"path":"dist/brex.esm.js","limit":"10 KB"}],"description":"This project is an unofficial JS wrapper for the Brex API, maintained by [Slingshot](https://github.com/slingshot). We use this library in production for managing payouts to artists on our platform.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Sanil Chawla\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","dependencies":{"isomorphic-unfetch":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^7.0.4","tslib":"^2.3.1","eslint":"7","typedoc":"^0.22.9","size-limit":"^7.0.3","typescript":"^4.5.2","eslint-plugin-react":"^7.27.1","eslint-config-airbnb":"19.0.1","eslint-plugin-import":"^2.25.3","eslint-plugin-jsx-a11y":"^6.5.1","@typescript-eslint/parser":"^5.0.0","eslint-plugin-react-hooks":"^4.3.0","@size-limit/preset-small-lib":"^7.0.3","eslint-config-airbnb-typescript":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/brex_0.2.0_1637788558100_0.915828211170205","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"brex","version":"0.3.0","author":{"name":"Sanil Chawla"},"license":"MIT","_id":"brex@0.3.0","maintainers":[{"name":"sanil","email":"sanil@slingshot.fm"}],"dist":{"shasum":"cdcba73a1a5e9a8632c4deb59ad1df24a645c527","tarball":"https://registry.npmjs.org/brex/-/brex-0.3.0.tgz","fileCount":61,"integrity":"sha512-aWeJEm700gEpbx+nMNfytCt4xOwDQ3cJVfosiWQeWajJs/D+dA3pX1Yk1vAiQ8NxjQg230NHddfyu5s63qhx/Q==","signatures":[{"sig":"MEUCIQDXcMZtVjJ9zv/w5f+3q7x8iUi73KXHv1f7DMK08/yZjwIgE85Y2I6fvUMMwoi51QjBeyvd0B9kO7bEj6cUYtbW0OM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":295835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoD9mCRA9TVsSAnZWagAAvIsP/RwzR8uAd7fouJKi3NUc\n51LsVxYVawNxliHDEdnNL7e7zshMi0PcfmnWI66fBkimXHtX4XfTDE/F5ad+\nHaIjJeAhZhyKJWP6yys4pyUigqR903REiX0Nr2zUDzTeRcQEu/+ymC4ZukJs\nodfHoVqBG19iKtnXrNo2OjJezn2JLWBYV0OZEkInAxYcxtOR/2KbnBfQTk/T\nr4wbEFnNnG+conY0a++NI1OJl9GS0wvgz9VCilIVPDOxb96acgHiKWyViw/J\nj/ieg1WjnTrO6x5vFI0JSbLkqvcgC1zjPgv+geJR17b0Ol9G72+uyfBAo3uC\nKUakuw06egYvYZ2ZnEeVMgFdVJMot4FmvtWJXAHJ7c5DplaWGHbd7BNrfnwI\n4mGeazuZzHlnlO5YG2PU/lfIGmBjRsq48gC3EDqd5OgpLoOiRhKwYoPeMio+\nHKagymG9xzgT93Z+uVLaIPJxAl5tbF3IB+eC9mMJGd7PSfkhvJxB5HCrsXmM\n2jZVK0psGpOEyaRBf6JS41FIupl/p7XyWCeABpiFKw5Hkykk07ZOWT1VGfql\n+ZOIYnqrOvSwaNV9zeTLjVHx13+3yQeWyX5H5goEmu3yyUmmqaY1yDR8XPGd\nL6J/p0p9im1BAo9ESzjY8Oz9YiQMAxw4VH3Uhx1uKMFTn8yC8V1LiVjIdrv0\nRls7\r\n=SBoF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/brex.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build","generate-docs":"npx typedoc --sort source-order --sort alphabetical"},"typings":"dist/index.d.ts","_npmUser":{"name":"sanil","email":"sanil@slingshot.fm"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/slingshot/brex.git","type":"git"},"size-limit":[{"path":"dist/brex.cjs.production.min.js","limit":"10 KB"},{"path":"dist/brex.esm.js","limit":"10 KB"}],"description":"This project is an unofficial JS wrapper for the Brex API, maintained by [Slingshot](https://github.com/slingshot). We use this library in production for managing payouts to artists on our platform.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Sanil Chawla\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","dependencies":{"isomorphic-unfetch":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^7.0.4","tslib":"^2.3.1","eslint":"7","typedoc":"^0.22.9","size-limit":"^7.0.3","typescript":"^4.5.2","eslint-plugin-react":"^7.27.1","eslint-config-airbnb":"19.0.1","eslint-plugin-import":"^2.25.3","eslint-plugin-jsx-a11y":"^6.5.1","@typescript-eslint/parser":"^5.0.0","eslint-plugin-react-hooks":"^4.3.0","@size-limit/preset-small-lib":"^7.0.3","eslint-config-airbnb-typescript":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/brex_0.3.0_1637891942845_0.30590902944163956","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"brex","version":"0.3.1","author":{"name":"Sanil Chawla"},"license":"MIT","_id":"brex@0.3.1","maintainers":[{"name":"sanil","email":"sanil@slingshot.fm"}],"dist":{"shasum":"e46edabd3f86b1fee3ab4eac34c66dced2d582f2","tarball":"https://registry.npmjs.org/brex/-/brex-0.3.1.tgz","fileCount":61,"integrity":"sha512-ilCQkdDWuY/2HLC4J29ReswbMv6Ajr8uHzTAPVKzrjoPF4JXgk1XcP0hfn88U16HwYxqaac75GHvhN8kBPf5dA==","signatures":[{"sig":"MEUCIF8He8IVqM+jRxFFJ31fnRZy+WAGzmotM/KlTaBVWqAkAiEAj4FCWzdUya9Pb7vkwLlj4T0QoUF73vmTi3DXfxg1pXo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":296331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoEBQCRA9TVsSAnZWagAAe8gQAJqtuNH7D+1c6sAAEw/7\ndMBPwsf4RGTCt8hvK1X+0SZXMpp2dBFKDFTFf9VNBIunPID8VQaSFiKjEvR3\ngIWSkFMogoP79yb0bLgRh8pKDOLpZUAXGDlx/mpdGwgmO0WLZDGIzwqgJ9XN\nbX70jFeXGACGRACkXsoLH0hYNNA7jfOdn6wzDCYsSMiZ3+9d40+9sziDGyEH\nl3N4aKi0FSiuDwIFg8ZnDZtBe8mvH+fBvAvd7ruBuZXm9Oph2/ygaZuafOcD\n9boadju06GbQa/npK5HDRN2q+xbZpI/aqb3zNJyJcj9SiPclpFC63tDaALym\n5WygjXLvx4UTOFQR7h0HGHzt2p2hbt8UvBhlu8jPEzNnWhpngSZQ4mPUcW9z\nbIoQ3wQJQOYXAOuYz/jFen6eaP8++G+cGPaF+3qgYTUEOE7O2Vf9XxQSDWTe\nZT4Ssz4NqNSVa0zY22NeGtZuUlN3+atrELQwIi/m+SjsxPQx7yq2jzMBP9bt\nPQtOmx2NlZyJfjY2DqhFHBMo1Lf876344FJFMPAk8aA+usb5/BuOe3/sqFp6\nAcu5cXXCYr/ZBTYZWNdjjNYb+Ko+crygJMxc+sac0ZgsRsbaxsrf8pz2jQBC\nnyfHii2jzAJfZmAgQMPzKazmJe7KuSRspFo/5fxKSZq1Nc4c+2TnUn9ajhao\nNfBk\r\n=OkeI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/brex.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build","generate-docs":"npx typedoc --sort source-order --sort alphabetical"},"typings":"dist/index.d.ts","_npmUser":{"name":"sanil","email":"sanil@slingshot.fm"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/slingshot/brex.git","type":"git"},"size-limit":[{"path":"dist/brex.cjs.production.min.js","limit":"10 KB"},{"path":"dist/brex.esm.js","limit":"10 KB"}],"description":"This project is an unofficial JS wrapper for the Brex API, maintained by [Slingshot](https://github.com/slingshot). We use this library in production for managing payouts to artists on our platform.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Sanil Chawla\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","dependencies":{"isomorphic-unfetch":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^7.0.4","tslib":"^2.3.1","eslint":"7","typedoc":"^0.22.9","size-limit":"^7.0.3","typescript":"^4.5.2","eslint-plugin-react":"^7.27.1","eslint-config-airbnb":"19.0.1","eslint-plugin-import":"^2.25.3","eslint-plugin-jsx-a11y":"^6.5.1","@typescript-eslint/parser":"^5.0.0","eslint-plugin-react-hooks":"^4.3.0","@size-limit/preset-small-lib":"^7.0.3","eslint-config-airbnb-typescript":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/brex_0.3.1_1637892176165_0.9710075357855388","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"brex","version":"0.4.0","author":{"name":"Sanil Chawla"},"license":"MIT","_id":"brex@0.4.0","maintainers":[{"name":"sanil","email":"sanil@slingshot.fm"}],"dist":{"shasum":"b1a7fc728414b1ed7741514c7d08836e59c3c871","tarball":"https://registry.npmjs.org/brex/-/brex-0.4.0.tgz","fileCount":75,"integrity":"sha512-koLsS39OF0aQJ35OXgHMsPFuLUto1HuAkEiCR9JgHc55rp/RowK0u//wIKx6f6SHtxZU+F2AqUD8HT/aVDMLTw==","signatures":[{"sig":"MEUCIAbVMDL2MdLcIfZOQY6zgzWbMZI7Vyn0B0aQAUFi3YCjAiEAwjJsGuZREnGtHl/VeAZtBmYyZioDjlPCM78Ny6zMbd0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":358447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhowSXCRA9TVsSAnZWagAAppwP/2AyBGYzM3Ms/M1gd5I/\nKj2zZ54vf/mkk0ZNiiyWWvTe/P68keROzS75kWdU/N8xcPsQcCyqueCgByYa\nMdHf6y7bObD4fnaOmSfILDixfJbrDZf7f9vkjGm9RxI0G9KZoXkp8NGsb/Xi\nq/3jbppQKRsXPBFMDv789b7lh6qEtm4/8bTYH9YY0tI5gjt0syeUEv0y0mtA\ncMQQztOsQ/YhoIofIzPQ+zL8EpetiUpKRHxrRpFKeqQvNSwCkIw9PXo7r3dg\npZ0TfsjS3MaF9SQ42gn90zrpH6vrDy36NXg0eOXBH+fGQ+5OGUtN0EW3PDST\nmwNKbJEpIDcIPdbOTevBseEPWSH91Jq53EHLQJcRfohARlKqnQIHr2uC74wL\nfr+0S/paCt/F/MpnmPtpjnDzpKP8/XIneXn3FLFrftqzneZMcPn4NAwvzspf\nrHv3Ar1KQUPtrW+iCeu+iHYAkviGsiw1ETb9OmhFHCOKJg8c9M+ITKqhVAx6\nhAgPtplK81imTCWgWg1upKZgXTG/KwJAfU2xkvPZ/VaOmZLXSUinS43JbkzZ\n3g4oFktfIVX65zLjByGyKnPFe5sXI+Seuk2d2Aq+lgO3uKryfkrYijI3zj1F\nebpH3BhcLnIVLRNIYeG7ulTO1FDBXn8RjRf6CamTSKkRfP8GyQuxf3qTgFdE\n48bH\r\n=IDvj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/brex.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build","generate-docs":"npx typedoc --sort source-order --sort alphabetical"},"typings":"dist/index.d.ts","_npmUser":{"name":"sanil","email":"sanil@slingshot.fm"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/slingshot/brex.git","type":"git"},"size-limit":[{"path":"dist/brex.cjs.production.min.js","limit":"10 KB"},{"path":"dist/brex.esm.js","limit":"10 KB"}],"description":"This project is an unofficial JS wrapper for the Brex API, maintained by [Slingshot](https://github.com/slingshot). We use this library in production for managing payouts to artists on our platform.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Slingshot Media, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","dependencies":{"isomorphic-unfetch":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^7.0.4","tslib":"^2.3.1","eslint":"7","typedoc":"^0.22.9","size-limit":"^7.0.3","typescript":"^4.5.2","eslint-plugin-react":"^7.27.1","eslint-config-airbnb":"19.0.1","eslint-plugin-import":"^2.25.3","eslint-plugin-jsx-a11y":"^6.5.1","@typescript-eslint/parser":"^5.0.0","eslint-plugin-react-hooks":"^4.3.0","@size-limit/preset-small-lib":"^7.0.3","eslint-config-airbnb-typescript":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/brex_0.4.0_1638073495447_0.2584481787552355","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"brex","version":"0.5.0","author":{"name":"Sanil Chawla"},"license":"MIT","_id":"brex@0.5.0","maintainers":[{"name":"sanil","email":"sanil@slingshot.fm"}],"dist":{"shasum":"7bc1ff48dc169517dc2ab115711f99e06fe750ea","tarball":"https://registry.npmjs.org/brex/-/brex-0.5.0.tgz","fileCount":85,"integrity":"sha512-45C5cSwE5i+UssymSfcsEeyN9fylp4OWK9cZtJFRBc+tqXkYmxhUt5nYv9jD9dN8khL3guvLyCNEJmRxjLCcuw==","signatures":[{"sig":"MEUCIQCUC3bNS4Tvb+84j2EA1ZO1LhSRsSlAcHnuAMHu88xd9QIgQPrgJ0QkG2uol2BIxzo8LxqXkXUokDZ+j1DuN4c/080=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":386673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJho9zOCRA9TVsSAnZWagAAtg8P/1sAoD6RQnPju8wuwqqk\n3L23DIAbhgO55ohvhyjdsNMKKkKioV8l9t3MmHRQJU+xNgSsJh+Z+NpGLCNN\nB/E73krYuT/1cETs1w0sBMBm2eEvexArkxiF8P8DxsJEy9f7pSHszzwYAw7T\nAE1BcjBSdXtcvpcnJ27LXimy4PkKiTClgNh0zcjKSDb0yBJYoEFWWtwVUvEO\nUPm4ve4XsHgVcK4DgUV+Phd5k99srjsFkYJsIonYMumGRhDhvd9u1JfCOIHA\neqtJesd1MQEvuRspQfC6xd89Hr/lnG74BOe7Z47olLvAtkP8CbQywzVvMlzr\nPnFArSvg3PqBFfYH+Pdn9Qy8VUmYMrOuJgvxFNQu9t/SWCYnvdEfD6zCgI1T\nSJAc3QdQHHhlgaOdDzXj+be3vML/S/zHKcZBtil5sAUnvefF7yfYrR1FUmbk\nqI8nJzX054mh1AjlVfZPxc8f7d0xbzZZXaNbeSOgbu87UPwhUQ2X8uHGGZ07\nBLejYvTaEEMry3mAVMH7dlt05p1Bo1VzKy1NcYmxc4c5u2ytMYgVBETSaDGD\nJ5iS5RzoZ6sIllNMBMRYu+HECynLmwFDB1l1gN5XBYOC7VPF72fk4U8WZNZo\nnqHcCTVYmdm/vjxG2Qo7fNKGTXswujU4fbvqIyc6GrPqSIrmD8yQnAYtG9MR\ne0pW\r\n=fkEN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/brex.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build","generate-docs":"npx typedoc --sort source-order --sort alphabetical"},"typings":"dist/index.d.ts","_npmUser":{"name":"sanil","email":"sanil@slingshot.fm"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/slingshot/brex.git","type":"git"},"size-limit":[{"path":"dist/brex.cjs.production.min.js","limit":"10 KB"},{"path":"dist/brex.esm.js","limit":"10 KB"}],"description":"This project is an unofficial JS wrapper for the Brex API, maintained by [Slingshot](https://github.com/slingshot). We use this library in production for managing payouts to artists on our platform.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Slingshot Media, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","dependencies":{"isomorphic-unfetch":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^7.0.4","tslib":"^2.3.1","eslint":"7","typedoc":"^0.22.9","size-limit":"^7.0.3","typescript":"^4.5.2","eslint-plugin-react":"^7.27.1","eslint-config-airbnb":"19.0.1","eslint-plugin-import":"^2.25.3","eslint-plugin-jsx-a11y":"^6.5.1","@typescript-eslint/parser":"^5.0.0","eslint-plugin-react-hooks":"^4.3.0","@size-limit/preset-small-lib":"^7.0.3","eslint-config-airbnb-typescript":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/brex_0.5.0_1638128846502_0.02367656193885903","host":"s3://npm-registry-packages"}},"0.5.1":{"name":"brex","version":"0.5.1","author":{"name":"Sanil Chawla"},"license":"MIT","_id":"brex@0.5.1","maintainers":[{"name":"sanil","email":"sanil@slingshot.fm"}],"dist":{"shasum":"6ccedb708e68aba50ba87791369e18cdc17879aa","tarball":"https://registry.npmjs.org/brex/-/brex-0.5.1.tgz","fileCount":85,"integrity":"sha512-P8U+7pgRPXNdfJgexHhGo0zUUXFRRiLuAf+Us2GdM7ms1ghPL32nJskeCWXOKfMHngWb7qaN73bbllFiS1C8Wg==","signatures":[{"sig":"MEQCIFPCd64WW/qpAebeEkXNzCdYb9ayGEULd4oMhBS/3RELAiBR1cf46TrQ6aYTk9lBNAazdAnKxmHCB0gITboB9SAhuA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":386663,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1kOeCRA9TVsSAnZWagAAHW8P/AhY/qpj2f9VaxQjcjnr\nsEsxcwyTa1GX1LSH8TuR1HVKoIZDt5KoyYI2UawKBY0aJyBmniPmn+Io+quh\nUuvA4f+m3PhZFnHp7ytUVaI4fcycgpn41XJz1yLP0vcmWCIKnHyvLWTuMl8J\nRx5Q17erlZKPgdBN/D8wFdPtja23QFzffoO8C5g7CJeaGpB/uhcy3ipqxBVO\n0BrbZ4Slym9+xN3w4rNr10wXQ4CGOIfz6gOmTt/jaa2cS0o8IvbbaYPwtFkt\nGPKWs3ABBhWRYQn1TwaNfSn3Ylai/6Lsc9zfvcoF9MSsMX36MKZpiH+s0UPo\nFoPy8gi5ByfCNh6iaVArkW8hAIgNPMXBwedshecP4mTvmZVlPOe+lQy3+Mtt\nPnahDSGI0k45oWUCPPXyXSZFHEpK6sQ6GHpatskyWhy43HxQZO0pOW2Ex/rn\nhUk6Ett5yfJVyCn1gyW6/cSLRjSUhwbmmrDImEqVyBlGo7mEnnZdKC5EZtFm\nGZ3uib3IEqPfP9keqDs9doWGn2E68EnfcUm3EKcB+2BV+4czA+8CiAX+73F+\nPm5i8E91JYsuqYsWFcTAVlyA9TQrVCZYIq8Uh7yn5orx+oc3EEjbR138FhTN\n9GeUycUiT4LoQMAUFG4G0DvkzEsa2mdOYPuvAqkr2M7BMATJ9QG9CmVXQ2bf\ngYey\r\n=cdei\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/brex.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build","generate-docs":"npx typedoc --sort source-order --sort alphabetical"},"typings":"dist/index.d.ts","_npmUser":{"name":"sanil","email":"sanil@slingshot.fm"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/slingshot/brex.git","type":"git"},"size-limit":[{"path":"dist/brex.cjs.production.min.js","limit":"10 KB"},{"path":"dist/brex.esm.js","limit":"10 KB"}],"description":"This project is an unofficial JS wrapper for the Brex API, maintained by [Slingshot](https://github.com/slingshot). We use this library in production for managing payouts to artists on our platform.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Slingshot Media, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","dependencies":{"isomorphic-unfetch":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^7.0.4","tslib":"^2.3.1","eslint":"7","typedoc":"^0.22.9","size-limit":"^7.0.3","typescript":"^4.5.2","eslint-plugin-react":"^7.27.1","eslint-config-airbnb":"19.0.1","eslint-plugin-import":"^2.25.3","eslint-plugin-jsx-a11y":"^6.5.1","@typescript-eslint/parser":"^5.0.0","eslint-plugin-react-hooks":"^4.3.0","@size-limit/preset-small-lib":"^7.0.3","eslint-config-airbnb-typescript":"^16.0.0","@typescript-eslint/eslint-plugin":"^5.0.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/brex_0.5.1_1641431966347_0.2127439617100606","host":"s3://npm-registry-packages"}},"2.0.0-alpha.1":{"name":"brex","version":"2.0.0-alpha.1","keywords":["brex","api","sdk","typescript","openapi","expenses","payments","fintech"],"author":{"name":"Sanil Chawla"},"license":"MIT","_id":"brex@2.0.0-alpha.1","maintainers":[{"name":"sanil","email":"sanil@slingshot.fm"}],"homepage":"https://github.com/slingshot/brex#readme","bugs":{"url":"https://github.com/slingshot/brex/issues"},"dist":{"shasum":"d9f42243bfa3e9de54ab4a57e87dfb7d7dacd27d","tarball":"https://registry.npmjs.org/brex/-/brex-2.0.0-alpha.1.tgz","fileCount":69,"integrity":"sha512-9NixpaYUaVCFmzGLIA5aeZaHSbftJxN9f6nNLHorjCM1QdFRyUusgAFbu1tsUJs2aDZK2qte6VTjUj/xYakY/g==","signatures":[{"sig":"MEUCIQCENwgwSIGm5i/rLxiIPUcUkjhqVeP42ugplsXuR7nrYwIgc8D3OBRfpjzHZGJ77R3Pld7/z0lBvNI/rF3isNjbL4c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/brex@2.0.0-alpha.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":625112},"type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./team":{"types":"./dist/team.d.ts","default":"./dist/team.js"},"./fields":{"types":"./dist/fields.d.ts","default":"./dist/fields.js"},"./travel":{"types":"./dist/travel.d.ts","default":"./dist/travel.js"},"./budgets":{"types":"./dist/budgets.d.ts","default":"./dist/budgets.js"},"./expenses":{"types":"./dist/expenses.d.ts","default":"./dist/expenses.js"},"./payments":{"types":"./dist/payments.d.ts","default":"./dist/payments.js"},"./webhooks":{"types":"./dist/webhooks.d.ts","default":"./dist/webhooks.js"},"./accounting":{"types":"./dist/accounting.d.ts","default":"./dist/accounting.js"},"./onboarding":{"types":"./dist/onboarding.d.ts","default":"./dist/onboarding.js"},"./package.json":"./package.json","./transactions":{"types":"./dist/transactions.d.ts","default":"./dist/transactions.js"}},"gitHead":"d8dae38f02333f6fae68cf2164af656510a86546","scripts":{"lint":"biome ci .","test":"bun test","build":"tsdown","format":"biome format --write .","prepare":"lefthook install","release":"bun run generate && bun run build && changeset publish","generate":"bun scripts/generate.ts","typecheck":"tsc --noEmit && tsc --noEmit -p tsconfig.lib.json","sync-specs":"bun scripts/sync-specs.ts","check:package":"publint && attw --pack . --profile esm-only"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3d46f8a5-2fb2-4490-b1a0-5c2e9c8fb5a6"}},"repository":{"url":"git+https://github.com/slingshot/brex.git","type":"git"},"_npmVersion":"11.16.0","description":"Unofficial TypeScript SDK for the Brex API, generated deterministically from Brex's OpenAPI specs. Tree-shakeable, ESM-only, zero dependencies.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","readmeFilename":"README.md","devDependencies":{"yaml":"2.9.0","tsdown":"0.22.5","publint":"0.3.21","lefthook":"2.1.10","@types/bun":"1.3.14","typescript":"5.9.3","@biomejs/biome":"2.5.3","@changesets/cli":"2.31.0","@commitlint/cli":"21.2.1","openapi-typescript":"7.13.0","@arethetypeswrong/cli":"0.18.5","@commitlint/config-conventional":"21.2.0"},"_npmOperationalInternal":{"tmp":"tmp/brex_2.0.0-alpha.1_1783840986634_0.26210172930967346","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"brex","version":"2.0.0","description":"Unofficial TypeScript SDK for the Brex API, generated deterministically from Brex's OpenAPI specs. Tree-shakeable, ESM-only, zero dependencies.","keywords":["brex","api","sdk","typescript","openapi","expenses","payments","fintech"],"license":"MIT","author":{"name":"Sanil Chawla"},"repository":{"type":"git","url":"git+https://github.com/slingshot/brex.git"},"homepage":"https://github.com/slingshot/brex#readme","bugs":{"url":"https://github.com/slingshot/brex/issues"},"type":"module","sideEffects":false,"engines":{"node":">=20.19.0"},"packageManager":"bun@1.3.14","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./accounting":{"types":"./dist/accounting.d.ts","default":"./dist/accounting.js"},"./budgets":{"types":"./dist/budgets.d.ts","default":"./dist/budgets.js"},"./expenses":{"types":"./dist/expenses.d.ts","default":"./dist/expenses.js"},"./fields":{"types":"./dist/fields.d.ts","default":"./dist/fields.js"},"./onboarding":{"types":"./dist/onboarding.d.ts","default":"./dist/onboarding.js"},"./payments":{"types":"./dist/payments.d.ts","default":"./dist/payments.js"},"./team":{"types":"./dist/team.d.ts","default":"./dist/team.js"},"./transactions":{"types":"./dist/transactions.d.ts","default":"./dist/transactions.js"},"./travel":{"types":"./dist/travel.d.ts","default":"./dist/travel.js"},"./webhooks":{"types":"./dist/webhooks.d.ts","default":"./dist/webhooks.js"},"./package.json":"./package.json"},"scripts":{"prepare":"lefthook install","sync-specs":"bun scripts/sync-specs.ts","generate":"bun scripts/generate.ts","build":"tsdown","typecheck":"tsc --noEmit && tsc --noEmit -p tsconfig.lib.json","lint":"biome ci .","format":"biome format --write .","test":"bun test","check:package":"publint && attw --pack . --profile esm-only","release":"bun run generate && bun run build && changeset publish"},"publishConfig":{"access":"public","provenance":true},"devDependencies":{"@arethetypeswrong/cli":"0.18.5","@biomejs/biome":"2.5.3","@changesets/cli":"2.31.0","@commitlint/cli":"21.2.1","@commitlint/config-conventional":"21.2.0","@types/bun":"1.3.14","lefthook":"2.1.10","openapi-typescript":"7.13.0","publint":"0.3.21","tsdown":"0.22.5","typescript":"5.9.3","yaml":"2.9.0"},"gitHead":"c4619e7de67600672b9fe37ceebb428a7440b2a9","_id":"brex@2.0.0","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-zUM4qv0XEyGxdwVvq0gu2EOqwCxaaj2rvzhE0pFfZC3xTyWDU+gHlxcECMHj/xuwRM1XlQjAmubBiPkJnhPHFg==","shasum":"bbc1e1c0c8c2a3d396d44f33c0a2c7bf49f233d8","tarball":"https://registry.npmjs.org/brex/-/brex-2.0.0.tgz","fileCount":69,"unpackedSize":625104,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/brex@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAgJCNQCYPxT7k1nzR2Mcc1vDtuw41vzX/vQOhwml6kUAiEA9hp/N6Irb/XkFCob+Ryb8AirtD4ddEhVzZGZvukBK/0="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3d46f8a5-2fb2-4490-b1a0-5c2e9c8fb5a6"}},"directories":{},"maintainers":[{"name":"sanil","email":"sanil@slingshot.fm"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/brex_2.0.0_1783841369346_0.2502759845224787"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-23T09:26:48.616Z","modified":"2026-07-12T07:29:29.745Z","0.1.1":"2021-11-23T09:26:48.742Z","0.2.0":"2021-11-24T21:15:58.254Z","0.3.0":"2021-11-26T01:59:02.988Z","0.3.1":"2021-11-26T02:02:56.349Z","0.4.0":"2021-11-28T04:24:55.596Z","0.5.0":"2021-11-28T19:47:26.632Z","0.5.1":"2022-01-06T01:19:26.531Z","2.0.0-alpha.1":"2026-07-12T07:23:06.760Z","2.0.0":"2026-07-12T07:29:29.479Z"},"author":{"name":"Sanil Chawla"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/slingshot/brex.git"},"description":"Unofficial TypeScript SDK for the Brex API, generated deterministically from Brex's OpenAPI specs. Tree-shakeable, ESM-only, zero dependencies.","maintainers":[{"name":"sanil","email":"sanil@slingshot.fm"}],"readme":"# brex\n\n[![npm version](https://img.shields.io/npm/v/brex.svg)](https://www.npmjs.com/package/brex)\n[![CI](https://github.com/slingshot/brex/actions/workflows/ci.yml/badge.svg)](https://github.com/slingshot/brex/actions/workflows/ci.yml)\n[![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\nAn unofficial TypeScript SDK for the [Brex API](https://developer.brex.com), maintained by [Slingshot](https://github.com/slingshot). Every client, method, and type is **generated deterministically from Brex's published OpenAPI specs** — the specs are vendored in this repo, generation is byte-for-byte reproducible, and CI fails if the committed code ever drifts from the specs.\n\n- **Fully typed** — request bodies, query params, and responses are typed straight from the specs\n- **Tree-shakeable** — import one API via subpaths (`brex/payments`) and the other nine never enter your bundle (~3.5 kB min for a single API)\n- **Runs everywhere** — native `fetch`, zero runtime dependencies, ESM-only; Node ≥ 20.19 (including `require()`), Bun, Deno, browsers, and edge runtimes\n- **Auto-pagination** — every list method is both a promise and an async iterator\n- **Idempotency built in** — `Idempotency-Key` headers are sent automatically where Brex requires them\n\n> [!IMPORTANT]\n> This is an **unofficial library**, not created, maintained, or in any way connected with Brex Inc. or any associated entity. \"Brex\" is a registered trademark of Brex, Inc. Use of the Brex API is subject to the [Brex Access Agreement](https://www.brex.com/legal/developer-portal/). Most usage involves highly sensitive financial data — you are entirely responsible for securing it.\n\n## Install\n\n```sh\nbun add brex\n# or\nnpm install brex\n```\n\nRequires Node ≥ 20.19 (or any modern runtime with `fetch`). The package is ESM-only; on Node ≥ 20.19, `require(\"brex\")` works too.\n\n## Quickstart\n\n```ts\nimport { Brex } from \"brex\";\n\nconst brex = new Brex({ token: process.env.BREX_TOKEN! });\n\n// Typed responses\nconst me = await brex.users.getMe();\n\n// Create with an auto-generated Idempotency-Key\nconst vendor = await brex.vendors.create({ company_name: \"Acme Inc\" });\n\n// One page…\nconst page = await brex.expenses.list({ limit: 100 });\n\n// …or every item across all pages\nfor await (const expense of brex.expenses.list({ \"expand[]\": [\"merchant\"] })) {\n  console.log(expense.id);\n}\n```\n\nGenerate a user token in your Brex dashboard, or obtain one via OAuth.\n\n## Tree-shakeable subpath imports\n\nThe root `Brex` class wires up all ten Brex APIs. If bundle size matters (browsers, edge functions), import only what you use — each subpath is an independent module graph:\n\n```ts\nimport { createPaymentsClient } from \"brex/payments\";\n\nconst payments = createPaymentsClient({ token: process.env.BREX_TOKEN! });\nconst vendors = await payments.vendors.list({ name: \"Acme\" });\n```\n\nEvery subpath also exports its resource classes (for composing with a shared `BrexCore`) and all of its schema types:\n\n```ts\nimport type { VendorResponse, CreateVendorRequest } from \"brex/payments\";\nimport type { ExpandableExpense } from \"brex/expenses\";\n```\n\n## Pagination\n\nEvery list endpoint returns a `PagePromise` — await it for a single page, iterate it for items, or step through pages:\n\n```ts\n// Single page (respects your `cursor`/`limit` params)\nconst page = await brex.transactions.listPrimaryCard({ limit: 50 });\n\n// All items, across pages — follows next_cursor automatically\nfor await (const tx of brex.transactions.listPrimaryCard()) { /* … */ }\n\n// Page-by-page\nfor await (const p of brex.transactions.listPrimaryCard().pages()) { /* … */ }\n```\n\n## Authentication\n\nPass a static token, or a provider function (called per request — useful for OAuth token refresh):\n\n```ts\nconst brex = new Brex({\n  token: async () => getFreshAccessToken(),\n});\n```\n\n## Options\n\n```ts\nconst brex = new Brex({\n  token: \"…\",\n  baseUrl: \"staging\",          // \"production\" (default), \"staging\", or any URL\n  fetch: myCustomFetch,         // inject for proxies, retries, or tests\n  defaultHeaders: { \"x-app\": \"my-app\" },\n});\n```\n\nPer-request options are the last argument of every method:\n\n```ts\nawait brex.vendors.create(\n  { company_name: \"Acme Inc\" },\n  {\n    idempotencyKey: \"order-1234\",          // else an UUID is auto-generated where required\n    signal: AbortSignal.timeout(10_000),   // abort/timeout\n    headers: { \"x-trace-id\": \"abc\" },\n  },\n);\n```\n\nRetries are intentionally out of scope — wrap the injected `fetch` if you need them.\n\n## Error handling\n\nNon-2xx responses throw a `BrexError`:\n\n```ts\nimport { Brex, BrexError } from \"brex\";\n\ntry {\n  await brex.vendors.get(\"vendor_id\");\n} catch (error) {\n  if (error instanceof BrexError) {\n    error.status;     // HTTP status code\n    error.body;       // parsed JSON error body (or raw text)\n    error.requestId;  // x-request-id header, if present\n    error.headers;    // full response Headers\n  }\n}\n```\n\n## API reference\n\nNamespaces and methods are derived deterministically from the specs' tags and operationIds (with a small, reviewed [overrides file](scripts/generate/overrides.ts)). Methods requiring an `Idempotency-Key` send one automatically. ~~Struck-through~~ methods are deprecated upstream.\n\n<!-- generated:api-table:start -->\n\n| Subpath import | Namespace | Methods |\n| --- | --- | --- |\n| `brex/accounting` | `accountingIntegrations` | `create`, `disconnect`, `reactivate` |\n| `brex/accounting` | `accountingRecords` | `get`, `query`, `reportAccountingExportResults` |\n| `brex/budgets` | `budgetPrograms` | `get`, `list` |\n| `brex/budgets` | `budgetsV1` | `archive`, `create`, `get`, `list`, `update` |\n| `brex/budgets` | `budgets` | `archive`, `create`, `get`, `list`, `update` |\n| `brex/budgets` | `spendLimits` | `archive`, `create`, `get`, `list`, `update` |\n| `brex/expenses` | `cardExpenses` | ~~`get`~~, ~~`list`~~, `update` |\n| `brex/expenses` | `expenses` | `get`, `list` |\n| `brex/expenses` | `receipts` | `match`, `upload` |\n| `brex/fields` | `fieldValues` | `create`, `delete`, `get`, `list`, `update` |\n| `brex/fields` | `fields` | `create`, `delete`, `get`, `list`, `update` |\n| `brex/onboarding` | `referrals` | `createDocument`, `createRequest`, `get`, `list`, `processDelayedEINDocument` |\n| `brex/payments` | `linkedAccounts` | `list` |\n| `brex/payments` | `transfers` | `create`, `createIncoming`, `get`, `list` |\n| `brex/payments` | `vendors` | `create`, `delete`, `get`, `list`, `update` |\n| `brex/team` | `cards` | `create`, `emailNumber`, `get`, `getNumber`, `list`, `lock`, `terminate`, `unlock`, `update` |\n| `brex/team` | `companies` | `get` |\n| `brex/team` | `departments` | `create`, `get`, `list` |\n| `brex/team` | `legalEntities` | `get`, `list` |\n| `brex/team` | `locations` | `create`, `get`, `list` |\n| `brex/team` | `titles` | `create`, `get`, `list` |\n| `brex/team` | `users` | `create`, `get`, `getLimit`, `getMe`, `list`, `setLimit`, `update` |\n| `brex/transactions` | `accounts` | `get`, `getPrimary`, `list`, `listCard`, `listCashStatements`, `listPrimaryCardStatements` |\n| `brex/transactions` | `transactions` | `listCash`, `listPrimaryCard` |\n| `brex/travel` | `trips` | `get`, `getBooking`, `list`, `listBookings` |\n| `brex/webhooks` | `webhookGroups` | `addMembers`, `create`, `delete`, `get`, `list`, `listMembers`, `removeMembers` |\n| `brex/webhooks` | `webhooks` | `create`, `delete`, `get`, `list`, `listSecrets`, `update` |\n\n<!-- generated:api-table:end -->\n\nFull request/response types for every method live in each subpath's exported schema types (e.g. `import type { VendorResponse } from \"brex/payments\"`), plus the raw `paths`/`components` OpenAPI shapes (`PaymentsPaths`, `PaymentsComponents`).\n\n## How generation works\n\n```\nspecs/*.yaml  ──bun run generate──▶  src/<api>/{types,schemas,client}.gen.ts + entries\n```\n\n- The 10 OpenAPI specs are **vendored byte-for-byte** in [`specs/`](specs) and re-fetched only by a human running `bun run sync-specs`.\n- `bun run generate` is a **pure function** of the specs, the overrides file, and exactly-pinned tool versions. Running it twice produces byte-identical output.\n- CI regenerates on every PR and **fails on drift**, so the published SDK can never silently diverge from the specs it claims to implement.\n- Types come from [openapi-typescript](https://openapi-ts.dev); the thin client layer (~250 lines of hand-written runtime) is generated with method names cleaned from operationIds (`createVendor` → `vendors.create`).\n\nTo pick up upstream API changes: `bun run sync-specs && bun run generate`, review the diff, commit both.\n\n## Migrating from v1\n\nv2 is a ground-up rewrite; v1's hand-written wrapper is gone.\n\n| v1 | v2 |\n| --- | --- |\n| `new Brex(token)` | `new Brex({ token })` |\n| `brex.request({ endpoint, method, … })` | Typed methods, e.g. `brex.vendors.list()` |\n| `brex.vendors.list()` (partial coverage) | Full coverage of all 10 published APIs |\n| `isomorphic-unfetch` polyfill | Native `fetch`, zero dependencies |\n| CommonJS + ESM | ESM-only (Node ≥ 20.19 `require()` still works) |\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md). Releases are automated with [Changesets](https://github.com/changesets/changesets) and published to npm with provenance.\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","homepage":"https://github.com/slingshot/brex#readme","keywords":["brex","api","sdk","typescript","openapi","expenses","payments","fintech"],"bugs":{"url":"https://github.com/slingshot/brex/issues"}}