{"_id":"openai","_rev":"367-f8a960abb5d3fdd008fc235d594153fa","name":"openai","dist-tags":{"next":"4.0.0-beta.12","alpha":"5.0.0-alpha.0","beta":"5.0.0-beta.0","latest":"6.17.0"},"versions":{"0.0.0":{"name":"openai","version":"0.0.0","license":"MIT","_id":"openai@0.0.0","maintainers":[{"name":"richienb","email":"richiebendall@gmail.com"}],"dist":{"shasum":"8de6a226b7f7ac71ae4e826e9e3d51cf9adf2dc6","tarball":"https://registry.npmjs.org/openai/-/openai-0.0.0.tgz","fileCount":2,"integrity":"sha512-zMfA6bKY9mYD5+49ozQd3eKmVwIAlPmUNsn+ShgWaMzIy1DlTXnEgKQt/iD5YZr38qwQN/JDHdieV6l1nEB9jg==","signatures":[{"sig":"MEUCIQCsa3ephGkXZaY+2h7S6rpmkvJay92N4iSHAUmeJ3QyoAIgXhh+x3+jmroqHH+SGjJ/g7tvmcOOi2PjGr+3GLNfxiQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":93,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBxw9CRA9TVsSAnZWagAAucEP/ia8NxNyN+238V5MYKeY\njII0ii7mp89qtNci/T3/HGVZe9VByGqCPiHPRFGBywzggaCpnwSDZEjTHmL1\nR8ZynNVd5j+MrRdZo8CAlIf6QzqCXz6qyO3U6rkUschQ1c3Fopv5tVWOV/yU\nwArwG5mwlrRAA4tfgPvTiZyBaGUxgL+TNrCjLZb6D3vvp3pWgcC7OsvrIv+V\nn/v6d3JJHBjr28nqAKaxT/MnUTHayZsyDsX6gi2jKH2LCwd0KupLsAj3r5es\nADPilFE02mjOJ2aezBDhbuBTYLj5pjB0nCG+i7FPUNMmuNeUCyIkadsNPgZN\nRF0JGBD0bUnXPiWuZNzKYDSwz94hBzzsOngMM1Y4juFpfImMUUQJFRdWZMO5\nzg9n5zV9WkbU+W801t/u/2tLXMzIGZ9zBRS3A5wqtHRevZ9rWXTlv7cTRgPu\nypSqiWnUU+Xr1x42NHhbVGYrCaguRRSSsuRouqh0dL1tL5NrsMhzlH4knQV4\nG7vgToBJzZJDNWeZZxQ4+plJpTjkVP3xZLGcrZWufY+nOTSGqWhqYKJTFeLh\nHoXPTLfFV9ZJhQvPGNzgro5Ijf+L8YebGafnR3iiplMqXK8kW5IQHGHpKZTm\nLkVlddnu4jh44mKui7AQp9udA02JiCxDNCpvyf8U0qXpPzjQoJ0vntC9c/fu\nncfu\r\n=/5IF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"richienb","email":"richiebendall@gmail.com"},"directories":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_0.0.0_1594301501309_0.7076446567010608","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"openai","version":"0.0.1","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@0.0.1","maintainers":[{"name":"richienb","email":"richiebendall@gmail.com"},{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"a5b0138ba5db5e0733c5e2e8d9e166dff0717b12","tarball":"https://registry.npmjs.org/openai/-/openai-0.0.1.tgz","fileCount":11,"integrity":"sha512-Fe/vlHeERjhIlsLuEIOVcTpxZ/08GmOXZgM0Yq0OGauegD/5PcriNKtYzJvf6V3Wg7ZEjxmYirSC1F0TK04PAQ==","signatures":[{"sig":"MEYCIQDHV8LKTB4yI4R5XUpvhSqnM+grVgiXJy02/QjfcPL7iQIhAN/Sa75faqY/aHd8ZRUknE7qlliKK3KYXHKVEvv8s+hz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAF9oCRA9TVsSAnZWagAAj8YP/R12IQKcvS68exzm6xE/\nONfydf6NfTZ1ic4PfPZjWik0i+MCHrD6A3V2SkLu7SlHrVzHL2tu02jts4IL\nChumjOs3psKn5i8uEtSMB5Sy8w0I0j6lhXYDPXG5CYiWsKTyRE1fxlPEu9CH\n7waZ76A7ZpMamoIq7dOtG/01E9Fxla+5hEro/s5lbwnSG1cwMLY5Z47D3Cdw\n2i2dQWHpwHkt5vd9CAQP+VYJOW2HA/iAd0lqyz7iLtnyHHxVY1zLT+lCcCeT\nbTPEgPSsVLfv5Yn1olrjYvYEtPMMqIUIJ7Bub9Lzev287kxLmPzQB2CuiCGx\n3Yl7Krba1UsN+zG3bI8+Wng7RladtRBy2ytOyF/nVrAuJVFG8dhcNMaO/MdM\nlckv0VvLQnkYHFGpFx3ZD9Io/Aaa3xOqImisb6cNYNkYRAQat8HhIg2t4dRu\nXeQcsIqwmMg2oVYHVctOT91WP9Hjl92NS5K5U4t2+BconvWeXyN2c8Dv317O\nXUKkpwGsZnab/GnNK/7e6rf7lFOodr6Q1rXp+sFjpuzpoJvGM/VgXmS4knIT\niUJjABxaWrbipODUT8G3F17OGrWGwiV0y6JCTAF3FWwgjy1a9OKuzyARlq5+\nKepxGiCgoSGloyLGgN4RpmuO84TTJTB3APi5kBCQVK+EJUY3L6cWOIyO22oZ\nrIll\r\n=tkF/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"639a7e47e36327380eebe1c404293f3645daee85","scripts":{"lint":"eslint . --fix --cache","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint ."},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"6.14.11","description":"Not ready for production!","directories":{},"_nodeVersion":"14.15.5","dependencies":{"node-fetch":"^2.6.1"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"2.3.0","eslint":"7.31.0","prettier":"2.3.2","typescript":"4.3.5","@types/node-fetch":"^2.5.12","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.28.5","@typescript-eslint/eslint-plugin":"4.28.5","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_0.0.1_1627414375987_0.8296132577625828","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"openai","version":"0.0.2","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@0.0.2","maintainers":[{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"234b9643d92e953c00c137c5f46798c29a8f6d5b","tarball":"https://registry.npmjs.org/openai/-/openai-0.0.2.tgz","fileCount":11,"integrity":"sha512-KXgQ50jLPCvdWtI1SPxYmkiW6slYzHMkTqd5vOjpmxR7og/G89dk/0dGcgNTk8zt0E7MPKR+hQPToVntwvUKNQ==","signatures":[{"sig":"MEUCIHhCmHFu89iun6AR56QDU5beyZtF5C8QHT8p3bo/qNx+AiEAgV7SB2N2VtJFjZfCz354Om8DiWBYOGcTAU7/8si90YQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDVorCRA9TVsSAnZWagAAHSIQAJD659ASuidZqXcgAFb9\nvSlpACSWuc7sQnGD5Ya/GaLXtIh7WgQZ3cI2TiUnuKnfs9Ed8YsoaItQ7icq\n6YCvi36nfIh++owTaAowqJ+Ne/3h74OE/cRDThqnas4ZjkiDyp8ZECysN5Hf\n8F5UmBjoVE0J7UA2jiWgljW/TGyAj5ejaDVOuggWk72up5jDV3OmSLVPaI+9\nFNDF47N4DwU80JVHLJVRlXqziEOmn9ZhGXLjzyZysARMsdODcNYWOTG5H+6c\nsVmyIiTUzbNDhH7i6HWqlAeCElQjseaGpEVL6z5Q6jyuD2Ljp3P/R1WjH/bc\nOPYKzrXtKi9KMWJIL/EUXu08HmQLVL+NfYXBos7B/Or78045j5Y/rmyySQZo\nki8HrEYyI2LWda5TJyQtzTPkRQMq8KC64MIFgvIxBzND7dt0icGzchJz2WEz\n7EWugQNIfIKby9WetieVX7SUS8oGOSDCoG3CW9MKgxlTfiFz+Vy4g3cBkjJ/\nAICd0kccErDUacgBupq90Mib559rB/EeYFiWrxJe9LsgT5IqZ7QTmXSZtxkm\ncSKbQkf6UhPjilDg8nE09FJefrqFm9Jt8hm+w+AvJA/XdupFEc/YxOUCW6Ze\nfClQL/eaVINOorjBopbq4W35A70KGqxMgtLFs7byDzWA6AKgLpTWvS+Gjdkg\naAFN\r\n=6yNj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.ts","gitHead":"2718b3c026c4227edc79d9de4c38b739312269b5","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"6.14.11","description":"Not ready for production!","directories":{},"_nodeVersion":"14.15.5","dependencies":{"tslib":"2.3.0","form-data":"4.0.0","node-fetch":"2.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"7.32.0","prettier":"2.3.2","typescript":"4.3.5","@types/node-fetch":"2.5.12","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.29.0","@typescript-eslint/eslint-plugin":"4.29.0","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_0.0.2_1628265003294_0.7155888252715803","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"openai","version":"0.0.3","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@0.0.3","maintainers":[{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"462e3f19112e88069e397e3b3b389a950e43772e","tarball":"https://registry.npmjs.org/openai/-/openai-0.0.3.tgz","fileCount":8,"integrity":"sha512-6NUvO9Ha0xO5EKCWOHZ68aOaIWB+gMv/PwdEKJzBtl4SBloZ9VeYrc1RbxAy3Q9q2XGxVOSuNXg5/BQKGbpZlQ==","signatures":[{"sig":"MEUCIQDJK1OMuQgyCCLNoOQb9/loc8WRWgWFTYd9IcXxP/lAJwIgT1er2TTIIh+p25YH36h6CFgtr3n2O6oJqFOGuIOcFMk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDV1DCRA9TVsSAnZWagAAAvQP/1dERXhElEul4NbEtoh5\n5bgu0slag03lj9z+yTsLVLbmBX+5F9w6wZrIzoDBgfv9jViXLwcKKnQIECgC\ntrIDuDL5IbxCXVuPS1IAudMgZnQS0iJ6HNzwwNU+psZ/61POTiKGjRjEJbmM\nEUe5tX8Xyjz9K8+SSjMfPju4A9+Roi6TCkx6oHuAUcoZQawnRe5Hkrn0e6gg\nK9997M21eaB66SxZFZjGcbuwlZGWZUDOPeghFZcwF+Sf+64BIQvPthJGiKim\nHPAWOa+vm2i71cdbpcJnj93h5etlS5R8idHQiKKMbpW1UHq06KLbaqmJBRhW\nS2BfR9XMcSf3l1S7V54EmL2xI6h3DDTa1W4/Qh+CslE8WAOWeIzAY22CLcsb\nX1SpwbvAWUqUKRt1nOeRn5T3KwD8dkO3lDZqtxm89a3k5oPptoPOpECZ4cXA\nBQkrv7PnULOdUJBhH3xfIj7FfrIldhcIvmydKT9QhT+yFFfKAyzZqeyc/Dfq\n+Ne/LRO14jAyVaQ3wV8Ly1jrEG6+FifVsy928bxK35683BxprMTqZOVoqFVT\nvRU19DJv0ZXcckQ3zUNeZyzvG1YlR/0SSjFjnepHfK4JPE1aZRoIJemPEXjU\nRBUs+1G3HKHOR9ox8iiUTXkUTUYeZ2FpmjdISBaJcD4PchNxxAsMWSWWsT5v\n7wey\r\n=dLyv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"764d283dfe82f374beec549184e451f756c53bc8","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"7.20.3","description":"Tiny OpenAI API wrapper","directories":{},"_nodeVersion":"16.6.1","dependencies":{"tslib":"2.3.0","form-data":"4.0.0","node-fetch":"2.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"7.32.0","prettier":"2.3.2","typescript":"4.3.5","@types/node-fetch":"2.5.12","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.29.0","@typescript-eslint/eslint-plugin":"4.29.0","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_0.0.3_1628265795728_0.4418056405468129","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"openai","version":"0.0.4","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@0.0.4","maintainers":[{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"f937c4b06fc97044036407d11d532b7c123b6380","tarball":"https://registry.npmjs.org/openai/-/openai-0.0.4.tgz","fileCount":7,"integrity":"sha512-0i0YKVSVUAC0S3ppLQoxicY5+xAr3sk9CrGcU2f2Ee1NB+77ikBxVY+h5W4etAI0MLy/t70OINkramX5/zITOQ==","signatures":[{"sig":"MEUCIELkgEbCDmYlt/xYizB4GZgEDdEPksh0Nzt7k1mg3C/CAiEAw0NskPD2CEwHTztPIwffRNlUOIx2bg83YgnBxFF60vY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12565,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDWrACRA9TVsSAnZWagAAjF8QAJ20FuWMRvjye2TtLmsz\n7o/9JyzjE+KfWcdP2AfY+ar44qhMQ0hdnCUmxH9HRHdnweGYE08z0LbSQ0MN\nEJWS9bkUg1ST6jKi2CeQVgCZhOBbWzNQYnq9mzlfr5g+EayRZFj1EvaR+1Gf\n/55o030Ag4SmxzEOfYgZMkTj0IgV8NWBzUiE6lFWRslYtAUP39dJrKY2Buyv\nis7FU8wxmAQQRlzbW9ikqKQd12nh3qR1djoNQ7ubBkz3KWZpNnGJnQ/g/pke\noEdfGtK8sq+2O4ctg0MXxEXqj2LnHPgD66WVyeHEK6gZ94RHGpBetEKqT2m1\nN+iCDjIte0SscCJo8/0o2b2d7Spx8J4pBqTcewv7T3DNfe9iQVqSc2Bfyf9V\nMpbIjaQTZGCKhB+FHeypqyVZUFUICRUj8udR7yBpuOJHQh4bHNTVJMpQGV77\nFO4ymTPqqru9H1sHFFpws+Pe8YiuF1OKEEVpGI1LGKcd7o06qzWSP2brm0j1\niPjK3FzwcoqfL3/bAXEcs/s+ICz9t1ob+pzOfaaQeij15ykZFVX3PthG3mrv\nvbUVRlUeKgj2/iOINtZvtiBmD5GVhhi/1pPyoIG0VpyWiyryMCY91W6m1yjS\n4V+nyVwCWmkidbalo1I2vYfnouUzPq9r3D1YRR3bZlc9pl++7dbxy2ajhdWb\nC4Fg\r\n=eX6G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"4851c4f05a421157377b1dbba2d501b6f84c4631","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"7.20.3","description":"Tiny OpenAI API wrapper","directories":{},"_nodeVersion":"16.6.1","dependencies":{"tslib":"2.3.0","form-data":"4.0.0","node-fetch":"2.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"7.32.0","prettier":"2.3.2","typescript":"4.3.5","@types/node-fetch":"2.5.12","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.29.0","@typescript-eslint/eslint-plugin":"4.29.0","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_0.0.4_1628269248715_0.1100091145560056","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"openai","version":"0.0.5","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@0.0.5","maintainers":[{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"0e86ebfaa277069b164db7a67b565ca543c803c9","tarball":"https://registry.npmjs.org/openai/-/openai-0.0.5.tgz","fileCount":7,"integrity":"sha512-0XkjNkBfwkT0ymdaWPvHX7DekJvSNhZjYaZaqD/O3CrGWb07TLZgVy4hF6sNFC9ZYC0ElnlgFN2Cfehw5UIKMw==","signatures":[{"sig":"MEUCIFuxiHWBec2Xe1UoIJb134wjEu+gN0lHzu4SrNREwTKiAiEAu4cZa9x+pvQuq4FFzmqp77nDf5PRqR4WyWPVSseyKF4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFW6dCRA9TVsSAnZWagAACZ8QAJKA5yjY4O9FI65TplI9\nVnXqbppym7g+qeHaOxGBFuir27zktIDIxv4pXx+FdKOI3drYfRPwHN94a2ia\nZFPQohNN0tX/UQpm7pV5zBap0BisugqPfMF9JGs4f6mkdvEDCL4EKN0DMvkg\n/fM2R0WWSOrdGt8YDO44zjxsR24nSm8YbzJ3LrjN+SyY2AOVxSHM4tQuF9/j\nmLEvaG0R9YhIKZYK01a43HT79+wimQkYpOzkBMyFgbr8QSzMvB6QYvYEgj+2\nHoVoGod0wBwz7ue7G0PqTji/NU0DcaVOIKQv8OaVeC+6nZfhKAUst2UoJZAc\n4Z0QBbYTJPsnjm8HIK7ZBSDOJV4Yoot8inEC4W4PXAGu6I0HJ9ydmgM8XPB0\nPRWpOyeCTWmAQgwtF1EqUA/A8eF8vQSlY4H8Lny3mrHbvlRXURI8kEcelnnq\nMF3C5Oqn9CMJnclM2jMhzzogDn/yEYtaDCdljMzGbZP20q9sXeyFU9l50GK5\n7u04VbKEkPW+wHxdCK1wlJ6kPvBt9mCByWMFSzTtuhxNwXqnxUh+zNxqAW/g\nj5uccMnja95hOoVUlVkstr7+kP385HxjKG/VhC48dZG7yGDhdlVHJjre2Wzu\nKowreuCbBV/N+7LrrgkaQh4+g4MsClY2haMEei2Tdzfjm2Ny0DhQnCCIfRPu\n2yS0\r\n=RKys\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"f2040d3bf61da55aecf217a952ca870de08504d9","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"7.20.3","description":"Tiny OpenAI API wrapper","directories":{},"_nodeVersion":"16.6.2","dependencies":{"tslib":"2.3.0","form-data":"4.0.0","node-fetch":"2.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"7.32.0","prettier":"2.3.2","typescript":"4.3.5","@types/node-fetch":"2.5.12","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.29.0","@typescript-eslint/eslint-plugin":"4.29.0","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_0.0.5_1628794525639_0.4168828807591589","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"openai","version":"0.0.6","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@0.0.6","maintainers":[{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"e94a872ffdd1fcca7953ce00fe2bacf379aec520","tarball":"https://registry.npmjs.org/openai/-/openai-0.0.6.tgz","fileCount":7,"integrity":"sha512-61jCJ/OqpQpOSgKjrfPC6CSmqoV5+Fg1Qwmqy3caZW+J33S/rjR7cZhKjFQcDtCtFahJ/aZqb/o+WCSUbG4T3Q==","signatures":[{"sig":"MEUCIQCVfL2DHBnYbPtkCSgiddjtO9nuHTZHB19sWfPBBfp/vwIgI851aJXTji4Kz8mFHpVaSiTF1d1WhfrKvhPUa7SDPHo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJP46CRA9TVsSAnZWagAANCUP/1Hg+fDKUi3Ix2KQSjGK\nKkEFIdYdw6vw9mgNSFKUsb4sAJnTXN5jMyHO8TQDkRgbMR5q+x7Z+hacQNSm\nbnEDj6Iz+nCPpTVuA2zhz5nVj8dLnrHG2TFF3RAaZkfwxFpSX4IXigjBOYaN\naXRyoy/ZvDruW1nCbrFkwkac9b9qjT/nQfnS8aveAuSL8x5NZ35kPoLLHw0W\n+unWNLqacxmbowzqcVAVoOjTcmdECb6gyqRAJzaTlP6Xtv92Ftt3xRbusi74\neec7iVhM4J8+S/gxMDG9gEHejitCSehnfk9YvE+RF2gKSLe6ngFuVYlMqgDS\n0GBknw1SgzfblH09OFaWHiwOL4H/pcZKxhRofxv/oOSC28y6WVC5Rwt9BXgh\nKJh88QlVNU2G0/l2WRy4BSFUuhQLa1yyhirm+7OIeVuWSE5fSvj31wX9No3C\ncOsrX8SJoWXU/Fq9uKGBo4ejctZi8w8Q148RJKEoKCZKjz6NdyymZljx636f\n2bl0+751TIropTRrXkpYBgTXZSRDDKqxIFWIucrRVvoXfjrqsEoQG27DM25I\nPlfSM18laRq9wqAe9wDygLeNMFu6cpJKuCZdA3awWqyhUg6sAaXRBc1q/zGb\nKCM/DdWUafwv9X+ngEnr/T1NbM1RyCoQSYWwpPzQuf0sntuc5qMOs6rO3I8K\nDKo9\r\n=JM7D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"d409c4476b4341269a734559fc49a424cc220a6c","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"7.20.3","description":"Tiny OpenAI API wrapper","directories":{},"_nodeVersion":"16.7.0","dependencies":{"tslib":"2.3.1","form-data":"4.0.0","node-fetch":"2.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"7.32.0","prettier":"2.3.2","typescript":"4.3.5","@types/node":"16.7.0","@types/node-fetch":"2.5.12","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.29.2","@typescript-eslint/eslint-plugin":"4.29.2","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_0.0.6_1629814329940_0.04511558330298526","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"openai","version":"0.0.7","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@0.0.7","maintainers":[{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"90b75d8d1d9ec07f52f6362d13bb8fc5f16779b7","tarball":"https://registry.npmjs.org/openai/-/openai-0.0.7.tgz","fileCount":7,"integrity":"sha512-suOBlZ7ICO/IXZ+d2+RJ3HibHlLjvnXA19Ob0w7fS38SS5o+XUEoJyZ8vIPMik4bRzVZ0i8wTeo0oeOxb+PdMg==","signatures":[{"sig":"MEYCIQC3t3/uB5PVEyyeem35HvAbHPZiq0X8bPbn/eCClb/cNQIhAJMLwZmYYoL6OA8wKWJGtBopd8zeDLZr7Yu2cHYb5aWb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJP6gCRA9TVsSAnZWagAAfVQP/315hrR/hLAA+A+jSm5r\nQfMoQ/73wI/Wa4idjyZKI4Ta3PYxXc2vG+BwYc2ThvbWbDhZ8imq4ytAiNbL\n+TkoeKSUp3f2hSD6H6g+EKKotc2HDUJ6illHJK5ogPo2ZCUO2VE196io9YMu\nbRnHdwFd6Am4/58WnNVpxR9aABHJFN7QAIEb1E+GoEOE0Hus/tWShHWlloVI\nba/KAy82zEiN/uv6HEG1XGh+ZY/vPVuhFUA4Eb5K6C5B56stF42ur7X0n77d\n9Fso2+IK1y7V/xI6chieZylPkPtRGwVXExa3lcdeJ9D5YcckB80zRb0dYnMo\nNnTgnXo6Ijjg8VtbNo9axNb6/WTMlRr3dTLpRGZcQqMtn7mxrd6R/wW9a8D4\ngC0kVChze/I94LvyhObEUNuAePTB0BZ+y6M9e1Tie2hajb9Gx2/pkNr/PqgR\n6uOS64y9VTTUuZijV5/L7kr+H3RaGxujlgm2Ly1VmbfX6iKXjjT73fP2MPNU\nhacei9XkGJcvmRFAByMXSCBu+E4RGxrsh5hZisymRGptTrinBtMvWZnMY+fI\nz7nomSCs/aVzm7Z8mb6Smo4L6dDOiua5GXR53ApAwA8UF2gXH+ie3g+yXLJJ\nfgimHjKpcMmdNSbPUUDQMIWjDBB/vaSeBCGyF1dcGxEVdTmPonRYRipwlQZv\n+no1\r\n=84NM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"2e3c8bbd63a0464e4c6ad010d61a6a16baaeeb9d","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"7.20.3","description":"Tiny OpenAI API wrapper","directories":{},"_nodeVersion":"16.7.0","dependencies":{"tslib":"2.3.1","form-data":"4.0.0","node-fetch":"2.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"7.32.0","prettier":"2.3.2","typescript":"4.3.5","@types/node":"16.7.0","@types/node-fetch":"2.5.12","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.29.2","@typescript-eslint/eslint-plugin":"4.29.2","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_0.0.7_1629814432192_0.4004638388914388","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"openai","version":"0.0.8","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@0.0.8","maintainers":[{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"9ede0e537ef769f3f6f31be15163010cb22cd704","tarball":"https://registry.npmjs.org/openai/-/openai-0.0.8.tgz","fileCount":7,"integrity":"sha512-CNDxWPqQYRNo+rqIadYPZUothkJ50e6/tYscMrboa1lVlHOkp2L8P7fOZ6ogYvRyIN3YNP++EAFKKQM/zDFYiQ==","signatures":[{"sig":"MEQCIALodC/+1/C4TT7Ltd61lIYvDGZhC9See3bgG7V1RhSbAiBvJbL7g9tB+KUCFfB+etlm4EICEQhNCwJIy8cb8a/7bg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKSp7CRA9TVsSAnZWagAA7tQP/19S7mrPopPDwCCQbRSf\ndNBcCAr7y6Yv/5Q+GyogxINhSnhRJKT2hB5P449pqAwl/97ofCWx7dpXZhdF\n+/RXfTE+mDTjo77CG1e2AT3Kha/ANagPV9LyY+xOf2RazEWj2Ae2RqczO5Zs\nPAXtejwoi8NzEzEJ80/+5rJtjs7LgFmNC2HLyUh7DQ5/RbAzUoIASvXF8d7j\nKU7jnqBI6+G7bgWRquOQS7uITxzd/rWhXmmnY8KFBbL+UioJpWGY7foYoMju\n+L5Ht2DoyugZ033B91iy3oMU1RS1sMuNgVWlL9GB1gz50coTAaw2j/9OCuL3\nIEvDujsb6kLhT8zwchIAy4CBNBD3SFY2A6zdwsK45AMha7qU9kkABssseVBc\niKFX7FZwZOoWtSnKuqSZqh0Q3egPYENNz4yn90VWT67fWcn46wfjDS0gI+xL\njiutxnJ/LIQmrbUi1Orrk+vW9EYnbIYoIe2Z5PTvlR1S3A1U2CpkGfoDzBzr\nRBQGFF6AQ+YFtYYcdvkSSxEitulXS6QY585OcFotXTgNKcUT19PQBaWMt9cd\nnxNk59J3wVisSrGQ7VRCXph4u6M8BDIOt6E42Jduq6/th0pGruwxwtvjY9pK\nEUldfDa5/bTrm8A4JODMXbMSsLkEJyqqBuLkhF7uEHZlhGA8nWvJlUV+PsP9\nzGzP\r\n=Hum8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"9d75042d6f975e393a2a9d3553b93e5719e7d677","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"7.21.0","description":"Tiny OpenAI API wrapper","directories":{},"_nodeVersion":"16.8.0","dependencies":{"tslib":"2.3.1","form-data":"4.0.0","node-fetch":"2.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"7.32.0","prettier":"2.3.2","typescript":"4.3.5","@types/node":"16.7.0","@types/node-fetch":"2.5.12","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"3.4.0","@typescript-eslint/parser":"4.29.2","@typescript-eslint/eslint-plugin":"4.29.2","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_0.0.8_1630087803693_0.08705923493528811","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"openai","version":"0.0.9","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@0.0.9","maintainers":[{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"977c06c37e4bbdbb98bedd0f9ee68f7c61f502b8","tarball":"https://registry.npmjs.org/openai/-/openai-0.0.9.tgz","fileCount":7,"integrity":"sha512-3kfw6QgzCptHlrSsDrmPyQRQFgzgEJOTX7qBVhVRsFanLKKnJYdWeHC109BGsGibn9kWWM7RDQfec3c2xX72DA==","signatures":[{"sig":"MEQCIDG0eB6NWXuk/5vV88XhXYwhJY2m78PAB3J6J50pfqmyAiB/EFpnh87sUBD9Xx3pb1bDpfX+7W6a46uojCnnThC+ag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19548},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"bdc40bfa6ea2109409a3feef3ec541405a56ed38","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"8.0.0","description":"Tiny OpenAI API wrapper","directories":{},"_nodeVersion":"16.11.1","dependencies":{"tslib":"2.3.1","form-data":"4.0.0","node-fetch":"2.6.5"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.0.0","prettier":"2.4.1","typescript":"4.4.4","@types/node":"16.10.5","@types/node-fetch":"2.5.12","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","@typescript-eslint/parser":"5.0.0","@typescript-eslint/eslint-plugin":"5.0.0","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_0.0.9_1634135215792_0.6448192873780598","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"openai","version":"1.0.0","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@1.0.0","maintainers":[{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"68c18b7dfab33ecd8526800462d2e24e56f282c5","tarball":"https://registry.npmjs.org/openai/-/openai-1.0.0.tgz","fileCount":7,"integrity":"sha512-KPyrW4CTIqmP85ub1aAERot9cXUJrN6vEV5K/gKF3QOK2wrgMJ4t6RzhAxRHznYoEs29Zx025mFGjQqql1tukg==","signatures":[{"sig":"MEYCIQDvAB1AB6WtN1aoZqC3lDC100FyRCVbTU6yYM+Wr0UfXAIhAN3P0+lk6UMp80A3iPyUEF7uRHvKsRA2jbjXMFsVU0GP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20410},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"6895a9920da18283f73e9ae2d69f2f1e8e318232","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"8.0.0","description":"Tiny OpenAI API wrapper","directories":{},"_nodeVersion":"16.11.1","dependencies":{"tslib":"2.3.1","form-data":"4.0.0","node-fetch":"2.6.5"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.0.0","prettier":"2.4.1","typescript":"4.4.4","@types/node":"16.10.5","@types/node-fetch":"2.5.12","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","@typescript-eslint/parser":"5.0.0","@typescript-eslint/eslint-plugin":"5.0.0","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_1.0.0_1634142550091_0.4173127836397541","host":"s3://npm-registry-packages"}},"1.0.0-next.1":{"name":"openai","version":"1.0.0-next.1","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@1.0.0-next.1","maintainers":[{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"ba8ce7dc9c580c368704996e62d773ba010e4966","tarball":"https://registry.npmjs.org/openai/-/openai-1.0.0-next.1.tgz","fileCount":9,"integrity":"sha512-oW5lCEMWCKdEokfHn6dRDRAkzQK0FW9q8RAQKBUxbeyVXgyu5lBWgXkFuKcHjuTNl+Fhed+LhfdVUOhZIwE7fA==","signatures":[{"sig":"MEYCIQCLR5grib/tmQt0XyB12L/0BbkxfWxOJYz3fkhKy0fi6AIhAMd24bNje43ZCCHHM9NfFhMK7aw+FCDHTZeApDqxRS+v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19208},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"b956f33378ad1675fb2e84912c2afebe5663a5c9","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"8.0.0","description":"Tiny OpenAI API wrapper","directories":{},"_nodeVersion":"16.11.1","dependencies":{"form-data":"4.0.0","node-fetch":"3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.0.1","prettier":"2.4.1","typescript":"4.4.4","@types/node":"16.10.9","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","@typescript-eslint/parser":"5.0.0","@typescript-eslint/eslint-plugin":"5.0.0","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_1.0.0-next.1_1634679165419_0.5154579069745902","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"openai","version":"1.1.0","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@1.1.0","maintainers":[{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"937e80f6710790261cf76d539c2d441f324a942c","tarball":"https://registry.npmjs.org/openai/-/openai-1.1.0.tgz","fileCount":9,"integrity":"sha512-QWk24vUKmT+JP/85fV2Rayh1OWeoZkofK0/yP5kpAwr5t5XuhsR6B0eNogQNXVdu0BZkbhgcNE0mGi1iyZdpVA==","signatures":[{"sig":"MEQCIGXN+6fFiloURuxEbllrsDzfEClhtDJJAsb9GH5OyJYoAiAdhF+VRGHe0P4iQeV68kuWC5OVl0WHblrFQcqNybthug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqk4zCRA9TVsSAnZWagAA29cP/1tl46SfPmzlJjovlHxI\nyeMIUvg8UU0zvJbbQc/LdHhTm3LmH6KtcOq6jeuJliaM99mJW394U7G8uhJx\nuQtZXtz4OnGm+upK60u0XA/sL3rncpruk+Pa7PfYBkWe7T1BrKSlzU+W8MIz\nfmAjF2oC9+lcH3QXqswFAykB6WwfjiooGUm9Li5+hCM0GXpOsCD555ki3vzk\nGpvpvR58hFBau3gLZE4VgfnUDQpPQise+eaUFE6ZbcAJnFGL32S4EsXGdgsF\nNMmGQFdbyPPpAN8G268H3jKJ1FkTN724eBzhqV4CnBwcgJnw8WQUeA+SAO2q\nq15HOwZ7Ols55HknO1GOmO6P1kgcxhLHvL/5mcvy+bWhOb06tr+xlL48ycxD\nFOrSVWgtIQKfU1/VGbVLeU+zfLujm15tZsB/0oukSQoUJiDwuU1TT4MkqOoy\nLRITEPl3x2V6U/wf2yX5GN+p5feYDVSnfuq2442F4pVcDCKl4FD9X8a8t8eW\nzWjWqxgexpLdjjcS/6tO1TuyFZN25Y3hd9d1jF3imNdogl9shcEaLX7eTbdL\n9qLAkXLBSGxL0yVdf4Ki+GJR4b+eRpfagMIfu4Nce/OfifGPKxfLc5KftDiF\nYuipvRb8C4CLGKml9hrH0Z9rs9cLflDzJUjV2981FnEaSlJQIc4syOwItcG3\nMl8P\r\n=OWBk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"b52ed0deccb676cb1d3151fdfa30223f4021a42c","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"8.1.0","description":"Tiny OpenAI API wrapper","directories":{},"_nodeVersion":"16.13.0","dependencies":{"form-data":"4.0.0","node-fetch":"3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.3.0","prettier":"2.5.0","typescript":"4.5.2","@types/node":"16.11.11","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","@typescript-eslint/parser":"5.5.0","@typescript-eslint/eslint-plugin":"5.5.0","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_1.1.0_1638551091456_0.9688356759102197","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"openai","version":"1.1.1","keywords":["gpt-3","gpt","ai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@1.1.1","maintainers":[{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"907d908235538d17f575b60fa143fbc8e45dd59c","tarball":"https://registry.npmjs.org/openai/-/openai-1.1.1.tgz","fileCount":9,"integrity":"sha512-l6D86il6zjyYvIOFghHvMRWWQBO0469q34AR39QvqMr0KTvJsf5wEBcpc/ToLN7K9tC37p0m+VxW73+BYBPT4g==","signatures":[{"sig":"MEYCIQCcDC0JeBGOX+r5JkzD6ypC65aeNoAZkPuUDzMSszdoqAIhAK65O7sjA7Md07AyRrRLCTPjjXcbeXLttuYCncNAbXzK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrWUvCRA9TVsSAnZWagAAEEEP/RafODiFcmvmcbBxXOFG\nu84siuyEtxN/AiyQbGV6hfp6y9M+prsYp3miMq6gAMA2r8E1CBB+SeL5yfCt\n599pbpil3/9PCXwRFi6Ahe5camYW3Tn38y8Kxsx71v0N/dKQ/S4CoQWjMDKs\ny4DoyhbaeDXFim8cWYFknO8m9H43enM8KbK/U8JsQzQyrrBj0jg5MxYOJkR8\nZAX+rhXo/FZFxUH56GSgBzXQPRCXzoywUYpgIuBpG5M5ahQMhMZeUvWOtQZs\njjwxcviF0AtTT6LSphIROeeredV4k6K8tVhzKB5/4qQ9ndZiwv7yF9L39BqV\nm9L0+zLpZm+o3FTOa+jFiWB7K48RvFSkwlVZlCsLqoec1U8ruYnUr7P+GqNa\nudF7alMqPLgUnByMlLgyNt7LXE5C220atZqTkAVEUt7qcqg47CjyAy3dTPxH\nCBeIm9mcinPN+wyuZseZH4wYtSFue4x1ncp95R0VXChGdXOe1fyxRCaRU3Eq\nnE+xxT8E/4aGHdf2YF2pnA2lPuRwxaK2Xd/H/ZONQF2TKlNyEA5j10N3JPla\nKrdGBC1KALRXYUHV8qmu6aT1i1UaXVoElhUwc/Nije2o8ElQThPFrIkX8v6d\nxZ5Hdu8otRyGD67f3SdfcgJgCutEmXQtUQ2Amp3/C75IxPDWT5eL7W17rzYH\nOmiX\r\n=NGht\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"b03dae6b69c4ac244f81e4ef65c70abac1850e95","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"8.1.0","description":"Tiny OpenAI API wrapper","directories":{},"_nodeVersion":"16.13.0","dependencies":{"form-data":"4.0.0","node-fetch":"3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.3.0","prettier":"2.5.0","typescript":"4.5.2","@types/node":"16.11.11","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","@typescript-eslint/parser":"5.5.0","@typescript-eslint/eslint-plugin":"5.5.0","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_1.1.1_1638753582872_0.9615889328843947","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"openai","version":"1.1.3","keywords":["gpt-3","gpt","ai","openai"],"author":{"name":"ceifa"},"license":"MIT","_id":"openai@1.1.3","maintainers":[{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"ceifa","email":"gabrinelson27@gmail.com"}],"homepage":"https://github.com/ceifa/openai#readme","bugs":{"url":"https://github.com/ceifa/openai/issues"},"dist":{"shasum":"9713d499a6b8c05a2e495464ef5fa365523de23b","tarball":"https://registry.npmjs.org/openai/-/openai-1.1.3.tgz","fileCount":10,"integrity":"sha512-G+VounGq9lSo15Swc5wyT2tgtI+9bCw9N51Vryy/UNwSpYCjtF3lFDQOjak6ELqRmqHBpMltzVV1R0svrk3QDQ==","signatures":[{"sig":"MEUCIQCXFts/XPAik6exVT/+i6m7jU+IqOLVL58aDCk+hfUG8AIgd5lYE1WwWqen13x/CkXqhT/rzY+BC+qfEc8YDKYeMhM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzMtnCRA9TVsSAnZWagAAlWcP/3rHx6bNeOzyJPYSjPR4\nKsDVhzMWi6cSechL1nsM0Uu8lllAYN1q3HLRPKxK1kf96xy3ztleuIkg1Ioc\nCFg9FZmXlA8e02A2SRpkWy5okqsbKiYYl7m5J3r1VxNqI5+LpfC2DoJUAvLc\ndNer9W10eUjSmv08Ks7XVOwFwLeJXKzMm48Uuku0X/GfTYkJuF6dQJyNuGcV\n+7/hGjNxdKmAhB0M6qfqAT7exPfmcD32bO/GA/YJ2XtkaJHHneS7qjK91tRJ\nJQLWcXkCQrwgWX28FMXcGgC3Zw/6oNrIKQziXgIhP78SsvzO9MHyv1dKoX+8\n/vL4/abMzzvuU3Cetl23Q00A6BiAG/tze24fmzaPm15G2xvE0svuXSKpYJAp\nvZskVuQb0y+yaEoK9VWRKoDF4jcwa/CNeQ34oSvxMGitkDdOLFMAoHpAXRoa\nJ+RuTTZVpoMC5isOj3wBx6UUUWDP6L3+avH3xccIxgNlMwZzoXzoB+eHbZIY\ndWkOhBE5D0Lz4OPWytEW2POGwXbvLiIIqXxeDJ+KdturABCKr6SqACZhQqsu\nb9Yj3ppMcVdOXRiPuElxSpVWtd4VfG49SL32EF3sLcHXfjOwVOFEhUwT9asE\ndjK7f8/8DfT4K/s9o9IzACS2BkXngiIFRKel4tAYnsXiMln4krX7UJvmz8WR\nRwqT\r\n=cEqS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"./dist\\index.d.ts","gitHead":"9539088635d831480c4cb57a5b562fd0a07cc8c4","scripts":{"lint":"eslint . --fix --cache && prettier --write src","build":"tsc -d","clean":"rm -rf dist","start":"tsc -d --watch","lint:nofix":"eslint . && prettier --check src","postinstall":"node ./postinstall.js"},"_npmUser":{"name":"ceifa","email":"gabrinelson27@gmail.com"},"repository":{"url":"git+https://github.com/ceifa/openai.git","type":"git"},"_npmVersion":"8.3.0","description":"Tiny OpenAI API wrapper","directories":{},"_nodeVersion":"16.13.0","dependencies":{"openai":"^1.1.2","form-data":"4.0.0","node-fetch":"3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.3.0","prettier":"2.5.0","typescript":"4.5.2","@types/node":"16.11.11","eslint-config-prettier":"8.3.0","eslint-plugin-prettier":"4.0.0","@typescript-eslint/parser":"5.5.0","@typescript-eslint/eslint-plugin":"5.5.0","eslint-plugin-sort-imports-es6-autofix":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_1.1.3_1640811367734_0.49009954827702784","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"openai","version":"2.0.0","keywords":["openai","open","ai","gpt-3","gpt3"],"author":{"name":"OpenAI"},"license":"MIT","_id":"openai@2.0.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"}],"dist":{"shasum":"de6fe8aa2a276a9b6b8cb785d4c97befdc4f8236","tarball":"https://registry.npmjs.org/openai/-/openai-2.0.0.tgz","fileCount":22,"integrity":"sha512-5O3Z70NCWaDhLMhCNG2oCpqYCzlZh5Vilc5bogdA2N08kIXYJfPKgi8StdRB2s17A1Wv8ia5/naMymH/pngLvA==","signatures":[{"sig":"MEUCICJZwURFhY/VOkpI8J6JE5rs3x60yKYICCq843CJp4FZAiEA5QePyLNOLKSGAsJBMn/iK4LGtUll/gCMwIiz4A0ZJYs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":294145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6GIoCRA9TVsSAnZWagAARvIQAIoDVymkq7y/+0HwP08y\nJ+uVq2VvZxqCCDfUwcIdTGh5J38VkS7p1ONVp4Xi1ur8RDNAxbSyrYznNPka\n2JwfWs1Ub/S+ptzHGiScEusq1NwKF93Pfib1FPLhiGIgh0baw2pvzg71X1x4\nqviCQ2DDgOn0BqHS0Pf6S8p8PF6W7i0hH1n7K3Jif6y2FyMcp4K9r2MaWhk0\nnLh8tpkkZvE0BV4VM6kFGhjb1jtMlD5fXGIKOinh94/Hv2hrN392GZZq8oPZ\nfZVQNr2ootLFZsV8ghxvfd1nNJ3eO16nVKihJlP1gjtNyOjYGtdi/h+HtgNK\ndCkHrdv2XTjb8FjPBJ0XLToF8gY79MeLb0r/hg7sTUggHielI/b5b6sS6HH9\n8Xm7CkRTQFQswtT+RtctoAs3FA6aIDwJ87WVmXKYPf35tr5K6+K+9QTqethv\nCvFkrbQ9tpb+MDlNUKdrWlzMsiNm3HKwLgd14+1YslmX6tRUPe/5cBkk38ti\n5JHoyq6J/Ci7LGnH32qljDT+kn5m9sM4QXjwHBrKPB3b/Pi9bTFxUHPKhBR2\nbQG2FkkTK5FDQisEvS5EJW3FGOj11AbalpLhFoKPYEBrqCvG77KeD/gufRqn\nu1oMvLu3/L2WigvHf8UYJ89Ux4s+Ss+RjAvhbNkfHHzLKOOHmJeJm3qZn2be\nKeqH\r\n=aujj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"54de7e7c29635de1e43eb6e998832c0ef6e7c1bc","scripts":{"build":"tsc --outDir dist/"},"_npmUser":{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},"_npmVersion":"8.1.3","description":"Node.js library for the OpenAI API","directories":{},"_nodeVersion":"14.18.1","dependencies":{"axios":"^0.25.0","form-data":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.6.4","@types/node":"^12.11.5"},"_npmOperationalInternal":{"tmp":"tmp/openai_2.0.0_1642619432464_0.06913365770318203","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"openai","version":"2.0.1","keywords":["openai","open","ai","gpt-3","gpt3"],"author":{"name":"OpenAI"},"license":"MIT","_id":"openai@2.0.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"396322f7767a12ef4b997be7b2d4d6f57e20fc59","tarball":"https://registry.npmjs.org/openai/-/openai-2.0.1.tgz","fileCount":22,"integrity":"sha512-HWqAX7otfjbaO3/+msjAnfSCgO3RWWrXizuY87LUyQM6Oif4DPD+4zwClul4iXcpuFftI0o0ZXf+xnV3UsXMDg==","signatures":[{"sig":"MEUCIAEJo5HIMvsBAd3eRyUCwOxMAees92brk8u+gt8m5C1qAiEAtnpAPFMzeJH4EFWNJk6G9BvMdmHBa/f3/DYkjbAYbYU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":294910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6dbSCRA9TVsSAnZWagAAKBgQAIQWIfqFFZ5WoYx1rmsI\n5H3IjYBjy6oNoeUL+K5pTApXEeQUiMBxRZ5gIplFMhACMrExZubeY/XV4eTR\nKSSap+K8sM8eThaeCzKZxioyznPIsFYN3V1nr69nd9Y4B4S7CHBL83i2Nu1A\nirqcUcRm/92s7bwYR2Njf63k01LZrRbzKwofuke80RxTPdOZF1qHGT6lJKqX\nKNCucJ6Snm7XCj2TfG+Bv41izvssgn9ezjbWbWs41twVrhVy9H7xk2B3ibh+\nQCko2wx1JeoXJrdmqEPkjznpspu9/k4NNulFz8v/fWJCnjNuuhtVNmakoH0m\nm5YdzqJF85g0heVO3QyWydLEcRUnQN0XE6tUF/C9RhEhtZBZeOu2bP4Ywc1I\npN4tltB7B396klwlpbCELkP1rMtiTf6/ZgSrU35LUP+p873v8SuWdqkNaMm1\neV5KgoHPb/xVRU9xkMtxwEhKVl4m3olOUJ8QWNnZ2Pjw27qJMSaHg8UoiGSA\nSz0kUVhMsfSS+AH9QTDX/OGghbZ71S1Nb6uUaPhVaFspOOb2IFINF6VFt198\nvF87fDQZaP0ua9xYp/CXIc56+p4O3agIavhqOND2zItDTObCLALNZ6Sj04m1\nv/UykDQ+tMM6fUGb+IfEtb/vOTKol3PjN86U1iyoXQ0uqa2dGrsW77IiNNLM\nBIci\r\n=aF2k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"f49cce378c80a273cedd8f6e97f50f0d7c4d0567","scripts":{"build":"tsc --outDir dist/"},"_npmUser":{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},"repository":{"url":"git+ssh://git@github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.3","description":"Node.js library for the OpenAI API","directories":{},"_nodeVersion":"14.18.1","dependencies":{"axios":"^0.25.0","form-data":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.6.4","@types/node":"^12.11.5"},"_npmOperationalInternal":{"tmp":"tmp/openai_2.0.1_1642714834085_0.05895993566950852","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"openai","version":"2.0.2","keywords":["openai","open","ai","gpt-3","gpt3"],"author":{"name":"OpenAI"},"license":"MIT","_id":"openai@2.0.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"c0508552e06c269ffcb503a2e204a924b17d2e9d","tarball":"https://registry.npmjs.org/openai/-/openai-2.0.2.tgz","fileCount":22,"integrity":"sha512-JyvCwi3/yj8OTm7Qbj3RGj8KpCzOQ+Vq6Sn3MqaqFmhGQxTW0LS98YPLwDqK6MRPVGdbx3++cjXDzQ+kqaB6uA==","signatures":[{"sig":"MEYCIQDMPqO17LyMu3HDbqrkRZl+hfGVXgsRtK4TgztYBmiYKQIhAM4e/mhlgS680qcpB7PqUr5vzzwXBw2e4/IRxeu+HuvK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":319131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8IymCRA9TVsSAnZWagAAwaQP/2t2VvNSQb8+hw850IMG\nptWD7reJ/poTAa5sgWYcvmikcyda7nn0JEmQA1/QV3qvapQpOZbCSHIqrsRw\nmP0TdgZZjuqxKmXHL7yYxorNmdG2wDQe/pEe1f2tycT8aBvLS+tE1K6NG7Cs\nb6Ma6Qx/efIgrM45Z7JK1evVr4alG4m7oTUdMHYaNx7uSYi/S20Xj3D0hhKX\nFOBNRApSd22PFhJEVyY9VzWuEI8BgywleN8MwDf+A2Ta3HjrlVlqpM1JPgn9\nYyGnnfmglVGuZShAuKIhyVg4f1a4iTm9NEe98OGpwfVzM/Db//NNWoBSE26U\nzvnZUa84V1q65FKpQkmhi6Bgr7RlbhFyXQMQTbQ278K3RO9WlWcpVgGL/w14\nNmu3jSWiQUHnJY5a6AQPEmSxHc67OLRnac7aBmLQos3c8KpGNX/mOzXb+Mgo\nhjBszWsLH4BSKsc9Na0ZCyJPcKA8zm5h5+C495q+Z9RA9fx8grvXg2waMb5U\n+bje6BKFAAV9109MX6TMp/CLiJZ/pppV65cEaWDmf4LlQTGTX7A/gohNxgHX\nYTgDq+toSx+W55kfdmgAoheCUnT4vPayi1+4B+lUVh0FJo+Wrc7+1W1+pCea\nZC6Wp6uIddaaeGUM3SaLKGGeL2OpHrsnIevdtXNDIVhp45JvPIB0SDcaiLf9\nJc+Y\r\n=MdJr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"95e1f257c76f874bd61fd2059e670144b230fa9d","scripts":{"build":"tsc --outDir dist/"},"_npmUser":{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},"repository":{"url":"git+ssh://git@github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Node.js library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"axios":"^0.25.0","form-data":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.6.4","@types/node":"^12.11.5"},"_npmOperationalInternal":{"tmp":"tmp/openai_2.0.2_1643154598288_0.6968267335135794","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"openai","version":"2.0.4","keywords":["openai","open","ai","gpt-3","gpt3"],"author":{"name":"OpenAI"},"license":"MIT","_id":"openai@2.0.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"fa3c2747db913a9fab70d9304799657dbaf13971","tarball":"https://registry.npmjs.org/openai/-/openai-2.0.4.tgz","fileCount":22,"integrity":"sha512-S7i9BSbdQZwnW1sJRQ0ZRkZf/14UTYwqvyMbJmAIMbI/pFv9kgn5T7+ajml3MC2g3e1CAE7Y0LEt+DBOnDSWnA==","signatures":[{"sig":"MEUCIQCi62B6WW88Oyw+mAbEAG8s69mdx/GXeZkIWjDsjeHN/wIgajHfrAONakc5VgoPj21d2Jc/Th0vC7e2574qW/4SD/M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":321675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDUozCRA9TVsSAnZWagAAYBEP/2upiW1JB2yvWIRjkzFt\nur8EDSd2DZkuQOfWxVQEmrmW0IINXyckFOitZzXVCwLHBq1zUNLWqahlvs28\nLiGFkSz4kpjHGyuS5zeDrOJ2iTJTpMWP7ZkdM9RAfPL80j33fKrtrfNDNa7j\nPAGqH6RDTqmlC7io1In3s3Nr8OvMy38yG7+ShO4cnAV4Bgy3roob8lKbPU/e\nuenzuoQKdaMgAUIPF5DK4WVZ9xRBhh8fK3nT+u1PnDw1RogE4SoV5nQRWkvB\nOHhBq9S42tNdmTSOV2hakzDCP2zoSLETBiTdp9SuPNSwfmRuTNB+uYur0Gtn\n54nDeCm75d/dUKx2m4ar43Ddt+KXA6VqxzS1HJ8XnY5VPIGgSVkPGT4EOmdU\n9Rmxe2kq6n6f1AumWSbiOHq32rlSQUa8zfwOeR+RqH6FfTDUgZ8C40IKMg2B\nxgoutNAaHTx6bzC8ukOX7ttMbSZwj/mVMuSGe7b9CS/BljVh2JzaGwniPCL6\nY1iqYPKP25YTgM8VJWWXStU44mcNuvGMgFOM/Oc5d6vo8b/md0e5Igemw777\nHo8XvH9OFKI7kSlk9lb/Oq4JxZkhcsOh62IT7qKjwAueFFj+1sBIKTShkUc4\n7PqB8topzVIwbfzeNFkwgxJwOaBQ7+JPnu+d39xp02TAQHYqCNI+Chdz8pfT\nBgDJ\r\n=nWCM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"a41d007ad5fe590a1c0233ec9a33c285ad00e621","scripts":{"build":"tsc --outDir dist/"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+ssh://git@github.com/openai/openai-node.git","type":"git"},"_npmVersion":"7.20.3","description":"Node.js library for the OpenAI API","directories":{},"_nodeVersion":"16.7.0","dependencies":{"axios":"^0.26.0","form-data":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.6.4","@types/node":"^12.11.5"},"_npmOperationalInternal":{"tmp":"tmp/openai_2.0.4_1645038131193_0.22167520313535416","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"openai","version":"2.0.5","keywords":["openai","open","ai","gpt-3","gpt3"],"author":{"name":"OpenAI"},"license":"MIT","_id":"openai@2.0.5","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"dc1e0b0588ce9464e62af87f86a18195de2baa11","tarball":"https://registry.npmjs.org/openai/-/openai-2.0.5.tgz","fileCount":22,"integrity":"sha512-M/drXV2QYdRhmB5EhAINpeA4oGzj0M6mSVfi8o8Rex3Re+yEnSBMUExtGZSlbVRAKpIvTLbq0oC7bgHBaSnjLw==","signatures":[{"sig":"MEQCIHAJlKLa1w5DEH0LHO9PyPKzQ+mROrkj+7bJHOCyJUHXAiAZjUwM063zk0uT4QYksXt3HIQnpMktAo1SzZFaq5POvA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":346249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMOGfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMrQ/+PTcue/6CDfrJ0s/A05fJNpHUIc4bEX8Cj+VAnf2iMlVi6wc7\r\nBWny6DWfQjtNUKNTDYC2AnZPbFDKermF8wCz6DjPaxWb0iUh0VVDoRvdB4pL\r\nLU5vRW6q/awpwyn5hDsvjb3SpBXZU7SxX6tl3XNc5wZCKR7xaBg9+YCX/Tsz\r\nQlb1s2UgfFLQiYqydD96PYMKLTFU1//3C0FHbs6JFJ/1dpidTP3DbCUApCKJ\r\naOxP5W02lakyMlsqcmTB0IwpK94AP3Qk7vVbDpryDUlmTYn+u7AafkBKYSNF\r\nfInj9QUpYFsx0goaomxJDoueXtYcnxDvRrb7VLsjFmgZ3RKEaejXt3yegaoJ\r\n6CXcRjkq91dkUGGc+KNMHGGBm9JOkZroGMD/z+B3HlbfJOW5GsaQSovvonDP\r\nfC/n7ZniH08Nos3o1uklR3I5L2uqvazI3c4r/JHT57K51gLtz2v7fb1+p9MI\r\nq0dqVi11blxHEAkljDHWZHTWpyw82wFl2PEdatmyh9SOOKHa4Hi+lQSmWk90\r\nDuQpOrzXvGyM7dYgIqK/3L5BGOVg9LySzWssOePzGrwwmQ+B0n6x+WWOxDNv\r\nSP32TrdJckGflxd4Cr4v8uV0mTxTpqBQ+HSit+/agMkfxWy99yNpBQ9FFoEO\r\n0f9U2zGxU5dDTqJjezDQjQSPFrlmx7mWCsA=\r\n=R+X1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"8e3b68e659a7ae8d439d97c4a488d158ba07aa11","scripts":{"build":"tsc --outDir dist/"},"_npmUser":{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},"repository":{"url":"git+ssh://git@github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Node.js library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"axios":"^0.26.0","form-data":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.6.4","@types/node":"^12.11.5"},"_npmOperationalInternal":{"tmp":"tmp/openai_2.0.5_1647370655290_0.6670197745290394","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"openai","version":"3.0.0","keywords":["openai","open","ai","gpt-3","gpt3"],"author":{"name":"OpenAI"},"license":"MIT","_id":"openai@3.0.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"0816f1d72ee37820c9ff14d93d597431489fec37","tarball":"https://registry.npmjs.org/openai/-/openai-3.0.0.tgz","fileCount":22,"integrity":"sha512-YNAPZKzBfE6MnR5Ro/z3uKbg7T3F3W1FoTCtYheKRdEjZeheMX49QYFeL990gBFAhuGziEZCUdhnNT+eIrxX/Q==","signatures":[{"sig":"MEUCICzAXhXPGw5CaFHZhJEmSzjav6i8ggaIkNgWFi+DFvRmAiEAyqK1NLkHGX0oiLFO3qZPvAbBTxUyNeic86tm7oW0rZY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":328628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJin7UCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpAYw/9GNl+bl7qWXTjtsgfmaq5zrRwHJGu6AN/lYX/MtPbWKvhrzpl\r\n0E2FOT9XKQbX4alT2NJ2uAuomqD4M4sIDNpLCNn3Utl0Bk6vL9ALPwH1RCv3\r\nESIJPSAfBzYX4WI7inGBrLWromeba8GsHgfIOxxaWGdbx9XZgyAg83kBGyxv\r\nJDHs8eHRtZxv1OLqyK3hXduJ5CjDizVX/GAhzsvNfa2HLRBh+c/ctZTxE+kJ\r\ny/UM5R4RtfqK/EhXsxpQyJeK9EZ4dbMOxv77DLsYC/QLientLJ0yeHul/tZF\r\nZzp78pYeAtrgzVODRyx7rMLnDhNEfdJ7t81AeOV+cakgrZ5lLnDTsuEZNgg1\r\n53bldjfa2topLfqSBrS0LgmmckKmFwAvm1Rq7V0gKi51qffcDpHkw9Uzy9aX\r\nSbOkEoqFSlAWSp59J4fjjzX79ZVQ6bZQfW4f+oTfycUW+klqK/MGDq63NxKf\r\nsSwK5nVS9XCxCKUeNEXKTzByMw0L6w/yYygYJQVQRfu0VOI0USvSisJlU6+L\r\n4o8ZfBA/qfOBFUtnc2OWNp2WRM5THxJdP0yQOx7XPSAmj8FMltZmlbsWUzsu\r\nOzTn8mjx2L4odJ8lmvh1o9B2B5xb7+0BQHA/hxx7D7I2m0qQq7x12pTafCRj\r\nmbyhII95VLm/jjN6sMKwLeeqT5wpTkrC8Gk=\r\n=YRcw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"71e21f9c48e865531064ccc191b9073698282655","scripts":{"build":"tsc --outDir dist/"},"_npmUser":{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},"repository":{"url":"git+ssh://git@github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Node.js library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"axios":"^0.26.0","form-data":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.6.4","@types/node":"^12.11.5"},"_npmOperationalInternal":{"tmp":"tmp/openai_3.0.0_1654633730586_0.0018622693132708257","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"openai","version":"3.0.1","keywords":["openai","open","ai","gpt-3","gpt3"],"author":{"name":"OpenAI"},"license":"MIT","_id":"openai@3.0.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"4a6021e5bf32dfaa56e346b7a4830a80a479dd9c","tarball":"https://registry.npmjs.org/openai/-/openai-3.0.1.tgz","fileCount":22,"integrity":"sha512-5O9t7dBcUOIhzK5764nS/8WtkX812l8Uz0uoIHT8mczN2IUUUe7FsGbIxYGEkGBKA4GY1blT8QaWJVNZLG2cwA==","signatures":[{"sig":"MEUCIHSrTxpXxOcQm5obj5tGM63vkOPS1NEfSelxBcZ/kpR3AiEAx4l4fU5eU5/oX+N7aNLQMLJKOzp93XuKyhxQe1/h57M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":349720,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUKtqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMgQ/7B0lvEUBgpm6B9UGpRrKFiVmIuGmLbNU3EoNZiWx38D2RtW0W\r\nxdNiqaoO9uYs6MDICv8s69dIcK/IF+KokDZJWBy8S0G/QR6PKwb8qewUuGMr\r\n/vqPyWRoBo7yqtCOk3QZqhb9bjcZdoUciIvGi91g2Ggw+8gnHouRxsGWw0MI\r\nlb4EoF6p4fwCQ/FflFMfCi3jLHy2aRI0UHQ/S8++sfs4eXl1vI5Odnewnzb6\r\n9P0ej7K8GAXP765z6IDmR6sNrs9DR7xq02q0X7YRlPpI1WZLinryycL1YeT2\r\n6VSb9bJHW8GaDvWJG2NVLrQS/9HtsA+yJf0q+NkbBTHAoyaoY+t4SlMozCd/\r\nzrPdv2CBGGfbdqINMcHs0gD8/hRaMBTAGR8+5hjcAyDTqBdrd/55fcyTagPc\r\nVfePZrUUleWgvxWdlewdSV8r1Z0OfphWzK2oIXI/dXcbbMQ5Zzyukvy6vlpH\r\nPbHxLCYFkRlFGl/lJglY+xoY9ftFHTzOmBpUrNSRnkY7Ja/hbKVee1y0DaJb\r\nS+eOThjSvDMCvH1iWI83etfFEiTq/I73jGqAqIR847atUL2kXUZAmPbqC6mC\r\nmeqWvgbSmwjJiKeLx6I1kNcT/56EN5Su/bpYGZ+MBi/G9L2R3BAHfidqE5PP\r\nMM8oo5ucWoIOJd4+S9Yj+Cl8gaQSlfWs8GM=\r\n=Xjvx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"298f017abacc9fb8b782fb7f6519712f59eaa932","scripts":{"build":"tsc --outDir dist/"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+ssh://git@github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.5.5","description":"Node.js library for the OpenAI API","directories":{},"_nodeVersion":"16.15.0","dependencies":{"axios":"^0.26.0","form-data":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.6.4","@types/node":"^12.11.5"},"_npmOperationalInternal":{"tmp":"tmp/openai_3.0.1_1666231145900_0.46607111356401054","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"openai","version":"3.1.0","keywords":["openai","open","ai","gpt-3","gpt3"],"author":{"name":"OpenAI"},"license":"MIT","_id":"openai@3.1.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"13bfb228cf777155b882c2deb3a03bc5094cb7b3","tarball":"https://registry.npmjs.org/openai/-/openai-3.1.0.tgz","fileCount":25,"integrity":"sha512-v5kKFH5o+8ld+t0arudj833Mgm3GcgBnbyN9946bj6u7bvel4Yg6YFz2A4HLIYDzmMjIo0s6vSG9x73kOwvdCg==","signatures":[{"sig":"MEUCIDesNy971ubHnTyktBLEZcSxtD/obJqRvXNj4QctF61bAiEAolCwL3RINZX0tcvR1YWcvXMqxfWF2WMtA/CabGsyM+8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":407219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjY/FbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqG+xAAo9HFOAKW2Tzir4N+5kM/asRfsAy4lwTFb6GJG0i0E6H0auc4\r\nWNinoNa6S5wJ9FCRWaUYJ1hlpOojrvkk1HdzG5dKv4umtQi4cdm9PU0OoXLM\r\nfczCYMXhFpaNboOeK+EoMWxD6xo1s6+6XDauJT7OzeoTTmDhLkFgHTeWanW2\r\nyUt2GpmFYSzHDbKQ8hBbqpBL4BYdIztxvUKEgRC83V39LO51dtcHlB+M/oBk\r\nl/9RYj3ZAALHNxKV1qHE6k7uJZLkzE8CGUUMV8bOANZzWqVg7zhYZJzP6593\r\nY2y2BUSmIbJYSAR+J9vkZ8Zo9Y49Vg+EnrB8CZlDUacfHyXFLx33rMX07IX+\r\nF2jIL2vPXs9XV5ADhuAJ3OrTbsxr2evgGn7BAZwuIhjrvVi+Dt4aE8CcVGWP\r\nbDTxiXdSek+ofAreofgU52raVbtFAfIYHzh3Lyya1hWA2j/4mYVCz9o6nf38\r\n3CmZA57tbM9HKwYbfu0enQq8Vrv7u46vFoCtDyvcq1oTmJ9/J2cnS/q4aUAE\r\n5O3do5NJtVGRZvDRFIuXtrG+QLodaxuoFJs+VgvZ6ISlge4dtUTesY7bjegz\r\nj+9q7fEIbu5SOW1I/Cq18+7hNjEnBEzRdT32IFaLsEeAMxbJHcchypDm/vIY\r\nRJ3BTZAQhWM2fbVLuV9Ot6JumzDsmPp4QhU=\r\n=i2BC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"eaade749f2ead531d2ac9a2015184f7b6418a581","scripts":{"build":"tsc --outDir dist/"},"_npmUser":{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},"repository":{"url":"git+ssh://git@github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Node.js library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"axios":"^0.26.0","form-data":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.6.4","@types/node":"^12.11.5"},"_npmOperationalInternal":{"tmp":"tmp/openai_3.1.0_1667494235135_0.9163502485399786","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"openai","version":"3.2.0","keywords":["openai","open","ai","gpt-3","gpt3"],"author":{"name":"OpenAI"},"license":"MIT","_id":"openai@3.2.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"8328e46e7fe9373813713cdcc64144bbb43c9a0e","tarball":"https://registry.npmjs.org/openai/-/openai-3.2.0.tgz","fileCount":26,"integrity":"sha512-feeX3sSKyCVpDt1CBB++FxlaPxzc1dpwmx5ZlXAvuauv+Yk+R26x04TFIm9mLBJnDQ69MoCcJ5YSMASPJidSNA==","signatures":[{"sig":"MEYCIQDQpGgmMZ0g9SBrHhZGCje8drdfYkEAQIhHvfmRj/pJIAIhANfkIR8LGxWqxriAVve4m4mlQvrZReC76qFo7armFKPG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":475939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/5WxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVCw/8DBram7tV6zoRCOLeAedTZNrzps1Pr06T/Z/OydUP9LZX4bD1\r\nMy+gH3zX8IKrC6A+pJoZVeHRtqGecPruoQb7t0v5I9C6+/TDpTl2t8m78un0\r\nOiUQIkyahwM3RzJsnRRFEg1x1LcDW2UGqQcxE4gu3t56SNJrjlOKt6GAm+KR\r\ntUbX5zO30xWhUCG3zg+QJz/d9IleWSRALpXxm+k8XBho9M62Y4cV1DFF7gE2\r\nxOdVcVUM9mj4R0UVoFVcds+2SFQm3LbQSk1R14A6uEDTxgYZvDkkWI4dDMG4\r\nhM95dBndx3Zlc+72Lhn6k6emEN+jaxBr/pK80NN8GIyttNdrdgL3E6PRvZJX\r\n5xnQrfb0k68xVSuHo90qOpxS4O7ARWBJbpaYs2yqMFrO9vsbMXY7o4m2V0sM\r\n1/AlpjsFVTz4fV7NuBvYgeo/TtAJmXFHNw0XkthnMsbOV6H0AOPtfLXFQxgr\r\nS9hYUjguRQseq+3UMsUu2UCujOTdL6qDDnA32EaStTn94AIX+3yoyFc7l99z\r\n6Ycw0sJlKupt9Fpda3UGExbaTtgzz3pr3RBJXCnb6ebBBQWuAzcMsBAspR/C\r\n5o9ns2aUfP8ehD1nT+asgg5hZRyIXg+gAGV2mpK/s/Z4Fyu1aMwhOV/CI3n5\r\nLuhGk99gvyf38I3KngnDh5wRBgQmeBBvKNQ=\r\n=7DtH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"f9603476def5793d971bba1d8b433c331c891821","scripts":{"build":"tsc --outDir dist/"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+ssh://git@github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.5.5","description":"Node.js library for the OpenAI API","directories":{},"_nodeVersion":"16.15.0","dependencies":{"axios":"^0.26.0","form-data":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.6.4","@types/node":"^12.11.5"},"_npmOperationalInternal":{"tmp":"tmp/openai_3.2.0_1677694385078_0.7909596141503807","host":"s3://npm-registry-packages"}},"3.2.1":{"name":"openai","version":"3.2.1","keywords":["openai","open","ai","gpt-3","gpt3"],"author":{"name":"OpenAI"},"license":"MIT","_id":"openai@3.2.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"1fa35bdf979cbde8453b43f2dd3a7d401ee40866","tarball":"https://registry.npmjs.org/openai/-/openai-3.2.1.tgz","fileCount":26,"integrity":"sha512-762C9BNlJPbjjlWZi4WYK9iM2tAVAv0uUp1UmI34vb0CN5T2mjB/qM6RYBmNKMh/dN9fC+bxqPwWJZUTWW052A==","signatures":[{"sig":"MEUCIQCjuqqWEAlUeEOUGSsQn2iOE1OyZO8O/rEPSa5+G+lOngIgfdNKf8AQ1f2jbXf1nZ2EUFNbtQEcYwv3JGbN1SQB1Js=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":479503,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/8uUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOgg//apmrlg0OFc64UNDyLTKnt8V5SboET6tz0HspRlMlpvcn1d/L\r\nEwld0vsHbsZ6bHpwbz7KU3QO0Lhk1ogLssEaZ06AtkthqqAx6tRT6PyhCCYk\r\nQEKyAY96PFT6Y2+eLhhzZNwAW4qqMKCLeTKS20YctoM+StG4EWN4gNpVUdtD\r\nDNm+mQWUp9o3PoQ+wQ0EVyLVXts5Jx1taYuXfq4vlMkG6/NwAuDRkGl+HIZR\r\noJJxBMIcgqkT+LmAKUcKJjnR4/RFGAW7XhfkpnpO3Uzc6CRr7YOLts31tAiZ\r\nPISIYoWeocPmDhfJwi4wGhuRHPZBlDea9aobvjmYxO9jUHYDrYqKe6wQgGyv\r\nVCH2T239KTqRTGfmyFDaRlbnxeSKjRd5RXqtoiotu9qvPuHcEook8vu4jUKA\r\nQVWC+XeR0iqcA4biEILDljUxs8jw7MzyN4pI2mSH+y7c2cMj41Lf7HWEMkTL\r\nuxW02R07FkrCg13vYrReLZUIfchT4lsh+kbcbEK38DsZs4Df2y7xzaW60QNi\r\n9EQHMBb8XqUoOOk3NZ3FPr/XyAztNp6/yOEBCwlz69E7C/KTvwrIDujvA4iS\r\nInTq0I9VcYn885xbn2ONs4P+B1ibTcEzX0p6hs5PQZYXFOzK7TwwAV0IRLBt\r\nMCxAx+o589SMcdxnQdBsb9anHF36HI4UFu0=\r\n=oF6y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"0363de20747e272a92e41da4a4c4293104aa9461","scripts":{"build":"tsc --outDir dist/"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+ssh://git@github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.5.5","description":"Node.js library for the OpenAI API","directories":{},"_nodeVersion":"16.15.0","dependencies":{"axios":"^0.26.0","form-data":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.6.4","@types/node":"^12.11.5"},"_npmOperationalInternal":{"tmp":"tmp/openai_3.2.1_1677708180570_0.47591792390776644","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"openai","version":"3.3.0","keywords":["openai","open","ai","gpt-3","gpt3"],"author":{"name":"OpenAI"},"license":"MIT","_id":"openai@3.3.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"a6408016ad0945738e1febf43f2fccca83a3f532","tarball":"https://registry.npmjs.org/openai/-/openai-3.3.0.tgz","fileCount":26,"integrity":"sha512-uqxI/Au+aPRnsaQRe8CojU0eCR7I0mBiKjD3sNMzY6DaC1ZVrc85u98mtJW6voDug8fgGN+DIZmTDxTthxb7dQ==","signatures":[{"sig":"MEUCIFwMh0SuiWM6AREKI79LTlQgPrnaZGBUsRjmjvAurb+pAiEAq14pSO7YalIonot7NPPTZsT3qCOomlTYXdu49jkcz+o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":490056},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"dc821be3018c832650e21285bade265099f99efb","scripts":{"build":"tsc --outDir dist/"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+ssh://git@github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Node.js library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"axios":"^0.26.0","form-data":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.6.4","@types/node":"^12.11.5"},"_npmOperationalInternal":{"tmp":"tmp/openai_3.3.0_1686676301468_0.10146168509830167","host":"s3://npm-registry-packages"}},"4.0.0-beta.0":{"name":"openai","version":"4.0.0-beta.0","author":"OpenAI ","license":"Apache-2.0","_id":"openai@4.0.0-beta.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"dist":{"shasum":"bce168347a754d1d480705de364bda983805d62d","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.0.tgz","fileCount":244,"integrity":"sha512-Sf2p/sX43P3UsuRCpcAdHLqaB+Yql65vgLlwfRh7cexNR/XrVSgaTayTQvJwz/Q37vm2BxEm3MuCcBdRVj7zcw==","signatures":[{"sig":"MEYCIQDO7HsRX5ySng1nDRMAaav4qKGoR9p0udRFcyFg5Ic+bQIhAPlOX4UrS+jAc+4szUh0yChe0OocLe4oHBXSLxTdUnd6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":492070},"main":"dist/cjs/index.js","type":"commonjs","_from":"file:openai-v4.0.0-beta.0.tgz","types":"dist/cjs/index.d.ts","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write .","prepack":"yarn build"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"_resolved":"/Users/dschnurr/code/openai-node/openai-v4.0.0-beta.0.tgz","_integrity":"sha512-Sf2p/sX43P3UsuRCpcAdHLqaB+Yql65vgLlwfRh7cexNR/XrVSgaTayTQvJwz/Q37vm2BxEm3MuCcBdRVj7zcw==","repository":"github:openai/openai-node","_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.7","node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.1","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.0","eslint":"^8.22.0","openai":"link:.","ts-jest":"^28.0.2","ts-node":"^10.5.0","prettier":"rattrayalex/prettier#postfix-ternaries","tsc-alias":"^1.6.9","typescript":"^4.8.2","@types/jest":"^27.5.0","tsconfig-paths":"^3.12.0","@typescript-eslint/parser":"^5.33.0","eslint-plugin-unused-imports":"^2.0.0","@typescript-eslint/eslint-plugin":"^5.33.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.0_1687019588989_0.5304906226297268","host":"s3://npm-registry-packages"}},"4.0.0-beta.1":{"name":"openai","version":"4.0.0-beta.1","author":"OpenAI ","license":"Apache-2.0","_id":"openai@4.0.0-beta.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"dist":{"shasum":"2095a2b28c5e4f884613702c1aed4ab616021103","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.1.tgz","fileCount":382,"integrity":"sha512-Qwq8IpMimUDhGQDcUMoPuBCXKzoFUe6UsoFE3nG8ISONr6sMoT8Ps3NVAIKxjls+h13N4Uo+vnPUSZ5rXtEKbA==","signatures":[{"sig":"MEUCIBJL6an/9QMAyXv3tvVDGXfSNDOADa8f0TG6sy+M1UblAiEAigKcYHofD+Vnhc9MOWhhQndDDmhLd3+UJ+xtQvCNuWg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":724976},"main":"dist/cjs/index.js","type":"commonjs","_from":"file:openai-4.0.0-beta.1.tgz","types":"dist/cjs/index.d.ts","exports":{".":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js","require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}},"./*":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","require":{"types":"./dist/cjs/*.d.ts","require":"./dist/cjs/*.js"}},"./*.js":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","require":{"types":"./dist/cjs/*.d.ts","require":"./dist/cjs/*.js"}},"./_shims/*":{"deno":{"types":"./dist/esm/_shims/*.d.ts","default":"./dist/esm/_shims/*.js","require":{"types":"./dist/cjs/_shims/*.d.ts","default":"./dist/cjs/_shims/*.js"}},"node":{"types":"./dist/esm/_shims/*.node.d.ts","default":"./dist/esm/_shims/*.node.js","require":{"types":"./dist/cjs/_shims/*.node.d.ts","default":"./dist/cjs/_shims/*.node.js"}},"types":"./dist/esm/_shims/*.d.ts","worker":{"types":"./dist/esm/_shims/*.d.ts","default":"./dist/esm/_shims/*.js","require":{"types":"./dist/cjs/_shims/*.d.ts","default":"./dist/cjs/_shims/*.js"}},"browser":{"types":"./dist/esm/_shims/*.d.ts","default":"./dist/esm/_shims/*.js","require":{"types":"./dist/cjs/_shims/*.d.ts","default":"./dist/cjs/_shims/*.js"}},"default":"./dist/esm/_shims/*.js","require":{"types":"./dist/cjs/_shims/*.d.ts","default":"./dist/cjs/_shims/*.js"},"workerd":{"types":"./dist/esm/_shims/*.d.ts","default":"./dist/esm/_shims/*.js","require":{"types":"./dist/cjs/_shims/*.d.ts","default":"./dist/cjs/_shims/*.js"}}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write .","prepack":"yarn build"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"_resolved":"/Users/dschnurr/code/openai-node/openai-4.0.0-beta.1.tgz","_integrity":"sha512-Qwq8IpMimUDhGQDcUMoPuBCXKzoFUe6UsoFE3nG8ISONr6sMoT8Ps3NVAIKxjls+h13N4Uo+vnPUSZ5rXtEKbA==","repository":"github:openai/openai-node","_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.7","node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.0","eslint":"^8.22.0","openai":"link:.","ts-jest":"^29.1.0","ts-node":"^10.5.0","prettier":"rattrayalex/prettier#postfix-ternaries","tsc-alias":"^1.6.9","typescript":"^4.8.2","@types/jest":"^29.4.0","tsconfig-paths":"^3.12.0","@typescript-eslint/parser":"^5.33.0","eslint-plugin-unused-imports":"^2.0.0","@typescript-eslint/eslint-plugin":"^5.33.0"},"_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.1_1687886938566_0.7947797522993771","host":"s3://npm-registry-packages"}},"4.0.0-beta.2":{"name":"openai","version":"4.0.0-beta.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.0-beta.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"5044e28ccc9a73d1ca868053d4fb74d4383963ec","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.2.tgz","fileCount":250,"integrity":"sha512-zTuAxBFe5nSO7LngbV+/O0udtgHWfXb2lFei8/sDY4GB5cOdnrRoSOtiyUfV65ANdvlI4F75oYZX7w067cxj3w==","signatures":[{"sig":"MEUCIGnj3CFGFsjZPJSNQ7N+NsOxwRHg30yvSlXre/3l98UEAiEAwWm16KobGqRmKg0Hm/YZBmCZW+f46bQbSjYWF4nHp50=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":499760},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"492cc2ef1b4b12fc48785b655a004c3ad9420153","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write ."},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.7","node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.2_1688176456019_0.3384793032926732","host":"s3://npm-registry-packages"}},"4.0.0-beta.3":{"name":"openai","version":"4.0.0-beta.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.0-beta.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"44ff2e2ae06f0b6cacbec284d6a05e7b4d7ea887","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.3.tgz","fileCount":252,"integrity":"sha512-dSEWpsoS4g90PRgs6vRka7UD52zih04fYQe+w3YCZfrBBOtBqxG7Uv7JaRX4f79YfCHcORNE1ggRocbroKhsag==","signatures":[{"sig":"MEUCIQDmtCJ/SM6kSNoHL00ZLRzfEWzCC+VU17Hj6c/jfr9xhAIgDPqq+4LCbLmHR/34KapXDIr41o0jWqoIcKbBm5jVFqk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":533941},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"f35bbc599f5b44acd894353a84cca4c0a352682a","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write ."},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.7","node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.3_1688840185590_0.9377082559028977","host":"s3://npm-registry-packages"}},"4.0.0-beta.4":{"name":"openai","version":"4.0.0-beta.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.0-beta.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"f7fdcf8831fee21eaea47e854ccdb646a34436e5","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.4.tgz","fileCount":252,"integrity":"sha512-8U1E4IHxemQE/VePwOpd4kaq0/vRTK9GJpHWrF6KQ3GEshWkUN///gCA+PtVFyf+irZrDGqjBAb3C02zn0UZBg==","signatures":[{"sig":"MEQCIE4U7/TS6T1FVDwe4BNFSKcgRig2LSSaO+LUEpCRFh7eAiAwj9ivjmQ5KF4vrvlnUehD+wUuYHx5EZxgFfDnAngBog==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":533825},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"be1e275cab731baf7c63cd7356e3563fde2aaaf8","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write ."},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.7","node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.4_1688925420794_0.39737631634897674","host":"s3://npm-registry-packages"}},"4.0.0-beta.5":{"name":"openai","version":"4.0.0-beta.5","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.0-beta.5","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"7c10d5513e0f8c26da5f937fa558652e87567fc7","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.5.tgz","fileCount":252,"integrity":"sha512-Ksu4w12Q0dTfTY1tR9YPemCLCyx/zk0Ryb6HxWtkFQm8jzGN7yETEJ7RvHWJqa7rHX6WSODHiAWfKzH1GEPilA==","signatures":[{"sig":"MEQCIESR7nNwTpcAiRAU/JPevgGlFIs9QPUsnUMN/TuugoQyAiBH7WCCD0YWRz/GRuTuAr53vxAFZ23MFjsFxL/kl7J3rw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":544417},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"07b3504e1c40fd929f4aae1651b83afc19e3baf8","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.7","node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.5_1689614806465_0.6128173065467946","host":"s3://npm-registry-packages"}},"4.0.0-beta.6":{"name":"openai","version":"4.0.0-beta.6","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.0-beta.6","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"faf2841f0328d4e57e82eac745383632bc2fa8ca","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.6.tgz","fileCount":252,"integrity":"sha512-sZscRgs6nhBgIt0qcK8XB2PGga6V0Qy9rQn/vKesox/laQDs9tMaOi6rsDhHq15aXQJPROfEB0K9SZoCuyWbSw==","signatures":[{"sig":"MEYCIQDMNX/lFE+6lZXmF1JVjqfEI1BDgcRFxFLdBS0heTaU2AIhAPhmzBaIbZOgEAsT+w72YP2ZL7IaT3Spvmrz5oyeznjL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":545353},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"96e5b7fef104933e94ebf4ccdf15756bdd73f30a","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.6_1689891625680_0.5977809679832391","host":"s3://npm-registry-packages"}},"4.0.0-beta.7":{"name":"openai","version":"4.0.0-beta.7","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.0-beta.7","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"4b05af6122fa142e59644e7ffa3389700f1ac192","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.7.tgz","fileCount":252,"integrity":"sha512-jHjwvpMuGkNxiQ3erwLZsOvPEhcVrMtwtfNeYmGCjhbdB+oStVw/7pIhIPkualu8rlhLwgMR7awknIaN3IQcOA==","signatures":[{"sig":"MEQCIE1/1mG1IHbYuM7fbN7tOvBBw96aqgQihEMCD/c6rPkOAiBwYXMDAKW8AxqiYxn8wOee0oRMr3aIja/c9eXkUb5cdw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":549488},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"347a22753273fccc90a93dc44b992a32f876cbad","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.7_1690663669655_0.05545460669291402","host":"s3://npm-registry-packages"}},"4.0.0-beta.8":{"name":"openai","version":"4.0.0-beta.8","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.0-beta.8","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"dist":{"shasum":"1a871c3ebd54b481bdf3285bbf6d31cb862e4c6e","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.8.tgz","fileCount":267,"integrity":"sha512-bXBxUK2B288GlLckjnpT+UgyyddP+f4JIT5/df95C6eeqQhf5UkuN41Z3uf/6unPvR8Tthm4jJje1fA0OgsDEw==","signatures":[{"sig":"MEUCIQDRRpf8a8DyRmeqZV8ZHlpqr/WYPsD9+I2zyhzuP76+qAIgAYickqV2nFYtuWYXXDjyx38GRXNYg0UxoGNW5VbLXbQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":555648},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"61cd8e13287bba1496b4c23bf4eb5940a9c0c7f4","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.8_1691249299705_0.16176949916333472","host":"s3://npm-registry-packages"}},"4.0.0-beta.9":{"name":"openai","version":"4.0.0-beta.9","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.0-beta.9","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"bin":{"openai":"bin/cli"},"dist":{"shasum":"de41a74f7cd6fbbba17c99815457cb64c48b08fd","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.9.tgz","fileCount":268,"integrity":"sha512-0sCeOpKiMDRkvPUDg2zvEVT/d1yhugnQIVdPunID2UrIHMNQGPuYBjvhwRrkAyravPX8jQy56sRKmFQYM3hEvw==","signatures":[{"sig":"MEUCIQCEAV+nE6glweCf+IRXWkcLewdPv/EtLJDvBcZ6twwyHAIgMpc416LiNU3sPhcBEG6DQYet0w6PmW8Qmr5U3HjAIlA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":567141},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"28276d64008aa97349d243114e380b954dbfd3d0","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.9_1691771141263_0.25870734277676544","host":"s3://npm-registry-packages"}},"4.0.0-beta.10":{"name":"openai","version":"4.0.0-beta.10","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.0-beta.10","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"bin":{"openai":"bin/cli"},"dist":{"shasum":"f907146c87d44312eb040ead02348dac738dc5fe","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.10.tgz","fileCount":268,"integrity":"sha512-uEBByprSmEho3q3OduNBBdSSeigoh/r70hbmPIatokBgwvyhcv+Y6lKOis2fED5sZkR3ZZoP9ao3eY+mslpgpg==","signatures":[{"sig":"MEUCIQDfCzdy0Z3yPMribXWddFq9ZagiIIzaTxqtU8N0wcom+wIgIbclp65bJhRSoHCMTgLsYHhcbgjGP8zIW0SKzAeM6i8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":562497},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"05ff44f935e6409702b2a9ab6537607e2f76d8f7","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.10_1691866475375_0.20232775249077894","host":"s3://npm-registry-packages"}},"4.0.0-beta.11":{"name":"openai","version":"4.0.0-beta.11","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.0-beta.11","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"bin":{"openai":"bin/cli"},"dist":{"shasum":"a761509bc64135e84d9dc8440d697c6302d2153e","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.11.tgz","fileCount":268,"integrity":"sha512-uIvizM2fwO/3ZsiN5fXZt9V6lG5i/3Zh8XXyAGPMCJmwP2ixPh67nc72GpZsozTaRVLSd/ZLgZKfjgEKTHnUjQ==","signatures":[{"sig":"MEYCIQDgy18/YbQGu7Z+nF/sBvBrTEM2f1qh5OJljrlVXZ+wegIhAKi01MIqqZcfiyJxkkJExmUCXWl2/WUHvQ65D+ldMQlt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":584113},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"68ac889b3402fbcb60be74a31a2147500ca57eb0","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.11_1691942083679_0.6724511226071714","host":"s3://npm-registry-packages"}},"4.0.0-beta.12":{"name":"openai","version":"4.0.0-beta.12","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.0-beta.12","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"bin":{"openai":"bin/cli"},"dist":{"shasum":"c8f8100a554f61b00f58211e62d23edd47d61bdb","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0-beta.12.tgz","fileCount":268,"integrity":"sha512-K7PrIyF+Rv2kI8/FKcb1ZiM4L9ORR5J8DnoSgOT+mHrR9d3eBkAdxqVJ4uCXLFTGh7rDzU4pbuD+DpfdgzL1IQ==","signatures":[{"sig":"MEUCIQCLNPCo+2JZHXzd1SjMcU3h7D6bDiOzf0Y+jzC/MpPQRgIgVWxShQKMVnyKH2PfAz2zC2krB06CPiA3GfWBgM2gM30=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":584559},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"37de535fb88b203c46af9f0861a68a7e5c1e7d3a","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0-beta.12_1692061268461_0.14393762267629873","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"openai","version":"4.0.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"bin":{"openai":"bin/cli"},"dist":{"shasum":"d3fc2288ffe97ddf3ae9f89bdaa1ec75657e4fd5","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.0.tgz","fileCount":268,"integrity":"sha512-UHv70gIw20pxu9tiUueE9iS+4U4eTGiTgQr+zlJ5aX4oj6LUUp+7mBn0xAqilawftwUB/biohPth2vcZFmoNYw==","signatures":[{"sig":"MEYCIQDex8ZfAzbfZlBzEKgl7eE4dx470etEdlTmGGFHYW6AhAIhALgY2E+KrvFspPRFCeBk+lE99Bp0Vxcn48Eui/wH8y9F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":590297},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"3ec43ee790a2eb6a0ccdd5f25faa23251b0f9b8e","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.0.0_1692208566304_0.6275231410433055","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"openai","version":"4.0.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.0.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"bin":{"openai":"bin/cli"},"dist":{"shasum":"bcf1b4a53ee23f2df0f60e96eadc908c95eed1e2","tarball":"https://registry.npmjs.org/openai/-/openai-4.0.1.tgz","fileCount":268,"integrity":"sha512-UanMv/kCD/ylgOdBrkkRgkoFXdfENrXYWNvYdvPttXZaEJmRVY9MZSknlkWYH7iPMX6tTcz6szbI2d3O04UFag==","signatures":[{"sig":"MEYCIQD+8xD2bUlFS53FNHiTboGJAW0e7Payc89NWYK166ylSQIhAOAIuerB82EMxsTGhZBbHQziUjToqiO+4lIe59ex9EIJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":596758},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"8f2cf4fa95741f15a6f1b0ff41f00dae523aad18","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.0.1_1692409626728_0.48136109915778325","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"openai","version":"4.1.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.1.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"homepage":"https://github.com/openai/openai-node#readme","bugs":{"url":"https://github.com/openai/openai-node/issues"},"bin":{"openai":"bin/cli"},"dist":{"shasum":"06522099ae3e366804d4b7b3bb13e2a16c463b9f","tarball":"https://registry.npmjs.org/openai/-/openai-4.1.0.tgz","fileCount":289,"integrity":"sha512-EaCMqi7JI0xw68PUE+DJkAdykgCZEl203QXWmYWm5wRVUmEC8FAeliLkpeWWEafxnC43UtWNdnTMRImOS3C3ZA==","signatures":[{"sig":"MEYCIQCMSCuMeObPf+B/iCLw0zjACtphCb/wpBAobQZmXu81OgIhALf9ZVbJtKbZsC66A+Xc1xBdi65Ty4LQS15CZCSjyQ0F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":632521},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"gitHead":"ddb2815759d027af77ba05bc22c089d8237e008a","private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr","email":"schnurr@gmail.com"},"repository":{"url":"git+https://github.com/openai/openai-node.git","type":"git"},"_npmVersion":"8.1.0","description":"Client library for the OpenAI API","directories":{},"_nodeVersion":"16.13.0","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.1.0_1692739073560_0.4428751577364929","host":"s3://npm-registry-packages"}},"4.2.0":{"name":"openai","version":"4.2.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.2.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"ccaef83bccad50041dd3e733e231b0c38f889b99","tarball":"https://registry.npmjs.org/openai/-/openai-4.2.0.tgz","fileCount":303,"integrity":"sha512-zfvpO2eITIxIjTG8T6Cek7NB2dMvP/LW0TRUJ4P9E8+qbBNKw00DrtfF64b+fAV2+wUYCVyynT6iSycJ//TtbA==","signatures":[{"sig":"MEUCIFu+cmoQFFsPPj5t9Vw0qV6BF+PUfSBVryQf8hPrHMYwAiEAr5CR5bkmzJiznMsKJbEMJ9wps26eSS2taV5A1wv9e/w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":633547},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.2.0_1692802386279_0.4809361365596092","host":"s3://npm-registry-packages"}},"4.3.0":{"name":"openai","version":"4.3.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.3.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"e12320015be7b86469304318ccf9a34e3d81a4df","tarball":"https://registry.npmjs.org/openai/-/openai-4.3.0.tgz","fileCount":303,"integrity":"sha512-ObF5jxvZoQbCNAI6FiiNkzFDinBRbu4KPm73/PKCy9UvjI24kPpnN9kK56rtPDVYxfk78C0A2SK0bJAE633BuQ==","signatures":[{"sig":"MEUCIQDKL/WlwsWPC0yzTnPiTbI1DOPyeFoXKOcjirCA7V3y2QIgDST44Oz/AZs2UPS116X8WRiGmSRG5mvMDjIsJkZt3+M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":644757},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.3.0_1693106834525_0.05005813035414586","host":"s3://npm-registry-packages"}},"4.3.1":{"name":"openai","version":"4.3.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.3.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"800dd4bfb7dc764a956042197896725f39b6a08d","tarball":"https://registry.npmjs.org/openai/-/openai-4.3.1.tgz","fileCount":303,"integrity":"sha512-64iI2LbJLk0Ss4Nv5IrdGFe6ALNnKlMuXoGuH525bJYxdupJfDCAtra/Jigex1z8it0U82M87tR2TMGU+HYeFQ==","signatures":[{"sig":"MEQCIETxaaiJ9bhZBTz4aFj0zoqO0aJhe6yFcS8BnMfDWQ5JAiA6I4ir8vXcQrqzq9TO0dYWzMx9ugCyDtr+JOOeUiDgkA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":645289},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.3.1_1693282293387_0.592933244237607","host":"s3://npm-registry-packages"}},"4.4.0":{"name":"openai","version":"4.4.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.4.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"dbaab326eb044ddec479951b245850c482678031","tarball":"https://registry.npmjs.org/openai/-/openai-4.4.0.tgz","fileCount":303,"integrity":"sha512-JN0t628Kh95T0IrXl0HdBqnlJg+4Vq0Bnh55tio+dfCnyzHvMLiWyCM9m726MAJD2YkDU4/8RQB6rNbEq9ct2w==","signatures":[{"sig":"MEUCIB5m2ZY/i7I/cM47BCUtzV6ilWaOQ7sWrQBYwglVsbihAiEApWJr6eaFyjqcX7cnvnuWuPjY4g2sUkROCn0726lAPiA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":650294},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"bun":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*.node.d.ts","default":"./_shims/*.node.mjs","require":"./_shims/*.node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.4.0_1693586127714_0.14420668609714782","host":"s3://npm-registry-packages"}},"4.5.0":{"name":"openai","version":"4.5.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.5.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"ef968fe1a86af26f4184fb1e016fd6aaf96d49e3","tarball":"https://registry.npmjs.org/openai/-/openai-4.5.0.tgz","fileCount":302,"integrity":"sha512-9cA5i6KpEAeLV8nZrVgOXqRmUWUIu4FV2oRKvSIwrA7Z5aMd4sXVOaqWAuRDhFFewirxhys8D6R5B2Drj1pKIQ==","signatures":[{"sig":"MEYCIQCnI76vSW2R87c4nb/HzhHie5c+x2/YBoGizQHGXeeTYQIhAN4sAwskz3RK0mKFobL5zprf1GO/O7pZ1l9X3yTrskoA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":657359},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*.js":{"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.js"},"node":{"types":"./_shims/*-node.d.ts","default":"./_shims/*-node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.js"},"default":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.js"}},"./_shims/*.mjs":{"bun":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs"},"node":{"types":"./_shims/*-node.d.ts","default":"./_shims/*-node.mjs"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs"},"default":"./_shims/*.mjs","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.5.0_1694026619716_0.03156686612663928","host":"s3://npm-registry-packages"}},"4.6.0":{"name":"openai","version":"4.6.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.6.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0335111cf71c608b68dbdca19f8ccbd9cfb0cd97","tarball":"https://registry.npmjs.org/openai/-/openai-4.6.0.tgz","fileCount":302,"integrity":"sha512-LuONkTgoe4D172raQCv+eEK5OdLGnY/M4JrUz/pxRGevZwqDqy3xhBbCeWX8QLCbFcnITYsu/VBJXZJ0rDAMpA==","signatures":[{"sig":"MEUCIHfggTKqRRD9/P5T+199TZQg85VMUrmIAl8MjNL4Pt/dAiEArtx5Ib2V56k5HG3A+gNz7uEWoAbdEcOAcDfRYQ6X5cg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":657911},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"bun":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*-node.d.ts","default":"./_shims/*-node.mjs","require":"./_shims/*-node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.6.0_1694215879760_0.023921668729115053","host":"s3://npm-registry-packages"}},"4.7.0":{"name":"openai","version":"4.7.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.7.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"df0e0dfd5f03e9f60bcf8551054d9ac9032d50ac","tarball":"https://registry.npmjs.org/openai/-/openai-4.7.0.tgz","fileCount":302,"integrity":"sha512-URaLIqEyh60i46h0yM296TA5HRTK4NY+mB718METphyQZo74Vd2s0thwaHZMWqYc/3LHFOokpZLpW2HNiP54sw==","signatures":[{"sig":"MEQCIFVRQJSeiMrTGb9lrPzX9qsoyM8yOqf9QI1POLHd0iRMAiB5mOxi6w2FK+zEBlv5RkXeYqX9HmUe+H1ssjK/qDHedw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":661325},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"bun":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*-node.d.ts","default":"./_shims/*-node.mjs","require":"./_shims/*-node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.7.0_1694711380561_0.9751056984862736","host":"s3://npm-registry-packages"}},"4.7.1":{"name":"openai","version":"4.7.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.7.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"dbc13f5e830365f8e927026acc5cf68255e57909","tarball":"https://registry.npmjs.org/openai/-/openai-4.7.1.tgz","fileCount":302,"integrity":"sha512-4Um9A4aLGzZxyENyway0zVgi69BOxaqXmjOCKp3PUteOvSn9TeVf6IjkaNY8k/LXYG5l2e7PpacOl2sxsrTc/w==","signatures":[{"sig":"MEUCIQCyGcQLVYQELrwkrkIdS3Qu/BSa8y8ZKyy4RvnxmAwkywIgDovOsrscWy8cxI4kySt53ELpKu71KsJHHUeooxZ3zXw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":662875},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"bun":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*-node.d.ts","default":"./_shims/*-node.mjs","require":"./_shims/*-node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}},"./_shims/node-readable":{"bun":{"types":"./_shims/node-readable-node.d.ts","default":"./_shims/node-readable-node.mjs","require":"./_shims/node-readable-node.js"},"deno":{"types":"./_shims/node-readable.d.ts","default":"./_shims/node-readable.mjs","require":"./_shims/node-readable.js"},"node":{"types":"./_shims/node-readable-node.d.ts","default":"./_shims/node-readable-node.mjs","require":"./_shims/node-readable-node.js"},"types":"./_shims/node-readable.d.ts","worker":{"types":"./_shims/node-readable.d.ts","default":"./_shims/node-readable.mjs","require":"./_shims/node-readable.js"},"browser":{"types":"./_shims/node-readable.d.ts","default":"./_shims/node-readable.mjs","require":"./_shims/node-readable.js"},"default":"./_shims/node-readable.mjs","require":"./_shims/node-readable.js","workerd":{"types":"./_shims/node-readable.d.ts","default":"./_shims/node-readable.mjs","require":"./_shims/node-readable.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.7.1_1694798864382_0.9103465088400482","host":"s3://npm-registry-packages"}},"4.8.0":{"name":"openai","version":"4.8.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.8.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"42e818e484d5c831e438439ed202b08d67416b1c","tarball":"https://registry.npmjs.org/openai/-/openai-4.8.0.tgz","fileCount":302,"integrity":"sha512-CnLZvHi2x4pIoGAWCaj3jHi1a6NA4oFBL6mJDSXkIR5A/wv6lven7uL2gxMevjGBLA7OqYqis3Z2PMluiGauVw==","signatures":[{"sig":"MEYCIQDUk3FFUztDYBw47pkSWTyB1sDPEr8qWKDyECTlohCBtQIhALY0hWPGm3UTEZ8XtrwpqB4kjFMkVamqLOKezpVLBiZX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":663429},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/*":{"bun":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"deno":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"node":{"types":"./_shims/*-node.d.ts","default":"./_shims/*-node.mjs","require":"./_shims/*-node.js"},"types":"./_shims/*.d.ts","worker":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"browser":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"},"default":"./_shims/*.mjs","require":"./_shims/*.js","workerd":{"types":"./_shims/*.d.ts","default":"./_shims/*.mjs","require":"./_shims/*.js"}},"./_shims/node-readable":{"bun":{"types":"./_shims/node-readable-node.d.ts","default":"./_shims/node-readable-node.mjs","require":"./_shims/node-readable-node.js"},"deno":{"types":"./_shims/node-readable.d.ts","default":"./_shims/node-readable.mjs","require":"./_shims/node-readable.js"},"node":{"types":"./_shims/node-readable-node.d.ts","default":"./_shims/node-readable-node.mjs","require":"./_shims/node-readable-node.js"},"types":"./_shims/node-readable.d.ts","worker":{"types":"./_shims/node-readable.d.ts","default":"./_shims/node-readable.mjs","require":"./_shims/node-readable.js"},"browser":{"types":"./_shims/node-readable.d.ts","default":"./_shims/node-readable.mjs","require":"./_shims/node-readable.js"},"default":"./_shims/node-readable.mjs","require":"./_shims/node-readable.js","workerd":{"types":"./_shims/node-readable.d.ts","default":"./_shims/node-readable.mjs","require":"./_shims/node-readable.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.8.0_1695056676752_0.8334197492148574","host":"s3://npm-registry-packages"}},"4.9.0":{"name":"openai","version":"4.9.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.9.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"ade7ffb61cee7ff23b693c1bed0c892f1a764a5a","tarball":"https://registry.npmjs.org/openai/-/openai-4.9.0.tgz","fileCount":322,"integrity":"sha512-ZJqPZiMk0zdlTjGFZIfR52yyCVdkJjw+VyjHtgmCBcldhDO3nyOXxLRzlr6OZ2i1IWb/2KM/ccYKIHQz3BKJoQ==","signatures":[{"sig":"MEQCIH+WCJeGPtqr8V16R4cDVbULBvSg6Em/iEx7CFgPwEVAAiAe5oPL1NMvNlmK2d1x9iD2yJ552/hzDg1vcX+aIcRieA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":711860},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.9.0_1695310783010_0.19651504613202064","host":"s3://npm-registry-packages"}},"4.9.1":{"name":"openai","version":"4.9.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.9.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"fe5c11a61f298d2d70cfd6163e146307581c71bc","tarball":"https://registry.npmjs.org/openai/-/openai-4.9.1.tgz","fileCount":322,"integrity":"sha512-R+ahYXaBYcDvyBrFpor2WZcNqh/0/+3rtCLy0/m2nriBuB9UecpKxllk6kfrwNkkLryCi1cs8tWjvCX2Ny27Gw==","signatures":[{"sig":"MEQCIFaLcby6A9u9IUC4ZhC/VbsqnljdvIYS5Kw0M7TjPGyfAiAQ6bRH3DQhOAvxGiU6LuwHL5Dla3U1vwSf2X7m4sWnEw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":712267},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.9.1_1695316180017_0.1818148532530155","host":"s3://npm-registry-packages"}},"4.10.0":{"name":"openai","version":"4.10.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.10.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"60d8f2a469ac7109a34115c75b6d66edbac1d914","tarball":"https://registry.npmjs.org/openai/-/openai-4.10.0.tgz","fileCount":322,"integrity":"sha512-II4b5/7qzwYkqA9MSjgqdofCc798EW+dtF2h6qNaVLet+qO7FShAJTWnoyzb50J4ZH1rPxRFAsmDLIhY3PT6DQ==","signatures":[{"sig":"MEUCIQD5mQNKgs4yPf6Uge9msFg8PluVas3v5riCP4fYO3UdpAIgKtbJotWW+/MjZsquCYWVri8EbE5ns0Y+M29egMQrwks=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":716419},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.10.0_1695322612351_0.28980030272001867","host":"s3://npm-registry-packages"}},"4.11.0":{"name":"openai","version":"4.11.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.11.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"8adc03e6f74e71cc501d798d81209aa06e4ca14b","tarball":"https://registry.npmjs.org/openai/-/openai-4.11.0.tgz","fileCount":322,"integrity":"sha512-zU/MJxZTijL0Ym6CKoQPbnmHDsGZlH9g5zorPszdc41OyLxlhnlrorBcGzmGS9qpnjGGNncJR1hfg/mXq0OONw==","signatures":[{"sig":"MEYCIQDh7bW1VGnsnXTDvpfOtSruEHzIAYkkqS42ZgGFN+ROxQIhAKN0fIjdkjTpp+Q3VVVm4X/PBAoYTZkWbufyV+Dt0vXA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720987},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.11.0_1695995054138_0.15287381784081333","host":"s3://npm-registry-packages"}},"4.11.1":{"name":"openai","version":"4.11.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.11.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"c2ed9b5e58c3c626b8d43e4eae0cfdbcd44cc844","tarball":"https://registry.npmjs.org/openai/-/openai-4.11.1.tgz","fileCount":322,"integrity":"sha512-GU0HQWbejXuVAQlDjxIE8pohqnjptFDIm32aPlNT1H9ucMz1VJJD0DaTJRQsagNaJ97awWjjVLEG7zCM6sm4SA==","signatures":[{"sig":"MEYCIQD0idiOnvqZNJvJ7iBVSAXmL2FLlL/ORVEO7SGjS14j5gIhAKRNxQSjLSbHtR092Ok6FH0sr6YrGLqlgJV2Mxm0jcRC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721113},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.11.1_1696307946750_0.3741200838296783","host":"s3://npm-registry-packages"}},"4.12.0":{"name":"openai","version":"4.12.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.12.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0de844eb8ff148b30ebfe7aec6083fa02b67eab3","tarball":"https://registry.npmjs.org/openai/-/openai-4.12.0.tgz","fileCount":322,"integrity":"sha512-vuF8625uHqhaTLMBwCXbLiUBz4Do9LCzY86M3z1/8vnlxKSuFzp/9/1AQQEaqJ95KxHmZbnITBlHhqqoPWwuww==","signatures":[{"sig":"MEQCIBBKZQVXULnjNdv+r1qr2rf4anm4lRitQFesi4w9Pb2BAiB08HRXIY1ELDQ2HzxIqppUTGES1mVuRpEWwAp4JB1uqQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":723279},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.12.0_1697041536719_0.9700598072272733","host":"s3://npm-registry-packages"}},"4.12.1":{"name":"openai","version":"4.12.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.12.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"f1ef4283197cf2ef932abc55afeae8a2182d8fe6","tarball":"https://registry.npmjs.org/openai/-/openai-4.12.1.tgz","fileCount":322,"integrity":"sha512-EAoUwm4dtiWvFwBhOCK/VfF8sj1ZU8+aAIJnfT4NyeTfrt1DM/6Gdd6fOZWTjBYryTAqu9Vpb5+9Wu6JMtm/gA==","signatures":[{"sig":"MEUCIQCRifIF55G2CgWr1nGyadMv2UCjE/AASed/8u3Yg9PYTwIgBS+4Q908SCOK3nsqJWRZDT+yKy7vYXjLJU35b3Jyiiw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":727989},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.12.1_1697056383752_0.12253713254749199","host":"s3://npm-registry-packages"}},"4.12.2":{"name":"openai","version":"4.12.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.12.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"084e2c539837bb389ebb1467f5a7c8a573da2257","tarball":"https://registry.npmjs.org/openai/-/openai-4.12.2.tgz","fileCount":322,"integrity":"sha512-3ijtNbjN3zIt9Ltpu0QJcftjqzbvosaoaj17C1dNtqdslZKFuwDXpTL0g0ovIAIBIlyI/FNLTJGm31Mph7d/XA==","signatures":[{"sig":"MEYCIQD26IOBoUIt8hna1cz7wMXPXeaTAFPpscOFFAjTWKY0lQIhALym7S0Lo+KpVLAtfej6pK3AeLkY3PN0nqr4brlCcm+n","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":756385},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.12.2_1697488390761_0.40111221974975875","host":"s3://npm-registry-packages"}},"4.12.3":{"name":"openai","version":"4.12.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.12.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"4a0e624812b672e5e3aeeb1232d682af5ab4623c","tarball":"https://registry.npmjs.org/openai/-/openai-4.12.3.tgz","fileCount":322,"integrity":"sha512-Kw8M8qioKg+iw2tCpdJ1G772uV0tk4SRF1MtySYSPr82YH+Csl61kYv2KzKAOqINcOVn5eSN26t0ImIsdJexfw==","signatures":[{"sig":"MEUCICpShc6MogmkOYwgmGfmucMgGw1hgYf5O92tGafP0Nw7AiEA9UsSjYM5UAU35M56ldmUYldEZO+PzSD0PRXKkU7ApeQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":756742},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.12.3_1697489575921_0.5803927636274204","host":"s3://npm-registry-packages"}},"4.12.4":{"name":"openai","version":"4.12.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.12.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"663f75611de766904942422cec7fbbfc0a906c77","tarball":"https://registry.npmjs.org/openai/-/openai-4.12.4.tgz","fileCount":322,"integrity":"sha512-oPNVJkpgxDUKF6WGGdHEZh5m/kjmYxS2Y1q7YVFCkvKUGthb8OGYRGCFBRPq5CQJezifzABTZRlVYnXLd6L4vQ==","signatures":[{"sig":"MEUCIQDV5IMVELoQuYHEmrrCUCpSiuf/yH1x4aQHvSUYXKSwzwIgd4oDQtoa75InKfiF+C+1RXouWtN4MgaH1FEwv56doSE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":757337},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.12.4_1697580821130_0.6802949528687814","host":"s3://npm-registry-packages"}},"4.13.0":{"name":"openai","version":"4.13.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.13.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"9645754564eefcb81b5d731b2b2cb039d5ee55bf","tarball":"https://registry.npmjs.org/openai/-/openai-4.13.0.tgz","fileCount":322,"integrity":"sha512-EPqHcB0got9cXDZmQae1KytgA4YWtTnUc7tV8hlahZtcO70DMa4kiaXoxnutj9lwmeKQO7ntG+6pmXtrCMejuQ==","signatures":[{"sig":"MEUCIBzPgF4yPJrxEDvRJkX3HVV5+J0EIJTZ1ma99ffoD9JDAiEAxgkPksvbOpABCjrss8enLKImOx3Xnamc2C9r6gUO6aY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":759018},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist","postpublish":"bash scripts/git-publish-deno.sh"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.13.0_1698097622333_0.9120870091796318","host":"s3://npm-registry-packages"}},"4.14.0":{"name":"openai","version":"4.14.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.14.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"5177437683e73bceea1803ea7605905a6e95a0a3","tarball":"https://registry.npmjs.org/openai/-/openai-4.14.0.tgz","fileCount":322,"integrity":"sha512-pWQYkFWdeudR1yLyS/rFfIv/MTXqFEtlN4EKVm0F6KKKGjhuthznPOCC4hxfAFmjlgbpJJXhQQ/oBeB9bxFmUw==","signatures":[{"sig":"MEQCIEu7XeZ1lY9hR2b4aCJ/2cw8Y45geck+nsYuYlXPpdj8AiA4/+FHrFGT7jj+6iT8tEcBvOvhEQZ9li0WUQjZdNQ04A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":759419},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist","postpublish":"bash scripts/git-publish-deno.sh"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.14.0_1698252461485_0.019617988751632343","host":"s3://npm-registry-packages"}},"4.14.1":{"name":"openai","version":"4.14.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.14.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"26ffa8e86a57da6595b46350355a754d934e61a1","tarball":"https://registry.npmjs.org/openai/-/openai-4.14.1.tgz","fileCount":322,"integrity":"sha512-aBb7DVdzSnEUBFHTbnVoitauefvjRuUHS5pa7lm1m5JmHifD+1Hff1RzxYC12ogugVcCmWT99NZNfzyD6n/0IQ==","signatures":[{"sig":"MEYCIQCXwG3YcHalNrZ2b+hCztzjJOy5jVwwa9TxhMWDeR02YQIhAM3/nxBKeK6f7vosXnB4wCoaFvP6NYnS5lStZ7sPsjgJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":760113},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.14.1_1698444505818_0.45310226825208666","host":"s3://npm-registry-packages"}},"4.14.2":{"name":"openai","version":"4.14.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.14.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"edc09e986a922da22d14b96b547c29f435e724ae","tarball":"https://registry.npmjs.org/openai/-/openai-4.14.2.tgz","fileCount":322,"integrity":"sha512-JGlm7mMC7J+cyQZnQMOH7daD9cBqqWqLtlBsejElEkgoehPrYfdyxSxIGICz5xk4YimbwI5FlLATSVojLtCKXQ==","signatures":[{"sig":"MEUCIF8CY4L+vtvqOagI9rLZaD2ESZltevdcOUIhoblvj0VNAiEApRmGMQ0zQpj+nmJJ/PidvP0q6y8GpxoexZ0rDd+ka2g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":760439},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.14.2_1698682133309_0.6334943119418102","host":"s3://npm-registry-packages"}},"4.15.0":{"name":"openai","version":"4.15.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.15.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"96a64fb829a56fe8a22231fffd790b6a63d5273d","tarball":"https://registry.npmjs.org/openai/-/openai-4.15.0.tgz","fileCount":412,"integrity":"sha512-LPNgtG9gxRphH+7AUM5Q/dS/iWuM0UOKf+723e2kvyENNVMjYFrnQjCdcb2nNJY7+ao+J2jP/PfsXBLN8Si7iA==","signatures":[{"sig":"MEQCIFPunKcj+LvNLTCY74gEaoWDhh5Aqtn1iitknOi9F2sXAiB8Gl4TlP6VJDeeJfWdtsVxB6AmhPcQmtSbQrtTsytaqA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1330914},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.15.0_1699049283814_0.9359389367562083","host":"s3://npm-registry-packages"}},"4.15.1":{"name":"openai","version":"4.15.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.15.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"e8cbf14fbf5f3221a7d8d4b292254327b16e76e5","tarball":"https://registry.npmjs.org/openai/-/openai-4.15.1.tgz","fileCount":412,"integrity":"sha512-cpvjjLppNgR54Hr9/T+qgBhq2uceqRrf3vtx7LH8sdJ+8XjSE/WZ+/MvOho2Rm2l1ZBN96WYpgOpAqCtlBiIeA==","signatures":[{"sig":"MEUCIQD3iLAS8x5QjwkRFmoM+KY1wW/nujXlUxOPfMroftgBVQIgcWSvzEpgUxvb+Cxr5NnofEZiKb1oteQpSk/rjgAHWuQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1332949},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.15.1_1699131863936_0.5389279471053439","host":"s3://npm-registry-packages"}},"4.15.2":{"name":"openai","version":"4.15.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.15.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3a85a7e8970531c6a5b189c42f4762ac2b06688d","tarball":"https://registry.npmjs.org/openai/-/openai-4.15.2.tgz","fileCount":412,"integrity":"sha512-tlBCXRG7aFaDJG9HDRIaGU7wGXUG2Vood84aejjnPT8UFD9+y5qF/lwOWjCv6gaCV6lVEiwY5GxAPTeqr76iIQ==","signatures":[{"sig":"MEYCIQDxt0afS7i+0EVcN9WSNEnN3Djn/witturJau1Zmt0UZAIhAJpIDio7XFYiNlQdFJ7rvsN8cKt5hBzTs9gIw3pvumnU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1333158},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.15.2_1699139159482_0.008701062315273012","host":"s3://npm-registry-packages"}},"4.15.3":{"name":"openai","version":"4.15.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.15.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d281e9a20259a13976c01c8c30bc0a5f50afc818","tarball":"https://registry.npmjs.org/openai/-/openai-4.15.3.tgz","fileCount":412,"integrity":"sha512-j2XSxxiOhF7lCiHUXmuDOGOgtKa36ia9pOQ2m9YCOMA2Ee4QTI+MzdHRoHlp6ewOsvW5NXkoT+xustSZljiGnA==","signatures":[{"sig":"MEUCIQDuKCu82MsPH4LdzmA9QwmHCbVkfbfrT9IODJLMupBVDAIgedfkuoKf4CWlopgJCDQrJ69B0Co9/JvI6Jf1gVYoYJw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1333482},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.15.3_1699142767777_0.15930914966342202","host":"s3://npm-registry-packages"}},"4.15.4":{"name":"openai","version":"4.15.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.15.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"7c6acdb5b02806a663fdb142cc35cecc3792aab2","tarball":"https://registry.npmjs.org/openai/-/openai-4.15.4.tgz","fileCount":412,"integrity":"sha512-EnlSl1p8n7Q/HnBf4+VOEcYloBKKe23sKOFfH/WJcw+XVyWav4lwDK4wCmsUY1wS4RFOdbA2EwBUB2p5WEPmoQ==","signatures":[{"sig":"MEUCIQDI6lsEWS7Trbv2Zb6LPed9/Su4JgE9m2cXQ30hbCr8IgIgMLrmmbgI/UsI0puhLqio4RT8dTfVKHB/gmsyR1SjEKQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1333779},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.15.4_1699211262315_0.058184869509479764","host":"s3://npm-registry-packages"}},"4.16.0":{"name":"openai","version":"4.16.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.16.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"de494b6602065564203dfc8ed5a12894f89901d1","tarball":"https://registry.npmjs.org/openai/-/openai-4.16.0.tgz","fileCount":511,"integrity":"sha512-P7IWqvaP0EuD3cQvzmU24KprnS0tHavrTuMiChEOa7pugqrKUfcmTnHcr+w01sJHny3vYoTvydCZ77cQolYj+g==","signatures":[{"sig":"MEUCIGGgE3ZphskZLjolHrC4MGHH1v+db9yR8UGEqVJeH87HAiEA8Uwz+QpEkWGITSf5JwXjB9mELI03Hm+5d3qdfRmAvME=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1668103},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.16.0_1699302852829_0.4252789868227127","host":"s3://npm-registry-packages"}},"4.16.1":{"name":"openai","version":"4.16.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.16.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"6377682ad2af805affd1b401958fb6eb92a87d61","tarball":"https://registry.npmjs.org/openai/-/openai-4.16.1.tgz","fileCount":511,"integrity":"sha512-Gr+uqUN1ICSk6VhrX64E+zL7skjI1TgPr/XUN+ZQuNLLOvx15+XZulx/lSW4wFEAQzgjBDlMBbBeikguGIjiMg==","signatures":[{"sig":"MEUCICyAYP+FcRSEXU4Gf1yc+XlIe5yeBgMUvm1dQ+F5TP4QAiEArLd02nfAXhKE6qFaV4Oz2BunzfVM9AaUDMRxEQLg0j8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1668315},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.16.1_1699307857096_0.2739555126399045","host":"s3://npm-registry-packages"}},"4.16.2":{"name":"openai","version":"4.16.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.16.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"c386ada1d091194fb45212bbc69a97116e2f68f3","tarball":"https://registry.npmjs.org/openai/-/openai-4.16.2.tgz","fileCount":511,"integrity":"sha512-jsrv008Z3SkeiJ2USdJTrD/tkwBHK6YYv7cwNxkfhgAu1GUBKEDiuYKLLXtvVxdrU9gK6LXnIb03ugwoBgEimQ==","signatures":[{"sig":"MEYCIQDoZZIetDr93OR19Lwn7lV0FgWR4w3HxhbWYSPY9TVb9gIhAIrF0rb9Zt77U7HC8VMqGu4Ok44tVkfU8MpN/F0hbPIz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1671706},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.16.2_1699471491416_0.37661722805815256","host":"s3://npm-registry-packages"}},"4.17.0":{"name":"openai","version":"4.17.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.17.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"92e2397032e95c39bb1f25caece44060eb5218f3","tarball":"https://registry.npmjs.org/openai/-/openai-4.17.0.tgz","fileCount":518,"integrity":"sha512-fJUdfOzKE49L2oitQ+L8oCYcTDI2oLOYmQvnPjklFrmH7M+8w65/8Ag9120ky1A3Xr3lCivALs2oBmNaZIvTgg==","signatures":[{"sig":"MEUCIQCsGYTFtT4g8xAKjDo9v+wPcVPg3+9jGXq1MOobOEuJKgIgRWIKz1d+gYO1JS1cIRgqZG9FeMOPvRKzJb7vu7IfaYo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1661370},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.17.0_1699493134884_0.11913661955408505","host":"s3://npm-registry-packages"}},"4.17.1":{"name":"openai","version":"4.17.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.17.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"160fa9f0cdc778eda2c0a28bc72e64aba8ef462b","tarball":"https://registry.npmjs.org/openai/-/openai-4.17.1.tgz","fileCount":518,"integrity":"sha512-8IrjeT9B63/6rKA2NI/0LFnjRA37G+NvNwbRvcEH9+AjAahReSMtT8xs4J+ClhzdUL9d91GJymgbo9RJt+HQuQ==","signatures":[{"sig":"MEUCIQD7kThfSObo9JwZ833kW/LDYDoqU4cvjxuVtgVWGfHb3wIgfSr3+5FU6rZLafVqHe8lGLZCU8p+8gtrOACQHa+WH4E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1663400},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.17.1_1699555717322_0.13450189122656586","host":"s3://npm-registry-packages"}},"4.17.2":{"name":"openai","version":"4.17.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.17.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"f7afb9617705aa080a10d03e14372bf9bbb51fe0","tarball":"https://registry.npmjs.org/openai/-/openai-4.17.2.tgz","fileCount":518,"integrity":"sha512-7wh6Vyz3Fuay4aGLQF7T9bMUfj7pJHjg36bZJeWzkrZwTrB4HnKcODFPDkponE9obP+DmIbuL3Q68s9uUB6K3Q==","signatures":[{"sig":"MEYCIQCk13RVZRL+nP+5xl6rXSMV+4WN6KpoVK+fAzUJD9NOvwIhAOph0d+jV0B5ykmedVWESrFciqDZO93YWL0cW4H/AjUq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1663738},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.17.2_1699573393096_0.596890540714383","host":"s3://npm-registry-packages"}},"4.17.3":{"name":"openai","version":"4.17.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.17.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"c07948a4ffda2883643f31f769cabc77c26ec15f","tarball":"https://registry.npmjs.org/openai/-/openai-4.17.3.tgz","fileCount":518,"integrity":"sha512-Gx9wzl9HWX5pjagkgXVu6U2BTFEPkQFdkppNnAX2n2Rpjtn2zt152wXh7NnZ5eJuVxUGYzRe66JmayAEGjzqAg==","signatures":[{"sig":"MEUCIAY+4WSaPJC5+l2A6V6mRD9Gbm9kFPZlN9m03jXFDVQuAiEA02EqgoZllyLUav8PsebPmj/I1AUJQgQTugHBjoYOYuw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1663864},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.17.3_1699582508786_0.2982493255724121","host":"s3://npm-registry-packages"}},"4.17.4":{"name":"openai","version":"4.17.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.17.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"984cf61fb2d4c3dae168d7295259cda7e677ad4d","tarball":"https://registry.npmjs.org/openai/-/openai-4.17.4.tgz","fileCount":518,"integrity":"sha512-ThRFkl6snLbcAKS58St7N3CaKuI5WdYUvIjPvf4s+8SdymgNtOfzmZcZXVcCefx04oKFnvZJvIcTh3eAFUUhAQ==","signatures":[{"sig":"MEQCIAHBKGOUBzcpeGsfcfRla6txQKJgytauZtpZBfnW8gh6AiANyzpqll6reRHmV+IwZYbq+mewepmK40Kgw/gb+aJzWA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1664453},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.17.4_1699644063039_0.10832562012783686","host":"s3://npm-registry-packages"}},"4.17.5":{"name":"openai","version":"4.17.5","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.17.5","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"096655741965656ec969731e97d4bce880112d66","tarball":"https://registry.npmjs.org/openai/-/openai-4.17.5.tgz","fileCount":518,"integrity":"sha512-SDgA933/QOjISCgWRc/JQhY1HweYZ6FOie3bWrCpj09FA5xIlaomldbyzICHNjtkh7SWEmGYFjRHIDtuwr+eTw==","signatures":[{"sig":"MEUCIQDNDRZ3cXuc8QTL/koKK0ljUiN7O3FjvyJ66UlDI/EvqAIgUdowlEqPqpphX/O0vb0MHMq5go+2Oj5/C5PHUw1MjX0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1666304},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.17.5_1699909679522_0.1674673820418331","host":"s3://npm-registry-packages"}},"4.18.0":{"name":"openai","version":"4.18.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.18.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"445f2001c2261ca3b4372039103fa5fc072d70bb","tarball":"https://registry.npmjs.org/openai/-/openai-4.18.0.tgz","fileCount":518,"integrity":"sha512-0C+waXoU7mvp/1QZzwnmPCkq4t02VJkjL1EXn0Pd7pFuTA0Y4y1LwzSZSiF/tpxw+Pr7diHVJjbfJ8QbdZnEcA==","signatures":[{"sig":"MEUCIHvrbYm+agkz21KHQp5EKU5ARxA73Nrk0TbMajRoC7PLAiEA0jMfkJwYSbVU1CCPLZyk503BpSd4m87/CA9rM/2vjr0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1666700},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.18.0_1699991077168_0.9978578269687617","host":"s3://npm-registry-packages"}},"4.19.0":{"name":"openai","version":"4.19.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.19.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"201bf971d2296b028f852fe9dabf61c4e5b96e71","tarball":"https://registry.npmjs.org/openai/-/openai-4.19.0.tgz","fileCount":518,"integrity":"sha512-cJbl0noZyAaXVKBTMMq6X5BAvP1pm2rWYDBnZes99NL+Zh5/4NmlAwyuhTZEru5SqGGZIoiYKeMPXy4bm9DI0w==","signatures":[{"sig":"MEQCIA9iKSgu93BLmf/kN2BByi3ZYpuOauyi4XW6aGYJJyWZAiBpmN5w0sLuZfyYF2CP4aklPi7ZhFM6CJliY2uN7P5kMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1663957},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.19.0_1700076810349_0.6098630276829307","host":"s3://npm-registry-packages"}},"4.19.1":{"name":"openai","version":"4.19.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.19.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"229d6e994248966f255f6a5b849dcec28e3b3439","tarball":"https://registry.npmjs.org/openai/-/openai-4.19.1.tgz","fileCount":518,"integrity":"sha512-9TddzuZBn2xxhghGGTHLZ4EeNBGTLs3xVzh266NiSJvtUsCsZQ5yVV6H5NhnhyAkKK8uUiZOUUlUAk3HdV+4xg==","signatures":[{"sig":"MEYCIQC/QuXYNV1t/E4pa/rOm74kKL7XoQHj6OE9yElnLfk9EAIhAJzlOcEfSLdbNd4tZf5dOH7SRBo8phFbwbvkHlwKtENi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1664083},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"Client library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.19.1_1700518964082_0.10900951666900771","host":"s3://npm-registry-packages"}},"4.20.0":{"name":"openai","version":"4.20.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.20.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d171b5afb38e0c5ba07f9dd7b15b5c4bbc1f1bda","tarball":"https://registry.npmjs.org/openai/-/openai-4.20.0.tgz","fileCount":518,"integrity":"sha512-VbAYerNZFfIIeESS+OL9vgDkK8Mnri55n+jN0UN/HZeuM0ghGh6nDN6UGRZxslNgyJ7XmY/Ca9DO4YYyvrszGA==","signatures":[{"sig":"MEUCIQD4UXuXWlLgVUB+1WNWF35869lR9P9z03mPpBptAKYVSwIgV9ExFGGQ7ROj21LUa4ZA7EegYZ9+vDDjqOS4FFYkj3o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1664704},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.20.0_1700674826497_0.15177375572083074","host":"s3://npm-registry-packages"}},"4.20.1":{"name":"openai","version":"4.20.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.20.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"afa0d496d125b5a0f6cebcb4b9aeabf71e00214e","tarball":"https://registry.npmjs.org/openai/-/openai-4.20.1.tgz","fileCount":518,"integrity":"sha512-Dd3q8EvINfganZFtg6V36HjrMaihqRgIcKiHua4Nq9aw/PxOP48dhbsk8x5klrxajt5Lpnc1KTOG5i1S6BKAJA==","signatures":[{"sig":"MEYCIQChTRO8nF4D4rp1/ESi93moQrLKRoalX7fMHtR7H795iAIhAPGIOG16UupvjMR7V76OIc1rpTw+CUvCZP0vxHs5E/XV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1665355},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openai_4.20.1_1701122882502_0.15467703864270588","host":"s3://npm-registry-packages"}},"4.21.0":{"name":"openai","version":"4.21.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.21.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"8560ad4541b55af52c7c1c68857e94be1fed6827","tarball":"https://registry.npmjs.org/openai/-/openai-4.21.0.tgz","fileCount":518,"integrity":"sha512-HT0Jm2iGI5+Maq7Da/DPTeIAxNvpa5pamkhlNnJJAqJgVjaFDvMUBjGhFJoVohkYWwZjM9oSyfSC0eoVNPioaQ==","signatures":[{"sig":"MEUCIEvKKFlw7Xb84KDC4afOs96PsDG6dzoEfx47Bgur7mMQAiEAz42NgRqkd7L4zzn/CqkpSYB7eMiynw5SmRINJzMkq9g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1701301},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.21.0_1702425960787_0.5137293916174868","host":"s3://npm-registry-packages"}},"4.22.0":{"name":"openai","version":"4.22.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.22.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"ae472627d7a27b7a112d3152e9581679f4772884","tarball":"https://registry.npmjs.org/openai/-/openai-4.22.0.tgz","fileCount":518,"integrity":"sha512-HrRx5pvkeG5H8ihaI8GmG1ls+H2pkLaFewIFmvh9Dnwz9GNcGQS6CSh5PjgalnYxE5Vu9jvz2ikRgw8xhOFweg==","signatures":[{"sig":"MEQCIHql+GtJHYr9PuYwCAR4iZYm5cIryu1d9eWwTfnikEQSAiA7AHDKu/WHnI4e+zKHHK9x3LzQqzyJbf6HrXFXvqVFPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1703683},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.22.0_1702617427373_0.8029620340608419","host":"s3://npm-registry-packages"}},"4.22.1":{"name":"openai","version":"4.22.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.22.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"ef228d0da42d9a5ae150cc4117a762ba1618b437","tarball":"https://registry.npmjs.org/openai/-/openai-4.22.1.tgz","fileCount":518,"integrity":"sha512-Igk2FixXiEDQKkS3VJR0tTpO27O48mJqH4ztayATHTvcAmKqrIrYOjUBc7DrJcq+cKcQS5lTQalGZD05ySydHA==","signatures":[{"sig":"MEUCIQCy6wbDrQo69hQSt4e1FgEkh0LrQP+JSW2g4HsO+nG/EAIgehFDYV1sa85vEl/L16dPn55ez32TWcAUZBe/oJ8CRMo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1704529},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.22.1_1702706913046_0.13219327493958644","host":"s3://npm-registry-packages"}},"4.23.0":{"name":"openai","version":"4.23.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.23.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"17b0e8493094e658896b683c6bf1824246d4d47b","tarball":"https://registry.npmjs.org/openai/-/openai-4.23.0.tgz","fileCount":518,"integrity":"sha512-ey2CXh1OTcTUa0AWZWuTpgA9t5GuAG3DVU1MofCRUI7fQJij8XJ3Sr0VtgxoAE69C9wbHBMCux8Z/IQZfSwHiA==","signatures":[{"sig":"MEYCIQCpMNs1ue1dAkrDc+HejGcmlJCeAvDc3YHqZx8cXfOtqgIhALpFuvDISbCS0VtgKajk+IX33Q+Y2muu4Qb6xxXwu5Mf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1718072},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.23.0_1702778278044_0.611743058937247","host":"s3://npm-registry-packages"}},"4.24.0":{"name":"openai","version":"4.24.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.24.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0870accfd7a4a95375d5fe2caacb46b809da5611","tarball":"https://registry.npmjs.org/openai/-/openai-4.24.0.tgz","fileCount":518,"integrity":"sha512-h8fsas4lu0ul18oDzFIZpEQryh2SJEUJWanyfEwjME/klcKWZM/blDz2cKiT+aFBqPJzcYdCUj/8E7n20f0jEw==","signatures":[{"sig":"MEYCIQDqd/SCkIvj5H9MKJgkahieGc22nrrehYFqDv8MXDQmvgIhANTa8u2Vw/rwbgiuOgVo6BrOZbQQgsdhm5cBUVSHqH3t","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1720348},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.24.0_1703029137047_0.39022508246881715","host":"s3://npm-registry-packages"}},"4.24.1":{"name":"openai","version":"4.24.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.24.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3759001eca835228289fcf18c1bd8d35dae538ba","tarball":"https://registry.npmjs.org/openai/-/openai-4.24.1.tgz","fileCount":518,"integrity":"sha512-ezm/O3eiZMnyBqirUnWm9N6INJU1WhNtz+nK/Zj/2oyKvRz9pgpViDxa5wYOtyGYXPn1sIKBV0I/S4BDhtydqw==","signatures":[{"sig":"MEUCIQDhqyiLT9zWlDxa6dkG+sOMAlxNJCwsU5NpxWPIFsPY+QIgNxOJipTytm9535EBjPV3bFUDO9PG2czUHGSXbM86WWk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1721403},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.24.1_1703242833130_0.655280556840939","host":"s3://npm-registry-packages"}},"4.24.2":{"name":"openai","version":"4.24.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.24.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"7b58236e28e8b94277c12c4fb6ead8351af9c7c1","tarball":"https://registry.npmjs.org/openai/-/openai-4.24.2.tgz","fileCount":519,"integrity":"sha512-Np5zFPAYsBRmsfgPS8cMM25r1wVO5NCTdmeoYDNEUhJn/rw6jNXU0CFSFwhbWsjIkYhdv31pPIzQ0xChHCvltQ==","signatures":[{"sig":"MEQCIQCvDVrd/NUWHVxHmk0FNlr+/L1LzEY/BD9r/YcKZWpntAIfVKfQBaNpTKahvArBnna+dhkWe04SFC6o8YuBJ8oFRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1726194},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.24.2_1704764680354_0.16321259943297783","host":"s3://npm-registry-packages"}},"4.24.3":{"name":"openai","version":"4.24.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.24.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"bcb41763891f2819470f48de8d734f78c2985932","tarball":"https://registry.npmjs.org/openai/-/openai-4.24.3.tgz","fileCount":519,"integrity":"sha512-trXt1hwYmJTwQCzYZiKijOYslqvterDwohTncadZOTXXJh+XV4Jf9KcLP9dDRlXh0mAxGXaVzbpiNgAXa2khNQ==","signatures":[{"sig":"MEUCIQCpof46cPw7cyy5EvYCDC2YZp0EsYG+pMXw979G+kAqKwIge/6MLOkXNMmqXCqFQOgQ6trNThu3CMMUWRLEe6w3MOg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1726848},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.24.3_1704912901057_0.4451778994973199","host":"s3://npm-registry-packages"}},"4.24.4":{"name":"openai","version":"4.24.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.24.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d455465d1ebda2306508b0e3c43de22c0e5c39a5","tarball":"https://registry.npmjs.org/openai/-/openai-4.24.4.tgz","fileCount":519,"integrity":"sha512-y58aEgq4HFCkfwiVCAvdxTkjGqHUWYFx4vJP6FWmH5udJn5SooZNXn+0N6uAe0ShmUT6846aZy3boJ0iN/KWvw==","signatures":[{"sig":"MEUCIGTIXDh0If06DrCp/k7MG+HjUr+nn9214caudINVgiQjAiEA/Xmj+3bXLtUz0QGwZD3FKiAHRVnLQEjp02TX5Mu0MH8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1727516},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.24.4_1705019188305_0.41458628142400955","host":"s3://npm-registry-packages"}},"4.24.5":{"name":"openai","version":"4.24.5","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.24.5","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"c6a8939a5653cdb23cdc66afe38fd1249a1a66a4","tarball":"https://registry.npmjs.org/openai/-/openai-4.24.5.tgz","fileCount":505,"integrity":"sha512-wkNX6ZhWJH9i4guB2GTsloiky+a8I4/RoZzgMdpJUsIZomETOoIcmzaesBZKOgdBPEWd6pjqC28s3q6M970JfA==","signatures":[{"sig":"MEUCIQC7gA3Hen+brALNgSFdiBgVf3EI5k/vJTNJ7VJTJqC6HwIgBpH72uNxaRDtqEWfYTu/1sWgCCd61dSYX9r3lgpfbGs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1672116},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.24.5_1705075712063_0.9147554439671053","host":"s3://npm-registry-packages"}},"4.24.6":{"name":"openai","version":"4.24.6","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.24.6","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"256f7d6c774d07a2d29f1df4b9621567a5cef280","tarball":"https://registry.npmjs.org/openai/-/openai-4.24.6.tgz","fileCount":505,"integrity":"sha512-ekNHYtPHnxGlwu6SQClRxIPPi34Gy/6WqpUIT0wrX+tgCXZZEmmgnWeep2aYIGPceMj9cIIY5sS70NBJ1FHRcQ==","signatures":[{"sig":"MEYCIQCg8EWY0YyCZGYoeX3rFP/CgKzwigxs4Djx93s2sWs7TwIhANuMKz9+5g3U442Af/NFqnYY0+7dsP4SZ2XKMC1CfWmB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1672707},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.24.6_1705090113993_0.4480232065959395","host":"s3://npm-registry-packages"}},"4.24.7":{"name":"openai","version":"4.24.7","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.24.7","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"65b206bcf15c11202f758b5e1e945ffa13fd6b7f","tarball":"https://registry.npmjs.org/openai/-/openai-4.24.7.tgz","fileCount":505,"integrity":"sha512-JUesECWPtsDHO0TlZGb6q73hnAmXUdzj9NrwgZeL4lqlRt/kR1sWrXoy8LocxN/6uOtitywvcJqe0O1PLkG45g==","signatures":[{"sig":"MEQCIERh81sDJ3zKj8+kT4UN8R+KUyqDwCXUO4NcSILAY9XeAiB/Qg+Fr5p8TUqeXcVKxrGae9S5mGrrvYqxnyDXkiHVgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1673287},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.24.7_1705126083918_0.5108248695300903","host":"s3://npm-registry-packages"}},"4.25.0":{"name":"openai","version":"4.25.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.25.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"b40099d625cccb19cbf1cab88915ac1699ece0ed","tarball":"https://registry.npmjs.org/openai/-/openai-4.25.0.tgz","fileCount":505,"integrity":"sha512-qLMFOizjxKuDfQkBrczZPYo6XVL4bdcuz9MR11Q+M91kGcs8dQw+O90nRcC+qWuhaGphQkfXQJMn4cd7Yew3Kg==","signatures":[{"sig":"MEUCIQCSw9z7Bs34xj+YxgvAlG/3f167nPWhkOVjz3NHARX58AIgSefqd7fqPKFY7i4u5ZqtaTssWqtIIsH1+jLRC4bH2p8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1685094},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.25.0_1705827176513_0.0581792758033981","host":"s3://npm-registry-packages"}},"4.26.0":{"name":"openai","version":"4.26.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.26.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0363b9d390727705b89cd1b1ea8e38af2afd53b6","tarball":"https://registry.npmjs.org/openai/-/openai-4.26.0.tgz","fileCount":505,"integrity":"sha512-HPC7tgYdeP38F3uHA5WgnoXZyGbAp9jgcIo23p6It+q/07u4C+NZ8xHKlMShsPbDDmFRpPsa3vdbXYpbhJH3eg==","signatures":[{"sig":"MEUCIQC2h62vQL88aZwJHIFK3/hhokHXqS/OnNXwAkaOxWabxQIgHwJTQGrRdLoWRtgaokcrcTG5PnGlMDOmJnd7C3yGBm0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1691258},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.26.0_1706212893880_0.8316744874557163","host":"s3://npm-registry-packages"}},"4.26.1":{"name":"openai","version":"4.26.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.26.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"7b7c0225c09922445f68f3c4cdbd5775ed31108c","tarball":"https://registry.npmjs.org/openai/-/openai-4.26.1.tgz","fileCount":505,"integrity":"sha512-DvWbjhWbappsFRatOWmu4Dp1/Q4RG9oOz6CfOSjy0/Drb8G+5iAiqWAO4PfpGIkhOOKtvvNfQri2SItl+U7LhQ==","signatures":[{"sig":"MEUCIQCKKwIAmFyqwq8RFM0wm21TMMKNjoOY3yDieurjYS1zYgIgMPBJcsqgM0FzoKJlpNkq6QoNP0xLXd+bMoCNcwGClIw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1692473},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.26.1_1707113330014_0.24892935755206724","host":"s3://npm-registry-packages"}},"4.27.0":{"name":"openai","version":"4.27.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.27.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"4ada66a19c369b202e8a939b8bd287e4dca036f4","tarball":"https://registry.npmjs.org/openai/-/openai-4.27.0.tgz","fileCount":505,"integrity":"sha512-j1ZEx9NiBpm31rxWqQTjQt1QvH/8001xHsc/pRoPjkRDYWONCb+qkR6L9C7Wl6ar72Mz1ybtn1bv6fqAoTPlKw==","signatures":[{"sig":"MEYCIQDXANJf2f47Gs0Y5YWnL58uZHBLL76mNebKAZGWfd8ptQIhAPj+kvCvfJ6B2T7uBI8fFB6rJaEf6lL42M8WC6WKnSx1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1694572},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.27.0_1707437786752_0.35970957610754994","host":"s3://npm-registry-packages"}},"4.27.1":{"name":"openai","version":"4.27.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.27.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"62dcb5951ca83ec8dc71aa2bb0a46cfbe3c2e52d","tarball":"https://registry.npmjs.org/openai/-/openai-4.27.1.tgz","fileCount":505,"integrity":"sha512-dwBw0geNdi0sutIVeROsQu0qCdKlpKlyM2zrX5+1R2X9KS3/CfssfiZGjMUhrIU0A+1BwzA1kI1KCkJDQDX5WA==","signatures":[{"sig":"MEQCIGhemMqWkxyioxPrcYkSz9aKmrkyXEUpSh9OPTLlNmH5AiB9qMnE8A/dLGovHZGyYHobox3QXTJyfdMT+kz6JW8zkw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1694698},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.27.1_1707781622280_0.3335754724596529","host":"s3://npm-registry-packages"}},"4.28.0":{"name":"openai","version":"4.28.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.28.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"ded00e3d98c25758b5406c9675ec27a957e00930","tarball":"https://registry.npmjs.org/openai/-/openai-4.28.0.tgz","fileCount":505,"integrity":"sha512-JM8fhcpmpGN0vrUwGquYIzdcEQHtFuom6sRCbbCM6CfzZXNuRk33G7KfeRAIfnaCxSpzrP5iHtwJzIm6biUZ2Q==","signatures":[{"sig":"MEYCIQDq/HEqnQG6eOdznZdZxZG2GvrzvV89aZUa3qGjsCqgPQIhALnDmpqgudOY08B/jGjQmviNtqj6BjUFtfcUmGAQyvDh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1695462},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.28.0_1707801513377_0.46362243198399966","host":"s3://npm-registry-packages"}},"4.28.4":{"name":"openai","version":"4.28.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.28.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d4bf1f53a89ef151bf066ef284489e12e7dd1657","tarball":"https://registry.npmjs.org/openai/-/openai-4.28.4.tgz","fileCount":505,"integrity":"sha512-RNIwx4MT/F0zyizGcwS+bXKLzJ8QE9IOyigDG/ttnwB220d58bYjYFp0qjvGwEFBO6+pvFVIDABZPGDl46RFsg==","signatures":[{"sig":"MEYCIQCqkfUVBc4wRsWrbw1NWoTrh2S+6a/Eq8/1ArbwAs7HAAIhAOfSjzQzE/XfFlfxlDR5MX1nKVRXARhQG2gaaw1f4CBU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1699308},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.28.4_1709162506290_0.4065330961112512","host":"s3://npm-registry-packages"}},"4.28.5":{"name":"openai","version":"4.28.5","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.28.5","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"67dab8525b18230dc2d8be14767f44262d299dfb","tarball":"https://registry.npmjs.org/openai/-/openai-4.28.5.tgz","fileCount":505,"integrity":"sha512-T1caBTrKWs3CfM6h1YRmsUenrE2ehc6ckfj3TiVLc9U8337U2/KZ0kYqD6T0c4eT3xENL4py8YF7RKT9J6qWRg==","signatures":[{"sig":"MEYCIQDt8D4SKJwTJrXrj0IBZvM6geq+LpESoodZGQyNiP1MzQIhALR7E2fWZFoPTymZJQbX6LNb13wQu2DW/lD5nLD7vk+t","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1716511},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.28.5_1710361446767_0.9971880065694738","host":"s3://npm-registry-packages"}},"4.29.0":{"name":"openai","version":"4.29.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.29.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"4e69e6be5fc623d6783c1758de93126a3b27b315","tarball":"https://registry.npmjs.org/openai/-/openai-4.29.0.tgz","fileCount":519,"integrity":"sha512-ic6C681bSow1XQdKhADthM/OOKqNL05M1gCFLx1mRqLJ+yH49v6qnvaWQ76kwqI/IieCuVTXfRfTk3sz4cB45w==","signatures":[{"sig":"MEUCIEUlS7DiuMEdb4oSyHTvbvH4FTXaYhIdzMDcMC1/0Rj7AiEAltkT4wHXcdTVrGnunTVDP1cQ9lA1JZVQkE1mxYP3yqU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2012984},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.29.0_1710362225032_0.5041587996486734","host":"s3://npm-registry-packages"}},"4.29.1":{"name":"openai","version":"4.29.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.29.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"89d981f8ced9d1d0db2e09ca1b16b0d7775dcf36","tarball":"https://registry.npmjs.org/openai/-/openai-4.29.1.tgz","fileCount":519,"integrity":"sha512-vvKRIgB4/7w48PGVbeR8OceH/PT6fRo4sTIjRC7+y7WoK7by1R0cXs2SZRx4KsEh0ZB8J0eqdVIdRgs8XzeoEg==","signatures":[{"sig":"MEQCIFEyedvz5wsrD+D3EbBA5f7NW82iGlrUFyVt8J3hvX/nAiBHJnZKutqcSzecxxwrJOjhWFw/OyEzgJ3ca5CXc7Y/4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2013322},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.29.1_1710535152567_0.7281823163422105","host":"s3://npm-registry-packages"}},"4.29.2":{"name":"openai","version":"4.29.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.29.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"45e83cb49dbd052626637b267c749785a24f411c","tarball":"https://registry.npmjs.org/openai/-/openai-4.29.2.tgz","fileCount":519,"integrity":"sha512-cPkT6zjEcE4qU5OW/SoDDuXEsdOLrXlAORhzmaguj5xZSPlgKvLhi27sFWhLKj07Y6WKNWxcwIbzm512FzTBNQ==","signatures":[{"sig":"MEQCIHDVYV1g6WvDNXDeNCgWgeMvzDx7vfPPl+mAkN8pjoCxAiBAToZUO2VK7KMzQlK3Fz8Oo0A95F3cRHbm2Oylfz+n3g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2019044},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.29.2_1710863507434_0.678986387298542","host":"s3://npm-registry-packages"}},"4.30.0":{"name":"openai","version":"4.30.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.30.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"fafa30cc8d2a8570f258f0a8609ec4a3080022fa","tarball":"https://registry.npmjs.org/openai/-/openai-4.30.0.tgz","fileCount":519,"integrity":"sha512-jOaT4u7DpWzvuOuSxw5skuBbSuagw91Vd4IU/zP9qdgu6C19AAq4wzx+24e59wdEmsAG58enOUNf6t5V2WwN9g==","signatures":[{"sig":"MEYCIQDUr+3RxyWiRo8IrLmhHyuEGHPiI0iULT2DvNynMX+fuAIhAIxl8JwXm7tsmgimHoGfCbWr/jl7kdO240N4sL6I18QP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2028529},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.30.0_1711649422021_0.004539265233366008","host":"s3://npm-registry-packages"}},"4.31.0":{"name":"openai","version":"4.31.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.31.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"5d96045c4eb244fa21f0fff0981043a2c9f09e8c","tarball":"https://registry.npmjs.org/openai/-/openai-4.31.0.tgz","fileCount":519,"integrity":"sha512-JebkRnRGEGLnJt3+bJ5B7au8nBeZvJjs9baVxDmUZ5+BgafAdy6KDxJGSuyaw/IA+ErqY3jmOH5cDC2mCDJF2w==","signatures":[{"sig":"MEUCIQCfJKNa3VwCHfdKllBIJFezsYTdaYFtAqvoo5qGcKXobwIgMJhiHgDysGLXk5ZqNZiG6Mx8jnl1AhN5KKynOd18D0I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2034359},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","digest-fetch":"^1.3.0","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.31.0_1711778032072_0.8805599030035396","host":"s3://npm-registry-packages"}},"4.32.0":{"name":"openai","version":"4.32.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.32.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"6feaf9fca691979857594517801c4025b4dcb74d","tarball":"https://registry.npmjs.org/openai/-/openai-4.32.0.tgz","fileCount":519,"integrity":"sha512-TXmBSej7RoQ4GWgKw1Waopx6QRroWlwaLH+PkxCTN45nKNEPFcGUV7VSWQCB/DwWMQVRLSNUAH4BqFYnSCEgkQ==","signatures":[{"sig":"MEUCIQCUTndONxWggXGmH51nY6daTbk9ktFajh9rS4NQaEokVQIgMHhJEZqF+ZH+O5E98Iwpx95ZeFI9SkVVfGzS8T1thI8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2074509},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21","_npmOperationalInternal":{"tmp":"tmp/openai_4.32.0_1712014335251_0.7632396906349657","host":"s3://npm-registry-packages"}},"4.32.1":{"name":"openai","version":"4.32.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.32.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"9e375fdbc727330c5ea5d287beb325db3e6f9ad7","tarball":"https://registry.npmjs.org/openai/-/openai-4.32.1.tgz","fileCount":519,"integrity":"sha512-3e9QyCY47tgOkxBe2CSVKlXOE2lLkMa24Y0s3LYZR40yYjiBU9dtVze+C3mu1TwWDGiRX52STpQAEJZvRNuIrA==","signatures":[{"sig":"MEUCIFuNuKTbZgZ+1w9ryOR334nIZc8YittAX+hs76AUS9zOAiEAp2Ytv09ihQiKzecuwF2t8JPgZ8ZlwxxAFO6ZOTT+u2A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2074840},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.32.1_1712070779042_0.3262391708705876","host":"s3://npm-registry-packages"}},"4.32.2":{"name":"openai","version":"4.32.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.32.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0ac847cd372048d425e70fddd8b63adfbf3e65bf","tarball":"https://registry.npmjs.org/openai/-/openai-4.32.2.tgz","fileCount":519,"integrity":"sha512-JXU5ttiL4liZJ2GRYvyqd/m9zA64bI8e6B5BtyKlbkcv5DAd5wiDgd0cQ1CIIdsEH90k5p3TdK6MyjnUhvOe7w==","signatures":[{"sig":"MEUCIGPW9MiqAKNwO5P/fu6FujVQJ6Eadqp0U3zE0KS6UlkJAiEAqJwYix4N6LKTT7qJkyHeHqfsBO1itdrw6+GPxHcqkv0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2084316},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.32.2_1712244506793_0.5136945575561158","host":"s3://npm-registry-packages"}},"4.33.0":{"name":"openai","version":"4.33.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.33.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"8c33da687d4a7f3dd7576179318341615394c79d","tarball":"https://registry.npmjs.org/openai/-/openai-4.33.0.tgz","fileCount":519,"integrity":"sha512-Sh4KvplkvkAREuhb8yZpohqsOo08cBBu6LNWLD8YyMxe8yCxbE+ouJYUs1X2oDPrzQGANj0rFNQYiwW9gWLBOg==","signatures":[{"sig":"MEQCIGgAyt+lfnqwx2xq6RYVTFC4eICnVvdrCmxQ1JFnu6+zAiBc73/cdc4ZdNfBOhOvoGTv/UfqN+1kEPsGcfshPMGVuw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2097689},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.33.0_1712326691893_0.20436537449356829","host":"s3://npm-registry-packages"}},"4.33.1":{"name":"openai","version":"4.33.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.33.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"7f14c28ea0994ff6eacc2dbca2131c61e7692cd4","tarball":"https://registry.npmjs.org/openai/-/openai-4.33.1.tgz","fileCount":519,"integrity":"sha512-0DH572aSxGTT1JPOXgJQ9mjiuSPg/7scPot8hLc5I1mfQxPxLXTZWJpWerKaIWOuPkR2nrB0SamGDEehH8RuWA==","signatures":[{"sig":"MEYCIQDC+uu2TqU43Yzb6/e+XVeHTORLuXU/+g8uA/1ls5gEDQIhAIQngPEQWnTA3JmrCQH6AcwJ7bJOl8ZQvvBJ575rtwpy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2098211},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.33.1_1712984866357_0.3622109027601239","host":"s3://npm-registry-packages"}},"4.34.0":{"name":"openai","version":"4.34.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.34.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"02d979e9f09c5ae488a709fb739168fa86daead4","tarball":"https://registry.npmjs.org/openai/-/openai-4.34.0.tgz","fileCount":542,"integrity":"sha512-ma6sJ1lHUaJRPQj9GvfXzLXDL4K9DoUeesgAnw/Lwm9r2jm/xqGGIW6LaIScL4ZLfQyzxHs7aTBZGyiKMDWgIA==","signatures":[{"sig":"MEYCIQDiiO3HdcVmZvj4JVqLV1/WggW8L80SO25Qwsf2TdDr5QIhAKH9078qCOpMVm4V8kjo732PXyQz3lgIIsdtFRx0qtGe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2213603},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.34.0_1713212733513_0.3625644584256973","host":"s3://npm-registry-packages"}},"4.35.0":{"name":"openai","version":"4.35.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.35.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3a9fa95e87d18df73ef3ff03ed40bd7b4e7770e9","tarball":"https://registry.npmjs.org/openai/-/openai-4.35.0.tgz","fileCount":542,"integrity":"sha512-K8GY7k4h+dT2GSmn3JGSjkwElpo8cPa4eQ6p++uK1HSrrIBp6NalD3A3DIamvX1AnIyrKqe8M//HoQWgjntUiA==","signatures":[{"sig":"MEUCIDVlvSRhKyfx8K/d4cYGFHpgoH0Vu0S8XAWcM7oKzkS6AiEAhqFHpqrY3U7+39ezgwOvRfUhxaFB3Z1ab47R/ecj1EM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2214366},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.35.0_1713226047948_0.6199411213395687","host":"s3://npm-registry-packages"}},"4.36.0":{"name":"openai","version":"4.36.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.36.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"a41404df80e60334b0b649c949d05adc63f48fd3","tarball":"https://registry.npmjs.org/openai/-/openai-4.36.0.tgz","fileCount":542,"integrity":"sha512-AtYrhhWY64LhB9P6f3H0nV8nTSaQJ89mWPnfNU5CnYg81zlYaV8nkyO+aTNfprdqP/9xv10woNNUgefXINT4Dg==","signatures":[{"sig":"MEQCIALG5ghSiCJMLdX13KI9KrHDNUn8BjyC76i9F6a6nC6XAiBsPSdGPfEdDamCI4UOV93tBjhI1SO0DEPYWo7vn4/FsQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2217559},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.36.0_1713287053906_0.6592821509907216","host":"s3://npm-registry-packages"}},"4.37.0":{"name":"openai","version":"4.37.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.37.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"7a43850626da4670e9a6723c5b29f89845c3c514","tarball":"https://registry.npmjs.org/openai/-/openai-4.37.0.tgz","fileCount":547,"integrity":"sha512-dB0XXg6k0TPIC/QgmsDfcbpxxPCNRrG4sB13Ut/6RER0t5eifBRqC/5U6KQS4D6DRxXzQhtiizDxDwy1o67xfQ==","signatures":[{"sig":"MEYCIQD+cS2Z+b7Juh9cEOL3w653AGb8f1SMi/jt4gc+VraOkwIhAITOsGYKbVsIxDl3zgI6akiulh4VUEuKHqNCcjTfGa54","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2357892},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.37.0_1713372050827_0.35264202091337515","host":"s3://npm-registry-packages"}},"4.37.1":{"name":"openai","version":"4.37.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.37.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"b3d64d61a972d43da2399d86c4b0cc7b07e9c2bc","tarball":"https://registry.npmjs.org/openai/-/openai-4.37.1.tgz","fileCount":547,"integrity":"sha512-YVuhylpDeTNCWgsfhZe38+c4dDWZuW9VgzNY/sdYiNt6K9pvijroyYENp8YGEUHnuIAKtsLneZX9Qb/iB5XHkw==","signatures":[{"sig":"MEYCIQCKgLEmaR1BJC4RcBaOEFY4AbumpaE+CnrjoxNjCLzerQIhAI5cJHQFc2Bwhq+7tVLodqbaMfGnScxwDxrNLoOh8vS9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2367571},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.37.1_1713382536002_0.6428643485374332","host":"s3://npm-registry-packages"}},"4.38.0":{"name":"openai","version":"4.38.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.38.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d97accc7c368670a40c2f668650b624cb941dc8b","tarball":"https://registry.npmjs.org/openai/-/openai-4.38.0.tgz","fileCount":547,"integrity":"sha512-q1w04cRm+7CgUAGDXqt+OMa89zXBffHrEK0FcVDRhD+zL1S1aAatu4iYO5sIxR2QFEP//i8CM3QaxGVTNajxuw==","signatures":[{"sig":"MEYCIQDtPmdU7bh29ip98FOAPWTA2FtfLvlvd5ta2YFvjDpp8QIhANt9F/xHdEhlZgFceKyTOCIL18rl90ZZVrjcfXiJP8LR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2373498},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.38.0_1713456687932_0.04908171431061614","host":"s3://npm-registry-packages"}},"4.38.1":{"name":"openai","version":"4.38.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.38.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"375ba1e2ff9fcd6434114bfeffa7a0ef35d74b78","tarball":"https://registry.npmjs.org/openai/-/openai-4.38.1.tgz","fileCount":547,"integrity":"sha512-nmSKE9O2piuoh9+AgDqwGHojIFSxToQ2jJqwaxjbzz2ebdD5LYY9s+bMe25b18t4QEgvtgW70JfK8BU3xf5dRw==","signatures":[{"sig":"MEUCIQCO+CRbFH7QO2mpzpzAEEwWTidBqMdoF+BOrfy+CLHldwIge7KTz/lQOL+NFwpaikBCPFRVgckBVG8WQAOKc8jjWjg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2373819},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.38.1_1713479815410_0.02643772400078781","host":"s3://npm-registry-packages"}},"4.38.2":{"name":"openai","version":"4.38.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.38.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"4c5335260b819a0f89fd8f922fac6aa942f540e7","tarball":"https://registry.npmjs.org/openai/-/openai-4.38.2.tgz","fileCount":547,"integrity":"sha512-M16ehj0D84Gjq5cjvBzXRb5X+UvtWlxPDRAWAWMC0EN+6nHqnULIn5fWWeiexDPup25FeSZYv/ldp8KefcZVJQ==","signatures":[{"sig":"MEUCIHjqgyilW4IvttH6yFf/f+G8awAtU6ddjKPAH4AKa+9uAiEAlEAWu0XOrGjq6hG9hymzbw4XobSWp9fdd25LZhkAY0M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2376640},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.38.2_1713552809046_0.8243338768262771","host":"s3://npm-registry-packages"}},"4.38.3":{"name":"openai","version":"4.38.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.38.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0e560541d9c31b0d4faaa6f660ade60dd5ee8052","tarball":"https://registry.npmjs.org/openai/-/openai-4.38.3.tgz","fileCount":547,"integrity":"sha512-mIL9WtrFNOanpx98mJ+X/wkoepcxdqqu0noWFoNQHl/yODQ47YM7NEYda7qp8JfjqpLFVxY9mQhshoS/Fqac0A==","signatures":[{"sig":"MEQCIGStqt4OTRiHkIJk28Sei8GIkm7z2ZHRyDKYi+mS+68PAiBYL5x9ZEJ3ER/Kvyjl0KUNue5iO2DVA6PK0h3whjNYJw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2376820},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.38.3_1713803751585_0.5886656494747444","host":"s3://npm-registry-packages"}},"4.38.4":{"name":"openai","version":"4.38.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.38.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"10b008e7f2bcde70857487652130440c0b3828b2","tarball":"https://registry.npmjs.org/openai/-/openai-4.38.4.tgz","fileCount":547,"integrity":"sha512-ef5d2YaXDULXkoK+JB/GqmXgOZF5dsPxYwB27QGh5Cv8ykaYugl6MFyKipiwvlhubmNrMtlnISibx3G6BOpR9g==","signatures":[{"sig":"MEUCIQD5DSG93o6Z45MYqRpXiz96APgIr+Of+Kl2HG9r5PhI3wIgCk3K112G3McSTGhtM0qI4ZbJrtD7CULnLV5YcUF1E54=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2377917},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.38.4_1713983806104_0.4577238853156098","host":"s3://npm-registry-packages"}},"4.38.5":{"name":"openai","version":"4.38.5","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.38.5","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"87de78eed9f7e63331fb6b1307d8c9dd986b39d0","tarball":"https://registry.npmjs.org/openai/-/openai-4.38.5.tgz","fileCount":547,"integrity":"sha512-Ym5GJL98ZhLJJ7enBx53jjG3vwN/fsB+Ozh46nnRZZS9W1NiYqbwkJ+sXd3dkCIiWIgcyyOPL2Zr8SQAzbpj3g==","signatures":[{"sig":"MEUCIQD8MJiB5SVoLkIzwVwqc1waL6PcAydcUCJhZFIwINVeIwIgBUnTKXoz1/24mg1yaeHC/mN5g1HCjhzAKz5utxterYI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2378267},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"bin/check-test-server && yarn jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.38.5_1714004867093_0.3831420456680583","host":"s3://npm-registry-packages"}},"4.39.0":{"name":"openai","version":"4.39.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.39.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"e7cb3a2f0283e4a07afff228860cca8a19f62b0c","tarball":"https://registry.npmjs.org/openai/-/openai-4.39.0.tgz","fileCount":547,"integrity":"sha512-8RcdppE8RKC17VnacZxru1OQL76rhI1107i32nE2RsSsvrd2yyDLAKp//2zzJxLY3iz8Sw1ywcwF5kEcreim6Q==","signatures":[{"sig":"MEYCIQC2HuF8UumEWsC5ykUTR1yrAL5XMjrCt0IznGUO4uuAsQIhAOcXxvabKJznGHA0G8vDPk6HYd/4OEhlKngHZ3XnUPTR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2380897},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","test":"./scripts/test","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.39.0_1714430288039_0.6307768582098405","host":"s3://npm-registry-packages"}},"4.39.1":{"name":"openai","version":"4.39.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.39.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"619687717e42094927a1977362dd03261a4c4ff3","tarball":"https://registry.npmjs.org/openai/-/openai-4.39.1.tgz","fileCount":547,"integrity":"sha512-Qe3HXHrCMjwAHXWPywUwzI4PHf9r14uyiRRuMmiJjsfv1tREYMHtgIHXNlb54ZxtYJaIj19RHYMq6UQ2hgrIJQ==","signatures":[{"sig":"MEUCIGdF1shymZfrLZQpPXYqT/4zg35Z/gzoQ5tKvzh8xuOwAiEAgoe00s22btUHdVLRafaj29CqbqKzHZERMjuRvAMISyc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2381625},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.39.1_1714500497872_0.5620181739389039","host":"s3://npm-registry-packages"}},"4.40.0":{"name":"openai","version":"4.40.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.40.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"6cf11702ca009ead10b61061d9e0a1635c6ac307","tarball":"https://registry.npmjs.org/openai/-/openai-4.40.0.tgz","fileCount":547,"integrity":"sha512-ofh9qMxRPDSZTWYvifScusMfnyIwEQL3w+fv3ucQGn3cIn0W6Zw4vXSUod8DwYfcX/hkAx9/ZvWrdkFYnVXlmQ==","signatures":[{"sig":"MEQCICN6kiAGq1KBFIJ/tXFfcucJHN04ezlG5V8X1l38ACl6AiB4kH0fRPG9M91yGbbQuS2TzNDgFjqI7ro1LIQWVm9hHQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2384157},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.40.0_1714536924694_0.32104485131776417","host":"s3://npm-registry-packages"}},"4.40.1":{"name":"openai","version":"4.40.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.40.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"095a8b7c2af7b05617ab83c825aaa944195d7e7d","tarball":"https://registry.npmjs.org/openai/-/openai-4.40.1.tgz","fileCount":554,"integrity":"sha512-mS7LerF4fY1/we0aKGGwIWtosTJFLKuNbBWMBR/G1TAZUHoktAdod0dqIrlQvSD39uS6jNEEbT7jRsXmzfEPBw==","signatures":[{"sig":"MEUCIE+ncxrTFLY2BQvd4m4o/JQ15/j7hN9hGlf3yfS3q44FAiEA3I5vH85GkJ5ZGFh37fMd1XYfX9OgcvSFIkonwkiFHXk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2377525},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.40.1_1714665172623_0.08736230111918775","host":"s3://npm-registry-packages"}},"4.40.2":{"name":"openai","version":"4.40.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.40.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"5ed3f9adbed46060c6f091aa344bef4acf988f42","tarball":"https://registry.npmjs.org/openai/-/openai-4.40.2.tgz","fileCount":547,"integrity":"sha512-r9AIaYQNHw8HGJpnny6Rcu/0moGUVqvpv0wTJfP0hKlk8ja5DVUMUCdPWEVfg7lxQMC+wIh+Qjp3onDIhVBemA==","signatures":[{"sig":"MEUCIHmwUiakpup34Aq8Rl4iBWGNYoAmEI0Fz2VKfgQVxrmsAiEAsnZK/Q83MdYCEMHFQ4dvmq8PCdT30I6RtEQPQi9IEyg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2385057},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.40.2_1714746507381_0.9640299668219354","host":"s3://npm-registry-packages"}},"4.41.0":{"name":"openai","version":"4.41.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.41.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"85f9880fdca6a4d761d948f84df3f4f3558ff079","tarball":"https://registry.npmjs.org/openai/-/openai-4.41.0.tgz","fileCount":547,"integrity":"sha512-fiV+RvUGRW+PXxycqeDYuOwsL3TxNqT/LcM6vlqyLz9ACmfSUGg1qviQrHuuNKL7gFOvfzgEJRVVFdqmv/sjxg==","signatures":[{"sig":"MEQCICHylWoG7BJY02nkWdvtQQKTSzrCKQjXbHdDo2aF+1ICAiAicF3A0tYFjZ40yfgk98u3b0Z418yGbZTjFgoyhC0D8w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2417283},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.41.0_1714939237827_0.0032092209465031107","host":"s3://npm-registry-packages"}},"4.41.1":{"name":"openai","version":"4.41.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.41.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"61d22d3f9338841be9f1ab3242418193e4df620f","tarball":"https://registry.npmjs.org/openai/-/openai-4.41.1.tgz","fileCount":547,"integrity":"sha512-QY8pkCOTjwXWS1AsTxRLomkX6B9fBQvggqRu4uvFd7Xjg1NDcPChGyki+sFiYzstpUeoApim/DNGy7fBKwdokg==","signatures":[{"sig":"MEQCIBmd1jSaLgt6ZqNRt/5YCC9oPFqmMsaMYCWEIfDh5ySyAiA+Z9jmEh+bPYDOn2MOmJAymMquni0BYDd6e7H6p9214A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2419161},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.41.1_1715008841398_0.5084496240757517","host":"s3://npm-registry-packages"}},"4.42.0":{"name":"openai","version":"4.42.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.42.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"8e6517839dcfbde848b981965989ccd2a4d70b1c","tarball":"https://registry.npmjs.org/openai/-/openai-4.42.0.tgz","fileCount":547,"integrity":"sha512-xbiQQ2YNqdkE6cHqeWKa7lsAvdYfgp84XiNFOVkAMa6+9KpmOL4hCWCRR6e6I/clpaens/T9XeLVtyC5StXoRw==","signatures":[{"sig":"MEQCIA00NETFiQ/VpLkc19DuysOtMK6o5ZeJm4iR8It05PpPAiAjUZc0XLHCbjTXblXWFeYHeaee4+a25VoaBlgVjf2RgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2423512},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.42.0_1715022626132_0.1492185048108925","host":"s3://npm-registry-packages"}},"4.43.0":{"name":"openai","version":"4.43.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.43.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"df450acca72e44f49eec891d4a95868ec3cb8b70","tarball":"https://registry.npmjs.org/openai/-/openai-4.43.0.tgz","fileCount":547,"integrity":"sha512-4SMUB/XiqnO5IrEcdzEGGTcHoeXq7D/k82v36zoqSitrMUjenZXGH5JysIH7aF7Wr+gjvq0dT2mV6wLVKA7Seg==","signatures":[{"sig":"MEUCIEr/w+uoBxRi24jyrk7DQCQ8UOy4yz6DVdcMkH+18UsUAiEArIm4etF+KEZmzPaxR4hqTkgwpETeJU1jpYIFTa5tCzo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2423969},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.43.0_1715199341996_0.917080609049459","host":"s3://npm-registry-packages"}},"4.44.0":{"name":"openai","version":"4.44.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.44.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"7234d98eb459ea913b93e46263a932b233838219","tarball":"https://registry.npmjs.org/openai/-/openai-4.44.0.tgz","fileCount":547,"integrity":"sha512-jVpDIJsBAR83rVbIHPuWRr9UkFc5DaH9ev2kt2IQAhKCs73DBRoFOa5SwtqfN7/CcBdIGBdygpmpc0gsFaV+Ow==","signatures":[{"sig":"MEQCIHORIwnbEGOMjblY2bmhGZzofbYh1pOxfcPPOTpnjv6HAiBGVmuWNhRrgizGf5XS+GJkoxus3etZvpYKrPVSmUr4hA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2433743},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.44.0_1715292375268_0.6174775820311107","host":"s3://npm-registry-packages"}},"4.45.0":{"name":"openai","version":"4.45.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.45.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"cfec91b228b94c29b833666972692a44d2f64b79","tarball":"https://registry.npmjs.org/openai/-/openai-4.45.0.tgz","fileCount":547,"integrity":"sha512-uszUQrl9eQPCA9a7Zml+Eizb3mG0JDd8zUl528OM6Ccn039dqbOmUivL5s8zUM6iJMRMvNGRMXS9yuuR1Bv2sw==","signatures":[{"sig":"MEYCIQCp5XVrLKPS1zFFrqQgOQPHrKv3R+4+Ac/tx0Q0boRlpwIhAL3N2as/5lDZwAx6sdiNpIVKRP67/35HLyT1SeHozZcO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2434338},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.45.0_1715406809773_0.9220502570963256","host":"s3://npm-registry-packages"}},"4.46.0":{"name":"openai","version":"4.46.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.46.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"60087751627ed7c40e33f46c0762f214b83d9884","tarball":"https://registry.npmjs.org/openai/-/openai-4.46.0.tgz","fileCount":547,"integrity":"sha512-l0Betzsx3WIjdagqQiH14hWmwYouUzUCcB1ENvKyfG5XOqh6YC2XT7OukzEBTnweutMC91pW2ToddWn8uyD4SA==","signatures":[{"sig":"MEUCIQDV/HaGFegXVVwNoi+lyiqoDUq7TE3iXr17vAU5hb3C4wIgC2K1sGe7m+1oFc5UEMVKxqYmRQCB9tMp4LW8NE31V0o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2435534},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.46.0_1715624314000_0.6951411504663059","host":"s3://npm-registry-packages"}},"4.46.1":{"name":"openai","version":"4.46.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.46.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3394fc8e80455ee6cb1b72dbcdb1ddb7c09b75c7","tarball":"https://registry.npmjs.org/openai/-/openai-4.46.1.tgz","fileCount":547,"integrity":"sha512-YILOwSwyg6h4FqDCehzZ/vu0hI6eQWXv7BQ/nNNyRHbprerZmkiRYBzq2h4iiJKUOrIw66APE46ZW/iP8y8Fiw==","signatures":[{"sig":"MEUCIFcDhsRNpPBvK7dnWmD+LwvieCK5sn7wwUEJn1o9eAmoAiEAqJJqJx1RxOrgFTRLu6x0jQrVhBA1dB5LtIr5t9fq97o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2433055},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.46.1_1715634242854_0.1491671945731643","host":"s3://npm-registry-packages"}},"4.47.0":{"name":"openai","version":"4.47.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.47.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0cf42eaad7b3f9f33d3dda40b707033b9755b433","tarball":"https://registry.npmjs.org/openai/-/openai-4.47.0.tgz","fileCount":547,"integrity":"sha512-C2/gfAL3omKtOJJ56Gb2PM0yYMIz63/A9FHEL4X/hMJlw8xkZHFVXXz6cOjP8U+tHRCNDYZV7s2BAdnku5hVCw==","signatures":[{"sig":"MEYCIQC/+g/XTsI4Ee5nphD+nm77Hwn8BCf2kfUEyUpLg7anZAIhAJ8kd9f8FgmsCMSmHfBFvFwBvP7t+/aQiTArrEwh+JUe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2436239},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.47.0_1715696459608_0.5608606940946721","host":"s3://npm-registry-packages"}},"4.47.1":{"name":"openai","version":"4.47.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.47.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"1d23c7a8eb3d7bcdc69709cd905f4c9af0181dba","tarball":"https://registry.npmjs.org/openai/-/openai-4.47.1.tgz","fileCount":547,"integrity":"sha512-WWSxhC/69ZhYWxH/OBsLEirIjUcfpQ5+ihkXKp06hmeYXgBBIUCa9IptMzYx6NdkiOCsSGYCnTIsxaic3AjRCQ==","signatures":[{"sig":"MEQCIFLX76JmrA4fmsG1jyZYgreTedkK6DXMEWDLm+OlMdphAiAfrqblhvrD4e3LelOakxqI1QM40X8tQPFPejPfknkFTg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2436591},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.47.1_1715699404186_0.4044037566231906","host":"s3://npm-registry-packages"}},"4.47.2":{"name":"openai","version":"4.47.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.47.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"075a0f9fa8e96422804ddd017428ce0a3862e1d0","tarball":"https://registry.npmjs.org/openai/-/openai-4.47.2.tgz","fileCount":547,"integrity":"sha512-E3Wq9mYdDSLajmcJm9RO/lCegTKrQ7ilAkMbhob4UgGhTjHwIHI+mXNDNPl5+sGIUp2iVUkpoi772FjYa7JlqA==","signatures":[{"sig":"MEQCIBSwFEtJGU5l9D0gQ7l2mM8SGPBuH0grbu6q1GMoRrDkAiBydnUcBpjLRo33OTN6OhVRKa3PMWzYWR4mJUjcCJ6VHA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2437001},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.47.2_1716927512663_0.1772159653139127","host":"s3://npm-registry-packages"}},"4.47.3":{"name":"openai","version":"4.47.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.47.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"5d01f4a5a06fc390ba67477848278ffc9b3b2b2c","tarball":"https://registry.npmjs.org/openai/-/openai-4.47.3.tgz","fileCount":547,"integrity":"sha512-470d4ibH5kizXflCzgur22GpM4nOjrg7WQ9jTOa3dNKEn248oBy4+pjOyfcFR4V4YUn/YlDNjp6h83PbviCCKQ==","signatures":[{"sig":"MEUCIHG2OpKD6HFHk8lTrfJRV86TLfGEAzZMgl+mZ2QZQ7/FAiEAycRy6zKHvl3RI51HR2027z5DODOMvvrnqECtLZ3ca2c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2437836},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.47.3_1717185101752_0.9114998993674135","host":"s3://npm-registry-packages"}},"4.48.1":{"name":"openai","version":"4.48.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.48.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"689f7f5daad3c811344a2f4731297c7558ed6849","tarball":"https://registry.npmjs.org/openai/-/openai-4.48.1.tgz","fileCount":547,"integrity":"sha512-nlEzUAzDG1GsTlBVAFFtB0WZB8BFY+XU7o4oslzC7YMZ9PlgDixnbM49hXRWzv5OztevSn64hVKqptvzHq5/6Q==","signatures":[{"sig":"MEUCIFMXjgv8rgIAG3GYIXnXNHwr/RyPJerVXungbAjMFCtvAiEA2fnO/fOgQfFcOYuzPL1ydUnBPMCg6egEnYA5EpG+LcM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2467500},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.48.1_1717531190208_0.4096049233937742","host":"s3://npm-registry-packages"}},"4.48.2":{"name":"openai","version":"4.48.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.48.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"f06cba9c3d90628d625f04a70901f2d5c4dd974c","tarball":"https://registry.npmjs.org/openai/-/openai-4.48.2.tgz","fileCount":547,"integrity":"sha512-3z4JEipIzwFtLvDC3KigZEWH4ALWDHPr6XCq/xYi8O1AQ5lAtu6Ib6FO8KeQ8RdjwfIqHWOWk/zopW5g780s/w==","signatures":[{"sig":"MEUCIQCkavN41O37avTVDo7szKKaZACDd6zVWHD6pipmAafVjQIgesu6FN/A8Anc2ph4uRj69OX4hSTWZL54WUVluyip/uQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2467835},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.48.2_1717604066694_0.30695720039219987","host":"s3://npm-registry-packages"}},"4.48.3":{"name":"openai","version":"4.48.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.48.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3390e137035b5e6d6f97ff517273c71686e0d574","tarball":"https://registry.npmjs.org/openai/-/openai-4.48.3.tgz","fileCount":547,"integrity":"sha512-EmyvU39gEUWlSMVaL5l351DIEq2iMmtyQHpJHOdJnPIULiIbRtFlgyZh8w+svs5Dh/Z2J5m0Svzpk174YWUHpQ==","signatures":[{"sig":"MEYCIQDwtKz6HALArUF0SB3iQfqW2KnhYsAhbqlGBmp1+9pk4QIhAPkUNZBa/n+Rm/OGjxiSP31iTiX3aWHAhbhdi1Qjo7wG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2468172},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.48.3_1717683769393_0.8894255633830264","host":"s3://npm-registry-packages"}},"4.49.0":{"name":"openai","version":"4.49.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.49.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d1c0c6c78625862a67170ca864aa2f5d655dfc6e","tarball":"https://registry.npmjs.org/openai/-/openai-4.49.0.tgz","fileCount":547,"integrity":"sha512-/UkrBSej5ejZ4vnOFoeFefX7erjp4k3+xoLKkswjLEvgBU9QtCnOUgsfpvHkzTzgDXpqPMCzyQHQXWsgiq2xPw==","signatures":[{"sig":"MEYCIQCkUkaq2ecDaew4lHCltJEGplazCs+m+WoqwDBbGmcXhQIhAPZzQnZVAcXhduXbcog+LoB/NpO8pu4rcHQQjW9mGvUX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2470167},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.49.0_1717709566935_0.32330013608613295","host":"s3://npm-registry-packages"}},"4.49.1":{"name":"openai","version":"4.49.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.49.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"81fc7d3bc97a1905a1a340065158275b5a893765","tarball":"https://registry.npmjs.org/openai/-/openai-4.49.1.tgz","fileCount":547,"integrity":"sha512-bsFSNhhTNon+g6r4UYPKGLi+PlfP1G9TJGSkZS5nZx+PTwW2YUTlfxXxpOKrPab5auIXJdlYpC/g/wkHGR1xug==","signatures":[{"sig":"MEUCIEwSDHUuz0WxlO8paKq2cY+mtWcsvkU/7GXdM1RZYpvrAiEA2FIriDdJninAZb3pSRMaX7hvMrWft15LJN1OD/lJOsY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2473267},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.49.1_1717791718885_0.5435268271735556","host":"s3://npm-registry-packages"}},"4.50.0":{"name":"openai","version":"4.50.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.50.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"afb4a0c6269f15cb09f0c39b825757b5d89d862c","tarball":"https://registry.npmjs.org/openai/-/openai-4.50.0.tgz","fileCount":547,"integrity":"sha512-2ADkNIU6Q589oYHr5pn9k7SbUcrBTK9X0rIXrYqwMVSoqOj1yK9/1OO0ExaWsqOOpD7o58UmRjeKlx9gKAcuKQ==","signatures":[{"sig":"MEQCIGYw78E9s2+md/ufH60MgY+pykGmWDMAROlqVA9+7WN/AiA9edEt8M2CvQB9iAqOzP3aY7DRdNBgtKBW9ONwd9UbbQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2477601},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.50.0_1718051267293_0.40805526219044563","host":"s3://npm-registry-packages"}},"4.51.0":{"name":"openai","version":"4.51.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.51.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"8ab08bba2441375e8e4ce6161f9ac987d2b2c157","tarball":"https://registry.npmjs.org/openai/-/openai-4.51.0.tgz","fileCount":547,"integrity":"sha512-UKuWc3/qQyklqhHM8CbdXCv0Z0obap6T0ECdcO5oATQxAbKE5Ky3YCXFQY207z+eGG6ez4U9wvAcuMygxhmStg==","signatures":[{"sig":"MEUCICKNLYRGuN4pzkN2k8MwQmEPXr1vQ3wkFLPlP1xgPtk1AiEA2/+X/zjaFPxCB8/WLJwiyh3B5Q0wZYgpw0p2zZJnFQM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2477718},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.51.0_1718218877504_0.6151130553618651","host":"s3://npm-registry-packages"}},"4.52.0":{"name":"openai","version":"4.52.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.52.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"5f93bdbef05ca3407d92f7a68717234ac0ffd09e","tarball":"https://registry.npmjs.org/openai/-/openai-4.52.0.tgz","fileCount":547,"integrity":"sha512-xmiNcdA9QJ5wffHpZDpIsge6AsPTETJ6h5iqDNuFQ7qGSNtonHn8Qe0VHy4UwLE8rBWiSqh4j+iSvuYZSeKkPg==","signatures":[{"sig":"MEQCIEhFAC0ZKP5OGhjLL2ZEeTmF4poR63Svy143yxaj0ReeAiBiO7jH5XEojb3BTpx9r2bdFPpotMSTP4sVRJZ0TXTB+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2480136},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.52.0_1718815866346_0.9437276796098786","host":"s3://npm-registry-packages"}},"4.52.1":{"name":"openai","version":"4.52.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.52.1","bin":{"openai":"bin/cli"},"dist":{"shasum":"44acc362a844fa2927b0cfa1fb70fb51e388af65","tarball":"https://registry.npmjs.org/openai/-/openai-4.52.1.tgz","fileCount":547,"integrity":"sha512-kv2hevAWZZ3I/vd2t8znGO2rd8wkowncsfcYpo8i+wU9ML+JEcdqiViANXXjWWGjIhajFNixE6gOY1fEgqILAg==","signatures":[{"sig":"MEYCIQCFhF2rMD6k0ovgJSvU80zk7TO59UB0wQfSRYKmVHMwvQIhAL9inhiUHRyc/PB4pPwXVec0p8m5SAdtNAnpq4taNaMA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2483496},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.52.1_1719365287415_0.11900126101662578","host":"s3://npm-registry-packages"}},"4.52.2":{"name":"openai","version":"4.52.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.52.2","bin":{"openai":"bin/cli"},"dist":{"shasum":"5d67271f3df84c0b54676b08990eaa9402151759","tarball":"https://registry.npmjs.org/openai/-/openai-4.52.2.tgz","fileCount":547,"integrity":"sha512-mMc0XgFuVSkcm0lRIi8zaw++otC82ZlfkCur1qguXYWPETr/+ZwL9A/vvp3YahX+shpaT6j03dwsmUyLAfmEfg==","signatures":[{"sig":"MEQCICBZge6JRhGlD8f+DuoGWAZxHrTBfGg8h34uNQxpo3+VAiAX1/UF5cUtJW5MN6f3Ky/IZMmLBkY4JnNOQzBC1brJDA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2483822},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.52.2_1719623449459_0.13269264805457137","host":"s3://npm-registry-packages"}},"4.52.3":{"name":"openai","version":"4.52.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.52.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3c6459dfd65e2bf9671729f25879a5b4224dca70","tarball":"https://registry.npmjs.org/openai/-/openai-4.52.3.tgz","fileCount":547,"integrity":"sha512-IyQLYKGYoEEkUCEm2frPzwHDJ3Ym663KtivnY6pWCzuoi6/HgSIMMxpcuTRS81GH6tiULPYGmTxIvzXdmPIWOw==","signatures":[{"sig":"MEUCIQDMUagKpbpVrJ9W4jRNbhOur1iQ9bH+VPrd7gujuA/BRwIgGp2LuAuJmncLWqQhdPikoIJy8ziAVFJBH2jaV+cqJHY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2484143},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.52.3_1719962259104_0.0620854568301521","host":"s3://npm-registry-packages"}},"4.52.4":{"name":"openai","version":"4.52.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.52.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"03c573dec87920905ce384d3967a810ed39ee724","tarball":"https://registry.npmjs.org/openai/-/openai-4.52.4.tgz","fileCount":547,"integrity":"sha512-3CkV7e8epJBnTe5ptn4i3ivfm1d8cvkbvBOzhGmGYEarpDpcCgwOMV1aBPvZ/HoveUtREWUE9Fqcy7BcPNtMJg==","signatures":[{"sig":"MEUCIQCk5V1IjrgeFJJzbDSuZz2k3cOvhe9juC1KuIBuGa7dcAIgG0SPlfoffeOTaDBf9Bqi74lNZEpCk+7EGfitITCC+cg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2484509},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.52.4_1720475025091_0.23334121309753741","host":"s3://npm-registry-packages"}},"4.52.5":{"name":"openai","version":"4.52.5","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.52.5","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d202c712a63b115e445a3e98a539fa81002cfbb3","tarball":"https://registry.npmjs.org/openai/-/openai-4.52.5.tgz","fileCount":547,"integrity":"sha512-qqH8GsyPE3z06took/2uWOGqRcrZNlRoPAsihpg4jsl0+2Dfelnw6HDDMep0EI2Cfzw75nn3vHRZehep/IZzxg==","signatures":[{"sig":"MEUCIDog/dwym8alIopCG31nA+3Wzv+Cd8VqVbzGRdsnwEePAiEA7yycEdJxzqc+CHYO5ubnVlsZyyxY3Co6rBOR5DZTpFE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2485153},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.52.5_1720604967545_0.8574988777072456","host":"s3://npm-registry-packages"}},"4.52.6":{"name":"openai","version":"4.52.6","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.52.6","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"738d8a9c90670a247b61059e144a612688c14c70","tarball":"https://registry.npmjs.org/openai/-/openai-4.52.6.tgz","fileCount":547,"integrity":"sha512-mT4SblnPXkzgiGY/cByU57sDDCqNUt3GQV8mzt4rL/xP6PHIQyTqwJ/WxwGhHRQ9okxgsDNgKQ6asdq8Dynw+g==","signatures":[{"sig":"MEYCIQCqOu+84uTje7wuDXzBsVjSs7vxvY/Jfxdsr4GrLbQ7pgIhAMom4MI6hQbZRdV1NsYCmj+yAJTo2MJudnT9ZeciV++M","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2485504},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.52.6_1720699082861_0.6876859501131283","host":"s3://npm-registry-packages"}},"4.52.7":{"name":"openai","version":"4.52.7","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.52.7","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"e32b000142287a9e8eda8512ba28df33d11ec1f1","tarball":"https://registry.npmjs.org/openai/-/openai-4.52.7.tgz","fileCount":547,"integrity":"sha512-dgxA6UZHary6NXUHEDj5TWt8ogv0+ibH+b4pT5RrWMjiRZVylNwLcw/2ubDrX5n0oUmHX/ZgudMJeemxzOvz7A==","signatures":[{"sig":"MEQCIAyxNtVFEv2p1D7q/l/+Tv3OAr/ZFzY+kQGnpcyDrP7cAiAYQJwrNgrDIk3FOY3g/aRQWFSJq1AgTxQRJWoAD73aog==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2485846},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.52.7_1720708456467_0.7683032706688102","host":"s3://npm-registry-packages"}},"4.53.0":{"name":"openai","version":"4.53.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.53.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"5ac6fc2ba1bba239a31c910bd57d793814bea61d","tarball":"https://registry.npmjs.org/openai/-/openai-4.53.0.tgz","fileCount":570,"integrity":"sha512-XoMaJsSLuedW5eoMEMmZbdNoXgML3ujcU5KfwRnC6rnbmZkHE2Q4J/SArwhqCxQRqJwHnQUj1LpiROmKPExZJA==","signatures":[{"sig":"MEUCIQDZvlanFb1ivRxXXN5UMxdJFliUE8VEUyGGIkQ2Dat6rAIgVGmuOflAAJyM4Xe+SiLXy3oArN8IHBJpNf9X4pqgaHk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2521427},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2","web-streams-polyfill":"^3.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.53.0_1721662732131_0.357759014691329","host":"s3://npm-registry-packages"}},"4.53.1":{"name":"openai","version":"4.53.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.53.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"5ea38c175a70b685d329fafd6669dc4e789592b2","tarball":"https://registry.npmjs.org/openai/-/openai-4.53.1.tgz","fileCount":570,"integrity":"sha512-BFj9e0jfzqd2GAGRY9hj6PU7VrGyl3LPhUdji7QvZCVxlqusoLR5qBzH5wjrJZ4d1BBDic/t5yvTdk023fM7+w==","signatures":[{"sig":"MEUCIQC8gI3y0j5I70F0jvXweuv7HS63URCJiHXNltn81E8awQIgaVMVRzUVnaIampClWjiwBtSY8ZoFCu7zhuOS5VMEusY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2521678},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.53.1_1721946821695_0.9553352974684282","host":"s3://npm-registry-packages"}},"4.53.2":{"name":"openai","version":"4.53.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.53.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"86f54a38091a87db36f651cf28c9e5ee7c98d56a","tarball":"https://registry.npmjs.org/openai/-/openai-4.53.2.tgz","fileCount":570,"integrity":"sha512-ohYEv6OV3jsFGqNrgolDDWN6Ssx1nFg6JDJQuaBFo4SL2i+MBoOQ16n2Pq1iBF5lH1PKnfCIOfqAGkmzPvdB9g==","signatures":[{"sig":"MEQCIHvz1Pr15/R6FekdF6EYFCAdeJI3CTgBS/l1yHqI52N/AiBsF0ex3ad5lT6HF6h9Zg6GxVAt95rn/l1UlZ5wDp8RMw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2522018},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.53.2_1722014826963_0.6435991732624597","host":"s3://npm-registry-packages"}},"4.54.0":{"name":"openai","version":"4.54.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.54.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"eeb209c6892b997e524181b6ddb7e27bf4d09389","tarball":"https://registry.npmjs.org/openai/-/openai-4.54.0.tgz","fileCount":570,"integrity":"sha512-e/12BdtTtj+tXs7iHm+Dm7H7WjEWnw7O52B2wSfCQ6lD5F6cvjzo7cANXy5TJ1Q3/qc8YRPT5wBTTFtP5sBp1g==","signatures":[{"sig":"MEUCIEGq/THsKzbOoPiMdoAhWAwQKVgw0rHNjc5/lK+WAzhhAiEA8oCeE8XU1bCDT0At55SR5gjg9+Ow8/BfkKF+Nno8xxU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2466145},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","_npmOperationalInternal":{"tmp":"tmp/openai_4.54.0_1722572721511_0.42701625279525834","host":"s3://npm-registry-packages"}},"4.55.0":{"name":"openai","version":"4.55.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.55.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d28b5a0b97214de4a2f018efd4665468e6c1fd94","tarball":"https://registry.npmjs.org/openai/-/openai-4.55.0.tgz","fileCount":847,"integrity":"sha512-BR3TUybzdqNeBMgEFvxgBrFks9FY2NoP2jyTf7LT4UxPv8chevRKSxKezsINVSeQ/QLA12CALR1oco6KVdVpVA==","signatures":[{"sig":"MEUCIQD6B7wAdnWVO7lFlfqoXZrRjDGMLbj3/3V47r2s3mbtUgIgCzVvJkH2D6eQkfIi3jrlzcWB1wQlkfgV2dXhiQotHHE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2519097},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.55.0_1722964599259_0.9007712076095593","host":"s3://npm-registry-packages"}},"4.55.1":{"name":"openai","version":"4.55.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.55.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"59fe4565ab117cf869137588f6da15ef330e405f","tarball":"https://registry.npmjs.org/openai/-/openai-4.55.1.tgz","fileCount":847,"integrity":"sha512-FziYJcWl+SAGbt5AcRIzVzNcnKohpEMQdtzVOmHFbBp/if7x2+ACqgxF2XUbyi2PcKONPcVpmtG5h9qoDAEXwQ==","signatures":[{"sig":"MEUCIESt4yWvyZCO2Y0fzQiu5WX/o2nIwe0rJ7hT64HS60NjAiEAk6DVCQ1U2DLs7XDUOlVqQpwHRMXeFbSjg7ddYsCe+RQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2524226},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.55.1_1723042537518_0.08352803416756283","host":"s3://npm-registry-packages"}},"4.55.2":{"name":"openai","version":"4.55.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.55.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"5dae9ff3416e338303391cec665ac338fb30c0a2","tarball":"https://registry.npmjs.org/openai/-/openai-4.55.2.tgz","fileCount":855,"integrity":"sha512-Z81nbAPvlLl5eDLNldkixAayhUzbbCbOef/dqqW3uuN0Fkgj5GZn2kgUDTqGPOp2RHtcOYMfZltXNPoC6kEkTQ==","signatures":[{"sig":"MEUCIQC5/DST0RfWixohSY3Achmiuv/WbM86i6PM8Z8uYilhyAIgBPee/B2HfPmMh2cQgNzSplmixcpHEzS1+eyFtzTwQmE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2532611},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"eslint --fix --ext ts,js .","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.55.2_1723147440885_0.20467598274782794","host":"s3://npm-registry-packages"}},"4.55.3":{"name":"openai","version":"4.55.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.55.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"9b29c6173078465b85e581157502ff7bec1b50da","tarball":"https://registry.npmjs.org/openai/-/openai-4.55.3.tgz","fileCount":855,"integrity":"sha512-/IUDdK5w3aB1Kd88Ml7w5F+EkVM5aXlrY+lSpWXdIPL18CmGkC7lV9HFJ7beR0OUSFLFT0qmWvMynqtbMF06/Q==","signatures":[{"sig":"MEUCIBULoGXu7bpgMb/gZMFpE68qiUt320Rla1K4/x1oon9lAiEAvMgV1rY60EkkZK/THpXVaegc30ccXJM/bC7BX8K1RRo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2533505},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.55.3_1723154539917_0.4561629819432651","host":"s3://npm-registry-packages"}},"4.55.4":{"name":"openai","version":"4.55.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.55.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"2f188e718e668f478f40c03012d92394e0c3d1b1","tarball":"https://registry.npmjs.org/openai/-/openai-4.55.4.tgz","fileCount":855,"integrity":"sha512-TEC75Y6U/OKIJp9fHao3zkTYfKLYGqXdD2TI+xN2Zd5W8KNKvv6E4/OBTOW7jg7fySfrBrhy5fYzBbyBcdHEtQ==","signatures":[{"sig":"MEUCIQCAZLWqwlmQsoJhwHfGUI8y1qvIPcTE01mXcyxoXq932gIgVENWR6G7bdcjpNrz1kmnhGbxvkbCtwtYtgUmNa7q/AI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2534469},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.55.4_1723229604127_0.0404629553036111","host":"s3://npm-registry-packages"}},"4.55.5":{"name":"openai","version":"4.55.5","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.55.5","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"dccd7fd42ee76a4135498494d5161dc9f9a44aa4","tarball":"https://registry.npmjs.org/openai/-/openai-4.55.5.tgz","fileCount":855,"integrity":"sha512-9OkMAMljFv1LxUFf5HLm/pw7zFd4yMgW+lKOYF80RBwuGWU+ZKF5BQGll+TEGAHu23YMeT8t6VSxI27c/DRAOA==","signatures":[{"sig":"MEQCIEs8A8vQ0feh8hNNKCcAm1LllhFVH77YbqSDHYeddG1xAiBstqWr854hTg62ujFlh8p2cteonxEdRMHz7G4vazQfLw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2534984},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.55.5_1723498348123_0.5325122302124536","host":"s3://npm-registry-packages"}},"4.55.6":{"name":"openai","version":"4.55.6","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.55.6","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"88fc3b462e71a750431a9faa5228dc0bdf29847c","tarball":"https://registry.npmjs.org/openai/-/openai-4.55.6.tgz","fileCount":856,"integrity":"sha512-CXLciLu0Hihv7bVATzbGTfOTPXe9CFszT2YVJfX//Czkb5+IAOALtORL/r7RkYb9OJhN+LSaittfHW+ZodRinQ==","signatures":[{"sig":"MEUCIQDDgMlxOUrKb8F4bLYlFijyMBN6xR5oarcov3S1jsuvxAIgJTcZOuz8omX11CMIbcrUQAjb6Qt+83eWcGBdnJECZ0o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2536074},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.55.6_1723574887758_0.2667605409095519","host":"s3://npm-registry-packages"}},"4.55.7":{"name":"openai","version":"4.55.7","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.55.7","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"2bba4ae9224ad205c0d087d1412fe95421397dff","tarball":"https://registry.npmjs.org/openai/-/openai-4.55.7.tgz","fileCount":856,"integrity":"sha512-I2dpHTINt0Zk+Wlns6KzkKu77MmNW3VfIIQf5qYziEUI6t7WciG1zTobfKqdPzBmZi3TTM+3DtjPumxQdcvzwA==","signatures":[{"sig":"MEYCIQDtDZzAUuExpIwD/MUjhk3ZLwTkzkv2u5PMkS82Gd5B8gIhAMeuGN7u5OEwHzlQ0AeEMP47BIzFQCOW348EcXCImGG/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2539807},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.55.7_1723582289805_0.48525526955819864","host":"s3://npm-registry-packages"}},"4.55.8":{"name":"openai","version":"4.55.8","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.55.8","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"609ed386f169e2cb380d50a6d9423a8239e316cd","tarball":"https://registry.npmjs.org/openai/-/openai-4.55.8.tgz","fileCount":856,"integrity":"sha512-k40u3QCrP10bL6c5b6b+lffJzG4QBSAqr6QDxXPThTuWaQmlKztaeW+NmSkJTsB7Ho1Cwq+IkdZZs1ZIlScXMA==","signatures":[{"sig":"MEUCIQDJmFohoBOgwgMWXNaWMpNhewGYg7pqAr2isoOJa+7o2QIgDZvmYJEz2X0+ghJ6FaCI0nNjauNS/JKCf8B6Y88/TVA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2541493},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.55.8_1723766258585_0.8063143278858307","host":"s3://npm-registry-packages"}},"4.55.9":{"name":"openai","version":"4.55.9","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.55.9","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"ed11cbaacdc96a645e7740e0bdb8a1a28f8f6887","tarball":"https://registry.npmjs.org/openai/-/openai-4.55.9.tgz","fileCount":856,"integrity":"sha512-gO2BVMuGirwoftSXw6OnC6YvLK+1ZuUrAlDfWAyDbWUuXsJ+RGDAjA7ZCTocgAwSzDZNUYUr3SJ7siFaF5zquQ==","signatures":[{"sig":"MEUCIC2ivdo2qvGB5RL7s3gtaFGLso3sZ9cWmpB2CQTqigWtAiEA7nDreD8olmGK2W4yioD4CAM+8uc81b1mbNFdlPljOdY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2541626},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.55.9_1723771478438_0.14604093935036389","host":"s3://npm-registry-packages"}},"4.56.0":{"name":"openai","version":"4.56.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.56.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"07d3982544cabd5781127288a8dfcceb7319a4cf","tarball":"https://registry.npmjs.org/openai/-/openai-4.56.0.tgz","fileCount":856,"integrity":"sha512-zcag97+3bG890MNNa0DQD9dGmmTWL8unJdNkulZzWRXrl+QeD+YkBI4H58rJcwErxqGK6a0jVPZ4ReJjhDGcmw==","signatures":[{"sig":"MEQCIARbBlRGdlxw4SlxuEYMUhyr6YdugeLQH/RNoyJv7Dp7AiA1VO+tkzbk4RTuEN4WoWGaH9HYVXL0keb//rF7dZ0YtQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2541929},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.56.0_1723818228216_0.3131755809331449","host":"s3://npm-registry-packages"}},"4.56.1":{"name":"openai","version":"4.56.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.56.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"fc2160964d4c88a45b8f14dd6003ab7b09398eb3","tarball":"https://registry.npmjs.org/openai/-/openai-4.56.1.tgz","fileCount":856,"integrity":"sha512-XMsxdjrWBYgbP6EsDIwbhkQEgeyL2C41te/QrJm8kdfho22exhTUJ/cFJSmCTToam/RSOC1BlOylHvD6i/bmsA==","signatures":[{"sig":"MEYCIQCr/gtRL9Y5wlm++W8xzg7hD46UKiV1fIGk5JK3TWX9ywIhALfEeQocCriXimLWYrHDy+veMAimuqEZvemsYN20+PBv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2543029},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.56.1_1724781334578_0.9238657744569003","host":"s3://npm-registry-packages"}},"4.56.2":{"name":"openai","version":"4.56.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.56.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"51e3caab4b368eba4050f37597b0f111e24b815f","tarball":"https://registry.npmjs.org/openai/-/openai-4.56.2.tgz","fileCount":856,"integrity":"sha512-5VIG9ktyKm3WhJ24Qmp362DYQswZl7PLRF5CeJS95vCWp1Lm78AdlKUKOajCqNtAhXP+2XPRGmbcF4XAslWXDg==","signatures":[{"sig":"MEUCIQC/n5kC63BwmsnavDkvrFNSALDpw9u68/WbNKY/tLgC2QIgSkaW6l1htSU/tdx3JSp/EyBAVi6rkwe5ogbqUtpj4yU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2543393},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.56.2_1724943253394_0.23303528040265697","host":"s3://npm-registry-packages"}},"4.57.0":{"name":"openai","version":"4.57.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.57.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"c1c735e9bbccf1fc42fdcfc9676643cad56258fe","tarball":"https://registry.npmjs.org/openai/-/openai-4.57.0.tgz","fileCount":856,"integrity":"sha512-JnwBSIYqiZ3jYjB5f2in8hQ0PRA092c6m+/6dYB0MzK0BEbn+0dioxZsPLBm5idJbg9xzLNOiGVm2OSuhZ+BdQ==","signatures":[{"sig":"MEQCIHomKf2Ew3E5tZUnhGnKONB9+jMsO3MCkbpPL65L8PtYAiBrlnrXIXCZgcEdbVQBCoHrC7lVAXV2VRSLnnPXOYaHSw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2557995},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.7","node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.57.0_1724954537361_0.004426849267062494","host":"s3://npm-registry-packages"}},"4.57.1":{"name":"openai","version":"4.57.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.57.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"33999ed3e2d92a57a04d83d785a151c3501b4eb6","tarball":"https://registry.npmjs.org/openai/-/openai-4.57.1.tgz","fileCount":856,"integrity":"sha512-7q+4U9A/klaAT40bqL6sPFhIKb4jsUJ8udddCzaf8mdwICYeBG7grps/zDcrOUfkwCxCzR6fxfDDah3WqHoVUA==","signatures":[{"sig":"MEQCICNcancQSHOaZpmBHgig6hpuUFdVvuaFLjMPTLT7xTRZAiBGt0MfqfpojNejWxxOwKU7gdyZE3p+vaOzm4MltutBUw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2564726},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.7","node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.57.1_1725374411808_0.4798674656609645","host":"s3://npm-registry-packages"}},"4.57.2":{"name":"openai","version":"4.57.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.57.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"e0b17abc3fca6803563745e962637263b500915b","tarball":"https://registry.npmjs.org/openai/-/openai-4.57.2.tgz","fileCount":856,"integrity":"sha512-IgIxNjo9tfgnfx6gmwNMg3tdF9giK/2lbwG5DY7zs4TP9Gz+h6h2hBOMoalLPFUVOO5HLOgMI/PFV5VDAUvvMg==","signatures":[{"sig":"MEUCIF8xEqRzSTUDZnubCro0JP8gAAxIaKtX2V/Dk6WdghDsAiEAyIlK8iEUBzzcUTrVrDHakzDFkXnIdTpZR2C0yreqvwY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2565060},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.7","node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.57.2_1725466888536_0.15181922203752873","host":"s3://npm-registry-packages"}},"4.57.3":{"name":"openai","version":"4.57.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.57.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"e8dc0973c112a348a7cb29a92d59111831db9787","tarball":"https://registry.npmjs.org/openai/-/openai-4.57.3.tgz","fileCount":856,"integrity":"sha512-mTz5/SmulkkeSpqbSr6WNLRU6krkyhnbfRUC8XfaXbj1T6xUorKEELjZvbRSzI714JLOk1MeFkqYS9H4WHhqDQ==","signatures":[{"sig":"MEUCIQCRuV3DiP2Qsu/BzN9ugcuh59G4Fabj+1CtG2fzGaaAVAIgfoXSskBdGJsxA9FPoIrU5BAhY2U2pH0Z2y5u12fvKU0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2565680},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.15","node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.57.3_1725487432458_0.3638399194059019","host":"s3://npm-registry-packages"}},"4.58.0":{"name":"openai","version":"4.58.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.58.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"ccad3be9fda55aa4a345ecd400fc7725e05972fb","tarball":"https://registry.npmjs.org/openai/-/openai-4.58.0.tgz","fileCount":856,"integrity":"sha512-iEjwfZ+3ZOyf/Rjfca0vrDA2y4Lt7W3auf2ZJGt6+puyvzGYwp22da4mrNcYJkcek7SngOqiQI3h/44XCSCO6A==","signatures":[{"sig":"MEUCIQCsuX2GnxxeI+UUuwtsbzU6sZUt3S+dfZplLTS2LlGPXwIgRRWjGjsc/NBqODe1klhzrlwIsSUOf3+th0EarrF2VgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2556854},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.15","node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.58.0_1725579771154_0.7831084587250077","host":"s3://npm-registry-packages"}},"4.58.1":{"name":"openai","version":"4.58.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.58.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"be3720720e730cd6e14726b346d0bbe8d7983017","tarball":"https://registry.npmjs.org/openai/-/openai-4.58.1.tgz","fileCount":856,"integrity":"sha512-n9fN4RIjbj4PbZU6IN/FOBBbxHbHEcW18rDZ4nW2cDNfZP2+upm/FM20UCmRNMQTvhOvw/2Tw4vgioQyQb5nlA==","signatures":[{"sig":"MEQCIBv6EO2pyYJNF5T/tjG3160Zp4EaTFKpSJhMq+WrxKxyAiBhD/Togd6Z3Y27CZOTyStaWVqHTo+/Pvuc1687rnU00Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2557210},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.15","node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.58.1_1725643318269_0.41496957215986785","host":"s3://npm-registry-packages"}},"4.58.2":{"name":"openai","version":"4.58.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.58.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"e45a41fe91eb626b8f07afb522c27016f58aab58","tarball":"https://registry.npmjs.org/openai/-/openai-4.58.2.tgz","fileCount":856,"integrity":"sha512-hIalypYELt7/PcryFpz4Gi1z/8ZDzukWyOhr+jKM6L/GVE+t4NseaENXKt+OxnkkIm/1R2EkdGxgnHrZ0kB5bQ==","signatures":[{"sig":"MEQCICB9V3ZyGU2/2fZxsChq6g9hHeP96av4mJST5TDj6OqaAiAv0xjWD7VgZP00Fd6hxNX/v6BtM0nQEGSD+OtzBxjekg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2558615},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.15","node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.58.2_1725910789861_0.37465615035750854","host":"s3://npm-registry-packages"}},"4.59.0":{"name":"openai","version":"4.59.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.59.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3961d11a9afb5920e1bd475948a87969e244fc08","tarball":"https://registry.npmjs.org/openai/-/openai-4.59.0.tgz","fileCount":856,"integrity":"sha512-3bn7FypMt2R1ZDuO0+GcXgBEnVFhIzrpUkb47pQRoYvyfdZ2fQXcuP14aOc4C8F9FvCtZ/ElzJmVzVqnP4nHNg==","signatures":[{"sig":"MEQCIFgvpcF70HNC48engpuRDHODwkuZMtbJYTWqk7KmOfLJAiAJQ9LsXBDXJiveY44o2UM58/Lney1W9XzjXo7e+DaEgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2559766},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.15","node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.59.0_1726073286339_0.8129408016936666","host":"s3://npm-registry-packages"}},"4.60.0":{"name":"openai","version":"4.60.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.60.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"4970354b7dfebd92b72aefd205212d3611eb7248","tarball":"https://registry.npmjs.org/openai/-/openai-4.60.0.tgz","fileCount":856,"integrity":"sha512-U/wNmrUPdfsvU1GrKRP5mY5YHR3ev6vtdfNID6Sauz+oquWD8r+cXPL1xiUlYniosPKajy33muVHhGS/9/t6KA==","signatures":[{"sig":"MEYCIQC2X/sul0I2aADGI4fHWVJkGqqo9V7mkzqs77v+UCNx5AIhAIYFMbURJHyMQwebPxHfpRxyIo0BkuBl8yXgMFXJLHo6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2562780},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.15","node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.60.0_1726160921279_0.09001440831806451","host":"s3://npm-registry-packages"}},"4.60.1":{"name":"openai","version":"4.60.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.60.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"8729496d4abc8901bebf1fbc50179a92970d9231","tarball":"https://registry.npmjs.org/openai/-/openai-4.60.1.tgz","fileCount":856,"integrity":"sha512-j7aZOpgN0MtflPgNaBlSnOyok4jwto0GVOxVC5g0jCfa0lvywYx+LhlFim/dXzPtyi8MjKozyLshSj93617vNQ==","signatures":[{"sig":"MEQCIAOwbq1IAHWK0VeBfpTPOi6oUJAbefMDDo8TVfZpPJCeAiAE1eLNOrj6jBfvP1TKWvKjjuL+qtM1N+A3Xz1uMBIsug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2563600},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.15","node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.60.1_1726235982106_0.26640606216023","host":"s3://npm-registry-packages"}},"4.61.0":{"name":"openai","version":"4.61.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.61.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"fa21f2a636595d656e97c4aae6b5d9a8be9f05e2","tarball":"https://registry.npmjs.org/openai/-/openai-4.61.0.tgz","fileCount":856,"integrity":"sha512-xkygRBRLIUumxzKGb1ug05pWmJROQsHkGuj/N6Jiw2dj0dI19JvbFpErSZKmJ/DA+0IvpcugZqCAyk8iLpyM6Q==","signatures":[{"sig":"MEYCIQDUgD7ECKSASbxjeBxpZYV3BM9n5vFuWmHjKWhKzDfWowIhALZTqyE4ddwVxXOpvR4UvXk/LC6Hej4AFe4AGUangVZY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2573568},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.15","node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.61.0_1726255445846_0.0017310038246729498","host":"s3://npm-registry-packages"}},"4.61.1":{"name":"openai","version":"4.61.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.61.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"1fe2fa231b6de54fad32785528d7628dbbf68ab4","tarball":"https://registry.npmjs.org/openai/-/openai-4.61.1.tgz","fileCount":856,"integrity":"sha512-jZ2WRn+f4QWZkYnrUS+xzEUIBllsGN75dUCaXmMIHcv2W9yn7O8amaReTbGHCNEYkL43vuDOcxPUWfNPUmoD3Q==","signatures":[{"sig":"MEUCIBtuzn5wMOWz2A1MmMIas9SkOsfWa4sqQOnOWMTIM/hFAiEApIBzb5FCFA2n731kPL57QVe9MM4BisAoPe/Y+U9sMqY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2574268},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"qs":"^6.10.3","@types/qs":"^6.9.15","node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.61.1_1726494395550_0.46917040930067744","host":"s3://npm-registry-packages"}},"4.62.0":{"name":"openai","version":"4.62.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.62.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"41266a62277b1ca90f2a1511e52af5b2ffaeadf6","tarball":"https://registry.npmjs.org/openai/-/openai-4.62.0.tgz","fileCount":897,"integrity":"sha512-cPSsarEXoJENNwYMx/Xh/wuvnyYf8lPSR4zDVSnRvbcMHmKkDIzXhUVvPPfuI4M4T83x25gVnlW7huWEGKG+SA==","signatures":[{"sig":"MEQCIB4kCTqJdbfllN/ieUBwsl3hEKqEvZVU2vPwuNIQenYmAiBBe0pH9x/suwnec5P7o2AmWIeMLZdhUm4AznWPTn/n+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2689485},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.62.0_1726605183121_0.9351694209479697","host":"s3://npm-registry-packages"}},"4.62.1":{"name":"openai","version":"4.62.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.62.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"ebf9ae0a0c367463162e7b822a76e16efef6139d","tarball":"https://registry.npmjs.org/openai/-/openai-4.62.1.tgz","fileCount":897,"integrity":"sha512-Aa6i4oBR1tV8E2d2p3MvXg57X98i8gZtHq4bQNX274qLKZVX7PXXq5P1FMonTXOrX3zwvkqN1iNccn3XK3CwVg==","signatures":[{"sig":"MEUCIQCKkqOWvcyRQwXVGIJPpODx53rhTEE6sUyG1sWHbCQ+wgIgPFDyM8+hG3lcXxlrU7kbcIdeF3St22OEv+htSybPHrU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2689853},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.62.1_1726671491828_0.3690670689407156","host":"s3://npm-registry-packages"}},"4.63.0":{"name":"openai","version":"4.63.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.63.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"cabe7223788157c96c818317cc361386807157f7","tarball":"https://registry.npmjs.org/openai/-/openai-4.63.0.tgz","fileCount":897,"integrity":"sha512-Y9V4KODbmrOpqiOmCDVnPfMxMqKLOx8Hwcdn/r8mePq4yv7FSXGnxCs8/jZKO7zCB/IVPWihpJXwJNAIOEiZ2g==","signatures":[{"sig":"MEYCIQCNy+Exago16gMO36r161X5swi0gsZ3BfIbSoAm0SsfiAIhANXiZ+wkjW3Uh28Siak0Q07B9ABs7XVPIHrt0IprwmdZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2692143},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.63.0_1726844358190_0.13689486817116392","host":"s3://npm-registry-packages"}},"4.64.0":{"name":"openai","version":"4.64.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.64.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"28ac7907e3c00b4ccf40cc7773e810cbb26bed5b","tarball":"https://registry.npmjs.org/openai/-/openai-4.64.0.tgz","fileCount":897,"integrity":"sha512-+o4vDKn2xzNMeR71rFMCPLr2penpwoALgRoJyIboIBOlkKjw+SoRiBOlO9ss1diXM4Elv01L/iliyr2oqY/l+A==","signatures":[{"sig":"MEUCIQDKnIaps9seLZTxwyGuRltEkphRn9hEbLwjjCpOtr4hRAIgBXHkjkaNtL89R70f8+OCWqV1VPFljLuK7a1W15E3stU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2696518},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.64.0_1727278510773_0.007540929014102193","host":"s3://npm-registry-packages"}},"4.65.0":{"name":"openai","version":"4.65.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.65.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"97878efc00013b13b946b1be15a586bb4b125c62","tarball":"https://registry.npmjs.org/openai/-/openai-4.65.0.tgz","fileCount":897,"integrity":"sha512-LfA4KUBpH/8rA3vjCQ74LZtdK/8wx9W6Qxq8MHqEdImPsN1XPQ2ompIuJWkKS6kXt5Cs5i8Eb65IIo4M7U+yeQ==","signatures":[{"sig":"MEUCIQDsPgmSkTkhY/bSqfXhx7zDUdxG7E+17PIWvhFSinZ25wIgGMj9JhmSQFEJGQIChCc30wxR11e7blQGyOTdW6xZmS0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2707837},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.65.0_1727371840657_0.575513329219032","host":"s3://npm-registry-packages"}},"4.66.1":{"name":"openai","version":"4.66.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.66.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"07d228cb52d58471e512bad8669e7d001e97791d","tarball":"https://registry.npmjs.org/openai/-/openai-4.66.1.tgz","fileCount":897,"integrity":"sha512-+sSyV6VtGHerPb6Kfi76hrEOVt+wayvuw7GX/ky7rAR11kN6JVs4dgbtoaxzDXvAxc5dcQLuXeco54mBfOMoQQ==","signatures":[{"sig":"MEUCIAg09ek/iDHXApBdzSwtv53jzdnn/Lt7D4uxklGZDB9nAiEAwV4uGNX60iVlRjerwuq08qojvQW6CUpBa/yMNSweq/w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2723752},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.66.1_1727707976558_0.9007430782625632","host":"s3://npm-registry-packages"}},"4.67.0":{"name":"openai","version":"4.67.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.67.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"94f46fc2e98445fab8b70d62fc684a6b6680402e","tarball":"https://registry.npmjs.org/openai/-/openai-4.67.0.tgz","fileCount":897,"integrity":"sha512-jdsPSEdZbUNVtvEFE/eeL4FjKavyVMJJEdGMZk9vExglqUrblEcFxi3LK2WhskhrYKAU1MgJAI+dK9pDcA5z5w==","signatures":[{"sig":"MEUCIDqMZ+SqUP+0VG/lPw1//qytnAz3R7gykKaM+tB+0KulAiEAsCxJwhhVDRPHwSsLefTNxpQ3MeuTJDPZD0JDhWaircM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2726917},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.67.0_1727805422535_0.4480925112345997","host":"s3://npm-registry-packages"}},"4.67.1":{"name":"openai","version":"4.67.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.67.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"ed07c40bf24c5f4108dfb662de1471f0c75e890d","tarball":"https://registry.npmjs.org/openai/-/openai-4.67.1.tgz","fileCount":897,"integrity":"sha512-2YbRFy6qaYRJabK2zLMn4txrB2xBy0KP5g/eoqeSPTT31mIJMnkT75toagvfE555IKa2RdrzJrZwdDsUipsAMw==","signatures":[{"sig":"MEUCIDSKIERCmqwW/wVvxVQ8Y2i/Fx+g54pqfd31W7GadlT6AiEArUr7X577pKYDSu84kBVSwh4pKfFfMFrMdrTBV9pzFQg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2727349},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.67.1_1727882687493_0.3426847890567746","host":"s3://npm-registry-packages"}},"4.67.2":{"name":"openai","version":"4.67.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.67.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"91f894fede549df26ad4ae3a228bd6d301d16756","tarball":"https://registry.npmjs.org/openai/-/openai-4.67.2.tgz","fileCount":906,"integrity":"sha512-u4FJFGXgqEHrCYcD5jAD4nHj6JCiicH+/dskQY7qka9R6hOw29R0kOz7GwcA9k2JKcLf86lzAWPtPagPbO8KnQ==","signatures":[{"sig":"MEUCIQDTGSb7v4Pq9RqSmE6dlY3primHPaX5i/x0LlrOzYsRYgIgcmQ/KwAZPDPri4YhVSsmKrjE7FLMtVvXlpNlbmbvgVA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2729823},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.67.2_1728314312748_0.3311088080958329","host":"s3://npm-registry-packages"}},"4.67.3":{"name":"openai","version":"4.67.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.67.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"a7c1b59cb9eca064f3ff3d439b7bf51487d88a49","tarball":"https://registry.npmjs.org/openai/-/openai-4.67.3.tgz","fileCount":906,"integrity":"sha512-HT2tZgjLgRqbLQNKmYtjdF/4TQuiBvg1oGvTDhwpSEQzxo6/oM1us8VQ53vBK2BiKvCxFuq6gKGG70qfwrNhKg==","signatures":[{"sig":"MEUCIHRDgj04jmOwedDlxt42Tk/eOyK8K7ZBVdD3/phhLT1MAiEAjt5XAfp92Birstkg7g3HGucarfcD3oxnRHKPmbJMOXs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2730286},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.67.3_1728399498522_0.010806719838197365","host":"s3://npm-registry-packages"}},"4.68.0":{"name":"openai","version":"4.68.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.68.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"6390d35fbcb2b8dc15f93b1a8c87a65ebeac8636","tarball":"https://registry.npmjs.org/openai/-/openai-4.68.0.tgz","fileCount":906,"integrity":"sha512-cVH0WMKd4cColyorwqo+Gn08lN8LQ8uKLMfWXFfvnedrLq3lCH6lRd0Rd0XJRunyfgNve/L9E7uZLAii39NBkw==","signatures":[{"sig":"MEYCIQCWcbkFc7k0o/MKzTSEM8kTp39/owBXuAyhb85mAUee3wIhAPsfFChln++2uMh/34vQPU9MMy3Oz8IyUQ3pLXZAlx0i","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2743975},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.68.0_1729186180633_0.6384961154529709","host":"s3://npm-registry-packages"}},"4.68.1":{"name":"openai","version":"4.68.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.68.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"a2bd0df5d6c1c0f53b296b690acce88b44c56624","tarball":"https://registry.npmjs.org/openai/-/openai-4.68.1.tgz","fileCount":906,"integrity":"sha512-C9XmYRHgra1U1G4GGFNqRHQEjxhoOWbQYR85IibfJ0jpHUhOm4/lARiKaC/h3zThvikwH9Dx/XOKWPNVygIS3g==","signatures":[{"sig":"MEUCIDISCqNllWUmrN3BYA+l8cTo+36AxWrZzSuiMQmR0HVpAiEAw3RXQoKFqpDQpgCfzQsDas7I+GOIZPnUeg879dWHsl4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2744905},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.68.1_1729276194107_0.8984535766105479","host":"s3://npm-registry-packages"}},"4.68.2":{"name":"openai","version":"4.68.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.68.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"2443d23127c61dcc9a9356ff8ea5b21acf0ba60d","tarball":"https://registry.npmjs.org/openai/-/openai-4.68.2.tgz","fileCount":906,"integrity":"sha512-Ys3Jl9vkBUFtrFj4pgrF7rMte4JNekZoMgI6dWkkpOIwNUKGkc4I8jTqv86LB+TcoqkTPzV6DS269dPR9ILWsQ==","signatures":[{"sig":"MEQCIB7W+c7AApk/xHrqFVQyebFznrAXkVLXEhHFNdRe6NDZAiBX55hHIXoBookuk8JIoub9DO+gYmSu/j0cwsvqFM6Qlw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2745240},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.68.2_1729627019294_0.7005616982343341","host":"s3://npm-registry-packages"}},"4.68.3":{"name":"openai","version":"4.68.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.68.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"104eeb3538f3d69de86fe45b660728142b3c15ce","tarball":"https://registry.npmjs.org/openai/-/openai-4.68.3.tgz","fileCount":906,"integrity":"sha512-KfnhZ7mR9rK/f0O1vJGRnB3aYuDGgVkNIegJFxGviV0SGDVGlTha7FR8UV9P0NbO6l/podml0E/rk2R1egY94w==","signatures":[{"sig":"MEMCIBb6wpi/+SqO/23ayLKrBI3Ap3JMnlQnvzHy1YUefe0UAh8DWBf6UApDBLAZyHZPMnTNlre7bEZYh3fhMuQzK2pj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2745593},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.68.3_1729698443924_0.5414236722600394","host":"s3://npm-registry-packages"}},"4.68.4":{"name":"openai","version":"4.68.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.68.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"f8d684c1f2408d362164ad71916e961941aeedd1","tarball":"https://registry.npmjs.org/openai/-/openai-4.68.4.tgz","fileCount":906,"integrity":"sha512-LRinV8iU9VQplkr25oZlyrsYGPGasIwYN8KFMAAFTHHLHjHhejtJ5BALuLFrkGzY4wfbKhOhuT+7lcHZ+F3iEA==","signatures":[{"sig":"MEQCIEdHLpLMR3LCqUfzA2vnclmVjt/LQA68qB6HKI00NwD2AiAEasahOzFya1W9HqcmoLd3cPPOWkuoCrYCmGZ2wC2vOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2745928},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.68.4_1729724768784_0.17363143019006078","host":"s3://npm-registry-packages"}},"4.69.0":{"name":"openai","version":"4.69.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.69.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"ac2463719280987e506e4bd62dd477337e2406a1","tarball":"https://registry.npmjs.org/openai/-/openai-4.69.0.tgz","fileCount":906,"integrity":"sha512-S3hOHSkk609KqwgH+7dwFrSvO3Gm3Nk0YWGyPHNscoMH/Y2tH1qunMi7gtZnLbUv4/N1elqCp6bDior2401kCQ==","signatures":[{"sig":"MEYCIQCGmO3OK7Wce2tSkayhaiOIFrMDjj3QKz4P93aJSL1VXwIhALw2gVvakQhh0sGsa2jfU/guLne1RSq8gbJ+T3To7lwS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2746885},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.69.0_1730305362772_0.815045471040438","host":"s3://npm-registry-packages"}},"4.70.0":{"name":"openai","version":"4.70.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.70.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"65662d779eb1bf67a2dd79d975a65652aac40dff","tarball":"https://registry.npmjs.org/openai/-/openai-4.70.0.tgz","fileCount":906,"integrity":"sha512-Hz8lRAH2oXBG9ct0mssSag/iJz9vrH+k6hSl3enwwtnJz5x9sCaBmWNcYYTsPmkz3GmgUUD102GRrWWBbufqFQ==","signatures":[{"sig":"MEYCIQDBOIAiHvZ0DVWhwbGnAUnaVxvP9gJIcyd+ZYz++AcAOgIhAN4t/ILsdtmbE7qVFdOyHh2izoWNwqQzb2yx6Jk9ALck","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2727803},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.70.0_1730487047184_0.5060346506561086","host":"s3://npm-registry-packages"}},"4.70.1":{"name":"openai","version":"4.70.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.70.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"a47d6c924c112a403570de3235c43b709a1cc637","tarball":"https://registry.npmjs.org/openai/-/openai-4.70.1.tgz","fileCount":906,"integrity":"sha512-9tQ8ay+GF2qhnydPL2ytI03ilScfps5oc7p765aUm3uUH6llwmEUgjmztGIF2Nvdw2RtMI4qEd2uAKkPMO/rPA==","signatures":[{"sig":"MEUCICvPfb+NUazTj3Pi619LZCL4EQXWXY3d66w6uxwN4t5JAiEA3yiTKyoVuYCPrOYS69M4nV/9OO13TR6Lnn8ypy5nsQM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2728131},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.70.1_1730489793716_0.18526474442728103","host":"s3://npm-registry-packages"}},"4.70.2":{"name":"openai","version":"4.70.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.70.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"dfe54b2b13996b76d93f2aaac07203d2660d6e65","tarball":"https://registry.npmjs.org/openai/-/openai-4.70.2.tgz","fileCount":906,"integrity":"sha512-Q2ymi/KPUYv+LJ9rFxeYxpkVAhcrZFTVvnJbdF1pUHg9eMC6lY8PU4TO1XOK5UZzOZuuVicouRwVMi1iDrT4qw==","signatures":[{"sig":"MEUCIQCXh6PsAn/KqfnCZGeH0mRVTA04nomncHDncz+8+kGHqgIgOtui/Bp2n8N/+R/f/a3f2iQqB2ASDpPsX5YDxQm1QU4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2728535},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.70.2_1730492599117_0.6634313137231864","host":"s3://npm-registry-packages"}},"4.70.3":{"name":"openai","version":"4.70.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.70.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"47e6acafd28f30a216a6721ee301a5744fb4b9df","tarball":"https://registry.npmjs.org/openai/-/openai-4.70.3.tgz","fileCount":906,"integrity":"sha512-N2XOWjuT5yKIdLgjZkQt9i5+cAXI7qKM7E5PpIsmVfnTi/Y812omr3rozgKwxXJC6aga8nl2BWos4HRdlZllFA==","signatures":[{"sig":"MEQCIC+y5M1kCMbWjZ83+d7Yt9C/6TQwLvDhzeVs5u02SkN2AiA5AY5ns8FEuZYfmPmNgx7Y7bzh38WoVYJw1cvWdAKdvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2728774},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.70.3_1730737541227_0.16192581651096383","host":"s3://npm-registry-packages"}},"4.71.0":{"name":"openai","version":"4.71.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.71.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"77f344c0229f52786b833e6988634a882b06c76f","tarball":"https://registry.npmjs.org/openai/-/openai-4.71.0.tgz","fileCount":906,"integrity":"sha512-jeJ7+6cZvj+ZbIsbX/Ag8+pug2+vjKbrD/v3Hwp6uv3KZyWjSkZa5MdUshzpNC3jsFzakfbUhEEFQXsKWNgm/g==","signatures":[{"sig":"MEYCIQCaS1xxaKrhr2BdxVVb5qNfkNiDCOoeEqv9hQpngwVpgAIhAIQTxH9Wcp0wcFKhSLeryKG8VMBzPcK/fKrahNuMtWmd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2732892},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.71.0_1730760669767_0.1831858751768043","host":"s3://npm-registry-packages"}},"4.71.1":{"name":"openai","version":"4.71.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.71.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"f26bf5db00d75703676d80bf0ae7cb7674e41eac","tarball":"https://registry.npmjs.org/openai/-/openai-4.71.1.tgz","fileCount":906,"integrity":"sha512-C6JNMaQ1eijM0lrjiRUL3MgThVP5RdwNAghpbJFdW0t11LzmyqON8Eh8MuUuEZ+CeD6bgYl2Fkn2BoptVxv9Ug==","signatures":[{"sig":"MEQCIH1N3TP6W9KKvTyiY+dNvF40VuWIObtXzpfrSa5msVFkAiATJQlIni711LugL0prwoaBMwvl/2ItwKt/IqUzPfGokg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2733245},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.71.1_1730909511153_0.8618277906388789","host":"s3://npm-registry-packages"}},"4.72.0":{"name":"openai","version":"4.72.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.72.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"61630553157a0c9bb1c304b1dd4d2f90e9ec4cf7","tarball":"https://registry.npmjs.org/openai/-/openai-4.72.0.tgz","fileCount":906,"integrity":"sha512-hFqG9BWCs7L7ifrhJXw7mJXmUBr7d9N6If3J9563o0jfwVA4wFANFDDaOIWFdgDdwgCXg5emf0Q+LoLCGszQYA==","signatures":[{"sig":"MEUCIQDJ03QSzlLw163hUUX/VJPdCtOnSemsKZs1Vc5oyopr6QIgLHvWVEvFd0e6sfO+GlGQ+1CIjzik8JdVckqfKx91WaY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2733756},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.72.0_1731428065948_0.6114862581556326","host":"s3://npm-registry-packages"}},"4.73.0":{"name":"openai","version":"4.73.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.73.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"b8f8a4793d4db91e7eeab7235446d2cfe3aa0e9c","tarball":"https://registry.npmjs.org/openai/-/openai-4.73.0.tgz","fileCount":906,"integrity":"sha512-NZstV77w3CEol9KQTRBRQ15+Sw6nxVTicAULSjYO4wn9E5gw72Mtp3fAVaBFXyyVPws4241YmFG6ya4L8v03tA==","signatures":[{"sig":"MEYCIQDrhJW7cKlI7lnyt8QBpvLj1Mtpkdk34mVgb4q4PJ1a4AIhAJLyvQVkV9KLxM2d0mwuly3BdYRXkkcgjGrClzomlwg7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2736157},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.73.0_1732127331164_0.6322998534271631","host":"s3://npm-registry-packages"}},"4.73.1":{"name":"openai","version":"4.73.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.73.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"532bd000d5f1a558e4fff1119da6749992ac41e4","tarball":"https://registry.npmjs.org/openai/-/openai-4.73.1.tgz","fileCount":906,"integrity":"sha512-nWImDJBcUsqrhy7yJScXB4+iqjzbUEgzfA3un/6UnHFdwWhjX24oztj69Ped/njABfOdLcO/F7CeWTI5dt8Xmg==","signatures":[{"sig":"MEYCIQCqsUGniwBy3YkGlnqEwQ65jK98cv6h2YzMUuHDPG9FvwIhAMd4qU4AQGO4pNq2G0w1ACT/JBqTrbg4dMAkc9yMMTLs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2736817},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.73.1_1732557761171_0.7469666873054202","host":"s3://npm-registry-packages"}},"4.74.0":{"name":"openai","version":"4.74.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.74.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"db9fc1442e20cb92e9d7afc40b0dc0f71c04cba4","tarball":"https://registry.npmjs.org/openai/-/openai-4.74.0.tgz","fileCount":906,"integrity":"sha512-pQ8t1jchUymw5WB5jZPchuBtWvxul7RyVxa+9RWfiCQyzvzUyI2sKvUYfpEDI/ouaRLcik3K6psj15ByCefeNA==","signatures":[{"sig":"MEUCIQCyJLI3B1qXoKkfKa2zPVCDtFACU+fDxTSXt/Rxp9lo1wIgWPxRpKY4F2dzoKHNmyTN1K0oqY7RwmWwz56n9fqH3i8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2737176},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.74.0_1733167008417_0.5041763160017527","host":"s3://npm-registry-packages"}},"4.75.0":{"name":"openai","version":"4.75.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.75.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"8bd44885aba5f8f35fe9dea17a4d6859bca5d199","tarball":"https://registry.npmjs.org/openai/-/openai-4.75.0.tgz","fileCount":906,"integrity":"sha512-8cWaK3td0qLspaflKWD6AvpQnl0gynWFbHg7sMAgiu//F20I4GJlCCpllDrECO6WFSuY8HXJj8gji3urw2BGGg==","signatures":[{"sig":"MEUCIHPti49xVeputxsvF6GAmD67MGEriYFf11ud8aqQRR23AiEAlcFDD7ueInM8hSNyHMcmwxjN+EwlVVuF8WT9X+Y6/xk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2737510},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.75.0_1733243216519_0.3588991425248773","host":"s3://npm-registry-packages"}},"4.76.0":{"name":"openai","version":"4.76.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.76.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0ba135ff6452eadbce980c604f98799dfa239325","tarball":"https://registry.npmjs.org/openai/-/openai-4.76.0.tgz","fileCount":906,"integrity":"sha512-QBGIetjX1C9xDp5XGa/3mPnfKI9BgAe2xHQX6PmO98wuW9qQaurBaumcYptQWc9LHZZq7cH/Y1Rjnsr6uUDdVw==","signatures":[{"sig":"MEQCIEEuAcZAfM5HCgIyf9Q8AIrFAZvAfFFXYtRVxGWAOJSBAiApM99ubQylPmlz8yalAUBNYX7zGDaKLBWUWksC9BVWpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2738023},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.76.0_1733415603975_0.4310577463032712","host":"s3://npm-registry-packages"}},"4.76.1":{"name":"openai","version":"4.76.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.76.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3e844cef2f2d55814ff7c6e134700eacb7c9897b","tarball":"https://registry.npmjs.org/openai/-/openai-4.76.1.tgz","fileCount":906,"integrity":"sha512-ci63/WFEMd6QjjEVeH0pV7hnFS6CCqhgJydSti4Aak/8uo2SpgzKjteUDaY+OkwziVj11mi6j+0mRUIiGKUzWw==","signatures":[{"sig":"MEUCIE5tJZyfO87okuKdWsmbm4pu1NFQqjL4JXbiPYrNgie8AiEA7ys+61xX3M1BSzIB9D6Vp8d82Fz7U8kcqstf29j2UEc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2737971},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.76.1_1733844433623_0.07644443835417514","host":"s3://npm-registry-packages-npm-production"}},"4.76.2":{"name":"openai","version":"4.76.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.76.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"aeadbe2d51277579e0825fe97b9494aacb2c974f","tarball":"https://registry.npmjs.org/openai/-/openai-4.76.2.tgz","fileCount":906,"integrity":"sha512-T9ZyxAFwLNZz3onC+SFvSR0POF18egIsY8lLze9e2YBe1wzQNf8IHcIgFPWizGPpoCGv/9i3IdTAx3EnLmTL4A==","signatures":[{"sig":"MEQCIDYaAb3EwkrKnmosJo+fxHz8/8O0/Zj0K5FUgod54b6rAiBPMnWm0r5TYBYJbUdPkLu5zDCmTCYy7IBLQpXRn7xMXA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2736965},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.76.2_1734022796090_0.5456018241350931","host":"s3://npm-registry-packages-npm-production"}},"4.76.3":{"name":"openai","version":"4.76.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.76.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"67ea81b9ad330997593ba8bd0910d2f4a992740a","tarball":"https://registry.npmjs.org/openai/-/openai-4.76.3.tgz","fileCount":906,"integrity":"sha512-BISkI90m8zT7BAMljK0j00TzOoLvmc7AulPxv6EARa++3+hhIK5G6z4xkITurEaA9bvDhQ09kSNKA3DL+rDMwA==","signatures":[{"sig":"MEUCIBn3DfoBDSatZirqJSMBpmMiQXZP20vGlOPytVosSEBvAiEA1vfrKjAllF/lhU/XTvqVGIWKHcoDns7L2IUwMdf8KNY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2737481},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.76.3_1734105149512_0.49114731696819214","host":"s3://npm-registry-packages-npm-production"}},"4.77.0":{"name":"openai","version":"4.77.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.77.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"228f2d43ffa79ae9d8b5d4155e965da82e5ac330","tarball":"https://registry.npmjs.org/openai/-/openai-4.77.0.tgz","fileCount":906,"integrity":"sha512-WWacavtns/7pCUkOWvQIjyOfcdr9X+9n9Vvb0zFeKVDAqwCMDHB+iSr24SVaBAhplvSG6JrRXFpcNM9gWhOGIw==","signatures":[{"sig":"MEUCIEIweXArLHYjHmgRPam3q/w9dZ/YugeheiCSlDqD1LqwAiEAkH4DpFcjdPrloXngdwcC3DLBk4vyFOpRGKCJSL7egA4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2760441},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.77.0_1734459750884_0.7784700354040015","host":"s3://npm-registry-packages-npm-production"}},"5.0.0-alpha.0":{"name":"openai","version":"5.0.0-alpha.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.0.0-alpha.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"f6e95300ad728458b8e537260864300e32728c47","tarball":"https://registry.npmjs.org/openai/-/openai-5.0.0-alpha.0.tgz","fileCount":1172,"integrity":"sha512-sfxLpUQePGt3FRRAphDW22A5fdw/HYGD/o6HlGgnGI9DiGp8OxgWJ+Wkze9rgQgyNebC3quF3p8Y8gSZAtxxSw==","signatures":[{"sig":"MEYCIQCFEXajMCTydOyr6mPQMmHYEJMECK7lk0S4mkTPTD8O/AIhAOn2VNoFPRpxEL4TSYESXqo2Q1N73+z9v4e8rG3vPyiP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3371037},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./client.js":{"default":"./client.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./client.mjs":{"default":"./client.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2024 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","readmeFilename":"README.md","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.0.0-alpha.0_1734729239253_0.5997488981471488","host":"s3://npm-registry-packages-npm-production"}},"4.77.3":{"name":"openai","version":"4.77.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.77.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"10f6906f2f737a98b656b745a6b710e595ba2e4d","tarball":"https://registry.npmjs.org/openai/-/openai-4.77.3.tgz","fileCount":906,"integrity":"sha512-wLDy4+KWHz31HRFMW2+9KQuVuT2QWhs0z94w1Gm1h2Ut9vIHr9/rHZggbykZEfyiaJRVgw8ZS9K6AylDWzvPYw==","signatures":[{"sig":"MEUCIQCT7dX/AATiRjnIFe0Gp0/hwKJ/+6NUlAARBCIOGhYwigIgOLt2oafW4e4Lig/Rijkn+hHwkSCschBc2GEen0+BLQE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2763457},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.77.3_1735945247994_0.14956429096547397","host":"s3://npm-registry-packages-npm-production"}},"4.77.4":{"name":"openai","version":"4.77.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.77.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"1093d165efb3e13e763faf42fa62e34313e293e9","tarball":"https://registry.npmjs.org/openai/-/openai-4.77.4.tgz","fileCount":906,"integrity":"sha512-rShjKsZ/HXm1cSxXt6iFeZxiCohrVShawt0aRRQmbb+z/EXcH4OouyQZP1ShyZMb63LJajpl8aGw3DzEi8Wh9Q==","signatures":[{"sig":"MEUCICimP8yxE6GQorbpZ4dgSS1a6vZyVFrAM0xmMlWfDQ90AiEA2kRmY9s7piXQIoNuWFxAP4UsIovWf9O5jgaPo+LSAkA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2763798},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.77.4_1736353824980_0.2109498105480796","host":"s3://npm-registry-packages-npm-production"}},"4.78.0":{"name":"openai","version":"4.78.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.78.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"79a021de5247944f63c250bdc78e9aa74c8b2236","tarball":"https://registry.npmjs.org/openai/-/openai-4.78.0.tgz","fileCount":929,"integrity":"sha512-4rRsKkx++5m1zayxkryVH+K/z91cv1sRbaNJAhSQjZiSCQOR7eaM8KpfIssXrS9Hlpta7+VcuO/fi57pW8xGjA==","signatures":[{"sig":"MEYCIQDliFsrBtM/yom5zVrusQZIkvb+3xL6wnw0RIwQRUpdKgIhAMAUky76L2vi2T7N6NbA3fr8Frq/41436NsKLuYcI+0i","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2930792},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.78.0_1736457979278_0.9684415307111349","host":"s3://npm-registry-packages-npm-production"}},"4.78.1":{"name":"openai","version":"4.78.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.78.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"44c3b195d239891be9c9c53722539ad8a1fcc5f2","tarball":"https://registry.npmjs.org/openai/-/openai-4.78.1.tgz","fileCount":929,"integrity":"sha512-drt0lHZBd2lMyORckOXFPQTmnGLWSLt8VK0W9BhOKWpMFBEoHMoz5gxMPmVq5icp+sOrsbMnsmZTVHUlKvD1Ow==","signatures":[{"sig":"MEUCIDd1fUQl5jTvN+n5diIYZtYQgH72pCkbInpHDTGbIR7VAiEA2dzLNPHyazkNgSnN8O3VTQvtbMlZyIjQNtltOCaZfSM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2931623},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"zod":"^3.23.8"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.78.1_1736530861249_0.27141872558445024","host":"s3://npm-registry-packages-npm-production"}},"4.79.0":{"name":"openai","version":"4.79.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.79.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"8e8f5e0a738f5d1af15c011f332f2cac7ed77f5e","tarball":"https://registry.npmjs.org/openai/-/openai-4.79.0.tgz","fileCount":968,"integrity":"sha512-IweDKoFbTlm7ME+K0HRMPovpdJsiAkjy31H8EysZyZoXpMCKSN8LttG3/t3sNsSS3Si/TJVW0VsqYUqKXdAiGQ==","signatures":[{"sig":"MEQCIGs1Qwcob+nzd/AlWKCTdvI/c5xE7bkEF6eZ11SgEB4iAiB+c/bpKGX+tb1Do4YfX//5IvFX0E8Satoo6dLkx0aUpg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3000362},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.79.0_1737135453207_0.06627354141205122","host":"s3://npm-registry-packages-npm-production"}},"4.79.1":{"name":"openai","version":"4.79.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.79.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"2976f4d20d577cb5f9b7c6664de08745348d5461","tarball":"https://registry.npmjs.org/openai/-/openai-4.79.1.tgz","fileCount":968,"integrity":"sha512-M7P5/PKnT/S/B5v0D64giC9mjyxFYkqlCuQFzR5hkdzMdqUuHf8T1gHhPGPF5oAvu4+PO3TvJv/qhZoS2bqAkw==","signatures":[{"sig":"MEUCIAF18AqhaOG1zv0LZJGg4vtaHfSiRs+VO7/cwOf/C55jAiEAqd0vla9hq3zwp8qfFAjBKxUTr8SviQLvpIj8QJhgkN0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3001621},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.79.1_1737143355278_0.11929927746743951","host":"s3://npm-registry-packages-npm-production"}},"4.79.2":{"name":"openai","version":"4.79.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.79.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"249afa8d07850a814ba13814e6ccf763e1f4154f","tarball":"https://registry.npmjs.org/openai/-/openai-4.79.2.tgz","fileCount":968,"integrity":"sha512-hn2CpJGnw2fsZqzM5fuykrdzKzd5LopgvEBtABq6kERNqJe1F20866mcwjceL8lepBlr/t7NbQS/j6jpBb7hmQ==","signatures":[{"sig":"MEYCIQDpVU09i2UbMEVDZD3kEKGzgMbpUUFt6a/gTnvF2LzW6QIhAPnf3zDKgpRJQsdWeC0+iWtpA5IEWWejNSLGbiV20tUF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3002176},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.79.2_1737472647582_0.4031685774320297","host":"s3://npm-registry-packages-npm-production"}},"4.79.3":{"name":"openai","version":"4.79.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.79.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"49ebf9e0ec7f3371331213d36389909e83feee0d","tarball":"https://registry.npmjs.org/openai/-/openai-4.79.3.tgz","fileCount":968,"integrity":"sha512-0yAnr6oxXAyVrYwLC1jA0KboyU7DjEmrfTXQX+jSpE+P4i72AI/Lxx5pvR3r9i5X7G33835lL+ZrnQ+MDvyuUg==","signatures":[{"sig":"MEYCIQCda9qFPt3l6SPJ6n/gRHZF48a9V1mRdpIQZe54mdWlZQIhAMKFig7J/nEZKWf/pxngah8MAcFbgEzae/k48qYTZ0KL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3002447},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.79.3_1737477315020_0.6528337564504418","host":"s3://npm-registry-packages-npm-production"}},"4.79.4":{"name":"openai","version":"4.79.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.79.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d44a1520b7c940e234ba263ecd933b942cc4f679","tarball":"https://registry.npmjs.org/openai/-/openai-4.79.4.tgz","fileCount":975,"integrity":"sha512-c3rCDLDK4N6TpE4yQ1sl8eIkYET3tRjFcvm4lGga0qlBxaNL9RqUXg9DuhU+/UpzS3XA9dnRlc1H0vyQTRy65Q==","signatures":[{"sig":"MEQCIH2Ux6ra6K0lsFAm9SPJapD9XxuCvyMgjIp71Ao8KSBaAiB1oDZd2GFLTT9dWuSIDkUAhZHCvcJs0owl1b8K4pM45Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3004038},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.79.4_1737499227850_0.05365243438195422","host":"s3://npm-registry-packages-npm-production"}},"4.80.0":{"name":"openai","version":"4.80.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.80.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"693e5be69a21ed31658a5e0cd8132056cd7a6fb8","tarball":"https://registry.npmjs.org/openai/-/openai-4.80.0.tgz","fileCount":975,"integrity":"sha512-5TqdNQgjOMxo3CkCvtjzuSwuznO/o3q5aak0MTy6IjRvPtvVA1wAFGJU3eZT1JHzhs2wFb/xtDG0o6Y/2KGCfw==","signatures":[{"sig":"MEUCIQCA//g1RvqhnsW96iP5DHcnnjlUyH1Luw4jX4zduRH2xAIgKjSwihvmyyiuFavh+BmZaesWo/A1IXSDfhNPqUTOxEo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3005539},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.80.0_1737555954092_0.25621749268334737","host":"s3://npm-registry-packages-npm-production"}},"4.80.1":{"name":"openai","version":"4.80.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.80.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0869ae7d4efbe1794dbec9b648aa329d369cea36","tarball":"https://registry.npmjs.org/openai/-/openai-4.80.1.tgz","fileCount":975,"integrity":"sha512-+6+bbXFwbIE88foZsBEt36bPkgZPdyFN82clAXG61gnHb2gXdZApDyRrcAHqEtpYICywpqaNo57kOm9dtnb7Cw==","signatures":[{"sig":"MEQCIHpsKTtXh37CyjR2UqFMNjK8ve3xHBbu5NrESK2QHbTFAiA/EY5FELELMBcGltcH/Zr7PFZg0m0zbhPK2sSslMxnNQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3006684},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.80.1_1737745557786_0.5079119964681291","host":"s3://npm-registry-packages-npm-production"}},"4.81.0":{"name":"openai","version":"4.81.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.81.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3d92de8ca9bc769ed0d8a999706522f8833786ff","tarball":"https://registry.npmjs.org/openai/-/openai-4.81.0.tgz","fileCount":975,"integrity":"sha512-lXkFkV+He3O6RGnldHncRGef4uWHssDsAVwN5I3bWcgIdDPy/w8vgtIAwvZxAj49m4WiwWVD0+eGTJ9xOv/ISA==","signatures":[{"sig":"MEQCIHGA+wtXafgI90F3My/dzNr/0oGKjx6LsBNldwJhkY85AiBlB3XF4ig7TW16eY3tN+xMWz8KjRoxnIPYuuDuKwQDWw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3021454},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.81.0_1738181468151_0.8634281243685564","host":"s3://npm-registry-packages-npm-production"}},"4.82.0":{"name":"openai","version":"4.82.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.82.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"9a28ba6552f94639c2de4278255ad669940b6267","tarball":"https://registry.npmjs.org/openai/-/openai-4.82.0.tgz","fileCount":975,"integrity":"sha512-1bTxOVGZuVGsKKUWbh3BEwX1QxIXUftJv+9COhhGGVDTFwiaOd4gWsMynF2ewj1mg6by3/O+U8+EEHpWRdPaJg==","signatures":[{"sig":"MEYCIQCtku1tIv+zN5E5blN2ynJNTLoo3aGra3dQkRwumOqeywIhAJAcVHo4k06WaZ3tWUpG8E4CJi8PpCvmTdIxi9eqCybw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3039214},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.82.0_1738351128879_0.33627864334023627","host":"s3://npm-registry-packages-npm-production"}},"4.83.0":{"name":"openai","version":"4.83.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.83.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"mario-oai","email":"mario@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"87edfebecf8a4dc2317269dd704cf0ebd9f11979","tarball":"https://registry.npmjs.org/openai/-/openai-4.83.0.tgz","fileCount":975,"integrity":"sha512-fmTsqud0uTtRKsPC7L8Lu55dkaTwYucqncDHzVvO64DKOpNTuiYwjbR/nVgpapXuYy8xSnhQQPUm+3jQaxICgw==","signatures":[{"sig":"MEUCIHaOi+zOwIQvXBK6S32Hrum6NcSXyRAr9geT71WNB8CDAiEAxMvc89buGUlf7OPd2Ba+Z8pl81cQOf+FA0F5PR7WDEo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3047666},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.83.0_1738766046210_0.3284260400642358","host":"s3://npm-registry-packages-npm-production"}},"4.84.0":{"name":"openai","version":"4.84.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.84.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"986d3d99168988681ace3cd58f9220f9977bb41c","tarball":"https://registry.npmjs.org/openai/-/openai-4.84.0.tgz","fileCount":975,"integrity":"sha512-Smu45QjqWcPXkTHAI7GSeW+sI9ZOqB9VW4wiuhBvWLGHYC9dn/3rIpG8PUysbCT+ciVyDdEdsx0zkgKQDoOx9Q==","signatures":[{"sig":"MEUCIAzf3djiTfrmuD43PHAbMyj8iTKkipD2DSSBs1CeNwgSAiEAzmyZH2lTQkg5MW5YR6ivyAn37rqe8MxerODGrH89wlw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3055813},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.84.0_1739372781163_0.854073748444961","host":"s3://npm-registry-packages-npm-production"}},"4.84.1":{"name":"openai","version":"4.84.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.84.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"116826399df86a156621c4e4ddea7485b4b4819c","tarball":"https://registry.npmjs.org/openai/-/openai-4.84.1.tgz","fileCount":975,"integrity":"sha512-bVdFsfeVBXN59x9i26dHnYUkY5JPk19w7SydzMvJZDsA+FxwXZrQsUBtdwsQt/ZLuilcc/LzJG7mpJucO2DDHg==","signatures":[{"sig":"MEYCIQCWVYHd3ezEyp4H4m9+WzUi6sV+Oxu+z02CKo2M+vEgzgIhALUeW6Xns6FUi6Dv4JU20DWFV4R81hojHgbserXGZu2t","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3056300},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.84.1_1739451807490_0.2712664587531739","host":"s3://npm-registry-packages-npm-production"}},"4.85.0":{"name":"openai","version":"4.85.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.85.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"849c2e2a8baea77bc925ad24e7505976cbd0da6e","tarball":"https://registry.npmjs.org/openai/-/openai-4.85.0.tgz","fileCount":991,"integrity":"sha512-HRpbTBViDmccPU3PqPkv95ohkzcnSNQ7ERKNftUgB3kD/rbG45PdTPLPFnaWTS5DsDlGD41OH4BwanNW/tt+Ww==","signatures":[{"sig":"MEUCIF6X+Ts/IbFGe0hfSq76BQ5/5/VlV/b5AWc6pKqMzE49AiEA6Z7aPUjfdy6ElupvbfxuOAcdvwu9SyNz2cCLHMdggoM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3092209},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.85.0_1739477034954_0.2696221746980836","host":"s3://npm-registry-packages-npm-production"}},"4.85.1":{"name":"openai","version":"4.85.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.85.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"639058653cca92bebd74939751858e7958257670","tarball":"https://registry.npmjs.org/openai/-/openai-4.85.1.tgz","fileCount":998,"integrity":"sha512-jkX2fntHljUvSH3MkWh4jShl10oNkb+SsCj4auKlbu2oF4KWAnmHLNR5EpnUHK1ZNW05Rp0fjbJzYwQzMsH8ZA==","signatures":[{"sig":"MEUCIA6GrDNZjDcpt2q0HqARwY3w0dKZRWdG29AhDGwpqJ9FAiEA3q03Vx8j4IfR8n3uCrg51JZSUHAGSvfNvXPTbvYGqVo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3094835},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"],"require":["./*.js","./*/index.js"]},"./*.js":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.js","./*/index.js"]},"./*.mjs":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"]},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.85.1_1739534465514_0.48389414849630996","host":"s3://npm-registry-packages-npm-production"}},"4.85.2":{"name":"openai","version":"4.85.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.85.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"370702c56cd61c17c44c8c02c6a48229d5299903","tarball":"https://registry.npmjs.org/openai/-/openai-4.85.2.tgz","fileCount":998,"integrity":"sha512-ZQg3Q+K4A6M9dLFh5W36paZkZBQO+VbxMNJ1gUSyHsGiEWuXahdn02ermqNV68LhWQxdJQaWUFRAYpW/suTPWQ==","signatures":[{"sig":"MEUCIB4LcW9mWwkgRgPHO7HAwPAnkPeDERuNIt3XgyH3vME2AiEAxO65/R9ETb9UrmOXzOKS9AVgIsHN7CxjvFHki+c0bww=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3093208},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"],"require":["./*.js","./*/index.js"]},"./*.js":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.js","./*/index.js"]},"./*.mjs":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"]},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.85.2_1739917905699_0.7338218089155113","host":"s3://npm-registry-packages-npm-production"}},"4.85.3":{"name":"openai","version":"4.85.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.85.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"1d81819060102c2861bae1b67155f60866e262a8","tarball":"https://registry.npmjs.org/openai/-/openai-4.85.3.tgz","fileCount":998,"integrity":"sha512-KTMXAK6FPd2IvsPtglMt0J1GyVrjMxCYzu/mVbCPabzzquSJoZlYpHtE0p0ScZPyt11XTc757xSO4j39j5g+Xw==","signatures":[{"sig":"MEYCIQCKrr+938Ud+7VkOOMWk7tQaSzCzK+Nh4h0s71Ko2pu/QIhAPs/EpysUeRk3v1NO76nF2cplAnLE2zlgoLPSswS++U7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3094889},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"],"require":["./*.js","./*/index.js"]},"./*.js":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.js","./*/index.js"]},"./*.mjs":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"]},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.85.3_1740060792123_0.1461006861756644","host":"s3://npm-registry-packages-npm-production"}},"4.85.4":{"name":"openai","version":"4.85.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.85.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"fdf9d3228967b87221a112993501fa33a98f5d18","tarball":"https://registry.npmjs.org/openai/-/openai-4.85.4.tgz","fileCount":998,"integrity":"sha512-Nki51PBSu+Aryo7WKbdXvfm0X/iKkQS2fq3O0Uqb/O3b4exOZFid2te1BZ52bbO5UwxQZ5eeHJDCTqtrJLPw0w==","signatures":[{"sig":"MEYCIQCrH+6fc/7vMoHGpsSKqXWTuWOW7+RVfOMle0vr6PjcDwIhAOWadUG7WE2MI92/XCeSBIax6CO+wBRJASKDTuTtXxzK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3095228},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"],"require":["./*.js","./*/index.js"]},"./*.js":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.js","./*/index.js"]},"./*.mjs":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"]},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.85.4_1740257825519_0.02111260064701903","host":"s3://npm-registry-packages-npm-production"}},"4.86.0":{"name":"openai","version":"4.86.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.86.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"fe5cddcf6c9c71fde46e227da9448d682010d73a","tarball":"https://registry.npmjs.org/openai/-/openai-4.86.0.tgz","fileCount":998,"integrity":"sha512-ggnH3vm+o9UvVQl/MxzDgpxsH9j7UoD17AeICcLSr1NCNb8PfwgMlp/K56ErQUxpkkcIA5mNkTuJAFSnoHej8A==","signatures":[{"sig":"MEQCIDkmS7+C7ZmF3+b3qdpH6+jRCJckw6DAAM32qlitPEG8AiBIhpfUdHHai3X5eBNLygK1dYYLIAvwVPYRo9owsJSybw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3098515},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"],"require":["./*.js","./*/index.js"]},"./*.js":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.js","./*/index.js"]},"./*.mjs":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"]},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.86.0_1740687093460_0.028886061993110168","host":"s3://npm-registry-packages-npm-production"}},"4.86.1":{"name":"openai","version":"4.86.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.86.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"4147252d5e6255e2ae716ea59b1d4e54a1c1472a","tarball":"https://registry.npmjs.org/openai/-/openai-4.86.1.tgz","fileCount":998,"integrity":"sha512-x3iCLyaC3yegFVZaxOmrYJjitKxZ9hpVbLi+ZlT5UHuHTMlEQEbKXkGOM78z9qm2T5GF+XRUZCP2/aV4UPFPJQ==","signatures":[{"sig":"MEUCIAPN6lRbQ8t/7o1r9Qx7DNUY2H7vmdHVH4LJcnKJl1ssAiEA+Ah26TZbNAZ+reRM0JXB1/LNccr729DYrXN17tT4+p8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3098874},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"],"require":["./*.js","./*/index.js"]},"./*.js":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.js","./*/index.js"]},"./*.mjs":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"]},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.86.1_1740694889431_0.13147867186921314","host":"s3://npm-registry-packages-npm-production"}},"5.0.0-beta.0":{"name":"openai","version":"5.0.0-beta.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.0.0-beta.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"77bac4b67225ccfe238d9bdb29cf995527507405","tarball":"https://registry.npmjs.org/openai/-/openai-5.0.0-beta.0.tgz","fileCount":1306,"integrity":"sha512-IxZJhgYElo09hycDAX/z839AG55IG2m5Nj3Si36MKgcSzyEFMxRhdaNUHlj23mNHhLBXu9aOTKyzUsa1T0gSxw==","signatures":[{"sig":"MEUCIQDkYP5OtyjCrDoZisniobz4CtCEm4IfuU5nlhwic4OtTgIgStU8fE+ULzOpJ1EJmwmYRblm1727/olb4Hlv/bZHOYQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3747712},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":["./lib/*.mjs","./lib/*/index.mjs"],"require":["./lib/*.js","./lib/*/index.js"]},"./beta/*":{"import":["./beta/*.mjs","./beta/*/index.mjs"],"require":["./beta/*.js","./beta/*/index.js"]},"./client":{"import":"./client.mjs","require":"./client.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":["./lib/*.js","./lib/*/index.js"]},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":["./_vendor/*.mjs","./_vendor/*/index.mjs"],"require":["./_vendor/*.js","./_vendor/*/index.js"]},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":["./beta/*.js","./beta/*/index.js"]},"./client.js":{"default":"./client.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":["./helpers/*.mjs","./helpers/*/index.mjs"],"require":["./helpers/*.js","./helpers/*/index.js"]},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":["./lib/*.mjs","./lib/*/index.mjs"]},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":["./beta/*.mjs","./beta/*/index.mjs"]},"./client.mjs":{"default":"./client.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":["./resources/*.mjs","./resources/*/index.mjs"],"require":["./resources/*.js","./resources/*/index.js"]},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":["./_vendor/*.js","./_vendor/*/index.js"]},"./helpers/*.js":{"default":["./helpers/*.js","./helpers/*/index.js"]},"./resource.mjs":{"default":"./resource.mjs"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":["./_vendor/*.mjs","./_vendor/*/index.mjs"]},"./helpers/*.mjs":{"default":["./helpers/*.mjs","./helpers/*/index.mjs"]},"./pagination.js":{"default":"./pagination.js"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":["./resources/*.js","./resources/*/index.js"]},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":["./resources/*.mjs","./resources/*/index.mjs"]}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","resolutions":{"synckit":"0.8.8"},"dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","readmeFilename":"README.md","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.0.0-beta.0_1741188639665_0.7853821796206342","host":"s3://npm-registry-packages-npm-production"}},"4.86.2":{"name":"openai","version":"4.86.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.86.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d3ba44c6b81471b9e2d38515e0ab86ad73a02c85","tarball":"https://registry.npmjs.org/openai/-/openai-4.86.2.tgz","fileCount":998,"integrity":"sha512-nvYeFjmjdSu6/msld+22JoUlCICNk/lUFpSMmc6KNhpeNLpqL70TqbD/8Vura/tFmYqHKW0trcjgPwUpKSPwaA==","signatures":[{"sig":"MEQCIGH5HaOL7tzuEUbVzr9oHEVi7qXEdVdGgvs9appvKsZDAiAmus7rl5ElpbBXxJtIypT9qlrsXXeB0ep7si6mzwQu4Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3099213},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"],"require":["./*.js","./*/index.js"]},"./*.js":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.js","./*/index.js"]},"./*.mjs":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"]},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.86.2_1741218791332_0.46031842814260404","host":"s3://npm-registry-packages-npm-production"}},"4.87.0":{"name":"openai","version":"4.87.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.87.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0fda0dfe120f85e0e8975afaecf8ff4e75efe4c3","tarball":"https://registry.npmjs.org/openai/-/openai-4.87.0.tgz","fileCount":1044,"integrity":"sha512-+rKzPVP4fE8wFvsKrCcS8qBOx0vStzNELq36tVZ+hbBvWKDx0tl2CoQS2wBy7w5CHEvVEJC50BI/WYArmVLe+A==","signatures":[{"sig":"MEUCIFuGqYkBwVZhgSV4Uw7ittu93gnJbXbGHzyTHX/a4TWuAiEA46fjYcxmhnqMS+hLaOwI5/evPMOtU2Zz7TkYVICRJPw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3442668},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"],"require":["./*.js","./*/index.js"]},"./*.js":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.js","./*/index.js"]},"./*.mjs":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"]},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.87.0_1741711068760_0.7172122505973337","host":"s3://npm-registry-packages-npm-production"}},"4.87.1":{"name":"openai","version":"4.87.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.87.1","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3eed04ec063c76bda3ddacb52ea27d481b7b6016","tarball":"https://registry.npmjs.org/openai/-/openai-4.87.1.tgz","fileCount":1044,"integrity":"sha512-mwZ4N4KKGUE5JSTR4IdQZzuxFyStJFqSR62JuWob7ka286tbFacYkOf+Ypk/2IPAUCmhzft5C3UqzcFYaliVMA==","signatures":[{"sig":"MEUCIFFxLzcf4AtF7V7KI8tkw8U+E1IVFE3noDT8NSYM81B7AiEAgGbYAqoG962DcxouzphjlELgESY3jqk3ofBfAmH7NL8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3442965},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"],"require":["./*.js","./*/index.js"]},"./*.js":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.js","./*/index.js"]},"./*.mjs":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"]},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.87.1_1741712131987_0.5994960899339958","host":"s3://npm-registry-packages-npm-production"}},"4.87.2":{"name":"openai","version":"4.87.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.87.2","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"088033dc2e9124f60519c745599a2b3721ee4bfd","tarball":"https://registry.npmjs.org/openai/-/openai-4.87.2.tgz","fileCount":1044,"integrity":"sha512-6Qh0aMw/QhunY8BSPfLNaQiCXdk0xv7roynLeT7BKHOxM9sFpVke/39EwfpLjWfHeWJbJ2ngMvL88N/3tD6gHQ==","signatures":[{"sig":"MEUCIE3OZDwN+gKAOeN7i9vFhT1cz/cvhMD3+HDrGgBLDAnvAiEAieyoe5dgIVkIHMfatTnKzNUFU2mf6weCCoKZquVQwj0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3443261},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"],"require":["./*.js","./*/index.js"]},"./*.js":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.js","./*/index.js"]},"./*.mjs":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"]},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.87.2_1741715906572_0.6179054434631419","host":"s3://npm-registry-packages-npm-production"}},"4.87.3":{"name":"openai","version":"4.87.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.87.3","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"82679f09d91f0e8e9da94b9ee0369c44733577da","tarball":"https://registry.npmjs.org/openai/-/openai-4.87.3.tgz","fileCount":1044,"integrity":"sha512-d2D54fzMuBYTxMW8wcNmhT1rYKcTfMJ8t+4KjH2KtvYenygITiGBgHoIrzHwnDQWW+C5oCA+ikIR2jgPCFqcKQ==","signatures":[{"sig":"MEUCIQCR2hA4nUjKlU+AmK2DWv+rdZZU8Ynq/4pY4zbQtYtFLwIgXGkZFBnaB4YnJ8KVrJG6PZw2dKI5VCir+UjqIWEytjw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3440933},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"],"require":["./*.js","./*/index.js"]},"./*.js":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.js","./*/index.js"]},"./*.mjs":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"]},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.87.3_1741729992505_0.16758866598219613","host":"s3://npm-registry-packages-npm-production"}},"4.87.4":{"name":"openai","version":"4.87.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.87.4","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"f9d8da366a1ded2c7aa92cb9f2256755d0e58902","tarball":"https://registry.npmjs.org/openai/-/openai-4.87.4.tgz","fileCount":1045,"integrity":"sha512-lsfM20jZY4A0lNexfoUAkfmrEXxaTXvv8OKYicpeAJUNHObpRgkvC7pxPgMnB6gc9ID8OCwzzhEhBpNy69UR7w==","signatures":[{"sig":"MEUCIQCfb6zaTHM8844zF9hRQKLK4g2Y9rPabdE5PZJJRarDjQIgVWhUNYtHIrifIC7hEdhXnwgSIBR9uP0mBAP1NBUT0K4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3443915},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"],"require":["./*.js","./*/index.js"]},"./*.js":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.js","./*/index.js"]},"./*.mjs":{"types":["./*.d.ts","./*/index.d.ts"],"default":["./*.mjs","./*/index.mjs"]},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.87.4_1742334132287_0.8212672434966655","host":"s3://npm-registry-packages-npm-production"}},"4.88.0":{"name":"openai","version":"4.88.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.88.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d7f1345fbd60cfee8888f2c452de0a43d9cfc947","tarball":"https://registry.npmjs.org/openai/-/openai-4.88.0.tgz","fileCount":1052,"integrity":"sha512-Ll2ZJCdX/56WcCF/wLtAFou+zWRyLeneoXy+qya5T5/wm5LkIr6heJfSn53c5ujXWPB+24cgumiOetbFqcppFA==","signatures":[{"sig":"MEUCIQCtEtH5M6OqwLR13fjcyRhGiV0Qqq19XHAZf/lc3pb1ygIgdL7CsizS3a9YC3+rIsuVvI/5OSDhTq7vvV8XXcFfKWM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3447083},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.88.0_1742422576014_0.20369838181659872","host":"s3://npm-registry-packages-npm-production"}},"4.89.0":{"name":"openai","version":"4.89.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.89.0","maintainers":[{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"82282928c5e1f1a9fa1a96b8ced8b76314b9ff05","tarball":"https://registry.npmjs.org/openai/-/openai-4.89.0.tgz","fileCount":1066,"integrity":"sha512-XNI0q2l8/Os6jmojxaID5EhyQjxZgzR2gWcpEjYWK5hGKwE7AcifxEY7UNwFDDHJQXqeiosQ0CJwQN+rvnwdjA==","signatures":[{"sig":"MEYCIQDx8+ZPz6MDLPz+Q1DtPT1S/ayxfXIUuL+Ia9l7uAx+FQIhAK0Hjw/ITTsfyA9zeeQjL192deHUUbBE7Whe6Boqc6nE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3566102},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.89.0_1742488644200_0.6785076387615969","host":"s3://npm-registry-packages-npm-production"}},"4.89.1":{"name":"openai","version":"4.89.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.89.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3e75cae79a282af46af3c54996c97e0113532c62","tarball":"https://registry.npmjs.org/openai/-/openai-4.89.1.tgz","fileCount":1066,"integrity":"sha512-k6t7WfnodIctPo40/9sy7Ww4VypnfkKi/urO2VQx4trCIwgzeroO1jkaCL2f5MyTS1H3HT9X+M2qLsc7NSXwTw==","signatures":[{"sig":"MEQCIDH/I9D7PKCsWeTC9BUV/Xi7malyjdSI9SRKiO+sZHyqAiBOD9TSdemF8vJ0+JhcBudEtvME8pFfpSMe5yFVmC3izA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3598857},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.89.1_1742995316407_0.7853285060001824","host":"s3://npm-registry-packages-npm-production"}},"4.90.0":{"name":"openai","version":"4.90.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.90.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"2a6e3069aba410b43e5da064b05abcd330f1f3fc","tarball":"https://registry.npmjs.org/openai/-/openai-4.90.0.tgz","fileCount":1066,"integrity":"sha512-YCuHMMycqtCg1B8G9ezkOF0j8UnBWD3Al/zYaelpuXwU1yhCEv+Y4n9G20MnyGy6cH4GsFwOMrgstQ+bgG1PtA==","signatures":[{"sig":"MEUCIFDD/LLUR4EKeC9D5PES9544bojaIxTgni/n/iVEYDrHAiEAqdNWKHptBwgBhNYJfTfgsBEakCvtPlMrAoVVJVz+eoA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3604579},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.90.0_1743098709600_0.4159364870406752","host":"s3://npm-registry-packages-npm-production"}},"4.91.0":{"name":"openai","version":"4.91.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.91.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"8f0cd47e9edb70939697e1aa138b22ef929a2bd9","tarball":"https://registry.npmjs.org/openai/-/openai-4.91.0.tgz","fileCount":1066,"integrity":"sha512-zdDg6eyvUmCP58QAW7/aPb+XdeavJ51pK6AcwZOWG5QNSLIovVz0XonRL9vARGJRmw8iImmvf2A31Q7hoh544w==","signatures":[{"sig":"MEQCIHXlP9HnCAsHH4RSw6+vyNqci2ZS9Iu8e+5VfW25ThhgAiB88P/2jBrW79zCRQEBo5ohQvFN2abte1I/eFwBgnxiDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3616615},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.91.0_1743443171848_0.9818135318050354","host":"s3://npm-registry-packages-npm-production"}},"4.91.1":{"name":"openai","version":"4.91.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.91.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"52ceecaf19bfe90bcda28418b2266db81439401d","tarball":"https://registry.npmjs.org/openai/-/openai-4.91.1.tgz","fileCount":1066,"integrity":"sha512-DbjrR0hIMQFbxz8+3qBsfPJnh3+I/skPgoSlT7f9eiZuhGBUissPQULNgx6gHNkLoZ3uS0uYS6eXPUdtg4nHzw==","signatures":[{"sig":"MEUCIQDy0cOSxCMjiVtAfLHpPfps36WV3CaoBVi9z7o/LKQ4XgIgdIrhWH6NQZQH+b/NJJX7kgJJP9J6VXNq6eNjncwjK/E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3617062},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.91.1_1743534288414_0.6438443782831764","host":"s3://npm-registry-packages-npm-production"}},"4.92.0":{"name":"openai","version":"4.92.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.92.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"7d5505637399d688cb5386319637d521258444f5","tarball":"https://registry.npmjs.org/openai/-/openai-4.92.0.tgz","fileCount":1066,"integrity":"sha512-vLIBP8gygD5M7XIrdBkUFKnfEq3EmaI+lmGjDDAmjahzmdhwdpzDA+GBA4ZZwj7rgu1WMNh9/SqyTysxMulC2g==","signatures":[{"sig":"MEUCIAGelHWwUIp7ZpD6D5mLwhUp6/eMsZVJFopRBjxzTAxnAiEA8VwjsSukAGLZvO4b92tkrbAGnwNlEW0M0r1tYWwzkGc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3620365},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.92.0_1744025950185_0.5609025011719404","host":"s3://npm-registry-packages-npm-production"}},"4.92.1":{"name":"openai","version":"4.92.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.92.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"554e1aed4a9072acf4491ee3ef725a35871276b0","tarball":"https://registry.npmjs.org/openai/-/openai-4.92.1.tgz","fileCount":1066,"integrity":"sha512-rFjyiQF/eHXIuzyoT2qkCY/xmI+zyq9xlMZmOEFkSsyGhc8tpNaf7rW25m5uTddnk6B5gRfRX640onMhAQyTww==","signatures":[{"sig":"MEYCIQCsG9g2nWJ/3O7u4Yem9xiALN1ZD0RgUOhvwwfAReo/+AIhALnQCvyEa50J0cRwf6O6u6uFiU365iznynSmDnXfbnH+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3620720},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.92.1_1744055354041_0.8518801726643648","host":"s3://npm-registry-packages-npm-production"}},"4.93.0":{"name":"openai","version":"4.93.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.93.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"12e74a5bff0b15fdb12e523232af1a8d5ee11e3f","tarball":"https://registry.npmjs.org/openai/-/openai-4.93.0.tgz","fileCount":1149,"integrity":"sha512-2kONcISbThKLfm7T9paVzg+QCE1FOZtNMMUfXyXckUAoXRRS/mTP89JSDHPMp8uM5s0bz28RISbvQjArD6mgUQ==","signatures":[{"sig":"MEUCIQCCxzg7/wxVdlM4fdZVYVRe+IEEvH3TQAeobO0wjXQODAIgPd9s9SyytiVZN56H3NcPMjRoTeDh33lzwbVtp7IO51g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3818136},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.93.0_1744141999378_0.05526372093257037","host":"s3://npm-registry-packages-npm-production"}},"4.94.0":{"name":"openai","version":"4.94.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.94.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d5fb3f39ec0e2090687dc9f97db4ca05200e27ca","tarball":"https://registry.npmjs.org/openai/-/openai-4.94.0.tgz","fileCount":1149,"integrity":"sha512-WVmr9HWcwfouLJ7R3UHd2A93ClezTPuJljQxkCYQAL15Sjyt+FBNoqEz5MHSdH/ebQrVyvRhFyn/bvdqtSPyIA==","signatures":[{"sig":"MEUCIEWhW2nQYUQDiee4FgyA1L9e+BvcHgZbrlqxGlhPQwh0AiEAmcO8nXXdi1rR19H/SHJ+J/D8S705DLiFTYJE1ID8mEk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3819963},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.94.0_1744649052005_0.8041943917477288","host":"s3://npm-registry-packages-npm-production"}},"4.95.0":{"name":"openai","version":"4.95.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.95.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"e391f02561874b7cd5e8becd56feec77d88be32f","tarball":"https://registry.npmjs.org/openai/-/openai-4.95.0.tgz","fileCount":1149,"integrity":"sha512-tWHLTA+/HHyWlP8qg0mQLDSpI2NQLhk6zHLJL8yb59qn2pEI8rbEiAGSDPViLvi3BRDoQZIX5scaJ3xYGr2nhw==","signatures":[{"sig":"MEQCIEbLVf+6gi+zcTFvSyPBBlscifkVMa8fYxnFSJ/NjZ9FAiBsUNcInHrF1R4CsC+WqzPsdZwjNp89MNp0F9W9DVUT/w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3830079},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.95.0_1744822210811_0.6256752248228126","host":"s3://npm-registry-packages-npm-production"}},"4.95.1":{"name":"openai","version":"4.95.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.95.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"7157697c2b150a546b13eb860180c4a6058051da","tarball":"https://registry.npmjs.org/openai/-/openai-4.95.1.tgz","fileCount":1149,"integrity":"sha512-IqJy+ymeW+k/Wq+2YVN3693OQMMcODRtHEYOlz263MdUwnN/Dwdl9c2EXSxLLtGEHkSHAfvzpDMHI5MaWJKXjQ==","signatures":[{"sig":"MEUCIQC5oxPPsgz49m9arX9T2r7g5DZJ8tiGQiUwnWPvA+8C8QIgJ3hchJZLRE/wnwZ/F4Z95Dixhr4sejSDyMEZAeEfHzI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3832047},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.95.1_1744991584285_0.40071297868965794","host":"s3://npm-registry-packages-npm-production"}},"4.96.0":{"name":"openai","version":"4.96.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.96.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d1a821e99949ac2c55709f4e28e18bb1d9fd8ef9","tarball":"https://registry.npmjs.org/openai/-/openai-4.96.0.tgz","fileCount":1149,"integrity":"sha512-dKoW56i02Prv2XQolJ9Rl9Svqubqkzg3QpwEOBuSVZLk05Shelu7s+ErRTwFc1Bs3JZ2qBqBfVpXQiJhwOGG8A==","signatures":[{"sig":"MEQCIH/NMHaJNaI3TB4spxaluPBFuCpgy3bevpHTyITr/CKsAiBaxUc0VfPSkNZE93Y5ZfsNqCClx7E1XRW/CHEQpqT/YA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3969850},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.96.0_1745426025054_0.10796439609440123","host":"s3://npm-registry-packages-npm-production"}},"4.96.1":{"name":"openai","version":"4.96.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.96.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"8f6f8a85f96ca77c455e5e8552914bf01cd9b61c","tarball":"https://registry.npmjs.org/openai/-/openai-4.96.1.tgz","fileCount":1149,"integrity":"sha512-i3pzh6AlfX7YQg8gc5qWyYuybxhneGZhkSBel2LsENq5uZvxG1S4euuYe+lGJUhmRhamrKIGulZ0Qm+NtWtk+g==","signatures":[{"sig":"MEQCIFEapRKmnaU2duz61JVz7frbmkDYfxMFVQ0OAomuEb1OAiB46YowZeiR/wQGydH336WJCdJ6TPzBBD4NPB/oTQJEuA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3970520},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.96.1_1745946571431_0.9850920300848607","host":"s3://npm-registry-packages-npm-production"}},"4.96.2":{"name":"openai","version":"4.96.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.96.2","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"a7d360597f273a5f6ed8dd22914e598013022fa4","tarball":"https://registry.npmjs.org/openai/-/openai-4.96.2.tgz","fileCount":1149,"integrity":"sha512-R2XnxvMsizkROr7BV3uNp1q/3skwPZ7fmPjO1bXLnfB4Tu5xKxrT1EVwzjhxn0MZKBKAvOaGWS63jTMN6KrIXA==","signatures":[{"sig":"MEUCIQCyzMFDBAzRYp1u4B4WLsms4YRXtGtp6q6IZ/u1eE/KkAIgQ9K2sfXjMRynRG4WHU3yuD74sfvIRwktsAwFbwwUdGg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3971171},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.96.2_1745951593934_0.23296734297686617","host":"s3://npm-registry-packages-npm-production"}},"4.97.0":{"name":"openai","version":"4.97.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.97.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"4e2e85c79499c1d44b58f97b3a8ec1d6bfe403b3","tarball":"https://registry.npmjs.org/openai/-/openai-4.97.0.tgz","fileCount":1149,"integrity":"sha512-LRoiy0zvEf819ZUEJhgfV8PfsE8G5WpQi4AwA1uCV8SKvvtXQkoWUFkepD6plqyJQRghy2+AEPQ07FrJFKHZ9Q==","signatures":[{"sig":"MEUCIQCxBYg9eyTG29faeuj7mwrhMVIJFYLsTOy6Wf9t7JdgdAIgTCY6xP0AWOdv7bbKYJQsLhpusuLJu+zB1bkaeEVRW4Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3976309},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.97.0_1746213426589_0.3067507886707703","host":"s3://npm-registry-packages-npm-production"}},"4.98.0":{"name":"openai","version":"4.98.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.98.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"81d8228e06e5d9195bac3b170af42a5454391999","tarball":"https://registry.npmjs.org/openai/-/openai-4.98.0.tgz","fileCount":1216,"integrity":"sha512-TmDKur1WjxxMPQAtLG5sgBSCJmX7ynTsGmewKzoDwl1fRxtbLOsiR0FA/AOAAtYUmP6azal+MYQuOENfdU+7yg==","signatures":[{"sig":"MEYCIQCi/s9nr5j8LOLxH3ZexIVz6PgxUYh7w/EnCoMwtEvCJgIhAI/mpSzl/+JDEakFu+92nEpNqzupAtrCIyUCrhGjOBkj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4034680},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.98.0_1746725296752_0.9138475227643355","host":"s3://npm-registry-packages-npm-production"}},"4.99.0":{"name":"openai","version":"4.99.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.99.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"11fd7861f6156ac31258bee7e446d8a0a16627f1","tarball":"https://registry.npmjs.org/openai/-/openai-4.99.0.tgz","fileCount":1216,"integrity":"sha512-E2bd6ghsKF6iV6B4vuhREtdpeB/8dNUnWcPIt5VmnM019/mXxOdqisnIcn4e1zWt1H8BpeMY2HwKJ3UIin6baA==","signatures":[{"sig":"MEYCIQD/MfC3R5nTIjXjLMs2UL3Fsuo6Ki8SD6SrgLH5eBghXwIhAOyOKjtOV4Jrfoxz8IQ7Ta6HX2Thl2+p2KAEJwDc2tAX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4048125},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.99.0_1747415585602_0.07671968456902212","host":"s3://npm-registry-packages-npm-production"}},"4.100.0":{"name":"openai","version":"4.100.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.100.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"eb630a97f3531b7c91906b3a42920f9873efa392","tarball":"https://registry.npmjs.org/openai/-/openai-4.100.0.tgz","fileCount":1216,"integrity":"sha512-9soq/wukv3utxcuD7TWFqKdKp0INWdeyhUCvxwrne5KwnxaCp4eHL4GdT/tMFhYolxgNhxFzg5GFwM331Z5CZg==","signatures":[{"sig":"MEQCICVlnJXefsyPKEuS8XRrghbWLB7xs0UV8UWtaaF0ub7yAiBb4rxz4dWgm0FLoY4pvJJ4Ilag4ZaTKQLG0++0BkrMrg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4051848},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.100.0_1747424975191_0.2208431025571298","host":"s3://npm-registry-packages-npm-production"}},"4.101.0":{"name":"openai","version":"4.101.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.101.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"89929f9cc28ba195db372690393b7c3dbf4900a7","tarball":"https://registry.npmjs.org/openai/-/openai-4.101.0.tgz","fileCount":1216,"integrity":"sha512-fBsmtOXm3vEBDcL24fqXtDIotKIZ/CY+DsvbCejFp0n+KUh03UrZZosdgCynx5vP+REVJYz4p4mRvz3y6aeQsg==","signatures":[{"sig":"MEUCIFw7fa9rOld+Wt6VWRE31PXO9mtlN9rqKOaovZKOUbsPAiEAnn6jYExkjzzgtAG9d/m18BHJXx0YfEIZjx0/REDr5XI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4135725},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.101.0_1747844954232_0.8444846135588999","host":"s3://npm-registry-packages-npm-production"}},"4.102.0":{"name":"openai","version":"4.102.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.102.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"fcf09d2ad2b33eb399fe79bb43df1872bf2a15c8","tarball":"https://registry.npmjs.org/openai/-/openai-4.102.0.tgz","fileCount":1269,"integrity":"sha512-CWk15CMhPSHNZnjz+6rwVYV551xaC8CwOd7/zxImrC1btEo37dX/Ii5tBKWfqqxqyzpJ6p3Y4bICzzKhW03WhQ==","signatures":[{"sig":"MEQCIFHWsRGfWzBBwUclWOVktMM5RqhSthX0N/uTxr9nsWSZAiAuH+YASkQz65TlsngvIbch9RgIDhO/2cu+yaq3COAYaQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4208386},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.102.0_1747852882603_0.029883718286696448","host":"s3://npm-registry-packages-npm-production"}},"4.103.0":{"name":"openai","version":"4.103.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.103.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"84ee52fec22f3486dcc107338b2eaf568ef4924b","tarball":"https://registry.npmjs.org/openai/-/openai-4.103.0.tgz","fileCount":1269,"integrity":"sha512-eWcz9kdurkGOFDtd5ySS5y251H2uBgq9+1a2lTBnjMMzlexJ40Am5t6Mu76SSE87VvitPa0dkIAp75F+dZVC0g==","signatures":[{"sig":"MEUCIQDnZrFtuCVqknCC3nGuhioEFkcPC/dlo1nthUuKVtBnKwIgSkyDmFiuBHVE+wy9724LdEOXXgxtE6GctJ9OOy9UIrg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4213230},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.103.0_1747944529617_0.3801082176492525","host":"s3://npm-registry-packages-npm-production"}},"4.104.0":{"name":"openai","version":"4.104.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@4.104.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"c489765dc051b95019845dab64b0e5207cae4d30","tarball":"https://registry.npmjs.org/openai/-/openai-4.104.0.tgz","fileCount":1269,"integrity":"sha512-p99EFNsA/yX6UhVO93f5kJsDRLAg+CTA2RBqdHK4RtK8u5IJw32Hyb2dTGKbnnFmnuoBv5r7Z2CURI9sGZpSuA==","signatures":[{"sig":"MEUCIQCpy6L2kK3ySWMFp9P4uadvevJ0XFtw5HQ4F0ufidijdAIgT7iYTqZdqQ23vIriIvrCfzqoshikYJye2RsrK1COALk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4222385},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./_shims/auto/*":{"bun":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*-bun.mjs","require":"./_shims/auto/*-bun.js"},"deno":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"node":{"types":"./_shims/auto/*-node.d.ts","default":"./_shims/auto/*-node.mjs","require":"./_shims/auto/*-node.js"},"types":"./_shims/auto/*.d.ts","worker":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"browser":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"},"default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js","workerd":{"types":"./_shims/auto/*.d.ts","default":"./_shims/auto/*.mjs","require":"./_shims/auto/*.js"}}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","sideEffects":["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"],"dependencies":{"node-fetch":"^2.6.7","@types/node":"^18.11.18","formdata-node":"^4.3.2","agentkeepalive":"^4.2.1","abort-controller":"^3.0.0","@types/node-fetch":"^2.6.4","form-data-encoder":"1.7.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_4.104.0_1748535302818_0.7895953467290464","host":"s3://npm-registry-packages-npm-production"}},"5.0.0":{"name":"openai","version":"5.0.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.0.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3e724abcf5a7cfdcaa8ccb382cbf1ca419f0a33b","tarball":"https://registry.npmjs.org/openai/-/openai-5.0.0.tgz","fileCount":1783,"integrity":"sha512-+SpXfUFIn9MP82UQBUVINuZE4u3EWfgegMx/5Vb4sW3ihtobBCivarATKpAZ57wUzSFCxLXzTU5r4oVjpp0XVw==","signatures":[{"sig":"MEUCIQDtO5CEPz7NKvij5S29L8eQqEf+EWbwntOoMdWB14Dl5gIgFoCPZ5B4pjBa1ZvvfW0RbjszW/kngIdxMbETZANR4s8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5427665},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","resolutions":{"synckit":"0.8.8"},"dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.0.0_1748537075274_0.3507817683294894","host":"s3://npm-registry-packages-npm-production"}},"5.0.1":{"name":"openai","version":"5.0.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.0.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"c7cabc4cb13554f8506158364566c16514d051fe","tarball":"https://registry.npmjs.org/openai/-/openai-5.0.1.tgz","fileCount":1783,"integrity":"sha512-Do6vxhbDv7cXhji/4ct1lrpZYMAOmjYbhyA9LJTuG7OfpbWMpuS+EIXkRT7R+XxpRB1OZhU/op4FU3p3uxU6gw==","signatures":[{"sig":"MEUCIQCbdw6rbm45xLZ6dyHgFLnIUsjrEOp1w/CcmqluyUjPnwIgKJ0PtcnxUxjTwQJvhSrf34tdDFMyhUYiE65QHeIgPok=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5428063},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","resolutions":{"synckit":"0.8.8"},"dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.0.1_1748540669061_0.6484874859453307","host":"s3://npm-registry-packages-npm-production"}},"5.0.2":{"name":"openai","version":"5.0.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.0.2","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"783769ffe8860ba33d11e9caeb5dc96efa816304","tarball":"https://registry.npmjs.org/openai/-/openai-5.0.2.tgz","fileCount":1783,"integrity":"sha512-NN7LAAImgBmd4RIe6WyRpLmwCbn+HQ1iaXeIG7K9DM3Auy/G2waKFhrDfRgaEeY0UUPnm6nohaCsqcS+zO8+2g==","signatures":[{"sig":"MEQCIBUYBp5HNsgmQ16Oo6k94CtV4bJam3RZyGSwjpBGtXjSAiBh/FV2gmY3Me3hTH8dfT5U4xz5Q+1DbdeVUlCE0NQA1w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5433006},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.0.2_1748893300196_0.19611729343933781","host":"s3://npm-registry-packages-npm-production"}},"5.1.0":{"name":"openai","version":"5.1.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.1.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"76543d5c9e40e3f284e30efd25a2f6cb257c1341","tarball":"https://registry.npmjs.org/openai/-/openai-5.1.0.tgz","fileCount":1783,"integrity":"sha512-YQBgPJykHrDOlngB/8QpOsFNg36yofBatpeDWg1zejl9R59/ELuN7AMPSU95ZIdChbKc/o5vg1UnBJ1OEB0IJA==","signatures":[{"sig":"MEQCIGWAcpNskZMo8n60S9C9FbPQJgI7hCFOBKjv2uLoHBI5AiBdoXgRYu78VZsVUYFm0a4T/k7/6f1h4s8bYmJvPt1eNQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5450799},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.1.0_1748970591629_0.6694206851561466","host":"s3://npm-registry-packages-npm-production"}},"5.1.1":{"name":"openai","version":"5.1.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.1.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"b09f43520e1b6321d487e39c3295cbbe11827def","tarball":"https://registry.npmjs.org/openai/-/openai-5.1.1.tgz","fileCount":1789,"integrity":"sha512-lgIdLqvpLpz8xPUKcEIV6ml+by74mbSBz8zv/AHHebtLn/WdpH4kdXT3/Q5uUKDHg3vHV/z9+G9wZINRX6rkDg==","signatures":[{"sig":"MEUCIQCDbg9tiqnYjtP83CnApjH/8MboFTboQwMUv0jxtBk2hQIgJxSobLq+dT+kUSr9YgewteiN+aTOA2or+VD9hWjl8yg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5454371},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.1.1_1749143238941_0.6772612456476022","host":"s3://npm-registry-packages-npm-production"}},"5.2.0":{"name":"openai","version":"5.2.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.2.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"bd71106a534eaa23429c72e650f2580b04a33779","tarball":"https://registry.npmjs.org/openai/-/openai-5.2.0.tgz","fileCount":1789,"integrity":"sha512-b+Sf2Yk2eApDkhqHr7C4d5hux9gkHUvyqQ7RrdSfLsjrXkCZpJPqkME0u5Py7RPB28Ozz+RkJZpW7YPTOoChew==","signatures":[{"sig":"MEYCIQDLgtJDs7IF0aVOQwEaxUKub7E3FMElmQkdhzrZk+PYmwIhAP5x3aENFEopX/8JWzNqewscGv+iZV1h46mVReNJCfdw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5493882},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.2.0_1749487855852_0.977253740493953","host":"s3://npm-registry-packages-npm-production"}},"5.3.0":{"name":"openai","version":"5.3.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.3.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"7d4d48f1f0beb011f66fd0c291749e35465c4b52","tarball":"https://registry.npmjs.org/openai/-/openai-5.3.0.tgz","fileCount":1789,"integrity":"sha512-VIKmoF7y4oJCDOwP/oHXGzM69+x0dpGFmN9QmYO+uPbLFOmmnwO+x1GbsgUtI+6oraxomGZ566Y421oYVu191w==","signatures":[{"sig":"MEUCIEMCxflV6qZox5k0WR1YzFQ17/4n95Q7s6xZnR+VW5H5AiEAwv/6+4hPs0LErFu+Ika4RvvZdRX0HOxVE/uO4Mk2WhE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5494447},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.3.0_1749574203350_0.1409577261002739","host":"s3://npm-registry-packages-npm-production"}},"5.4.0":{"name":"openai","version":"5.4.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.4.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"8fbf7a57aeb579445d1629e49becef7506394632","tarball":"https://registry.npmjs.org/openai/-/openai-5.4.0.tgz","fileCount":1789,"integrity":"sha512-FWvjhbW0WdTB9k0NMeyxmWC/jPPxjeGg4FOl5+bxyRDWDnC3Z3uPbZOioz7D8SfRbx1XtxChluYvOnU6FerFwg==","signatures":[{"sig":"MEUCIQDzqDtbQRR8AeOWcAlLLm62ImEba33U3AYC2QNF/bA6bgIgIgsfhcSh1nSKjz7XJ0JpOECcF59vz8JLgmK/n5c8UQ4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5506942},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.4.0_1750100613812_0.4334982866299324","host":"s3://npm-registry-packages-npm-production"}},"5.5.0":{"name":"openai","version":"5.5.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.5.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d238917654e56b6b3af6c681d5ad7bcd257a3183","tarball":"https://registry.npmjs.org/openai/-/openai-5.5.0.tgz","fileCount":1789,"integrity":"sha512-j6y9a/VyEWTqm8mS2FT6Qboz6aTgwlRIpKlgP0cTmvkaKYEfnginPsiEAzqtk0O/fQBXTyNS3v0wRc2QmkGePw==","signatures":[{"sig":"MEUCIQC8kGS+G4Q13yg6/anUj+ef1x85/oOJjnIPwQNGGnMtEAIgL1/aRRQodKatqI3F3fHa8MUbGrbPdVfFL/x02jO/rbA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5507259},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.5.0_1750101791304_0.18330226084541001","host":"s3://npm-registry-packages-npm-production"}},"5.5.1":{"name":"openai","version":"5.5.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.5.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"94615a5d9b9e09e5238d9cb976a5794200f72910","tarball":"https://registry.npmjs.org/openai/-/openai-5.5.1.tgz","fileCount":1789,"integrity":"sha512-5i19097mGotHA1eFsM6Tjd/tJ8uo9sa5Ysv4Q6bKJ2vtN6rc0MzMrUefXnLXYAJcmMQrC1Efhj0AvfIkXrQamw==","signatures":[{"sig":"MEYCIQDg2jCEVEbYyniFNxDOpMVfKa6O6w/od4q6y8NQxxolJwIhAOnpYAVBBtMfGu3s0R+QVzHmnr9lN63NnsFH6ltxbrzi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5507527},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","actor":{"name":"dschnurr-openai","type":"user","email":"dschnurr@openai.com"},"email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.5.1_1750170547296_0.4911236508608987","host":"s3://npm-registry-packages-npm-production"}},"5.6.0":{"name":"openai","version":"5.6.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.6.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"2fefc93d2862da8ea1a3c311fca2d07fe48adf5f","tarball":"https://registry.npmjs.org/openai/-/openai-5.6.0.tgz","fileCount":1789,"integrity":"sha512-jNH5z+hYAdOMZXyEt0yZ7246s+UZjg2AwFQqkAhZIPPjxNtHHO5mykOefau6FkOqj16aC94MOdJl/rZBcKj/cQ==","signatures":[{"sig":"MEUCIQDSCdXB2vf3i5maY17iPH533eg8BnlL+FzMednMO5VVkQIgD4ZBpBIa5RABCmzwHrZOYTEaqayeSFpqzBbom0E5xfM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5508303},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","actor":{"name":"dschnurr-openai","type":"user","email":"dschnurr@openai.com"},"email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.6.0_1750450956730_0.8092330027685428","host":"s3://npm-registry-packages-npm-production"}},"5.7.0":{"name":"openai","version":"5.7.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.7.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"5f26b51c8348017f014db51795a983f495abac7c","tarball":"https://registry.npmjs.org/openai/-/openai-5.7.0.tgz","fileCount":1789,"integrity":"sha512-zXWawZl6J/P5Wz57/nKzVT3kJQZvogfuyuNVCdEp4/XU2UNrjL7SsuNpWAyLZbo6HVymwmnfno9toVzBhelygA==","signatures":[{"sig":"MEQCIEK2r3UALwWvUXy8qXQhsZEBaK23nab9rD8/98GdDf2cAiAXrv+kQjtD42isOxgvgZAL77b3O/BM3h00BagCKn/doQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5522475},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","actor":{"name":"dschnurr-openai","type":"user","email":"dschnurr@openai.com"},"email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.7.0_1750703268707_0.7539041112575577","host":"s3://npm-registry-packages-npm-production"}},"5.8.0":{"name":"openai","version":"5.8.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.8.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"bc1f6c1093b3dd029d37038f8564f68ee004b0c9","tarball":"https://registry.npmjs.org/openai/-/openai-5.8.0.tgz","fileCount":1798,"integrity":"sha512-0RPRt5XQe9b5XEGRFlNkzbBtvLx/jqKAbNX3Iu93AADClPz4CpJlrM61mbmiTGiFWtSR4EryX8ALdDK3zi5BTw==","signatures":[{"sig":"MEYCIQCLzz32J4lELBjM6BX8E5E5/ij5lxTNPXta88NIE4RNSQIhAPDflZBFFQXLGMERbTArYEhTCPZjcjbL1hxEqSEa0GdL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5611908},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","actor":{"name":"dschnurr-openai","type":"user","email":"dschnurr@openai.com"},"email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.8.0_1750957092927_0.46943609066221814","host":"s3://npm-registry-packages-npm-production"}},"5.8.1":{"name":"openai","version":"5.8.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.8.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0ff08e84ac1ca8a69d002d0694f0ae0081132141","tarball":"https://registry.npmjs.org/openai/-/openai-5.8.1.tgz","fileCount":1798,"integrity":"sha512-+qp4vQjJs43pzMSb6quTYslOhVE0c0c7j4YMoEks83BnusG23UrsWn3Hey6/8mwYadY05KipLvbp+PTO4jxO9w==","signatures":[{"sig":"MEYCIQC1UuRQ05N2hNkNFDq+6sgHRezsShL6zL8Sz1mBm5bf/wIhALbQqJSNdZmF22L/U9bqGxurKDVx+OhXmckL8Lxn4cpY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5618552},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","actor":{"name":"dschnurr-openai","type":"user","email":"dschnurr@openai.com"},"email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.8.1_1750966711825_0.846027981519029","host":"s3://npm-registry-packages-npm-production"}},"5.8.2":{"name":"openai","version":"5.8.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.8.2","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"fouad","email":"m@fouad.org"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"b12f968618deb87f6231b35a21b590d0b529d70b","tarball":"https://registry.npmjs.org/openai/-/openai-5.8.2.tgz","fileCount":1798,"integrity":"sha512-8C+nzoHYgyYOXhHGN6r0fcb4SznuEn1R7YZMvlqDbnCuE0FM2mm3T1HiYW6WIcMS/F1Of2up/cSPjLPaWt0X9Q==","signatures":[{"sig":"MEUCIQDTup7ggMtHOsQn3/oM1oIh9pA9UVIIGdlpfaAse7pj9gIgIJQlmDrmBgU8dHF2GIFNqNFgMchLOYRbsmoT15DKQPQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5623740},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","actor":{"name":"dschnurr-openai","type":"user","email":"dschnurr@openai.com"},"email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.8.2_1751034679151_0.7259181031991011","host":"s3://npm-registry-packages-npm-production"}},"5.8.3":{"name":"openai","version":"5.8.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.8.3","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"b2872539e416e80fb4f9015ed9f6672c65d2cea1","tarball":"https://registry.npmjs.org/openai/-/openai-5.8.3.tgz","fileCount":1798,"integrity":"sha512-IdotKmquCnpouTRvF9xRXVhMx6K5Sc8zkD6Usf+so+NTQ+qiJ8bLSCd7LBb8b/Rof7uYltlSxJhNp+spphKI4Q==","signatures":[{"sig":"MEYCIQCRf1dh6+rGKFpfuROMZv3PrcwPSO3ZVhWWjicUIxpLOQIhAIjf/EdLwqDEgtg1va+FZ6Wgqx7Esg/1DyrK8+7NcRUd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5636156},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","actor":{"name":"dschnurr-openai","type":"user","email":"dschnurr@openai.com"},"email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.8.3_1751988966958_0.7406309328023142","host":"s3://npm-registry-packages-npm-production"}},"5.8.4":{"name":"openai","version":"5.8.4","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.8.4","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d758dee48b43a24b0f672309ccfb9e8dd8de405d","tarball":"https://registry.npmjs.org/openai/-/openai-5.8.4.tgz","fileCount":1798,"integrity":"sha512-aVzelCIODrYQ1pW4Kf4FfaVyIBSi/6jNszQ4KuolwmEa0UNgMicOfczSPWIT6LsY58R6fvPWknBUGSDxjzkrLQ==","signatures":[{"sig":"MEUCIQDtMIomMTgPew5bT/xioMMo/nl8i+C+ItX2Ry/bsUY0bQIgLc/xjUO+xUTU1HfzsOI2z4TSY4sbhWkXiZGlvy24lDk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5637302},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","actor":{"name":"dschnurr-openai","type":"user","email":"dschnurr@openai.com"},"email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.8.4_1752157255469_0.582572397269459","host":"s3://npm-registry-packages-npm-production"}},"5.9.0":{"name":"openai","version":"5.9.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.9.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"fe6109d3dca5be6dd742f7ac54d810a0086d1d37","tarball":"https://registry.npmjs.org/openai/-/openai-5.9.0.tgz","fileCount":1798,"integrity":"sha512-cmLC0pfqLLhBGxE4aZPyRPjydgYCncppV2ClQkKmW79hNjCvmzkfhz8rN5/YVDmjVQlFV+UsF1JIuNjNgeagyQ==","signatures":[{"sig":"MEUCIQD+uKWb6dVtkoe3QZtF4/rBMUdVNiazLY6IZBfj4SVCcQIgQ2REpsPJyxIhnHnJz50V9e97UQEw1lLXSJVAD0VLXXQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5644850},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","actor":{"name":"dschnurr-openai","type":"user","email":"dschnurr@openai.com"},"email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.9.0_1752172608959_0.25560588131723216","host":"s3://npm-registry-packages-npm-production"}},"5.9.1":{"name":"openai","version":"5.9.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.9.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"b528658180b2c53d60f752bfdff138547600e580","tarball":"https://registry.npmjs.org/openai/-/openai-5.9.1.tgz","fileCount":1798,"integrity":"sha512-I4mDBilNVjnobi6XXB0IN5dNwNRzQ1Bs/p8XCEZPy6Q+i8uwncT8d+Cx5CHTrLOE+n0p5M3QFDr5BoDzubMOdg==","signatures":[{"sig":"MEYCIQDZ5ODve0+Sp/ako31QctqXjZ92ndRCSeMt0r3wE63RGwIhAL93Mpq0prUdfMi45xzQhlWvg/qYn2lCxgzIS3T6FhgC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5666829},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.9.1_1752595192635_0.8424192014575429","host":"s3://npm-registry-packages-npm-production"}},"5.9.2":{"name":"openai","version":"5.9.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.9.2","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"806194d399ccae02aad879dec9bb88ed75ca8adf","tarball":"https://registry.npmjs.org/openai/-/openai-5.9.2.tgz","fileCount":1798,"integrity":"sha512-d7t/lRkwZpSwIk7GW3EHRSGAlsuoi1WL6VhCO02raEzZO2ahEVAbWn3WmOcpeh9zF6xF9weJXoVeDkWJRz+SHA==","signatures":[{"sig":"MEUCIQDZIuoN8Exh94wxfd+gW/i1WaXVu2AG1vG+EdOFOwMs0wIgMnRANaXOEx6rM2UVK3GEa+rngiFJZWj25WMPyd8jnp0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5670617},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.9.2_1752615566644_0.8296058422207078","host":"s3://npm-registry-packages-npm-production"}},"5.10.0":{"name":"openai","version":"5.10.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.10.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"e33f4c32dc6188e272a192dc0e80f5b8a5f86df9","tarball":"https://registry.npmjs.org/openai/-/openai-5.10.0.tgz","fileCount":1798,"integrity":"sha512-x7/GCuL2RZD024MEcGWvB8NpDJ+4wtwQ0OygKKbdr302r7xFNWHRk885NJvILe2ThArPKi6T7tlfIjQT5/i2ng==","signatures":[{"sig":"MEQCIB3ykUfLMPM+2acc37oGY9iNI1vXRpnF66M3FsjpIaL0AiBVatJGTN/lLemsHLBAPaFXfJ6ql89joNB8VM01krt+hA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5719379},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.10.0_1752683790027_0.6610889904962489","host":"s3://npm-registry-packages-npm-production"}},"5.10.1":{"name":"openai","version":"5.10.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.10.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"4535a9603f4d03b2392bb2ca41a618a80fdcfacd","tarball":"https://registry.npmjs.org/openai/-/openai-5.10.1.tgz","fileCount":1798,"integrity":"sha512-fq6xVfv1/gpLbsj8fArEt3b6B9jBxdhAK+VJ+bDvbUvNd+KTLlA3bnDeYZaBsGH9LUhJ1M1yXfp9sEyBLMx6eA==","signatures":[{"sig":"MEUCIBtdG4hxIKCbMuwLnAEqkMDXz5oQw5RYuOGV0FBO4gVmAiEAsvh6X8EMoyBeAGkLM5wFH4+ZWugS/vsCRaE3FiYsfxs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5719784},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.10.1_1752700282869_0.41222437573305193","host":"s3://npm-registry-packages-npm-production"}},"5.10.2":{"name":"openai","version":"5.10.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.10.2","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"5391ac067bc0a96fc6d2909bed86630960d0041c","tarball":"https://registry.npmjs.org/openai/-/openai-5.10.2.tgz","fileCount":1798,"integrity":"sha512-n+vi74LzHtvlKcDPn9aApgELGiu5CwhaLG40zxLTlFQdoSJCLACORIPC2uVQ3JEYAbqapM+XyRKFy2Thej7bIw==","signatures":[{"sig":"MEUCIGzZ6zBIzIRB/5pQD1XDveJ9+gmlp5JXhgia+VWRdEHDAiEAkTO5eE80xoZ8t1fKPzcw0qfytxgwPg4qEFxSO6Liz0E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5724655},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"imports":{"openai":".","openai/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.10.2_1753189793996_0.42361200719277825","host":"s3://npm-registry-packages-npm-production"}},"5.10.3":{"name":"openai","version":"5.10.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.10.3","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"57485a342d104533ca59db9ed5701a01e4287a59","tarball":"https://registry.npmjs.org/openai/-/openai-5.10.3.tgz","fileCount":1798,"integrity":"sha512-dQdowRAXwuKrzgHK7PJp+rUNrIX3Nw00YJofvC3BE+PddhcMzaRUazePLeHv5L2qC7BUNtjgiT661udZKFevtw==","signatures":[{"sig":"MEUCID/1S5h+wY/WkOAVeCMNV1wcH3eL58NWgi/J/ztgsDC3AiEAohAjau9yfJteSIjYLcz/ehEG+cuCQsbUm9fgNSGRfHg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5725037},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.10.3_1753877326155_0.4644132457325185","host":"s3://npm-registry-packages-npm-production"}},"5.11.0":{"name":"openai","version":"5.11.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.11.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0d746e65b1caaf50f56facb0d8fd31012872ee93","tarball":"https://registry.npmjs.org/openai/-/openai-5.11.0.tgz","fileCount":1798,"integrity":"sha512-+AuTc5pVjlnTuA9zvn8rA/k+1RluPIx9AD4eDcnutv6JNwHHZxIhkFy+tmMKCvmMFDQzfA/r1ujvPWB19DQkYg==","signatures":[{"sig":"MEUCIQDbgX3RhRGHubrKoprfv7/cQuJF4Rm9IgR42IGK/xEZ+wIgdiERCx0i6TyEPYEsb+INopCiQlw16dDyQ5ZjCJJCvq8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5734764},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.11.0_1753879654626_0.6036492523408632","host":"s3://npm-registry-packages-npm-production"}},"5.12.0":{"name":"openai","version":"5.12.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.12.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"0725fa2125f6ba045d7ef44a833c811a8c0082d2","tarball":"https://registry.npmjs.org/openai/-/openai-5.12.0.tgz","fileCount":1798,"integrity":"sha512-vUdt02xiWgOHiYUmW0Hj1Qu9OKAiVQu5Bd547ktVCiMKC1BkB5L3ImeEnCyq3WpRKR6ZTaPgekzqdozwdPs7Lg==","signatures":[{"sig":"MEYCIQC5rMJneEGYFhFeVDy6hq6Ns6S6IArsIW9jO0GT7KMvYgIhAPqOOmpR6YWyI+vCGQdlpH6Bcw+mOH54H+0+qD5Vgs15","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5736378},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.12.0_1754413310908_0.2827244216948783","host":"s3://npm-registry-packages-npm-production"}},"5.12.1":{"name":"openai","version":"5.12.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.12.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"c86b266ce77714eb7b6f5831981acd93edddb662","tarball":"https://registry.npmjs.org/openai/-/openai-5.12.1.tgz","fileCount":1798,"integrity":"sha512-26s536j4Fi7P3iUma1S9H33WRrw0Qu8pJ2nYJHffrlKHPU0JK4d0r3NcMgqEcAeTdNLGYNyoFsqN4g4YE9vutg==","signatures":[{"sig":"MEQCICRBPeXWNCh1FhT24fRpT0FAgCVZJ/eiG553ux9chsO3AiBRB5GZUlMbEqFRzGbBe9YmQd/WOs+sa/vvAcAsQixyTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5809576},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.12.1_1754587145448_0.41312754271272945","host":"s3://npm-registry-packages-npm-production"}},"5.12.2":{"name":"openai","version":"5.12.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.12.2","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"512ab6b80eb8414837436e208f1b951442b97761","tarball":"https://registry.npmjs.org/openai/-/openai-5.12.2.tgz","fileCount":1798,"integrity":"sha512-xqzHHQch5Tws5PcKR2xsZGX9xtch+JQFz5zb14dGqlshmmDAFBFEWmeIpf7wVqWV+w7Emj7jRgkNJakyKE0tYQ==","signatures":[{"sig":"MEYCIQC/esgCKFUWuGAQhmGwI6HA2sr25td2FnFpMUxuZBh31AIhAKYdUEf8dS3bm0p5A8LleDlPl3PllnIkeAwRGXYire5r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5808816},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"dschnurr-openai","email":"dschnurr@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.12.2_1754671390648_0.02652933600799967","host":"s3://npm-registry-packages-npm-production"}},"5.13.1":{"name":"openai","version":"5.13.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.13.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"485e0a60a222256463af3a89d387140f3ac8919f","tarball":"https://registry.npmjs.org/openai/-/openai-5.13.1.tgz","fileCount":1798,"integrity":"sha512-Jty97Apw40znKSlXZL2YDap1U2eN9NfXbqm/Rj1rExeOLEnhwezpKQ+v43kIqojavUgm30SR3iuvGlNEBR+AFg==","signatures":[{"sig":"MEUCIGDS8C3SYB4iMXVxH+UgGxvEwKED8mVI1sjRAQTvkeJqAiEA78/1rnhzOASvs3NafQjdg61L2ajvv5bhr8MWLiD2Dyg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5818720},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.13.1_1755626539922_0.8579713203463513","host":"s3://npm-registry-packages-npm-production"}},"5.15.0":{"name":"openai","version":"5.15.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.15.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"de3ae6d0914f7a0fcc12d0faa21a2289f9d5cc5d","tarball":"https://registry.npmjs.org/openai/-/openai-5.15.0.tgz","fileCount":1836,"integrity":"sha512-kcUdws8K/A8m02I+IqFBwO51gS+87GP89yWEufGbzEi8anBz4FB/bti2QxaJdGwwY4mwJGzx85XO7TuL/Tpu1w==","signatures":[{"sig":"MEUCIHrPhKZdSlaNsrhxSLxZp7kQ/7ou1jDx0DI47TOPI+asAiEAxxbqdKKwF+r+K3d/AHJf7TIzO3oxO52SiPfmtLkIyVY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5941000},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.15.0_1755810257059_0.10926119174351467","host":"s3://npm-registry-packages-npm-production"}},"5.16.0":{"name":"openai","version":"5.16.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.16.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"a302d4ca92954598c79c72dd199c58994708130d","tarball":"https://registry.npmjs.org/openai/-/openai-5.16.0.tgz","fileCount":1836,"integrity":"sha512-hoEH8ZNvg1HXjU9mp88L/ZH8O082Z8r6FHCXGiWAzVRrEv443aI57qhch4snu07yQydj+AUAWLenAiBXhu89Tw==","signatures":[{"sig":"MEUCIHGT2YwFmcgiuy2UOZOT8ltjdc6GoJ7UGmJKJNl+gi5uAiEA+EOTuQ43r8ZlLEY1uoK6+b3BJtIy+nbzhWvYIry/mI0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5953638},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.16.0_1756241421575_0.4868848173965026","host":"s3://npm-registry-packages-npm-production"}},"5.17.0":{"name":"openai","version":"5.17.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.17.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"e02accdab044d828e69d6b849c55b91dfd6d93d3","tarball":"https://registry.npmjs.org/openai/-/openai-5.17.0.tgz","fileCount":1912,"integrity":"sha512-7djpJzihvQ2KlKdfhLcShB+DYQpKW+EPndSM86AvKfXCISnqDYnA/aZtrUWa+VB8zvG/K0rJ6Cmjtd79b64u2w==","signatures":[{"sig":"MEQCID1ntk5Mw7UH1dWCxiQYm7dNG4PrEPIY1WXtV4LY57uRAiA+uDhYtVh6694xB5wnUELHTighq+h1kjCKGHqi1EehZQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6528776},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.17.0_1756819961350_0.936106451436961","host":"s3://npm-registry-packages-npm-production"}},"5.18.0":{"name":"openai","version":"5.18.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.18.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"04f97cfbb71c5b033b47d136854c68a27ab471a7","tarball":"https://registry.npmjs.org/openai/-/openai-5.18.0.tgz","fileCount":1912,"integrity":"sha512-FcD7DbM5KaDz1nagzexhLgGuXXYaJk1MiRgqqMY9XCG4sNf7+1/L1Q/n40bNHHVWcIDNpHeaX6LKi3NlLGnTAw==","signatures":[{"sig":"MEQCIAX3EazhspWJS3skIEwTgIPstkVipveH0RcKIMTNQPYQAiAWwpXKgvyC2nFSoRZ8BnH9V9SOmflkhNUI9S4k0Ja+iQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6539512},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.18.0_1756841290512_0.5655947702716548","host":"s3://npm-registry-packages-npm-production"}},"5.18.1":{"name":"openai","version":"5.18.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.18.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"1c4884aefcada7ec684771e03c860c381f1902c1","tarball":"https://registry.npmjs.org/openai/-/openai-5.18.1.tgz","fileCount":1912,"integrity":"sha512-iXSOfLlOL+jgnFr5CGrB2SEZw5C92o1nrFW2SasoAXj4QxGhfeJPgg8zkX+vaCfX80cT6CWjgaGnq7z9XzbyRw==","signatures":[{"sig":"MEUCIQCuBvmhh1suPTCz5Ekx2OUCtPZafNwojXeJHrmYBK8sEQIgY1YQuXcvqKmW2XkGp39LJus0GEHfhCLGAGYhNgcmOHc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6542146},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.18.1_1756843672108_0.13306186095789307","host":"s3://npm-registry-packages-npm-production"}},"5.19.0":{"name":"openai","version":"5.19.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.19.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"8b70bdbd8f451a4953d7ef26f0f51b1c0970a99b","tarball":"https://registry.npmjs.org/openai/-/openai-5.19.0.tgz","fileCount":1912,"integrity":"sha512-p3PpptuUl3ARQxtt7IMBVBcg+1xRNUSr9W/pBatKuIwm9tbHvOGaixL5FCee1x/WQ7YtiA8yYUZAhF1dXJxQwQ==","signatures":[{"sig":"MEUCIQDtu8O5hbeJ8ma+1Jxw0JZiFDrxTMNffb+TAqKRSv9lmAIgE4/4bU98O/rvO0eR4L7lI7sY4zFZIxuy8HRZgO80Gzo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6542799},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.19.0_1756908988955_0.2801915985594077","host":"s3://npm-registry-packages-npm-production"}},"5.19.1":{"name":"openai","version":"5.19.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.19.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"093e91e9bd5a7da5525706aefece73ff6bc2781f","tarball":"https://registry.npmjs.org/openai/-/openai-5.19.1.tgz","fileCount":1912,"integrity":"sha512-zSqnUF7oR9ksmpusKkpUgkNrj8Sl57U+OyzO8jzc7LUjTMg4DRfR3uCm+EIMA6iw06sRPNp4t7ojp3sCpEUZRQ==","signatures":[{"sig":"MEQCIG/5eKwGi+UBRUML3ypvr8YZVzN04bKRJg+Hpo+V994dAiBzlOg+QxCuHCB7d5isc1OhOdwI2qlyJeVVILjl0YfZZA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6545104},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.19.1_1756914548130_0.513284565743451","host":"s3://npm-registry-packages-npm-production"}},"5.20.0":{"name":"openai","version":"5.20.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.20.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"7b2a323f3d1505792b548f721cfe7672f0bd0e39","tarball":"https://registry.npmjs.org/openai/-/openai-5.20.0.tgz","fileCount":1912,"integrity":"sha512-Bmc2zLM/YWgFrDpXr9hwXqGGDdMmMpE9+qoZPsaHpn0Y/Qk1Vu26hNqXo7+nHdli+sLsXINvS1f8kR3NKhGKmA==","signatures":[{"sig":"MEUCIB4VNcdWCdFlOqB6hmiOdPuqVBYQNjVXu6Y9nAcmQojVAiEAj8VCXJu5TS6uJZ+qtrclqwc1eUdrEN7mlfwu/ot5cLM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6610230},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.20.0_1757359876569_0.3893420620474499","host":"s3://npm-registry-packages-npm-production"}},"5.20.1":{"name":"openai","version":"5.20.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.20.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"ec9fae4c249de3b15bd908b9df0afff69981ba0a","tarball":"https://registry.npmjs.org/openai/-/openai-5.20.1.tgz","fileCount":1912,"integrity":"sha512-UndCB0R5V3iB9I98NyF69zNP6YfwU4+Fjk0eW4HhooTm+Awlpm/MGjJTwJsyNV/qkH1NJi0GG+9odwukGTqExQ==","signatures":[{"sig":"MEQCIHnqYi5P39jv+eZlltQQkzoErVhhNkQC20fGIDX2LWNWAiByKogj8hOkM1mvRxRy+JmTbdninjAWLVzS32+oO0rC8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6616106},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.20.1_1757516790004_0.23066644920366408","host":"s3://npm-registry-packages-npm-production"}},"5.20.2":{"name":"openai","version":"5.20.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.20.2","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"b49c2143618e40d296bfd4651a71004d17daa9da","tarball":"https://registry.npmjs.org/openai/-/openai-5.20.2.tgz","fileCount":1912,"integrity":"sha512-ZeBIEazj6W/XOulMw92L8iU5FblQeM5IxjPRCZNVArNXsoF+bLPnS7B2X4O0JSmpCM+F5Gdajr6bn4nAUj4LFQ==","signatures":[{"sig":"MEQCIHvJvWznxRFMDHmpKAoFfxnHV42U1C9yQpEM4oLQkbY6AiAiSswKCzseDlFs3AebQISiIRqGq/2W/QibgWCEmAfsFg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6638079},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.20.2_1757706776895_0.7490350662013312","host":"s3://npm-registry-packages-npm-production"}},"5.20.3":{"name":"openai","version":"5.20.3","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.20.3","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"a3fef81a7610dabe417628185356e6f82fcffc4b","tarball":"https://registry.npmjs.org/openai/-/openai-5.20.3.tgz","fileCount":1912,"integrity":"sha512-8V0KgAcPFppDIP8uMBOkhRrhDBuxNQYQxb9IovP4NN4VyaYGISAzYexyYYuAwVul2HB75Wpib0xDboYJqRMNow==","signatures":[{"sig":"MEUCID/BnC2cE6Ln/m04RW2RsBz/fmmOPm9FlWxoaK6yJxgcAiEA1nlQye8eYWQGsq8uBDKYRtvdOTXpZcCslHFJfqqsZe4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6643211},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.20.3_1757966991891_0.7900537604613291","host":"s3://npm-registry-packages-npm-production"}},"5.21.0":{"name":"openai","version":"5.21.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.21.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"b82c4da800fc77a50bcc50099fa573636504c09e","tarball":"https://registry.npmjs.org/openai/-/openai-5.21.0.tgz","fileCount":1912,"integrity":"sha512-E9LuV51vgvwbahPJaZu2x4V6SWMq9g3X6Bj2/wnFiNfV7lmAxYVxPxcQNZqCWbAVMaEoers9HzIxpOp6Vvgn8w==","signatures":[{"sig":"MEYCIQCgYSRXYLjZoohalHR5vRLKNvJLuH4pzngP1nFCIAY5hwIhAIQOHp4SLZsAgOjAKB1t+kMMvDKhzGuxlVVGsRf64FIX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6648831},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.21.0_1758146643742_0.5219832782725993","host":"s3://npm-registry-packages-npm-production"}},"5.22.0":{"name":"openai","version":"5.22.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.22.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"b31c5eade47a339330791eb7e04893b7cf1f81e0","tarball":"https://registry.npmjs.org/openai/-/openai-5.22.0.tgz","fileCount":1912,"integrity":"sha512-uSsYZ+vw9JxUwnMTcT9bj5sGM5qY/4du2BIf1KSqDRZF9nhSlJYsBLPRwBZTOW+HNyjwGviR0SsoDPv5lpPrBw==","signatures":[{"sig":"MEQCICVlTbiFvGwE5joYS8C7Ynw1R9b6tZFag5dlOea+L5p9AiBFmpz0WhtzvtaIN9KuGZRXHXAn0o6EQnPdmyR1/M4g3Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6661279},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.22.0_1758303216933_0.17469081724912772","host":"s3://npm-registry-packages-npm-production"}},"5.22.1":{"name":"openai","version":"5.22.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.22.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"a9ff2a09aff668338ef8a6323a37455abc769499","tarball":"https://registry.npmjs.org/openai/-/openai-5.22.1.tgz","fileCount":1912,"integrity":"sha512-nzjcbqcSKxMAkTzNbtqKxrAq1jrG2txRshLZEflL3uZsgzGb22nVjbJscqTOSHGxbUWlYbISKHaUudA5Z1eutg==","signatures":[{"sig":"MEUCIQDJt0zRQlwsWkB2XEtbVzJBzn/AqXvFhKRWsX3UIKFC8QIgfdZNDzVRfyN0yPmozeQVnm0XCfKD1Fy4qGfF4RGovWc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6661958},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.22.1_1758584891963_0.561345591541552","host":"s3://npm-registry-packages-npm-production"}},"5.23.0":{"name":"openai","version":"5.23.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.23.0","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"6cc031e8aa29c36ce2e40a078f206c0d30cc9da2","tarball":"https://registry.npmjs.org/openai/-/openai-5.23.0.tgz","fileCount":1912,"integrity":"sha512-Cfq155NHzI7VWR67LUNJMIgPZy2oSh7Fld/OKhxq648BiUjELAvcge7g30xJ6vAfwwXf6TVK0KKuN+3nmIJG/A==","signatures":[{"sig":"MEUCIQCwKKoKgGTUcIdb2hGdbgfSczB2sJ0F7uUFIKksAwwqrwIgX72A9oAfoLasEGK2Q/bFz+aq5FiBUZGIuIBKYCYh2Oo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6662365},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.23.0_1758647277157_0.6613831273018242","host":"s3://npm-registry-packages-npm-production"}},"5.23.1":{"name":"openai","version":"5.23.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.23.1","maintainers":[{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"5e12847cca116a36c03a97d818f182ab3eaa39dc","tarball":"https://registry.npmjs.org/openai/-/openai-5.23.1.tgz","fileCount":1912,"integrity":"sha512-APxMtm5mln4jhKhAr0d5zP9lNsClx4QwJtg8RUvYSSyxYCTHLNJnLEcSHbJ6t0ori8Pbr9HZGfcPJ7LEy73rvQ==","signatures":[{"sig":"MEQCIAdrW5DYv16oJDMxIo5rdwNfO5dMn7vJ2O2COCCQLmZcAiA25gmhBz7VZDux9SiEoYguJ0f6lcIs6XCIVdM8WVXxkQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6662845},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.23.1_1758902809051_0.4753617556268299","host":"s3://npm-registry-packages-npm-production"}},"5.23.2":{"name":"openai","version":"5.23.2","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@5.23.2","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"f13e2dc2ef6b88aab6a9b97cdc68d41a1d083c68","tarball":"https://registry.npmjs.org/openai/-/openai-5.23.2.tgz","fileCount":1912,"integrity":"sha512-MQBzmTulj+MM5O8SKEk/gL8a7s5mktS9zUtAkU257WjvobGc9nKcBuVwjyEEcb9SI8a8Y2G/mzn3vm9n1Jlleg==","signatures":[{"sig":"MEYCIQC1Gm+RQWFnk8Uqh1Tipe2O+TSzi+VobWDZo6uMvhqKswIhANZN8USI+Oh7f0FGxxWrrYl+DzttfyADxt9itRoPvnLW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6663414},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.23.8"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_5.23.2_1759203336343_0.37657633521657674","host":"s3://npm-registry-packages-npm-production"}},"6.0.0":{"name":"openai","version":"6.0.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.0.0","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"100dbb16733001e321db660e6336c0d1ee101ab9","tarball":"https://registry.npmjs.org/openai/-/openai-6.0.0.tgz","fileCount":1912,"integrity":"sha512-J7LEmTn3WLZnbyEmMYcMPyT5A0fGzhPwSvVUcNRKy6j2hJIbqSFrJERnUHYNkcoCCalRumypnj9AVoe5bVHd3Q==","signatures":[{"sig":"MEQCIEdIqbtsLRY8pg8v9qf+WIiqw3LTz2xunOPig+jpdl34AiALco4H71L13JVHNy/qYg8XqWUzcPXgyiydU/OPfGmOgQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6681183},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.0.0_1759250131874_0.2734946653902952","host":"s3://npm-registry-packages-npm-production"}},"6.0.1":{"name":"openai","version":"6.0.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.0.1","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"15c582a68ee7914db89cfab37cf8b54795c086b5","tarball":"https://registry.npmjs.org/openai/-/openai-6.0.1.tgz","fileCount":1912,"integrity":"sha512-Xf9k3/Ezckp0aQmkU7LTXPg9dTxo3uspuJqxotHF3Jscq0r7EU0KEoqesQVxoQ6YeAzd/jlm7kxayZufpYRJUQ==","signatures":[{"sig":"MEYCIQCxXBnlscni83MV7H5l49Fsq7h61jm3ifj8hrjbLrgl0AIhAIQ5a3M7ttqM5VYC4+Kjlh+MiADv9/zfazARuVlHqY4e","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6688507},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.0.1_1759348295387_0.87341196432356","host":"s3://npm-registry-packages-npm-production"}},"6.1.0":{"name":"openai","version":"6.1.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.1.0","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"12919340f9813dae674bd2dfbb04c0989b3ef26d","tarball":"https://registry.npmjs.org/openai/-/openai-6.1.0.tgz","fileCount":1921,"integrity":"sha512-5sqb1wK67HoVgGlsPwcH2bUbkg66nnoIYKoyV9zi5pZPqh7EWlmSrSDjAh4O5jaIg/0rIlcDKBtWvZBuacmGZg==","signatures":[{"sig":"MEUCIQDCZ9qDoi+2Y1ScQHURpkH5bEhXT6SK27M10n5fENlsRQIgc7LR3Qh/comAFkdbg5MyGSy1ToIJsVbBhd0UEQy/7Xg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6720946},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.1.0_1759437842519_0.7527862266938086","host":"s3://npm-registry-packages-npm-production"}},"6.2.0":{"name":"openai","version":"6.2.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.2.0","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"b5cd5712819ce39823d25047429fa61838200cc7","tarball":"https://registry.npmjs.org/openai/-/openai-6.2.0.tgz","fileCount":1977,"integrity":"sha512-qqjzHls7F5xkXNGy9P1Ei1rorI5LWupUUFWP66zPU8FlZbiITX8SFcHMKNZg/NATJ0LpIZcMUFxSwQmdeQPwSw==","signatures":[{"sig":"MEUCIQDkOyJeZoBDqvedeOr1T2ygdUzR67z/xUqwOQU17euC+QIgPdJ9gJ2CmK9/BW9oLQQkpngWYYWsubvtzNqXzsRcMiE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6906124},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.2.0_1759775116270_0.530107387496006","host":"s3://npm-registry-packages-npm-production"}},"6.3.0":{"name":"openai","version":"6.3.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.3.0","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"6cc21208a096ca204e359afa9a8897e7bb03c2a5","tarball":"https://registry.npmjs.org/openai/-/openai-6.3.0.tgz","fileCount":1977,"integrity":"sha512-E6vOGtZvdcb4yXQ5jXvDlUG599OhIkb/GjBLZXS+qk0HF+PJReIldEc9hM8Ft81vn+N6dRdFRb7BZNK8bbvXrw==","signatures":[{"sig":"MEUCID8zmUJt9enJHovKhpLyCCTZtlM/RfZwpbOCSTu0yIl3AiEAw1+o1XRwkJ/cMWEj3vLqIcvSGSIF7m2h7hfIKlJ7XEU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6913467},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.3.0_1760058903357_0.3446199159131087","host":"s3://npm-registry-packages-npm-production"}},"6.4.0":{"name":"openai","version":"6.4.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.4.0","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"54a517174655df5e815d859e748611b1ffe29fb9","tarball":"https://registry.npmjs.org/openai/-/openai-6.4.0.tgz","fileCount":1977,"integrity":"sha512-vSoVBRTPMgg3oSaoHIGfbYM2zwGN0D4F2aiNHMeu1lZHFOwfJMAF0X110HDdedYvcsIo578ujQ11WL5kP687Cw==","signatures":[{"sig":"MEUCIQDO0o34HzORHYjf8bl07+ydZzvjh5+3e3lEdpwo+VdmEQIgHHjvQrthO9PcykbzPn4GsB/9RSZz8wzxNKvKuB0iZS0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6936723},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.4.0_1760627674999_0.0684694336423255","host":"s3://npm-registry-packages-npm-production"}},"6.5.0":{"name":"openai","version":"6.5.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.5.0","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"7dd9c4c0ca6e394c1d1e738b2000e084024685b2","tarball":"https://registry.npmjs.org/openai/-/openai-6.5.0.tgz","fileCount":1977,"integrity":"sha512-bNqJ15Ijbs41KuJ2iYz/mGAruFHzQQt7zXo4EvjNLoB64aJdgn1jlMeDTsXjEg+idVYafg57QB/5Rd16oqvZ6A==","signatures":[{"sig":"MEQCIETCzwU/MVUlgHwMu87EDFXWw8e+VZmaBTGlvB4An84MAiA0UYQz3aQUMAh9UV9Np9DzlbrxO8ly0xdbw0ogP9BxRw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6923795},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.5.0_1760726480661_0.6486109788200205","host":"s3://npm-registry-packages-npm-production"}},"6.6.0":{"name":"openai","version":"6.6.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.6.0","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"d4f7846fd21adc033f968601fc13d6240f3b9b08","tarball":"https://registry.npmjs.org/openai/-/openai-6.6.0.tgz","fileCount":1986,"integrity":"sha512-1yWk4cBsHF5Bq9TreHYOHY7pbqdlT74COnm8vPx7WKn36StS+Hyk8DdAitnLaw67a5Cudkz5EmlFQjSrNnrA2w==","signatures":[{"sig":"MEYCIQDINZeRIx9Fm/ZhlLrJqhSULkGJvO69MUn+eiRaEFeCuAIhAMIBefvxdEb1apDCBoP6tp6+v/M5T6JPMY4CplEVGsjA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6949296},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.6.0_1760980668811_0.4346411325354227","host":"s3://npm-registry-packages-npm-production"}},"6.7.0":{"name":"openai","version":"6.7.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.7.0","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"gabor-openai","email":"gabor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"86c3add2a14fba23307ed4c5b9ba7f6cb48c0262","tarball":"https://registry.npmjs.org/openai/-/openai-6.7.0.tgz","fileCount":1995,"integrity":"sha512-mgSQXa3O/UXTbA8qFzoa7aydbXBJR5dbLQXCRapAOtoNT+v69sLdKMZzgiakpqhclRnhPggPAXoniVGn2kMY2A==","signatures":[{"sig":"MEUCIQCB3T2rSd4qdZ0YqaV6wyzeX3jpMc/teLrOfQEgDNvyCgIgSEJpLCLFIyGEnw5x5fuawAMqJbfOAgNxVwJ/Ir2gmno=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6987618},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.7.0_1761312554945_0.31194073404176814","host":"s3://npm-registry-packages-npm-production"}},"6.8.0":{"name":"openai","version":"6.8.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.8.0","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"gabor-openai","email":"gabor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"94bf60ec638b87b18fd4b8e30a522f916c406a4e","tarball":"https://registry.npmjs.org/openai/-/openai-6.8.0.tgz","fileCount":1995,"integrity":"sha512-GQUpzb9FoNkh1wqJuDIQ8e/Sq8dW+T3GakG6wJTXBE8Lufx1GaUcgZd087vhm8f/MiOzsTEkfRamYxzJ/jOoiw==","signatures":[{"sig":"MEQCIAL6oA7ucYW+wHo15PaSVbUWpckK5oCzX2amdZMJadvKAiAT58MzD+0YDJ1Z76GbKRDEINAib7577L+Ku4jtst4VpA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7013290},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.8.0_1762213954364_0.555286858453889","host":"s3://npm-registry-packages-npm-production"}},"6.8.1":{"name":"openai","version":"6.8.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.8.1","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"gabor-openai","email":"gabor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"72610890aa6f67b3473c7be2e2d6ff25ebb9846a","tarball":"https://registry.npmjs.org/openai/-/openai-6.8.1.tgz","fileCount":1995,"integrity":"sha512-ACifslrVgf+maMz9vqwMP4+v9qvx5Yzssydizks8n+YUJ6YwUoxj51sKRQ8HYMfR6wgKLSIlaI108ZwCk+8yig==","signatures":[{"sig":"MEUCID0gFgiYtXphPB7GlKLAaF4Ep8ZN9dMWF4T/V4viceJ9AiEAnBBWEEVY+0M3r4BP9TuqkNBZtdc8suGz99VgiLyupY4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7013578},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.8.1_1762319610727_0.056620408723192295","host":"s3://npm-registry-packages-npm-production"}},"6.9.0":{"name":"openai","version":"6.9.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.9.0","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"gabor-openai","email":"gabor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"acd15b2233c42b165981f3de8f4cfce27f844fce","tarball":"https://registry.npmjs.org/openai/-/openai-6.9.0.tgz","fileCount":1995,"integrity":"sha512-n2sJRYmM+xfJ0l3OfH8eNnIyv3nQY7L08gZQu3dw6wSdfPtKAk92L83M2NIP5SS8Cl/bsBBG3yKzEOjkx0O+7A==","signatures":[{"sig":"MEUCIQDHxQAyy4x81Bu5hl2fd8pzMMQWznUzBSOrh5+PrsfXeQIgf1FLemmvjC/ZD74ckWAr4yfSJnAA+2OzKhsXuvxPG3Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7093829},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.9.0_1763057982659_0.9618796854967289","host":"s3://npm-registry-packages-npm-production"}},"6.9.1":{"name":"openai","version":"6.9.1","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.9.1","maintainers":[{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"gabor-openai","email":"gabor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"a591118d79d14ac01870d29efe869743e9b64167","tarball":"https://registry.npmjs.org/openai/-/openai-6.9.1.tgz","fileCount":1995,"integrity":"sha512-vQ5Rlt0ZgB3/BNmTa7bIijYFhz3YBceAA3Z4JuoMSBftBF9YqFHIEhZakSs+O/Ad7EaoEimZvHxD5ylRjN11Lg==","signatures":[{"sig":"MEUCIQCB2odzLRdlXaJEqbuGoWF1guvcWoHccCn6FHq1TGpp6AIgAmutXAoKDJRKL9lLJpnHqjXbRA0/HCqON285rq/P7fA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7094137},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.9.1_1763419178213_0.8907113477657351","host":"s3://npm-registry-packages-npm-production"}},"6.10.0":{"name":"openai","version":"6.10.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.10.0","maintainers":[{"name":"tylersmith-openai","email":"tylersmith@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"gabor-openai","email":"gabor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"3f52d2ad7b6b2288124d064b0eb737c914d1f3ea","tarball":"https://registry.npmjs.org/openai/-/openai-6.10.0.tgz","fileCount":1995,"integrity":"sha512-ITxOGo7rO3XRMiKA5l7tQ43iNNu+iXGFAcf2t+aWVzzqRaS0i7m1K2BhxNdaveB+5eENhO0VY1FkiZzhBk4v3A==","signatures":[{"sig":"MEYCIQCMD/HFuIHnzHKyCOoR7HkQd7rYZ/Zfb3ExIXjpUZqfUQIhAMmaF3aL2eyO2jJVxUUiO2O6YZ+GXTSQoSYeZ1mCYsga","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7134062},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.10.0_1764871497193_0.8145484495063009","host":"s3://npm-registry-packages-npm-production"}},"6.13.0":{"name":"openai","version":"6.13.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.13.0","maintainers":[{"name":"tylersmith-openai","email":"tylersmith@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"gabor-openai","email":"gabor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"db1ddaace8fda170d518df367298c2024b961c72","tarball":"https://registry.npmjs.org/openai/-/openai-6.13.0.tgz","fileCount":1995,"integrity":"sha512-yHbMo+EpNGPG3sRrXvmo0LhUPFN4bAURJw3G17bE+ax1G4tcTFCa9ZjvCWh3cvni0aHY0uWlk2IxcsPH4NR9Ow==","signatures":[{"sig":"MEUCIDNWwINdns3criBEOSO1/QRH/aPt2A/qPRaQLRV6uBBgAiEApSQ1S5aVCa69YigQHStkQmcXIe/vz0XOZOi1rnXBYPg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7146757},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"apcha-oai","email":"apcha@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.13.0_1765816615046_0.9973638777721263","host":"s3://npm-registry-packages-npm-production"}},"6.14.0":{"name":"openai","version":"6.14.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.14.0","maintainers":[{"name":"tylersmith-openai","email":"tylersmith@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"gabor-openai","email":"gabor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"459637e6e09bc14af1392a8dd38b1a64c2cc372a","tarball":"https://registry.npmjs.org/openai/-/openai-6.14.0.tgz","fileCount":1995,"integrity":"sha512-ZPD9MG5/sPpyGZ0idRoDK0P5MWEMuXe0Max/S55vuvoxqyEVkN94m9jSpE3YgNgz3WoESFvozs57dxWqAco31w==","signatures":[{"sig":"MEQCICTw8APqSSbF3SWnwP7DtRqaXcsX7VypHDIcIkNHG6KJAiBfUWveq5ouHROXRINXzyt4EsAy9U6C3ACVzzHMJVJnQg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7150160},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"apcha-oai","email":"apcha@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.14.0_1765909219637_0.1374009947851733","host":"s3://npm-registry-packages-npm-production"}},"6.15.0":{"name":"openai","version":"6.15.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.15.0","maintainers":[{"name":"tylersmith-openai","email":"tylersmith@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"victor-openai","email":"victor@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"gabor-openai","email":"gabor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"94f23643a50206a6ae889e9df8fc3bfb2dbf2c2b","tarball":"https://registry.npmjs.org/openai/-/openai-6.15.0.tgz","fileCount":1995,"integrity":"sha512-F1Lvs5BoVvmZtzkUEVyh8mDQPPFolq4F+xdsx/DO8Hee8YF3IGAlZqUIsF+DVGhqf4aU0a3bTghsxB6OIsRy1g==","signatures":[{"sig":"MEQCIFXgppN2GBexxT8hNlIHLbayvP7C7rs5zK+MRQKa8bjoAiAIm1wGbx8250yqGGxAJ/6GIQR16X9eylVw565byiVsTg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7152637},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"apcha-oai","email":"apcha@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2025 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.15.0_1766114943219_0.5419387679984733","host":"s3://npm-registry-packages-npm-production"}},"6.16.0":{"name":"openai","version":"6.16.0","author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","_id":"openai@6.16.0","maintainers":[{"name":"tylersmith-openai","email":"tylersmith@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"gabor-openai","email":"gabor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"bin":{"openai":"bin/cli"},"dist":{"shasum":"53661d9f6307dc7523e89637ff7c6ccd0be16c67","tarball":"https://registry.npmjs.org/openai/-/openai-6.16.0.tgz","fileCount":1995,"integrity":"sha512-fZ1uBqjFUjXzbGc35fFtYKEOxd20kd9fDpFeqWtsOZWiubY8CZ1NAlXHW3iathaFvqmNtCWMIsosCuyeI7Joxg==","signatures":[{"sig":"MEYCIQDbpS9MUkxMKGrRAFapvZpsATishXijiM0i+HSM5diN2gIhAOnafVCayC79CpJMeRwSo/NCg0NWB5a85VQWNR9SaP00","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7157634},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./version":{"import":"./version.mjs","require":"./version.js"},"./azure.js":{"default":"./azure.js"},"./error.js":{"default":"./error.js"},"./index.js":{"default":"./index.js"},"./lib/*.js":{"default":"./lib/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./client.js":{"default":"./client.js"},"./core/*.js":{"default":"./core/*.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./uploads.js":{"default":"./uploads.js"},"./version.js":{"default":"./version.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./resource.js":{"default":"./resource.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version.mjs":{"default":"./version.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./helpers/*.js":{"default":"./helpers/*.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources.js":{"default":"./resources.js"},"./streaming.js":{"default":"./streaming.js"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./pagination.js":{"default":"./pagination.js"},"./realtime/*.js":{"default":"./realtime/*.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming.mjs":{"default":"./streaming.mjs"},"./api-promise.js":{"default":"./api-promise.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"}},"private":false,"scripts":{"fix":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","test":"./scripts/test","build":"./scripts/build","format":"./scripts/format"},"_npmUser":{"name":"apcha-oai","email":"apcha@openai.com"},"repository":{"url":"https://github.com/openai/openai-node.git","type":"git"},"description":"The official TypeScript library for the OpenAI API","directories":{},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2026 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai_6.16.0_1767996779603_0.10081155395122443","host":"s3://npm-registry-packages-npm-production"}},"6.17.0":{"name":"openai","version":"6.17.0","description":"The official TypeScript library for the OpenAI API","author":{"name":"OpenAI","email":"support@openai.com"},"types":"./index.d.ts","main":"./index.js","type":"commonjs","repository":{"type":"git","url":"https://github.com/openai/openai-node.git"},"license":"Apache-2.0","packageManager":"yarn@1.22.22","private":false,"publishConfig":{"access":"public"},"scripts":{"test":"./scripts/test","build":"./scripts/build","format":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","fix":"./scripts/format"},"dependencies":{},"bin":{"openai":"bin/cli"},"exports":{".":{"require":{"types":"./index.d.ts","default":"./index.js"},"types":"./index.d.mts","default":"./index.mjs"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./api-promise.js":{"default":"./api-promise.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./azure.js":{"default":"./azure.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./client.js":{"default":"./client.js"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./core/*.js":{"default":"./core/*.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./error.js":{"default":"./error.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./helpers/*.js":{"default":"./helpers/*.js"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./index.js":{"default":"./index.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./lib/*.js":{"default":"./lib/*.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./pagination.js":{"default":"./pagination.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./realtime/*.js":{"default":"./realtime/*.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./resource.js":{"default":"./resource.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./resources.js":{"default":"./resources.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./streaming.js":{"default":"./streaming.js"},"./streaming.mjs":{"default":"./streaming.mjs"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./uploads.js":{"default":"./uploads.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version":{"import":"./version.mjs","require":"./version.js"},"./version.js":{"default":"./version.js"},"./version.mjs":{"default":"./version.mjs"}},"peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"licenseText":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2026 OpenAI\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n","_id":"openai@6.17.0","dist":{"shasum":"33bb4977a48025e2ceb831a7dc0c7798bfbc394f","integrity":"sha512-NHRpPEUPzAvFOAFs9+9pC6+HCw/iWsYsKCMPXH5Kw7BpMxqd8g/A07/1o7Gx2TWtCnzevVRyKMRFqyiHyAlqcA==","tarball":"https://registry.npmjs.org/openai/-/openai-6.17.0.tgz","fileCount":1995,"unpackedSize":7157089,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIC0rSJ9bWfSgdRE4N6nLy5+my6XndDl7fpKCAtOalAC/AiEArnWbMPwqsVGVU3xNFLHfsEo94ET+bGYJXppq2AoByUY="}]},"_npmUser":{"name":"apcha-oai","email":"apcha@openai.com"},"directories":{},"maintainers":[{"name":"tylersmith-openai","email":"tylersmith@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"gabor-openai","email":"gabor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openai_6.17.0_1769639265734_0.24526799126575627"},"_hasShrinkwrap":false}},"time":{"created":"2020-07-09T13:31:41.309Z","modified":"2026-01-28T22:27:46.241Z","0.0.0":"2020-07-09T13:31:41.493Z","0.0.1":"2021-07-27T19:32:56.099Z","0.0.2":"2021-08-06T15:50:03.429Z","0.0.3":"2021-08-06T16:03:15.842Z","0.0.4":"2021-08-06T17:00:48.876Z","0.0.5":"2021-08-12T18:55:25.791Z","0.0.6":"2021-08-24T14:12:10.092Z","0.0.7":"2021-08-24T14:13:52.717Z","0.0.8":"2021-08-27T18:10:03.854Z","0.0.9":"2021-10-13T14:26:55.937Z","1.0.0":"2021-10-13T16:29:10.218Z","1.0.0-next.1":"2021-10-19T21:32:45.663Z","1.1.0":"2021-12-03T17:04:51.590Z","1.1.1":"2021-12-06T01:19:43.024Z","1.1.2":"2021-12-29T20:53:32.361Z","1.1.3":"2021-12-29T20:56:07.897Z","2.0.0":"2022-01-19T19:10:32.571Z","2.0.1":"2022-01-20T21:40:34.363Z","2.0.2":"2022-01-25T23:49:58.460Z","2.0.4":"2022-02-16T19:02:11.393Z","2.0.5":"2022-03-15T18:57:35.451Z","3.0.0":"2022-06-07T20:28:50.838Z","3.0.1":"2022-10-20T01:59:06.101Z","3.1.0":"2022-11-03T16:50:35.354Z","3.2.0":"2023-03-01T18:13:05.294Z","3.2.1":"2023-03-01T22:03:00.798Z","3.3.0":"2023-06-13T17:11:41.684Z","4.0.0-beta.0":"2023-06-17T16:33:09.139Z","4.0.0-beta.1":"2023-06-27T17:28:58.805Z","4.0.0-beta.2":"2023-07-01T01:54:16.209Z","4.0.0-beta.3":"2023-07-08T18:16:25.793Z","4.0.0-beta.4":"2023-07-09T17:57:00.938Z","4.0.0-beta.5":"2023-07-17T17:26:46.685Z","4.0.0-beta.6":"2023-07-20T22:20:25.953Z","4.0.0-beta.7":"2023-07-29T20:47:49.891Z","4.0.0-beta.8":"2023-08-05T15:28:19.833Z","4.0.0-beta.9":"2023-08-11T16:25:41.480Z","4.0.0-beta.10":"2023-08-12T18:54:35.583Z","4.0.0-beta.11":"2023-08-13T15:54:43.948Z","4.0.0-beta.12":"2023-08-15T01:01:08.743Z","4.0.0":"2023-08-16T17:56:06.601Z","4.0.1":"2023-08-19T01:47:06.911Z","4.1.0":"2023-08-22T21:17:53.846Z","4.2.0":"2023-08-23T14:53:06.579Z","4.3.0":"2023-08-27T03:27:14.733Z","4.3.1":"2023-08-29T04:11:33.768Z","4.4.0":"2023-09-01T16:35:27.975Z","4.5.0":"2023-09-06T18:57:00.050Z","4.6.0":"2023-09-08T23:31:20.116Z","4.7.0":"2023-09-14T17:09:40.867Z","4.7.1":"2023-09-15T17:27:44.796Z","4.8.0":"2023-09-18T17:04:36.988Z","4.9.0":"2023-09-21T15:39:43.385Z","4.9.1":"2023-09-21T17:09:40.333Z","4.10.0":"2023-09-21T18:56:52.622Z","4.11.0":"2023-09-29T13:44:14.425Z","4.11.1":"2023-10-03T04:39:06.985Z","4.12.0":"2023-10-11T16:25:37.042Z","4.12.1":"2023-10-11T20:33:04.043Z","4.12.2":"2023-10-16T20:33:11.148Z","4.12.3":"2023-10-16T20:52:56.304Z","4.12.4":"2023-10-17T22:13:41.415Z","4.13.0":"2023-10-23T21:47:02.668Z","4.14.0":"2023-10-25T16:47:41.807Z","4.14.1":"2023-10-27T22:08:26.177Z","4.14.2":"2023-10-30T16:08:53.655Z","4.15.0":"2023-11-03T22:08:04.129Z","4.15.1":"2023-11-04T21:04:24.176Z","4.15.2":"2023-11-04T23:05:59.741Z","4.15.3":"2023-11-05T00:06:08.042Z","4.15.4":"2023-11-05T19:07:42.528Z","4.16.0":"2023-11-06T20:34:13.106Z","4.16.1":"2023-11-06T21:57:37.387Z","4.16.2":"2023-11-08T19:24:51.771Z","4.17.0":"2023-11-09T01:25:35.274Z","4.17.1":"2023-11-09T18:48:37.602Z","4.17.2":"2023-11-09T23:43:13.355Z","4.17.3":"2023-11-10T02:15:09.057Z","4.17.4":"2023-11-10T19:21:03.327Z","4.17.5":"2023-11-13T21:07:59.858Z","4.18.0":"2023-11-14T19:44:37.426Z","4.19.0":"2023-11-15T19:33:30.801Z","4.19.1":"2023-11-20T22:22:44.401Z","4.20.0":"2023-11-22T17:40:26.749Z","4.20.1":"2023-11-27T22:08:02.878Z","4.21.0":"2023-12-13T00:06:01.129Z","4.22.0":"2023-12-15T05:17:08.003Z","4.22.1":"2023-12-16T06:08:33.317Z","4.23.0":"2023-12-17T01:57:58.439Z","4.24.0":"2023-12-19T23:38:57.211Z","4.24.1":"2023-12-22T11:00:33.375Z","4.24.2":"2024-01-09T01:44:40.589Z","4.24.3":"2024-01-10T18:55:01.261Z","4.24.4":"2024-01-12T00:26:28.563Z","4.24.5":"2024-01-12T16:08:32.265Z","4.24.6":"2024-01-12T20:08:34.234Z","4.24.7":"2024-01-13T06:08:04.110Z","4.25.0":"2024-01-21T08:52:56.741Z","4.26.0":"2024-01-25T20:01:34.140Z","4.26.1":"2024-02-05T06:08:50.222Z","4.27.0":"2024-02-09T00:16:27.064Z","4.27.1":"2024-02-12T23:47:02.535Z","4.28.0":"2024-02-13T05:18:33.565Z","4.28.4":"2024-02-28T23:21:46.630Z","4.28.5":"2024-03-13T20:24:07.050Z","4.29.0":"2024-03-13T20:37:05.228Z","4.29.1":"2024-03-15T20:39:12.832Z","4.29.2":"2024-03-19T15:51:47.640Z","4.30.0":"2024-03-28T18:10:22.226Z","4.31.0":"2024-03-30T05:53:52.311Z","4.32.0":"2024-04-01T23:32:15.476Z","4.32.1":"2024-04-02T15:12:59.357Z","4.32.2":"2024-04-04T15:28:27.084Z","4.33.0":"2024-04-05T14:18:12.117Z","4.33.1":"2024-04-13T05:07:46.598Z","4.34.0":"2024-04-15T20:25:33.774Z","4.35.0":"2024-04-16T00:07:28.182Z","4.36.0":"2024-04-16T17:04:14.129Z","4.37.0":"2024-04-17T16:40:51.089Z","4.37.1":"2024-04-17T19:35:36.265Z","4.38.0":"2024-04-18T16:11:28.211Z","4.38.1":"2024-04-18T22:36:55.693Z","4.38.2":"2024-04-19T18:53:29.309Z","4.38.3":"2024-04-22T16:35:51.793Z","4.38.4":"2024-04-24T18:36:46.307Z","4.38.5":"2024-04-25T00:27:47.359Z","4.39.0":"2024-04-29T22:38:08.298Z","4.39.1":"2024-04-30T18:08:18.087Z","4.40.0":"2024-05-01T04:15:25.037Z","4.40.1":"2024-05-02T15:52:52.915Z","4.40.2":"2024-05-03T14:28:27.624Z","4.41.0":"2024-05-05T20:00:38.078Z","4.41.1":"2024-05-06T15:20:41.615Z","4.42.0":"2024-05-06T19:10:26.344Z","4.43.0":"2024-05-08T20:15:42.212Z","4.44.0":"2024-05-09T22:06:15.419Z","4.45.0":"2024-05-11T05:53:30.082Z","4.46.0":"2024-05-13T18:18:34.271Z","4.46.1":"2024-05-13T21:04:03.014Z","4.47.0":"2024-05-14T14:20:59.838Z","4.47.1":"2024-05-14T15:10:04.473Z","4.47.2":"2024-05-28T20:18:32.849Z","4.47.3":"2024-05-31T19:51:41.965Z","4.48.1":"2024-06-04T19:59:50.447Z","4.48.2":"2024-06-05T16:14:26.903Z","4.48.3":"2024-06-06T14:22:49.669Z","4.49.0":"2024-06-06T21:32:47.182Z","4.49.1":"2024-06-07T20:21:59.125Z","4.50.0":"2024-06-10T20:27:47.594Z","4.51.0":"2024-06-12T19:01:17.734Z","4.52.0":"2024-06-19T16:51:06.672Z","4.52.1":"2024-06-26T01:28:07.679Z","4.52.2":"2024-06-29T01:10:49.650Z","4.52.3":"2024-07-02T23:17:39.384Z","4.52.4":"2024-07-08T21:43:45.342Z","4.52.5":"2024-07-10T09:49:27.801Z","4.52.6":"2024-07-11T11:58:03.090Z","4.52.7":"2024-07-11T14:34:16.690Z","4.53.0":"2024-07-22T15:38:52.348Z","4.53.1":"2024-07-25T22:33:42.024Z","4.53.2":"2024-07-26T17:27:07.196Z","4.54.0":"2024-08-02T04:25:21.782Z","4.55.0":"2024-08-06T17:16:39.540Z","4.55.1":"2024-08-07T14:55:37.883Z","4.55.2":"2024-08-08T20:04:01.122Z","4.55.3":"2024-08-08T22:02:20.201Z","4.55.4":"2024-08-09T18:53:24.446Z","4.55.5":"2024-08-12T21:32:28.549Z","4.55.6":"2024-08-13T18:48:08.019Z","4.55.7":"2024-08-13T20:51:30.082Z","4.55.8":"2024-08-15T23:57:38.889Z","4.55.9":"2024-08-16T01:24:38.639Z","4.56.0":"2024-08-16T14:23:48.608Z","4.56.1":"2024-08-27T17:55:34.885Z","4.56.2":"2024-08-29T14:54:13.725Z","4.57.0":"2024-08-29T18:02:17.659Z","4.57.1":"2024-09-03T14:40:12.137Z","4.57.2":"2024-09-04T16:21:28.780Z","4.57.3":"2024-09-04T22:03:52.763Z","4.58.0":"2024-09-05T23:42:51.383Z","4.58.1":"2024-09-06T17:21:58.646Z","4.58.2":"2024-09-09T19:39:50.161Z","4.59.0":"2024-09-11T16:48:06.723Z","4.60.0":"2024-09-12T17:08:41.667Z","4.60.1":"2024-09-13T13:59:42.285Z","4.61.0":"2024-09-13T19:24:06.167Z","4.61.1":"2024-09-16T13:46:35.885Z","4.62.0":"2024-09-17T20:33:03.420Z","4.62.1":"2024-09-18T14:58:12.071Z","4.63.0":"2024-09-20T14:59:18.505Z","4.64.0":"2024-09-25T15:35:11.024Z","4.65.0":"2024-09-26T17:30:40.950Z","4.66.1":"2024-09-30T14:52:56.816Z","4.67.0":"2024-10-01T17:57:02.857Z","4.67.1":"2024-10-02T15:24:47.926Z","4.67.2":"2024-10-07T15:18:33.051Z","4.67.3":"2024-10-08T14:58:18.802Z","4.68.0":"2024-10-17T17:29:40.985Z","4.68.1":"2024-10-18T18:29:54.495Z","4.68.2":"2024-10-22T19:56:59.573Z","4.68.3":"2024-10-23T15:47:24.157Z","4.68.4":"2024-10-23T23:06:09.138Z","4.69.0":"2024-10-30T16:22:43.085Z","4.70.0":"2024-11-01T18:50:47.456Z","4.70.1":"2024-11-01T19:36:34.038Z","4.70.2":"2024-11-01T20:23:19.354Z","4.70.3":"2024-11-04T16:25:41.539Z","4.71.0":"2024-11-04T22:51:10.094Z","4.71.1":"2024-11-06T16:11:51.620Z","4.72.0":"2024-11-12T16:14:26.312Z","4.73.0":"2024-11-20T18:28:51.406Z","4.73.1":"2024-11-25T18:02:41.343Z","4.74.0":"2024-12-02T19:16:48.740Z","4.75.0":"2024-12-03T16:26:56.749Z","4.76.0":"2024-12-05T16:20:04.376Z","4.76.1":"2024-12-10T15:27:13.884Z","4.76.2":"2024-12-12T16:59:56.380Z","4.76.3":"2024-12-13T15:52:29.735Z","4.77.0":"2024-12-17T18:22:31.304Z","5.0.0-alpha.0":"2024-12-20T21:13:59.486Z","4.77.3":"2025-01-03T23:00:48.339Z","4.77.4":"2025-01-08T16:30:25.253Z","4.78.0":"2025-01-09T21:26:19.529Z","4.78.1":"2025-01-10T17:41:01.520Z","4.79.0":"2025-01-17T17:37:33.585Z","4.79.1":"2025-01-17T19:49:15.583Z","4.79.2":"2025-01-21T15:17:27.931Z","4.79.3":"2025-01-21T16:35:15.305Z","4.79.4":"2025-01-21T22:40:28.189Z","4.80.0":"2025-01-22T14:25:54.361Z","4.80.1":"2025-01-24T19:05:58.018Z","4.81.0":"2025-01-29T20:11:08.466Z","4.82.0":"2025-01-31T19:18:49.271Z","4.83.0":"2025-02-05T14:34:06.410Z","4.84.0":"2025-02-12T15:06:21.438Z","4.84.1":"2025-02-13T13:03:27.818Z","4.85.0":"2025-02-13T20:03:55.191Z","4.85.1":"2025-02-14T12:01:05.738Z","4.85.2":"2025-02-18T22:31:46.032Z","4.85.3":"2025-02-20T14:13:12.410Z","4.85.4":"2025-02-22T20:57:06.012Z","4.86.0":"2025-02-27T20:11:33.706Z","4.86.1":"2025-02-27T22:21:29.651Z","5.0.0-beta.0":"2025-03-05T15:30:39.917Z","4.86.2":"2025-03-05T23:53:11.604Z","4.87.0":"2025-03-11T16:37:49.118Z","4.87.1":"2025-03-11T16:55:32.322Z","4.87.2":"2025-03-11T17:58:26.821Z","4.87.3":"2025-03-11T21:53:12.740Z","4.87.4":"2025-03-18T21:42:12.494Z","4.88.0":"2025-03-19T22:16:16.263Z","4.89.0":"2025-03-20T16:37:24.561Z","4.89.1":"2025-03-26T13:21:56.706Z","4.90.0":"2025-03-27T18:05:09.870Z","4.91.0":"2025-03-31T17:46:12.055Z","4.91.1":"2025-04-01T19:04:48.683Z","4.92.0":"2025-04-07T11:39:10.430Z","4.92.1":"2025-04-07T19:49:14.348Z","4.93.0":"2025-04-08T19:53:19.646Z","4.94.0":"2025-04-14T16:44:12.298Z","4.95.0":"2025-04-16T16:50:11.230Z","4.95.1":"2025-04-18T15:53:04.594Z","4.96.0":"2025-04-23T16:33:45.362Z","4.96.1":"2025-04-29T17:09:31.743Z","4.96.2":"2025-04-29T18:33:14.166Z","4.97.0":"2025-05-02T19:17:06.922Z","4.98.0":"2025-05-08T17:28:17.045Z","4.99.0":"2025-05-16T17:13:05.867Z","4.100.0":"2025-05-16T19:49:35.491Z","4.101.0":"2025-05-21T16:29:14.536Z","4.102.0":"2025-05-21T18:41:22.867Z","4.103.0":"2025-05-22T20:08:49.915Z","4.104.0":"2025-05-29T16:15:03.104Z","5.0.0":"2025-05-29T16:44:35.528Z","5.0.1":"2025-05-29T17:44:29.424Z","5.0.2":"2025-06-02T19:41:40.522Z","5.1.0":"2025-06-03T17:09:51.876Z","5.1.1":"2025-06-05T17:07:19.235Z","5.2.0":"2025-06-09T16:50:56.185Z","5.3.0":"2025-06-10T16:50:03.608Z","5.4.0":"2025-06-16T19:03:34.059Z","5.5.0":"2025-06-16T19:23:11.614Z","5.5.1":"2025-06-17T14:29:07.568Z","5.6.0":"2025-06-20T20:22:36.982Z","5.7.0":"2025-06-23T18:27:48.965Z","5.8.0":"2025-06-26T16:58:13.120Z","5.8.1":"2025-06-26T19:38:32.019Z","5.8.2":"2025-06-27T14:31:19.352Z","5.8.3":"2025-07-08T15:36:07.187Z","5.8.4":"2025-07-10T14:20:55.723Z","5.9.0":"2025-07-10T18:36:49.200Z","5.9.1":"2025-07-15T15:59:52.935Z","5.9.2":"2025-07-15T21:39:26.857Z","5.10.0":"2025-07-16T16:36:30.299Z","5.10.1":"2025-07-16T21:11:23.128Z","5.10.2":"2025-07-22T13:09:54.307Z","5.10.3":"2025-07-30T12:08:46.416Z","5.11.0":"2025-07-30T12:47:34.919Z","5.12.0":"2025-08-05T17:01:51.284Z","5.12.1":"2025-08-07T17:19:05.652Z","5.12.2":"2025-08-08T16:43:10.928Z","5.13.1":"2025-08-19T18:02:20.277Z","5.15.0":"2025-08-21T21:04:17.305Z","5.16.0":"2025-08-26T20:50:21.893Z","5.17.0":"2025-09-02T13:32:41.594Z","5.18.0":"2025-09-02T19:28:10.826Z","5.18.1":"2025-09-02T20:07:52.394Z","5.19.0":"2025-09-03T14:16:29.196Z","5.19.1":"2025-09-03T15:49:08.384Z","5.20.0":"2025-09-08T19:31:16.826Z","5.20.1":"2025-09-10T15:06:30.283Z","5.20.2":"2025-09-12T19:52:57.198Z","5.20.3":"2025-09-15T20:09:52.227Z","5.21.0":"2025-09-17T22:04:03.992Z","5.22.0":"2025-09-19T17:33:37.177Z","5.22.1":"2025-09-22T23:48:12.219Z","5.23.0":"2025-09-23T17:07:57.421Z","5.23.1":"2025-09-26T16:06:49.412Z","5.23.2":"2025-09-30T03:35:36.648Z","6.0.0":"2025-09-30T16:35:32.100Z","6.0.1":"2025-10-01T19:51:35.601Z","6.1.0":"2025-10-02T20:44:02.806Z","6.2.0":"2025-10-06T18:25:16.515Z","6.3.0":"2025-10-10T01:15:03.632Z","6.4.0":"2025-10-16T15:14:35.238Z","6.5.0":"2025-10-17T18:41:20.935Z","6.6.0":"2025-10-20T17:17:49.041Z","6.7.0":"2025-10-24T13:29:15.152Z","6.8.0":"2025-11-03T23:52:34.670Z","6.8.1":"2025-11-05T05:13:31.044Z","6.9.0":"2025-11-13T18:19:42.895Z","6.9.1":"2025-11-17T22:39:38.486Z","6.10.0":"2025-12-04T18:04:57.422Z","6.13.0":"2025-12-15T16:36:55.295Z","6.14.0":"2025-12-16T18:20:19.828Z","6.15.0":"2025-12-19T03:29:03.482Z","6.16.0":"2026-01-09T22:12:59.816Z","6.17.0":"2026-01-28T22:27:45.993Z"},"author":{"name":"OpenAI","email":"support@openai.com"},"license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/openai/openai-node.git"},"description":"The official TypeScript library for the OpenAI API","maintainers":[{"name":"tylersmith-openai","email":"tylersmith@openai.com"},{"name":"atty-openai","email":"atty@openai.com"},{"name":"tibo-openai","email":"tibo@openai.com"},{"name":"dkundel-openai","email":"dkundel@openai.com"},{"name":"mbolin-openai","email":"mbolin@openai.com"},{"name":"fouad-openai","email":"fouad@openai.com"},{"name":"easong-openai","email":"easong@openai.com"},{"name":"aibrahim-openai","email":"ahmedibrhm32@gmail.com"},{"name":"apcha-oai","email":"apcha@openai.com"},{"name":"seratch-openai","email":"seratch@openai.com"},{"name":"gabor-openai","email":"gabor@openai.com"},{"name":"dschnurr","email":"schnurr@gmail.com"},{"name":"jeevnayak","email":"jeev.nayak@gmail.com"},{"name":"knight-oai","email":"knight@openai.com"},{"name":"dschnurr-openai","email":"dschnurr@openai.com"},{"name":"kwhinnery-openai","email":"kwhinnery@openai.com"}],"readme":"# OpenAI TypeScript and JavaScript API Library\n\n[![NPM version]()](https://npmjs.org/package/openai) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/openai) [![JSR Version](https://jsr.io/badges/@openai/openai)](https://jsr.io/@openai/openai)\n\nThis library provides convenient access to the OpenAI REST API from TypeScript or JavaScript.\n\nIt is generated from our [OpenAPI specification](https://github.com/openai/openai-openapi) with [Stainless](https://stainlessapi.com/).\n\nTo learn how to use the OpenAI API, check out our [API Reference](https://platform.openai.com/docs/api-reference) and [Documentation](https://platform.openai.com/docs).\n\n## Installation\n\n```sh\nnpm install openai\n```\n\n### Installation from JSR\n\n```sh\ndeno add jsr:@openai/openai\nnpx jsr add @openai/openai\n```\n\nThese commands will make the module importable from the `@openai/openai` scope. You can also [import directly from JSR](https://jsr.io/docs/using-packages#importing-with-jsr-specifiers) without an install step if you're using the Deno JavaScript runtime:\n\n```ts\nimport OpenAI from 'jsr:@openai/openai';\n```\n\n## Usage\n\nThe full API of this library can be found in [api.md file](api.md) along with many [code examples](https://github.com/openai/openai-node/tree/master/examples).\n\nThe primary API for interacting with OpenAI models is the [Responses API](https://platform.openai.com/docs/api-reference/responses). You can generate text from the model with the code below.\n\n```ts\nimport OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: process.env['OPENAI_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.responses.create({\n model: 'gpt-5.2',\n instructions: 'You are a coding assistant that talks like a pirate',\n input: 'Are semicolons optional in JavaScript?',\n});\n\nconsole.log(response.output_text);\n```\n\nThe previous standard (supported indefinitely) for generating text is the [Chat Completions API](https://platform.openai.com/docs/api-reference/chat). You can use that API to generate text from the model with the code below.\n\n```ts\nimport OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: process.env['OPENAI_API_KEY'], // This is the default and can be omitted\n});\n\nconst completion = await client.chat.completions.create({\n model: 'gpt-5.2',\n messages: [\n { role: 'developer', content: 'Talk like a pirate.' },\n { role: 'user', content: 'Are semicolons optional in JavaScript?' },\n ],\n});\n\nconsole.log(completion.choices[0].message.content);\n```\n\n## Streaming responses\n\nWe provide support for streaming responses using Server Sent Events (SSE).\n\n```ts\nimport OpenAI from 'openai';\n\nconst client = new OpenAI();\n\nconst stream = await client.responses.create({\n model: 'gpt-5.2',\n input: 'Say \"Sheep sleep deep\" ten times fast!',\n stream: true,\n});\n\nfor await (const event of stream) {\n console.log(event);\n}\n```\n\n## File uploads\n\nRequest parameters that correspond to file uploads can be passed in many different forms:\n\n- `File` (or an object with the same structure)\n- a `fetch` `Response` (or an object with the same structure)\n- an `fs.ReadStream`\n- the return value of our `toFile` helper\n\n```ts\nimport fs from 'fs';\nimport OpenAI, { toFile } from 'openai';\n\nconst client = new OpenAI();\n\n// If you have access to Node `fs` we recommend using `fs.createReadStream()`:\nawait client.files.create({ file: fs.createReadStream('input.jsonl'), purpose: 'fine-tune' });\n\n// Or if you have the web `File` API you can pass a `File` instance:\nawait client.files.create({ file: new File(['my bytes'], 'input.jsonl'), purpose: 'fine-tune' });\n\n// You can also pass a `fetch` `Response`:\nawait client.files.create({\n file: await fetch('https://somesite/input.jsonl'),\n purpose: 'fine-tune',\n});\n\n// Finally, if none of the above are convenient, you can use our `toFile` helper:\nawait client.files.create({\n file: await toFile(Buffer.from('my bytes'), 'input.jsonl'),\n purpose: 'fine-tune',\n});\nawait client.files.create({\n file: await toFile(new Uint8Array([0, 1, 2]), 'input.jsonl'),\n purpose: 'fine-tune',\n});\n```\n\n## Webhook Verification\n\nVerifying webhook signatures is _optional but encouraged_.\n\nFor more information about webhooks, see [the API docs](https://platform.openai.com/docs/guides/webhooks).\n\n### Parsing webhook payloads\n\nFor most use cases, you will likely want to verify the webhook and parse the payload at the same time. To achieve this, we provide the method `client.webhooks.unwrap()`, which parses a webhook request and verifies that it was sent by OpenAI. This method will throw an error if the signature is invalid.\n\nNote that the `body` parameter must be the raw JSON string sent from the server (do not parse it first). The `.unwrap()` method will parse this JSON for you into an event object after verifying the webhook was sent from OpenAI.\n\n```ts\nimport { headers } from 'next/headers';\nimport OpenAI from 'openai';\n\nconst client = new OpenAI({\n webhookSecret: process.env.OPENAI_WEBHOOK_SECRET, // env var used by default; explicit here.\n});\n\nexport async function webhook(request: Request) {\n const headersList = headers();\n const body = await request.text();\n\n try {\n const event = client.webhooks.unwrap(body, headersList);\n\n switch (event.type) {\n case 'response.completed':\n console.log('Response completed:', event.data);\n break;\n case 'response.failed':\n console.log('Response failed:', event.data);\n break;\n default:\n console.log('Unhandled event type:', event.type);\n }\n\n return Response.json({ message: 'ok' });\n } catch (error) {\n console.error('Invalid webhook signature:', error);\n return new Response('Invalid signature', { status: 400 });\n }\n}\n```\n\n### Verifying webhook payloads directly\n\nIn some cases, you may want to verify the webhook separately from parsing the payload. If you prefer to handle these steps separately, we provide the method `client.webhooks.verifySignature()` to _only verify_ the signature of a webhook request. Like `.unwrap()`, this method will throw an error if the signature is invalid.\n\nNote that the `body` parameter must be the raw JSON string sent from the server (do not parse it first). You will then need to parse the body after verifying the signature.\n\n```ts\nimport { headers } from 'next/headers';\nimport OpenAI from 'openai';\n\nconst client = new OpenAI({\n webhookSecret: process.env.OPENAI_WEBHOOK_SECRET, // env var used by default; explicit here.\n});\n\nexport async function webhook(request: Request) {\n const headersList = headers();\n const body = await request.text();\n\n try {\n client.webhooks.verifySignature(body, headersList);\n\n // Parse the body after verification\n const event = JSON.parse(body);\n console.log('Verified event:', event);\n\n return Response.json({ message: 'ok' });\n } catch (error) {\n console.error('Invalid webhook signature:', error);\n return new Response('Invalid signature', { status: 400 });\n }\n}\n```\n\n## Handling errors\n\nWhen the library is unable to connect to the API,\nor if the API returns a non-success status code (i.e., 4xx or 5xx response),\na subclass of `APIError` will be thrown:\n\n\n```ts\nconst job = await client.fineTuning.jobs\n .create({ model: 'gpt-4o', training_file: 'file-abc123' })\n .catch(async (err) => {\n if (err instanceof OpenAI.APIError) {\n console.log(err.request_id);\n console.log(err.status); // 400\n console.log(err.name); // BadRequestError\n console.log(err.headers); // {server: 'nginx', ...}\n } else {\n throw err;\n }\n });\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n## Request IDs\n\n> For more information on debugging requests, see [these docs](https://platform.openai.com/docs/api-reference/debugging-requests)\n\nAll object responses in the SDK provide a `_request_id` property which is added from the `x-request-id` response header so that you can quickly log failing requests and report them back to OpenAI.\n\n```ts\nconst completion = await client.chat.completions.create({\n messages: [{ role: 'user', content: 'Say this is a test' }],\n model: 'gpt-5.2',\n});\nconsole.log(completion._request_id); // req_123\n```\n\nYou can also access the Request ID using the `.withResponse()` method:\n\n```ts\nconst { data: stream, request_id } = await openai.chat.completions\n .create({\n model: 'gpt-5.2',\n messages: [{ role: 'user', content: 'Say this is a test' }],\n stream: true,\n })\n .withResponse();\n```\n\n## Realtime API\n\nThe Realtime API enables you to build low-latency, multi-modal conversational experiences. It currently supports text and audio as both input and output, as well as [function calling](https://platform.openai.com/docs/guides/function-calling) through a `WebSocket` connection.\n\n```ts\nimport { OpenAIRealtimeWebSocket } from 'openai/realtime/websocket';\n\nconst rt = new OpenAIRealtimeWebSocket({ model: 'gpt-realtime' });\n\nrt.on('response.text.delta', (event) => process.stdout.write(event.delta));\n```\n\nFor more information see [realtime.md](realtime.md).\n\n## Microsoft Azure OpenAI\n\nTo use this library with [Azure OpenAI](https://learn.microsoft.com/azure/ai-services/openai/overview), use the `AzureOpenAI`\nclass instead of the `OpenAI` class.\n\n> [!IMPORTANT]\n> The Azure API shape slightly differs from the core API shape which means that the static types for responses / params\n> won't always be correct.\n\n```ts\nimport { AzureOpenAI } from 'openai';\nimport { getBearerTokenProvider, DefaultAzureCredential } from '@azure/identity';\n\nconst credential = new DefaultAzureCredential();\nconst scope = 'https://cognitiveservices.azure.com/.default';\nconst azureADTokenProvider = getBearerTokenProvider(credential, scope);\n\nconst openai = new AzureOpenAI({ azureADTokenProvider });\n\nconst result = await openai.chat.completions.create({\n model: 'gpt-5.2',\n messages: [{ role: 'user', content: 'Say hello!' }],\n});\n\nconsole.log(result.choices[0]!.message?.content);\n```\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors will all be retried by default.\n\nYou can use the `maxRetries` option to configure or disable this:\n\n\n```js\n// Configure the default for all requests:\nconst client = new OpenAI({\n maxRetries: 0, // default is 2\n});\n\n// Or, configure per-request:\nawait client.chat.completions.create({ messages: [{ role: 'user', content: 'How can I get the name of the current day in JavaScript?' }], model: 'gpt-5.2' }, {\n maxRetries: 5,\n});\n```\n\n### Timeouts\n\nRequests time out after 10 minutes by default. You can configure this with a `timeout` option:\n\n\n```ts\n// Configure the default for all requests:\nconst client = new OpenAI({\n timeout: 20 * 1000, // 20 seconds (default is 10 minutes)\n});\n\n// Override per-request:\nawait client.chat.completions.create({ messages: [{ role: 'user', content: 'How can I list all files in a directory using Python?' }], model: 'gpt-5.2' }, {\n timeout: 5 * 1000,\n});\n```\n\nOn timeout, an `APIConnectionTimeoutError` is thrown.\n\nNote that requests which time out will be [retried twice by default](#retries).\n\n## Request IDs\n\n> For more information on debugging requests, see [these docs](https://platform.openai.com/docs/api-reference/debugging-requests)\n\nAll object responses in the SDK provide a `_request_id` property which is added from the `x-request-id` response header so that you can quickly log failing requests and report them back to OpenAI.\n\n```ts\nconst response = await client.responses.create({ model: 'gpt-5.2', input: 'testing 123' });\nconsole.log(response._request_id); // req_123\n```\n\nYou can also access the Request ID using the `.withResponse()` method:\n\n```ts\nconst { data: stream, request_id } = await openai.responses\n .create({\n model: 'gpt-5.2',\n input: 'Say this is a test',\n stream: true,\n })\n .withResponse();\n```\n\n## Auto-pagination\n\nList methods in the OpenAI API are paginated.\nYou can use the `for await … of` syntax to iterate through items across all pages:\n\n```ts\nasync function fetchAllFineTuningJobs(params) {\n const allFineTuningJobs = [];\n // Automatically fetches more pages as needed.\n for await (const fineTuningJob of client.fineTuning.jobs.list({ limit: 20 })) {\n allFineTuningJobs.push(fineTuningJob);\n }\n return allFineTuningJobs;\n}\n```\n\nAlternatively, you can request a single page at a time:\n\n```ts\nlet page = await client.fineTuning.jobs.list({ limit: 20 });\nfor (const fineTuningJob of page.data) {\n console.log(fineTuningJob);\n}\n\n// Convenience methods are provided for manually paginating:\nwhile (page.hasNextPage()) {\n page = await page.getNextPage();\n // ...\n}\n```\n\n## Realtime API\n\nThe Realtime API enables you to build low-latency, multi-modal conversational experiences. It currently supports text and audio as both input and output, as well as [function calling](https://platform.openai.com/docs/guides/function-calling) through a `WebSocket` connection.\n\n```ts\nimport { OpenAIRealtimeWebSocket } from 'openai/realtime/websocket';\n\nconst rt = new OpenAIRealtimeWebSocket({ model: 'gpt-realtime' });\n\nrt.on('response.text.delta', (event) => process.stdout.write(event.delta));\n```\n\nFor more information see [realtime.md](realtime.md).\n\n## Microsoft Azure OpenAI\n\nTo use this library with [Azure OpenAI](https://learn.microsoft.com/azure/ai-services/openai/overview), use the `AzureOpenAI`\nclass instead of the `OpenAI` class.\n\n> [!IMPORTANT]\n> The Azure API shape slightly differs from the core API shape which means that the static types for responses / params\n> won't always be correct.\n\n```ts\nimport { AzureOpenAI } from 'openai';\nimport { getBearerTokenProvider, DefaultAzureCredential } from '@azure/identity';\n\nconst credential = new DefaultAzureCredential();\nconst scope = 'https://cognitiveservices.azure.com/.default';\nconst azureADTokenProvider = getBearerTokenProvider(credential, scope);\n\nconst openai = new AzureOpenAI({\n azureADTokenProvider,\n apiVersion: '',\n});\n\nconst result = await openai.chat.completions.create({\n model: 'gpt-5.2',\n messages: [{ role: 'user', content: 'Say hello!' }],\n});\n\nconsole.log(result.choices[0]!.message?.content);\n```\n\nFor more information on support for the Azure API, see [azure.md](azure.md).\n\n## Advanced Usage\n\n### Accessing raw Response data (e.g., headers)\n\nThe \"raw\" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.\nThis method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.\n\nYou can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.\nUnlike `.asResponse()` this method consumes the body, returning once it is parsed.\n\n\n```ts\nconst client = new OpenAI();\n\nconst httpResponse = await client.responses\n .create({ model: 'gpt-5.2', input: 'say this is a test.' })\n .asResponse();\n\n// access the underlying web standard Response object\nconsole.log(httpResponse.headers.get('X-My-Header'));\nconsole.log(httpResponse.statusText);\n\nconst { data: modelResponse, response: raw } = await client.responses\n .create({ model: 'gpt-5.2', input: 'say this is a test.' })\n .withResponse();\nconsole.log(raw.headers.get('X-My-Header'));\nconsole.log(modelResponse);\n```\n\n### Logging\n\n> [!IMPORTANT]\n> All log messages are intended for debugging only. The format and content of log messages\n> may change between releases.\n\n#### Log levels\n\nThe log level can be configured in two ways:\n\n1. Via the `OPENAI_LOG` environment variable\n2. Using the `logLevel` client option (overrides the environment variable if set)\n\n```ts\nimport OpenAI from 'openai';\n\nconst client = new OpenAI({\n logLevel: 'debug', // Show all log messages\n});\n```\n\nAvailable log levels, from most to least verbose:\n\n- `'debug'` - Show debug messages, info, warnings, and errors\n- `'info'` - Show info messages, warnings, and errors\n- `'warn'` - Show warnings and errors (default)\n- `'error'` - Show only errors\n- `'off'` - Disable all logging\n\nAt the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.\nSome authentication-related headers are redacted, but sensitive data in request and response bodies\nmay still be visible.\n\n#### Custom logger\n\nBy default, this library logs to `globalThis.console`. You can also provide a custom logger.\nMost logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.\n\nWhen providing a custom logger, the `logLevel` option still controls which messages are emitted, messages\nbelow the configured level will not be sent to your logger.\n\n```ts\nimport OpenAI from 'openai';\nimport pino from 'pino';\n\nconst logger = pino();\n\nconst client = new OpenAI({\n logger: logger.child({ name: 'OpenAI' }),\n logLevel: 'debug', // Send all messages to pino, allowing it to filter\n});\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.get`, `client.post`, and other HTTP verbs.\nOptions on the client, such as retries, will be respected when making these requests.\n\n```ts\nawait client.post('/some/path', {\n body: { some_prop: 'foo' },\n query: { some_query_arg: 'bar' },\n});\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use `// @ts-expect-error` on the undocumented\nparameter. This library doesn't validate at runtime that the request matches the type, so any extra values you\nsend will be sent as-is.\n\n```ts\nclient.chat.completions.create({\n // ...\n // @ts-expect-error baz is not yet public\n baz: 'undocumented option',\n});\n```\n\nFor requests with the `GET` verb, any extra params will be in the query, all other requests will send the\nextra param in the body.\n\nIf you want to explicitly send an extra argument, you can do so with the `query`, `body`, and `headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may access the response object with `// @ts-expect-error` on\nthe response object, or cast the response object to the requisite type. Like the request params, we do not\nvalidate or strip extra properties from the response from the API.\n\n### Customizing the fetch client\n\nIf you want to use a different `fetch` function, you can either polyfill the global:\n\n```ts\nimport fetch from 'my-fetch';\n\nglobalThis.fetch = fetch;\n```\n\nOr pass it to the client:\n\n```ts\nimport OpenAI from 'openai';\nimport fetch from 'my-fetch';\n\nconst client = new OpenAI({ fetch });\n```\n\n### Fetch options\n\nIf you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)\n\n```ts\nimport OpenAI from 'openai';\n\nconst client = new OpenAI({\n fetchOptions: {\n // `RequestInit` options\n },\n});\n```\n\n#### Configuring proxies\n\nTo modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy\noptions to requests:\n\n **Node** [[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]\n\n```ts\nimport OpenAI from 'openai';\nimport * as undici from 'undici';\n\nconst proxyAgent = new undici.ProxyAgent('http://localhost:8888');\nconst client = new OpenAI({\n fetchOptions: {\n dispatcher: proxyAgent,\n },\n});\n```\n\n **Bun** [[docs](https://bun.sh/guides/http/proxy)]\n\n```ts\nimport OpenAI from 'openai';\n\nconst client = new OpenAI({\n fetchOptions: {\n proxy: 'http://localhost:8888',\n },\n});\n```\n\n **Deno** [[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]\n\n```ts\nimport OpenAI from 'npm:openai';\n\nconst httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });\nconst client = new OpenAI({\n fetchOptions: {\n client: httpClient,\n },\n});\n```\n\n## Frequently Asked Questions\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/openai/openai-node/issues) with questions, bugs, or suggestions.\n\n## Requirements\n\nTypeScript >= 4.9 is supported.\n\nThe following runtimes are supported:\n\n- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.\n- Deno v1.28.0 or higher.\n- Bun 1.0 or later.\n- Cloudflare Workers.\n- Vercel Edge Runtime.\n- Jest 28 or greater with the `\"node\"` environment (`\"jsdom\"` is not supported at this time).\n- Nitro v2.6 or greater.\n- Web browsers: disabled by default to avoid exposing your secret API credentials. Enable browser support by explicitly setting `dangerouslyAllowBrowser` to true'.\n
\n More explanation\n\n ### Why is this dangerous?\n\n Enabling the `dangerouslyAllowBrowser` option can be dangerous because it exposes your secret API credentials in the client-side code. Web browsers are inherently less secure than server environments,\n any user with access to the browser can potentially inspect, extract, and misuse these credentials. This could lead to unauthorized access using your credentials and potentially compromise sensitive data or functionality.\n\n ### When might this not be dangerous?\n\n In certain scenarios where enabling browser support might not pose significant risks:\n\n - Internal Tools: If the application is used solely within a controlled internal environment where the users are trusted, the risk of credential exposure can be mitigated.\n - Public APIs with Limited Scope: If your API has very limited scope and the exposed credentials do not grant access to sensitive data or critical operations, the potential impact of exposure is reduced.\n - Development or debugging purpose: Enabling this feature temporarily might be acceptable, provided the credentials are short-lived, aren't also used in production environments, or are frequently rotated.\n\n
\n\nNote that React Native is not supported at this time.\n\nIf you are interested in other runtime environments, please open or upvote an issue on GitHub.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n","readmeFilename":"README.md","users":{"salam0nster":true}}