{"_id":"@airops/airops-js","_rev":"11-5221535139fc06e9d6f84cad623efff3","name":"@airops/airops-js","dist-tags":{"latest":"2.3.0"},"versions":{"1.0.0":{"name":"@airops/airops-js","version":"1.0.0","license":"MIT","_id":"@airops/airops-js@1.0.0","maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"dist":{"shasum":"1ea610de3851d11ac411617995abd019eee853d5","tarball":"https://registry.npmjs.org/@airops/airops-js/-/airops-js-1.0.0.tgz","fileCount":15,"integrity":"sha512-bqmpFdc6Jw8Fnp+MuKXLqAxWhCmLqNX7D1Wn0/r7XnNfqIYCmnwMfxHGg+9QHhjTtOBZSc+j3LxKUgeRVC7FQQ==","signatures":[{"sig":"MEYCIQC3S3NysNLR4L1NuqcsF3VS9mu4Qos2jZjOrI/LJE6LQwIhAKWuxImFoyY+yWPBz8ax5Cvv8Mj2DgEBGCPUq51RQSnQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":843169},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"c3400d6ae9cdd003f6eb0309334a5aec4bd9be3b","scripts":{"dev":"rollup -c -w --bundleConfigAsCjs","tsc":"npx tsc","build":"NODE_ENV=staging npm-run-all build:clean compile","compile":"rollup -c --bundleConfigAsCjs","test:unit":"jest","build:prod":"NODE_ENV=prod npm-run-all build:clean compile","build:clean":"rm -rf ./dist"},"_npmUser":{"name":"schubert","email":"schubert@airops.com"},"umd:main":"dist/index.umd.js","_npmVersion":"8.1.2","description":"JavaScript SDK for interacting with AirOps API","directories":{},"_nodeVersion":"16.13.2","dependencies":{"uuid":"^9.0.0","pusher-js":"^8.0.2","is-builtin-module":"^3.2.1"},"umd:minified":"dist/index.umd.min.js","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.43.0","rollup":"^3.21.5","ts-jest":"^29.1.0","prettier":"2.8.8","typescript":"^4.9.5","@types/jest":"^29.5.2","@types/uuid":"^9.0.2","npm-run-all":"^4.1.5","jest-fetch-mock":"^3.0.3","rollup-plugin-dotenv":"^0.4.1","@rollup/plugin-terser":"^0.4.1","jest-environment-jsdom":"^29.5.0","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-typescript":"^11.1.0","@typescript-eslint/parser":"^5.60.0","@rollup/plugin-node-resolve":"^15.0.2","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.60.0"},"_npmOperationalInternal":{"tmp":"tmp/airops-js_1.0.0_1687373368124_0.9085232571202269","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@airops/airops-js","version":"1.0.1","license":"MIT","_id":"@airops/airops-js@1.0.1","maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"dist":{"shasum":"c40256365a98da93b55a815dc67147c15abe5636","tarball":"https://registry.npmjs.org/@airops/airops-js/-/airops-js-1.0.1.tgz","fileCount":15,"integrity":"sha512-AyiZsMy1Qazt4Qt4fIWK3EGpaL+XMTlJw+2zLpXyf8s0e8ysCIYP2KfYka8cf3f0RPnV4gdlVLaa0fHQmtk+KQ==","signatures":[{"sig":"MEQCIFQ8IYxjQozTy0AWYvQHITy8nFREurxdsx5DA1T9yNSEAiBRsUdtMVAOiuJcZ7SSSb13AvdqqDSBxIA2DEof9OKR1g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":843186},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"c3400d6ae9cdd003f6eb0309334a5aec4bd9be3b","scripts":{"dev":"rollup -c -w --bundleConfigAsCjs","tsc":"npx tsc","build":"NODE_ENV=staging npm-run-all build:clean compile","compile":"rollup -c --bundleConfigAsCjs","test:unit":"jest","build:prod":"NODE_ENV=prod npm-run-all build:clean compile","build:clean":"rm -rf ./dist"},"_npmUser":{"name":"schubert","email":"schubert@airops.com"},"umd:main":"dist/index.umd.js","_npmVersion":"8.1.2","description":"JavaScript SDK for interacting with AirOps API","directories":{},"_nodeVersion":"16.13.2","dependencies":{"uuid":"^9.0.0","pusher-js":"^8.0.2","is-builtin-module":"^3.2.1"},"umd:minified":"dist/index.umd.min.js","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.43.0","rollup":"^3.21.5","ts-jest":"^29.1.0","prettier":"2.8.8","typescript":"^4.9.5","@types/jest":"^29.5.2","@types/uuid":"^9.0.2","npm-run-all":"^4.1.5","jest-fetch-mock":"^3.0.3","rollup-plugin-dotenv":"^0.4.1","@rollup/plugin-terser":"^0.4.1","jest-environment-jsdom":"^29.5.0","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-typescript":"^11.1.0","@typescript-eslint/parser":"^5.60.0","@rollup/plugin-node-resolve":"^15.0.2","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.60.0"},"_npmOperationalInternal":{"tmp":"tmp/airops-js_1.0.1_1687374575705_0.6396663004635557","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@airops/airops-js","version":"1.0.2","license":"MIT","_id":"@airops/airops-js@1.0.2","maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"dist":{"shasum":"ae98b6c129c07d4562f9f2f78436b1d2eb17ee4d","tarball":"https://registry.npmjs.org/@airops/airops-js/-/airops-js-1.0.2.tgz","fileCount":15,"integrity":"sha512-cS3PJO0azzxs9zXvC7Z9SdaYUq2BUOyZC5rDuIbBr2pjlUAkQsElX0C3ICzPcqup772hoaxNY2ks6eiyq70gPw==","signatures":[{"sig":"MEUCIQCzfiHxLs4ygSgq8iCK/t1ATDLyi6QCp+3U4KctgtbRDQIgauVIZGNheLjndifdR1DyqKHtLAmdSateeJBmXuzP6wA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":843221},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"4c26d48e700eee8d9e12e25d04fbd0de056f1e1c","scripts":{"dev":"rollup -c -w --bundleConfigAsCjs","tsc":"npx tsc","build":"NODE_ENV=staging npm-run-all build:clean compile","compile":"rollup -c --bundleConfigAsCjs","test:unit":"jest","build:prod":"NODE_ENV=prod npm-run-all build:clean compile","build:clean":"rm -rf ./dist"},"_npmUser":{"name":"schubert","email":"schubert@airops.com"},"umd:main":"dist/index.umd.js","_npmVersion":"8.1.2","description":"JavaScript SDK for interacting with AirOps API","directories":{},"_nodeVersion":"16.13.2","dependencies":{"uuid":"^9.0.0","pusher-js":"^8.0.2","is-builtin-module":"^3.2.1"},"umd:minified":"dist/index.umd.min.js","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.43.0","rollup":"^3.21.5","ts-jest":"^29.1.0","prettier":"2.8.8","typescript":"^4.9.5","@types/jest":"^29.5.2","@types/uuid":"^9.0.2","npm-run-all":"^4.1.5","jest-fetch-mock":"^3.0.3","rollup-plugin-dotenv":"^0.4.1","@rollup/plugin-terser":"^0.4.1","jest-environment-jsdom":"^29.5.0","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-typescript":"^11.1.0","@typescript-eslint/parser":"^5.60.0","@rollup/plugin-node-resolve":"^15.0.2","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.60.0"},"_npmOperationalInternal":{"tmp":"tmp/airops-js_1.0.2_1687544973265_0.04377867293839044","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@airops/airops-js","version":"1.0.3","license":"MIT","_id":"@airops/airops-js@1.0.3","maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"dist":{"shasum":"add2c87cdad3d3e2835f50dbee8550d0b673a609","tarball":"https://registry.npmjs.org/@airops/airops-js/-/airops-js-1.0.3.tgz","fileCount":15,"integrity":"sha512-CZgZxm/U7Hj99VofVwo6VJiIgAXlFSuaCUtEog15icBgQqk/Lkk9s0Hz7dW8RrOVlj887rkrpoc3t3N86rBvuw==","signatures":[{"sig":"MEUCIDKAp+nJ+JtPDeU+87sOdobJtSRc+IomrHR9aqVLM8qHAiEAgYollo4MObBAz2sSuYAx9vvYVT+aDVPDFnnji+Ruewg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":843221},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"55cda7930be80bfb314b70e728029c1269324c58","scripts":{"dev":"rollup -c -w --bundleConfigAsCjs","tsc":"npx tsc","build":"NODE_ENV=staging npm-run-all build:clean compile","compile":"rollup -c --bundleConfigAsCjs","test:unit":"jest","build:prod":"NODE_ENV=prod npm-run-all build:clean compile","build:clean":"rm -rf ./dist"},"_npmUser":{"name":"schubert","email":"schubert@airops.com"},"umd:main":"dist/index.umd.js","_npmVersion":"8.1.2","description":"JavaScript SDK for interacting with AirOps API","directories":{},"_nodeVersion":"16.13.2","dependencies":{"uuid":"^9.0.0","pusher-js":"^8.0.2","is-builtin-module":"^3.2.1"},"umd:minified":"dist/index.umd.min.js","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.43.0","rollup":"^3.21.5","ts-jest":"^29.1.0","prettier":"2.8.8","typescript":"^4.9.5","@types/jest":"^29.5.2","@types/uuid":"^9.0.2","npm-run-all":"^4.1.5","jest-fetch-mock":"^3.0.3","rollup-plugin-dotenv":"^0.4.1","@rollup/plugin-terser":"^0.4.1","jest-environment-jsdom":"^29.5.0","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-typescript":"^11.1.0","@typescript-eslint/parser":"^5.60.0","@rollup/plugin-node-resolve":"^15.0.2","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.60.0"},"_npmOperationalInternal":{"tmp":"tmp/airops-js_1.0.3_1687548124267_0.6575804011583464","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@airops/airops-js","version":"1.1.0","license":"MIT","_id":"@airops/airops-js@1.1.0","maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"homepage":"https://github.com/airopshq/airops-js#readme","bugs":{"url":"https://github.com/airopshq/airops-js/issues"},"dist":{"shasum":"69de0b01cd443c047ffabc69f0b7e91c6bd447c1","tarball":"https://registry.npmjs.org/@airops/airops-js/-/airops-js-1.1.0.tgz","fileCount":16,"integrity":"sha512-A6x7IfJRieTufEl1FaqzizGPD7bKZ9uWuv/dVyDujxPdpZ3VgF6GGAnKOHHowcUbhXDmTKigXoKZSlSuuco44w==","signatures":[{"sig":"MEUCIQChPl7PqZKt+Qw+/9bTV9T8jmde7wpK5DrpKz3tT0HPmwIgbhn0/8DPzFrNwYnMeUFy6gT0xThvtswmDGIyuJFSEXc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":844365},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"c096c3a71995b172ea09faef22cc669b86d2b474","scripts":{"dev":"rollup -c -w --bundleConfigAsCjs","tsc":"npx tsc","build":"NODE_ENV=staging npm-run-all build:clean compile","compile":"rollup -c --bundleConfigAsCjs","test:unit":"jest","build:prod":"NODE_ENV=prod npm-run-all build:clean compile","build:clean":"rm -rf ./dist"},"_npmUser":{"name":"schubert","email":"schubert@airops.com"},"umd:main":"dist/index.umd.js","repository":{"url":"git+https://github.com/airopshq/airops-js.git","type":"git"},"_npmVersion":"8.1.2","description":"JavaScript SDK for interacting with AirOps API","directories":{},"_nodeVersion":"16.13.2","dependencies":{"uuid":"^9.0.0","pusher-js":"^8.0.2","is-builtin-module":"^3.2.1"},"umd:minified":"dist/index.umd.min.js","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.43.0","rollup":"^3.21.5","ts-jest":"^29.1.0","prettier":"2.8.8","typescript":"^4.9.5","@types/jest":"^29.5.2","@types/uuid":"^9.0.2","npm-run-all":"^4.1.5","jest-fetch-mock":"^3.0.3","rollup-plugin-dotenv":"^0.4.1","@rollup/plugin-terser":"^0.4.1","jest-environment-jsdom":"^29.5.0","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-typescript":"^11.1.0","@typescript-eslint/parser":"^5.60.0","@rollup/plugin-node-resolve":"^15.0.2","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.60.0"},"_npmOperationalInternal":{"tmp":"tmp/airops-js_1.1.0_1688134391347_0.7567163365478522","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@airops/airops-js","version":"1.2.0","license":"MIT","_id":"@airops/airops-js@1.2.0","maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"homepage":"https://github.com/airopshq/airops-js#readme","bugs":{"url":"https://github.com/airopshq/airops-js/issues"},"dist":{"shasum":"8c575022bb3688c6c7ac8f61bd56847ae001b395","tarball":"https://registry.npmjs.org/@airops/airops-js/-/airops-js-1.2.0.tgz","fileCount":16,"integrity":"sha512-ElVno/mafLCnJNh+TdeX2/M9NcJBKu/RROU3UXRDTA5MdCTfdak90D5vVt6UDQClps2M1JIv7PsC5MDBqt32bg==","signatures":[{"sig":"MEUCIQCJeE56GoKe1daY2Te9h+olj48gEPFX7TsVR/viVTw93gIgWjUSsStNsGjMTFnzNigIXBoYCrWTVo90qdaL8vOYZ8g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":847354},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"e9417a2f63172c1b51e57fd2527d3c88f129afd3","scripts":{"dev":"rollup -c -w --bundleConfigAsCjs","tsc":"npx tsc","build":"NODE_ENV=staging npm-run-all build:clean compile","compile":"rollup -c --bundleConfigAsCjs","test:unit":"jest","build:prod":"NODE_ENV=prod npm-run-all build:clean compile","build:clean":"rm -rf ./dist"},"_npmUser":{"name":"schubert","email":"schubert@airops.com"},"umd:main":"dist/index.umd.js","repository":{"url":"git+https://github.com/airopshq/airops-js.git","type":"git"},"_npmVersion":"8.1.2","description":"JavaScript SDK for interacting with AirOps API","directories":{},"_nodeVersion":"16.13.2","dependencies":{"uuid":"^9.0.0","pusher-js":"^8.0.2","is-builtin-module":"^3.2.1"},"umd:minified":"dist/index.umd.min.js","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.43.0","rollup":"^3.21.5","ts-jest":"^29.1.0","prettier":"2.8.8","typescript":"^4.9.5","@types/jest":"^29.5.2","@types/uuid":"^9.0.2","npm-run-all":"^4.1.5","jest-fetch-mock":"^3.0.3","rollup-plugin-dotenv":"^0.4.1","@rollup/plugin-terser":"^0.4.1","jest-environment-jsdom":"^29.5.0","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-typescript":"^11.1.0","@typescript-eslint/parser":"^5.60.0","@rollup/plugin-node-resolve":"^15.0.2","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.60.0"},"_npmOperationalInternal":{"tmp":"tmp/airops-js_1.2.0_1688136951228_0.4595132324363558","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@airops/airops-js","version":"1.3.0","license":"MIT","_id":"@airops/airops-js@1.3.0","maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"homepage":"https://github.com/airopshq/airops-js#readme","bugs":{"url":"https://github.com/airopshq/airops-js/issues"},"dist":{"shasum":"fe7c09df387631d63142b288243036cd95529fe1","tarball":"https://registry.npmjs.org/@airops/airops-js/-/airops-js-1.3.0.tgz","fileCount":16,"integrity":"sha512-YP/hdApXyuKMGCBj6REO68/Nh5/hlKvP6mUZEAtHCLQdpfTq2fGoHDTFKx4uJmljViIZ7WyJ3jplc6EvNjREUg==","signatures":[{"sig":"MEQCIGA3YoItsKRhe+rDeNMkKJpUOCm5Xo33248UXbQiJQExAiAenEQRORlhMAyllADsF+2pDtKHn7fummFDLMAgRtWsPQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":847612},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"542e47565e40a5db4ed2f379cc47da6f2db5d1fa","scripts":{"dev":"rollup -c -w --bundleConfigAsCjs","tsc":"npx tsc","build":"NODE_ENV=staging npm-run-all build:clean compile","compile":"rollup -c --bundleConfigAsCjs","test:unit":"jest","build:prod":"NODE_ENV=prod npm-run-all build:clean compile","build:clean":"rm -rf ./dist"},"_npmUser":{"name":"schubert","email":"schubert@airops.com"},"umd:main":"dist/index.umd.js","repository":{"url":"git+https://github.com/airopshq/airops-js.git","type":"git"},"_npmVersion":"8.1.2","description":"JavaScript SDK for interacting with AirOps API","directories":{},"_nodeVersion":"16.13.2","dependencies":{"uuid":"^9.0.0","pusher-js":"^8.0.2","is-builtin-module":"^3.2.1"},"umd:minified":"dist/index.umd.min.js","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.43.0","rollup":"^3.21.5","ts-jest":"^29.1.0","prettier":"2.8.8","typescript":"^4.9.5","@types/jest":"^29.5.2","@types/uuid":"^9.0.2","npm-run-all":"^4.1.5","jest-fetch-mock":"^3.0.3","rollup-plugin-dotenv":"^0.4.1","@rollup/plugin-terser":"^0.4.1","jest-environment-jsdom":"^29.5.0","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-typescript":"^11.1.0","@typescript-eslint/parser":"^5.60.0","@rollup/plugin-node-resolve":"^15.0.2","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.60.0"},"_npmOperationalInternal":{"tmp":"tmp/airops-js_1.3.0_1688489868021_0.7504976628032534","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@airops/airops-js","version":"1.4.0","license":"MIT","_id":"@airops/airops-js@1.4.0","maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"homepage":"https://github.com/airopshq/airops-js#readme","bugs":{"url":"https://github.com/airopshq/airops-js/issues"},"dist":{"shasum":"3dcdb3d4f555b2a65a8544759633aeb846b88886","tarball":"https://registry.npmjs.org/@airops/airops-js/-/airops-js-1.4.0.tgz","fileCount":16,"integrity":"sha512-Q2hiuvv56d5T4DfqYBnmueCkC1aK9IyyvbVFdfyVxqpPN6QfLQn7RJEF8MuK8Xx2K0DDTeeE7eenFbH3WN6L5Q==","signatures":[{"sig":"MEUCIQCaMrvsCkG43ng/L+KqGVtPkeClnCbI7FzAtph1OYw5nAIgYLDr6VL+Wi/pYXBR7vEFCwVx2f2N3Gl1qtykeA86zYg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":847820},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"116ac484da6c5af71abc4eb6fd105f08db64762d","scripts":{"dev":"rollup -c -w --bundleConfigAsCjs","tsc":"npx tsc","build":"NODE_ENV=staging npm-run-all build:clean compile","compile":"rollup -c --bundleConfigAsCjs","test:unit":"jest","build:prod":"NODE_ENV=prod npm-run-all build:clean compile","build:clean":"rm -rf ./dist"},"_npmUser":{"name":"schubert","email":"schubert@airops.com"},"umd:main":"dist/index.umd.js","repository":{"url":"git+https://github.com/airopshq/airops-js.git","type":"git"},"_npmVersion":"8.1.2","description":"JavaScript SDK for interacting with AirOps API","directories":{},"_nodeVersion":"16.13.2","dependencies":{"uuid":"^9.0.0","pusher-js":"^8.0.2","is-builtin-module":"^3.2.1"},"umd:minified":"dist/index.umd.min.js","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.43.0","rollup":"^3.21.5","ts-jest":"^29.1.0","prettier":"2.8.8","typescript":"^4.9.5","@types/jest":"^29.5.2","@types/uuid":"^9.0.2","npm-run-all":"^4.1.5","jest-fetch-mock":"^3.0.3","rollup-plugin-dotenv":"^0.4.1","@rollup/plugin-terser":"^0.4.1","jest-environment-jsdom":"^29.5.0","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-typescript":"^11.1.0","@typescript-eslint/parser":"^5.60.0","@rollup/plugin-node-resolve":"^15.0.2","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.60.0"},"_npmOperationalInternal":{"tmp":"tmp/airops-js_1.4.0_1689778137884_0.6757945210445866","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@airops/airops-js","version":"2.0.0","license":"MIT","_id":"@airops/airops-js@2.0.0","maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"homepage":"https://github.com/airopshq/airops-js#readme","bugs":{"url":"https://github.com/airopshq/airops-js/issues"},"dist":{"shasum":"f8a8662750d0e30be2e006db2f7c97f484195a73","tarball":"https://registry.npmjs.org/@airops/airops-js/-/airops-js-2.0.0.tgz","fileCount":16,"integrity":"sha512-GwNqXVl+R15hEKzFWuxr5d5Qp04Ut3Dq3GnUmnB0XOyso/isMlzf3+W6zEA7qEC00Jn6JUgIyh3TO2EMJleaCg==","signatures":[{"sig":"MEQCIDO3GYw5IDIdk+YpFnqyWAO18d+vChUzn91TCNozZ5N9AiAJi24b9awz6dyWZXyks9cdSleqPFMV/VtrTPJK/JgQLQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":848921},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"73b5cc109e6e377e15b77facfd100697b36ba772","scripts":{"dev":"rollup -c -w --bundleConfigAsCjs","tsc":"npx tsc","build":"NODE_ENV=staging npm-run-all build:clean compile","compile":"rollup -c --bundleConfigAsCjs","test:unit":"jest","build:prod":"NODE_ENV=prod npm-run-all build:clean compile","build:clean":"rm -rf ./dist"},"_npmUser":{"name":"schubert","email":"schubert@airops.com"},"umd:main":"dist/index.umd.js","repository":{"url":"git+https://github.com/airopshq/airops-js.git","type":"git"},"_npmVersion":"8.1.2","description":"JavaScript SDK for interacting with AirOps API","directories":{},"_nodeVersion":"16.13.2","dependencies":{"uuid":"^9.0.0","pusher-js":"^8.0.2","is-builtin-module":"^3.2.1"},"umd:minified":"dist/index.umd.min.js","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.43.0","rollup":"^3.21.5","ts-jest":"^29.1.0","prettier":"2.8.8","typescript":"^4.9.5","@types/jest":"^29.5.2","@types/uuid":"^9.0.2","npm-run-all":"^4.1.5","jest-fetch-mock":"^3.0.3","rollup-plugin-dotenv":"^0.4.1","@rollup/plugin-terser":"^0.4.1","jest-environment-jsdom":"^29.5.0","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-typescript":"^11.1.0","@typescript-eslint/parser":"^5.60.0","@rollup/plugin-node-resolve":"^15.0.2","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.60.0"},"_npmOperationalInternal":{"tmp":"tmp/airops-js_2.0.0_1689862845068_0.6478656549483879","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@airops/airops-js","version":"2.1.0","license":"MIT","_id":"@airops/airops-js@2.1.0","maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"homepage":"https://github.com/airopshq/airops-js#readme","bugs":{"url":"https://github.com/airopshq/airops-js/issues"},"dist":{"shasum":"d1df3d28e7f55c73bf7f6340e496f7af7ec2d5be","tarball":"https://registry.npmjs.org/@airops/airops-js/-/airops-js-2.1.0.tgz","fileCount":16,"integrity":"sha512-7j6PAs4xFMjRvDTurkjStR8BFDLUUqZjtEwQvEnedmujtTjI+e81dYsaIy0T5Fs0eAhO/+PCQx0WG2ygWUHONA==","signatures":[{"sig":"MEYCIQDKDQ+QwwNMLVwwSB4xUgy+BM/xwxBFLkDjeHm7PYoSewIhAP5iW1I8nEDL9L2XHKVazyUhVWJb3hCCnzkbEyJHWOF0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":848921},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"4424dc77d8d9afefbfd67d47cd00cf3a0fe76644","scripts":{"dev":"rollup -c -w --bundleConfigAsCjs","tsc":"npx tsc","build":"NODE_ENV=staging npm-run-all build:clean compile","compile":"rollup -c --bundleConfigAsCjs","test:unit":"jest","build:prod":"NODE_ENV=prod npm-run-all build:clean compile","build:clean":"rm -rf ./dist"},"_npmUser":{"name":"schubert","email":"schubert@airops.com"},"umd:main":"dist/index.umd.js","repository":{"url":"git+https://github.com/airopshq/airops-js.git","type":"git"},"_npmVersion":"8.1.2","description":"JavaScript SDK for interacting with AirOps API","directories":{},"_nodeVersion":"16.13.2","dependencies":{"uuid":"^9.0.0","pusher-js":"^8.0.2","is-builtin-module":"^3.2.1"},"umd:minified":"dist/index.umd.min.js","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.43.0","rollup":"^3.21.5","ts-jest":"^29.1.0","prettier":"2.8.8","typescript":"^4.9.5","@types/jest":"^29.5.2","@types/uuid":"^9.0.2","npm-run-all":"^4.1.5","jest-fetch-mock":"^3.0.3","rollup-plugin-dotenv":"^0.4.1","@rollup/plugin-terser":"^0.4.1","jest-environment-jsdom":"^29.5.0","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-typescript":"^11.1.0","@typescript-eslint/parser":"^5.60.0","@rollup/plugin-node-resolve":"^15.0.2","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.60.0"},"_npmOperationalInternal":{"tmp":"tmp/airops-js_2.1.0_1689865872840_0.7569802137602843","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@airops/airops-js","version":"2.2.0","license":"MIT","_id":"@airops/airops-js@2.2.0","maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"homepage":"https://github.com/airopshq/airops-js#readme","bugs":{"url":"https://github.com/airopshq/airops-js/issues"},"dist":{"shasum":"1fadca116a619204f4938954d743c93d370e446c","tarball":"https://registry.npmjs.org/@airops/airops-js/-/airops-js-2.2.0.tgz","fileCount":16,"integrity":"sha512-7XPCavu80kTIG0B7NaZ6JN1vB+nzVSJgEXrHYugTv+FSV7z4FPq/5Tya2oOfeVANSSnYj6M1CYYjhlK6tXrk4A==","signatures":[{"sig":"MEUCIER6LVRNbk8zVScXcWJyTFJ6NQXlrEJ/hN8ErXadvqSSAiEA1rJ4MSdQFG/gbcGxGcqg5F2iVHAkIEqYKQS8ar2R62o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":855465},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"2edc55d380dc17ba3b17e489cd8030acd0d32ff4","scripts":{"dev":"rollup -c -w --bundleConfigAsCjs","tsc":"npx tsc","build":"NODE_ENV=staging npm-run-all build:clean compile","compile":"rollup -c --bundleConfigAsCjs","prepare":"husky install","test:unit":"jest","build:prod":"NODE_ENV=prod npm-run-all build:clean compile","build:clean":"rm -rf ./dist"},"_npmUser":{"name":"schubert","email":"schubert@airops.com"},"umd:main":"dist/index.umd.js","repository":{"url":"git+https://github.com/airopshq/airops-js.git","type":"git"},"_npmVersion":"8.1.2","description":"JavaScript SDK for interacting with AirOps API","directories":{},"lint-staged":{"./src/*.{js,ts,tsx,jsx}":["prettier --write","eslint --fix"]},"_nodeVersion":"16.13.2","dependencies":{"uuid":"^9.0.0","pusher-js":"^8.0.2","is-builtin-module":"^3.2.1"},"umd:minified":"dist/index.umd.min.js","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","eslint":"^8.43.0","rollup":"^3.21.5","ts-jest":"^29.1.0","prettier":"2.8.8","typescript":"^4.9.5","@types/jest":"^29.5.2","@types/uuid":"^9.0.2","lint-staged":"^13.2.3","npm-run-all":"^4.1.5","jest-fetch-mock":"^3.0.3","rollup-plugin-dotenv":"^0.4.1","@rollup/plugin-terser":"^0.4.1","jest-environment-jsdom":"^29.5.0","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-typescript":"^11.1.0","@typescript-eslint/parser":"^5.60.0","@rollup/plugin-node-resolve":"^15.0.2","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.60.0"},"_npmOperationalInternal":{"tmp":"tmp/airops-js_2.2.0_1691081499313_0.022705852820371852","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@airops/airops-js","version":"2.3.0","description":"JavaScript SDK for interacting with AirOps API","main":"dist/index.cjs.js","module":"dist/index.esm.js","umd:main":"dist/index.umd.js","umd:minified":"dist/index.umd.min.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/airopshq/airops-js.git"},"scripts":{"tsc":"npx tsc","build:clean":"rm -rf ./dist","dev":"rollup -c -w --bundleConfigAsCjs","compile":"rollup -c --bundleConfigAsCjs","build":"NODE_ENV=staging npm-run-all build:clean compile","build:prod":"NODE_ENV=prod npm-run-all build:clean compile","test:unit":"jest","prepare":"husky install"},"devDependencies":{"@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","@rollup/plugin-typescript":"^11.1.0","@types/jest":"^29.5.2","@types/uuid":"^9.0.2","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","eslint":"^8.43.0","husky":"^8.0.3","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","jest-fetch-mock":"^3.0.3","lint-staged":"^13.2.3","npm-run-all":"^4.1.5","prettier":"2.8.8","rollup":"^3.21.5","rollup-plugin-dotenv":"^0.4.1","rollup-plugin-polyfill-node":"^0.12.0","ts-jest":"^29.1.0","typescript":"^4.9.5"},"dependencies":{"is-builtin-module":"^3.2.1","pusher-js":"^8.0.2","uuid":"^9.0.0"},"license":"MIT","lint-staged":{"./src/*.{js,ts,tsx,jsx}":["prettier --write","eslint --fix"]},"_id":"@airops/airops-js@2.3.0","gitHead":"34e65d9cadc964710ca82454f0ccdb8619f2dee4","bugs":{"url":"https://github.com/airopshq/airops-js/issues"},"homepage":"https://github.com/airopshq/airops-js#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-LawodWyMoMJgs5lNDPMpwXI+Ck3nzuFvxVVrM626m9Bm+pdR5fdiKDI6JRnZgT4mZrciZOhLcown16RnaVraeg==","shasum":"1ed56e7124fa93c0db0d45e33aa0be62aeb925ef","tarball":"https://registry.npmjs.org/@airops/airops-js/-/airops-js-2.3.0.tgz","fileCount":16,"unpackedSize":855926,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFvJgtRjGXakpNCdjclx5fxr0S5VMdUuG7YhGKG+qSGFAiEA8kB2J/g3LQIFdYeJh68mIqykQdlppDm4SeY7H/mJ3xs="}]},"_npmUser":{"name":"tintef","email":"nico.tinte@gmail.com"},"directories":{},"maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/airops-js_2.3.0_1724872435559_0.8770876440592297"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-21T18:49:27.976Z","modified":"2024-08-28T19:13:56.357Z","1.0.0":"2023-06-21T18:49:28.480Z","1.0.1":"2023-06-21T19:09:35.910Z","1.0.2":"2023-06-23T18:29:33.536Z","1.0.3":"2023-06-23T19:22:04.514Z","1.1.0":"2023-06-30T14:13:11.613Z","1.2.0":"2023-06-30T14:55:51.556Z","1.3.0":"2023-07-04T16:57:48.277Z","1.4.0":"2023-07-19T14:48:58.117Z","2.0.0":"2023-07-20T14:20:45.382Z","2.1.0":"2023-07-20T15:11:13.004Z","2.2.0":"2023-08-03T16:51:39.624Z","2.3.0":"2024-08-28T19:13:55.978Z"},"bugs":{"url":"https://github.com/airopshq/airops-js/issues"},"license":"MIT","homepage":"https://github.com/airopshq/airops-js#readme","repository":{"type":"git","url":"git+https://github.com/airopshq/airops-js.git"},"description":"JavaScript SDK for interacting with AirOps API","maintainers":[{"name":"bernabe9","email":"gobernabe@gmail.com"},{"name":"tintef","email":"nico.tinte@gmail.com"},{"name":"schubert","email":"schubert@airops.com"}],"readme":"# @airops/airops-js\n\nUse [AirOps](https://docs.airops.com/docs/client-sdk) API in your client application with our JavaScript SDK.\n\n[![npm](https://img.shields.io/npm/v/@airops/airops-js.svg)](https://www.npmjs.com/package/@airops/airops-js)\n\n# Getting Started\n\n## Installation\n\n```bash\n npm i @airops/airops-js\n```\n\nor use the CDN:\n\n```html\n<script src=“https://cdn.jsdelivr.net/npm/@airops/airops-js/dist/index.umd.min.js”></script>\n```\n\n## Server configuration\n\nTo authenticate with our API using the SDK, you'll need three pieces of information: your workspace id, API key and user\nid (identifier for the user in your application). First, use the API key to hash your user id on your back-end server. This will result in a\nhashed user id that is unique to your API key and user id combination. Workspace id and API key can be found in your\nworkspace settings.\n\n### Example Node.js backend configuration.\n\n```javascript\nconst crypto = require('crypto');\n\nconst userIdHash = () => {\n  const apiKey = 'YOUR_API_KEY';\n  const userId = 'YOUR_USER_ID';\n\n  // Convert your api key to a buffer\n  const key = Buffer.from(apiKey, 'utf-8');\n\n  // Hash the message using HMAC-SHA256 and the key\n  const hash = crypto.createHmac('sha256', key).update(userId).digest('hex');\n\n  return hash;\n};\n```\n\n## Initialize the SDK\n\n```javascript\nconst airopsInstance = AirOps.identify({\n  userId: 'YOUR_USER_ID',\n  workspaceId: 'YOUR_WORKSPACE_ID',\n  hashedUserId: 'YOUR_USER_ID_HASH',\n});\n```\n\nNote that authorization is **not** required to execute public apps. If you're working with public initialize without arguments:\n\n```javascript\nconst airopsInstance = new AirOps();\n```\n\n## Usage\n\nOnce you have successfully initialized the SDK, you can begin using the methods available to interact with our API.\nNote that the methods will return promises.\n\n### Execute an App\n\nThe SDK provides a method for executing an app. In order to stream the app results you will need to enable stream and pass a callback function to the execute method. Optionally you can pass an extra callback function to get a notification when the app is finished.\n\n```javascript\n// Execute an app\nconst response = await airopsInstance.apps.execute({\n  appId: 1,\n  version: 1,\n  payload: {\n    inputs: {\n      name: 'XXXXYYYYZZZZ',\n    },\n  },\n  stream: true, // Optional - Default false\n  streamCallback: (data: { content: string }) => {\n    // Do something with the data\n  }, // Optional, required if stream is true\n  streamCompletedCallback: (data: { content: string }) => {\n    // Do something with the data\n  }, // Optional\n});\n\n// Wait for result\nconst result = await response.result();\n// Do something with result.output\n\n// Cancel execution\nawait response.cancel();\n```\n\n**Response**\n\nThe response from the execute method will contain the execution id that can be used to retrieve results later along with two methods to wait for results or cancel the execution:\n\n```typescript\ninterface ExecuteResponse {\n  executionId: number;\n  result: () => Promise<AppExecution>;\n  cancel: () => Promise<void>;\n}\n\ninterface AppExecution {\n  airops_app_id: number;\n  id: number;\n  status: string;\n  output: string;\n  stream_channel_id: string;\n}\n```\n\nThe result method implements pulling logic for results with a timeout of **10 minutes**. If you want to implement your own pulling logic you can use the getResults method described below.\n\n### Pull results async\n\nYou can implement your own pulling logic using the getResults method.\n\n```javascript\nconst result = await airopsInstance.apps.getResults({\n  executionId: response.executionId,\n});\n```\n\n### Chat Stream\n\nFor Chat Apps, you can use the `chatStream` method which allows you to send messages to the Chat App.\n\n```javascript\nconst response = await airopsInstance.apps.chatStream({\n  appId: 2,\n  message,\n  inputs: {\n    name: 'XXXXYYYYZZZZ',\n  },\n  streamCallback: ({ action: ChatAction, ...data) => {\n    // ChatAction can either be 'agent-response', 'agent-action' or 'agent-action-error'\n    // data will have different values depending on the action:\n    //   - agent-response: { token: string, stream_finished: boolean, result :string }\n    //   - agent-action: { tool: string, tool_input: Record<string, string> }\n    //   - agent-action-error: { tool: string, tool_error: string }\n  },\n  streamCompletedCallback: (data: { result: string }) => {\n    // do something with data.result\n  },\n  ...(sessionId && { sessionId }), // optionally pass sessionId to continue chat.\n});\n\n// Wait for result\nconst result = await response.result();\n// Do something with result.result\n\n// Cancel execution\nawait response.cancel();\n\n// Use session id to continue chat\nresponse.sessionId;\n```\n\n**Response**\n\nThe response from the chatStream method will contain the sessionId and a result method to wait for the response.\nIn order to continue with the chat pass the sessionId along with the message.\n\n```typescript\nexport interface ChatStreamResponse {\n  sessionId: string;\n  result: Promise<{ result: string }>; // result is a promise that resolves when the execution is completed.\n}\n```\n\n### Error handling\n\n```javascript\ntry {\n  await airopsInstance.apps.execute({\n    appId: 1,\n    version: 4,\n    payload: {\n      inputs: { name: 'XXXXYYYYZZZZ' },\n    },\n  });\n} catch (e) {\n  // Do something with error.message\n}\n```\n\n## Need help?\n\nJoin our AirOps builder [slack](https://join.slack.com/t/airopsbuilders/shared_invite/zt-1whiyc290-fw8tsDn0nq89UqGSXIcUNA) community.\n","readmeFilename":"README.md"}