{"_id":"@streamsdk/typescript","_rev":"9-837c31fb60c90756cb079eaa8ef4186c","name":"@streamsdk/typescript","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.0":{"name":"@streamsdk/typescript","version":"1.0.0","keywords":["stream","payment","sdk","subscription","invoice","payment-gateway","billing","typescript","saudi-arabia","fintech"],"author":{"name":"Stream","email":"support@streampay.sa"},"license":"MIT","_id":"@streamsdk/typescript@1.0.0","maintainers":[{"name":"iibtisam","email":"ibtisam@streampay.sa"}],"contributors":[{"name":"Ibtisam","email":"ibtisam@streampay.sa"}],"homepage":"https://github.com/streampayments/stream-sdk#readme","bugs":{"url":"https://github.com/streampayments/stream-sdk/issues","email":"support@streampay.sa"},"dist":{"shasum":"e3a79b2c15903abab41669a99437bb3b9be649b8","tarball":"https://registry.npmjs.org/@streamsdk/typescript/-/typescript-1.0.0.tgz","fileCount":10,"integrity":"sha512-M2meAMvjv0ukuazO0K6IHNZ7CUhjVS77pfKXYNrIurKpuMEHgf3hXLwIwtGxwB+94bmus+5jGYXM5mDiQ8z7Zg==","signatures":[{"sig":"MEUCIE7Q4sntkxMTZtl72i38EoQl3vkeZC3nkEeoErYWdLIUAiEA6Qa2+8w9PD+/HIMyH0aDBfJY9dCXyJMYKTVc6YOeMGQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307466},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"1f61f237a45ed3c35680e168f3f69af47a627a80","scripts":{"dev":"tsup --watch","gen":"openapi-typescript https://stream-app-service.streampay.sa/openapi.json -o src/generated/openapi.ts","build":"tsup","example":"node examples/basic.mjs","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"iibtisam","email":"ibtisam@streampay.sa"},"repository":{"url":"git+https://github.com/streampayments/stream-sdk.git","type":"git"},"_npmVersion":"10.2.4","description":"Official Node.js/TypeScript SDK for Stream API - Complete payment processing with consumers, products, subscriptions, invoices, and payment links","directories":{},"sideEffects":false,"_nodeVersion":"20.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","openapi-typescript":"^7.4.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript_1.0.0_1765822838341_0.15515978770921346","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@streamsdk/typescript","version":"1.0.1","keywords":["stream","payment","sdk","subscription","invoice","payment-gateway","billing","typescript","saudi-arabia","fintech"],"author":{"name":"Stream","email":"support@streampay.sa"},"license":"MIT","_id":"@streamsdk/typescript@1.0.1","maintainers":[{"name":"iibtisam","email":"ibtisam@streampay.sa"}],"contributors":[{"name":"Ibtisam","email":"ibtisam@streampay.sa"}],"homepage":"https://github.com/streampayments/streamsdk-typescript#readme","bugs":{"url":"https://github.com/streampayments/streamsdk-typescript/issues","email":"support@streampay.sa"},"dist":{"shasum":"c437c5163b2226175a936c92a78f99b9c2579596","tarball":"https://registry.npmjs.org/@streamsdk/typescript/-/typescript-1.0.1.tgz","fileCount":10,"integrity":"sha512-zcbXdeGt2cMyW7N4chhPR5FGwuFZVEXqHuUgjKbyhy9vdLCr4wHlojIo3VE9Qn/yFqEc+dWrintzv5ky+wNwhw==","signatures":[{"sig":"MEUCIGktA55q8wpdyqGXF/7B97CU2UqcKrJboMuYGx6J8Y1NAiEAkkoB5bTKDLZXJ/Z68fDC9WWfAvcg/1IHv8i0w4GwtEc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307732},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"8ef5486dfc7981e5ad6fc5ae96817989d1e91d24","scripts":{"dev":"tsup --watch","gen":"openapi-typescript https://stream-app-service.streampay.sa/openapi.json -o src/generated/openapi.ts","build":"tsup","example":"node examples/basic.mjs","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"iibtisam","email":"ibtisam@streampay.sa"},"repository":{"url":"git+https://github.com/streampayments/streamsdk-typescript.git","type":"git"},"_npmVersion":"10.2.4","description":"Official Node.js/TypeScript SDK for Stream API - Complete payment processing with consumers, products, subscriptions, invoices, and payment links","directories":{},"sideEffects":false,"_nodeVersion":"20.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","openapi-typescript":"^7.4.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript_1.0.1_1765825204413_0.4935093403139661","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@streamsdk/typescript","version":"1.0.2","keywords":["stream","payment","sdk","subscription","invoice","payment-gateway","billing","typescript","saudi-arabia","fintech"],"author":{"name":"Stream","email":"support@streampay.sa"},"license":"MIT","_id":"@streamsdk/typescript@1.0.2","maintainers":[{"name":"iibtisam","email":"ibtisam@streampay.sa"}],"contributors":[{"name":"Ibtisam","email":"ibtisam@streampay.sa"}],"homepage":"https://github.com/streampayments/streamsdk-typescript#readme","bugs":{"url":"https://github.com/streampayments/streamsdk-typescript/issues","email":"support@streampay.sa"},"dist":{"shasum":"77e0f3eef63ba4fbc17eda69771eddf162410766","tarball":"https://registry.npmjs.org/@streamsdk/typescript/-/typescript-1.0.2.tgz","fileCount":10,"integrity":"sha512-i7Td7RQfE7snGh8BAWzlb1MaZEwLr1Byw1N5XIDEEyQmtRNUzoCQDydImJNa5vhzctwi/9ictLXPXdYschnA6g==","signatures":[{"sig":"MEQCIEMoSBqUXA03WOhfFL7nZzj5/HI5Sj3ujomWSsmKmUdkAiBNKkKKEsTM5skuucmlhdu4T7Dol6tYMA5wc+WXKmn8gw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307727},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"7c3987093a6966d56f243ff2811c8e135d2e13b3","scripts":{"dev":"tsup --watch","gen":"openapi-typescript https://stream-app-service.streampay.sa/openapi.json -o src/generated/openapi.ts","build":"tsup","example":"node examples/basic.mjs","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"iibtisam","email":"ibtisam@streampay.sa"},"repository":{"url":"git+https://github.com/streampayments/streamsdk-typescript.git","type":"git"},"_npmVersion":"10.2.4","description":"Official Node.js/TypeScript SDK for Stream API - Complete payment processing with consumers, products, subscriptions, invoices, and payment links","directories":{},"sideEffects":false,"_nodeVersion":"20.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","openapi-typescript":"^7.4.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript_1.0.2_1765826135761_0.8771229518058672","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@streamsdk/typescript","version":"1.0.3","keywords":["stream","payment","sdk","subscription","invoice","payment-gateway","billing","typescript","saudi-arabia","fintech"],"author":{"name":"Stream","email":"support@streampay.sa"},"license":"MIT","_id":"@streamsdk/typescript@1.0.3","maintainers":[{"name":"iibtisam","email":"ibtisam@streampay.sa"}],"contributors":[{"name":"Ibtisam","email":"ibtisam@streampay.sa"}],"homepage":"https://github.com/streampayments/streamsdk-typescript#readme","bugs":{"url":"https://github.com/streampayments/streamsdk-typescript/issues","email":"support@streampay.sa"},"dist":{"shasum":"6e3092153fbb7464491436eedbc36f9e7c6e68f1","tarball":"https://registry.npmjs.org/@streamsdk/typescript/-/typescript-1.0.3.tgz","fileCount":10,"integrity":"sha512-IC/k0wBVPBFjAuqYu7r/xZ8xDFN2+GxwfgigZ2+56AIQCxXs3BqNTagtJzGucs9JyJYkiPbcoCc2mhnB50m/UQ==","signatures":[{"sig":"MEYCIQCC8docDGxJLqWahWOKXH4ySP/wREmxclKClRetZ2Q5CgIhANOKR8E1NPG2qpLA1l/sf7HY5+jHbmc/54qMF80OBteZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307727},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"db74cfc0143142f1db9f8254f4e6a67aaa36357e","scripts":{"dev":"tsup --watch","gen":"openapi-typescript https://stream-app-service.streampay.sa/openapi.json -o src/generated/openapi.ts","build":"tsup","example":"node examples/basic.mjs","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"iibtisam","email":"ibtisam@streampay.sa"},"repository":{"url":"git+https://github.com/streampayments/streamsdk-typescript.git","type":"git"},"_npmVersion":"10.2.4","description":"Official Node.js/TypeScript SDK for Stream API - Complete payment processing with consumers, products, subscriptions, invoices, and payment links","directories":{},"sideEffects":false,"_nodeVersion":"20.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","openapi-typescript":"^7.4.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript_1.0.3_1765827259166_0.6080775531091511","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@streamsdk/typescript","version":"1.0.4","keywords":["stream","payment","sdk","subscription","invoice","payment-gateway","billing","typescript","saudi-arabia","fintech"],"author":{"name":"Stream","email":"support@streampay.sa"},"license":"MIT","_id":"@streamsdk/typescript@1.0.4","maintainers":[{"name":"iibtisam","email":"ibtisam@streampay.sa"}],"contributors":[{"name":"Ibtisam","email":"ibtisam@streampay.sa"}],"homepage":"https://github.com/streampayments/streamsdk-typescript#readme","bugs":{"url":"https://github.com/streampayments/streamsdk-typescript/issues","email":"support@streampay.sa"},"dist":{"shasum":"4a5023938e44fc27076dd6ebfa19a80e90e9b862","tarball":"https://registry.npmjs.org/@streamsdk/typescript/-/typescript-1.0.4.tgz","fileCount":10,"integrity":"sha512-zzpJFwMzl4YyHz8LeHw0uYF8GfkY+/zn20XHzgR3+OW5/AZV5bIakKHZGFasw0r3kAN2+dqgrfVJlnXQVbAEDA==","signatures":[{"sig":"MEUCIFKIIm0zLP7n2/I7WjAnavbbpwAhIe4NFT1w/8op02hRAiEAhpcyWUIwfjtsAyBG7/ZJahVE1Itn/lrzRVPiOHYfApo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":304652},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"2f649e512bc7bc760ff3a88076ccc7c38d971862","scripts":{"dev":"tsup --watch","gen":"openapi-typescript https://stream-app-service.streampay.sa/openapi.json -o src/generated/openapi.ts","build":"tsup","example":"node examples/basic.mjs","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"iibtisam","email":"ibtisam@streampay.sa"},"repository":{"url":"git+https://github.com/streampayments/streamsdk-typescript.git","type":"git"},"_npmVersion":"10.2.4","description":"Official Node.js/TypeScript SDK for Stream API - Complete payment processing with consumers, products, subscriptions, invoices, and payment links","directories":{},"sideEffects":false,"_nodeVersion":"20.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","openapi-typescript":"^7.4.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript_1.0.4_1767016513225_0.22548432539097507","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@streamsdk/typescript","version":"1.0.6","keywords":["stream","payment","sdk","subscription","invoice","payment-gateway","billing","typescript","saudi-arabia","fintech"],"author":{"name":"Stream","email":"support@streampay.sa"},"license":"MIT","_id":"@streamsdk/typescript@1.0.6","maintainers":[{"name":"iibtisam","email":"ibtisam@streampay.sa"}],"contributors":[{"name":"Ibtisam","email":"ibtisam@streampay.sa"}],"homepage":"https://github.com/streampayments/streamsdk-typescript#readme","bugs":{"url":"https://github.com/streampayments/streamsdk-typescript/issues","email":"support@streampay.sa"},"dist":{"shasum":"6dc7df095d10ee11b7b1f42bf4037899e9354e92","tarball":"https://registry.npmjs.org/@streamsdk/typescript/-/typescript-1.0.6.tgz","fileCount":10,"integrity":"sha512-HO79/JBRiDDYdf2RI5aH7CEZGKdjBgTectmCOhTDmv2KaHS78NlATMC4dKNsdoewmHPbzeZhBO8/j86SVqmMXw==","signatures":[{"sig":"MEYCIQCTWuVksPVo5YnHn3g6rXL1rs4DiGO1jqDNIMIBjSGf5AIhAJ4MZ9mvlnrChFvVos/d/nxBDpG7JOO0gKxPNEiyqONs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":362485},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"fbb389d7384f07e4d50e73d44d999ac80363d0b2","scripts":{"dev":"tsup --watch","gen":"openapi-typescript https://stream-app-service.streampay.sa/openapi.json -o src/generated/openapi.ts","build":"tsup","example":"node examples/basic.mjs","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"iibtisam","email":"ibtisam@streampay.sa"},"repository":{"url":"git+https://github.com/streampayments/streamsdk-typescript.git","type":"git"},"_npmVersion":"10.2.4","description":"Official Node.js/TypeScript SDK for Stream API - Complete payment processing with consumers, products, subscriptions, invoices, and payment links","directories":{},"sideEffects":false,"_nodeVersion":"20.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","openapi-typescript":"^7.4.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript_1.0.6_1770030385339_0.993216187226623","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@streamsdk/typescript","version":"1.1.1","keywords":["stream","payment","sdk","subscription","invoice","payment-gateway","billing","typescript","saudi-arabia","fintech"],"author":{"name":"Stream","email":"support@streampay.sa"},"license":"MIT","_id":"@streamsdk/typescript@1.1.1","maintainers":[{"name":"iibtisam","email":"ibtisam@streampay.sa"}],"contributors":[{"name":"Ibtisam","email":"ibtisam@streampay.sa"}],"homepage":"https://github.com/streampayments/streamsdk-typescript#readme","bugs":{"url":"https://github.com/streampayments/streamsdk-typescript/issues","email":"support@streampay.sa"},"dist":{"shasum":"0c7a2a1262bbc269919385a0fb5b3617f06b2c3c","tarball":"https://registry.npmjs.org/@streamsdk/typescript/-/typescript-1.1.1.tgz","fileCount":10,"integrity":"sha512-RqpDgvXC+ItEZxAyIAKYAPnMAzn7QfeJmm+KRusbEhL4xHmYz8YMOixl+KYisKc6zrQODrzdFQexB/2Jh82xHg==","signatures":[{"sig":"MEQCIHjNRnRC3GEFfx85sxvf89VL8H5s5ZPgZuy4fVK1zeZfAiBMDQZGI+MukAEKClTdAKbUd0+0qawv9WZKOPi+68LmCA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":452147},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"209d5617c636dc01bc9e462bba397f23a9318076","scripts":{"dev":"tsup --watch","gen":"openapi-typescript https://stream-app-service.streampay.sa/openapi.json -o src/generated/openapi.ts","build":"tsup","example":"node examples/basic.mjs","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"iibtisam","email":"ibtisam@streampay.sa"},"repository":{"url":"git+https://github.com/streampayments/streamsdk-typescript.git","type":"git"},"_npmVersion":"10.2.4","description":"Official Node.js/TypeScript SDK for Stream API - Complete payment processing with consumers, products, subscriptions, invoices, and payment links","directories":{},"sideEffects":false,"_nodeVersion":"20.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","openapi-typescript":"^7.4.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript_1.1.1_1780837534250_0.2764943731404297","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@streamsdk/typescript","version":"1.1.2","keywords":["stream","payment","sdk","subscription","invoice","payment-gateway","billing","typescript","saudi-arabia","fintech"],"author":{"name":"Stream","email":"support@streampay.sa"},"license":"MIT","_id":"@streamsdk/typescript@1.1.2","maintainers":[{"name":"iibtisam","email":"ibtisam@streampay.sa"}],"contributors":[{"name":"Ibtisam","email":"ibtisam@streampay.sa"}],"homepage":"https://github.com/streampayments/streamsdk-typescript#readme","bugs":{"url":"https://github.com/streampayments/streamsdk-typescript/issues","email":"support@streampay.sa"},"dist":{"shasum":"7f63a9303f843c350074b0a3f95b75fa075dbc40","tarball":"https://registry.npmjs.org/@streamsdk/typescript/-/typescript-1.1.2.tgz","fileCount":10,"integrity":"sha512-SdDw030yhrTKbgCN6S9y+Bba2STjgUiiVNrLueDimJffBaEl/rKa0ZZKPtF72RRQHqwpzmM+yDVxxU1E/UVGag==","signatures":[{"sig":"MEQCICb50/g6S1TZ6gJi9d2VicnIAvzCUnUXpVbNOMNFkIsvAiBcMpsgsZWyQUHYvYfNdAn2/0hIMrjopc4lsWpDJz6+ww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":453049},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"888c7ac643d97ad1b60637cbf6b616bc9453066f","scripts":{"dev":"tsup --watch","gen":"openapi-typescript https://stream-app-service.streampay.sa/openapi.json -o src/generated/openapi.ts","build":"tsup","example":"node examples/basic.mjs","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"iibtisam","email":"ibtisam@streampay.sa"},"repository":{"url":"git+https://github.com/streampayments/streamsdk-typescript.git","type":"git"},"_npmVersion":"10.2.4","description":"Official Node.js/TypeScript SDK for Stream API - Complete payment processing with consumers, products, subscriptions, invoices, and payment links","directories":{},"sideEffects":false,"_nodeVersion":"20.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","openapi-typescript":"^7.4.1"},"_npmOperationalInternal":{"tmp":"tmp/typescript_1.1.2_1780837760261_0.18956716600899748","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@streamsdk/typescript","version":"1.1.3","description":"Official Node.js/TypeScript SDK for Stream API - Complete payment processing with consumers, products, subscriptions, invoices, and payment links","license":"MIT","type":"module","sideEffects":false,"engines":{"node":">=18"},"keywords":["stream","payment","sdk","subscription","invoice","payment-gateway","billing","typescript","saudi-arabia","fintech"],"author":{"name":"Stream","email":"support@streampay.sa"},"contributors":[{"name":"Ibtisam","email":"ibtisam@streampay.sa"}],"repository":{"type":"git","url":"git+https://github.com/streampayments/streamsdk-typescript.git"},"bugs":{"url":"https://github.com/streampayments/streamsdk-typescript/issues","email":"support@streampay.sa"},"homepage":"https://github.com/streampayments/streamsdk-typescript#readme","publishConfig":{"access":"public"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"gen":"openapi-typescript https://stream-app-service.streampay.sa/openapi.json -o src/generated/openapi.ts","build":"tsup","dev":"tsup --watch","typecheck":"tsc -p tsconfig.json --noEmit","verify":"npm run build && node verify/verify.mjs","example":"node examples/basic.mjs"},"devDependencies":{"openapi-typescript":"^7.4.1","tsup":"^8.3.5","typescript":"^5.6.3"},"_id":"@streamsdk/typescript@1.1.3","gitHead":"d11f2c1f7dc235ad0ba030b88726b0b987edcf52","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-rTlJWiBvsKbNShoj1bp5qwucoMQidkMQllN4aD3onxjL8YMDw38ZmzioTxuoyqgOXIvK+h0x+9ulZjGJttfiVQ==","shasum":"06855a9ed172e0af80493d597dbcf9a8c9c71017","tarball":"https://registry.npmjs.org/@streamsdk/typescript/-/typescript-1.1.3.tgz","fileCount":11,"unpackedSize":469785,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCupu+u+rF9hzuL05VvkEKffht+XEf0e6HIyy5gTBOfMAIgMN0+VDnPUbh5xKB2fpO9fIhLv+I46Bm+mUdXfBg5hy8="}]},"_npmUser":{"name":"iibtisam","email":"ibtisam@streampay.sa"},"directories":{},"maintainers":[{"name":"iibtisam","email":"ibtisam@streampay.sa"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/typescript_1.1.3_1781778041764_0.7305900976135424"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-15T18:20:38.290Z","modified":"2026-06-18T10:20:42.297Z","1.0.0":"2025-12-15T18:20:38.489Z","1.0.1":"2025-12-15T19:00:04.577Z","1.0.2":"2025-12-15T19:15:36.181Z","1.0.3":"2025-12-15T19:34:19.297Z","1.0.4":"2025-12-29T13:55:13.379Z","1.0.6":"2026-02-02T11:06:25.533Z","1.1.1":"2026-06-07T13:05:34.426Z","1.1.2":"2026-06-07T13:09:20.415Z","1.1.3":"2026-06-18T10:20:41.955Z"},"bugs":{"url":"https://github.com/streampayments/streamsdk-typescript/issues","email":"support@streampay.sa"},"author":{"name":"Stream","email":"support@streampay.sa"},"license":"MIT","homepage":"https://github.com/streampayments/streamsdk-typescript#readme","keywords":["stream","payment","sdk","subscription","invoice","payment-gateway","billing","typescript","saudi-arabia","fintech"],"repository":{"type":"git","url":"git+https://github.com/streampayments/streamsdk-typescript.git"},"description":"Official Node.js/TypeScript SDK for Stream API - Complete payment processing with consumers, products, subscriptions, invoices, and payment links","contributors":[{"name":"Ibtisam","email":"ibtisam@streampay.sa"}],"maintainers":[{"name":"iibtisam","email":"ibtisam@streampay.sa"}],"readme":"# @streamsdk/typescript · Official Stream SDK for TypeScript\n\n<div align=\"center\">\n  <picture>\n    <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://app.streampay.sa/media/logos/light-logo.svg\">\n    <source media=\"(prefers-color-scheme: light)\" srcset=\"https://app.streampay.sa/media/logos/dark-logo.svg\">\n    <img src=\"https://app.streampay.sa/media/logos/dark-logo.svg\" alt=\"Stream Logo\" width=\"200\"/>\n  </picture>\n\nOfficial Node.js/TypeScript SDK for Stream API\n\n[![npm version](https://img.shields.io/npm/v/@streamsdk/typescript.svg)](https://www.npmjs.com/package/@streamsdk/typescript)\n[![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue.svg)](https://www.typescriptlang.org/)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)\n\n</div>\n\n---\n\n## 📚 Table of Contents\n\n- [Overview](#overview)\n- [Installation](#installation)\n- [Migration](#migration)\n- [Quick Start](#quick-start)\n- [SDK Features](#sdk-features)\n- [Usage](#usage)\n- [Examples](#examples)\n- [Express.js Integration](#expressjs-integration)\n- [API Documentation](#api-documentation)\n- [Error Handling](#error-handling)\n- [Contributing](#contributing)\n- [Support](#support)\n- [License](#license)\n\n---\n\n## Overview\n\nThe Stream SDK provides a complete TypeScript/JavaScript interface to the Stream payment platform. Process payments, manage subscriptions, create invoices, and handle customer data with full type safety and modern JavaScript features.\n\n**Key Features:**\n\n- 🔐 Secure API Key authentication\n- 👥 Customer (Consumer) management\n- 📦 Product catalog management\n- 💳 Payment link creation\n- 🔄 Subscription handling\n- 🧾 Invoice generation\n- 🎟️ Coupon & discount management\n- 📝 Full TypeScript support\n- ⚡ ES Modules and CommonJS compatible\n\n---\n\n## Installation\n\n```bash\nnpm install @streamsdk/typescript\n```\n\n**Or install from GitHub:**\n\n```bash\nnpm install github:streampayments/streamsdk-typescript#v1.1.2\n```\n\n### Add to package.json\n\n```json\n{\n  \"dependencies\": {\n    \"@streamsdk/typescript\": \"^1.1.2\"\n  }\n}\n```\n\n---\n\n## Migration\n\nUpgrading from `@streampayments/stream-sdk` or SDK `1.0.x`? See **[MIGRATION.md](./MIGRATION.md)**.\n\nSummary:\n\n- **1.0.x → 1.1.x** — safe upgrade, no removed methods\n- Fix coupon/product payloads if you used `code`, `discount_type`, or `coupon.code`\n- Package rename: `@streampayments/stream-sdk` → `@streamsdk/typescript`\n\n---\n\n## Quick Start\n\n```typescript\nimport StreamSDK from \"@streamsdk/typescript\";\n\n// Initialize the SDK\nconst client = StreamSDK.init(process.env.STREAM_API_KEY!);\n\n// Create a payment link\nconst result = await client.createSimplePaymentLink({\n  name: \"Monthly Subscription\",\n  amount: 99.99,\n  consumer: {\n    email: \"customer@example.com\",\n    name: \"Ahmad Ali\",\n    phone: \"+966501234567\",\n  },\n  product: {\n    name: \"Premium Plan\",\n    price: 99.99,\n  },\n  successRedirectUrl: \"https://yourapp.com/success\",\n  failureRedirectUrl: \"https://yourapp.com/failure\",\n});\n\nconsole.log(\"Payment URL:\", result.paymentUrl);\n```\n\n---\n\n## SDK Features\n\n### Core Capabilities\n\n| Feature            | Description                                |\n| ------------------ | ------------------------------------------ |\n| **Authentication** | API Key and Bearer Token support           |\n| **Consumers**      | Create, update, list, and delete customers |\n| **Products**       | Manage your product catalog                |\n| **Payment Links**  | Generate secure payment links              |\n| **Subscriptions**  | Handle recurring payments                  |\n| **Invoices**       | Create and manage invoices                 |\n| **Coupons**        | Discount and promotion management          |\n| **Webhooks**       | Real-time event notifications              |\n\n### Supported Features\n\n- ✅ Single or multiple products per payment\n- ✅ Guest checkout (no consumer required)\n- ✅ Smart resource matching (automatic deduplication)\n- ✅ SAR currency (default)\n- ✅ Custom metadata support\n- ✅ Full TypeScript type definitions\n- ✅ ESM and CommonJS support\n\n---\n\n## Usage\n\nFor detailed usage examples and API documentation, please refer to the [API Documentation](#api-documentation) section below.\n\n### Authentication\n\nInitialize the SDK with your API key:\n\n```typescript\nimport StreamSDK from \"@streamsdk/typescript\";\n\nconst client = StreamSDK.init(process.env.STREAM_API_KEY!);\n```\n\nFor more authentication options and detailed examples for each resource, see the documentation links in the [Available Resources and Operations](#available-resources-and-operations) section.\n\n---\n\n## Examples\n\nExplore complete TypeScript SDK examples in the [examples directory](./examples):\n\n- **[basic.mjs](./examples/basic.mjs)** - Basic SDK usage\n- **[comprehensive.mjs](./examples/comprehensive.mjs)** - Advanced features\n- **[multiple-products.mjs](./examples/multiple-products.mjs)** - Multiple products guide\n\n**[View All Examples →](./examples/README.md)**\n\nFor Express.js examples, see **[streamsdk-express](https://github.com/streampayments/streamsdk-express)**\n\n---\n\n## Express.js Integration\n\nFor Express.js applications, we provide a separate adapter package with declarative handlers for checkout and webhooks:\n\n**[streamsdk-express →](https://github.com/streampayments/streamsdk-express)**\n\n---\n\n## API Documentation\n\n### Available Resources and Operations\n\n<details open>\n<summary>Available methods</summary>\n\n#### Me / Organization\n\n* `getMe()` - Get authenticated user and organization info\n* `createOrganizationInvite(input)` - Invite a user to join the organization\n\n#### Branches\n\n* `createBranch(input)` - Create Branch\n* `listBranches()` - List Branches\n* `getBranch(id)` - Get Branch\n* `updateBranch(id, input)` - Update Branch\n* `deleteBranch(id)` - Delete Branch\n\n#### [Consumers](docs/sdks/consumers/README.md)\n\n* [create](docs/sdks/consumers/README.md#create) - Create Consumer\n* [list](docs/sdks/consumers/README.md#list) - Get All Consumers\n* [get](docs/sdks/consumers/README.md#get) - Get Consumer\n* [update](docs/sdks/consumers/README.md#update) - Update Consumer\n* [delete](docs/sdks/consumers/README.md#delete) - Delete Consumer\n\n#### [Coupons](docs/sdks/coupons/README.md)\n\n* [list](docs/sdks/coupons/README.md#list) - List Coupons\n* [create](docs/sdks/coupons/README.md#create) - Create Coupon\n* [update](docs/sdks/coupons/README.md#update) - Update Coupon\n* [get](docs/sdks/coupons/README.md#get) - Get Coupon\n* [delete](docs/sdks/coupons/README.md#delete) - Delete Coupon\n\n#### [Invoices](docs/sdks/invoices/README.md)\n\n* [create](docs/sdks/invoices/README.md#create) - Create Invoice\n* [get](docs/sdks/invoices/README.md#get) - Get Invoice\n* [list](docs/sdks/invoices/README.md#list) - List Invoices\n* `updateInvoiceInPlace(id, input)` - Update invoice items in-place\n\n#### [PaymentLinks](docs/sdks/paymentlinks/README.md)\n\n* [create](docs/sdks/paymentlinks/README.md#create) - Create Payment Link\n* [get](docs/sdks/paymentlinks/README.md#get) - Get Payment Link\n* [list](docs/sdks/paymentlinks/README.md#list) - List Payment Links\n* `updatePaymentLinkCoupons(id, input)` - Update coupons on a payment link\n* `updatePaymentLinkStatus(id, input)` - Activate or deactivate a payment link\n\n#### [Payments](docs/sdks/payments/README.md)\n\n* [list](docs/sdks/payments/README.md#list) - List Payments\n* [get](docs/sdks/payments/README.md#get) - Get Payment\n* [refund](docs/sdks/payments/README.md#refund) - Refund Payment\n* `autoChargeOnDemand(id)` - Trigger auto-charge on demand\n* `markPaymentPaid(id, input)` - Mark a payment as paid manually\n\n#### [Products](docs/sdks/products/README.md)\n\n* [list](docs/sdks/products/README.md#list) - List Products\n* [create](docs/sdks/products/README.md#create) - Create Product\n* [get](docs/sdks/products/README.md#get) - Get Product\n* [update](docs/sdks/products/README.md#update) - Update Product\n* [delete](docs/sdks/products/README.md#delete) - Delete Product\n\n#### [Subscriptions](docs/sdks/subscriptions/README.md)\n\n* [get](docs/sdks/subscriptions/README.md#get) - Get Subscription\n* [update](docs/sdks/subscriptions/README.md#update) - Update Subscription\n* [list](docs/sdks/subscriptions/README.md#list) - List Subscriptions\n* [create](docs/sdks/subscriptions/README.md#create) - Create Subscription\n* [cancel](docs/sdks/subscriptions/README.md#cancel) - Cancel Subscription\n* `uncancelSubscription(id)` - Un-cancel a subscription\n* `deletePendingSubscriptionChange(id)` - Delete a pending plan change\n* [freeze](docs/sdks/subscriptions/README.md#freeze) - Freeze Subscription\n* [listFreezes](docs/sdks/subscriptions/README.md#listfreezes) - List Subscription Freezes\n* [updateFreeze](docs/sdks/subscriptions/README.md#updatefreeze) - Update Subscription Freeze\n\n#### [Subscriptions.Freeze](docs/sdks/freeze/README.md)\n\n* [delete](docs/sdks/freeze/README.md#delete) - Delete Subscription Freeze\n\n</details>\n\n> Click on each resource above to see detailed documentation with code examples, parameters, and response types.\n\n---\n\n## Error Handling\n\nThe SDK throws errors for failed requests:\n\n```typescript\ntry {\n  const consumer = await client.createConsumer({\n    name: \"Ahmad Ali\",\n    email: \"invalid-email\",\n  });\n} catch (error) {\n  console.error(\"Error creating consumer:\", error.message);\n  console.error(\"Status:\", error.status);\n  console.error(\"Response:\", error.response);\n}\n```\n\n---\n\n## Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](./CONTRIBUTING.md) for details.\n\n### Development Setup\n\n```bash\n# Clone the repository\ngit clone https://github.com/streampayments/streamsdk-typescript.git\ncd streamsdk-typescript\n\n# Install dependencies\nnpm install\n\n# Build the SDK\nnpm run build\n\n# Run examples\nnpm run example\n```\n\n---\n\n## Support\n\n### Documentation\n\n- **[API Documentation](https://docs.streampay.sa/)**\n- **[OpenAPI Specification](https://stream-app-service.streampay.sa/openapi.json)**\n- **[Examples](./examples/README.md)**\n- **[Express Adapter](https://github.com/streampayments/streamsdk-express)**\n- **[Multiple Products Guide](./MULTIPLE_PRODUCTS_GUIDE.md)**\n- **[Framework Support](./FRAMEWORK_SUPPORT.md)**\n\n### Help & Issues\n\n- **📧 Email:** support@streampay.sa\n- **🐛 Issues:** [GitHub Issues](https://github.com/streampayments/streamsdk-typescript/issues)\n- **💬 Discussions:** [GitHub Discussions](https://github.com/streampayments/streamsdk-typescript/discussions)\n\n---\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n\n---\n\n<div align=\"center\">\n  <p>Made with ❤️ by <a href=\"https://streampay.sa\">Stream</a></p>\n  <p>\n    <a href=\"https://streampay.sa\">Website</a> •\n    <a href=\"https://docs.streampay.sa\">Documentation</a> •\n    <a href=\"https://github.com/streampayments\">GitHub</a>\n  </p>\n</div>\n","readmeFilename":"README.md"}