{"_id":"@api7/portal-sdk","_rev":"12-2cf618943035679abdc8ccbbdc1001d1","name":"@api7/portal-sdk","dist-tags":{"latest":"2.0.1"},"versions":{"0.0.1":{"name":"@api7/portal-sdk","version":"0.0.1","license":"Apache-2.0","_id":"@api7/portal-sdk@0.0.1","maintainers":[{"name":"juzhiyuan","email":"jjzhiyuan@gmail.com"},{"name":"api7ai","email":"infra@api7.ai"}],"homepage":"https://github.com/api7/portal-sdk-typescript#readme","bugs":{"url":"https://github.com/api7/portal-sdk-typescript/issues"},"nx":{"name":"portal-sdk","targets":{"openapi-ts":{"options":{"cwd":"packages/portal-sdk","command":"openapi-ts"},"executor":"nx:run-commands"}}},"dist":{"shasum":"7ea564efca1328e32f011f92f603a7aba1892be8","tarball":"https://registry.npmjs.org/@api7/portal-sdk/-/portal-sdk-0.0.1.tgz","fileCount":55,"integrity":"sha512-rKvenktC85pWuA7deGBXiqbjMNUyDPmv1bsDwsHEASpNdzEAeXdHpsGbXvodsx47xjG2aFAxq4NEKszIBSrNng==","signatures":[{"sig":"MEUCIHwIKJEBGsaOLqGwDe3ZNsqfcxTV6vqPgBe8DUUFPj4jAiEAmshq581MKNeuIo0TzDpgHULYLQyix/zVJCwU0nybufU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":221061},"main":"./dist/index.js","type":"module","_from":"file:api7-portal-sdk-0.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"_npmUser":{"name":"api7ai","email":"infra@api7.ai"},"_resolved":"/tmp/5bda8a17b001b923ab4e8753ccebfd8b/api7-portal-sdk-0.0.1.tgz","_integrity":"sha512-rKvenktC85pWuA7deGBXiqbjMNUyDPmv1bsDwsHEASpNdzEAeXdHpsGbXvodsx47xjG2aFAxq4NEKszIBSrNng==","repository":{"url":"git+https://github.com/api7/portal-sdk-typescript.git"},"_npmVersion":"10.9.3","description":"```sh npm install @api7/portal-sdk # or yarn add @api7/portal-sdk # or pnpm add @api7/portal-sdk ```","directories":{},"_nodeVersion":"22.20.0","dependencies":{"axios":"^1.13.2"},"_hasShrinkwrap":false,"devDependencies":{"@hey-api/openapi-ts":"0.89.2"},"_npmOperationalInternal":{"tmp":"tmp/portal-sdk_0.0.1_1766743478886_0.8854814105903126","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@api7/portal-sdk","version":"0.0.2","license":"Apache-2.0","_id":"@api7/portal-sdk@0.0.2","maintainers":[{"name":"juzhiyuan","email":"jjzhiyuan@gmail.com"},{"name":"api7ai","email":"infra@api7.ai"}],"homepage":"https://github.com/api7/portal-sdk-typescript#readme","bugs":{"url":"https://github.com/api7/portal-sdk-typescript/issues"},"nx":{"name":"portal-sdk","targets":{"openapi-ts":{"options":{"cwd":"packages/portal-sdk","command":"openapi-ts"},"executor":"nx:run-commands"}}},"dist":{"shasum":"6ac045d1f5b416f328ce5d1ff09b171fdfe488b5","tarball":"https://registry.npmjs.org/@api7/portal-sdk/-/portal-sdk-0.0.2.tgz","fileCount":61,"integrity":"sha512-IfOIqarWFDu/5Za9aUa6hZIFJOMe617IKgOgotWKlK0na8nblFC1Ehi+vTtQ5jbHEO85fO6RU/w38v1NPfP5kw==","signatures":[{"sig":"MEQCIAvK4HwfbZrTYai7RZH+z7TmPfmHBO55IwfaL5GWPVZ+AiA3zH6k3rkw49TzIbXQWK8qm4cMTXKt40Qq9zP/df3HTg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@api7%2fportal-sdk@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":230333},"main":"./dist/index.js","type":"module","_from":"file:api7-portal-sdk-0.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js","default":"./dist/browser.js","require":"./dist/browser.cjs"},"./package.json":"./package.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:84a5c8de-9cf5-4f2f-a6fd-b49616d2d297"}},"_resolved":"/tmp/b6b30e6b662464a113a75675bf364fd5/api7-portal-sdk-0.0.2.tgz","_integrity":"sha512-IfOIqarWFDu/5Za9aUa6hZIFJOMe617IKgOgotWKlK0na8nblFC1Ehi+vTtQ5jbHEO85fO6RU/w38v1NPfP5kw==","repository":{"url":"git+https://github.com/api7/portal-sdk-typescript.git","directory":"packages/portal-sdk"},"_npmVersion":"11.6.2","description":"API7 Portal JavaScript SDK","directories":{},"_nodeVersion":"24.12.0","dependencies":{"axios":"^1.13.2"},"_hasShrinkwrap":false,"devDependencies":{"@hey-api/openapi-ts":"0.89.2"},"_npmOperationalInternal":{"tmp":"tmp/portal-sdk_0.0.2_1766980842227_0.4727075066462152","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@api7/portal-sdk","version":"0.0.3","license":"Apache-2.0","_id":"@api7/portal-sdk@0.0.3","maintainers":[{"name":"juzhiyuan","email":"jjzhiyuan@gmail.com"},{"name":"api7ai","email":"infra@api7.ai"},{"name":"bzp2010","email":"bzp20000818@gmail.com"}],"homepage":"https://github.com/api7/portal-sdk-typescript#readme","bugs":{"url":"https://github.com/api7/portal-sdk-typescript/issues"},"nx":{"name":"portal-sdk","targets":{"openapi-ts":{"options":{"cwd":"packages/portal-sdk","command":"openapi-ts"},"executor":"nx:run-commands"}}},"dist":{"shasum":"517d6fd3e9335532e7cbebf3a2f280cced9014ff","tarball":"https://registry.npmjs.org/@api7/portal-sdk/-/portal-sdk-0.0.3.tgz","fileCount":65,"integrity":"sha512-EH3bPwsIC10TccmdsedS9n7OtFej782XFCmzG8iNIPmuurxTqRYq9Qb7ZBGydZtUKvcu1V2T1fC+iMQ2BxPCzg==","signatures":[{"sig":"MEYCIQD+zA00z+rtap17mJGG6y7J4FzX26kLgjh303TgVzu7UQIhALBSu+kNkiKy7wNviKZQySXIHCrn4sL+BoLDoFlARKT0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@api7%2fportal-sdk@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":232742},"main":"./dist/index.js","type":"module","_from":"file:api7-portal-sdk-0.0.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js","default":"./dist/browser.js","require":"./dist/browser.cjs"},"./package.json":"./package.json","./unstable-types":{"types":"./dist/unstable/typing.d.ts"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:84a5c8de-9cf5-4f2f-a6fd-b49616d2d297"}},"_resolved":"/tmp/562266d3332129723f0761ec66dc3d35/api7-portal-sdk-0.0.3.tgz","_integrity":"sha512-EH3bPwsIC10TccmdsedS9n7OtFej782XFCmzG8iNIPmuurxTqRYq9Qb7ZBGydZtUKvcu1V2T1fC+iMQ2BxPCzg==","repository":{"url":"git+https://github.com/api7/portal-sdk-typescript.git","directory":"packages/portal-sdk"},"_npmVersion":"11.6.2","description":"API7 Portal JavaScript SDK","directories":{},"_nodeVersion":"24.12.0","dependencies":{"axios":"^1.13.2"},"_hasShrinkwrap":false,"devDependencies":{"@hey-api/openapi-ts":"0.89.2"},"_npmOperationalInternal":{"tmp":"tmp/portal-sdk_0.0.3_1767059515693_0.17403272514798585","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@api7/portal-sdk","version":"0.0.4","license":"Apache-2.0","_id":"@api7/portal-sdk@0.0.4","maintainers":[{"name":"juzhiyuan","email":"jjzhiyuan@gmail.com"},{"name":"api7ai","email":"infra@api7.ai"},{"name":"bzp2010","email":"bzp20000818@gmail.com"}],"homepage":"https://github.com/api7/portal-sdk-typescript#readme","bugs":{"url":"https://github.com/api7/portal-sdk-typescript/issues"},"nx":{"name":"portal-sdk","targets":{"openapi-ts":{"options":{"cwd":"packages/portal-sdk","command":"openapi-ts"},"executor":"nx:run-commands"}}},"dist":{"shasum":"33c16cddef7e518fe1b38f6d0a5aa59d31a41ec7","tarball":"https://registry.npmjs.org/@api7/portal-sdk/-/portal-sdk-0.0.4.tgz","fileCount":65,"integrity":"sha512-kz1jxpGmA+sT1eEDXKMCku1MFJz0BReD9mEPQBHp4J5DkyVv/twxi5GUgHCPk+AWoAED42cLfdN3za6+qArj0w==","signatures":[{"sig":"MEUCIQC5B5OP41nDvgbYDD0NfaZOPRi5K0M+/cVspPRKmmB9CAIgEdA12tiYWRYb1a1wgbxVQ6F3lrQREIG2QXINJsGqJuA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@api7%2fportal-sdk@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":236563},"main":"./dist/index.js","type":"module","_from":"file:api7-portal-sdk-0.0.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js","default":"./dist/browser.js","require":"./dist/browser.cjs"},"./package.json":"./package.json","./unstable-types":{"types":"./dist/unstable/typing.d.ts"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:84a5c8de-9cf5-4f2f-a6fd-b49616d2d297"}},"_resolved":"/tmp/202c0999872d24e8ff865d8a87fe2c9c/api7-portal-sdk-0.0.4.tgz","_integrity":"sha512-kz1jxpGmA+sT1eEDXKMCku1MFJz0BReD9mEPQBHp4J5DkyVv/twxi5GUgHCPk+AWoAED42cLfdN3za6+qArj0w==","repository":{"url":"git+https://github.com/api7/portal-sdk-typescript.git","directory":"packages/portal-sdk"},"_npmVersion":"11.6.2","description":"API7 Portal JavaScript SDK","directories":{},"_nodeVersion":"24.12.0","dependencies":{"axios":"^1.13.2"},"_hasShrinkwrap":false,"devDependencies":{"@hey-api/openapi-ts":"0.89.2"},"_npmOperationalInternal":{"tmp":"tmp/portal-sdk_0.0.4_1767158427386_0.27856477664463974","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@api7/portal-sdk","version":"1.0.0","license":"Apache-2.0","_id":"@api7/portal-sdk@1.0.0","maintainers":[{"name":"juzhiyuan","email":"jjzhiyuan@gmail.com"},{"name":"api7ai","email":"infra@api7.ai"},{"name":"bzp2010","email":"bzp20000818@gmail.com"}],"homepage":"https://github.com/api7/portal-sdk-typescript#readme","bugs":{"url":"https://github.com/api7/portal-sdk-typescript/issues"},"nx":{"name":"portal-sdk","targets":{"openapi-ts":{"options":{"cwd":"packages/portal-sdk","command":"openapi-ts"},"executor":"nx:run-commands"}}},"dist":{"shasum":"7ca2dc279bbbd6921b40e1b068de5c99b6e50aa4","tarball":"https://registry.npmjs.org/@api7/portal-sdk/-/portal-sdk-1.0.0.tgz","fileCount":65,"integrity":"sha512-kLfofu/4Dgg3Yp80+LHUsXS3/gMFN/y64AwiwEMO6r4FmfAF6biCMyG02H5GcmO2Iv/suoMkSxEL4/42qhNmHQ==","signatures":[{"sig":"MEUCIFmQj8u0tEF4yFxdlSn8H4YXU0zdOFdEJoHDD+vIUKRPAiEAkdhZ7kKBUS0IcnmJKsjh4shNMJQXeNxBT29R+4mOqrk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@api7%2fportal-sdk@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":236563},"main":"./dist/index.js","type":"module","_from":"file:api7-portal-sdk-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js","default":"./dist/browser.js","require":"./dist/browser.cjs"},"./package.json":"./package.json","./unstable-types":{"types":"./dist/unstable/typing.d.ts"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:84a5c8de-9cf5-4f2f-a6fd-b49616d2d297"}},"_resolved":"/tmp/186c6f7e6ed3d31cce7c9f738b5cf4e0/api7-portal-sdk-1.0.0.tgz","_integrity":"sha512-kLfofu/4Dgg3Yp80+LHUsXS3/gMFN/y64AwiwEMO6r4FmfAF6biCMyG02H5GcmO2Iv/suoMkSxEL4/42qhNmHQ==","repository":{"url":"git+https://github.com/api7/portal-sdk-typescript.git","directory":"packages/portal-sdk"},"_npmVersion":"11.6.2","description":"API7 Portal JavaScript SDK","directories":{},"_nodeVersion":"24.12.0","dependencies":{"axios":"^1.13.2"},"_hasShrinkwrap":false,"devDependencies":{"@hey-api/openapi-ts":"0.89.2"},"_npmOperationalInternal":{"tmp":"tmp/portal-sdk_1.0.0_1767603651497_0.7435705834767778","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@api7/portal-sdk","version":"1.0.1","license":"Apache-2.0","_id":"@api7/portal-sdk@1.0.1","maintainers":[{"name":"juzhiyuan","email":"jjzhiyuan@gmail.com"},{"name":"api7ai","email":"infra@api7.ai"},{"name":"bzp2010","email":"bzp20000818@gmail.com"}],"homepage":"https://github.com/api7/portal-sdk-typescript#readme","bugs":{"url":"https://github.com/api7/portal-sdk-typescript/issues"},"nx":{"name":"portal-sdk","targets":{"openapi-ts":{"options":{"cwd":"packages/portal-sdk","command":"openapi-ts"},"executor":"nx:run-commands"}}},"dist":{"shasum":"21c98a1e4d978ccc78992c75d73fd07d1457f28e","tarball":"https://registry.npmjs.org/@api7/portal-sdk/-/portal-sdk-1.0.1.tgz","fileCount":65,"integrity":"sha512-1zlGiSsZ1F6cXapJsGx53cWEUNR/RESTJ/X9l1c4iWh24BGYB78BrHBiky8U/Tq5l7ijqbGp19AWFolBkCCXzg==","signatures":[{"sig":"MEUCIDN3kCyYTKbQStbIDQcP3L2QL+k0GFqhBLHiC2Yb231tAiEAzQ8YF8yXLY6qrPyIRT1mdc3J9RdeTNucm5iJrnIm+NA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@api7%2fportal-sdk@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":236610},"main":"./dist/index.js","type":"module","_from":"file:api7-portal-sdk-1.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js","default":"./dist/browser.js","require":"./dist/browser.cjs"},"./package.json":"./package.json","./unstable-types":{"types":"./dist/unstable/typing.d.ts"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:84a5c8de-9cf5-4f2f-a6fd-b49616d2d297"}},"_resolved":"/tmp/08de13030fde5787db3dc8191b41206a/api7-portal-sdk-1.0.1.tgz","_integrity":"sha512-1zlGiSsZ1F6cXapJsGx53cWEUNR/RESTJ/X9l1c4iWh24BGYB78BrHBiky8U/Tq5l7ijqbGp19AWFolBkCCXzg==","repository":{"url":"git+https://github.com/api7/portal-sdk-typescript.git","directory":"packages/portal-sdk"},"_npmVersion":"11.6.2","description":"API7 Portal JavaScript SDK","directories":{},"_nodeVersion":"24.12.0","dependencies":{"axios":"^1.13.2"},"_hasShrinkwrap":false,"devDependencies":{"@hey-api/openapi-ts":"0.89.2"},"_npmOperationalInternal":{"tmp":"tmp/portal-sdk_1.0.1_1767618092983_0.9530962652769566","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@api7/portal-sdk","version":"1.1.0","license":"Apache-2.0","_id":"@api7/portal-sdk@1.1.0","maintainers":[{"name":"juzhiyuan","email":"jjzhiyuan@gmail.com"},{"name":"api7ai","email":"infra@api7.ai"},{"name":"bzp2010","email":"bzp20000818@gmail.com"}],"homepage":"https://github.com/api7/portal-sdk-typescript#readme","bugs":{"url":"https://github.com/api7/portal-sdk-typescript/issues"},"nx":{"name":"portal-sdk","targets":{"openapi-ts":{"options":{"cwd":"packages/portal-sdk","command":"openapi-ts"},"executor":"nx:run-commands"}}},"dist":{"shasum":"7ac50d761f5d30ece7775d74e590efc741da5e0f","tarball":"https://registry.npmjs.org/@api7/portal-sdk/-/portal-sdk-1.1.0.tgz","fileCount":65,"integrity":"sha512-SvIowH1N+Zr6tAaYAJ76LhIcV1p3XWjqhOfD7k4XSzeD3YYAirQ/fndfwHIEspasL4z24SUJaq4bvZH2fPjs0A==","signatures":[{"sig":"MEUCIFnhg6+6mFLLYncNZPXWNVMGd1WNjliDPOXE8k2yG0mxAiEAvetsBFf2QAG9pAjYU/sAoxMErGET2VF5+hIhLILjViA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@api7%2fportal-sdk@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":236788},"main":"./dist/index.js","type":"module","_from":"file:api7-portal-sdk-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js","default":"./dist/browser.js","require":"./dist/browser.cjs"},"./package.json":"./package.json","./unstable-types":{"types":"./dist/unstable/typing.d.ts"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:84a5c8de-9cf5-4f2f-a6fd-b49616d2d297"}},"_resolved":"/tmp/afc048f25eb2942a50389d5072526190/api7-portal-sdk-1.1.0.tgz","_integrity":"sha512-SvIowH1N+Zr6tAaYAJ76LhIcV1p3XWjqhOfD7k4XSzeD3YYAirQ/fndfwHIEspasL4z24SUJaq4bvZH2fPjs0A==","repository":{"url":"git+https://github.com/api7/portal-sdk-typescript.git","directory":"packages/portal-sdk"},"_npmVersion":"11.9.0","description":"API7 Portal JavaScript SDK","directories":{},"_nodeVersion":"24.14.0","dependencies":{"axios":"^1.14.0"},"_hasShrinkwrap":false,"devDependencies":{"@hey-api/openapi-ts":"0.94.5"},"_npmOperationalInternal":{"tmp":"tmp/portal-sdk_1.1.0_1774857437235_0.9484175413839044","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@api7/portal-sdk","version":"1.2.0","license":"Apache-2.0","_id":"@api7/portal-sdk@1.2.0","maintainers":[{"name":"juzhiyuan","email":"jjzhiyuan@gmail.com"},{"name":"api7ai","email":"infra@api7.ai"},{"name":"bzp2010","email":"bzp20000818@gmail.com"}],"bugs":{"url":"https://github.com/api7/portal-sdk-typescript/issues"},"nx":{"name":"portal-sdk","targets":{"openapi-ts":{"options":{"cwd":"packages/portal-sdk","command":"openapi-ts"},"executor":"nx:run-commands"}}},"dist":{"shasum":"0b1413aa9d181f2ca121a958c852a780f76ab41a","tarball":"https://registry.npmjs.org/@api7/portal-sdk/-/portal-sdk-1.2.0.tgz","fileCount":69,"integrity":"sha512-K+9z8Px6uuT9UO37HOoNzpnsbYnFj3dF+dRJg0u1d3bBbFjiKUXeJtRcpfp2m7dcZS8xnCmjtFCwJ047dPQb9w==","signatures":[{"sig":"MEYCIQCFcsu3EoBa6Aim51i4ady3tGGnVCtEReTeWrayhpXXIgIhAOpbFTK8gF8iN5OaSIdsvtMGjeiYhc+Sh40WNdnEqV/2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@api7%2fportal-sdk@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":257017},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js","default":"./dist/browser.js","require":"./dist/browser.cjs"},"./package.json":"./package.json","./unstable-types":{"types":"./dist/unstable/typing.d.ts"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:84a5c8de-9cf5-4f2f-a6fd-b49616d2d297"}},"repository":{"url":"https://github.com/api7/portal-sdk-typescript","directory":"packages/portal-sdk"},"description":"API7 Portal JavaScript SDK","directories":{},"_nodeVersion":"24.16.0","dependencies":{"axios":"^1.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@hey-api/openapi-ts":"0.98.1"},"_npmOperationalInternal":{"tmp":"tmp/portal-sdk_1.2.0_1780893437642_0.745359434833341","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@api7/portal-sdk","version":"1.3.0","license":"Apache-2.0","_id":"@api7/portal-sdk@1.3.0","maintainers":[{"name":"juzhiyuan","email":"jjzhiyuan@gmail.com"},{"name":"api7ai","email":"infra@api7.ai"},{"name":"bzp2010","email":"bzp20000818@gmail.com"}],"bugs":{"url":"https://github.com/api7/portal-sdk-typescript/issues"},"nx":{"name":"portal-sdk","targets":{"openapi-ts":{"options":{"cwd":"packages/portal-sdk","command":"openapi-ts"},"executor":"nx:run-commands"}}},"dist":{"shasum":"f4c94cc9d6c05d37a61fc3e1c572e857ef7721a8","tarball":"https://registry.npmjs.org/@api7/portal-sdk/-/portal-sdk-1.3.0.tgz","fileCount":69,"integrity":"sha512-Fwlg0kNWm3UcLX2nChEgIq4iAxcPYzuRIMBQJmbfTG0WNqCzD1hhpM9O15z1Qe6q41NcBppKkzU0hbdMx1loGA==","signatures":[{"sig":"MEYCIQC9guYMYXL+ipjN467cD85HjK7X1feWvM2lRc2V+aqhHQIhAO2gmW91vuCukKn6uT86luUWEb+WQOTw619j13xLKRZq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@api7%2fportal-sdk@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":257472},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js","default":"./dist/browser.js","require":"./dist/browser.cjs"},"./package.json":"./package.json","./unstable-types":{"types":"./dist/unstable/typing.d.ts"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:84a5c8de-9cf5-4f2f-a6fd-b49616d2d297"}},"repository":{"url":"https://github.com/api7/portal-sdk-typescript","directory":"packages/portal-sdk"},"description":"API7 Portal JavaScript SDK","directories":{},"_nodeVersion":"24.16.0","dependencies":{"axios":"^1.18.0"},"_hasShrinkwrap":false,"devDependencies":{"@hey-api/openapi-ts":"0.98.1"},"_npmOperationalInternal":{"tmp":"tmp/portal-sdk_1.3.0_1781864153233_0.06796215923263782","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@api7/portal-sdk","version":"2.0.0","license":"Apache-2.0","_id":"@api7/portal-sdk@2.0.0","maintainers":[{"name":"juzhiyuan","email":"jjzhiyuan@gmail.com"},{"name":"api7ai","email":"infra@api7.ai"},{"name":"bzp2010","email":"bzp20000818@gmail.com"}],"bugs":{"url":"https://github.com/api7/portal-sdk-typescript/issues"},"nx":{"name":"portal-sdk","targets":{"openapi-ts":{"options":{"cwd":"packages/portal-sdk","command":"openapi-ts"},"executor":"nx:run-commands"}}},"dist":{"shasum":"5d24e28680cccc826c76a7bb143c0e968799879f","tarball":"https://registry.npmjs.org/@api7/portal-sdk/-/portal-sdk-2.0.0.tgz","fileCount":63,"integrity":"sha512-xsVqGh0Uu9Mf5jnIL3SBviYrXOF2EMwabjSDHm0s5z+z8P4UkwDL8oNeNVzmy8HBmEMGQXywubd0FIHmDCnx6g==","signatures":[{"sig":"MEQCICYs6up+H1BCs7NZdp79MxbP2FnlwUo3hFo0l9QzGLv6AiA7gxrubgXD37aNTyVE/LdN+DW1vRt2aBs6NfEkBZ1MFA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@api7%2fportal-sdk@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":252084},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json","./unstable-types":{"types":"./dist/unstable/typing.d.ts"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:84a5c8de-9cf5-4f2f-a6fd-b49616d2d297"}},"repository":{"url":"https://github.com/api7/portal-sdk-typescript","directory":"packages/portal-sdk"},"description":"API7 Portal JavaScript SDK","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"axios":"^1.18.0","@hey-api/openapi-ts":"0.99.0"},"peerDependencies":{"axios":"^1.18.0"},"_npmOperationalInternal":{"tmp":"tmp/portal-sdk_2.0.0_1787571628363_0.35648201290197834","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"nx":{"name":"portal-sdk","targets":{"openapi-ts":{"options":{"cwd":"packages/portal-sdk","command":"openapi-ts"},"executor":"nx:run-commands"}}},"_id":"@api7/portal-sdk@2.0.1","bugs":{"url":"https://github.com/api7/portal-sdk-typescript/issues"},"dist":{"shasum":"1c87f46800ca967f3b734e64f7ac435ee462a5d3","tarball":"https://registry.npmjs.org/@api7/portal-sdk/-/portal-sdk-2.0.1.tgz","fileCount":63,"integrity":"sha512-rDAyjFoFCPkPhcAr0Mr2wcAf+AqptBnyTW7916YdA3KR+VcB9Nd37BTMOSzvsz/A+hCd5zaRbnBfq9u8VzGIng==","signatures":[{"sig":"MEQCIHRreS/mEpzZ2gfTXEJUo4KJ9y6AenFSDnKB5PnNnspyAiAt82vWu1JiyNMP1Qvkl5zPLsMamrYawMJGs+xVN+oLXQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDXeD8pTlFh4xaDYjZOpWtACdk6mwnbYUJpadY6wtUkPgIgFf3i91D/C+PcIr34JEn9ijPqH+q+n8nIBd4QJ3qKU3g="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@api7%2fportal-sdk@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":253495},"main":"./dist/index.js","name":"@api7/portal-sdk","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json","./unstable-types":{"types":"./dist/unstable/typing.d.ts"}},"license":"Apache-2.0","version":"2.0.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:84a5c8de-9cf5-4f2f-a6fd-b49616d2d297"}},"repository":{"url":"https://github.com/api7/portal-sdk-typescript","directory":"packages/portal-sdk"},"description":"API7 Portal JavaScript SDK","directories":{},"maintainers":[{"name":"juzhiyuan","email":"jjzhiyuan@gmail.com"},{"name":"api7ai","email":"infra@api7.ai"},{"name":"bzp2010","email":"bzp20000818@gmail.com"}],"_nodeVersion":"24.20.0","_hasShrinkwrap":false,"devDependencies":{"axios":"^1.18.0","@hey-api/openapi-ts":"0.99.0"},"peerDependencies":{"axios":"^1.18.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/portal-sdk_2.0.1_1788948684859_0.6893154158030277"}}},"time":{"created":"2025-12-26T10:04:38.824Z","modified":"2026-09-09T10:11:25.335Z","0.0.1":"2025-12-26T10:04:39.032Z","0.0.2":"2025-12-29T04:00:42.584Z","0.0.3":"2025-12-30T01:51:55.893Z","0.0.4":"2025-12-31T05:20:27.538Z","1.0.0":"2026-01-05T09:00:51.656Z","1.0.1":"2026-01-05T13:01:33.122Z","1.1.0":"2026-03-30T07:57:17.364Z","1.2.0":"2026-06-08T04:37:17.788Z","1.3.0":"2026-06-19T10:15:53.394Z","2.0.0":"2026-08-24T11:40:28.513Z","2.0.1":"2026-09-09T10:11:24.958Z"},"bugs":{"url":"https://github.com/api7/portal-sdk-typescript/issues"},"license":"Apache-2.0","repository":{"url":"https://github.com/api7/portal-sdk-typescript","directory":"packages/portal-sdk"},"description":"API7 Portal JavaScript SDK","maintainers":[{"name":"juzhiyuan","email":"jjzhiyuan@gmail.com"},{"name":"api7ai","email":"infra@api7.ai"},{"name":"bzp2010","email":"bzp20000818@gmail.com"}],"readme":"# API7 Portal JavaScript SDK\n\n## Install\n\n```sh\nnpm install @api7/portal-sdk axios\n# or\nyarn add @api7/portal-sdk axios\n# or\npnpm add @api7/portal-sdk axios\n```\n\n`axios` is a peer dependency, so it must be installed alongside this package. Most package managers will install it for you automatically, but if not, add it explicitly.\n\nThis package supports both ESM and CJS.\n\n## Configure\n\n### Server-side (Node.js/Serverless/Edge-functions)\n\nCall APIs directly from your backend, e.g. within a server function.\n\n```typescript\nimport { API7Portal } from '@api7/portal-sdk'\n\nconst client = new API7Portal({\n  endpoint: 'https://portal.example.com',\n  token: 'a7prt-...',\n  getDeveloperId: async () => await getDeveloperIdFromSession(), // optional\n});\n```\n\nThe `getDeveloperId` is optional, you can also manually set the default request header as `HEADER_DEVELOPER_ID` on your own axios instance.\n\n```typescript\nimport axios from 'axios'\nimport { API7Portal, HEADER_DEVELOPER_ID } from '@api7/portal-sdk'\n\nconst instance = axios.create({\n  headers: { [HEADER_DEVELOPER_ID]: \"YOUR_DEVELOPER_ID\" },\n});\nconst client = new API7Portal({ ..., axios: instance });\n```\n\n## Usage\n\n### Access the API programmatically\n\n```typescript\nconst apps = await client.apiProduct.list();\nconsole.log(apps);\n```\n\n## API Compatibility\n\nThis SDK targets API7 Enterprise 3.9+. Minimum version per feature:\n\n| Feature | Client property | 3.9.x | 3.10.x |\n| --- | --- | --- | --- |\n| API Products | `apiProduct` | 3.9.0 | 3.10.0 |\n| Applications | `application` | 3.9.0 | 3.10.0 |\n| Application Credentials | `application.credential` | 3.9.0 | 3.10.0 |\n| Credentials (cross-application) | `credential` | 3.9.0 | 3.10.0 |\n| Subscriptions | `subscription` | 3.9.0 | 3.10.0 |\n| Developers | `developer` | 3.9.0 | 3.10.0 |\n| Approvals | `approval` | 3.9.14 | 3.10.1 |\n| DCR Providers | `dcrProvider` | 3.9.0 | 3.10.0 |\n| Labels | `misc` | 3.9.0 | 3.10.0 |\n| System Settings | `systemSetting` | 3.9.0 | 3.10.0 |\n\nMethod-level detail lives in each method's `@since` JSDoc tag.\n\n## Error Handling\n\nWhen you call an API, APIError is the only type of error expected to be thrown, whether it's an error on the REST API or a network error.\nYou can access the request and response there, and also access the underlying AxiosError when needed.\n\n```typescript\nimport { APIError } from '@api7/portal-sdk'\n\ntry {\n  const apps = await client.apiProduct.list();\n} catch (error) {\n  if (APIError.isAPIError(error)) {\n    console.error('API Error:', error.message, 'Status Code:', error.statusCode);\n    console.error('Underlying Error:', error.rawError()); // Access the underlying AxiosError\n  } else {\n    console.error('Unexpected Error:', error);\n  }\n}\n```\n","readmeFilename":""}