{"_id":"@autoposting.ai/sdk","_rev":"13-f4cf97d20db48d64708e7dc4fb37e650","name":"@autoposting.ai/sdk","dist-tags":{"latest":"0.4.0"},"versions":{"0.2.0":{"name":"@autoposting.ai/sdk","version":"0.2.0","_id":"@autoposting.ai/sdk@0.2.0","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"dist":{"shasum":"b21abb979cec9c36c035633902af1fcd75b5d4c2","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.2.0.tgz","fileCount":7,"integrity":"sha512-tUnE71SwHXWkcEB83BIIvbKLnfXJoizWXZU+bqPd7OyKUxXQVFtBHX3SHaMF6f4ba+y+iclW15FXtdZ0YKNagA==","signatures":[{"sig":"MEUCIQDykT0q14FAxHI3b1a50c7SlLSINHSTc5dGybFI0kBeiwIgfULxsPuQmxJtOd+7Gkpvf3xBqxdG7TFjmS1DERtc9ic=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102477},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"701ba11449c1b1c91e871d3fda465caf5a35d19c","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.0_1778693987027_0.16040765583088779","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@autoposting.ai/sdk","version":"0.2.1","_id":"@autoposting.ai/sdk@0.2.1","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"dist":{"shasum":"a89caf1b1169272f66d8ae5a14211f4a14edebbe","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.2.1.tgz","fileCount":7,"integrity":"sha512-J32vepM26NkbK4Z6SXH2DkDpxT6w+YQtGGAwpXNP9P4aeOBqZrkYy9PUCgcaTI4zqcuCNj7VLrlH9snzpztnbw==","signatures":[{"sig":"MEYCIQDtbnNCkikzcKHgyrqqBNALLQlHsNnt9XPGlzT2OVQRhwIhANd5Qa+6UT0EXulbvsdtqIyfu/mgLIP+fJgXRwGNLoVI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102477},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"1cf0a368f319b7a68ab064b0ac91c180e7054f47","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.1_1778694227625_0.2934109895468071","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@autoposting.ai/sdk","version":"0.2.2","_id":"@autoposting.ai/sdk@0.2.2","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"dist":{"shasum":"36f7dab2b5efd82a502b7c411f6a132a83d09e6e","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.2.2.tgz","fileCount":8,"integrity":"sha512-Ww07FNNu3LIT5V7D+9rlktf8gfBJQvBAGuTM8MLrg9PueFIF7bkhgOP+qDKBCSi4gN8ITaJEdN3YAhlEe73Czg==","signatures":[{"sig":"MEQCIEcyKkgskRfVz6R8ifYPiRynbzzHk1S7f+iRFZxq/uujAiB4kXy1NS/H++EQyLIXP7tzIDrlUj6ImMmTpWM3PcgSIA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":111952},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"38b2af0cc670ea06b608180aaaf6921bf63c2c3f","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","description":"<div align=\"center\">","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.2_1778695041027_0.6171797331767692","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@autoposting.ai/sdk","version":"0.2.3","license":"MIT","_id":"@autoposting.ai/sdk@0.2.3","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"dist":{"shasum":"7597f86a192478d65f294239bbf660d89a8e29c5","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.2.3.tgz","fileCount":9,"integrity":"sha512-aJeV8eTF/7IHmuj9E6OD1v7uc45p7YI6vC4AF93edbG3vJbFz5QNc1TcrdESJprJHustZnQQLx8ePSJbxok5PA==","signatures":[{"sig":"MEQCICT4I3fFLduqDRPZkDKjNz9VpT3hTHommCNxjRGKya7VAiBlNR+0ZNkZBcsq4jzZ9ksOH0ckzlRa2873Hb7MRPKdWA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113058},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"40a5e64e1c9f875332050432e3b01891651c2f54","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","description":"<div align=\"center\">","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.3_1778695244804_0.2288285612516574","host":"s3://npm-registry-packages-npm-production"}},"0.2.31":{"name":"@autoposting.ai/sdk","version":"0.2.31","license":"MIT","_id":"@autoposting.ai/sdk@0.2.31","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"dist":{"shasum":"fc6cb11b3391a047abe176e1dd8b0993d14917c7","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.2.31.tgz","fileCount":9,"integrity":"sha512-Q1co9Fs3kcRD1T0DyspAALl+tlRrd5piFC1w4OUXtT1/Sh5HTjKDaRl5AEBhgv2guDdIBQaUflIbTI5kuOb9mg==","signatures":[{"sig":"MEQCIDB5V/+TaBsERv/ECJXxJN6nPXKm/7QD8jX/HYAqGgVUAiB0VBlSeRiOGKCkyuaK9T22yTpTptflWD/lTo+SrCN5HQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113059},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"69947dfcb06cb998113473f3a7e3eb775c75047e","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","description":"<div align=\"center\">","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.31_1778697614908_0.04878095681368677","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@autoposting.ai/sdk","version":"0.3.0","license":"MIT","_id":"@autoposting.ai/sdk@0.3.0","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"dist":{"shasum":"893b34157145befc985b77f699be7653f4018902","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.3.0.tgz","fileCount":9,"integrity":"sha512-p5M6bftsvI8a+gV65dOAp3m599B/5F+S8k/H6U+KzVE78FZSchQI8LmNcBqDw8x5zgfexn/kXRjE8ei+mU+R9A==","signatures":[{"sig":"MEUCIAmcohPBDSe0HMNqR5jTMKFK6dyHQ4qOPADSoxQL0YzlAiEAoGTdTOf+C4D7QFMkHVJPyJzSUTPtX+C1u7QHYGZdpwU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113061},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"1209f9e79387ab90d6df1287ef92d53a693d8072","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","description":"<div align=\"center\">","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.0_1779392953468_0.24758653043384693","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@autoposting.ai/sdk","version":"0.3.1","license":"MIT","_id":"@autoposting.ai/sdk@0.3.1","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"dist":{"shasum":"5370e00102c5165503fa5f590144ed941b4990ff","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.3.1.tgz","fileCount":9,"integrity":"sha512-KrZG6hwfSf7v+NKVn5GtQ6sonq/V32Ic2pDWy8KtJBLZxcaFXwddj0JKECA3cjE45BGDKvXhUS/ewOE6rcyZDg==","signatures":[{"sig":"MEQCIFkR2nB6+un2tjEw8Msrd6/C1fhi7uFxz+t5SurqVZKcAiBKBVM9k2eno2wExrjpOoCkUraW9y85B3GcNcDkNy1b6A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":150792},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"4e40bc382aea5a4816c94ecd68db03d9d7c83d59","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","description":"<div align=\"center\">","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.1_1782472479257_0.6109876320953189","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@autoposting.ai/sdk","version":"0.3.2","license":"MIT","_id":"@autoposting.ai/sdk@0.3.2","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"dist":{"shasum":"ebe7396c3d29c8ca62e7a4d12c66658e91783c8e","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.3.2.tgz","fileCount":9,"integrity":"sha512-H8WGp23xEflcOgV9IgAykde3ZjLDM4FNITs7U5U6TK6HGOsdLYSC642FUcxHootPHXlcgvEmlQx6CQYJYG5bjg==","signatures":[{"sig":"MEYCIQDHja4VhA4DPy6seH4nzZt9xSudJ/VwaSDy4Xe94ZqXawIhAPVbVAJUz17BPADrPaqJgFvgOiDmFqoIWOnvZC3/DmuU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":166294},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"2f2d996c7036514d17e8dc72569591eaed34f931","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","description":"<div align=\"center\">","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.2_1782480508027_0.56801076780551","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@autoposting.ai/sdk","version":"0.3.3","license":"MIT","_id":"@autoposting.ai/sdk@0.3.3","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"dist":{"shasum":"be006fa602f172e1463a196c7211998b7e25bb6c","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.3.3.tgz","fileCount":9,"integrity":"sha512-fFVgqCE4b0LAX8YChjvicFTP7uPqSOwNyNPoD1pWbix6QiF102zK4HAZJvd1MuZob1eE/Mc1f9OCZ4UlPc3fSg==","signatures":[{"sig":"MEUCIQCa7VqObtkrSqBPGKvl5UhdDNtXVSvNBhdMZ59akPpBZwIgcCC7PUhEA1ko/4HHU2KNwgVmz0dFA6Vcd+Ay+NBGO8s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":174823},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"05fae160f343f6ed388ed614027394e9859bd675","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","description":"<div align=\"center\">","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.3_1782486426322_0.7745823094741711","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@autoposting.ai/sdk","version":"0.3.4","license":"MIT","_id":"@autoposting.ai/sdk@0.3.4","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"dist":{"shasum":"080ee9060e9f5930aec6aa68747768cf696f0b48","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.3.4.tgz","fileCount":9,"integrity":"sha512-0dJs/muR/Dhew1cPuI6JqWZsuG88JTKL0sop2PXiM+DD2BBGQnLQuODoQDfVRtLX+zqz7ZWRBdf4cW7A9D2jRA==","signatures":[{"sig":"MEUCIHC7rJrbxrWv4cjdGPzlaVn7DQ2EXCGN/woD/MrVdIcVAiEAxsnYnMQTskuwoF666kZFr13iaYIb1Qlb6Z6RJdn7R2Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":174823},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"7e5c67c69e63efa260309b8ab12a50d0c2fb802e","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","description":"<div align=\"center\">","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.4_1782492590437_0.5364208672884605","host":"s3://npm-registry-packages-npm-production"}},"0.3.5":{"name":"@autoposting.ai/sdk","version":"0.3.5","license":"MIT","_id":"@autoposting.ai/sdk@0.3.5","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"dist":{"shasum":"43e0bca76d15c28766cb39adb541232aae3fa24a","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.3.5.tgz","fileCount":9,"integrity":"sha512-Ir1r8GYd6D89t6OHahQLKfAuqcg75tNXncNRt+nLdjWgrAdqgNgWI/Z3W8p/LUQ4qnuDfqk2fKm9tyaGXK+w0Q==","signatures":[{"sig":"MEYCIQDZ5VG2HLlQD84WGaEe6mHONqO4IYyH2hz6ll6thXwQxQIhAO/JTesM3OgOCfvCD30k98IKVnv0CHJX9MQ4lE5O8njg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":199678},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"743b9d3c8bfc13d73fec2cf188d2e1a91962da5e","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","description":"<div align=\"center\">","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.5_1782558515978_0.1037233169998868","host":"s3://npm-registry-packages-npm-production"}},"0.3.6":{"name":"@autoposting.ai/sdk","version":"0.3.6","license":"MIT","_id":"@autoposting.ai/sdk@0.3.6","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"dist":{"shasum":"ecca9329b22372e089fd2ddd653166de02d86934","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.3.6.tgz","fileCount":9,"integrity":"sha512-OPFzShKGQVMj5K+YyAGLjhQXNeKHVUwRTPjK7OYJHx1DyepKLiGCzQQsWWEnz+bXUifU43ec6ysHwXKn1xqzLQ==","signatures":[{"sig":"MEUCIQCfcRuhpXDOCcpOlP5Bh0zsQMo75hTCI0+ScfdswSsfigIgE4eub64deoqmnIINYWZbD/m6JUTuJK9bw90NWqJPzrg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAQpnp+jJlukC9KylEACEdV9B265onAM5ngajI+KVguIAiA5TwXBiXkHrY7x35a8WBFqyYr9sQLTTMhxQEWQBjmzVw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203719},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"dc13cdeb953e51023acccbe9084975125e747dd8","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","description":"<div align=\"center\">","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.6_1790583909964_0.48691404439093366","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"_id":"@autoposting.ai/sdk@0.4.0","dist":{"shasum":"b6f1b1beb4606f748ed4c74880c877c89ebaac0e","tarball":"https://registry.npmjs.org/@autoposting.ai/sdk/-/sdk-0.4.0.tgz","fileCount":9,"integrity":"sha512-678iQ/+35eDQK9bb/ERkOwMHS2889cxUlcs8VlKsZ7Fw/PA5tmVJuSrRhvLW9ffmpB7HDeYj4BqGRY7tuUfSoQ==","signatures":[{"sig":"MEUCIC8V0NovaEo5PYUvDtbmxUVCDwTqCo3SR8UiRR/HtH21AiEA7S8/Lyoy/sQpYGo13/Osl3u/l71fwB8O0NJ2hLl6Kek=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICiPz2DlaA8Vk9/AAKQCpfamJ+bGOa3JHDgDDxccMU96AiEAh+XhmQmcLP3RE9A5MdK5N6VCKiOW9Rs/B5Jcr7a5Tnc="}],"unpackedSize":203719},"main":"./dist/index.cjs","name":"@autoposting.ai/sdk","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"da104175c6545d521f33d4e06847674daa364458","license":"MIT","scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"version":"0.4.0","_npmUser":{"name":"uditgoenka","email":"udit@pitchground.com"},"_npmVersion":"10.8.2","description":"<div align=\"center\">","directories":{},"maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","tsup":"*","vitest":"*","typescript":"*"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.4.0_1790592619004_0.3165633487021766"}}},"time":{"created":"2026-05-13T17:39:46.889Z","modified":"2026-09-28T10:50:19.258Z","0.2.0":"2026-05-13T17:39:47.185Z","0.2.1":"2026-05-13T17:43:47.777Z","0.2.2":"2026-05-13T17:57:21.197Z","0.2.3":"2026-05-13T18:00:44.957Z","0.2.31":"2026-05-13T18:40:15.073Z","0.3.0":"2026-05-21T19:49:13.608Z","0.3.1":"2026-06-26T11:14:39.470Z","0.3.2":"2026-06-26T13:28:28.178Z","0.3.3":"2026-06-26T15:07:06.469Z","0.3.4":"2026-06-26T16:49:50.575Z","0.3.5":"2026-06-27T11:08:36.209Z","0.3.6":"2026-09-28T08:25:10.054Z","0.4.0":"2026-09-28T10:50:19.089Z"},"license":"MIT","description":"<div align=\"center\">","maintainers":[{"name":"uditgoenka","email":"udit@pitchground.com"}],"readme":"<div align=\"center\">\n\n# @autoposting.ai/sdk\n\n**TypeScript SDK for AI-powered social media automation.**\n\nThe official Node.js / TypeScript client for the [Autoposting.ai](https://autoposting.ai) API — schedule posts, manage brands, run AI agents, generate content ideas, clip videos, build carousels, and automate social media publishing across X (Twitter), LinkedIn, Instagram, Threads, and YouTube.\n\n[![npm](https://img.shields.io/npm/v/@autoposting.ai/sdk?color=blue)](https://www.npmjs.com/package/@autoposting.ai/sdk)\n[![TypeScript](https://img.shields.io/badge/TypeScript-first--class-blue?logo=typescript&logoColor=white)](https://www.typescriptlang.org)\n[![Node](https://img.shields.io/badge/node-%3E%3D20-brightgreen)](https://nodejs.org)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/Autoposting-ai/autoposting-cli/blob/main/LICENSE)\n\n</div>\n\n---\n\n## Why @autoposting.ai/sdk?\n\n- **AI Agent Friendly** — Built for AI agents that need to post to social media. Pairs with the [MCP server](#mcp-server-for-ai-agents) for Claude Desktop, Cursor, and any MCP-compatible AI assistant.\n- **Multi-Platform** — One API for X (Twitter), LinkedIn, Instagram, Threads, and YouTube.\n- **AI Content Generation** — Generate post ideas, rewrite content, score posts, and create carousels with AI.\n- **TypeScript-First** — Full type definitions, typed errors, and autocomplete for every resource.\n- **Zero Dependencies** — Uses native `fetch` (Node.js 20+). No axios, no node-fetch.\n- **Lightweight** — 13KB bundled (ESM + CJS + type definitions).\n\n---\n\n## Install\n\n```bash\nnpm install @autoposting.ai/sdk\n```\n\n```bash\nyarn add @autoposting.ai/sdk\n```\n\n```bash\npnpm add @autoposting.ai/sdk\n```\n\n---\n\n## Quick Start\n\n```typescript\nimport { Autoposting } from '@autoposting.ai/sdk'\n\nconst client = new Autoposting({ apiKey: 'sk-social-...' })\n\n// Schedule a post to X and LinkedIn\nconst post = await client.posts.create({\n  brandSlug: 'my-brand',\n  text: 'Launching our new AI features today!',\n  platforms: ['x', 'linkedin'],\n  scheduledAt: '2025-01-15T09:00:00Z',\n})\n\n// Publish immediately\nawait client.posts.publish(post.id)\n```\n\n---\n\n## Usage Examples\n\n### Social Media Post Scheduling\n\n```typescript\n// List all scheduled posts\nconst posts = await client.posts.list({ status: 'scheduled' })\n\n// Create and schedule a post\nconst post = await client.posts.create({\n  brandSlug: 'my-brand',\n  text: 'Check out our latest blog post!',\n  platforms: ['x', 'linkedin', 'threads'],\n  scheduledAt: '2025-02-01T14:00:00Z',\n})\n\n// Attach media (upload first, then reference by URL)\nawait client.posts.create({\n  brandSlug: 'my-brand',\n  text: 'Ship day 🚀',\n  platforms: ['x'],\n  media: [{ url: 'https://cdn.example/chart.png', type: 'image', altText: 'Q2 chart' }],\n})\n\n// Unschedule a post — returns it to draft\nawait client.posts.unschedule(post.id)\n\n// AI-rewrite a post for better engagement\nawait client.posts.rewrite(post.id)\n\n// Get AI score and feedback\nconst score = await client.posts.score(post.id)\n```\n\n### Brand Management\n\n```typescript\n// List all brands in your workspace\nconst brands = await client.brands.list()\n\n// Check which platforms are connected\nconst status = await client.brands.authStatus('my-brand')\n```\n\n### AI Agents for Automated Posting\n\n```typescript\n// Create an AI agent that posts daily\nconst agent = await client.agents.create({\n  name: 'Daily Tech News',\n  type: 'publish',\n  brandSlug: 'my-brand',\n  prompt: 'Write a short post about the latest AI news',\n  frequency: 'daily',\n  time: '09:00',\n})\n\n// Trigger an immediate run\nawait client.agents.run(agent.id)\n\n// View run history\nconst runs = await client.agents.runs(agent.id)\n```\n\n### Knowledge Base & Content Ideas\n\n```typescript\n// Create a knowledge base and ingest content\nconst kb = await client.kb.create({ name: 'Product Docs' })\nawait client.kb.ingest(kb.id, { url: 'https://docs.example.com' })\n\n// Search your knowledge base\nconst results = await client.kb.search(kb.id, { query: 'pricing' })\n\n// Generate content ideas from your KB\nconst ideas = await client.ideas.generate({\n  kbId: kb.id,\n  topic: 'product updates',\n  count: 10,\n})\n```\n\n### Video Clips & Carousels\n\n```typescript\n// Import and process a video clip\nconst clip = await client.clips.import({ url: 'https://youtube.com/watch?v=...' })\nawait client.clips.render(clip.id)\n\n// AI-generate a carousel from a topic\nconst carousel = await client.carousels.generate({\n  topic: '5 Tips for Social Media Growth',\n  brandSlug: 'my-brand',\n  slideCount: 5,\n})\n\n// Convert carousel to a post draft\nawait client.carousels.draft(carousel.id)\n```\n\n### Webhooks for Real-Time Events\n\n```typescript\n// Get notified when posts are published\nconst webhook = await client.webhooks.create({\n  url: 'https://api.example.com/webhook',\n  events: ['post.published', 'post.failed'],\n})\n\n// Send a test event\nawait client.webhooks.test(webhook.id)\n```\n\n### Billing & Usage\n\n```typescript\nconst billing = await client.billing.status()\nconst credits = await client.billing.credits()\nconst usage = await client.usage.summary()\n```\n\n---\n\n## API Reference\n\n### Resources\n\n| Resource | Methods |\n|----------|---------|\n| `client.posts` | `list` · `getById` · `create` · `update` · `remove` · `publish` · `schedule` · `unschedule` · `retry` · `rewrite` · `score` |\n| `client.brands` | `list` · `retrieve` · `create` · `update` · `remove` · `authStatus` |\n| `client.agents` | `list` · `retrieve` · `create` · `update` · `remove` · `run` · `toggle` · `runs` |\n| `client.kb` | `list` · `retrieve` · `create` · `remove` · `search` · `ingest` · `docs` |\n| `client.ideas` | `list` · `generate` · `enrich` · `remove` |\n| `client.clips` | `list` · `retrieve` · `import` · `render` · `remove` |\n| `client.carousels` | `list` · `retrieve` · `create` · `generate` · `draft` · `remove` |\n| `client.webhooks` | `list` · `retrieve` · `create` · `update` · `remove` · `test` |\n| `client.billing` | `status` · `credits` |\n| `client.usage` | `summary` |\n| `client.workspaces` | `list` · `switchWorkspace` |\n\n### Error Handling\n\nThe SDK throws typed errors you can catch by class:\n\n```typescript\nimport {\n  AutopostingError,     // base class\n  AuthenticationError,  // 401 — invalid API key\n  ScopeError,           // 403 — insufficient API key scopes\n  NotFoundError,        // 404 — resource not found\n  ValidationError,      // 400/422 — invalid input\n  RateLimitError,       // 429 — rate limited\n  ServerError,          // 5xx — server error\n} from '@autoposting.ai/sdk'\n\ntry {\n  await client.posts.retrieve('nonexistent')\n} catch (err) {\n  if (err instanceof NotFoundError) {\n    console.log('Post not found:', err.message)\n  }\n  if (err instanceof RateLimitError) {\n    console.log('Rate limited, retry after:', err.message)\n  }\n}\n```\n\n### Configuration\n\n```typescript\nconst client = new Autoposting({\n  apiKey: 'sk-social-...',         // required\n  baseUrl: 'https://custom.api',   // optional, defaults to production\n  timeout: 30000,                  // optional, request timeout in ms\n})\n```\n\n### Auth Priority (when using with CLI)\n\n```\n--api-key flag  >  AUTOPOSTING_API_KEY env  >  stored credentials\n```\n\n---\n\n## MCP Server for AI Agents\n\nThis SDK powers the Autoposting MCP server — **51 tools** that let AI agents (Claude, Cursor, GPT) manage social media autonomously.\n\nInstall the CLI to get the MCP server:\n\n```bash\nnpm install -g @autoposting.ai/cli\nap mcp  # starts stdio MCP server\n```\n\n**Claude Desktop config:**\n\n```json\n{\n  \"mcpServers\": {\n    \"autoposting\": {\n      \"command\": \"ap\",\n      \"args\": [\"mcp\"],\n      \"env\": { \"AUTOPOSTING_API_KEY\": \"sk-social-...\" }\n    }\n  }\n}\n```\n\nOnce connected, your AI agent can create posts, schedule content, run AI agents, search knowledge bases, and manage your entire social media presence — all through natural language.\n\n---\n\n## CLI\n\nThe companion CLI (`@autoposting.ai/cli`) provides 61 terminal commands:\n\n```bash\nnpm install -g @autoposting.ai/cli\n\nap posts create --brand my-brand --text \"Hello!\" --platforms x,linkedin\nap agents run <agent-id>\nap kb search <kb-id> --query \"product launch\"\n```\n\nSee the [CLI documentation](https://github.com/Autoposting-ai/autoposting-cli) for the full command reference.\n\n---\n\n## Supported Platforms\n\n| Platform | Post | Schedule | AI Rewrite | Analytics |\n|----------|------|----------|------------|-----------|\n| X (Twitter) | Yes | Yes | Yes | Yes |\n| LinkedIn | Yes | Yes | Yes | Yes |\n| Instagram | Yes | Yes | Yes | Yes |\n| Threads | Yes | Yes | Yes | Yes |\n| YouTube | Yes | Yes | Yes | Yes |\n\n---\n\n## Use Cases\n\n- **Social media automation** — Schedule and publish posts across multiple platforms from your app\n- **AI agent social media posting** — Let AI agents manage your social presence via MCP\n- **Content pipeline** — Generate ideas → create posts → AI-rewrite → schedule → publish\n- **Social media management API** — Build custom dashboards and tools on top of the Autoposting API\n- **Automated content repurposing** — Clip videos, generate carousels, cross-post across platforms\n- **CI/CD social media publishing** — Automate announcements from your deployment pipeline\n- **Knowledge-driven posting** — Ingest docs into a KB, generate posts from your own content\n\n---\n\n## License\n\nMIT — see [LICENSE](https://github.com/Autoposting-ai/autoposting-cli/blob/main/LICENSE).\n\n---\n\n<div align=\"center\">\n\nBuilt by **[Autoposting.ai](https://autoposting.ai)** — AI-powered social media scheduling for X, LinkedIn, Instagram, Threads, and YouTube.\n\n[Website](https://autoposting.ai) · [CLI](https://www.npmjs.com/package/@autoposting.ai/cli) · [GitHub](https://github.com/Autoposting-ai/autoposting-cli) · [@iuditg](https://x.com/iuditg)\n\n</div>\n","readmeFilename":"README.md"}