{"_id":"docspring-ts","_rev":"18-6642a44bed4d4935d52a8ea1e1a5b538","name":"docspring-ts","dist-tags":{"latest":"4.7.0"},"versions":{"1.0.0":{"name":"docspring-ts","version":"1.0.0","author":{"name":"OpenAPI-Generator Contributors"},"license":"Unlicense","_id":"docspring-ts@1.0.0","maintainers":[{"name":"formapi","email":"dev@formapi.io"}],"homepage":"https://github.com/GIT_USER_ID/GIT_REPO_ID#readme","bugs":{"url":"https://github.com/GIT_USER_ID/GIT_REPO_ID/issues"},"dist":{"shasum":"22b792f5664ec5042a89d40b4fc43ad84693b892","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-1.0.0.tgz","fileCount":59,"integrity":"sha512-xT6TUmt8RIsGM5hrssBVKk1tzKyJJ6GKjk/xMKN87hWl58BGbGNEOvlwzd5Wk9VVZfxKBsvsj5+4pO0ikOhOgA==","signatures":[{"sig":"MEUCIQD8r2AT3KS3tR8ZbQ560rAdbK1r+cD3gme3DrUWM037PgIgeM+Ht85vsijn0ZIu195bETtELC9I0oOQIIDaXWxpixg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":253197},"main":"dist/api.js","types":"dist/api.d.ts","gitHead":"7018bbf88238bd3e05826d93b815952bf26448e0","scripts":{"test":"npm run build && node dist/client.js","build":"tsc","clean":"rm -Rf node_modules/ *.js"},"_npmUser":{"name":"formapi","email":"dev@formapi.io"},"repository":{"url":"git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git","type":"git"},"_npmVersion":"9.6.7","description":"NodeJS client for docspring-ts","directories":{},"_nodeVersion":"18.17.1","dependencies":{"rewire":"^3.0.2","request":"^2.81.0","bluebird":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0","@types/node":"^12","@types/request":"^2.48.8","@types/bluebird":"^3.5.33"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_1.0.0_1693368494712_0.4463032979371113","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"docspring-ts","version":"1.0.1","author":{"name":"OpenAPI-Generator Contributors"},"license":"Unlicense","_id":"docspring-ts@1.0.1","maintainers":[{"name":"formapi","email":"support@docspring.com"}],"homepage":"https://github.com/GIT_USER_ID/GIT_REPO_ID#readme","bugs":{"url":"https://github.com/GIT_USER_ID/GIT_REPO_ID/issues"},"dist":{"shasum":"6bd1b6a31aee03ddd886ca20233b776097018311","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-1.0.1.tgz","fileCount":224,"integrity":"sha512-q2htOGuoVsIOW1lg0VsnUFM3+O+kGWb0rioVXpcadbJVOW8kht/rTMo5YNX29ho1+Y7ssrza52Es1bK5oG6vlg==","signatures":[{"sig":"MEYCIQDWw5+JgmozDrB1gWCYNFGftvU+bHVoDOmxR570dnH8gQIhAPDKeHfr+5FRNDEynDuLlyAOdSHBpu3VmyoD/jZK7k1i","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":741604},"main":"dist/api.js","types":"dist/api.d.ts","gitHead":"cd5f1560806dbd98ec91efefd28cd9fcd3159a59","scripts":{"test":"npm run build && node dist/client.js","build":"tsc","clean":"rm -Rf node_modules/ *.js"},"_npmUser":{"name":"formapi","email":"support@docspring.com"},"repository":{"url":"git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git","type":"git"},"_npmVersion":"9.6.7","description":"NodeJS client for docspring-ts","directories":{},"_nodeVersion":"18.17.1","dependencies":{"rewire":"^3.0.2","request":"^2.81.0","bluebird":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0","@types/node":"^12","@types/request":"^2.48.8","@types/bluebird":"^3.5.33"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_1.0.1_1693375775697_0.623115701549898","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"docspring-ts","version":"1.0.2","author":{"name":"OpenAPI-Generator"},"_id":"docspring-ts@1.0.2","maintainers":[{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"94da51d27820f978a6cca299fb5dfa00f62c6865","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-1.0.2.tgz","fileCount":176,"integrity":"sha512-YsZm19AsYuECyukIXImXVEdTnO9eZ0vECuOAMEHNsE8uzkrYGIB6oZgVSR6AP9cayhiOP2FdO4mjDTXfTOTV5w==","signatures":[{"sig":"MEYCIQD+7f+spbESJGpj68lrVNXY/JAhQL+XV3AoKpcUCULq1wIhALAHpCr/aCb3V/IWzZbr7CzcZJruDfKDSK1654hj7oL/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":658829},"main":"./dist/index.js","gitHead":"2883fe7e667e9c66f038943126649a87878cfde9","scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"formapi","email":"engineering@docspring.com"},"repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"9.6.7","description":"OpenAPI client for docspring-ts","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_1.0.2_1695802147658_0.39665752527622233","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"docspring-ts","version":"2.0.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"OpenAPI-Generator Contributors"},"license":"Unlicense","_id":"docspring-ts@2.0.0","maintainers":[{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"9d2358136a3f0ac8543a54cf15a17146b8def057","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-2.0.0.tgz","fileCount":198,"integrity":"sha512-t2NALdRkm5M8UJRlDfQPvFEdWDPeHOycSYY+rtScWIbf0R+N/poDarKWkJ8T73fFzWd34E8ZFMckJ46XZ3Eiaw==","signatures":[{"sig":"MEYCIQDI1n28GWSa29zKl5xvnCpk/w5IUXokAgMD+YiQk6QNWwIhAPrr+vapt93TX4NmpyCSGIZ3+rEzha8HhuNmrUXeIfOF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":889569},"main":"./dist/index.js","type":"commonjs","exports":{".":{"types":"./dist/index.d.js","require":"./dist/index.js"}},"gitHead":"51f0a5c9dc4c0ab806cad76e37565c6a375d209c","scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"formapi","email":"engineering@docspring.com"},"repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"10.9.2","description":"OpenAPI client for docspring-ts","directories":{},"_nodeVersion":"23.6.1","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0","@types/node":"^22.13.5"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_2.0.0_1740558851513_0.0011329958954211516","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"docspring-ts","version":"2.1.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"OpenAPI-Generator Contributors"},"license":"Unlicense","_id":"docspring-ts@2.1.0","maintainers":[{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"2dbfdf76a94ae1255fd3fe82104bf07bbf73f056","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-2.1.0.tgz","fileCount":210,"integrity":"sha512-rqVE9LTG84+CId9tJPKJKrxROYfGUDtkn2AHpaybfb1CQoFPaDLPAsCt0Hb2XA4pjtRqehhgiFrKizO4SmJI5w==","signatures":[{"sig":"MEQCIEsU1NVhQL3Q38om3yyrvNENbMjwf9UbiNp0crMuwVUZAiBWEOl/gj7vC3FNEUEY2A72eA1aRE8enjEfI1c39d5CHw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":945445},"main":"./dist/index.js","type":"commonjs","exports":{".":{"types":"./dist/index.d.js","require":"./dist/index.js"}},"gitHead":"a486eacfb38c409dbab601f58ded35168675efa5","scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"formapi","email":"engineering@docspring.com"},"repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"9.6.7","description":"OpenAPI client for docspring-ts","directories":{},"_nodeVersion":"18.17.1","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0","@types/node":"^22.13.11"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_2.1.0_1742638772527_0.6278583274951728","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"docspring-ts","version":"3.0.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"OpenAPI-Generator Contributors"},"license":"Unlicense","_id":"docspring-ts@3.0.0","maintainers":[{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"70cafb3074e35449b362b12726edc948b70cd012","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-3.0.0.tgz","fileCount":213,"integrity":"sha512-amAz0tFiIPjQ2WXpyNSI/MTYBNO9dJ0k8ieNQ0TTDMNMSjdoicosJZ26q3rExwrqWuwVBxnUM4p+uaOZmJmsTA==","signatures":[{"sig":"MEUCIQC3lesCmH9Lp3g2CgfKh3trKT9DaY8YbASqf0yhYY/LBAIgSIY6CMlvILHGVuW3rpJvk25qqyRYHmJkPRqQblcjyK8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":972494},"main":"./dist/index.js","type":"commonjs","exports":{".":{"types":"./dist/index.d.js","require":"./dist/index.js"}},"gitHead":"6001a0bb83d0844386cd04dcbf07549cc5309121","scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"formapi","email":"engineering@docspring.com"},"repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"10.9.3","description":"OpenAPI client for docspring-ts","directories":{},"_nodeVersion":"22.19.0","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0","@types/node":"^18.19.127"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_3.0.0_1758675594297_0.7203609025842852","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"docspring-ts","version":"3.1.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"OpenAPI-Generator Contributors"},"license":"MIT","_id":"docspring-ts@3.1.0","maintainers":[{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"1c22ebbb8eaf81b030c53b4ff208f0c409195445","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-3.1.0.tgz","fileCount":225,"integrity":"sha512-SGlyHpqJ6djM2YIc7RTGUmkoRCUqpjyL8FXyPIDmBYI1nFc/+75RdDQm4qSotrlenOhZimbFO26A3mcmOKl32A==","signatures":[{"sig":"MEUCIQDjfUiRBQh5UJcfRbRbGpqaEMXWJarLg+l8wmgp8x2/SQIgB9l8i7N+owfPqlk2NnltT7j9bYCKbUIQOJE3u8IUgi8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFO24gIwJDglC2q5MlSgyKmUFQ6/Nf2jga7ckXm42AX7AiBdr7uyNmo+I60QfzXTf9SPQKWmEiwOPXkBJFnZ6E8C8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1095591},"main":"./dist/index.js","type":"commonjs","exports":{".":{"types":"./dist/index.d.js","require":"./dist/index.js"}},"gitHead":"95f4332f130190ebf524f3ff1cb2bb435da56552","scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},"repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"11.19.0","description":"OpenAPI client for docspring-ts","directories":{},"_nodeVersion":"24.21.0","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_3.1.0_1792022596234_0.6543681357983451","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"docspring-ts","version":"3.2.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"DocSpring"},"license":"MIT","_id":"docspring-ts@3.2.0","maintainers":[{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"6a7ee29967014ec9f6a4e3237f1d690e4e1427b1","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-3.2.0.tgz","fileCount":226,"integrity":"sha512-E12RlaEkLaFrlKUkoq87XeEmJZtfBTx/AiBOgMJZAM4HEQu5qpwU6QuGfabEcN28Gv8ZPaWSjbh9fagymkQNwg==","signatures":[{"sig":"MEUCIFKcqjmLZ6WOU0UpmTegyWKBDwJsHI6QvsUEFbdrLDmkAiEAzcaPQWlOPUNod0dufRqZJwNeKSElXDW40DVZ0cj3E20=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD9Di7OElFr8mxmUKzktbeoimUIgIdDEfE4/slsWp2ELAIgGn/kVF4pQ1/6ecSGVLK/dfdHaX5j0VHDYp8BbztQfTg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1108439},"main":"./dist/index.js","type":"commonjs","exports":{".":{"types":"./dist/index.d.js","require":"./dist/index.js"}},"gitHead":"13c1114d5de4eb8c56896c79974c243d96c4161b","scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},"repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"11.19.0","description":"An API client for the DocSpring PDF generation service","directories":{},"_nodeVersion":"24.21.0","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_3.2.0_1792297637238_0.4015431048114595","host":"s3://npm-registry-packages-npm-production"}},"3.3.0":{"name":"docspring-ts","version":"3.3.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"DocSpring"},"license":"MIT","_id":"docspring-ts@3.3.0","maintainers":[{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"d9f6ffd1c2dfe09466a49189f9a4712ca625305c","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-3.3.0.tgz","fileCount":229,"integrity":"sha512-v5Gc4gr0oYAirU3tDP2Oo5pOc0cVf3yzjyJ9uupYuC0s3JNM9qCUfM1SZ0hSZANTlsGoILxf8P2IjZvM0HTFRA==","signatures":[{"sig":"MEUCIDPTOwa52LIYbHZDzLw5UCZDqluiba+U0UiS6ew0/tCTAiEAwPdVhcBdO4YQ0kQZrfPABBSifZ1bRVrg1HwJuMaKI98=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIB8e2soXEarRGgIBmkw5Y0Lqfzdo63LhCbze4oyq8kJfAiBpdWSwGR//GAbGpOU/KSCbVNUlHecRn6yvEn+nt9yqHw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1124953},"main":"./dist/index.js","type":"commonjs","exports":{".":{"types":"./dist/index.d.js","require":"./dist/index.js"}},"gitHead":"6d147d0a949a9e49f928d53b9eea33c6f990a378","scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},"repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"11.17.0","description":"An API client for the DocSpring PDF generation service","directories":{},"_nodeVersion":"26.4.0","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_3.3.0_1792358169542_0.6492486524613132","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"docspring-ts","version":"4.0.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"DocSpring"},"license":"MIT","_id":"docspring-ts@4.0.0","maintainers":[{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"2844bff4f7b12e519b335e717110334bf7667f92","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-4.0.0.tgz","fileCount":445,"integrity":"sha512-QRhttbVhgefLTvLdixoSVbDrSVQqFqIY1wDpNb0/iW2J14X967089/bKbZOgk2NXF5vWVQ7zUYu0YmoEpISU5w==","signatures":[{"sig":"MEUCIQCGx48bwk7PQRn5coDLryqcfN+PXUhcyv93gm7kO8V1fQIgd6dUwDC9dTmxw7B2chwLD2w8Mu6agmM5FIXSFBZ8PCg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICEP6z5BGwkeIMLRoihmLSMdoPK1EE5lbLdyNY8/OLlxAiEAmNzxe+MGPyyeAzIcTk+3y1hNSqO5cKvim/1wh4iGL68=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1523425},"main":"./dist/index.js","type":"commonjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"b8f8354c20e92b1fe2475da7aef7a397816eca6f","scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},"repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"11.19.0","description":"An API client for the DocSpring PDF generation service","directories":{},"_nodeVersion":"24.21.0","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_4.0.0_1792977247230_0.09561389104234808","host":"s3://npm-registry-packages-npm-production"}},"4.1.0":{"name":"docspring-ts","version":"4.1.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"DocSpring"},"license":"MIT","_id":"docspring-ts@4.1.0","maintainers":[{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"502feab1666833e3427214d169346df7ceae1b32","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-4.1.0.tgz","fileCount":529,"integrity":"sha512-B/UM9xJZwpjNdJFRQDleW8p1nIoPu0IQSnwGVd54XHEY75U7WpdmIjfalMqc66hZs3g8dXgp3nLEWvJh0TlWvw==","signatures":[{"sig":"MEQCIF9lucl8N9rWnGt8Ai/Cpu0OU298zeW1Nwx7kj2aPzGWAiBsriEr/3XCQF4QfgQFWatAfUDqRm27q6dCRQqweq36eA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDqjm04esHIB2xMzghxE5jFe59W5q8A3tLIIgLKgVdSogIgTtvYBjw2wd8RwBf35yghFAXVqafsCaNTZE0bl6ZeKGc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1938175},"main":"./dist/index.js","type":"commonjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"922c92cbb026e1051db5b43f62e5bc10d8aa51cc","scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},"repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"11.20.0","description":"An API client for the DocSpring PDF generation service","directories":{},"_nodeVersion":"26.12.1","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_4.1.0_1793057745869_0.4745190236835348","host":"s3://npm-registry-packages-npm-production"}},"4.2.0":{"name":"docspring-ts","version":"4.2.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"DocSpring"},"license":"MIT","_id":"docspring-ts@4.2.0","maintainers":[{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"7000d0ee813e99cd01a74a90203453b51d442a77","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-4.2.0.tgz","fileCount":547,"integrity":"sha512-qOz6mb5FzWgl97sXsf2byeBas7FH7YotZz/qYJYKxJjr/iefnWWm9aRsM98uYf8XvE03UVK7kHsGftN4XWWj5A==","signatures":[{"sig":"MEYCIQCXFL6L0EE+ABbT6J/gZwNe1TBn42uxmLTeRK/P53PZJAIhANpBAYOO+9kEkn/VAN4+nr7qH5KDH2tYxj3rnSdIKsGl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDZw0vBzStA2nuA2cYm9WGiBpixlKU4X+sp8lesDEv28AiAhIJqECmA11EEm1o/NqH7KNzOeeqzqE3dyb36qc9HHBA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2081122},"main":"./dist/index.js","type":"commonjs","browser":{"crypto":false},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"977804db9be771996a4c1a1ebe01fc953dabc59f","scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},"repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"11.20.0","description":"An API client for the DocSpring PDF generation service","directories":{},"_nodeVersion":"26.12.1","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_4.2.0_1793219003090_0.3284807342361652","host":"s3://npm-registry-packages-npm-production"}},"4.3.0":{"name":"docspring-ts","version":"4.3.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"DocSpring"},"license":"MIT","_id":"docspring-ts@4.3.0","maintainers":[{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"654c51426338ce9bc0ccfa3cbb0c2ffac0bc22d4","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-4.3.0.tgz","fileCount":547,"integrity":"sha512-/+PIaVnC/2aaFMoMCCikhvL9gRuyFwlGVFNEUVDEDoHHggythmK00yboRiiNxEPJwY2/RUAZcpnz66JeXr+2fg==","signatures":[{"sig":"MEUCIQDL6bIW9MBvGBFlMbaIpecgnn3G02HMjYlprXoQrdlwAQIgbIRAHao/28jifW3/U3RZvaWOyjtJfw25YUeIxku102M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC6CN1yMfo5XOg3Tx2sBC/iYduRVBMRsi6TogFVd9th0AIhANqWvUS6Tz/nox6xQfY7NZ0fPXX6iBCLxsTxrUgwIa+G","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2088842},"main":"./dist/index.js","type":"commonjs","browser":{"crypto":false},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"ee518935b56ea06222cec5f7939766293ad6c26e","scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},"repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"11.19.0","description":"An API client for DocSpring: fill PDF forms, generate PDFs and Word documents, and collect e-signatures","directories":{},"_nodeVersion":"24.21.0","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_4.3.0_1793407113442_0.5021065013920322","host":"s3://npm-registry-packages-npm-production"}},"4.4.0":{"name":"docspring-ts","version":"4.4.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"DocSpring"},"license":"MIT","_id":"docspring-ts@4.4.0","maintainers":[{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"21be42b61400dcc3fe1e3b2c16bb85676374e221","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-4.4.0.tgz","fileCount":631,"integrity":"sha512-ZJ4hBhnE/L8bHIZnhsvFyo+e2vPSAcVrDxwE0hy8irO/gYur0ZN6D+9y0wxRbU7rzcyywJDjznNelVtoTDOrwg==","signatures":[{"sig":"MEYCIQC00l6zqaDIoLBmpruDk5MkDp51al3nk5+WPjng9gg/PwIhAKNEvQqQka11GROZXMPiq5TS+QLYHsc7c5OXuJ5Vu7Sj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIEYlIqEnBBIANL785AecVEW9g7BNrQyonKVGEEqCediRAiEA/uNrQaSHnOFURv72VCCM/uC055MXAfEkhFd3Vqu2dJc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/docspring-ts@4.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2658256},"main":"./dist/index.js","type":"commonjs","_from":"file:docspring-ts-4.4.0.tgz","browser":{"crypto":false},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"a9883ac7-4025-4705-aa81-4012478792ac"}},"_resolved":"/home/runner/work/docspring-typescript/docspring-typescript/docspring-ts-4.4.0.tgz","_integrity":"sha512-ZJ4hBhnE/L8bHIZnhsvFyo+e2vPSAcVrDxwE0hy8irO/gYur0ZN6D+9y0wxRbU7rzcyywJDjznNelVtoTDOrwg==","repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"11.21.1","description":"An API client for DocSpring: fill PDF forms, generate PDFs and Word documents, and collect e-signatures","directories":{},"_nodeVersion":"24.22.1","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_4.4.0_1793527963245_0.8973017814176218","host":"s3://npm-registry-packages-npm-production"}},"4.5.0":{"name":"docspring-ts","version":"4.5.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"DocSpring"},"license":"MIT","_id":"docspring-ts@4.5.0","maintainers":[{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"8620be693a7520e77d4d71f8e065b0c2cc943f7c","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-4.5.0.tgz","fileCount":637,"integrity":"sha512-2NIOdhCLRCzBs71bPgIiBS9Li52Z5jxtbVh4trSfvie08Cmuvg3H6Ktde90uPAUOnMqEHrgNN8Q87DTWBgGQkQ==","signatures":[{"sig":"MEUCIQCUc12Whd5EKxYJhcswYeFLruxhvrkKvjDpXy+GQY822gIgMdSoyzqJc3Uym0v/j63+CgIA2KOrrozs6iFTB/pih+Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIB8JPX7WDHQ7v1DfJyPh/vGyd0iSEZW2T2FT/LOWY9TgAiAOk4rK/AmdERiPWAzbB/783U2bAK4j5/JC1xMLUt3K4g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/docspring-ts@4.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2674393},"main":"./dist/index.js","type":"commonjs","_from":"file:docspring-ts-4.5.0.tgz","browser":{"crypto":false},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"a9883ac7-4025-4705-aa81-4012478792ac"}},"_resolved":"/home/runner/work/docspring-typescript/docspring-typescript/docspring-ts-4.5.0.tgz","_integrity":"sha512-2NIOdhCLRCzBs71bPgIiBS9Li52Z5jxtbVh4trSfvie08Cmuvg3H6Ktde90uPAUOnMqEHrgNN8Q87DTWBgGQkQ==","repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"11.21.1","description":"An API client for DocSpring: fill PDF forms, generate PDFs and Word documents, and collect e-signatures","directories":{},"_nodeVersion":"24.22.2","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_4.5.0_1794000705578_0.022696425606802406","host":"s3://npm-registry-packages-npm-production"}},"4.6.0":{"name":"docspring-ts","version":"4.6.0","keywords":["fetch","typescript","openapi-client","openapi-generator"],"author":{"name":"DocSpring"},"license":"MIT","_id":"docspring-ts@4.6.0","maintainers":[{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},{"name":"formapi","email":"engineering@docspring.com"}],"homepage":"https://github.com/DocSpring/docspring-typescript#readme","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"0a2e620b18edb432868463f7bb123ab4160dc85c","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-4.6.0.tgz","fileCount":432,"integrity":"sha512-B4ubAsoisaaAtG+b+X7YSwgv/JVkLgwFhdu0clNJPjiLmO71WFqxhjeYGV1CnJn/isGXjy5oEUHQrV6qm/SQRQ==","signatures":[{"sig":"MEYCIQDfdh5zcFh+3stJJdBk3y02vctixszdVADk8JRWzsASPgIhAMC7w5frt1SQAc5JTHKrTCuKa00EMJS/cK54Bz1vEt9F","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDHfaIBnVAV2fGr/a9ZReZoMCGLZL/QzsEdN4TenDpd2QIhAMBbQo8Xr7RQ2l1ySaeAL5ySXB4q/oPAn/sxXpVb88Qb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/docspring-ts@4.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1876941},"main":"./dist/index.js","type":"commonjs","_from":"file:docspring-ts-4.6.0.tgz","browser":{"crypto":false},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"a9883ac7-4025-4705-aa81-4012478792ac"}},"_resolved":"/home/runner/work/docspring-typescript/docspring-typescript/docspring-ts-4.6.0.tgz","_integrity":"sha512-B4ubAsoisaaAtG+b+X7YSwgv/JVkLgwFhdu0clNJPjiLmO71WFqxhjeYGV1CnJn/isGXjy5oEUHQrV6qm/SQRQ==","repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"11.21.1","description":"An API client for DocSpring: fill PDF forms, generate PDFs and Word documents, and collect e-signatures","directories":{},"_nodeVersion":"24.22.2","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/docspring-ts_4.6.0_1794863548148_0.07595984208501294","host":"s3://npm-registry-packages-npm-production"}},"4.7.0":{"_id":"docspring-ts@4.7.0","bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"dist":{"shasum":"92b31e8d1f09e20ff792e78af7be4d39403000ec","tarball":"https://registry.npmjs.org/docspring-ts/-/docspring-ts-4.7.0.tgz","fileCount":484,"integrity":"sha512-4OyiR6DNr0MUdxp6OUrh3dgR8vVnGmHCtn+63z1yT3y6gfEbmSe5sYUg8yrnibyuw/uwC6aRjnNlZr52FCkpIQ==","signatures":[{"sig":"MEQCIDufTbjkbAX60MHn3n+E+Bd3d4SY7tiUKgqr1rJti7tgAiBMUokPm0xL9Vpi5VHTG1Yn518104/CFQbYfnL6R+qUOw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFgY3vCylqfcwiCSXrcJoMTwQ9lDfbTD8+c0aj4Wput8AiEA1R8TV1m8+kcDJLZV47IVYz8VHSSGUdCvB0i5wleAYkI="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/docspring-ts@4.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2024077},"main":"./dist/index.js","name":"docspring-ts","type":"commonjs","_from":"file:docspring-ts-4.7.0.tgz","author":{"name":"DocSpring"},"browser":{"crypto":false},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"license":"MIT","scripts":{"build":"tsc","prepare":"npm run build"},"typings":"./dist/index.d.ts","version":"4.7.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"a9883ac7-4025-4705-aa81-4012478792ac"}},"homepage":"https://github.com/DocSpring/docspring-typescript#readme","keywords":["fetch","typescript","openapi-client","openapi-generator"],"_resolved":"/home/runner/work/docspring-typescript/docspring-typescript/docspring-ts-4.7.0.tgz","_integrity":"sha512-4OyiR6DNr0MUdxp6OUrh3dgR8vVnGmHCtn+63z1yT3y6gfEbmSe5sYUg8yrnibyuw/uwC6aRjnNlZr52FCkpIQ==","repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"_npmVersion":"11.21.1","description":"An API client for DocSpring: fill PDF forms, generate PDFs and Word documents, and collect e-signatures","directories":{},"maintainers":[{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},{"name":"formapi","email":"engineering@docspring.com"}],"_nodeVersion":"24.22.2","dependencies":{"es6-promise":"^4.2.4","whatwg-fetch":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/docspring-ts_4.7.0_1794986490523_0.5913971369705259"}}},"time":{"created":"2023-08-30T04:08:14.593Z","modified":"2026-11-18T07:21:30.935Z","1.0.0":"2023-08-30T04:08:14.958Z","1.0.1":"2023-08-30T06:09:35.887Z","1.0.2":"2023-09-27T08:09:07.973Z","2.0.0":"2025-02-26T08:34:11.895Z","2.1.0":"2025-03-22T10:19:32.703Z","3.0.0":"2025-09-24T00:59:54.492Z","3.1.0":"2026-10-15T00:03:16.341Z","3.2.0":"2026-10-18T04:27:17.348Z","3.3.0":"2026-10-18T21:16:09.624Z","4.0.0":"2026-10-26T01:14:07.372Z","4.1.0":"2026-10-26T23:35:45.958Z","4.2.0":"2026-10-28T20:23:23.186Z","4.3.0":"2026-10-31T00:38:33.554Z","4.4.0":"2026-11-01T10:12:43.330Z","4.5.0":"2026-11-06T21:31:45.719Z","4.6.0":"2026-11-16T21:12:28.269Z","4.7.0":"2026-11-18T07:21:30.620Z"},"bugs":{"url":"https://github.com/DocSpring/docspring-typescript/issues"},"author":{"name":"DocSpring"},"license":"MIT","homepage":"https://github.com/DocSpring/docspring-typescript#readme","keywords":["fetch","typescript","openapi-client","openapi-generator"],"repository":{"url":"git+https://github.com/DocSpring/docspring-typescript.git","type":"git"},"description":"An API client for DocSpring: fill PDF forms, generate PDFs and Word documents, and collect e-signatures","maintainers":[{"name":"ndbroadbent","email":"nathan.f77@gmail.com"},{"name":"formapi","email":"engineering@docspring.com"}],"readme":"# DocSpring TypeScript SDK\n\nThe official TypeScript client for the [DocSpring API](https://docspring.com/docs/api/). DocSpring fills PDF\nforms with your data, generates PDFs and Word documents from HTML and Word templates, combines PDFs and collects\ne-signatures.\n\n[Documentation](https://docspring.com/docs/) · [API reference](https://docspring.com/docs/api/) ·\n[npm](https://www.npmjs.com/package/docspring-ts) · [Changelog](https://github.com/DocSpring/docspring-typescript/blob/main/CHANGELOG.md)\n\nThe code in this repository is generated from DocSpring's OpenAPI spec ([About this SDK](#about-this-sdk)). Issues and\npull requests are welcome.\n\nOutside TypeScript code, the [DocSpring CLI](https://docspring.com/docs/cli/) calls the same API from a terminal or a\nshell script, and the [MCP server](https://docspring.com/docs/mcp/) connects AI assistants to your account.\n\nVersion 4.7.0. \n\n## Install and configure\n\nAdd docspring-ts to your package.json:\n\n```bash\nnpm install docspring-ts --save\n```\n\nOr with Yarn:\n\n```bash\nyarn add docspring-ts\n```\n\nConfigure authentication via environment variables:\n\n```bash\nexport DOCSPRING_TOKEN_ID=\"API_TOKEN_ID\"\nexport DOCSPRING_TOKEN_SECRET=\"API_TOKEN_SECRET\"\n```\n\nYou can also configure the region or host. The host takes priority over the region:\n\n```bash\nexport DOCSPRING_REGION=\"US\" # US or EU (defaults to US)\nexport DOCSPRING_HOST=\"docspring.yourcompany.com\" # For on-premise deployments\n```\n\nInitialize the DocSpring client with no arguments:\n\n```ts\nimport * as DocSpring from \"docspring-ts\";\nconst apiInstance = new DocSpring.Client();\n```\n\nOr provide credentials (and optionally a region or host) directly. A host (including `DOCSPRING_HOST`) is used before\na region:\n\n```ts\nimport * as DocSpring from \"docspring-ts\";\nconst apiInstance = new DocSpring.Client({\n  apiTokenId: \"API_TOKEN_ID\",\n  apiTokenSecret: \"API_TOKEN_SECRET\",\n  region: \"EU\",\n});\n```\n\n## Generate a PDF\n\nFill a template with data (use your template's ID in place of `tpl_1234567890abcdef01`):\n\n```ts\nconst templateId = 'tpl_1234567890abcdef01'\nconst body: DocSpring.CreateSubmissionRequest = {\n  data: {\n    first_name: 'John',\n    last_name: 'Smith',\n    phone_number: '+11234567890',\n  },\n  metadata: { user_id: 42 },\n  test: true,\n}\n\nconst result = await apiInstance.createSubmission(templateId, body)\n\nconsole.log(result)\n```\n\nBy default the call waits for the PDF, for up to 95 seconds, and the submission in the response has a link to\ndownload it (`files.pdf.download_url`). Set `wait` to false to get a pending submission straight away.\n[Sync vs. async processing](https://docspring.com/docs/api-guide/synchronous-requests/) covers the time limit, status\nchecks and webhooks.\n\n## Methods\n\n[docs/Client.md](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md) has each method's parameters and return type, and\n[models/](https://github.com/DocSpring/docspring-typescript/tree/main/models) has the models. The [API reference](https://docspring.com/docs/api/) has\nTypeScript code for every method.\n\n| Method | Description |\n| ------ | ----------- |\n| [`addTemplateFields`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#addtemplatefields) | Add fields to a template |\n| [`askSupportHelp`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#asksupporthelp) | Ask for help |\n| [`copyTemplate`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#copytemplate) | Copy a template |\n| [`createAccountEmailAction`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createaccountemailaction) | Create an account email action |\n| [`createCombinedPdf`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createcombinedpdf) | Combine PDFs |\n| [`createCustomFileFromUpload`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createcustomfilefromupload) | Create a custom file from an upload |\n| [`createEmailAction`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createemailaction) | Create an email action |\n| [`createEmailDomain`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createemaildomain) | Add an email domain |\n| [`createFolder`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createfolder) | Create a folder |\n| [`createSignatureRequestEvent`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createsignaturerequestevent) | Record a signature request event |\n| [`createSignatureRequestToken`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createsignaturerequesttoken) | Create a signature request token |\n| [`createSubmission`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createsubmission) | Generate a PDF |\n| [`createSubmissionBatch`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createsubmissionbatch) | Generate PDFs in a batch |\n| [`createTemplate`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createtemplate) | Create a template |\n| [`createTemplatePreview`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createtemplatepreview) | Preview a template with data |\n| [`createWebhook`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#createwebhook) | Create a webhook |\n| [`deleteAccountEmailAction`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#deleteaccountemailaction) | Delete an account email action |\n| [`deleteCustomFile`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#deletecustomfile) | Delete a custom file |\n| [`deleteEmailAction`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#deleteemailaction) | Delete an email action |\n| [`deleteEmailActionCustomization`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#deleteemailactioncustomization) | Reset an account email action's customization |\n| [`deleteEmailDomain`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#deleteemaildomain) | Remove an email domain |\n| [`deleteFolder`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#deletefolder) | Delete a folder |\n| [`deleteTemplate`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#deletetemplate) | Delete a template |\n| [`deleteWebhook`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#deletewebhook) | Delete a webhook |\n| [`expireCombinedPdf`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#expirecombinedpdf) | Expire a combined PDF |\n| [`expireSubmission`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#expiresubmission) | Expire a submission |\n| [`generateSubmissionFiles`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#generatesubmissionfiles) | Generate more files |\n| [`generateSubmissionPreview`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#generatesubmissionpreview) | Generate a preview PDF |\n| [`getAccountEmailAction`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getaccountemailaction) | Get an account email action |\n| [`getCombinedPdf`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getcombinedpdf) | Get a combined PDF |\n| [`getCustomFile`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getcustomfile) | Get a custom file |\n| [`getEmailAction`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getemailaction) | Get an email action |\n| [`getEmailDomain`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getemaildomain) | Get an email domain |\n| [`getFolder`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getfolder) | Get a folder |\n| [`getPresignUrl`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getpresignurl) | Get a presigned URL to upload a file |\n| [`getSignatureRequest`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getsignaturerequest) | Get a signature request |\n| [`getSubmission`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getsubmission) | Get a submission |\n| [`getSubmissionBatch`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getsubmissionbatch) | Get a batch |\n| [`getSupportHelp`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getsupporthelp) | Get a help request |\n| [`getSupportTicket`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getsupportticket) | Get a support ticket |\n| [`getTemplate`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#gettemplate) | Get a template |\n| [`getTemplateDiff`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#gettemplatediff) | Compare a version of a template with the one before it |\n| [`getTemplateModelCode`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#gettemplatemodelcode) | Generate typed code for a template's submission data |\n| [`getTemplatePageImages`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#gettemplatepageimages) | Get images of a template's pages |\n| [`getTemplatePreview`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#gettemplatepreview) | Get a template preview |\n| [`getTemplateSchema`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#gettemplateschema) | Get the JSON Schema of a template's submission data |\n| [`getWebhook`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#getwebhook) | Get a webhook |\n| [`listAccountEmailActions`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#listaccountemailactions) | List account email actions |\n| [`listCombinedPdfs`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#listcombinedpdfs) | List combined PDFs |\n| [`listCustomFiles`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#listcustomfiles) | List custom files |\n| [`listEmailActions`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#listemailactions) | List email actions |\n| [`listEmailDomains`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#listemaildomains) | List email domains |\n| [`listFolders`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#listfolders) | List folders |\n| [`listSubmissions`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#listsubmissions) | List submissions |\n| [`listSupportTickets`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#listsupporttickets) | List support tickets |\n| [`listTemplateFields`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#listtemplatefields) | List a template's fields |\n| [`listTemplates`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#listtemplates) | List templates |\n| [`listTemplateSubmissions`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#listtemplatesubmissions) | List a template's submissions |\n| [`listWebhooks`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#listwebhooks) | List webhooks |\n| [`moveFolder`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#movefolder) | Move a folder |\n| [`moveTemplate`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#movetemplate) | Move a template to a folder |\n| [`openSupportTicket`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#opensupportticket) | Open a support ticket |\n| [`publishTemplateVersion`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#publishtemplateversion) | Publish a template version |\n| [`removeTemplateFields`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#removetemplatefields) | Remove fields from a template |\n| [`renameFolder`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#renamefolder) | Rename a folder |\n| [`reorderTemplateFields`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#reordertemplatefields) | Reorder a template's fields |\n| [`replyToSupportTicket`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#replytosupportticket) | Reply to a support ticket |\n| [`restoreTemplateVersion`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#restoretemplateversion) | Restore a template version |\n| [`sendAccountEmailActionTestEmail`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#sendaccountemailactiontestemail) | Send a test email for an account email action |\n| [`sendEmailActionTestEmail`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#sendemailactiontestemail) | Send a test email |\n| [`sendSupportFeedback`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#sendsupportfeedback) | Send feedback |\n| [`testAuthentication`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#testauthentication) | Test authentication |\n| [`updateAccountEmailAction`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#updateaccountemailaction) | Update an account email action |\n| [`updateEmailAction`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#updateemailaction) | Update an email action |\n| [`updateEmailActionCustomization`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#updateemailactioncustomization) | Customize an account email action for a template |\n| [`updateSignatureRequest`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#updatesignaturerequest) | Update a signature request |\n| [`updateTemplate`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#updatetemplate) | Update a template |\n| [`updateTemplateDocument`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#updatetemplatedocument) | Replace a template's document |\n| [`updateTemplateFields`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#updatetemplatefields) | Update a template's fields |\n| [`updateWebhook`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#updatewebhook) | Update a webhook |\n| [`uploadTemplate`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#uploadtemplate) | Create a template from an uploaded PDF or Word document |\n| [`uploadTemplateDocument`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#uploadtemplatedocument) | Replace a template's document with an uploaded file |\n| [`validateSubmission`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#validatesubmission) | Check a submission without creating it |\n| [`verifyEmailDomain`](https://github.com/DocSpring/docspring-typescript/blob/main/docs/Client.md#verifyemaildomain) | Verify an email domain |\n\n## Errors\n\nMethods return a promise that rejects with `DocSpring.ApiException` for an error response, with the HTTP status in `code` and the parsed body in `body`.\n\nThe client checks each request against the API's request schemas before sending it. A request the API would reject fails with a `ValidationError` (exported by the package), whose `details` are objects with `code`, `message` and a `pointer` into the body (or a `parameter`). Turn the check off with the client option `validateRequests: false`.\nThe details are the ones the API's 422 response would have, so you get them without a round trip.\n\n## API changes\n\nDocSpring adds fields and enum values to API v2 without releasing a new API version. Changes that would break\nexisting code, such as removing or renaming a field, go in a new API version\n([API changes](https://docspring.com/docs/api-guide/openapi-schema/#api-changes)). So this SDK keeps working with\nresponses that are newer than it is:\n\n- The model leaves out a response field added to the API after this release.\n- An enum value added to the API after this release comes back as the API sent it: handle values you don't recognize.\n\nUpgrade the SDK to read new fields and enum values. The [changelog](https://github.com/DocSpring/docspring-typescript/blob/main/CHANGELOG.md) lists\nwhat each release adds.\n\n## About this SDK\n\nThis SDK is generated from DocSpring's [OpenAPI spec](https://docspring.com/api-docs/v2/openapi.json) with\n[DocSpring's fork of OpenAPI Generator](https://github.com/DocSpring/openapi-generator/tree/docspring/all_patches) 7.26.0.\nThe fork changes the TypeScript generator:\n\n- Enum types are const objects with a union type of their values, and a response property is `SubmissionState | (string & {})`, so an enum value added to the API after this release type-checks.\n- `nameMappings` apply to property names, so the JSON schema model's `$id` becomes `schema_id` instead of clashing with `id`.\n\nOn top of the generated code, we add:\n\n- A client constructor that reads your credentials, region and host from the environment.\n- `instanceof ApiException` and `instanceof RequiredError` are true for the errors the client throws. Stock OpenAPI Generator's classes lose their prototype when compiled to ES5, so both were false.\n- `verifyWebhookSignature(payload, signatureHeader, secret)` checks a webhook request's `X-DocSpring-Signature` header, with a `{ tolerance, now }` options object.\n\nEach release regenerates every file, so a change made only here would be lost in the next one. Issues and pull\nrequests are welcome all the same: [open an issue](https://github.com/DocSpring/docspring-typescript/issues) or a pull request, or email\n[support@docspring.com](mailto:support@docspring.com), and we'll make the fix in the generator so that every release\nkeeps it. [AGENTS.md](https://github.com/DocSpring/docspring-typescript/blob/main/AGENTS.md) is a guide for AI coding agents that integrate this SDK.\n\n## License\n\nMIT. See [LICENSE](https://github.com/DocSpring/docspring-typescript/blob/main/LICENSE).\n","readmeFilename":"README.md"}