{"_id":"@agamya/bigship-sdk","_rev":"9-c7064910568528870d6f70bde84f13b4","name":"@agamya/bigship-sdk","dist-tags":{"latest":"4.0.0"},"versions":{"1.0.0":{"name":"@agamya/bigship-sdk","version":"1.0.0","keywords":["bigship","courier","shipping","logistics","india","b2c","b2b","nextjs"],"author":{"name":"Agamya Samuel"},"license":"MIT","_id":"@agamya/bigship-sdk@1.0.0","maintainers":[{"name":"agamya","email":"npm@agamya.dev"}],"homepage":"https://github.com/agamya/bigship-sdk#readme","bugs":{"url":"https://github.com/agamya/bigship-sdk/issues"},"dist":{"shasum":"1cfccf97e74852ac4a93906f5660aeb0c5a81103","tarball":"https://registry.npmjs.org/@agamya/bigship-sdk/-/bigship-sdk-1.0.0.tgz","fileCount":44,"integrity":"sha512-xxhxZ62uJcGBXnNPtI/CtXiG9m6ZYPEkUDfNKmuohNUGeYIuY1rEuL9DcLAmO39lMMOykNWox15MEJ1MY4XRXQ==","signatures":[{"sig":"MEYCIQD4rpD6O5tWhA17GNmFXJJqFxFA8MMkclbNQ3/oQui84gIhAKO+SNxHWyGjKe66nmvfqbCrY9hPihi5F/3qpyJp1B6I","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":236671},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./core":{"types":"./dist/core/index.d.ts","default":"./dist/core/index.js"},"./errors":{"types":"./dist/errors/index.d.ts","default":"./dist/errors/index.js"}},"gitHead":"75b7471eb857b300133fb3bd17acdd66078ec6b2","scripts":{"test":"echo \"Add vitest tests\"","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"agamya","email":"npm@agamya.dev"},"repository":{"url":"git+https://github.com/agamya/bigship-sdk.git","type":"git"},"_npmVersion":"11.6.2","description":"TypeScript SDK for Bigship.in External Outbound API (shipping, orders, rates, tracking, etc.)","directories":{},"_nodeVersion":"24.12.0","dependencies":{"zod":"^3.23.8","axios":"^1.7.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/bigship-sdk_1.0.0_1776070845130_0.4873545903460901","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@agamya/bigship-sdk","version":"1.0.1","keywords":["bigship","courier","shipping","logistics","india","b2c","b2b","nextjs"],"author":{"name":"Agamya Samuel"},"license":"MIT","_id":"@agamya/bigship-sdk@1.0.1","maintainers":[{"name":"agamya","email":"npm@agamya.dev"}],"homepage":"https://github.com/agamya-samuel/bigship-sdk#readme","bugs":{"url":"https://github.com/agamya-samuel/bigship-sdk/issues"},"dist":{"shasum":"a08777169527f2eb320294ad35df97087b455afb","tarball":"https://registry.npmjs.org/@agamya/bigship-sdk/-/bigship-sdk-1.0.1.tgz","fileCount":44,"integrity":"sha512-XOtfgtH3DfP+LX4dV4CaZLnDOS0cUbjx/e4IcVrMRgUJdAL++tSk17BlwHt45f4LaBbfDvOSxoBynSFHZ/GKsw==","signatures":[{"sig":"MEYCIQCJ/H73nmKRrwlfceJx/rBh1I5eOTOkjYrdMALUgmLevAIhAOlFeyQY+RZEr+jDo3OdbQl5dmEeJMUOLedaMusZlENR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":242619},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./core":{"types":"./dist/core/index.d.ts","default":"./dist/core/index.js"},"./errors":{"types":"./dist/errors/index.d.ts","default":"./dist/errors/index.js"}},"gitHead":"364741e57a79a8802a1ab02f74c453be45874295","scripts":{"test":"echo \"Add vitest tests\"","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"agamya","email":"npm@agamya.dev"},"repository":{"url":"git+https://github.com/agamya-samuel/bigship-sdk.git","type":"git"},"_npmVersion":"11.6.2","description":"TypeScript SDK for Bigship.in External Outbound API (shipping, orders, rates, tracking, etc.)","directories":{},"_nodeVersion":"24.12.0","dependencies":{"zod":"^3.23.8","axios":"^1.7.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/bigship-sdk_1.0.1_1777232142649_0.3905561351534368","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@agamya/bigship-sdk","version":"2.0.0","keywords":["bigship","courier","shipping","logistics","india","b2c","b2b","nextjs"],"author":{"name":"Agamya Samuel"},"license":"MIT","_id":"@agamya/bigship-sdk@2.0.0","maintainers":[{"name":"agamya","email":"npm@agamya.dev"}],"homepage":"https://github.com/agamya-samuel/bigship-sdk#readme","bugs":{"url":"https://github.com/agamya-samuel/bigship-sdk/issues"},"dist":{"shasum":"25b7a25704227f3388ffd7eecda2b2ea2d015e52","tarball":"https://registry.npmjs.org/@agamya/bigship-sdk/-/bigship-sdk-2.0.0.tgz","fileCount":56,"integrity":"sha512-xxEen/Z930kgHUgr0ELr21XueqVDuHE8FVpJ5FJACTS6CddsIDgyo67SdwgHwH0WCmtgMTFBpah//s5wqDzOUQ==","signatures":[{"sig":"MEQCIBS+W87ezFfAv85ioWGkdBvGkQvt1cBHJ7a98eFX844KAiBTOMeH79eedrQj+D1RrEIDOJqI00ElmLl9ovFFhH+y9A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":235239},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./auth":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"./core":{"types":"./dist/core/index.d.ts","default":"./dist/core/index.js"},"./http":{"types":"./dist/http/index.d.ts","default":"./dist/http/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./errors":{"types":"./dist/errors/index.d.ts","default":"./dist/errors/index.js"},"./infrastructure":{"types":"./dist/infrastructure/index.d.ts","default":"./dist/infrastructure/index.js"}},"gitHead":"3127f0599c53950c46863df7c2ee47c50ca187e9","scripts":{"test":"vitest run","build":"tsc","test:watch":"vitest","sync-version":"node scripts/sync-version.js","test:coverage":"vitest run --coverage","prepublishOnly":"npm run sync-version && npm run build","test:integration":"vitest run --config vitest.config.integration.ts"},"_npmUser":{"name":"agamya","email":"npm@agamya.dev"},"repository":{"url":"git+https://github.com/agamya-samuel/bigship-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"TypeScript SDK for Bigship.in External Outbound API (shipping, orders, rates, tracking, etc.)","directories":{},"_nodeVersion":"24.19.0","dependencies":{"zod":"^3.23.8","axios":"^1.7.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.15.0","dotenv":"^17.4.2","vitest":"^4.1.10","typescript":"^5.5.0","@types/node":"^20.14.0","@vitest/coverage-v8":"^4.1.10"},"_npmOperationalInternal":{"tmp":"tmp/bigship-sdk_2.0.0_1786056832413_0.45828242742134107","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@agamya/bigship-sdk","version":"2.1.0","keywords":["bigship","courier","shipping","logistics","india","b2c","b2b","nextjs"],"author":{"name":"Agamya Samuel"},"license":"MIT","_id":"@agamya/bigship-sdk@2.1.0","maintainers":[{"name":"agamya","email":"npm@agamya.dev"}],"homepage":"https://github.com/agamya-samuel/bigship-sdk#readme","bugs":{"url":"https://github.com/agamya-samuel/bigship-sdk/issues"},"dist":{"shasum":"fd1e6ea252c994a404804f3abb2d7e48cd5ebff0","tarball":"https://registry.npmjs.org/@agamya/bigship-sdk/-/bigship-sdk-2.1.0.tgz","fileCount":56,"integrity":"sha512-fU0ePIdaa6LyaNnmFh1FAcYPrCvpUV2qr2lmZxpGOd5AbeXItL9xAQnP3CabJGt4zi3nebFI4y4M9m8S9cR8lw==","signatures":[{"sig":"MEYCIQDUbhBhkEObxnweHEYbkMZ1URc1mmwqgmOglPvZcEVIBgIhAOpojirEiPHWyGor6EzHPYU66poA9ONVvZLnHlb2T3BR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":235094},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./auth":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"./core":{"types":"./dist/core/index.d.ts","default":"./dist/core/index.js"},"./http":{"types":"./dist/http/index.d.ts","default":"./dist/http/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./errors":{"types":"./dist/errors/index.d.ts","default":"./dist/errors/index.js"},"./infrastructure":{"types":"./dist/infrastructure/index.d.ts","default":"./dist/infrastructure/index.js"}},"gitHead":"c12353940833b21b8833e845645944902ad9170a","scripts":{"test":"vitest run","build":"tsc","test:watch":"vitest","sync-version":"node scripts/sync-version.js","test:coverage":"vitest run --coverage","prepublishOnly":"npm run sync-version && npm run build","test:integration":"vitest run --config vitest.config.integration.ts"},"_npmUser":{"name":"agamya","email":"npm@agamya.dev"},"repository":{"url":"git+https://github.com/agamya-samuel/bigship-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"TypeScript SDK for Bigship.in External Outbound API (shipping, orders, rates, tracking, etc.)","directories":{},"_nodeVersion":"24.19.0","dependencies":{"zod":"^3.23.8","axios":"^1.7.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.15.0","dotenv":"^17.4.2","vitest":"^4.1.10","typescript":"^5.5.0","@types/node":"^20.14.0","@vitest/coverage-v8":"^4.1.10"},"_npmOperationalInternal":{"tmp":"tmp/bigship-sdk_2.1.0_1787133943397_0.6878140049476373","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"@agamya/bigship-sdk","version":"2.1.1","keywords":["bigship","courier","shipping","logistics","india","b2c","b2b","nextjs"],"author":{"name":"Agamya Samuel"},"license":"MIT","_id":"@agamya/bigship-sdk@2.1.1","maintainers":[{"name":"agamya","email":"npm@agamya.dev"}],"homepage":"https://github.com/agamya-samuel/bigship-sdk#readme","bugs":{"url":"https://github.com/agamya-samuel/bigship-sdk/issues"},"dist":{"shasum":"7ac61e87f1be61773c95027c63037c0417488d2d","tarball":"https://registry.npmjs.org/@agamya/bigship-sdk/-/bigship-sdk-2.1.1.tgz","fileCount":56,"integrity":"sha512-RKoihCy3C2sFo6e1WFZlj7WncRtSgskp3n6ajLvWMFL4SAPv25chtKxzK6Reyo+Z86EiMChNyymF4pktRcsB9Q==","signatures":[{"sig":"MEUCIQC72gGYM3w+xc6PjgqhwSHYH8R1gp4e5U3dXk1fzmgJRwIgZb8k1JTM/6XIOfCo2F6mP7oszOB9f19i89C8ThVBFaI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":219039},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./auth":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"./core":{"types":"./dist/core/index.d.ts","default":"./dist/core/index.js"},"./http":{"types":"./dist/http/index.d.ts","default":"./dist/http/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./errors":{"types":"./dist/errors/index.d.ts","default":"./dist/errors/index.js"},"./infrastructure":{"types":"./dist/infrastructure/index.d.ts","default":"./dist/infrastructure/index.js"}},"gitHead":"7b2647ad31163645956a425a6f25c673097f8841","scripts":{"test":"vitest run","build":"tsc","test:watch":"vitest","sync-version":"node scripts/sync-version.js","test:coverage":"vitest run --coverage","prepublishOnly":"npm run sync-version && npm run build","test:integration":"vitest run --config vitest.config.integration.ts"},"_npmUser":{"name":"agamya","email":"npm@agamya.dev"},"repository":{"url":"git+https://github.com/agamya-samuel/bigship-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"TypeScript SDK for Bigship.in External Outbound API (shipping, orders, rates, tracking, etc.)","directories":{},"_nodeVersion":"24.19.0","dependencies":{"zod":"^3.23.8","axios":"^1.7.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.15.0","dotenv":"^17.4.2","vitest":"^4.1.10","typescript":"^5.5.0","@types/node":"^20.14.0","@vitest/coverage-v8":"^4.1.10"},"_npmOperationalInternal":{"tmp":"tmp/bigship-sdk_2.1.1_1787133964490_0.9451847907085524","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"@agamya/bigship-sdk","version":"2.1.2","keywords":["bigship","courier","shipping","logistics","india","b2c","b2b","nextjs"],"author":{"name":"Agamya Samuel"},"license":"MIT","_id":"@agamya/bigship-sdk@2.1.2","maintainers":[{"name":"agamya","email":"npm@agamya.dev"}],"homepage":"https://github.com/agamya-samuel/bigship-sdk#readme","bugs":{"url":"https://github.com/agamya-samuel/bigship-sdk/issues"},"dist":{"shasum":"af4314f47897f4765e865336e0c3752967133e77","tarball":"https://registry.npmjs.org/@agamya/bigship-sdk/-/bigship-sdk-2.1.2.tgz","fileCount":56,"integrity":"sha512-3TebR3b/cAjtujYvKXTbIlMnd02VEPrzRHbc+9Y+LRpNVEYh6ChdUtcWsV1Xb90y6qlFahuecNp6QxIYSBFrHQ==","signatures":[{"sig":"MEYCIQCZjzJvgcpf3Pwo5FftVeLB8icaDSmt7HAuDBs5g+8MWAIhAIi5bwsNM2XNMoNkIOLSZYFtp59nKJj6yDd43FDdkMMZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":233238},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./auth":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"./core":{"types":"./dist/core/index.d.ts","default":"./dist/core/index.js"},"./http":{"types":"./dist/http/index.d.ts","default":"./dist/http/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./errors":{"types":"./dist/errors/index.d.ts","default":"./dist/errors/index.js"},"./infrastructure":{"types":"./dist/infrastructure/index.d.ts","default":"./dist/infrastructure/index.js"}},"gitHead":"8cefc98eac1368f384c67f90d7ad3b8669b2c5b6","scripts":{"test":"vitest run","build":"tsc","test:watch":"vitest","sync-version":"node scripts/sync-version.js","test:coverage":"vitest run --coverage","prepublishOnly":"npm run sync-version && npm run build","test:integration":"vitest run --config vitest.config.integration.ts"},"_npmUser":{"name":"agamya","email":"npm@agamya.dev"},"repository":{"url":"git+https://github.com/agamya-samuel/bigship-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"TypeScript SDK for Bigship.in External Outbound API (shipping, orders, rates, tracking, etc.)","directories":{},"_nodeVersion":"24.19.0","dependencies":{"zod":"^3.23.8","axios":"^1.7.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.15.0","dotenv":"^17.4.2","vitest":"^4.1.10","typescript":"^5.5.0","@types/node":"^20.14.0","@vitest/coverage-v8":"^4.1.10"},"_npmOperationalInternal":{"tmp":"tmp/bigship-sdk_2.1.2_1787133987322_0.3825821317002447","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@agamya/bigship-sdk","version":"2.2.0","keywords":["bigship","courier","shipping","logistics","india","b2c","b2b","nextjs"],"author":{"name":"Agamya Samuel"},"license":"MIT","_id":"@agamya/bigship-sdk@2.2.0","maintainers":[{"name":"agamya","email":"npm@agamya.dev"}],"homepage":"https://github.com/agamya-samuel/bigship-sdk#readme","bugs":{"url":"https://github.com/agamya-samuel/bigship-sdk/issues"},"dist":{"shasum":"d8931e6999e2b199d71285bb5fcd8c45e3b62480","tarball":"https://registry.npmjs.org/@agamya/bigship-sdk/-/bigship-sdk-2.2.0.tgz","fileCount":56,"integrity":"sha512-KY/yopcBOj9Kn+mLAwWB4u2Wt4pjgZeIcO7CwWhUS0yNZfkSTMVE7unDNOqbCw/HRS8NvSGWbFWm1nJ8Q4dlmg==","signatures":[{"sig":"MEQCIHcLN0UZAa5Z6yTXsl9em8dCNxfaogwdTWlUMPOXwqc1AiA/UTg2WqGctqpyiErBcwZFEv8dJF5AZkU4P/TEMYwWYQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":232574},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./core":{"types":"./dist/core/index.d.ts","default":"./dist/core/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./errors":{"types":"./dist/errors/index.d.ts","default":"./dist/errors/index.js"},"./workflow":{"types":"./dist/workflow/index.d.ts","default":"./dist/workflow/index.js"}},"gitHead":"8e31401559e6ba150c05232e00fa29918711f1a1","scripts":{"test":"vitest run","build":"tsc","test:watch":"vitest","sync-version":"node scripts/sync-version.js","test:coverage":"vitest run --coverage","prepublishOnly":"npm run sync-version && npm run build","test:integration":"vitest run --config vitest.config.integration.ts"},"_npmUser":{"name":"agamya","email":"npm@agamya.dev"},"repository":{"url":"git+https://github.com/agamya-samuel/bigship-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"TypeScript SDK for Bigship.in External Outbound API (shipping, orders, rates, tracking, etc.)","directories":{},"_nodeVersion":"24.19.0","dependencies":{"zod":"^3.23.8","axios":"^1.7.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.15.0","dotenv":"^17.4.2","vitest":"^4.1.10","typescript":"^5.5.0","@types/node":"^20.14.0","@vitest/coverage-v8":"^4.1.10"},"_npmOperationalInternal":{"tmp":"tmp/bigship-sdk_2.2.0_1787134041652_0.01902081439578085","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@agamya/bigship-sdk","version":"3.0.0","keywords":["bigship","courier","shipping","logistics","india","b2c","b2b","nextjs"],"author":{"name":"Agamya Samuel"},"license":"MIT","_id":"@agamya/bigship-sdk@3.0.0","maintainers":[{"name":"agamya","email":"npm@agamya.dev"}],"homepage":"https://github.com/agamya-samuel/bigship-sdk#readme","bugs":{"url":"https://github.com/agamya-samuel/bigship-sdk/issues"},"dist":{"shasum":"ddfda40a54fd29087f1ad610809f5ce3ea23b479","tarball":"https://registry.npmjs.org/@agamya/bigship-sdk/-/bigship-sdk-3.0.0.tgz","fileCount":56,"integrity":"sha512-HwFX6jzhjj+T1ttJoxKQtnLmunhN7KxhbB8iKwrMPD0jp4QOWDZRRoZw8GUm3IEYWUoAv/RwDLHcgUX3JrTGdA==","signatures":[{"sig":"MEUCIAbofd4T6Yr6WP4DOu5r4T5oVI4W3pBGSOWrr0zMMZGeAiEAxyZrp6OGLSQEszUMED3cd2YCnB3H7D9R75MxkASTHzA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIAUJEWMXe0WLk1q8j7+UDsufBoZxIrBxAVuKfWg/26uHAiEAyjBJ+VmWyj5TtVJn4X3HFE/kQafpwY8YoMdkQiLJsPY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":329398},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./core":{"types":"./dist/core/index.d.ts","default":"./dist/core/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./errors":{"types":"./dist/errors/index.d.ts","default":"./dist/errors/index.js"},"./workflow":{"types":"./dist/workflow/index.d.ts","default":"./dist/workflow/index.js"}},"gitHead":"c1b40005362d23c668dbfbe9dffd0e719d11d891","scripts":{"test":"vitest run","build":"tsc","test:watch":"vitest","sync-version":"node scripts/sync-version.js","test:coverage":"vitest run --coverage","prepublishOnly":"npm run sync-version && npm run build","test:integration":"vitest run --config vitest.config.integration.ts"},"_npmUser":{"name":"agamya","email":"npm@agamya.dev"},"repository":{"url":"git+https://github.com/agamya-samuel/bigship-sdk.git","type":"git"},"_npmVersion":"10.9.8","description":"TypeScript SDK for Bigship.in External Outbound API (shipping, orders, rates, tracking, etc.)","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.23.8","axios":"^1.7.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.15.0","dotenv":"^17.4.2","vitest":"^4.1.10","typescript":"^5.5.0","@types/node":"^20.14.0","@vitest/coverage-v8":"^4.1.10"},"_npmOperationalInternal":{"tmp":"tmp/bigship-sdk_3.0.0_1788959350406_0.8957340681905288","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"_id":"@agamya/bigship-sdk@4.0.0","bugs":{"url":"https://github.com/agamya-samuel/bigship-sdk/issues"},"dist":{"shasum":"3741f01d83513b359290079638aa778350e060e9","tarball":"https://registry.npmjs.org/@agamya/bigship-sdk/-/bigship-sdk-4.0.0.tgz","fileCount":56,"integrity":"sha512-nYGFC3kx5WQitf5IW7LSzJtMt9J4o44qwKB1E0jhyyjIIINzarjYnyLthKRD+5CX7COzYza4wJY4xL0D6YI1pw==","signatures":[{"sig":"MEUCIATSzHhbdFa7zpzvaSYmNQv6SmnevsXqZUlGQWrq3uuAAiEAsXQlaMp+nihA2o1KCWdWhhEBj+uo+tXSBTSsOFlNgtA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD8REiIzl76GrSYLvTyVf8k2F1buwtcuh2Ju4vyOhRREQIhAJXBORM3MDdNW5gCPuM0zjMhIFzu73yeJuPMJ94dOqBX"}],"unpackedSize":330218},"main":"dist/index.js","name":"@agamya/bigship-sdk","types":"dist/index.d.ts","author":{"name":"Agamya Samuel"},"engines":{"node":">=20.12.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./core":{"types":"./dist/core/index.d.ts","default":"./dist/core/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./errors":{"types":"./dist/errors/index.d.ts","default":"./dist/errors/index.js"},"./workflow":{"types":"./dist/workflow/index.d.ts","default":"./dist/workflow/index.js"}},"gitHead":"c07076d66e5e3150880935ef2a1c088a8914ce2a","license":"MIT","scripts":{"test":"vitest run","build":"tsc","test:watch":"vitest","sync-version":"node scripts/sync-version.js","test:coverage":"vitest run --coverage","prepublishOnly":"npm run sync-version && npm run build","test:integration":"vitest run --config vitest.config.integration.ts"},"version":"4.0.0","_npmUser":{"name":"agamya","email":"npm@agamya.dev"},"homepage":"https://github.com/agamya-samuel/bigship-sdk#readme","keywords":["bigship","courier","shipping","logistics","india","b2c","b2b","nextjs"],"repository":{"url":"git+https://github.com/agamya-samuel/bigship-sdk.git","type":"git"},"_npmVersion":"10.9.8","description":"TypeScript SDK for the Bigship.direct Unified Outbound API — warehouses, orders, rates, couriers, tracking, manifests, and documents.","directories":{},"maintainers":[{"name":"agamya","email":"npm@agamya.dev"}],"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.23.8","axios":"^1.7.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.15.0","dotenv":"^17.4.2","vitest":"^4.1.10","typescript":"^5.5.0","@types/node":"^20.14.0","@vitest/coverage-v8":"^4.1.10"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bigship-sdk_4.0.0_1789123665065_0.5166351033023773"}}},"time":{"created":"2026-04-13T09:00:44.976Z","modified":"2026-09-11T10:47:45.316Z","1.0.0":"2026-04-13T09:00:45.288Z","1.0.1":"2026-04-26T19:35:42.794Z","2.0.0":"2026-08-06T22:53:52.592Z","2.1.0":"2026-08-19T10:05:43.542Z","2.1.1":"2026-08-19T10:06:04.625Z","2.1.2":"2026-08-19T10:06:27.460Z","2.2.0":"2026-08-19T10:07:21.801Z","3.0.0":"2026-09-09T13:09:10.505Z","4.0.0":"2026-09-11T10:47:45.156Z"},"bugs":{"url":"https://github.com/agamya-samuel/bigship-sdk/issues"},"author":{"name":"Agamya Samuel"},"license":"MIT","homepage":"https://github.com/agamya-samuel/bigship-sdk#readme","keywords":["bigship","courier","shipping","logistics","india","b2c","b2b","nextjs"],"repository":{"url":"git+https://github.com/agamya-samuel/bigship-sdk.git","type":"git"},"description":"TypeScript SDK for the Bigship.direct Unified Outbound API — warehouses, orders, rates, couriers, tracking, manifests, and documents.","maintainers":[{"name":"agamya","email":"npm@agamya.dev"}],"readme":"# @agamya/bigship-sdk\n\n[![CI](https://github.com/Agamya-Samuel/bigship-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/Agamya-Samuel/bigship-sdk/actions/workflows/ci.yml)\n[![npm version](https://img.shields.io/npm/v/@agamya/bigship-sdk)](https://www.npmjs.com/package/@agamya/bigship-sdk)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Node.js](https://img.shields.io/badge/Node.js-%3E%3D18-brightgreen)](https://nodejs.org)\n\nTypeScript SDK for the [Bigship.direct](https://bigship.direct) **Unified Outbound API** — warehouses, orders, rates, couriers, tracking, manifests, and documents, all behind one client.\n\n> **Disclaimer:** Community project based on publicly available Bigship API documentation. Not officially affiliated with Bigship.direct. Legal contact: [legal@agamya.dev](mailto:legal@agamya.dev).\n\n## Install\n\n```bash\nnpm install @agamya/bigship-sdk\n```\n\nRequires Node.js ≥ 20.12.0 (CI-tested on Node 20 and 22). The published SDK targets ES2022 and uses no runtime features beyond ES2022. If you're working inside the monorepo (e.g. running `apps/docs`), the repo root requires Node ≥ 22.12.0 because Astro 7 hard-requires it.\n\n## Quick Start\n\n```typescript\nimport { BigshipClient } from '@agamya/bigship-sdk';\n\nconst client = new BigshipClient({\n  baseURL: 'https://api.bigship.direct',\n  userName: process.env.BIGSHIP_USERNAME!,\n  password: process.env.BIGSHIP_PASSWORD!,\n  accessKey: process.env.BIGSHIP_ACCESS_KEY!,\n});\n\nconst profile = await client.getProfile();\nconsole.log('Wallet balance:', profile.data?.userWallet?.Balance);\n```\n\nToken caching, refresh, retry, and structured errors happen transparently — see the [repo README](https://github.com/Agamya-Samuel/bigship-sdk#readme) for the full configuration surface and error hierarchy.\n\n## Features\n\n- **Type-safe** — Zod schemas at every boundary, full TypeScript inference for requests and responses.\n- **Auto-authentication** — login on first call, token cached in-memory with a configurable TTL, refreshed transparently on `401`/`403`.\n- **Retry with backoff** — exponential backoff with full jitter for whitelisted status codes (`408`, `429`, `500`, `502`, `503`, `504` by default); all retry knobs are public client options.\n- **Event hooks** — `onBeforeRequest`, `onResponse`, `onError`, `onRetry`. `onBeforeRequest` errors propagate; the others are fire-and-forget.\n- **Pluggable logger** — bring your own `LoggerAdapter` (Winston, pino, custom, …); falls back to `console`.\n- **15 client methods** covering every endpoint on the Unified Outbound API.\n- **Sub-path exports** — tree-shakeable imports: `@agamya/bigship-sdk/core`, `./errors`, `./utils`, `./workflow`.\n- **Workflow builder** — `ShipmentWorkflow` chains `create → withCourier → place → finalize` for the B2C lifecycle.\n\n## API Reference\n\nAll methods return `Promise<ApiResponse<T>>` with `{ status, message, status_code, data }`. Each accepts an optional `RequestOptions = { timeout?, signal? }` for cancellation and per-call timeouts.\n\n| Method | Description | Endpoint |\n|---|---|---|\n| `getProfile()` | Profile + wallet balance | `GET api/outbound/profile` |\n| `saveWarehouse(payload)` | Create warehouse | `POST api/outbound/save-warehouse-data` |\n| `getWarehouseList(params)` | List warehouses (paginated) | `GET api/outbound/get-warehouse-list` |\n| `updateWarehouse(payload)` | Update warehouse | `POST api/outbound/edit-warehouse-data` |\n| `getPackageTypes()` | List hyperlocal package types | `GET api/outbound/hyperlocal/get-packages-list` |\n| `getPaymentModes(segmentType)` | List payment modes by segment | `GET api/outbound/get-payment-mode` |\n| `getRiskTypes()` | List risk types | `GET api/outbound/domestic/risk-types` |\n| `calculateRate(payload)` | Rate calculator | `POST api/outbound/user-rate-calculator` |\n| `createOrder(payload)` | Create order (discriminated by `segment_type`) | `POST api/outbound/create-order` |\n| `getServiceableCouriers(orderId)` | Serviceable couriers + prices for an order | `POST api/outbound/courier-wise-shipment-cost` |\n| `placeOrder(payload)` | Manifest an order with a courier | `POST api/outbound/place-order` |\n| `cancelOrder(orderId)` | Cancel an order | `POST api/outbound/cancel-order` |\n| `trackOrder(orderId)` | Track by order id | `GET api/outbound/track-order` |\n| `getOrderDetail(orderId)` | Full AWB / label / status detail | `GET api/outbound/order-shipment-details` |\n| `downloadDocument(orderId, documentType)` | `invoice`, `label`, `ewaybill`, or `manifest` | `GET api/outbound/download-shipment-documents` |\n\n## Documentation\n\nThe full guide (config, error hierarchy, hooks, workflow builder deep-dive, troubleshooting) lives in the repo:\n\n- [**Repo README**](https://github.com/Agamya-Samuel/bigship-sdk#readme) — installation, configuration, API surface\n- [**CHANGELOG**](./CHANGELOG.md) — release notes and migration guide (v1 → v2 → v3)\n- **External docs sites** — see the repo README for the playground and docs-site URLs. Both are external deployments not under this repo's CI; if a link is unreachable, `cd apps/docs && npm run dev` runs the site locally.\n\n## Workflow Builder\n\n```typescript\nimport { BigshipClient, ShipmentWorkflow } from '@agamya/bigship-sdk';\n\nconst client = new BigshipClient({ /* ...config... */ });\n\nconst workflow = await new ShipmentWorkflow(client).create({\n  segment_type: 'domestic_b2c',\n  /* ...payload */\n});\n\nworkflow.withServiceableCourier(0);   // sync; or .withCourier(courierId)\nawait workflow.place();              // default riskTypeId: '2' (Owner Risk)\n\nconst { orderId, orderDetail } = await workflow.finalize();\nconsole.log('AWB:', orderDetail?.getOrderDetails.AwbNumber);\n```\n\nOr as a single call: `.execute(order, courierId?)`. The same flow without the builder is `createOrder` → `getServiceableCouriers` → `placeOrder` → `getOrderDetail`; the builder just stops you from forgetting which id goes where.\n\n## Error Handling\n\n```typescript\nimport {\n  BigshipError,\n  isBigshipValidationError,\n  isBigshipAuthError,\n  isBigshipNetworkError,\n  isFailedResponse,\n} from '@agamya/bigship-sdk';\n\ntry {\n  const res = await client.createOrder(payload);\n  if (isFailedResponse(res)) throw new Error(res.message);\n} catch (err) {\n  if (isBigshipValidationError(err)) {\n    // err.validationErrors: Record<string, string[]>\n  } else if (isBigshipAuthError(err)) { /* credentials rejected */ }\n    else if (isBigshipNetworkError(err)) { /* offline / DNS / timeout */ }\n      else if (err instanceof BigshipError) { /* err.code, err.statusCode */ }\n        else throw err;\n}\n```\n\nHierarchy: `BigshipError` → `BigshipApiError` → `BigshipValidationError` (400), `BigshipAuthError` (401), `BigshipNetworkError` (statusCode -1), `BigshipDuplicateInvoiceError` (409).\n\n## Versioning and Compatibility\n\nFollows [Semantic Versioning](https://semver.org/). The current major is **v3** (Unified Outbound API). The 2.x line targeted the legacy External Outbound API (`addSingleOrder`/`addHeavyOrder`/etc.) and is no longer maintained; upgrade by replacing helper calls with `createOrder({ segment_type })` and the rate/manifest/cancel calls with `getServiceableCouriers`/`placeOrder`/`cancelOrder` respectively. See [`CHANGELOG.md`](./CHANGELOG.md) for the full migration notes.\n\n## Support\n\n[GitHub Issues](https://github.com/Agamya-Samuel/bigship-sdk/issues)\n\n## License\n\n[MIT](https://github.com/Agamya-Samuel/bigship-sdk/blob/main/LICENSE)\n","readmeFilename":"README.md"}