{"_id":"@team-plain/graphql","_rev":"21-254c5c7393fdbca6a26340f7fd07fe8b","name":"@team-plain/graphql","dist-tags":{"latest":"3.2.0"},"versions":{"1.0.0":{"name":"@team-plain/graphql","version":"1.0.0","_id":"@team-plain/graphql@1.0.0","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"stephengiles","email":"stephen.giles@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"andrew_blaney","email":"andrewblaney6@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"dist":{"shasum":"13438e9f9ce83b3b2db03f5406127c13386895f8","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-1.0.0.tgz","fileCount":34,"integrity":"sha512-PqTFBnmx1CtHZfUHC17sGeb+Qr0upN8Oh2A3rwMTXlp9GdGJ2fHvjwRkabWDph/1t3ogJtV7wO9C1IZMrSw9CQ==","signatures":[{"sig":"MEQCIHchZDar/yHQuYOGldXfWNkbCuedX4HahPl6EgBNpR6RAiAG6FwiP4LISWzH7J88t2rxWAko4xdR4/crSoQUruWGVQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22699422},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","prepublishOnly":"npm run build","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_npmVersion":"11.11.0","description":"A typed TypeScript SDK for [Plain's](https://plain.com) GraphQL API, auto-generated from the schema using a custom codegen pipeline.","directories":{},"_nodeVersion":"25.8.1","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"workspace:*","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_1.0.0_1774766111219_0.7500421491296541","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@team-plain/graphql","version":"1.0.1","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@1.0.1","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"stephengiles","email":"stephen.giles@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"andrew_blaney","email":"andrewblaney6@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"a2c0da8b26408d0bc06a7bae09fbeac97664b4da","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-1.0.1.tgz","fileCount":52,"integrity":"sha512-irl4xeVRZE1qdAORSvTdCpS/KOEsZZmY0wG9foMwwjQowwRlvWbHoRG3lV03AvDurgtvp+JgRea31QF1f0B+WA==","signatures":[{"sig":"MEUCIQDHn9mYD2KrxigYeImb1OgtENkXcNguMY3hBYE2T46/gQIgCaO/uI50Iwj+2W60lUO+LY8bMm0NUI1DuN3bmyFNiRg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46039594},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-1.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}}},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/67f5338afb039908a61b15c9b4ebb037/team-plain-graphql-1.0.1.tgz","_integrity":"sha512-irl4xeVRZE1qdAORSvTdCpS/KOEsZZmY0wG9foMwwjQowwRlvWbHoRG3lV03AvDurgtvp+JgRea31QF1f0B+WA==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.11.1","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"25.8.2","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_1.0.1_1774870947089_0.02637303768965471","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@team-plain/graphql","version":"1.1.0","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@1.1.0","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"stephengiles","email":"stephen.giles@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"andrew_blaney","email":"andrewblaney6@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"c04be9387b9c056256a6b1415be7aeb680d1ec33","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-1.1.0.tgz","fileCount":52,"integrity":"sha512-jiyyVBMdantAaxJ1rlNxvOpv3LTC6O2xa5QIofj/uR8lyHAPRtAnP68wsbvI40X37sW/Q9WFP45FOs/ZD3Cxfw==","signatures":[{"sig":"MEQCIEuG+KUMmXzTgXQmUZoOm1hpjTPynMwILppFDM/w6aX/AiA7FPlNwL7T5oTgR4F68tQmFg/J3dKSS3XN9WomT/N0Xw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46635713},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}}},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/86a9c34e2af9cd3bc9e012c0bb9e0fd3/team-plain-graphql-1.1.0.tgz","_integrity":"sha512-jiyyVBMdantAaxJ1rlNxvOpv3LTC6O2xa5QIofj/uR8lyHAPRtAnP68wsbvI40X37sW/Q9WFP45FOs/ZD3Cxfw==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.11.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.14.1","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_1.1.0_1777411102433_0.8156145941611879","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@team-plain/graphql","version":"1.2.0","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@1.2.0","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"stephengiles","email":"stephen.giles@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"andrew_blaney","email":"andrewblaney6@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mspq_plain","email":"meril.pilon@plain.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"c97a4b3221b9209735bbcfc5fc98bb8c997d9cee","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-1.2.0.tgz","fileCount":52,"integrity":"sha512-F4DenXcoNh/+/yT1iJJf1tO5tMLw1oN2GzupaMXA0UjIPFpIhya00pI0ZECKd84dJozaiczFgRiZfI347O3Z1w==","signatures":[{"sig":"MEYCIQCtCCgw85MTS7uIBH4BVUqLxHZ7irl3a5g9fObG6dZqWwIhAIpgJzeE+0UPr8I5E/HaDYcryr2PYmDH9esbFyzJOEF/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47932816},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-1.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}}},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/0f2ed6cf4c7d510840ec5ba4921c21c7/team-plain-graphql-1.2.0.tgz","_integrity":"sha512-F4DenXcoNh/+/yT1iJJf1tO5tMLw1oN2GzupaMXA0UjIPFpIhya00pI0ZECKd84dJozaiczFgRiZfI347O3Z1w==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.11.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.14.1","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_1.2.0_1778514297159_0.322517136648804","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@team-plain/graphql","version":"1.2.1","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@1.2.1","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mspq_plain","email":"meril.pilon@plain.com"},{"name":"rosieollerenshaw","email":"rosie.ollerenshaw@plain.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"721b1216863ad931f8792359f41ef1debc332faa","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-1.2.1.tgz","fileCount":52,"integrity":"sha512-1UMKbAS6D8U+NgX6AuWuIcvj2FnmA6ZQ82hr50cCoNWqkLKKHbXPVWFl1zgk2S6t1kDM6+Iya01D+F5yCImVxQ==","signatures":[{"sig":"MEYCIQDtwQFTT9bSg86uUDZeKUS+uKhr+fIc/vxSBq7/dphRQwIhAKlI9ygvnA0isHqdNMGbU+EiyNjEWO9HcQ0zmkZ5ciVK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57491992},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-1.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}}},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/9fec745390ffd30a9aeb6884ad9b8ce1/team-plain-graphql-1.2.1.tgz","_integrity":"sha512-1UMKbAS6D8U+NgX6AuWuIcvj2FnmA6ZQ82hr50cCoNWqkLKKHbXPVWFl1zgk2S6t1kDM6+Iya01D+F5yCImVxQ==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.13.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.17.0","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_1.2.1_1782898134906_0.04787496635218802","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@team-plain/graphql","version":"1.3.0","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@1.3.0","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mspq_plain","email":"meril.pilon@plain.com"},{"name":"rosieollerenshaw","email":"rosie.ollerenshaw@plain.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"a7840ad5d3e6eac82f4bd0ca3d442ddc9aca6fde","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-1.3.0.tgz","fileCount":52,"integrity":"sha512-e+AZ9sIn4uliAyg7efcX6F0L4qOuwqL+6a+f5qe7Bfp7yXB5DU3vwECxHWN9YCD30MXnJ3oeS8Co1T5C5r0DUQ==","signatures":[{"sig":"MEUCIQCeBVyS47Qxu7DV5seCCZTOLGwo3M23Cv8UyrfOE3z8QAIgPfrauBOOa/RuiYfhJqjyv1PCDzwUnUaxL4WurAueKT8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58502319},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-1.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}}},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/8f19c1eb4fbb23878c15a8ec91cc0a6e/team-plain-graphql-1.3.0.tgz","_integrity":"sha512-e+AZ9sIn4uliAyg7efcX6F0L4qOuwqL+6a+f5qe7Bfp7yXB5DU3vwECxHWN9YCD30MXnJ3oeS8Co1T5C5r0DUQ==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.16.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_1.3.0_1784209318063_0.9224647098607521","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@team-plain/graphql","version":"1.4.0","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@1.4.0","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mspq_plain","email":"meril.pilon@plain.com"},{"name":"seyounglee_plain","email":"seyoung.lee@plain.com"},{"name":"rosieollerenshaw","email":"rosie.ollerenshaw@plain.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"ec6156b9e79077cdaf88a7c00968795079bcbeee","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-1.4.0.tgz","fileCount":52,"integrity":"sha512-s2BoCEke5jLaOfmfq78McL8dreKsCjH73WfWutJhKuVTaH/CwfGdIvvHl/xH0fmZXHUlW98eMjjobnLRq+MfFg==","signatures":[{"sig":"MEUCIQCumJ2C55aWqk1O9xKZOyOX7faWPm/LGGzynp5H6pw2hAIgJSoC7FAFlIbUcrigPkfyRX+0hAVXELNnlhcnIUFGIDM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62534724},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-1.4.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}}},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/23b930cab25ba28c35d3878477830f5b/team-plain-graphql-1.4.0.tgz","_integrity":"sha512-s2BoCEke5jLaOfmfq78McL8dreKsCjH73WfWutJhKuVTaH/CwfGdIvvHl/xH0fmZXHUlW98eMjjobnLRq+MfFg==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.17.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.19.0","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_1.4.0_1787314155416_0.7280818013680468","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@team-plain/graphql","version":"1.5.0","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@1.5.0","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mspq_plain","email":"meril.pilon@plain.com"},{"name":"seyounglee_plain","email":"seyoung.lee@plain.com"},{"name":"rosieollerenshaw","email":"rosie.ollerenshaw@plain.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"f36434c5937735aff34882601a2a1b1d67a1b8d9","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-1.5.0.tgz","fileCount":52,"integrity":"sha512-4+xxwNwGZOMYfL497Dou9Lgnzx2ycez3KFlN4WtEXZkhaqiI2iLZ45SEQnO/BdpgDUabZQjQ2W7kg/IXNKSeKQ==","signatures":[{"sig":"MEQCIBbdaqkdTn0zt5vmN64f7Q0Sljg6wfcIx1xiC+KtpoB6AiAcGmS7vjlG/yDGfAXrsRbH3f0D4BSPAJ53z9RIHzJEAA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63434552},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-1.5.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}}},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"pmihaylov-plain","email":"preslav@plain.com"},"_resolved":"/tmp/26b2b4acbb42670be1d04f50cb0e402a/team-plain-graphql-1.5.0.tgz","_integrity":"sha512-4+xxwNwGZOMYfL497Dou9Lgnzx2ycez3KFlN4WtEXZkhaqiI2iLZ45SEQnO/BdpgDUabZQjQ2W7kg/IXNKSeKQ==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.19.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.20.0","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_1.5.0_1788533342862_0.887484753293466","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@team-plain/graphql","version":"1.6.0","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@1.6.0","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mspq_plain","email":"meril.pilon@plain.com"},{"name":"seyounglee_plain","email":"seyoung.lee@plain.com"},{"name":"rosieollerenshaw","email":"rosie.ollerenshaw@plain.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"d0017174e8907fead01fa836be8b417223966da7","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-1.6.0.tgz","fileCount":52,"integrity":"sha512-KPbjRBiyPi3T3uJME4xAZfj7fR51iBvuwW18cqHjH1cKcmlctyvYQl6Nk4UNg6RjcL7HYwRnuwJGDnGcs/G69g==","signatures":[{"sig":"MEQCIEpznRxHuGGsVHfgI7Vo43DpLs/OJLvZtKtP3Q9JBOLnAiBh4wIaWHo+O4w4QfZojNYxwhSZgmnHR9ikQpw4mwR+Vg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63510595},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-1.6.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}}},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/48e7de8dd5e1bd1ef350be8fdbcf6cf4/team-plain-graphql-1.6.0.tgz","_integrity":"sha512-KPbjRBiyPi3T3uJME4xAZfj7fR51iBvuwW18cqHjH1cKcmlctyvYQl6Nk4UNg6RjcL7HYwRnuwJGDnGcs/G69g==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.19.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.20.0","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_1.6.0_1788607983952_0.9289730951452939","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"@team-plain/graphql","version":"1.7.0","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@1.7.0","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mspq_plain","email":"meril.pilon@plain.com"},{"name":"seyounglee_plain","email":"seyoung.lee@plain.com"},{"name":"rosieollerenshaw","email":"rosie.ollerenshaw@plain.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"414755107ea62e9da542c156523fe8e2d5b0822c","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-1.7.0.tgz","fileCount":52,"integrity":"sha512-r158EJZYcEdrzJnS7MOT0lDAw8MjTQb8dOMAfuEUzmKhpFxWec0BfGsq0+RTh5q+3hnlA+KDF+uet/CxFGrIFA==","signatures":[{"sig":"MEUCIGU5GNaoyWzBxOargHEtnEeFq1rHACbUalxW6l5P6v2vAiEAiyTxoENVcLVgAOiZvlNMu8I0nT0uRaAdoRdNzmns+0w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63638185},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-1.7.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}}},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/5b2cb650f00f60c20f1827c38761a58e/team-plain-graphql-1.7.0.tgz","_integrity":"sha512-r158EJZYcEdrzJnS7MOT0lDAw8MjTQb8dOMAfuEUzmKhpFxWec0BfGsq0+RTh5q+3hnlA+KDF+uet/CxFGrIFA==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.19.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.20.0","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_1.7.0_1788628810016_0.17103638183176595","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@team-plain/graphql","version":"2.0.0","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@2.0.0","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mspq_plain","email":"meril.pilon@plain.com"},{"name":"seyounglee_plain","email":"seyoung.lee@plain.com"},{"name":"rosieollerenshaw","email":"rosie.ollerenshaw@plain.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"67a2382254255f4702df25f5ef544bc612575159","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-2.0.0.tgz","fileCount":52,"integrity":"sha512-xt9fQQJp2XnnL/c7yM65JH2XRFOVSHvKrxTMUjoy0ebSXrzhKveNQySPhVKkPk0AwWtJ/1E7ulHkyyfWzqJwRQ==","signatures":[{"sig":"MEUCIQDFSqP6C2+0dX//mvVM7Mu6s7n8UW9F/rpf4RLn8ESJEAIgN5C5VjnQAW3ytVhSHq1P2NZTLBGAsRRdg0i7M7CTYTs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63638572},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-2.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}}},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/37e0fb473a3072f46e7a63eab18b05ae/team-plain-graphql-2.0.0.tgz","_integrity":"sha512-xt9fQQJp2XnnL/c7yM65JH2XRFOVSHvKrxTMUjoy0ebSXrzhKveNQySPhVKkPk0AwWtJ/1E7ulHkyyfWzqJwRQ==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.19.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.20.0","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_2.0.0_1788674153785_0.6599894956649011","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@team-plain/graphql","version":"3.0.0","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@3.0.0","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mspq_plain","email":"meril.pilon@plain.com"},{"name":"seyounglee_plain","email":"seyoung.lee@plain.com"},{"name":"rosieollerenshaw","email":"rosie.ollerenshaw@plain.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"80548273994a7050293349f5f3229cae8d61abb5","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-3.0.0.tgz","fileCount":52,"integrity":"sha512-d5ZjtDmnn60vNBCforc78a6SIYhKyoMP1aedDBLmFBAUY74nP0tR7QlBcTbFM6abfK+3byWo2Apqdga7QAUgVg==","signatures":[{"sig":"MEYCIQD4vPK7xc/GK6yNU0BsUZtFDUK85R+pCivovw7aieEwLQIhAOstIMbkyMDze72N70Jd4wbXbrF65QQxR83TaqkyEker","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63633407},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-3.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}}},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/dfb9569c065aa5301c2289a1af9c0237/team-plain-graphql-3.0.0.tgz","_integrity":"sha512-d5ZjtDmnn60vNBCforc78a6SIYhKyoMP1aedDBLmFBAUY74nP0tR7QlBcTbFM6abfK+3byWo2Apqdga7QAUgVg==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.19.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.20.0","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_3.0.0_1788683946665_0.30454759829078326","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@team-plain/graphql","version":"3.1.0","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@3.1.0","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mspq_plain","email":"meril.pilon@plain.com"},{"name":"seyounglee_plain","email":"seyoung.lee@plain.com"},{"name":"rosieollerenshaw","email":"rosie.ollerenshaw@plain.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"4d4998e9de2850648c924ad89fc206fe2944373f","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-3.1.0.tgz","fileCount":52,"integrity":"sha512-Co0CA53T6CzO/KUKWPfiR+NgeNCk2HTVSnQGOSlb5QAHLQ3tHYXOjc3Pu2GaVMGVoeUbV56K260nd05wNEAlBg==","signatures":[{"sig":"MEQCIHeaw6e6WCMUOxZ6+p4KI/IKmIOCRieodoGZgSeZDZrFAiBfSenQbhgk960pCsU+xY4Aw49ws6TlAWD8sDURxcYUrw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63632736},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-3.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}}},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/1caca7cf3a2a6127d5a07057a7208878/team-plain-graphql-3.1.0.tgz","_integrity":"sha512-Co0CA53T6CzO/KUKWPfiR+NgeNCk2HTVSnQGOSlb5QAHLQ3tHYXOjc3Pu2GaVMGVoeUbV56K260nd05wNEAlBg==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.19.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.20.0","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_3.1.0_1788764923823_0.5795053726774624","host":"s3://npm-registry-packages-npm-production"}},"3.1.1":{"name":"@team-plain/graphql","version":"3.1.1","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@3.1.1","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mspq_plain","email":"meril.pilon@plain.com"},{"name":"seyounglee_plain","email":"seyoung.lee@plain.com"},{"name":"rosieollerenshaw","email":"rosie.ollerenshaw@plain.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"735701c368e3bcc8236d31752077b24772e993a8","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-3.1.1.tgz","fileCount":52,"integrity":"sha512-LpaA9HxVrHBYbWJ5AQ0CkAgh7Ro2EaYYy99axO0gpKP2Av8Q7rypahjS31vRQRnmrNfNqb6PGLiz9/4lgu+6bw==","signatures":[{"sig":"MEQCIHYH/7RYpFs63RoSQbfQfxEgjpIXdl/j/Sg5HLE40i//AiB5N5pw9n3BqtB7XjUi+QptjTmJKxlTAz/RR/gKXpxCyw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD/E8bLFlk4xVQuJpmBin+nh8t1Sx7obkt88xPOe87p3wIgFZ9l4dkrTff/K8PEw2cun+W+wy/SOC3xoY0AXdqhGcY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":67939438},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-3.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/3a93f0ba442e148bd26c19d993a3ac5c/team-plain-graphql-3.1.1.tgz","_integrity":"sha512-LpaA9HxVrHBYbWJ5AQ0CkAgh7Ro2EaYYy99axO0gpKP2Av8Q7rypahjS31vRQRnmrNfNqb6PGLiz9/4lgu+6bw==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.19.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.21.0","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_3.1.1_1790162208911_0.8455276278967387","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"@team-plain/graphql","version":"3.2.0","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","_id":"@team-plain/graphql@3.2.0","maintainers":[{"name":"emanuelatplain","email":"emanuel.danci@plain.com"},{"name":"jesushernandez","email":"jhdzmar@gmail.com"},{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},{"name":"jordrake","email":"jordan@jdrake.co.uk"},{"name":"fredninja","email":"freddie.hoy@plain.com"},{"name":"pmihaylov-plain","email":"preslav@plain.com"},{"name":"dleyland","email":"david@plain.com"},{"name":"thinhninja","email":"thinh.tran@plain.com"},{"name":"youmnasirgi","email":"youmnasirgi@gmail.com"},{"name":"juandll","email":"j.dominguezllata@gmail.com"},{"name":"jamesacs","email":"jamesamey2000@gmail.com"},{"name":"jacobdcutts13","email":"jacobdcutts@gmail.com"},{"name":"mspq_plain","email":"meril.pilon@plain.com"},{"name":"seyounglee_plain","email":"seyoung.lee@plain.com"},{"name":"rosieollerenshaw","email":"rosie.ollerenshaw@plain.com"},{"name":"mcmillan","email":"josh@joshmcmillan.co.uk"},{"name":"dimitrasz","email":"dimitra@plain.com"},{"name":"elisehein","email":"elisehein@gmail.com"},{"name":"revett","email":"charlierevett@gmail.com"},{"name":"ndom91","email":"yo@ndo.dev"},{"name":"ch2ch3","email":"ethel.ng@gmail.com"},{"name":"dustinako","email":"dustinako@gmail.com"}],"homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","bugs":{"url":"https://github.com/team-plain/sdk/issues"},"dist":{"shasum":"30ec3d8b69960ca3e1a1511edbbdc1c2138b618e","tarball":"https://registry.npmjs.org/@team-plain/graphql/-/graphql-3.2.0.tgz","fileCount":58,"integrity":"sha512-Yk+BHpqlOPdO3WEyte3gwG+IehSmbBULAaXaqBjrTJPztHjQehaRpBsdNcj9k3clkjF4kYJxeqN8HacnQvEo4g==","signatures":[{"sig":"MEYCIQDzLMgQkuY4wzMQqjhtap/mAZTppxAgL6mfeXsMs1afegIhAMWWi/k5r/Eg4/4a2iYBSlu+fRSpbvx+/geBNYBl8TrB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDMLyofynSmhcDm0Menx/Vb7TeaCLUGVdQHtbYYmD9YlgIhAKChw0/rQ8vQNJEhcCzWKDg/Z9QcYz4wZESj1k7rYDdk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68100650},"main":"./dist/cjs/index.js","type":"module","_from":"file:team-plain-graphql-3.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"tsc && tsup","codegen":"pnpm download-schema && tsx src/generate-documents.ts && graphql-codegen --config codegen.yml","download-schema":"tsx scripts/download-schema.ts","generate-documents":"tsx src/generate-documents.ts"},"_npmUser":{"name":"mattvagni","email":"mathiasvagni@googlemail.com"},"_resolved":"/tmp/31c345b09703a87e4528fad9dfc555f0/team-plain-graphql-3.2.0.tgz","_integrity":"sha512-Yk+BHpqlOPdO3WEyte3gwG+IehSmbBULAaXaqBjrTJPztHjQehaRpBsdNcj9k3clkjF4kYJxeqN8HacnQvEo4g==","repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.19.0","description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","directories":{},"_nodeVersion":"24.21.0","dependencies":{"graphql":"^16.9.0","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","typescript":"^5.7.0","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/typescript":"^4.1.2","@team-plain/graphql-codegen-plugin":"0.1.0","@graphql-codegen/typed-document-node":"^5.0.12","@graphql-codegen/typescript-operations":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_3.2.0_1790247659496_0.22101992469432075","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-03-29T06:35:11.117Z","modified":"2026-09-25T05:01:52.503Z","1.0.0":"2026-03-29T06:35:11.419Z","1.0.1":"2026-03-30T11:42:27.313Z","1.1.0":"2026-04-28T21:18:22.680Z","1.2.0":"2026-05-11T15:44:57.392Z","1.2.1":"2026-07-01T09:28:55.197Z","1.3.0":"2026-07-16T13:41:58.358Z","1.4.0":"2026-08-21T12:09:15.593Z","1.5.0":"2026-09-04T14:49:03.051Z","1.6.0":"2026-09-05T11:33:04.126Z","1.7.0":"2026-09-05T17:20:10.170Z","2.0.0":"2026-09-06T05:55:53.985Z","3.0.0":"2026-09-06T08:39:06.844Z","3.1.0":"2026-09-07T07:08:44.102Z","3.1.1":"2026-09-23T11:16:49.183Z","3.2.0":"2026-09-24T11:00:59.655Z"},"bugs":{"url":"https://github.com/team-plain/sdk/issues"},"author":{"url":"https://plain.com","name":"Plain","email":"hello@plain.com"},"license":"MIT","homepage":"https://github.com/team-plain/sdk/tree/main/packages/graphql#readme","keywords":["plain","graphql","sdk","typescript","api","customer-support"],"repository":{"url":"git+https://github.com/team-plain/sdk.git","type":"git","directory":"packages/graphql"},"description":"Typed TypeScript SDK for Plain's GraphQL API with auto-generated model classes","maintainers":[{"email":"emanuel.danci@plain.com","name":"emanuelatplain"},{"email":"jhdzmar@gmail.com","name":"jesushernandez"},{"email":"mathiasvagni@googlemail.com","name":"mattvagni"},{"email":"jordan@jdrake.co.uk","name":"jordrake"},{"email":"freddie.hoy@plain.com","name":"fredninja"},{"email":"preslav@plain.com","name":"pmihaylov-plain"},{"email":"david@plain.com","name":"dleyland"},{"email":"thinh.tran@plain.com","name":"thinhninja"},{"email":"youmnasirgi@gmail.com","name":"youmnasirgi"},{"email":"j.dominguezllata@gmail.com","name":"juandll"},{"email":"jamesamey2000@gmail.com","name":"jamesacs"},{"email":"jacobdcutts@gmail.com","name":"jacobdcutts13"},{"email":"meril.pilon@plain.com","name":"mspq_plain"},{"email":"seyoung.lee@plain.com","name":"seyounglee_plain"},{"email":"rosie.ollerenshaw@plain.com","name":"rosieollerenshaw"},{"email":"josh@joshmcmillan.co.uk","name":"mcmillan"},{"email":"jordyn.buettner@plain.com","name":"jordyn.buettner"},{"email":"dimitra@plain.com","name":"dimitrasz"},{"email":"elisehein@gmail.com","name":"elisehein"},{"email":"charlierevett@gmail.com","name":"revett"},{"email":"yo@ndo.dev","name":"ndom91"},{"email":"ethel.ng@gmail.com","name":"ch2ch3"},{"email":"dustinako@gmail.com","name":"dustinako"}],"readme":"# @team-plain/graphql\n\nA typed TypeScript SDK for [Plain's](https://plain.com) GraphQL API, auto-generated from the schema using a custom codegen pipeline.\n\n## Installation\n\n```bash\nnpm install @team-plain/graphql\n```\n\nRequires **Node 24+**. Supports both ESM and CJS.\n\n## Usage\n\n```ts\nimport { PlainClient } from \"@team-plain/graphql\";\n\nconst client = new PlainClient({ apiKey: \"plainApiKey_xxx\" });\n```\n\n### Query\n\nQueries are accessed via `client.query`:\n\n```ts\nconst customer = await client.query.customer({ customerId: \"c_123\" });\nconsole.log(customer.fullName);\n\n// Relations are lazy-loaded — accessing them makes a separate API call\nconst company = await customer.company;\nconsole.log(company.name);\n```\n\n### Mutation\n\nMutations are accessed via `client.mutation`. Mutation errors are returned as typed data, not thrown as exceptions. This matches Plain's API where all mutations return `*Output` types with an optional `error` field.\n\n```ts\nconst result = await client.mutation.upsertCustomer({\n  input: {\n    identifier: { emailAddress: \"alice@example.com\" },\n    onCreate: {\n      fullName: \"Alice\",\n      email: { email: \"alice@example.com\", isVerified: false },\n    },\n    onUpdate: {},\n  },\n});\n\nif (result.error) {\n  // Typed MutationError with message, type, code, and field-level errors\n  console.error(result.error.message);\n  result.error.fields?.forEach((f) => {\n    console.error(`  ${f.field}: ${f.message}`);\n  });\n} else {\n  console.log(result.customer?.id);\n}\n```\n\n### Pagination\n\n```ts\nconst customers = await client.query.customers({ first: 10 });\n\nfor (const customer of customers.nodes) {\n  console.log(customer.fullName);\n}\n\n// Fetch the next page\nconst nextPage = await customers.fetchNext();\n```\n\n### Union Types\n\nGraphQL union and interface fields are exposed as discriminated unions of model classes. Each union member has a `__typename` property for narrowing and supports the same lazy-loading as any other model.\n\n```ts\nconst thread = await client.query.thread({ threadId: \"t_123\" });\n\n// Narrow with __typename\nif (thread.createdBy.__typename === \"UserActor\") {\n  console.log(thread.createdBy.userId);\n\n  // Lazy-load a relation on the union member\n  const user = await thread.createdBy.user;\n  console.log(user?.fullName);\n}\n\n// Or narrow with instanceof\nimport { UserActorModel } from \"@team-plain/graphql\";\n\nif (thread.createdBy instanceof UserActorModel) {\n  const user = await thread.createdBy.user;\n}\n\n// Value-like unions — scalars available immediately\nif (thread.statusDetail?.__typename === \"ThreadStatusDetailWaitingForDuration\") {\n  console.log(thread.statusDetail.waitingUntil);\n}\n\n// List of unions\nfor (const identity of customer.identities) {\n  if (identity.__typename === \"EmailCustomerIdentity\") {\n    console.log(identity.email);\n  }\n}\n```\n\n## Error Handling\n\n- **Queries**: network, auth (401), forbidden (403), and rate limit (429) errors throw typed exceptions (`AuthenticationError`, `ForbiddenError`, `RateLimitError`, `NetworkError`, `PlainGraphQLError`).\n- **Mutations**: return the full `*Output` type. Check `result.error` for a typed `MutationError` with `message`, `type`, `code`, and `fields[]`. This is intentional — Plain's API treats mutation errors as data.\n\n### Rate limits and retries\n\nPlain enforces a per-workspace request rate limit and responds with HTTP 429 above it. The SDK throws a `RateLimitError` carrying the API's `Retry-After` hint as `retryAfterSeconds` and your workspace's per-minute request limit as `limit`, when the API sent them. A rate limited request was never processed, so it is always safe to retry — you can have the client do that for you:\n\n```ts\nconst client = new PlainClient({\n  apiKey: process.env.PLAIN_API_KEY!,\n  // Retry rate limited requests up to 5 times after the first attempt (default: 0, disabled)\n  retry: { maxRetries: 5 },\n});\n```\n\nThe client waits for `Retry-After` plus up to a second of jitter, or backs off exponentially (capped at 30s) when the header is missing. Once retries are exhausted the last error is thrown as normal.\n\n## Migrating from `@team-plain/typescript-sdk`\n\nIf you're migrating from the old `@team-plain/typescript-sdk` package, see the [Migration Guide](./MIGRATION.md) for a full breakdown of breaking changes including error handling, method renames, enum changes, and before/after examples.\n\n## Resources\n\n- [Plain API docs](https://plain.com/docs) — guides, authentication, and API reference\n- [GraphQL schema](https://core-api.uk.plain.com/graphql/v1/schema.graphql) — the full schema this SDK is generated from (also vendored at [`src/schema.graphql`](./src/schema.graphql))\n\n## License\n\n[MIT](../../LICENSE)\n","readmeFilename":"README.md"}